/***** AFX SHORTCODES *****/

.shortcode-highlight {
	padding: 0 3px;
	background: #008080;
	color: #FFF;
}

.shortcode-column-2 {
	width: 47%;
	margin: 0 3% 0 0;
	float: left;
}

.shortcode-column-3 {
	width: 30.33%;
	margin: 0 3% 0 0;
	float: left;
}

.shortcode-column-4 {
	width: 22%;
	margin: 0 3% 0 0;
	float: left;
}

.shortcode-quote {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto 30px auto;
	padding: 60px 0;
	background: #FFF/* url('images/mx-post-hero-bg.png')*/;
	background-position: center;
	background-attachment: fixed;
	background-repeat: repeat;
	position: relative;
	float: none;
	clear: both;
}

.shortcode-quote-text {
	width: 96%;
	margin: 0 2%;
	color: #FFF;
	font-size: 28px;
	font-weight: 300;
	text-align: center;
	line-height: 140%;
	position: relative;
	float: none;
	clear: both;
	z-index: 2;
}

.shortcode-quote-author {
	width: 96%;
	margin: 30px 2% 0 2%;
	color: #FFF;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	line-height: 120%;
	position: relative;
	float: none;
	clear: both;
	z-index: 2;
}

.shortcode-quote-overlay {
	width: 100%;
	height: 100%;
	top: 0;
	background: teal;
	opacity: 0.8;
	position: absolute;
	z-index: 1;
}

.shortcodeb-quote-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 40px auto;
	background: #FFF;
	color: teal;
	font-size: 24px;
	text-align: center;
	line-height: 48px;
	border-radius: 24px;
	position: relative;
	z-index: 2;
}

.shortcode-quote-icon:after {
	position: absolute;
	width: 0px;
	height: 0px;
	bottom: -10px;
	left: 14px;
	border-style: solid;
	border-width: 17.3px 10px 0 10px;
	border-color: #FFF transparent transparent transparent;
	content: "";
}

.afx-shortcode-blockquote {
	width: 100%;
	margin: 20px 0 20px 0;
	position: relative;
	float: none;
	clear: both;
}

.afx-shortcode-blockquote i {
	display: block;
	width: 24px;
	height: 24px;
	top: 5px;
	left: 15px;
	color: #CCC;
	font-size: 24px;
	text-align: center;
	line-height: 24px;
	position: absolute;
}

.afx-shortcode-blockquote-text {
	width: auto;
	margin: 0 auto 0 60px;
	color: #222;
	font-size: 18px;
	line-height: 160%;
	float: none;
	clear: both;
}

.shortcode-button .pb-standard-button:hover {
	background: #444 !important;
	color: #FFF;
}

.shortcode-button a {
	color: #FFF !important;
	text-decoration: none !important;
}

.shortcode-fillingbutton {
	margin: 0 5px 20px 0;
	float: left;
}

.shortcode-fillingbutton a {
	text-decoration: none;
}

.shortcode-fillingbutton .pb-filling-button:hover span {
	color: #FFF !important;
	transition: 0.3s ease;
}

.shortcode-tooltip {
	width: 96%;
	margin: 0 auto 20px auto;
	padding: 2%;
	border-bottom: 0px solid teal;
	background: #e3ffff;
	border-radius: 3px;
	float: none;
	clear: both;
}

.shortcode-tooltip-text {
	width: 100%;
	margin: 0;
	color: teal;
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 170%;
	/*text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255,255,255,1);*/
	letter-spacing: 0.5px;
	float: none;
	clear: both;
}

.shortcode-colorbox {
	width: 96%;
	margin: 0 auto 20px auto;
	padding: 2%;
	background: teal;
	border-radius: 3px;
	float: none;
	clear: both;
}

.shortcode-colorbox-text {
	width: 100%;
	margin: 0;
	color: #FFF;
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 170%;
	/*text-transform: uppercase;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.2);*/
	letter-spacing: 0.5px;
	float: none;
	clear: both;
}

#shortcode-map {
	margin: 0 0 30px 0;
	float: left;
}

.shortcode-skillbar {
	width: 100%;
	height: 16px;
	margin: 20px 0 20px 0;
	background: #DDD;
	position: relative;
	border-radius: 8px;
	float: left;
	clear: both;
}

.shortcode-skillbar-label {
	width: auto;
	height: 16px;
	padding: 0 5px;
	top: -20px;
	left: 0;
	color: #888;
	font-size: 13px;
	line-height: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 8px;
	position: absolute;
	float: left;
	clear: both;
	z-index: 2;
}

.shortcode-skillbar-bar {
	width: 100%;
	height: 16px;
	color: #FFF;
	background: teal;
	color: #FFF;
	line-height: 16px;
	text-align: right;
	text-shadow: 0 -1px rgba(0,0,0,0.2);
	border-radius: 8px;
	position: absolute;
	float: left;
	clear: both;
	transition: 1s ease;
	z-index: 1;
}

.shortcode-skillbar-bar span {
	display: inline-block;
	margin: 0 5px 0 0;
	height: 16px;
	font-family: Open Sans, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1px;
	opacity: 0.9;
}

/* TABS */

.shortcode-tabs {
	margin-bottom: 30px;
	float: left;
}

.shortcode-tabs ul {
	display: block;
	width: 100%;
	margin-bottom: 0 !important;
	float: left;
}

.shortcode-tabs .ui-tabs-nav li {
	display: inline-block;
	width: auto !important;
	height: 40px;
	padding: 0 20px;
	border-top: 1px solid #DDD;
	border-right: 1px solid #DDD;
	border-left: 1px solid #DDD;
	background-color: #FFF;
	list-style: none outside none;
	white-space: nowrap;
	line-height: 40px;
	float: none;
}

.shortcode-tabs .ui-tabs-nav li a {
	color: #888; /* 999 */
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
}

.shortcode-tabs li.ui-state-active {
	background-color: #FAFAFA;
}

.shortcode-tabs .ui-tabs-panel {
	width: 95%;
	padding: 20px 2%;
	border: 1px solid #DDD;
	background-color: #FFF;
	color: #666;
	font-weight: 500;
	line-height: 170%;
	float: left;
}

/* ACCORDION */

.shortcode-accordion {
	margin-bottom: 30px;
	float: left;
}

.shortcode-accordion h3 {
	width: 95%;
	height: 40px;
	margin: 0;
	padding: 0 2%;
	border-left: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	border-right: 1px solid #DDD;
	background-color: #FEFEFE;
	color: #888; /* 999 */
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	line-height: 40px;
	letter-spacing: 1px;
	cursor: pointer;
}

.shortcode-accordion h3:after {
	display: none;
}

.shortcode-accordion h3:first-child {
	border: 1px solid #DDD;
}

.shortcode-accordion .ui-state-active {
	background-color: #FAFAFA;
}

.shortcode-accordion .ui-accordion-content {
	width: 95%;
	padding: 20px 2%;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	border-left: 1px solid #DDD;
	background-color: #FFF;
	font-weight: 500;
	line-height: 170%;
	float: left;
}

/* WP GALLERY */

.gallery {
	width: 100%;
	margin: 0 auto 20px auto;
	padding: 0;
	line-height: 0;
}
.gallery .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 33.33%;
	float: left;
}

.gallery-columns-1 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 100%;
	float: left;
	overflow: hidden;
}

.gallery-columns-2 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 50%;
	float: left;
}

.gallery-columns-4 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 25%;
	float: left;
}

.gallery-columns-5 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 20%;
	float: left;
}

.gallery-columns-6 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 16.66%;
	float: left;
}

.gallery-columns-7 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 14.27%;
	float: left;
}

.gallery-columns-8 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 12.5%;
	float: left;
}

.gallery-columns-9 .gallery-item {
	margin: 0;
	border: 0px solid #111;
	text-align: center;
	position: relative;
	width: 11.11%;
	float: left;
}

.gallery img {
	width: 100%;
	height: auto;
	padding: 0 0 0% 0;
	background: #999;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	border: 0px solid #111;
}

.gallery .gallery-item:hover .gallery-caption {
	opacity: 1;
	transition: 0.3s ease;
}
	
.gallery .gallery-caption {
	opacity: 0;
	padding: 3% 2%;
	position: absolute;
	transition: 0.3s ease;
	border: 0px solid #111;
}

.gallery-caption-text {
	height: 40%;
	margin: 60% 0 0 0;
	text-overflow: ellipsis;
	top: -30%;
}

.caption-trick img {
	display: none;
}

.gallery-icon {
	margin: 0;
}

.attachment-gallery-thumbnail {
	margin: 0;
}

.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}

.gallery dl {
	margin: 0;
}
.gallery img {
	border: 0;
	margin: 0;
	line-height: 0;
}
.gallery-caption {
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.7);
	background-image: url('.../images/afx_zoom_icon.png');
	background-size: 48px 48px;
	background-position: center;
	background-repeat: no-repeat;
	color: transparent !important;
	font-family: Raleway, Helvetica, Sans Serif;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
	line-height: 140%;
	float: left;
	clear: both;
	position: absolute;
	transition: 0.3s ease;
}
.gallery br+br {
	display: none;
}