/* Icons */
*[data-ico-fa]:before {
    font-family: FontAwesome;
    content: attr(data-ico-fa);
}

*[data-ico-s7]:before {
    font-family: Icon7Stroke;
	content: attr(data-ico-s7);
}

*[data-ico-cs]:before {
    font-family: btmedical;
	content: attr(data-ico-cs);
}

*[data-ico-dg]:before {
    font-family: Dialogue;
	content: attr(data-ico-dg);
}

*[data-ico-es]:before {
    font-family: Essential;
	content: attr(data-ico-es);
}

*[data-ico-gl]:before {
    font-family: Glasses;
	content: attr(data-ico-gl);
}

*[data-ico-hp]:before {
    font-family: Hospital;
	content: attr(data-ico-hp);
}

*[data-ico-hs]:before {
    font-family: Hospital-2;
	content: attr(data-ico-hs);
}

*[data-ico-md]:before {
    font-family: Medical;
	content: attr(data-ico-md);
}

*[data-ico-ms]:before {
    font-family: Medical-Set;
	content: attr(data-ico-ms);
}

*[data-ico-op]:before {
    font-family: Optometry;
	content: attr(data-ico-op);
}

*[data-ico-pl]:before {
    font-family: Pins-Locations;
	content: attr(data-ico-pl);
}

*[data-ico-tw]:before {
    font-family: Teamwork;
	content: attr(data-ico-tw);
}

*[data-ico-tc]:before {
    font-family: Technology-Collection;
	content: attr(data-ico-tc);
}

.btIco {
	display: inline-block;
	vertical-align: middle;
    transition: all 500ms ease;
	backface-visibility: hidden;

}

.btIco.btIcoOutline {
	border-radius: 50%;
}

:lightSkinSelector .btIcoLargeSize.btIcoOutline {
	box-shadow: 0 0 0 15px $(lightBgColor), 0 0 0 1px $(lightBgColor) inset;
}
:lightSkinSelector .btIcoBigSize.btIcoOutline {
	box-shadow: 0 0 0 10px $(lightBgColor), 0 0 0 1px $(lightBgColor) inset;
}
:lightSkinSelector .btIcoMediumSize.btIcoOutline {
	box-shadow: 0 0 0 6px $(lightBgColor), 0 0 0 1px $(lightBgColor) inset;
}
:lightSkinSelector .btIcoSmallSize.btIcoOutline {
	box-shadow: 0 0 0 4px $(lightBgColor), 0 0 0 1px $(lightBgColor) inset;
}
:lightSkinSelector .btIcoExtraSmallSize.btIcoOutline {
	box-shadow: 0 0 0 2px $(lightBgColor), 0 0 0 1px $(lightBgColor) inset;
}

:darkSkinSelector .btIcoLargeSize.btIcoOutline {
	box-shadow: 0 0 0 15px $(darkBgColor), 0 0 0 1px $(darkBgColor) inset;
}
:darkSkinSelector .btIcoBigSize.btIcoOutline {
	box-shadow: 0 0 0 10px $(darkBgColor), 0 0 0 1px $(darkBgColor) inset;
}
:darkSkinSelector .btIcoMediumSize.btIcoOutline {
	box-shadow: 0 0 0 6px $(darkBgColor), 0 0 0 1px $(darkBgColor) inset;
}
:darkSkinSelector .btIcoSmallSize.btIcoOutline {
	box-shadow: 0 0 0 4px $(darkBgColor), 0 0 0 1px $(darkBgColor) inset;
}
:darkSkinSelector .btIcoExtraSmallSize.btIcoOutline {
	box-shadow: 0 0 0 2px $(darkBgColor), 0 0 0 1px $(darkBgColor) inset;
}

.btIco .btIcoHolder {
	line-height: inherit;
	display: inline-block;
	float: left;
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	backface-visibility: hidden;
/*	-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);*/ /* webkit border radius & overflow bug fix */
}

.btIco .btIcoHolder a {
	line-height: inherit;
}

.btIco.btnInlinePosition .btIcoHolder {
    display: inline-block;
}

.btIco .btIcoHolder em {
	/*border: 1px solid $(accentColor);*/
	border-radius: 50%;
	display: inline-block;
	float: left;
	text-align: center;
    vertical-align: middle;
	transition:all 0.3s ease;
	font-weight: 400;
	transform: rotate3d(0,0,1,50deg);
}

.btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: $(accentColor);
}

.btIco.borderless a.btIcoHolder em {
    transition: all 300ms ease;
}

.btIco.btIcoLargeSize .btIcoHolder em {
    transition:all 0.55s ease;
}

.btIco.borderless a.btIcoHolder em {
    transform: translate3d(0,0,0);
}

.btIco.borderless:hover a.btIcoHolder em {
    transform: translate3d(0,-3px,0);
}

.btTopToolsRight .btIconWidget .btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
	:darkSkinSelector & {
		color: a-adjust($(darkFontColor) -50);
	}

	:lightSkinSelector & {
		color: a-adjust($(lightFontColor) -50);
	}
}

:darkSkinSelector .btTopToolsRight .btIconWidget:hover .btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
		color: $(accentColor);
}

:lightSkinSelector .btTopToolsRight .btIconWidget:hover .btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
		color: $(accentColor);
}



:darkSkinSelector .btTopToolsRight .btIconWidget.btSpecialHeaderIcon:hover .btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: a-adjust($(darkFontColor) -50) !important;
}
:lightSkinSelector .btTopToolsRight .btIconWidget.btSpecialHeaderIcon:hover .btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: a-adjust($(lightFontColor) -50) !important;
}

/*.btIconWidget.btSpecialHeaderIcon .btIco .btIcoHolder em {*/
	/*:darkSkinSelector & {*/
		/*color: $(accentColor);*/
	/*}*/

	/*:lightSkinSelector & {*/
		/*color: $(accentColor);*/
	/*}*/
/*}*/

/* Margins  */

.btIco .btIcoText {
	margin-left: 0.5em;
	line-height: inherit;
	transition: all 300ms ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.btIco.btIcoLargeSize .btIcoHolder span {
	transition: all 550ms ease;
}

.btIco {
	margin-left: 0.25em;
	margin-right: 0.25em;
}

.single-post .socialRow .btIco {
	margin-bottom: 0.5em;
}

.btIco.btIcoLargeSize {
	margin-right: 1em;
	margin-left: 1em;
}


.btTextLeft {
	.btIco {
		margin-right: 0.5em;
		margin-left: 0;
	}
	.btIco.btIcoLargeSize {
		margin-right: 2em;
		margin-left: 0;
	}
}

.btTextRight {
	.btIco {
		margin-left: 0.5em;
		margin-right: 0;
	}
	.btIco.btIcoLargeSize {
		margin-left: 2em;
		margin-right: 0;
	}
}
.btTextCenter {
	.btIco.btIcoLargeSize {
		margin-right: .25em;
		margin-left: .25em;
	}
}

/* White color */

.btIco.btIcoWhiteType {
	.btIcoHolder em {
		background-color: $(lightBgColor);
		color: $(accentColor);
	}
}

/* Filled icon backgrounds */

:any(.btIco.btIcoFilledType.btIcoAccentColor, .btIco.btIcoFilledType.btIcoAlterColor) .btIcoHolder em {
    background-color: $(lightBgColor);
}


/* Filled and Outline Accent */

:any(.btIco.btIcoFilledType.btIcoAccentColor, .btIco.btIcoOutlineType.btIcoAccentColor:hover) .btIcoHolder em {
    box-shadow: 0 0 0 1em $(accentColor) inset;
}

:any(.btIco.btIcoFilledType.btIcoAccentColor, .btIco.btIcoOutlineType.btIcoAccentColor:hover) :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: $(darkFontColor);
}

:any(.btIco.btIcoFilledType.btIcoAccentColor:hover, .btIco.btIcoOutlineType.btIcoAccentColor) .btIcoHolder em {
    box-shadow: 0 0 0 1px $(accentColor) inset;
}

:any(.btIco.btIcoFilledType.btIcoAccentColor:hover, .btIco.btIcoOutlineType.btIcoAccentColor) :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: $(accentColor);
}

:any(.btIco.btIcoFilledType.btIcoAccentColor.btIcoBigSize:hover, .btIco.btIcoOutlineType.btIcoAccentColor.btIcoBigSize) .btIcoHolder em {
	box-shadow: 0 0 0 2px $(accentColor) inset;
}

/* Filled and Outline Alternate */

:any(.btIco.btIcoFilledType.btIcoAlterColor, .btIco.btIcoOutlineType.btIcoAlterColor:hover) .btIcoHolder em {
    box-shadow: 0 0 0 1em $(alterColor) inset;
}

:any(.btIco.btIcoFilledType.btIcoAlterColor, .btIco.btIcoOutlineType.btIcoAlterColor:hover) :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: $(darkFontColor);
}

:any(.btIco.btIcoFilledType.btIcoAlterColor:hover, .btIco.btIcoOutlineType.btIcoAlterColor) .btIcoHolder em {
    box-shadow: 0 0 0 1px $(alterColor) inset;
}

:any(.btIco.btIcoFilledType.btIcoAlterColor:hover, .btIco.btIcoOutlineType.btIcoAlterColor) :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: $(alterColor);
}

:any(.btIco.btIcoFilledType.btIcoAlterColor.btIcoBigSize:hover, .btIco.btIcoOutlineType.btIcoAlterColor.btIcoBigSize) .btIcoHolder em {
	box-shadow: 0 0 0 2px $(alterColor) inset;
}

/* Filled and Outline Normal */

:darkSkinSelector {
	:any(.btIco.btIcoFilledType.btIcoDefaultColor, .btIco.btIcoOutlineType.btIcoDefaultColor:hover) .btIcoHolder em {
		box-shadow: 0 0 0 1em $(darkFontColor) inset;
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor, .btIco.btIcoOutlineType.btIcoDefaultColor:hover) :any(.btIcoHolder:before,.btIcoHolder:after) {
		color: $(darkBgColor);
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor:hover, .btIco.btIcoOutlineType.btIcoDefaultColor) .btIcoHolder em {
		box-shadow: 0 0 0 1px $(darkFontColor) inset;
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor:hover, .btIco.btIcoOutlineType.btIcoDefaultColor) :any(.btIcoHolder:before,.btIcoHolder:after) {
		color: $(darkFontColor);
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor.btIcoBigSize:hover, .btIco.btIcoOutlineType.btIcoDefaultColor.btIcoBigSize) .btIcoHolder em {
		box-shadow: 0 0 0 2px $(darkFontColor) inset;
	}
}

:lightSkinSelector {
	:any(.btIco.btIcoFilledType.btIcoDefaultColor, .btIco.btIcoOutlineType.btIcoDefaultColor:hover) .btIcoHolder em {
		box-shadow: 0 0 0 1em a-adjust( $(lightFontColor) -45 ) inset;
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor, .btIco.btIcoOutlineType.btIcoDefaultColor:hover) :any(.btIcoHolder:before,.btIcoHolder:after) {
		color: $(lightBgColor);
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor:hover, .btIco.btIcoOutlineType.btIcoDefaultColor) .btIcoHolder em {
		box-shadow: 0 0 0 1px a-adjust( $(lightFontColor) -45 ) inset;
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor:hover, .btIco.btIcoOutlineType.btIcoDefaultColor) :any(.btIcoHolder:before,.btIcoHolder:after) {
		color: a-adjust( $(lightFontColor) -45 );
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor.btIcoBigSize:hover, .btIco.btIcoOutlineType.btIcoDefaultColor.btIcoBigSize) .btIcoHolder em {
		box-shadow: 0 0 0 2px a-adjust( $(lightFontColor) -45 ) inset;
	}
}

/* Default */

:any(:lightSkinSelector, :darkSkinSelector) :any(.btIco.btIcoDefaultType.btIcoAccentColor :any(.btIcoHolder:before,.btIcoHolder:after), .btIco.btIcoDefaultType.btIcoDefaultColor:hover :any(.btIcoHolder:before,.btIcoHolder:after)) {
   color: $(accentColor);
}

:any(:lightSkinSelector, :darkSkinSelector) :any(.btIco.btIcoDefaultType.btIcoAlterColor :any(.btIcoHolder:before,.btIcoHolder:after), .btIco.btIcoDefaultType.btIcoDefaultColor:hover :any(.btIcoHolder:before,.btIcoHolder:after)) {
   color: $(alterColor);
}

:lightSkinSelector {
	:any(.btIco.btIcoDefaultType.btIcoDefaultColor, .btIco.btIcoDefaultType.btIcoAccentColor:hover) :any(.btIcoHolder:before,.btIcoHolder:after) {
	   color: $(lightFontColor);
	}
}

:darkSkinSelector {
	:any(.btIco.btIcoDefaultType.btIcoDefaultColor, .btIco.btIcoDefaultType.btIcoAccentColor:hover) :any(.btIcoHolder:before,.btIcoHolder:after) {
	   color: $(darkFontColor);
	}
}

/*.btIco.btIcoDefaultType.btIcoAlterColor :any(.btIcoHolder:before,.btIcoHolder:after) {
   color: $(alterColor);
   :lightSkinSelector & {
	   color: $(lightFontColor);
	}

	:darkSkinSelector & {
		color: $(darkFontColor);
	}
}*/


.btAccentColorBackground .btIco.btIcoDefaultType.btIcoDefaultColor:hover :any(.btIcoHolder:before,.btIcoHolder:after) {
	color: $(alterColor) !important;
}

/* Icon sizes */


.btIco.btIcoExtraSmallSize {
	line-height: $(extrasmallIconSize)px;
	.btIcoHolder em {
		font-size: math(query( parent, line-height ) / 2)px;
		width:  query( parent, line-height );
		height:  query( parent, line-height );
		line-height:  math(query( parent, line-height ) )px;
		font-weight: normal;
	}
	.btIcoText {
		font-size: 0.75rem;
	}
}

.btIco.btIcoSmallSize {
	line-height: $(smallIconSize)px;
	.btIcoHolder em {
		font-size: math(query( parent, line-height ) / 2)px;
		width:  query( parent, line-height );
		height:  query( parent, line-height );
		line-height:  math(query( parent, line-height ))px;
		font-weight: 800;
	}
	.btIcoText {
		font-size: 0.875rem;
	}
}

.btIco.btIcoMediumSize {
	line-height: $(mediumIconSize)px;
	.btIcoHolder em {
		font-size: math(query( parent, line-height ) / 2)px;
		width:  query( parent, line-height );
		height:  query( parent, line-height );
		line-height:  math(query( parent, line-height ))px;
	}
	.btIcoText {
		font-size: 1rem;
	}
}

.btIco.btIcoDefaultType.btIcoMediumSize .btIcoHolder em {
	font-size: math( $(mediumIconSize))px;
}

.btIco.btIcoBigSize {
 	line-height: $(bigIconSize)px;
	.btIcoHolder em {
		font-size: math($(bigIconSize) / 2)px;
		width:  $(bigIconSize)px;
		height:  $(bigIconSize)px;
		line-height:  $(bigIconSize)px;
	}
	.btIcoText {
		font-size: 1.125rem;
	}
}

.btIco.btIcoDefaultType.btIcoLargeSize .btIcoHolder em {
	font-size: math( $(largeIconSize))px;
}

.btIco.btIcoLargeSize {
 	line-height: $(largeIconSize)px;
	.btIcoHolder em {
		font-size: math($(largeIconSize) / 2)px;
		width:  $(largeIconSize)px;
		height:  $(largeIconSize)px;
		line-height:  $(largeIconSize)px;
		border-width: 2px;
	}
	.btIcoText {
		font-size: 1.5rem;
	}
}

/* Icons side text color */ 

.btIcoAccentColor span {
	color: $(accentColor);
}

.btIcoAccentColor:hover span {
	color: $(darkFontColor);
}

:lightSkinSelector .btIcoAccentColor:hover span {
	color: $(lightFontColor);
}

.btIcoAlterColor span {
	color: $(alterColor);
}

.btIcoAlterColor:hover span {
	color: $(darkFontColor);
}

:lightSkinSelector .btIcoAlterColor:hover span {
	color: $(lightFontColor);
}

.btIcoDefaultColor:hover span {
	color: $(accentColor);
}


/* Circular icons with fancy hover */
.btCircleIcon {
	display: inline-block;
	border-radius: 50%;
	width: 2.8em;
	height: 2.8em;
	line-height: 2.5em;
	text-align: center;
	vertical-align: middle;
	overflow: hidden;
	position: relative;
	border-width: 1px;
	border-style: solid;
	backface-visibility: hidden;
	-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); /* webkit border radius & overflow bug fix */
}

.btSmallCircle {
	font-size: 0.75rem;
}

.btMediumCircle {
	font-size: 1rem;
}

.btLargeCircle {
	font-size: 1.75rem;
}

.btHugeCircle {
	font-size: 2.25rem;
}

:lightSkinSelector {

	.btCircleIcon.btNormalColorCircle, .btCircleIcon.btNormalColorCircle:hover {
		border-color:  $(lightFontColor);
		color: $(lightFontColor);
	}

	.btCircleIcon.btNormalColorCircle.btFilledCircle, .btCircleIcon.btNormalColorCircle.btFilledCircle:hover {
		border-color: $(lightFontColor);
		color: $(darkFontColor);
		background-color: $(lightFontColor);
	}

}

:darkSkinSelector {

	.btCircleIcon.btNormalColorCircle, .btCircleIcon.btNormalColorCircle:hover {
		border-color: $(darkFontColor);
		color: $(darkFontColor);
	}

	.btCircleIcon.btNormalColorCircle.btFilledCircle, .btCircleIcon.btNormalColorCircle.btFilledCircle:hover {
		border-color: $(darkFontColor);
		color: $(lightFontColor);
		background-color: $(darkFontColor);
	}

}

.btCircleIcon.btAccentColorCircle.btFilledCircle, .btCircleIcon.btAccentColorCircle.btFilledCircle:hover {
	border-color: $(accentColor);
	color: #fff;
	background-color: $(accentColor);
}

.btCircleIcon.btAccentColorCircle.btHollowCircle, .btCircleIcon.btAccentColorCircle.btHollowCircle:hover {
	border-color: $(accentColor);
	color: $(accentColor);
	background-color: transparent;
}

.btCircleIcon.btAlternateColorCircle.btFilledCircle, .btCircleIcon.btAlternateColorCircle.btFilledCircle:hover {
	border-color: $(alterColor);
	color: #fff;
	background-color: $(alterColor);
}

.btCircleIcon.btAlternateColorCircle.btHollowCircle, .btCircleIcon.btAlternateColorCircle.btHollowCircle:hover {
	border-color: $(alterColor);
	color: $(alterColor);
	background-color: transparent;
}

.btCircleIcon:before, .btCircleIcon:after {
	position: absolute;
	display: block;
	left: 50%;
	top: 50%;
	line-height: 1;
	font-weight: normal;
	font-size: 1.2em;
	vertical-align: middle;
	right: auto;
	bottom: auto;
	margin: -0.47em 0 0 -0.62em;
	transition: all 300ms ease;
}

.btCircleIcon.btCircleFromTop:before, .btCircleIcon.btCircleFromBottom:before, .btCircleIcon.btCircleFromLeft:before {
	transform: translate3d(0,-0.01%,0);
}

.btCircleIcon.btCircleFromTop:hover:after, .btCircleIcon.btCircleFromBottom:hover:after, .btCircleIcon.btCircleFromLeft:hover:after {
	transform: translate3d(0,0,0);
}

.btCircleIcon.btCircleFromTop:after {
	transform: translate3d(0,-200%,0);
}

.btCircleIcon.btCircleFromBottom:after {
	transform: translate3d(0,200%,0);
}

.btCircleIcon.btCircleFromLeft:after {
	transform: translate3d(-200%,0,0);
}

.btCircleIcon.btCircleFromBottom:hover:before {
	transform: translate3d(0,-200%,0);
}

.btCircleIcon.btCircleFromTop:hover:before {
	transform: translate3d(0,200%,0);
}

.btCircleIcon.btCircleFromLeft:hover:before {
	transform: translate3d(200%,0,0);
}

.btCircleIcon[data-ico-fa]:after {
	font-family: FontAwesome;
	font-weight: normal !important;
	content: attr(data-ico-fa);
}

.btCircleIcon[data-ico-s7]:after {
	font-family: Icon7Stroke;
	font-weight: normal !important;
	content: attr(data-ico-s7);
}

.btCircleIcon[data-ico-cs]:after {
	font-family: btmedical;
	font-weight: normal !important;
	content: attr(data-ico-cs);
}

.btCircleIcon[data-ico-dg]:after {
	font-family: Dialogue;
	font-weight: normal !important;
	content: attr(data-ico-dg);
}

.btCircleIcon[data-ico-es]:after {
	font-family: Essential;
	font-weight: normal !important;
	content: attr(data-ico-es);
}

.btCircleIcon[data-ico-gl]:after {
	font-family: Glasses;
	font-weight: normal !important;
	content: attr(data-ico-gl);
}

.btCircleIcon[data-ico-hp]:after {
	font-family: Hospital;
	font-weight: normal !important;
	content: attr(data-ico-hp);
}

.btCircleIcon[data-ico-hs]:after {
	font-family: Hospital-2;
	font-weight: normal !important;
	content: attr(data-ico-hs);
}

.btCircleIcon[data-ico-md]:after {
	font-family: Medical;
	font-weight: normal !important;
	content: attr(data-ico-md);
}

.btCircleIcon[data-ico-ms]:after {
	font-family: Medical-Set;
	font-weight: normal !important;
	content: attr(data-ico-ms);
}

.btCircleIcon[data-ico-op]:after {
	font-family: Optometry;
	font-weight: normal !important;
	content: attr(data-ico-op);
}

.btCircleIcon[data-ico-pl]:after {
	font-family: Pins-Locations;
	font-weight: normal !important;
	content: attr(data-ico-pl);
}

.btCircleIcon[data-ico-tw]:after {
	font-family: Teamwork;
	font-weight: normal !important;
	content: attr(data-ico-tw);
}

.btCircleIcon[data-ico-tc]:after {
	font-family: Technology-Collection;
	font-weight: normal !important;
	content: attr(data-ico-tc);
}


.btCircleIcon:after {
	z-index: 2;
}

/* /Circular icons with fancy hover */

/* 2nd ver. of icons */

.btIcoHolder:before, .btIcoHolder:after {
	display: block;
	position: absolute;
	line-height: inherit;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	text-align: center;
	color: inherit;
	z-index: 1;
	transition: all 400ms ease;
	transform-style: preserve-3d;
	transform: translate3d(0.001em,0.001em,0);
}

.btBtn .btIco :any(.btIcoHolder:before,.btIcoHolder:after) {
	position: static;
	color: inherit;
	font-weight: normal !important;
}

.btIco.btIcoDefaultType .btIcoHolder {
	border-radius: 0;
}

.btIcoDefaultType .btIcoHolder:after {
	display: inline-block;
	position: static;
}

.btIcoDefaultType .btIcoHolder em {
	display: none;
}

.btIcoHolder:before {
	display: none;
}

:any(.btIcoFromBottom,.btIcoFromTop,.btIcoFromLeft) .btIcoHolder:before {
	display: block;
}

.btIco.btIcoExtraSmallSize :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 0.75rem;
}

.btIco.btIcoExtraSmallSize.btIcoDefaultType, .btIco.btIcoExtraSmallSize.btIcoDefaultType :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 1rem;
	line-height: 1.4;
}

.widget_search .btIco.btIcoExtraSmallSize.btIcoDefaultType, .btIco.btIcoExtraSmallSize.btIcoDefaultType :any(.btIcoHolder:before,.btIcoHolder:after) {
	width: 21px;
	height: 21px;
}

.btIco.btIcoSmallSize :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 0.938rem;
}

.btIco.btIcoSmallSize.btIcoDefaultType, .btIco.btIcoSmallSize.btIcoDefaultType :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 1.625rem;
	line-height: 1.5;
}

.btIco.btIcoMediumSize :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 1.313rem;
}

.btIco.btIcoMediumSize.btIcoDefaultType, .btIco.btIcoMediumSize.btIcoDefaultType :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 2.563rem;
	line-height: 1.5;
}

.btIco.btIcoBigSize :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 2.563rem;
}

.btIco.btIcoBigSize.btIcoDefaultType, .btIco.btIcoBigSize.btIcoDefaultType :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 4.375rem;
	line-height: 1.5;
}

.btIco.btIcoLargeSize :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 4.375rem;
}

.btIco.btIcoLargeSize.btIcoDefaultType, .btIco.btIcoLargeSize.btIcoDefaultType :any(.btIcoHolder:before,.btIcoHolder:after) {
	font-size: 6.875rem;
	line-height: 1.5;
}

.btIcoHolder[data-ico-fa]:after, .btIcoHolder[data-ico-fa]:before {
	font-family: FontAwesome;
	content: attr(data-ico-fa);
}

.btIcoHolder[data-ico-s7]:after, .btIcoHolder[data-ico-s7]:before {
	font-family: Icon7Stroke;
	content: attr(data-ico-s7);
}

.btIcoHolder[data-ico-cs]:after, .btIcoHolder[data-ico-cs]:before {
	font-family: btmedical;
	content: attr(data-ico-cs);
}

.btIcoHolder[data-ico-dg]:after, .btIcoHolder[data-ico-dg]:before {
	font-family: Dialogue;
	content: attr(data-ico-dg);
}

.btIcoHolder[data-ico-es]:after, .btIcoHolder[data-ico-es]:before {
	font-family: Essential;
	content: attr(data-ico-es);
}

.btIcoHolder[data-ico-gl]:after, .btIcoHolder[data-ico-gl]:before {
	font-family: Glasses;
	content: attr(data-ico-gl);
}

.btIcoHolder[data-ico-hp]:after, .btIcoHolder[data-ico-hp]:before {
	font-family: Hospital;
	content: attr(data-ico-hp);
}

.btIcoHolder[data-ico-hs]:after, .btIcoHolder[data-ico-hs]:before {
	font-family: Hospital-2;
	content: attr(data-ico-hs);
}

.btIcoHolder[data-ico-md]:after, .btIcoHolder[data-ico-md]:before {
	font-family: Medical;
	content: attr(data-ico-md);
}

.btIcoHolder[data-ico-ms]:after, .btIcoHolder[data-ico-ms]:before {
	font-family: Medical-Set;
	content: attr(data-ico-ms);
}

.btIcoHolder[data-ico-op]:after, .btIcoHolder[data-ico-op]:before {
	font-family: Optometry;
	content: attr(data-ico-op);
}

.btIcoHolder[data-ico-pl]:after, .btIcoHolder[data-ico-pl]:before {
	font-family: Pins-Locations;
	content: attr(data-ico-pl);
}

.btIcoHolder[data-ico-tw]:after, .btIcoHolder[data-ico-tw]:before {
	font-family: Teamwork;
	content: attr(data-ico-tw);
}

.btIcoHolder[data-ico-tc]:after, .btIcoHolder[data-ico-tc]:before {
	font-family: Technology-Collection;
	content: attr(data-ico-tc);
}

.btIcoFromBottom .btIcoHolder:after {
	transform: translate3d(0,105%,0);
}
.btIcoFromBottom:hover .btIcoHolder:before {
	transform: translate3d(0,-105%,0);
}
.btIcoFromTop .btIcoHolder:after {
	transform: translate3d(0,-105%,0);
}
.btIcoFromTop:hover .btIcoHolder:before {
	transform: translate3d(0,105%,0);
}
.btIcoFromLeft .btIcoHolder:after {
	transform: translate3d(-105%,0,0);
}
.btIcoFromLeft:hover .btIcoHolder:before {
	transform: translate3d(105%,0,0);
}

.btIcoFromBottom .btIcoHolder:before,
.btIcoFromLeft .btIcoHolder:before,
.btIcoFromTop .btIcoHolder:before,
.btIcoFromBottom:hover .btIcoHolder:after,
.btIcoFromLeft:hover .btIcoHolder:after,
.btIcoFromTop:hover .btIcoHolder:after {
	transform: translate3d(0,0,0);
}

/* Icon and images row */

.btIconImageRow {
	display: block;
	margin: 0 -15px;
	.btIconImageCell {
		display: inline-block;
		padding: 0 15px;
	}
}

.btIconImageRow.btCells-0 {
	margin: 0;
}

.btTextCenter .btIconImageRow {
	width: auto;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}

@for i in range(0, 20) {
	.btCells-#(i) .btIconImageCell { max-width: math( 100/#(i), % ); }
}

/* Buttons */

.btBtn  {
	cursor: pointer;
    display: inline-block;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 0.75rem;
    position: relative;
	padding: 10px;
	line-height: 1;
	transition: all 500ms ease;
	.btIco .btIcoHolder em, button {
		transition: all 500ms ease;
		font-size: inherit;
		line-height:inherit;
	}
	.btIco {
		display: inline-block;
	}
	.btnInnerText {
		display: inline-block;
		font-size: inherit;
		line-height:inherit;
	}
	.btSoftRoundedButtons & {
		border-radius: $(softBorderRadius);
	}
	.btHardRoundedButtons & {
		border-radius: $(hardBorderRadius);
	}
}

.btBtn.btnFullWidth .btnInnerText {
	float: none;
}

.btBtn.btnRightPosition {
	.btIco {
		float: right;
		margin-left: 10px;
	}
}

.btBtn.btnLeftPosition{
	.btIco {
		float: left;
		margin-right: 10px;
	} 
	.btnInnerText {
		float: right;
	}
}

.btBtn.btnRightPosition .btIco:before, .btBtn.btnLeftPosition .btIco:before {
    border-radius: 0;
}

.btTextCenter .btBtn.btnFullWidth, .btTextLeft .btBtn.btnFullWidth, .btTextLeft .btBtn.btnFullWidth {
    margin: 0 0 20px;
}

.btnExtraSmall {
	font-size: 0.688rem;
	padding: 10px 20px;
	text-transform: uppercase;
}

.btnSmall {
	font-size: 0.75rem;
	padding: 13px 26px;
	text-transform: uppercase;
}

.btnMedium {
	font-size: 0.875rem;
	padding: 15px 30px;
}

.btnBig {
	font-size: 1rem;
	padding: 20px 40px;
}

@media (max-width: 768px) { 
	.btnBig, .btnMedium {
		font-size: 0.75rem;
		padding: 13px 26px;
	}	
}

.btnNormalWidth {
	display: inline-block;
}

.btnFullWidth {
	width: 100%;
}

.btTextLeft .btBtn:not(.btnFullWidth) {
	margin-right: 15px;
}

.btTextRight .btBtn:not(.btnFullWidth) {
	margin-left: 15px;
}

.btTextCenter .btBtn {
	margin-left: 15px;
	margin-right: 15px;
}

/* Button colors */

:any(.btnFilledStyle.btnAccentColor, .btnOutlineStyle.btnAccentColor:hover){
	background-color: $(accentColor);
	border: 2px solid $(accentColor);
	span, span:before, a, .btIco a:before, button {
		color: $(darkFontColor) !important;
	}
}

:any(.btnFilledStyle.btnAlternateColor, .btnOutlineStyle.btnAlternateColor:hover){
	background-color: $(alterColor);
	border: 2px solid $(alterColor);
	span, span:before, a, .btIco a:before, button {
		color: $(darkFontColor) !important;
	}
}

.btnFilledStyle.btnAccentColor:hover {
	background-color: $(accentColorHover);
	border: 2px solid $(accentColorHover);
}

.btnFilledStyle.btnAlternateColor:hover {
	background-color: $(alterColorHover);
	border: 2px solid $(alterColorHover);
}

.btnOutlineStyle.btnAccentColor {
	background-color: transparent;
	border: 2px solid $(accentColor);
	color: $(accentColor);
	span, span:before, a, .btIco a:before, button {
		color: $(accentColor) !important;
	}
}

.btnOutlineStyle.btnAlternateColor {
	background-color: transparent;
	border: 2px solid $(alterColor);
	color: $(alterColor);
	span, span:before, a, .btIco a:before, button {
		color: $(alterColor) !important;
	}
}

:any(.btnBorderlessStyle.btnAccentColor, .btnBorderlessStyle.btnNormalColor:hover){
	span, span:before, a, .btIco a:before, button {
		color: $(accentColor);
	}
}

.btnBorderlessStyle.btnAlternateColor {
	span, span:before, a, .btIco a:before, button {
		color: $(alterColor);
	}
}

:lightSkinSelector {
	:any(.btnBorderlessStyle.btnNormalColor, .btnBorderlessStyle.btnAccentColor:hover, .btnBorderlessStyle.btnAlternateColor:hover){
		span, span:before, a, .btIco a:before, button {
			color: $(lightFontColor);
		}
	}	
}

:darkSkinSelector {
	:any(.btnBorderlessStyle.btnNormalColor, .btnBorderlessStyle.btnAccentColor:hover, .btnBorderlessStyle.btnAlternateColor:hover){
		span, span:before, a, .btIco a:before, button {
			color: $(darkFontColor);
		}
	}	
}


:any(:lightSkinSelector,:darkSkinSelector) .btnFilledStyle.btnNormalColor {
	color: #fff;
	background-color: $(lightFontColor);
	border: 2px solid  $(lightFontColor);
}

:any(:lightSkinSelector,:darkSkinSelector) .btnFilledStyle.btnNormalColor:hover {
	color: #fff !important;
	background-color: #000;
	border: 2px solid  #000;
}

:lightSkinSelector .btnOutlineStyle.btnNormalColor {
	color: $(lightFontColor);
	background-color: transparent;
	border: 2px solid  $(lightFontColor);
}

:darkSkinSelector btnOutlineStyle.btnNormalColor {
	color: $(darkFontColor);
	background-color: transparent;
	border: 2px solid  $(darkFontColor);
}

:lightSkinSelector .btnOutlineStyle.btnNormalColor:hover {
	color: #fff;
	background-color: $(lightFontColor);
	border: 2px solid  $(lightFontColor);
}

:darkSkinSelector btnOutlineStyle.btnNormalColor:hover {
	color: $(darkFontColor);
	background-color: $(lightFontColor);
	border: 2px solid  $(darkFontColor);
}


:any(:darkSkinSelector, :lightSkinSelector) {
	.btnFilledStyle.btnLightColor {
		background-color: #fff;
		border: 2px solid #fff;
		color: #000 !important;
		a, a:before, button, span {
			color: #000 !important;
		}
	}
	.btnFilledStyle.btnLightColor:hover {
		background-color: #e0e0e0;
		border: 2px solid #e0e0e0;
		color: #000 !important;
		a, a:before, button, span {
			color: #000 !important;
		}
	}
	.btnOutlineStyle.btnLightColor {
		background-color: transparent;
		border: 2px solid #fff;
		color: #fff !important;
		a, a:before, button, span {
			color: #fff !important;
		}
	}
	.btnOutlineStyle.btnLightColor:hover {
		background-color: #fff;
		border: 2px solid #fff;
		color: #000 !important;
		a, a:before, button, span {
			color: #000 !important;
		}
	}
}


.btBtn.btnIco:before {
	margin: 0 0.5em 0 0;
} 

/* Divider */

.btSeparator {
    clear: both;
}

.btSeparator hr {
    clear: both;
    border: none;
    padding: 0;
    margin: 0;
}

:lightSkinSelector .btSeparator hr {
    border-bottom: 1px solid $(lightBgSubColor);
}

:darkSkinSelector .btSeparator hr {
    border-bottom: 1px solid $(darkBgSubColor);
}

.btSeparator.noBorder hr {
    border-bottom: 1px solid transparent !important;
}

/* Counter */

.btCounterHolder {
	font-weight: 700;
    font-size: 2.5rem !important;
    line-height: 1.5 !important;
}

.btCounterHolder {
	font-family: $(headingFont);
}

.btCounterHolder .btCounter {
    display: block;
    height: 46px;
    overflow: hidden;
}

.btCounterHolder span.onedigit {
    display: inline-block;
    height: 46px;
    overflow: hidden;
	margin: 0;
}

.btCounterHolder span.onedigit span {
    display: block;
	position: relative;
    height: 46px;
    transition:all 1s ease 0s;
}

/* Progress bar */

.btProgressAnim {
	height: 6px;
}

.btProgressAnim {
	background-color: $(lightBgSubColor);
}

@media (max-width: 768px) {
  .btProgressContent {
		line-height: 1.5;
	}
}

:lightSkinSelector .btProgressContent {
    background-color: $(lightBorderColor);
}

:darkSkinSelector .btProgressContent {
    background-color: $(darkBorderColor);
}

.btProgressContent .btProgressAnim {
	text-align: right;
	transition:all 1s ease 0s;
    transform: translateX(-100%);
    width: auto;
}

.btProgressContent .btProgressAnim {
	background-color: $(accentColor);
	color: $(darkFontColor);
}

.btProgressBarLineStyle {
	.btProgressContent {
		 background-color: transparent !important;
		 .btProgressAnim {
			background-color: transparent;
			color: $(accentColor);
			border-bottom: 4px solid $(accentColor);
			span {
				font-weight: 300;
			}
		}	
	}
}

.btProgressContent {
    overflow: hidden;
	margin: 0 0 4px;
}

.btProgressBar span {
    display: block;
    vertical-align: middle;
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1.35;
	float: right;
	text-transform: uppercase;
	margin: 0 0 -50px;
}

/* Image */

.bpgPhoto {
    /*line-height: 0;*/
	overflow: hidden;
	position: relative
}

.btCircleImage {
	border-radius: 50%;
	border: 3px solid white;
	overflow: hidden;
	.captionPane {
		border-radius: 50%;
	}
	.btImage img {
		width: auto;
	}
}

.bpgPhoto > a {
    display: block;
    position: absolute;
    z-index: 5;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
}

.bpbItem {
	/*line-height:0;*/
}

.btImage img {
	max-width: 100%;
    height: auto;
	display: block;
    /*margin: 0 !important;*/
    width: 100%;
}

.btImage {
	display: block;
}

.btTextIndent .btImage img {
    width: 100%;
    max-width: none;
    display: block;
    margin: 0;
}

.btTextRight .bpgPhoto {
	float: right;
}

.btTextCenter .bpgPhoto {
	display: block;
	margin: 0 auto;
	float: none;
}

.btTextCenter .bpgPhoto.wIconOver {
	display: block;
}

.btTextCenter .bpgPhoto.wIcon {
	display: block;
}

.btTextCenter .tilesWall .bpgPhoto {
    display: block;
}

.cellRight .bpgPhoto {
	float: right;
}

.captionPane {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
	background: rgba(255,255,255,0.8);
    right: 0;
	transition: all 400ms ease;
}

:lightSkinSelector .captionPane {
	background: rgba(255,255,255,0.8);
}

:darkSkinSelector .captionPane {
	background: rgba(0,0,0,0.8);
}

.captionPane {
	:any(.btArticleDate, .btArticleAuthor, .btArticleComments, .btArticleCategories):not(:last-child) {
		border-color: rgba(255,255,255,0.5) !important;
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .captionPane {
        right: -1px;
    }
}

.captionTable {
    display: table;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.captionCell {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

.captionTxt {
    display: block;
    padding: 0 20px;
}

:lightSkinSelector .bpgPhoto .captionTxt {
	color: $(lightFontColor);
}

:darkSkinSelector .bpgPhoto .captionTxt {
	color: $(darkFontColor);
}

.in-top:not(.btCircleImage) .captionPane {
    animation: in-top 300ms ease 0ms 1 forwards;
}

.in-right:not(.btCircleImage) .captionPane {
    animation: in-right 300ms ease 0ms 1 forwards;
}

.in-bottom:not(.btCircleImage) .captionPane {
    animation: in-bottom 300ms ease 0ms 1 forwards;
}

.in-left:not(.btCircleImage) .captionPane {
    animation: in-left 300ms ease 0ms 1 forwards;
}

.out-top:not(.btCircleImage) .captionPane {
    animation: out-top 300ms ease 0ms 1 forwards;
}

.out-right:not(.btCircleImage) .captionPane {
    animation: out-right 300ms ease 0ms 1 forwards;
}

.out-bottom:not(.btCircleImage) .captionPane {
    animation: out-bottom 300ms ease 0ms 1 forwards;
}

.out-left:not(.btCircleImage) .captionPane {
    animation: out-left 300ms ease 0ms 1 forwards;
}

@keyframes in-top {
    from {
        transform: translate3d(0, -100%, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes out-top {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -100%, 0);
    }
}

@keyframes in-right {
    from {
        transform: translate3d(100%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes out-right {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(100%, 0, 0);
    }
}

@keyframes in-bottom {
    from {
        transform: translate3d(0, 100%, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes out-bottom {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, 100%, 0);
    }
}

@keyframes in-left {
    from {
        transform: translate3d(-100%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes out-left {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, 0, 0);
    }
}

/*.bpgPhoto .captionTxt :any(h4, p, a) {
	text-transform: uppercase;
}*/

:lightSkinSelector .bpgPhoto .captionTxt :any(h4, p, a) {
	color: $(lightFontColor);
}

:darkSkinSelector .bpgPhoto .captionTxt :any(h4, p, a) {
	color: $(darkFontColor);
}


.captionTxt:before {
	content: "\e618";
    font: normal 50px/2 Icon7Stroke;
    display: block;
    margin: 0 auto;
}

.captionTxt:before {
	color: $(accentColor);
}

.captionTxt .header {
	margin-top: $(innerVerticalPadding);
}

.touch .captionPane {
    display: none !important;
}

.btShowTitle {
    position: absolute;
	top: auto;
    bottom: 0;
    margin: 0;
	right: 0;
	left: 0;
	padding: 20px 20px;
	transition: all 200ms ease;
	display: none;
	transform: translateY(0%);
	.header {
		margin: 0;
	}
}

:lightSkinSelector .btShowTitle {
	color: $(lightFontColor);
	background-color: a-adjust($(lightBgColor) -20);
}

:darkSkinSelector .btShowTitle {
	color: $(darkFontColor);
	background-color: a-adjust($(darkBgColor) -20);
}

.btHasTitles .btShowTitle, html.touch .btShowTitle {
	display: block;
}

.btShowTitle :any(span, strong){
    display: block;
}

.bpgPhoto:hover {
	.captionPane {
		opacity: 1;
	}	
	.btShowTitle {
		transform: translateY(100%);
	}
}
.btSimpleHoverType.bpgPhoto:hover {
	.captionPane {
		opacity: 0;
		pointer-events: none;
	}
}
	
/* Price table */

.btPriceTable {
	position: relative;
	border-top: 0;
	.btSoftRoundedButtons & {
		border-radius: $(softBorderRadius);
	}
	.btHardRoundedButtons & {
		border-radius: 25px;
	}
	.btPriceTableHeader {
		padding: $(innerHorizontalPadding)px $(innerVerticalPadding)px;
		margin-left: -1px;
		margin-right: -1px;
		.header .dash:after, .header .dash:before {
			border-color: white;
		}
		.header.extralarge {
			margin: 0;
		}
		.header .btPriceTableCurrency {
			font-size: 0.6em;
			font-weight: normal;
		}
		.header h2 {
			font-size: 3.875rem;
			font-weight: 800;
		}
		.btSoftRoundedButtons & {
			border-radius: $(softBorderRadius) $(softBorderRadius) 0 0 ;
		}
		.btHardRoundedButtons & {
			border-radius: 25px 25px 0 0;
		}
	}
	.btSubTitle {
		font-weight: 300;
	}
	ul {
		list-style: none;
		margin: 0;
		padding: 0;
		overflow: hidden;
		.btSoftRoundedButtons & {
			border-radius: 0 0 $(softBorderRadius) $(softBorderRadius);
		}
		.btHardRoundedButtons & {
			border-radius: 0 0 25px 25px;
		}
		li {
			display: block;
			padding: 15px 50px;
			margin: 0;
			.btTextLeft & {
				padding-left: 20px;
			}
		}
		li span {
			display: block;
			float: right;
			margin: 0 -35px 0 0;
			font-weight: 700;
		}
	}
}

.btPriceTable .btPriceTableHeader {
	background: $(accentColor);
}

:lightSkinSelector .btPriceTable  {
   border: $(lightBorderColor) 1px solid;
	ul {
		li {
			border-bottom: $(lightBorderColor) 1px solid;
		}
		li:nth-child(odd) {
			background: $(lightBgSubColor);
		}
		li:nth-child(even) {
			background: l-adjust( $(lightBgSubColor), 80);
		}
		li:last-child {
			border-bottom: none;
		}
		
	}
}

:darkSkinSelector .btPriceTable  {
   border: $(darkBorderColor) 1px solid;
	ul {
		li {
			border-bottom: $(darkBorderColor) 1px solid;
		}
		li:nth-child(odd) {
			background: $(darkBgSubColor);
		}
		li:last-child {
			border-bottom: none;
		}
	}
}

.btPriceTableSticker {
	padding: 10px;
	position: absolute;
	top: -40px;
	left: 15px;
	right: 0;
	line-height: 1.2;
	width: 80px;
	height: 80px;
	border-radius: 40px;
	> div {
		display: table;
		height: 100%;
		width: 100%;
		> div {
			width: 100%;
			display: table-cell;
			vertical-align: middle;
			text-align: center;
		}
	}
}

.btPriceTableSticker {
	background: $(darkBgColor);
	color: $(darkFontColor);
}

.btTextLeft .btPriceTableSticker {
	right: 15px;
	left: auto;
}

:lightSkinSelector .btDarkSkin .btPriceTableSticker {
	background: $(alterColor);
	color: $(darkFontColor);
}

:darkSkinSelector .btDarkSkin .btPriceTableSticker {
	background: $(lightBgColor);
	color: $(accentColor);
}

/* Service icon */

.servicesItem {

}

.btHighlight  .servicesItem  {
	padding-left: $(innerHorizontalPadding)px;
	padding-right: $(innerHorizontalPadding)px;
}

.btTextCenter .sIcon {
	margin-bottom: $(innerVerticalPadding)px;
}

.btTextRight .sIcon {
	float: right;
    display: block;
    position: relative;
    z-index: 2;
	margin: 0px 0 0 -100%;
}

.btTextRight .sTxt {
    position: relative;
	float: right;
}

.btTextLeft .sIcon {
	float: left;
    display: block;
    position: relative;
    z-index: 2;
	margin: 0px -100% 0 0;
}

.btTextLeft .sTxt {
    position: relative;
	float: left;
}

.sTxt :any(h1,h2,h3,h4) {
	clear: none;
}

.sTxt .header.small.btDash {
	margin-bottom: 0px;
}

.btTextRight .btIcoExtraSmallSizeIcon .sTxt {
	margin-right: math($(innerHorizontalPadding) + $(extrasmallIconSize))px;
}

.btTextLeft .btIcoExtraSmallSizeIcon .sTxt {
	margin-left: math($(innerHorizontalPadding) + $(extrasmallIconSize))px;
}

.btTextRight .btIcoSmallSizeIcon .sTxt {
	margin-right: math($(innerHorizontalPadding) + $(smallIconSize))px;
}

.btTextLeft .btIcoSmallSizeIcon .sTxt {
	margin-left: math($(innerHorizontalPadding) + $(smallIconSize))px;
}

.btTextLeft .btIcoMediumSizeIcon .sTxt {
	margin-left: math($(innerHorizontalPadding) + $(mediumIconSize))px;
}

.btTextRight .btIcoMediumSizeIcon .sTxt {
	margin-right: math($(innerHorizontalPadding) + $(mediumIconSize))px;
}

.btTextLeft .btIcoBigSizeIcon .sTxt {
	margin-left: math($(innerHorizontalPadding) + $(bigIconSize))px;
}

.btTextRight .btIcoBigSizeIcon .sTxt {
	margin-right: math($(innerHorizontalPadding) + $(bigIconSize))px;
}

.btTextLeft .btIcoLargeSizeIcon .sTxt {
	margin-left: math($(innerHorizontalPadding) + $(largeIconSize))px;
}

.btTextRight .btIcoLargeSizeIcon .sTxt {
	margin-right: math($(innerHorizontalPadding) + $(largeIconSize))px;
}

:lightSkinSelector .btIcoDefaultColorIcon :any(.btDash.bottomDash .dash:after, .btDash.topDash .dash:before) {
	border-color: $(lightFontColor);
}

:darkSkinSelector .btIcoDefaultColorIcon :any(.btDash.bottomDash .dash:after, .btDash.topDash .dash:before) {
	border-color: $(darkFontColor);
}

.servicesItem:after {
	display: table;
	content: " ";
	clear: both;
	width: 100%;
}

.btTextLeft .mediumIcon .sTxt {
	margin-left: math($(innerHorizontalPadding)*2 + $(mediumIconSize))px;
}

:any(.sTxt,.btText)  {
	p:last-of-type {
		margin-bottom: 0;
	}
}

/* Header */

.header {
    display: block;
	h1, h2, h3 {
		line-height: 1.15;
	}
	h4, h5, h6 {
		line-height: 1.35;
	}
	.dash {
		display: block;
		margin: 0;
	}
	.btSuperTitle {
		font-family: $(headingSuperTitleFont);
		font-size: 0.688rem;
		line-height: 1.55;
		/*font-weight: bold;*/
		clear: both;
		margin: 0 0 0.8em;
	}
	.btSubTitle {
		font-family: $(headingSubTitleFont);
		font-size:0.688rem;
		line-height: 1.55;
		clear: both;
		margin: 0 0 0.8em;
	}
	.dash:after, .dash:before {
		margin: 0 0 1.3em;
	}
	.headline {
		display: block;
	}
	.headline em {
		font-style: normal;
		font-weight: 300;
		letter-spacing: 0.1em;
	}
}

.btDash.bottomDash .dash:after, .btDash.topDash .dash:before {
	content: '';
	clear: both;
	width: 60px;
	display: table;
	float: left;
	height: 2px;
	line-height: 2px;
	overflow: hidden;
	:lightSkinSelector & {
		box-shadow: 0 2px 0 0 $(lightFontColor) inset;
	}
	:darkSkinSelector & {
		box-shadow: 0 2px 0 0 $(darkFontColor) inset;
	}
}

:any(:lightSkinSelector, :darkSkinSelector) .btAlternateDash.btDash :any(.dash:after, .dash:before)  {
	box-shadow: 0 2px 0 0 $(alterColor) inset;
}
:any(:lightSkinSelector, :darkSkinSelector) .btAccentDash.btDash :any(.dash:after, .dash:before) {
	box-shadow: 0 2px 0 0 $(accentColor) inset;
}

.btTextLeft .btDash.bottomDash .dash:after, .btTextLeft .btDash.topDash .dash:before {
	float: left;
}

.btTextRight .btDash.bottomDash .dash:after, .btTextRight .btDash.topDash .dash:before {
	float: right;
}

.btTextCenter .btDash.bottomDash .dash:after, .btTextCenter .btDash.topDash .dash:before {
	float: left;
	margin-left: 50%;
	transform: translateX(-50%);
}

.header.huge {
	margin: 0 0 5px;
	h1 {
		font-size: 4.375rem;
		margin: 0 0 16px;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 1.563rem;
	}
	.btSuperTitle {
		letter-spacing: 1px;
		margin: 0 0 16px;
	}
	.btSubTitle {
		margin: 0 0 18px;
	}
	.dash:before {
		margin: 0 auto 12px;
	}
	.dash:after {
		margin: 0 auto 16px;
	}
}

.header.extralarge  {
	margin: 0 0 2px;
	h1 {
		font-size: 3.75rem;
		margin: 0 0 13px;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 1.25rem;
	}
	.btSuperTitle {
		margin: 0 0 14px;
	}
	.btSubTitle {
		margin: 0 0 16px;
	}
	.dash:before {
		margin: 0 auto 12px;
	}
	.dash:after {
		margin: 0 auto 14px;
	}
}

.header.large {
	margin: 0 0 -2px;
	h2, h1 {
		font-size: 2.188rem;
		margin: 0 0 12px;
		letter-spacing: 0;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 1.125rem;
	}
	.btSuperTitle {
		margin: 0 0 14px;
	}
	.btSubTitle {
		margin: 0 0 14px;
	}
	.dash:before {
		margin: 0 auto 12px;
	}
	.dash:after {
		margin: 0 auto 10px;
	}
}

.header.medium {
	margin: 0 0 5px;
	h2, h3 {
		font-size: 1.563rem;
		margin: 0 0 11px;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 1rem;
	}
	.btSuperTitle {
		margin: 0 0 12px;
	}
	.btSubTitle {
		margin: 0 0 7px;
	}
	.dash:before {
		margin: 0 auto 12px;
	}
	.dash:after {
		margin: 0 auto 7px;
	}
}

.header.small {
	margin: 0;
	h3, h4 {
		font-size: 0.875rem;
		margin: 0 0 10px;
	}
	.btSuperTitle {
		font-size: 0.813rem;
		margin: 0 0 8px;
	}
	.btSubTitle {
		font-size: 0.875rem;
		margin: 0 0 7px;
	}
	.dash:after, .dash:before {
		box-shadow: 0 1px 0 0 $(accentColor) inset;
		width: 30px;
	}
	/*.btAccentColorBackground & .dash:after, .btAccentColorBackground & .dash:before {
		box-shadow: 0 1px 0 0 #fff inset;
	}*/
	.dash:before {
		 margin: 0 auto 9px;
	 }
	.dash:after {
		margin: 0 auto 9px;
	}
}


.btTextRight :any(.dash:before, .dash:after) {
	float: right;
}

.btTextLeft :any(.dash:before, .dash:after) {
	float: left;
}

:any(.btTextCenter, .captionTxt) :any(.dash:before, .dash:after) {
	margin-left: auto;
	margin-right: auto;
}

/* Grid and tiles */

.btGridContainer {
	overflow: hidden;
	.btGridContent {
		padding: $(innerVerticalPadding)px;
	}
}

.gridItem {
	opacity: 0.05;
	transition: transform 360ms ease 500ms, opacity 0.5s ease;
	overflow: hidden;
	transform: scale(1);
	.slick-prev, .slick-next {
		font-size: 0;
		line-height: 1;
	}
	.nbsImgHolder {
		display: none !important;
	}

}

.gridItem.btMarkedImage {
	transform: scale(0.9);
}

:lightSkinSelector .gridItem {
	background-color: $(lightBgSubColor);
}

:darkSkinSelector .gridItem {
	background-color: $(darkBgSubColor);
}

.gridItem.btGridItemLoaded {
	opacity: 1;
}

.gridItem:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	border: $(gridSpacing)px solid white;
	pointer-events: none;
	z-index: 10;
}

:darkSkinSelector .gridItem:after {
	border-color: $(darkBgColor) !important;
}    

:lightSkinSelector .gridItem:after {
	border-color: $(lightBgColor) !important;
}    

.btNoMore {
	display: none;
	opacity: 1;
}

.btGridContent {
	padding: math($(innerVerticalPadding)/2)px;;
	.btGridShare {
		
	}
}

.btGridContent .header .btSuperTitle a:hover {
	color: $(accentColor);
}

@for i in range(0, 20) {
	.btGridGap-#(i){
		.gridItem:after {
			border: 0;
			border-right: #(i)px solid white;
			border-bottom: #(i)px solid white;
		}
		.btGridOuterContent {
			padding: 0;
			padding-right: math(#(i)+10,px);
		}	
	}
	
	.boldSection .btGridGap-#(i) .tilesWall, .boldSection .btGridGap-#(i).tilesWall {
		margin: 0;
		margin-right: 0;
		margin-left: #(i)px;
		margin-right: 0;
		margin-bottom: -#(i)px;
	}
	.boldSection.gutter .btGridGap-#(i) .tilesWall, .boldSection.gutter .btGridGap-#(i).tilesWall {
		margin: 0;
		margin-right: -#(i)px;
		margin-bottom: -#(i)px;
	}

	.btGridGap-#(i) .tilesWall.classic .btGridOuterContent {
		padding-bottom: #(i)px;
		padding-right: #(i)px;
	}
	.btGridGap-#(i) .tilesWall .captionPane {
		margin-bottom: #(i)px;
		margin-right: #(i)px;
	}
	.btGridGap-#(i) .tilesWall .btShowTitle {
		margin-bottom: #(i)px;
		right: #(i)px;
	}
	
}

.btCatFilter {
	padding: $(innerVerticalPadding)px 0;
	font-family: $(menuFont);
	font-size: 0.875rem;
	.btCatFilterItem {
		margin: 0 10px;
		cursor: pointer;
		display: inline-block;
		transition: 200ms ease color;
		position: relative;
		&:after {
			content: "";
			display: block;
			background: $(accentColor);
			height: 3px;
			position: absolute;
			left: 0;
			right: 0;
			bottom: -6px;
			opacity: 0;
			transition: 200ms ease all;
		}
		&:hover {
			color: $(accentColor);
		}
		&.active {
			color: inherit !important;
			cursor: default;
			&:after {
				opacity: 1;
			}
		}
	}
	.btCatFilterTitle {
		padding: 0 10px;
		font-weight: 600;
	}
}

/* Media box */

.btMediaBox {
	position: relative;
	overflow: hidden;
}

.btMediaBox img {
    display: block;
    width: 100%;
    height: auto;
}

.btMediaBox .aspectVideo {
    visibility: hidden;
}

.btMediaBox iframe {
    display: block;
    border: none;
}

.btMediaBox.video iframe {
	display: block;
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100% !important;
	height: 100% !important;
	border: none;
}

.btMediaBox.audio iframe {
    display: block;
    width: 100% !important;
}

:any(.btMediaBox.btQuote, .btMediaBox.btLink) {
    text-align: center;
    position: relative;
    display: block;
    padding: $(innerVerticalPadding)px;
	margin: 0;
    font-weight: 300;
	p:before {
		display: block;
		text-align: center;
		font: 44px/44px Icon7Stroke;
		margin-bottom: math($(innerVerticalPadding)/2)px;
	}
	p {
		font-size: 1.5rem;
		line-height: 1.25;
	}
	cite {
		display: inline-block;
		padding: 20px 0 0;
		margin: 0;
	}
}

:any(.btMediaBox.btQuote, .btMediaBox.btLink) {
	background-color: $(accentColor);
	cite {
		border-top: 1px solid $(darkFontColor);
	}
}

:any(.single-post, .blog, .archive, .search) :any(.btMediaBox.btQuote, .btMediaBox.btLink) {
	padding: math($(innerVerticalPadding)*2)px;
	p:before {
		font: 64px/64px Icon7Stroke;
	}
	p {
		font-size: 2.875rem;
	}
}

.btMediaBox.btLink {
	p:before {
		content: "\e641";	}
}

.btMediaBox.btQuote {
	p:before {
		content: "\e635";
	}
}

/* Prev next button */

h4.nbs {
    height: 100px;
	z-index: 1;
	margin: 0;
	letter-spacing: 0;
	.nbsDir {
		text-transform: uppercase;
	}
}

h4.nbs a {
    display: table;
    width: 100%;
    margin: 0;
    padding: 0;
	height: 100px;
	cursor: pointer;
}

h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after {
	font-family: Icon7Stroke;
	font-size: 3.125rem;
    font-weight: normal;
	display: table-cell;
    width: 46px;
    text-align: center;
    vertical-align: middle;
	transition: all 360ms ease 0s;
}

h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after {
	color: $(lightFontColor);
}

:lightSkinSelector :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: $(lightBgSubColor);
	color: $(lightFontColor);
}

:darkSkinSelector :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: $(darkBgSubColor);
	color: $(darkFontColor);
}

h4.nbs.nsPrev a:hover:before, h4.nbs.nsNext a:hover:after {
	background-color: $(accentColor);
	color: $(darkFontColor);
	.btGhost & {
		background-color: $(accentColor) !important;
		color: $(darkFontColor) !important;
	}
}

h4.nbs.nsNext a:after {
    content: '\e684';
}

h4.nbs.nsPrev a:before {
    content: '\e686';
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

	h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after {
		background-position: center center;
		background-repeat: no-repeat;
	}

	h4.nbs.nsPrev a:before {
		background-image: url('../gfx/nbs-angle-left.png');
	}
	h4.nbs.nsNext a:after {
		background-image: url('../gfx/nbs-angle-right.png');
	}


}


/*
:lightSkinSelector .port.wSlider :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: transparent;
	color: $(lightFontColor);
}

:darkSkinSelector .port.wSlider :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: transparent;
	color: $(darkFontColor);
}
*/

.nbsImage {
    display: table-cell;
    width: 135px;	
	height: 100px;
}
.nbsImgHolder {
	display: block;
    width: 135px;	
	height: 100px;
	background-color: #ccc;
	background-size: cover;
	background-position: center center;
}

.nbsItem {
    display: table-cell;
    vertical-align: middle;
	padding: 0 10px;
}

span.nbsDir {
    display: block;
}

span.nbsTitle {
    display: block;
	font-weight: 400;
	font-size: 0.813rem;
	line-height: 1.25;
}

span.nbsTitle {
	color: $(lightFontColor);
}

.nsNext {
	right: 0;
}

.nsPrev {
	left: 0;
}

/* Slick Slider defaults */

.slidedItem .btSliderPort {
	display: table;
	width: 100%;
}

.autoSliderHeight .slidedItem .btSliderPort {
    padding: 0;
	height: auto;
}

.smallSliderHeight .slidedItem .btSliderPort {
    height: 40vh;
}

.mediumSliderHeight .slidedItem .btSliderPort {
    height: 60vh;
}

.largeSliderHeight .slidedItem .btSliderPort {
    height: 100vh;
}

.btSlideGutter {
    max-width: math(1200 - 2*$(pagePadding), px);
	margin: 0px auto 30px;
	width: auto;
	height: auto;
}
 
.slidedItem {
    transition: opacity 360ms ease 0s;
    z-index: 3;
}

.slidedVariable .slidedItem.firstItem, .slidedVariable .slidedItem.firstItem .btSliderPort {
    width: 100vw;
}

.slidedItem .btSlidePane {
	transition: transform 1s ease-out-quad 0.5s, opacity 300ms ease;
	transform: translate3d(100px,0,0) !important;
	opacity: 0;
	padding-left: 100px;
	padding-right: 100px;
	transition-delay: 500ms;
	html[data-useragent*="Firefox/52.0"] & {
		opacity: 1;
	}
}
@media screen and (max-width: 768px) {
	.slidedItem .btSlidePane, .boldSection:not(.gutter) .slidedItem .btSlidePane {
		padding-left: 10px;
		padding-right: 10px;
	}
}

:any(.slidedItem.slick-center, .slidedItem.slick-current, .slidedItem.slick-active) .btSlidePane {
    transform: translate3d(0,0,0) !important;
	opacity: 1;
}

.slidedItem .btSliderPort .btSliderCell {
    display: table-cell;
    vertical-align: middle;
}


.variableImg {
    height: 100%;
    overflow: hidden;
}

.variableImg img {
    height: 100%;
    width: auto;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-slide {
    display: none;
    float: left;
    min-height: 1px;
}

/* Slider navigation */

.slick-list {
    display: block;
    overflow: hidden;
    position: relative;
	padding: 0;
	margin: 0;
}

.slick-track {
    display: block;
    position: relative;
	left: 0;
    top: 0;
	z-index: 1;
}

.slick-track:after {
    clear: both;
}

.slick-track:before, .slick-track:after {
    content: "";
    display: table;
}
.slidedItem:nth-child(n+1) {
	display: none;
}
.slidedItem:first-child {
	display: block;
}
.slick-initialized .slidedItem:nth-child(n+1) {
	display: block;
}

/* Slider navigation */

.slided {
	.slick-dots {
		position: absolute;
		bottom: 40px;
		width: 320px;
		left: 50%;
		margin: 0 0 0 -160px;
		text-align: center;
		padding: 0;
	}

	.slick-dots li {
		display: inline-block;
		margin: 0 10px;
		width: 20px;
		list-style: none;
	}

	.slick-dots li button {
		display: inline-block;
		float: none;
		margin: 0;
		padding: 0;
		width: 20px;
		height: 20px;
		line-height: 20px;
		vertical-align: middle;
		list-style: none;
		border: none;
		background-color: rgba(0,0,0,0.1);
		border-radius: 50%;
		cursor: pointer;
		color: transparent;
		transition: 300ms ease all;
	}

	:darkSkinSelector & .slick-dots li button {
		background-color: rgba(255,255,255,0.2);
	}
	
	.slick-dots li button:hover {
		background-color: rgba(0,0,0,0.4);
	}

	:darkSkinSelector & .slick-dots li button:hover {
		background-color: rgba(255,255,255,0.6);
	}

	.slick-dots li.slick-active button, .slick-dots li.slick-active button:hover,
	:darkSkinSelector & .slick-dots li.slick-active button, :darkSkinSelector & .slick-dots li.slick-active button:hover{
		background-color: $(accentColor);
		cursor: default;
	}
}

.rowItemContent .slided {
	/*margin: 0 -25px;*/
	/*padding: 0 0 60px;*/
}

.rowItemContent .btSlideGutter {
	/*padding: 0;*/
}

.btSliderHideArrows .slick-arrow {
	display: none !important;
}

.slided.btSliderHidePaging .slick-dots {
	display: none !important;
}

.btSliderHidePaging.slided {
	padding: 0;
}

/* Slick dots for portfolio on mobiles */

.slidedVariable .slick-dots {
	display: none !important;
	list-style: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 40px;
	text-align: center;
	z-index: 100;
}

.slidedVariable .slick-dots li {
	display: inline-block;
}

.slidedVariable .slick-dots li button {
	display: inline-block;
	float: none;
	margin: 0;
	padding: 0;
	width: 12px;
	height: 12px;
	line-height: 12px;
	vertical-align: middle;
	list-style: none;
	border: 2px solid #FFF;
	background-color: transparent;
	border-radius: 50%;
	cursor: pointer;
	color: transparent;
}

.slidedVariable .slick-dots li button:hover {
	background-color: rgba(255,255,255,0.35);
}

.slidedVariable .slick-dots li.slick-active button, .slick-dots li.slick-active button:hover {
	cursor: pointer;
	background-color: #FFF;
}

.slick-slider {
	h4.nbs {
		position: absolute;
		top: 50%;
		margin-top: -50px;
		max-width: 300px;
		z-index: 5;
		.bt_bb_arrows_position_bottom& {
			top: auto;
			bottom: 0;
			margin-top: 0;
		}
		.bt_bb_arrows_position_top& {
			top:0;
			margin-top: 0;
		}
	}
	.nbsItem {
		display: none !important;
	}
	.nbsImage {
		transition:all 1s ease 0s;
		opacity: 0;
	}
	a:hover .nbsImage {
		opacity: 1;
	}
	h4.nbs.slick-disabled {
		display: none !important;
	}
}

/* Slider info bar and close */

.btGetInfo {
	display: block;
	position: absolute;
	z-index: 7;
	bottom: 12px;
	left: 20px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	text-align: center;
	padding: 0;
	background: $(accentColor);
	transition: 300ms ease all;
	&.on {
		transform: rotate(180deg);
	}
	.btIco {
		margin: 0 !important;
		.btIcoHolder {
			width: 32px;
			height: 32px;
			display: inline-block;
			float: none;
			text-align: center;
			&:after {
				content: "\f106";
				color: $(darkFontColor);
				line-height: 32px;
			}
		}
	}
}

.btCloseGhost {
    display: block;
    position: absolute;
    z-index: 7;
    top: 10px;
    right: 10px;
	transition: 300ms ease all;
	transform: rotate(0);
	.btIco {
		margin: 0 !important;
		.btIcoHolder {
			&:after {
				color: $(accentColor);
			}
		}
	}
	&:hover {
		transform: rotate(180deg);
		.btIco .btIcoHolder {
			&:after {
				color: $(darkFontColor);
			}
		}
	}
}

.btInfoBar {
    display: table;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 6;
    background-color: rgba(0,0,0,.7);
    transform: translateY(100%);
    transition: transform 260ms ease;
	&.open {
		transform: translateY(0);
	}
}

.btInfoBarMeta {
    display: table-cell;
    vertical-align: middle;
    padding: 15px 0 15px 45px;
	p {
		display: inline-block;
		margin: 0 0 0 15px;
		font-weight: 400;
		color: white;
		text-transform: uppercase;
	}

	p strong {
		color: $(accentColor);
		padding-right: 4px;
	}
}

/* Client list */

.boldClientList {
    position: relative;
}

.bclPort {
    max-width: math(1200 - 2*$(pagePadding))px;
    position: static !important;
    margin: 0 auto;
    overflow: hidden;
}

:lightSkinSelector .bclItem {
    position: relative;
    margin: 0;
}

:lightSkinSelector .bclItem {
	border-right: 1px solid $(lightBorderColor);
}

:darkSkinSelector .bclItem {
	border-right: 1px solid $(darkBorderColor);
} 

.bclItem .bclItemChild > div {
    transform: scale(1);
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: contain;
	transition: all ease 0.5s;
}

.bclItem .bclItemChild > div:hover {
	transform: translateY(-10px);
}

.bclItem .bclItemChild a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bclItem .bclItemChild {
    display: block;
    margin: 10%;
    position: relative;
}

.bclItem img {
    display: block;
    width: 100%;
    height: auto;
    visibility: hidden;
}

.boldClientRegularList {
    position: relative;
    overflow: hidden;
	.bclItem {
		float: left;
		margin: 0 0 -2px 0;
		position: relative;
		padding: 0;
	}

	.bclItem:before {
		display: none;
	}
}

:darkSkinSelector .boldClientRegularList .bclItem {
    border-bottom: 1px solid $(darkBorderColor);
    border-right: 1px solid $(darkBorderColor);
}

:lightSkinSelector .boldClientRegularList .bclItem {
    border-bottom: 1px solid $(lightBorderColor);
    border-right: 1px solid $(lightBorderColor);
}


.boldClientRegularList .bclItem {
	width: 100%;
}

.col-ms-6 .boldClientRegularList .bclItem {
	width: 33.3333333%;
}
.col-ms-6 .boldClientRegularList .bclItem:nth-child(3n+1) {
	clear: left;
}
.col-ms-6 .boldClientRegularList .bclItem:nth-child(3n) {
	border-right: 1px solid transparent;
}

.col-ms-12 .boldClientRegularList .bclItem {
	width: 16.6666667%;
}
.col-ms-12 .boldClientRegularList .bclItem:nth-child(6n) {
	border-right: 1px solid transparent;
}
.col-ms-12 .boldClientRegularList .bclItem:nth-child(6n+1) {
	clear: left;
}

@media (max-width: 1200px) {
	.bclPort {
		max-width: 1200px;
	}
}

@media (max-width: 768px) {
	.col-ms-12 .boldClientRegularList .bclItem:nth-child(6n+1) {
		clear: none;
	}
	.col-ms-12 .boldClientRegularList .bclItem:nth-child(3n+1) {
		clear: left;
	}
	.col-ms-12 .boldClientRegularList .bclItem {
		width: 33.3333333%;
	}
	.col-ms-12 .boldClientRegularList .bclItem:nth-child(6n) {
		border-right: 1px solid $(lightBorderColor);
	}
	.col-ms-12 .boldClientRegularList .bclItem:nth-child(3n) {
		border-right: 1px solid transparent;
	}
}


/* Tabs */

.btTabs {
   
}

.tabsHeader {
    list-style: none;
    display: block;
    padding: 0;
	margin: 0;
	clear: left;
}

.tabsHeader {
	:lightSkinSelector & {
		border-bottom: 1px solid $(lightBorderColor);
	}
	:darkSkinSelector & {
		border-bottom: 1px solid $(darkBorderColor);
	}
}

.tabsHeader li {
    margin: 0 30px -1px 0;
	padding: 0;
	display: block;
    float: left;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 400;
	cursor: pointer;
}

.tabsHeader li:last-child {
	margin: 0 0 -1px;
}

.tabsHeader li {
	span, a {
		display: block;
		padding: 0 0 16px;
		transition: 150ms ease all;
		:lightSkinSelector & {
			box-shadow: 0 -2px 0 0 $(lightBorderColor) inset;
		}
		:darkSkinSelector & {
			box-shadow: 0 -2px 0 0 rgba(0,0,0,0) inset;
		}
	}
	&:hover span {
		:lightSkinSelector & {
			box-shadow: 0 -2px 0 0 $(darkBorderColor) inset;
		}
		:darkSkinSelector & {
			box-shadow: 0 -2px 0 0 $(darkBorderColor) inset;
		}
	}
	&.on {
		:lightSkinSelector & {
			span, a {
				box-shadow: 0 -2px 0 0 $(accentColor) inset;
			}
		}
		:darkSkinSelector & {
			span, a {
				box-shadow: 0 -2px 0 0 $(lightBgColor) inset;
			}
		}
	}
}

.tabAccordionContent {
	padding: 22px 0 12px;
}

@media (max-width: 768px) {

	.tabsHorizontal .tabsHeader li {
		margin: 0;
		float: none;
	}
	.tabsHeader li span {
		padding: 7px 0;
	}
	.tabsHeader li:first-child span {
		padding: 0 0 7px;
	}
}

.tabsHorizontal .tabPane {
	opacity: 0;
	display: none;
	transition: opacity 250ms ease 250ms;
}

.tabsHorizontal .tabPane.on {
	opacity: 1;
	display: block;
}


/* Accordions */

/* Accordions */
.tabsVertical .tabPanes {
	border-bottom-width: 2px;
}

.tabsVertical .tabAccordionTitle {
	display: block;
	padding: 15px 62px 15px 20px;
	margin: 0;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	position: relative;
	transition: 300ms ease all;
}

:lightSkinSelector .tabsVertical .tabAccordionTitle {
	background-color: $(lightBgSubColor);
	color: $(lightFontColor);
}

:darkSkinSelector .tabsVertical .tabAccordionTitle {
	background-color: $(darkBgSubColor);
	color: $(darkFontColor);
}

:any(:lightSkinSelector,:darkSkinSelector) .tabsVertical .tabAccordionTitle.on {
	background-color: $(accentColor);
	box-shadow: -52px 0 0 $(accentColorHover) inset;
}

.tabsVertical .tabAccordionTitle:before {
	content: "\f107";
	font: 30px/1 FontAwesome;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 52px;
	bottom: 0;
	padding: 0.3em 0 0;
	text-align: center;
	transition: 300ms ease all;
}

.tabsVertical .tabAccordionTitle:before {
	color: $(accentColor);
}

.tabsVertical .tabAccordionTitle.on {
	color: #fff;
}

.tabsVertical .tabAccordionTitle.on:before {
	color: #fff;
	transform: rotate(180deg);
}

.tabAccordionTitle.on {
	background: $(accentColor);
	color: #FFF;
}

.tabsVertical .tabPane {
	padding: 0;
	margin: 0 0 15px;
	&:last-child {
		margin-bottom: 0;
	}
}

.tabsVertical  .tabPane:first-child .tabAccordionTitle {
	border-top: none;
}

.tabsVertical .tabAccordionContent {
	padding: 20px;
	display: none;
}

.tabsVertical  .tabPane:last-child .tabAccordionContent {
	border-bottom: 0;
}

.tabsVertical  .tabsHeader {
	display: none;
}

:lightSkinSelector .tabsVertical  .tabAccordionContent {
	background-color: $(lightBgSubColor);
}

:darkSkinSelector .tabsVertical  .tabAccordionContent {
	background-color: $(darkBgSubColor);
}


/* Latest posts */

.btLatestPostsContainer.horizontalPosts  {
	margin: 0 -$(innerHorizontalPadding)px;
}
.btLatestPostsContainer.horizontalPosts .btSingleLatestPostContent, .btLatestPostsContainer.horizontalPosts .btSingleLatestPostImage {
	padding: 0 $(innerHorizontalPadding)px;
}

.btSLPCCwrap {
	padding: 35px 20px 25px;
}

:lightSkinSelector .btSLPCCwrap {
	background-color: $(lightBgSubColor);
	border: 1px solid $(lightBorderColor);
	border-top: none;
}

:darkSkinSelector .btSLPCCwrap {
	background-color: $(darkBgSubColor);
	border: 1px solid $(darkBorderColor);
	border-top: none;
}

.btSingleLatestPost .btIco {
	position: absolute;
	left: auto;
	top: auto;
	margin: -22px 0 0 35px;
	z-index: 10;
}

:lightSkinSelector .btLatestPostsContainer .headline a {
	color: $(lightFontColor);
}

:darkSkinSelector .btLatestPostsContainer .headline a {
	color: $(darkFontColor);
}

.verticalPosts .btTextIndent .btImage, .verticalPosts .btTextIndent .bpgPhoto {
	margin: 0;
}

p.btLatestPostContent {
	margin-bottom: 1em;
}

:lightSkinSelector .btSingleLatestPostFooter .btArticleComments:before {
	color: $(lightFontColor);
}

:darkSkinSelector .btSingleLatestPostFooter .btArticleComments:before {
	color: $(darkFontColor);
}

.btSingleLatestPostFooter a:not(btArticleComments) {
	font-size: 0.688rem;
	text-transform: uppercase;
}

.btSingleLatestPostFooter a.btArticleComments {
	padding: 0 0 0 10px;
	margin: 0 0 0 8px;
}

.btSingleLatestPostFooter a.btArticleComments {
	border-left: 1px solid $(accentColor);
}

.btSingleLatestPostFooter:before {
	content: '\f02c';
	display: inline-block;
	font-family: FontAwesome;
	margin: 0 3px 0 0;
	font-size: 90%;
}

.verticalPosts .btSingleLatestPostImage {
	float: left;
	width: 240px;
	margin: 0 0 math($(innerHorizontalPadding) * 2)px;
	padding-right: $(innerVerticalPadding)px;
}

@media (max-width: 768px) {
	.verticalPosts .btSingleLatestPostImage {
		width: 100%;
		padding-right: 0px;
		float: none;
	}	
}

.verticalPosts .btSingleLatestPostContent {
    display: table;
}

/* Gmap */

.btGoogleMap {
	width: 100%;
}

/* Home Page Demo Teaser */

.demos, .demos * {
	box-sizing: border-box;
}

.demos {
	position: fixed;
	width: 280px;
	height: 187px;
	z-index: 5000;
	bottom: 0;
	right: 0;
	margin: 0 15px 0 0;
	background-image: url('../gfx/demo-screen.jpg');
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	transition: all 500ms ease;
}

.demos.hidden {
	transform: translate3d(0,187px,0);
}

.demos span {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin: -32px 0 0;
	height: 32px;
	padding: 11px 14px 0;
	color: #fff;
	font-size: 0.75rem;
	text-transform: uppercase;
	font-weight: 700;
	line-height: 1;
}

.demos span {
	background-color: $(accentColor);
}

.demos em {
	display: block;
	float: right;
	font: normal 25px/1 Icon7Stroke;
	margin: -7px -5px 0 0;
	padding: 0;
	cursor: pointer;
	transition: all 250ms ease-out;
}

.demos.hidden em {
	transform: rotate(45deg);
}

.demos em:before {
	content: '\e680';
}

.demos a {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.65);
	color: #fff;
	text-align: center;
	vertical-align: middle;
	font: normal 80px/167px Icon7Stroke;
	transform: scale3d(0,0,1);
	transition: all 300ms ease;
}

.demos:hover a {
	transform: scale3d(1,1,1);
}

.demos a:before {
	content: '\e684';
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	transform: scale3d(0,0,1);
	transition: all 300ms ease;
}

.demos:hover a:before {
	transform: scale3d(1,1,1);
	transition: all 300ms ease 150ms;
}

.btWorkingHoursInnerRow {
	padding: 14px 0;
}

.btWorkingHoursHasLink .btWorkingHoursInnerRow {
	padding: 14px 80px 14px 0;
}

:lightSkinSelector .btWorkingHoursInnerRow {
	border-top: 1px solid $(lightBorderColor);
}

:darkSkinSelector .btWorkingHoursInnerRow {
	border-top: 1px solid $(darkBorderColor);
}

:lightSkinSelector .btWorkingHoursInnerRow:first-child, :darkSkinSelector .btWorkingHoursInnerRow:first-child {
	border-top: none;
}

.btWorkingHoursInnerTitle, .btWorkingHoursInnerContent {
	float: left;
	line-height: 1.2;
	text-align: left;
}

.valueRight .btWorkingHoursInnerContent {
	text-align: right;
}

.btWorkingHoursInnerTitle {
	font-weight: 700;
	width: 45%;
}

.btWorkingHoursInnerContent {
	font-weight: 300;
	width: 55%;
}

.btWorkingHoursHasLink .btWorkingHoursInnerRow .btWorkingHoursInnerLink {
	width: 80px;
	float: right;
	margin: -0.2em -80px 0 -100%;
	overflow: hidden;
	text-align: right;
}

.btWorkingHoursInnerLink a {
	position: relative;
	line-height: 1;
	font-size: 0.688rem;
	font-weight: 400;
	display: inline-block;
	padding: 0.5em 2.7em 0.5em 1em;
	color: #fff;
	text-align: center;
}

.btWorkingHoursInnerLink a {
	background-color: $(alterColor);
	transition: 300ms ease all;
	.btSoftRoundedButtons & {
		border-radius: $(softBorderRadius);
	}
	.btHardRoundedButtons & {
		border-radius: $(hardBorderRadius);
	}
}

.btWorkingHoursInnerLink a:after {
	display: block;
	width: 1.6em;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	content: '\e66b';
	margin: 0 0 0 0.15em;
	padding: 0.3em 0 0;
	font: normal 14px/1 Icon7Stroke;
	transition: 300ms ease all;
	.btSoftRoundedButtons & {
		border-radius: 0 $(softBorderRadius) $(softBorderRadius) 0;
	}
	.btHardRoundedButtons & {
		border-radius: 0 $(hardBorderRadius) $(hardBorderRadius) 0;
	}
}

.btWorkingHoursInnerLink a:after {
	background-color: $(lightBorderColor);
}

.btWorkingHoursInnerLink a:hover {
	background-color: $(accentColor);
}

.btWorkingHoursInnerLink a:hover:after {
	background-color: $(lightBorderColor);
}

@media (max-width: 580px) {
	.btWorkingHoursInnerTitle {
		width: 100%;
	}

	.btWorkingHoursInnerContent {
		width: 100%;
	}
	.btWorkingHoursHasLink .btWorkingHoursInnerRow .btWorkingHoursInnerLink {
		margin-top: -1em;
	}
}

.btGoogleMapsWrapper {
	position: relative;
}

div[id^="map_canvas"] {
	width: 100% !important;
}

.wInfoPane div[id^="map_canvas"] {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	height: 100% !important;
}

.btGoogleMapsContent {
	max-width: 1160px;
	margin: auto;
}

.btGoogleMapsWrap {
	width: 325px;
	margin: 0;
	padding: 0 40px;
	position: relative;
	transition: all 300ms ease;
}

.btGoogleMapsWrap {
	:lightSkinSelector & {
		background-color: $(lightBgColor);
		box-shadow: 0 0 10px rgba(0,0,0,.05);
	}
	:darkSkinSelector & {
		background-color: $(alterColor);
	}
}

span.btInfoPaneToggler {
	display: none;
	position: absolute;
	top: 50%;
	right: 0;
	margin: -18px 0 0;
	width: 36px;
	height: 36px;
	font: normal 26px/36px Icon7Stroke;
	cursor: pointer;
	color: #fff;
	text-align: center;
	z-index: 2;
}

span.btInfoPaneToggler {
	background-color: $(accentColor);
}

span.btInfoPaneToggler:before {
	content: '\e686';
	color: #fff;
}

.btGoogleMapsWrap.closed span.btInfoPaneToggler {
	right: -36px;
}

.btGoogleMapsWrap.closed span.btInfoPaneToggler:before {
	content: '\e684';
}


/* Grid item icons */


/* Hover position icons */

.btIconImageRow.btIconsHalfHoverPosition, .btIconImageRow.btIconsFullHoverPosition {
	overflow: visible;
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.btIconImageRow.btIconsHalfHoverPosition .btIco, .btIconImageRow.btIconsFullHoverPosition .btIco {
	position: relative;
	z-index: 2;
	display: block;
	overflow: visible;
}

.btTextCenter .btIconImageRow:any(.btIconsHalfHoverPosition,.btIconsFullHoverPosition) .btIco {
	margin-left: 50%;
	float: left;
	transform: translateX(-50%);
}

.btTextLeft .btIconImageRow:any(.btIconsHalfHoverPosition,.btIconsFullHoverPosition) .btIco {
	float: left;
}

.btTextRight .btIconImageRow:any(.btIconsHalfHoverPosition,.btIconsFullHoverPosition) .btIco {
	float: right;
}

.btIconImageRow.btIconsHalfHoverPosition .btIco.btIcoBigSize {
	margin-top: -math($(bigIconSize) / 2)px;
	margin-bottom: 8px;
}

.btIconImageRow.btIconsFullHoverPosition .btIco.btIcoBigSize {
	margin-top: -math($(bigIconSize) + 10)px;
	margin-bottom: 18px;
}

.btIconImageRow.btIconsHalfHoverPosition .btIco.btIcoMediumSize {
	margin-top: -math($(mediumIconSize) / 2)px;
	margin-bottom: 10px;
}

.btIconImageRow.btIconsFullHoverPosition .btIco.btIcoMediumSize {
	margin-top: -math($(mediumIconSize) + 6)px;
	margin-bottom: 16px;
}

.btIconImageRow.btIconsHalfHoverPosition .btIco.btIcoLargeSize {
	margin-top: -math($(largeIconSize) / 2)px;
	margin-bottom: 12px;
}

.btIconImageRow.btIconsFullHoverPosition .btIco.btIcoLargeSize {
	margin-top: -math($(largeIconSize) + 12)px;
	margin-bottom: 24px;
}

.btIconImageRow.btIconsHalfHoverPosition .btIco.btIcoSmallSize {
	margin-top: -math($(smallIconSize) / 2)px;
	margin-bottom: 8px;
}

.btIconImageRow.btIconsFullHoverPosition .btIco.btIcoSmallSize {
	margin-top: -math($(smallIconSize) + 6)px;
	margin-bottom: 14px;
}

.btIconImageRow.btIconsHalfHoverPosition .btIco.btIcoExtraSmallSize {
	margin-top: -math($(extrasmallIconSize) / 2)px;
	margin-bottom: 8px;
}

.btIconImageRow.btIconsFullHoverPosition .btIco.btIcoExtraSmallSize {
	margin-top: -math($(extrasmallIconSize) + 5)px;
	margin-bottom: 14px;
}

/* Hover position icons */

/* Default Inputs & Textarea */
input[type="text"], input[type="password"],
input[type="email"], input[type="date"], input[type="tel"], textarea, .fancy-select .trigger, .select2-container .select2-choice {
	padding: 0 20px;
	height: 44px;
	width: 100%;
	display: block;
	font-size: 0.938rem;
	line-height: 1.5;
	font-weight: 300;
	border: none;
	box-shadow: 0 0 0 2px transparent inset;
	.btSoftRoundedButtons & {
		border-radius: $(softBorderRadius);
	}
	.btHardRoundedButtons & {
		border-radius: $(hardBorderRadius);
	}
}

input[type="text"], input[type="password"],
input[type="email"], input[type="date"], input[type="tel"], textarea, .fancy-select .trigger, .select2-container .select2-choice {
	font-family: $(bodyFont);
}

.fancy-select .trigger {
	padding: 0 28px 0 20px;
}

input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, .fancy-select .trigger.open, .select2-container.select2-dropdown-open .select2-choice {
	box-shadow: 0 0 0 2px $(accentColor) inset;
	border: none;
	transition: all 300ms ease;
}

.btSpecTypeDropdown .fancy-select .trigger {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0 34px 0 16px;
	margin: 0;
	display: block;
	line-height: 1;
	height: 44px;
	line-height: 44px;
	overflow: hidden;
	text-overflow: ellipsis;
	.btSoftRoundedButtons & {
		border-radius: $(softBorderRadius);
	}
	.btHardRoundedButtons & {
		border-radius: $(hardBorderRadius);
	}
}

.btSpecTypeDropdown .fancy-select {
	.trigger {
		box-shadow: 0 0 0 2px transparent inset;
		background-color: $(lightBgSubColor) !important;
		color: $(lightFontSubColor);
	}
	.trigger.open {
		box-shadow: 0 0 0 2px $(accentColor) inset;
	}
	.trigger.open:after {
		color: $(lightFontColor);
	}
}

:darkSkinSelector .btSpecTypeDropdown .fancy-select {
	.trigger {
		box-shadow: 0 0 0 2px $(lightBgColor) inset;
		background-color: transparent !important;
		color: $(darkFontColor);
	}
	.trigger.open {
		box-shadow: 0 0 0 2px $(lightBgColor) inset;
		background: $(lightBgColor) !important;
		color: $(lightFontColor);
	}
	.trigger.open:after {
		color: $(lightFontColor);
	}
}


textarea {
	height: 170px;
	padding: 18px 20px;
	vertical-align: top;
	line-height: 1.2;
}

.wCheckBox {
	padding: 0 0 0 1.3em;
	cursor: pointer;
}

.wCheckBox input[type="checkbox"], .wRadio input[type="radio"] {
	position: absolute;
	overflow: hidden;
	width: 1px;
	height: 1px;
	opacity: 0;
	z-index: -1;
}

.wCheckBox:before {
	content: ' ';
	display: block;
	float: left;
	font: normal 1em/1 FontAwesome;
	margin: 0.15em 7px 0 -1.2em;
	width: 1.2em;
	height: 1.2em;
	color: #fff;
	padding: 0.1em 0 0;
	text-align: center;
	border-radius: 2px;
}

#ship-to-different-address .wCheckBox:before {
	margin: 0.15em 0.4em 0 -1.2em;
}

p.create-account .wCheckBox:before {
	margin: -0.1em 0.25em 0 -1.2em;
}

label[for="rememberme"].wCheckBox:before {
	margin: 0.4em .5em 0 0;
}

.wCheckBox:before {
	background-color: $(accentColor);
}

.wCheckBox.checked:before {
	content: '\f00c';
}

#ship-to-different-address .wCheckBox:before, p.create-account .wCheckBox:before {
	content: '\f00c';
}

#ship-to-different-address .wCheckBox.checked:before, .wCheckBox:before, p.create-account .wCheckBox.checked:before {
	content: ' ';
}

:lightSkinSelector {
	input[type="text"], input[type="password"],
	input[type="email"], input[type="tel"], input[type="date"],
	textarea, .fancy-select .trigger, .select2-container .select2-choice {
		background-color: $(lightBgSubColor);
		color: $(lightFontSubColor);
	}
	input[type="text"]::-webkit-input-placeholder,
	input[type="password"]::-webkit-input-placeholder,
	input[type="email"]::-webkit-input-placeholder,
	input[type="tel"]::-webkit-input-placeholder,
	input[type="date"]::-webkit-input-placeholder {
		color: $(lightPlaceholderColor);
	}
	input[type="text"]::-moz-placeholder,
	input[type="password"]::-moz-placeholder,
	input[type="email"]::-moz-placeholder,
	input[type="tel"]::-moz-placeholder,
	input[type="date"]::-moz-placeholder {
		color: $(lightPlaceholderColor);
	}
	input[type="text"]::-ms-input-placeholder,
	input[type="password"]::-ms-input-placeholder,
	input[type="email"]::-ms-input-placeholder,
	input[type="tel"]::-ms-input-placeholder,
	input[type="date"]::-ms-input-placeholder {
		color: $(lightPlaceholderColor);
	}
}

:darkSkinSelector {
	input[type="text"], input[type="password"],
	input[type="email"], input[type="tel"], input[type="date"], textarea, .fancy-select .trigger, .select2-container .select2-choice {
		background-color: $(darkBgSubColor);
		color: $(darkFontSubColor);
	}
	input[type="text"]::-webkit-input-placeholder,
	input[type="password"]::-webkit-input-placeholder,
	input[type="email"]::-webkit-input-placeholder,
	input[type="tel"]::-webkit-input-placeholder,
	input[type="date"]::-webkit-input-placeholder {
		color: $(darkPlaceholderColor);
	}
	input[type="text"]::-moz-placeholder,
	input[type="password"]::-moz-placeholder,
	input[type="email"]::-moz-placeholder,
	input[type="tel"]::-moz-placeholder,
	input[type="date"]::-moz-placeholder {
		color: $(darkPlaceholderColor);
	}
	input[type="text"]::-ms-input-placeholder,
	input[type="password"]::-ms-input-placeholder,
	input[type="email"]::-ms-input-placeholder,
	input[type="tel"]::-ms-input-placeholder,
	input[type="date"]::-ms-input-placeholder {
		color: $(darkPlaceholderColor);
	}
}

::-webkit-datetime-edit { padding: 1em; }
input:not([type="number"])::-webkit-inner-spin-button { display: none; }
::-webkit-calendar-picker-indicator {
	padding: 0;
	margin: 0;
}

.btCustomList {
	list-style: none;
	margin: 0 0 25px;
	padding: 0;
}

.btCustomList li {
	display: block;
	margin: 0 0 5px;
	padding: 0;
}

:any(.btTextLeft,.btTextRight,.btTextCenter) .btCustomList li {
	text-align: left;
}

.btCustomList li a {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	display: block;
	position: relative;
	padding: 15px 15px 15px 64px;
	transition: all 300ms ease;
}

:lightSkinSelector .btCustomList li a {
	background-color: $(lightBgSubColor);
	color: $(lightFontColor);
}

:darkSkinSelector .btCustomList li a {
	background-color: $(darkBgSubColor);
	color: $(darkFontColor);
}

.btCustomList li a:before {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 50px;
	padding: 0.5em 0 0;
	text-align: center;
	vertical-align: top;
	font-size: 1.5em;
	font-weight: normal;
	color: $(accentColor);
	background-color: transparent;
	transition: all 300ms ease;
}

.btCustomList li a:hover:before {
	color: #fff;
	background-color: $(accentColor);
}

:any(:lightSkinSelector,:darkSkinSelector) .btCustomList li a:hover {
	background-color: $(accentColor);
	color: #fff;
}

:any(:lightSkinSelector,:darkSkinSelector) .btCustomList li a:hover:before {
	background-color: $(accentColorHover);
	color: #fff;
}


/* Google maps */

.btGoogleMapsWrap {

	.btIco.btIcoMediumSize .btIcoHolder:before, .btIco.btIcoMediumSize .btIcoHolder:after {
		font-size: 2.188rem;
	}

	.btIco.btIcoMediumSize .btIcoHolder em {
		font-size: 3.438rem;
		line-height: 55px;
		width: 55px;
		height: 55px;
	}
	
	.btIconImageRow {
		padding: 0 0 0 1px;
	}

}

/* Fancy Date Picker */
.btDateTypeInput input[type="date"] {
	text-align: left;
	position: relative;
	cursor: pointer;
	-webkit-min-logical-width: 100%;
	-webkit-appearance:none;
	line-height: 44px !important;
	vertical-align: bottom;
	text-indent: 0;
	float: left;
}
.btDateTypeInput input[type="date"].hasDatepicker {
	padding: 0 20px !important;
}
:darkSkinSelector .btDateTypeInput input[type="date"] {
	color: $(darkFontColor);
}
:lightSkinSelector .btDateTypeInput input[type="date"] {
	color: $(lightFontColor);
}
.btDateTypeInput input::-webkit-calendar-picker-indicator {
    background: transparent;
	color: transparent;
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
}
.btDateTypeInput input[type="date"]::-webkit-input-placeholder { 
    visibility: hidden !important;
    -webkit-appearance: none;
    display: none;
}
.btDateTypeInput input::-webkit-clear-button {
    visibility: hidden !important;
   -webkit-appearance: none;
    display: none;
}
.btDateTypeInput {
	position: relative;
	min-height: 44px;
	min-width: 100%;
	display: block;
}
.btDateTypeInput:after {
	display: block;
	font-family: FontAwesome;
	content: "\f133";
	pointer-events: none;
	position: absolute;
	right: 17px;
    font-size: 1rem;
    top: 8px;
}
div.wpcf7-validation-errors {
	border-color: $(accentColor);
	color: $(accentColor);
}
/* jQuery date picker style */
.ui-datepicker.ui-widget, .btDatePicker#ui-datepicker-div {
	font-family: $(bodyFont);
	border-radius: 0;
	padding: 10px !important;
	border: 0 !important;
	box-shadow: 0 0 10px rgba(0,0,0,.3);
	background: $(lightBgColor) !important;
}
.ui-datepicker .ui-corner-all, .ui-datepicker .ui-corner-bottom, .ui-datepicker .ui-corner-right, .ui-datepicker .ui-corner-tl, .ui-datepicker .ui-corner-tr, .ui-datepicker .ui-corner-br, .ui-datepicker .ui-corner-bl {
	border-radius: 0;
}
.ui-datepicker.ui-widget .ui-datepicker-header {
	background: $(accentColor);
	color: $(darkFontColor);
	border: 0;
}
.btDatePicker table.ui-datepicker-calendar {
	background: transparent !important;
}
.ui-datepicker.ui-widget th, .btDatePicker table.ui-datepicker-calendar th {
	text-transform: uppercase;
	font-weight: 300 !important;
	background: $(lightBorderColor);
	font-size: 0.625rem !important;
}
.ui-datepicker.ui-widget th, .ui-datepicker.ui-widget td {
	width: 14.2857%;
}
.btDatePicker table th, .btDatePicker table td {
	border: 0 !important;
}
.btDatePicker table td, .btDatePicker table td:hover {
	background: transparent !important;
	font-size: 0.813rem;
	line-height: 22px;
}
.ui-datepicker.ui-widget tbody tr {
	border-bottom: 1px solid $(lightBorderColor);
}
.ui-datepicker.ui-widget tbody tr:last-child {
	border-bottom: 0;
}
.ui-datepicker.ui-widget tbody tr td {
	padding: 3px 2px;
}
.ui-datepicker.ui-widget tbody tr:last-child td {
	padding-bottom: 0;
}
.ui-datepicker.ui-widget tbody tr td a, .ui-datepicker.ui-widget tbody tr td a:hover {
	text-align: center;
	border-radius: 50%;
	line-height: 22px;
	text-align: center;
	width: auto;
	height: 27px;
	font-size: 0.813rem;
}
.ui-datepicker.ui-widget tbody tr td a.ui-state-default {
	background: transparent;
	border: 0;
}
.ui-datepicker.ui-widget tbody tr td a.ui-state-default.ui-state-active {
	box-shadow: 0 0 0 20px $(alterColor) inset;
	color: $(darkFontColor);
	transition: box-shadow 100ms ease, color 100ms ease;
}
.ui-datepicker.ui-widget tbody tr td a.ui-state-default.ui-state-highlight {
	box-shadow: 0 0 0 20px $(accentColor) inset;
	color: $(darkFontColor);
	transition: box-shadow 100ms ease, color 100ms ease;
}
.ui-datepicker.ui-widget tbody tr td a.ui-state-default.ui-state-hover {
	box-shadow: 0 0 0 2px $(accentColor) inset;
	color: $(accentColor);
	background: transparent;
	transition: box-shadow 100ms ease, color 100ms ease;
}
.ui-datepicker.ui-widget .ui-datepicker-prev, .ui-datepicker.ui-widget .ui-datepicker-next, .btDatePicker a.ui-datepicker-prev, .btDatePicker a.ui-datepicker-next {
	border: 0;
	background: transparent;
}
.ui-datepicker.ui-widget .ui-datepicker-prev, .ui-datepicker.ui-widget .ui-datepicker-prev.ui-state-hover, .btDatePicker a.ui-datepicker-prev, .btDatePicker a.ui-datepicker-prev.ui-state-hover {
	left: 2px;
	top: 2px;
}
.ui-datepicker.ui-widget .ui-datepicker-next, .ui-datepicker.ui-widget .ui-datepicker-next.ui-state-hover, .btDatePicker a.ui-datepicker-next, .btDatePicker a.ui-datepicker-next.ui-state-hover {
	right: 2px;
	top: 2px;
}
.ui-datepicker.ui-widget .ui-datepicker-prev .ui-icon, .ui-datepicker.ui-widget .ui-datepicker-next .ui-icon {
	background: transparent;
	font-size: 0;
	text-indent: 0;
	margin: 0;
	display: block;
	height: 26px;
	width: 26px;
	top: 0;
	right: 0;
	left: 0;
	cursor: pointer;
	transform: translateX(0);
	transition: all 200ms ease;
}
.ui-datepicker.ui-widget .ui-datepicker-prev.ui-state-hover .ui-icon {
	transform: translateX(-5px);
	transition: all 200ms ease;
}
.ui-datepicker.ui-widget .ui-datepicker-next.ui-state-hover .ui-icon {
	transform: translateX(5px);
	transition: all 200ms ease;
}
.ui-datepicker.ui-widget .ui-datepicker-prev .ui-icon:before, .ui-datepicker.ui-widget .ui-datepicker-next .ui-icon:before {
	font-family: FontAwesome;
	font-size: 1.375rem;
	line-height: 1.4;
	text-align: center;
	color: $(darkFontColor);
	width: 26px;
	height: 26px;
	display: block;
	font-weight: 300;
}
.ui-datepicker.ui-widget .ui-datepicker-prev .ui-icon:before {
	content: "\f104";
}
.ui-datepicker.ui-widget .ui-datepicker-next .ui-icon:before {
	content: "\f105";
}


/* COUNTDOWN */
.btCounterHolder {
    font-size: 3rem;
    line-height: 0;
	font-weight: 300;
	.btCounter {
		display: block;
		height: 3rem;
		overflow: hidden;
	}
	span.onedigit {
		display: inline-block;
		height: 3rem;
		transition:all 1s ease 0s;
	}
	span.onedigit span {
		display: block;
		position: relative;
		height: 3rem;
		text-align: center;
	}
	.btCountdownHolder {
		padding: 0 15%;
		display: flex;
		flex-direction: row;
		> span {
			vertical-align: top;
			display: inline-block;
			padding: 0 0 5px;
		}
		> span > span {
			display: inline-block;
		}
		> span > span > span {
			display: block;
			width: 0.65em;
			text-align: inherit;
			transition: transform 0ms ease-out;
			transform: translateY(-3rem);
			position:static;
			overflow: hidden;
			height: 3rem;
			line-height: 1;
		}
		.days, .hours, .minutes, .seconds {
			float: none;
			width: auto;
			flex: 1 1 25%;
		}
		span[class$="_text"] {
			position:relative;
			display: block;
			text-align: inherit;
			font-size: .8rem;
			line-height: 1;
			padding: 1rem 0 0;
			margin: .5rem 0 0;
			text-transform: uppercase;
		}
		span[class^="n"], .days span:first-child, .days span:nth-child(2), .days span:nth-child(3) {
			position:static;
			overflow: hidden;
			height: 3rem;
			line-height: 1;
		}
		span[class$="_text"] > span {
			height: auto !important;
			transform: none !important;
			font-size: 1em;
			line-height: 1.2 !important;
		}
		span.separator {
			display: none;
		}
		.days_text span, .hours_text span, .minutes_text span, .seconds_text span {
			width: auto !important;
			transform: translate(-50%,-.1em) !important;
		}
		.countdown_anim {
			transition: transform 200ms ease-out;
			transform: translateY(0px);
		}
	}
}

.btCounterHolder.btCounterLargeSize {
    font-size: 4.5rem;
	font-weight: 700;
	.btCountdownHolder {
		padding: 0 10%;
	}
	.btCounter {
		height: 4.5rem;
	}
	span.onedigit {
		height: 4.5rem;
	}
	span.onedigit span {
		height: 4.5rem;
	}
	.btCountdownHolder {
		> span > span > span {
			transform: translateY(-4.5rem);
			height: 4.5rem;
		}
		.countdown_anim {
			transition: transform 200ms ease-out;
			transform: translateY(0px);
		}
		span[class^="n"], .days span:first-child, .days span:nth-child(2), .days span:nth-child(3) {
			height: 4.5rem;
		}
	}
}
@media (max-width: 780px) {
	.btCounterHolder .btCountdownHolder {
		display: block;
		.days, .hours, .minutes, .seconds {
			display: block !important;
			float: none !important;
			width: 100% !important;
			padding-bottom: 1rem;
			text-align: center;
		}
		span[class$="_text"] {
			padding: 0 !important;
		}
	}
}

/* SLIDER */

.bt_bb_slider.slick-slider button.slick-arrow {
    background-color: rgba(0,0,0,.3);
}
.bt_bb_layout_wide .bt_bb_content_slider.bt_bb_multiple_slides .slick-list {
	position: static !important; 
/*	max-width: $(baseTemplateWidth)px;*/
	margin: 0 auto;
	overflow: hidden;	
	.slick-track {
		position: relative;
	}
}
.bt_bb_layout_wide .bt_bb_content_slider:not(.bt_bb_multiple_slides) .slick-slider .bt_bb_content_slider_item {
	overflow: hidden;
	.bt_bb_content_slider_item_content {
		@fragment btGutterWidth;
		padding: 0 $(pagePadding)px;
		margin: 0 auto;
	}	
}
/* Previous / Next / Paging */
.slick-dots {
	bottom: 0;
	height: auto;
	line-height: 4.5em;
	li {
		display: inline-block;
		margin: 0 10px !important;
		width: 20px;
		list-style: none;
		border: 0 !important;
		width: auto !important;
		background: transparent !important;
		height: auto !important;
		line-height: 1 !important;
		button {
			display: inline-block;
			float: none;
			margin: 0;
			padding: 0;
			width: 20px !important;
			height: 20px !important;
			line-height: 20px !important;
			vertical-align: middle;
			list-style: none;
			border: none;
			background-color: rgba(0,0,0,0.1) !important;
			border-radius: 50%;
			cursor: pointer;
			color: transparent;
			transition: 300ms ease all;
			&:hover {
				background-color: rgba(0,0,0,0.4) !important;
			}
			:darkSkinSelector & {
				background-color: rgba(255,255,255,0.2) !important;
				&:hover {
					background-color: rgba(255,255,255,0.6) !important;
				}
			}
		}
		&.slick-active button, &.slick-active button:hover {
			background-color: $(accentColor) !important;
			cursor: default;
			:darkSkinSelector & {
				background-color: $(lightBgColor) !important;
			}
		}
	}
	.bt_bb_show_dots_below & {
		bottom: -80px !important;
	}
	.bt_bb_show_dots_hide & {
		display: none !important;
	}
}
button.slick-arrow {
	border-radius: 50%;
	transition: all 200ms ease-in-out;
	background: $(accentColor);
	width: 3.33em;
	height: 3.33em;
	line-height: 3.33em;
	&:before {
		font-family: Essential;
		transition: transform 200ms ease-in-out;
		font-size: 1.73rem;
	}
	&:hover {
		background-color: $(accentColor);
		&:before {
			color: $(darkFontColor);
		}
	}
	:lightSkinSelector &, :darkSkinSelector & {
		background-color: $(lightBgSubColor);
		&:before {
			color: $(lightFontColor);
		}
		&:hover {
			background-color: $(accentColor);
			&:before {
				color: $(darkFontColor);
			}
		}
	}
	&.slick-prev {
		left: $(pagePadding)px;
		&:before {
			content: "\ea7c";
			transform: translateX(-.075em);
		}
		&:hover:before {
			transform: translateX(-.2em);
		}
	}
	&.slick-next {
		right: $(pagePadding)px;
		&:before {
			content: "\ea7d";
			transform: translateX(.075em);
		}
		&:hover:before {
			transform: translateX(.2em);
		}
	}
	.bt_bb_arrows_size_large & {
		width: 6.66em;
		height: 6.66em;
		line-height: 6.66em;
		background: rgba(0,0,0,.4);
		&:before {
			font-size: 3.2rem;
		}
		&:after {
			content: "";
			display: block;
			position: absolute;
			left: -1em;
			right: -1em;
			top: -1em;
			bottom: -1em;
			box-shadow: 0 0 0 1px $(accentColor) inset;
			border-radius: 50%;
			transition: all 200ms ease-in-out;
			opacity: 1;
		}
		&:hover {
			box-shadow: 0 0 0 3.35em $(lightBgColor) inset;
			&:after {
				box-shadow: 0 0 0 1em $(accentColor) inset;
				opacity: .25;
				transition-delay: 50ms;
			}
		}
		.bt_bb_color_scheme_2 &, .bt_bb_color_scheme_5 & {
			background: rgba(255,255,255,.4);
			&:before {
				color: $(lightFontColor);
			}
			&:hover:before {
				color: $(accentColor);
			}
		}
	}
	.bt_bb_arrows_size_normal &, .bt_bb_arrows_size_small & {
		width: 3.33em;
		height: 3.33em;
		line-height: 3.33em;
		&:hover {
			background: $(lightBgColor);
		}
	}
	.bt_bb_arrows_size_small & {
		bottom: $(pagePadding)px;
		top: auto;
		&.slick-prev {
			left: auto;
			right: math($(pagePadding)*2.5)px;
		}
	}
}
@media only screen 
	and (min-device-width: 375px) 
	and (max-device-width: 667px) 
	and (-webkit-min-device-pixel-ratio: 2) { 
	.button.slick-arrow, .button.slick-arrow.bt_bb_arrows_size_normal {
		padding: .45em 0;
	}
}
@media only screen 
	and (min-device-width: 667px) 
	and (max-device-width: px) 
	and (-webkit-min-device-pixel-ratio: 2) { 
	.button.slick-arrow, .button.slick-arrow.bt_bb_arrows_size_normal {
		padding: .45em 0;
	}
}

/* WPC7 Form */
.wpcf7-form {
	input:not([type='radio']), input:not([type='checkbox']), textarea, .fancy-select .trigger {
		.darkSkinSelector & {
			color: $(lightFontColor);
		}
	}
	.fancy-select .trigger {
		height: 3.5714em;
	}
	.fancy-select .options.overflowing {
		bottom: 3.5714em;
	}
	input:not([type='checkbox']):not([type='radio']).wpcf7-submit {
		border: none;
		font-family: $(bodyFont);
		color: $(darkFontColor);
		cursor: pointer;
		padding: 1em 2em 1em 2em;
		background: $(accentColor);
		font-weight: 700;
		transition: 300ms ease all;
		transform: translateY(0);
		position: relative;
		overflow: hidden;
		width: auto !important;
		&:hover {
			background: $(accentColorHover) !important;
		}
		.bt_bb_align_center & {
			margin-left: auto;
			margin-right: auto;
		}
		.bt_bb_align_right & {
			margin-left: auto;
		}
		.btSoftRoundedButtons & { border-radius: $(softBorderRadius) }
		.btHardRoundedButtons & { border-radius: $(hardBorderRadius) }
	}
	.btAlterSubmit {
		input:not([type='checkbox']):not([type='radio']).wpcf7-submit {
			background: $(alterColor);
			&:hover {
				background: $(alterColorHover) !important;
			}
		}
	}
}
div.wpcf7 {
	.btSubscribe {
		display: flex;
		flex-direction: row;
		position: relative;
		.wpcf7-form-control-wrap {
			flex: 1 1 100%;
			padding: 0 5px 0 0;
		}
		input[type='submit'] {
			flex: 0 0 auto;
			background: $(accentColor) !important;
			color: $(darkFontColor) !important;
		}
		.ajax-loader {
			position: absolute;
			margin: -8px -18px 0 0;
			right: 25px;
			top: 25px;
			background: transparent;
			border-radius: 50%;
			animation: btLoader 1.5s infinite linear;
			background: transparent;
			border: 2px solid transparent;
			border-top: 2px solid $(lightFontColor);
		}
		span.wpcf7-not-valid-tip {
			color: inherit;
			font-weight: bold;
		}
	}
	div.wpcf7-validation-errors {
		border: 0;
		padding: 0;
		margin: 1em 0 0;
	}
	.btAlternateSubmit {
		input[type='submit'] {
			flex: 0 0 auto;
			background: $(alternateColor) !important;
		}
	}
}
div.wpcf7 {
	.btFooterSubscribe {
		display: flex;
		flex-direction: column;
		position: relative;
		.wpcf7-form-control-wrap {
			padding: 0 0 10px 0;
			flex: 1 1 100%;
		}
		input[type='submit'] {
			flex: 0 0 auto;
			background: $(alterColor) !important;
			color: $(darkFontColor) !important;
			&:hover {
				background: $(alterColorHover);
			}
		}
		.ajax-loader {
			position: absolute;
			margin: -8px -18px 0 0;
			right: 25px;
			top: 25px;
			background: transparent;
			border-radius: 50%;
			animation: btLoader 1.5s infinite linear;
			background: transparent;
			border: 2px solid transparent;
			border-top: 2px solid $(lightFontColor);
		}
		span.wpcf7-not-valid-tip {
			color: inherit;
			font-weight: bold;
		}
	}
	div.wpcf7-validation-errors {
		border: 0;
		padding: 0;
		margin: 1em 0 0;
	}
}
div.wpcf7 .ajax-loader {
	display: none;
	&.is-active {
		display: block;
	}
}

@media (max-width: 580px) {
	div.wpcf7 {
		.btSubscribe {
			flex-direction: column;
			.wpcf7-form-control-wrap {
				padding: 0 0 5px 0;
			}
		}
	}
}

/* Responsive BB classes */
@media (max-width: 479px) {
.bt_bb_hidden_xs {
    display: none !important;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
.bt_bb_hidden_ms {
    display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
.bt_bb_hidden_sm {
    display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
.bt_bb_hidden_md {
    display: none !important;
    }
}

@media (min-width: 1200px) {
.bt_bb_hidden_lg {
    display: none !important;
    }
}

/* Advanced progress bar */
.bt_bb_progress_bar_advanced {
	& > div {
		position: relative;
	}
	& > p {
		margin: 15px 0 0;
		font-family: $(headingFont);
		font-weight: 700;
	}
	.progressbar-text {
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		transform: none !important;
	}
	a .progressbar-text {
		color: inherit;
	}
	&[data-container-type="semi-circle"] {
		.progressbar-text {
			margin-bottom: .5em;
		}
	}
	.bt_bb_icon_holder {
		display: flex;
	}
	.bt_bb_icon_holder:before {
		.bt_bb_size_small& {
			font-size: $(extrasmallIconSize)px;
		}
		.bt_bb_size_normal& {
			font-size: $(smallIconSize)px;
		}
		.bt_bb_size_medium& {
			font-size: $(mediumIconSize)px;
		}
		.bt_bb_size_large& {
			font-size: $(bigIconSize)px;
		}
		.bt_bb_size_xlarge& {
			font-size: $(largeIconSize)px;
		}
	}
	&[data-container-type="circle"] {
		.progressbar-text {
			transform: none !important;
		}
	}
	&[data-container-type="semi-circle"] {
		.progressbar-text {
			transform: translateY(50%) !important;
		}
		& > p {
			margin-top: 45px;
		}
	}
}

/* Features table */
.bt_bb_features_table {
	overflow-y: hidden;
	overflow-x: auto;
	width: 100%;
	table {
		border: 0;
		thead {
			tr {
				th {
					background: transparent;
					border: 0;
					border-bottom: 2px solid;
					padding: 1em 0.625em;
					:lightSkinSelector & {
						border-bottom-color: $(accentColor);
					}
					:darkSkinSelector & {
						border-bottom-color: $(accentColor);
					}
					&:not(:first-child) {
						text-align: center;
					}
				}
			}
		}
		tbody {
			tr {
				td {
					border: 0;
					border-bottom: 1px solid;
					padding: 1em 0.625em;
					:lightSkinSelector & {
						border-bottom-color: $(lightBgSubColor);
					}
					:darkSkinSelector & {
						border-bottom-color: $(darkBgSubColor);
					}
					.bt_bb_features_table_yes:after, .bt_bb_features_table_no:after {
						display: inline-block;
						font-family: FontAwesome;
						font-size: 1.4em;
					}
					.bt_bb_features_table_yes:after {
						content: "\f058";
						color: $(accentColor);
						.bt_bb_color_scheme_5&, .bt_bb_color_scheme_5 & {
							color: $(darkFontColor);
						}
						.bt_bb_color_scheme_6&, .bt_bb_color_scheme_6 & {
							color: $(lightFontColor);
						}
					}
					.bt_bb_features_table_no:after {
						content: "\f00d";
						opacity: .25;
					}
					&:not(:first-child) {
						text-align: center;
					}
				}
				&:nth-child(even) {
					:lightSkinSelector & {
						background: $(lightTableRowColor);
					}
					:darkSkinSelector & {
						background: $(darkTableRowColor);
					}
				}
			}
		}
	}
}
@media (max-width: 780px) {
	.bt_bb_features_table {
		table {
			tr td {
				white-space: nowrap;
			}
		}
	}
}

/* Image grid */
.bt_bb_masonry_image_grid {
	.bt_bb_grid_item {
		overflow: hidden;
		.bt_bb_grid_item_inner_image {
			position: relative;
			&:before {
				position: absolute;
				content: "";
				display: block;
				top: 0;
				bottom: 0;
				left: 0;
				right: 0;
				z-index: 1;
				opacity: 0;
				pointer-events: none;
				transition: 300ms ease all;
				:lightSkinSelector & {
					background: rgba(255,255,255,0.8);
				}
				:darkSkinSelector & {
					background: rgba(0,0,0,0.8);
				}
			}
			&:after {
				font-size: 3.125rem;
				display: block;
				content: "\ea08";
				font-family: Essential;
				width: 3.625rem;
				height: 3.625rem;
				line-height: 3.625rem;
				text-align: center;
				background: $(alternateColor);
				color: $(accentColor);
				position: absolute;
				left: 50%;
				top: 50%;
				margin: -25px 0 0 -25px;
				opacity: 0;
				z-index: 2;
				pointer-events: none;
				transition: 300ms ease all;
			}
			&:hover {
				&:before {
					opacity: 1;
				}
				&:after {
					opacity: 1;
				}
			}
		}
	}
	&.bt_bb_no_lightbox {
		.bt_bb_grid_item_inner {
			> .bt_bb_grid_item_inner_image {
				&:after, &:before {
					display: none;
				}
			}
		}
	}	
	.bt_bb_grid_item_inner_content {
		position: absolute;
		top:0;
		left: 0;
	}
	.bt_bb_grid_item_inner {
		overflow: hidden;
		> .bt_bb_grid_item_inner_image {
			cursor: pointer;
			display: block;
			float: left;
			width: 100%;
		}

		&:after {
			content: '';
			display: table;
			clear: both;
		}
	}
	&.bt_bb_gap_extrasmall {
		.bt_bb_masonry_post_image_content {
			margin-left:-2.5px;
			margin-top:-2.5px;
			.bt_bb_grid_item_inner {
				transform: translate(2.5px, 2.5px);
				> .bt_bb_grid_item_inner_image:after {
					transform: translate(-2.5px, -2.5px);
				}
			}			
		}

	}
	&.bt_bb_gap_small {
		.bt_bb_masonry_post_image_content  {
			margin-left:-5px;
			margin-top:-5px;
			.bt_bb_grid_item_inner {
				transform: translate(5px, 5px);
				> .bt_bb_grid_item_inner_image:after {
					transform: translate(-5px, -5px);
				}
			}			
		}
	}
	&.bt_bb_gap_normal {
		.bt_bb_masonry_post_image_content {
			margin-left:-10px;
			margin-top:-10px;
			.bt_bb_grid_item_inner {
				transform: translate(10px, 10px);				
				> .bt_bb_grid_item_inner_image:after {
					transform: translate(-10px, -10px);
				}
			}			
		}	
	}
	&.bt_bb_gap_large {
		.bt_bb_masonry_post_image_content {
			margin-left:-20px;
			margin-top:-20px;
			.bt_bb_grid_item_inner {
				transform: translate(20px, 20px);				
				> .bt_bb_grid_item_inner_image:after {
					transform: translate(-20px, -20px);
				}
			}			
		}
	}	
}
.bt_bb_grid_container {
	&.bt_bb_columns_1 {
		.bt_bb_grid_sizer, .bt_bb_grid_item {
			width: 100%;
		}
	}
	&.bt_bb_columns_2 {
		.bt_bb_grid_sizer, .bt_bb_grid_item {
		  width: 50%;
		}
		.bt_bb_tile_format_21 {
			width: 100%;
		}
	}
	&.bt_bb_columns_3 {
		.bt_bb_grid_sizer, .bt_bb_grid_item {
			width: 33.333333%;
		}
		.bt_bb_tile_format_21 {
			width: 66.6666687%;
		}
	}
	&.bt_bb_columns_4 {
		.bt_bb_grid_sizer, .bt_bb_grid_item {
			width: 25%;
		}
		.bt_bb_tile_format_21 {
			width: 50%;
		}
	}
	&.bt_bb_columns_5 {
		.bt_bb_grid_sizer, .bt_bb_grid_item {
			width: 20%;
		}
		.bt_bb_tile_format_21 {
			width: 40%;
		}
	}
	&.bt_bb_columns_6 {
		.bt_bb_grid_sizer, .bt_bb_grid_item {
			width: 16.666667%;	
		}
		.bt_bb_tile_format_21 {
			width: 33.333333%;
		}
	}
	&.bt_bb_columns_2 {
		.bt_bb_tile_format_22 {
			width: 100%;
		}
	}
	&.bt_bb_columns_3 {
		.bt_bb_tile_format_22 {
			width: 66.6666687%;
		}
	}
	&.bt_bb_columns_4 {
		.bt_bb_tile_format_22 {
			width: 50%;
		}
	}
	&.bt_bb_columns_5 {
		.bt_bb_tile_format_22 {
			width: 40%;
		}
	}
	&.bt_bb_columns_6 {
		.bt_bb_tile_format_22 {
			width: 33.3333334%;
		}
	}
}

@media screen and (max-width: 768px) {
	:any(.bt_bb_grid_container.bt_bb_columns_1, .bt_bb_grid_container.bt_bb_columns_2, .bt_bb_grid_container.bt_bb_columns_3, .bt_bb_grid_container.bt_bb_columns_4,	.bt_bb_grid_container.bt_bb_columns_5, .bt_bb_grid_container.bt_bb_columns_6) {
		:any(.bt_bb_grid_sizer, .bt_bb_grid_item) {
			width: 100%;	
		}
	}	  
}

/* Masonry portfolio grid */
.bt_bb_post_grid_loader {
	margin: 20px auto;
	font-size: 0.375rem;
	position: relative;
	text-indent: -9999em;
	border: 2px solid rgba(128, 128, 128, 0.1);
	border-right: 2px solid $(accentColor);
	animation: bt_bb_grid_animation 1.1s infinite linear;
}
 
.bt_bb_post_grid_loader,
.bt_bb_post_grid_loader:after {
	border-radius: 50%;
	width: 64px;
	height: 64px;
}

@keyframes bt_bb_grid_animation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(359deg);
	}
}

.bt_bb_post_grid_filter {
	padding: $(innerVerticalPadding)px 0;
	font-family: $(menuFont);
	font-size: 0.875rem;
	.bt_bb_post_grid_filter_item {
		margin: 0 10px;
		cursor: pointer;
		display: inline-block;
		transition: 200ms ease color;
		position: relative;
		&:after {
			content: "";
			display: block;
			background: $(accentColor);
			height: 3px;
			position: absolute;
			left: 0;
			right: 0;
			bottom: -6px;
			opacity: 0;
			transition: 200ms ease all;
		}
		&:hover {
			color: $(accentColor);
		}
		&.active {
			color: inherit !important;
			cursor: default;
			&:after {
				opacity: 1;
			}
		}
	}
	.btCatFilterTitle {
		padding: 0 10px;
		font-weight: 600;
	}
}

.bt_bb_masonry_portfolio_grid {
	margin: 0 -10px -10px;
	.bt_bb_gap_no_gap& {
		margin: 0;
	}
	.bt_bb_gap_small& {
		margin: 0 -5px -5px;
	}
	.bt_bb_gap_normal& {
		margin: 0 -10px -10px;
	}
	.bt_bb_gap_large& {
		margin: 0 -20px -20px;
	}
	.bt_bb_masonry_post_grid_content {
		.bt_bb_gap_no_gap& {
			margin: 0;
			.bt_bb_grid_item { 
				padding: 0; 
				.bt_bb_latest_posts_item_content {
					border-color: transparent !important;
				}
			}
		}
		.bt_bb_gap_small& {
			margin: 0 0 -5px;
			.bt_bb_grid_item { 
				padding: 0 5px 10px;
			}		
		}
		.bt_bb_gap_normal& {
			margin: 0 0 -10px;
			.bt_bb_grid_item { 
				padding: 0 10px 20px;
			}		
		}
		.bt_bb_gap_large& {
			margin: 0 0 -20px;
			.bt_bb_grid_item { 
				padding: 0 20px 40px;
			}		
		}
		.bt_bb_grid_item:hover .bt_bb_grid_item_post_share {
			opacity: 1;
		}
		.bt_bb_grid_item {
			.bt_bb_grid_item_post_content {
				padding: 20px;
				:lightSkinSelector & {
					background: $(lightBgSubColor);
				}
				:darkSkinSelector & {
					background: $(darkBgSubColor);
				}
				.bt_bb_grid_item_category {
					font-family: $(headingSuperTitleFont);
					line-height: 1.55;
					margin: 0 0 8px;
					font-size: 0.813rem;
					&:before {
						font-family: FontAwesome;
						content: "\f02c";
						margin: 0 7px 0 0;
						display: inline-block;
						font-style: normal;
					}
					a:not(:first-child):before {
						content: ' ';
						display: inline-block;
						margin: 0 6px;
						width: 5px;
						height: 5px;
						border-radius: 50%;
						line-height: inherit;
						vertical-align: middle;
						opacity: .7;
						:lightSkinSelector & {
							background-color: $(lightFontColor);
						}
						:darkSkinSelector & {
							background-color: $(darkFontColor);
						}
					}
				}
				.bt_bb_grid_item_post_title {
					font-size: 0.875rem;
					margin: 0 0 10px;
					font-weight: 600;
					a {
						color: $(accentColor);
						&:hover {
							:lightSkinSelector &, :darkSkinSelector & {
								color: inherit;
							}
						}
					}
					&:before {
						display: block;
						width: 30px;
						height: 2px;
						content: "";
						background: $(alterColor);
						margin: 0 auto 9px;
						.btTextLeft & {
							margin-left: 0;
						}
						.btTextRight & {
							margin-right: 0;
						}
					}
					&:last-child {
						margin-bottom: 0;
					}
				}
				.bt_bb_grid_item_meta {
					font-size: 0.875rem;
					margin: 0 0 7px;
					line-height: 1.55;
					clear: both;
					font-family: $(headingSubTitleFont);
					.bt_bb_grid_item_date, .bt_bb_grid_item_item_comments {
						&:before {
							margin: 0 7px 0 0;
							display: inline-block;
							font-style: normal;
							font-family: FontAwesome;
							content: "\f086";
						}
					}
					.bt_bb_grid_item_date:before {
						content: "\f017";
					}
					.bt_bb_grid_item_date, .bt_bb_grid_item_item_author, .bt_bb_grid_item_item_comments {
						&:not(:last-child):after {
							content: ' / ';
							padding: 0 .5em;
						}
					}
				}
				.bt_bb_grid_item_post_excerpt {
					margin-bottom: 20px;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 4;
					max-height: 6.75em;
					&:last-child {
						margin-bottom: 0;
					}
				}
				.bt_bb_grid_item_post_share {
					.btIco {
						.btIcoHolder:after {
							color: inherit;
							font-size: 1rem;
							line-height: 16px;
						}
						.btIcoHolder em {
							box-shadow: none !important;
						}
						&:hover {
							.btIcoHolder:after {
								color: $(accentColor);
							}
						}
					}
				}
			}
		}
	}
}

/* Masonry portfolio tiles */
.bt_bb_masonry_portfolio_tiles {
	.bt_bb_grid_item {
		.bt_bb_grid_item_inner {
			position: relative;
			.bt_bb_grid_item_post_thumbnail {
				position: relative;
				a {
					display: block;
				}
			}
			.bt_bb_grid_item_inner_content {
				position: absolute;
				left: 0;
				top: 0;
				bottom: 0;
				right: 0;
				padding: 20px;
				transition: 400ms ease all;
				overflow: hidden;
				display: flex;
				flex-direction: column;
				justify-content: center;
				pointer-events: none;
				:lightSkinSelector & {
					background: rgba(255,255,255,.8);
				}
				:darkSkinSelector & {
					background: rgba(0,0,0,.8);
				}
				.bt_bb_grid_item_post_title {
					font-size: 0.875rem;
					font-weight: 600;
					margin-bottom:0;
					&:before {
						content: "\e618";
						font: normal 50px/2 Icon7Stroke;
						display: block;
						margin: 0 auto;
						color: $(accentColor);
					}
					:lightSkinSelector & {
						color: $(lightFontColor);
					}
					:darkSkinSelector & {
						color: $(darkFontColor);
					}
				}
				.bt_bb_grid_item_post_excerpt {
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 4;
					max-height: 6.75em;
				}
				.bt_bb_grid_item_post_title + .bt_bb_grid_item_post_excerpt:before {
					content: "";
					display: block;
					background: $(alterColor);
					width: 30px;
					height: 2px;
					margin: 10px auto 9px;
					.btTextLeft & {
						margin-left: 0;
					}
					.btTextRight & {
						margin-right: 0;
					}
				}
				.bt_bb_gap_no_gap& {
					transform: translate(0,-100%);
				}
				.bt_bb_gap_small& {
					transform: translate(5px,calc(-100% - 5px));
					margin: 0 5px 5px 0;
				}
				.bt_bb_gap_normal& {
					transform: translate(10px,calc(-100% - 10px));
					margin: 0 10px 10px 0;
				}
				.bt_bb_gap_large& {
					transform: translate(20px,calc(-100% - 20px));
					margin: 0 20px 20px 0;
				}
			}
			.bt_bb_grid_item_post_title_init {
				padding: 20px;
				position: absolute;
				left: 0;
				bottom: 0;
				right: 0;
				transform: translateY(0);
				transition: 200ms ease all;
				h5 {
					font-size: 0.875rem;
					font-weight: 600;
					margin-bottom: 0;
					:lightSkinSelector & {
						color: $(lightFontColor);
					}
					:darkSkinSelector & {
						color: $(darkFontColor);
					}
				}
				:lightSkinSelector & {
					background: rgba(255,255,255,.8);
				}
				:darkSkinSelector & {
					background: rgba(0,0,0,.8);
				}
				.bt_bb_gap_no_gap& {
					transform: translate(0,0);
				}
				.bt_bb_gap_small& {
					transform: translate(5px,5px);
					margin: 0 5px 5px 0;
				}
				.bt_bb_gap_normal& {
					transform: translate(10px,10px);
					margin: 0 10px 10px 0;
				}
				.bt_bb_gap_large& {
					transform: translate(20px,20px);
					margin: 0 20px 20px 0;
				}
			}
		}
		&:hover {
			.bt_bb_grid_item_inner {
				.bt_bb_grid_item_inner_content {
					.bt_bb_gap_no_gap& {
						transform: translate(0,0);
					}
					.bt_bb_gap_small& {
						transform: translate(5px,5px);
					}
					.bt_bb_gap_normal& {
						transform: translate(10px,10px);
					}
					.bt_bb_gap_large& {
						transform: translate(20px,20px);
					}
				}
				.bt_bb_grid_item_post_title_init {
					.bt_bb_gap_no_gap& {
						transform: translate(0,100%);
					}
					.bt_bb_gap_small& {
						transform: translate(5px,calc(100% + 5px));
					}
					.bt_bb_gap_normal& {
						transform: translate(10px,calc(100% + 10px));
					}
					.bt_bb_gap_large& {
						transform: translate(20px,calc(100% + 20px));
					}
				}
			}
		}
	}
}

/* Video player */
.bt_bb_video {
	display: block;
	position: relative;
	padding-bottom: 56.25%;
	> .wp-video {
		display: block;
		width: 100% !important;
		height: 100% !important;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		top: 0;
		.mejs-container.mejs-video {
			width: 100% !important;
			height: 100% !important;
		}
	}
	iframe.me-plugin, .mejs-container {
		width: 100% !important;
		height: 100% !important;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
	.bt_bb_disable_controls_yes& {
		.mejs-layers, .mejs-controls {display: none !important;}
	}
	.bt-video-container { 
		position: relative; 
		padding-bottom: 56.25%; 
		height: 0; 
		overflow: hidden; 
		:any(iframe, object, embed, video) { 
			position: absolute; 
			top: 0; 
			left: 0; 
			width: 100%; 
			height: 100%; 
		}
	}
}

/* Twitter feed */
.bt_bb_twitter {
	.bt_bb_twitter_item {
		.bt_bb_twitter_avatar {
			display: inline;
			border-radius: 50%;
		}
		.bt_bb_twitter_username {
			display: block;
			margin-bottom: 1em;
		}
		.bt_bb_display_regular& {
			display: inline-block;
			float: left;
		}
		.bt_bb_columns_1& {
			 width: 100%;
			&:nth-child(1n+1) {
				clear: both;
			}
		}
		.bt_bb_columns_2& {
			 width: 50%;
			&:nth-child(2n+1) {
				clear: both;
			}
		}
		.bt_bb_columns_3& {
			width: 33.333%;
			&:nth-child(3n+1) {
				clear: both;
			}
		}
		.bt_bb_columns_4& {
			width: 25%;
			&:nth-child(4n+1) {
				clear: both;
			}
		}
		.bt_bb_columns_5& {
			width: 20%;
			&:nth-child(5n+1) {
				clear: both;
			}
		}
		.bt_bb_columns_6& {
			width: 16.666%;
			&:nth-child(6n+1) {
				clear: both;
			}			
		}
		a {
			color: $(accentColor);
			&:hover {
				:lightSkinSelector & {
					color: $(lightFontColor);
				}
				:darkSkinSelector & {
					color: $(darkFontColor);
				}
			}
		}
	}
	.bt_bb_display_regular& {
		.bt_bb_twitter_inner {
			margin: 0 -1em;
			.bt_bb_twitter_item {
				padding: 0 1em;
			}
		}
	}
}

@media (max-width: 1024px) { 
	.bt_bb_twitter {
		.bt_bb_twitter_item {
			.bt_bb_columns_5&, .bt_bb_columns_6& {
				width: 50%;
				&:nth-child(6n+1), &:nth-child(5n+1) {
					clear: initial;
				}
				&:nth-child(2n+1) {
					clear: both;
				}
			}
		}

	}
}

@media (max-width: 768px) { 
	.bt_bb_twitter {
		.bt_bb_twitter_item {
			.bt_bb_columns_4& {
				width: 50%;
				&:nth-child(4n+1) {
					clear: initial;
				}
				&:nth-child(2n+1) {
					clear: both;
				}
			}
		}
	}
}

@media (max-width: 640px) { 
	.bt_bb_twitter {
		.bt_bb_twitter_item {
			.bt_bb_columns_2&, .bt_bb_columns_3&, .bt_bb_columns_4&, .bt_bb_columns_5&, .bt_bb_columns_6& {
				width: 100%;
				&:nth-child(2n+1), &:nth-child(3n+1), &:nth-child(4n+1), &:nth-child(5n+1), &:nth-child(6n+1) {
					clear: initial;
				}
			}
		}
	}
}

/* Instagram feed */
.bt_bb_instagram {
	.btInstaGrid {
		span {
			width: 25%;
			float: left;
			padding: 0;
			clear: none !important;
			img {
				width: 100%;
			}
		}
	}
}

.bt_bb_instagram {
	&.bt_bb_gap_extrasmall {
		.btInstaGrid {
			margin-left: -1px;
			margin-top: -1px;
			span {
				padding-left: 1px;
				padding-top: 1px;
			}	
		}
	}	
	&.bt_bb_gap_small {
		.btInstaGrid {
			margin-left: -2.5px;
			margin-top: -2.5px;
			span {
				padding-left: 2.5px;
				padding-top: 2.5px;
			}	
		}
	}
	&.bt_bb_gap_normal {
		.btInstaGrid {
			margin-left: -5px;
			margin-top: -5px;
			span {
				padding-left: 5px;
				padding-top: 5px;
			}	
		}
	}
	&.bt_bb_gap_large {
		.btInstaGrid {
			margin-left: -10px;
			margin-top: -10px;
			span {
				padding-left: 10px;
				padding-top: 10px;
			}	
		}
	}
}

.bt_bb_instagram {
	&.bt_bb_columns_1 {
		.btInstaGrid span {
		  width: 100%;
		}
	}
	&.bt_bb_columns_2 {
		.btInstaGrid span {
		  width: 50%;
		}	
	}
	&.bt_bb_columns_3 {
	  .btInstaGrid span {
		width: 33.333333%;
	  }
	}
	&.bt_bb_columns_4 {
	  .btInstaGrid span {
		width: 25%;
	  }
	}
	&.bt_bb_columns_5 {
		.btInstaGrid span {
			width: 20%;
		}
	}
	&.bt_bb_columns_6 {
		.btInstaGrid span {
			width: 16.666666%;	
		}
	}
}

@media (max-width: 768px) { 
	.bt_bb_instagram.bt_bb_columns_6 {
		.btInstaGrid span {
			width: 33.33333%;
		}
	}
	.bt_bb_instagram.bt_bb_columns_4 {
		.btInstaGrid span {
			width: 50%;
		}
	}
}

@media (max-width: 640px) { 
	.bt_bb_instagram.bt_bb_columns_6, .bt_bb_instagram.bt_bb_columns_5 {
		.btInstaGrid span {
			width: 50%;
		}
	}
}

/* Image slider - missing content for dots */
.bt_bb_slider {
	.slick-dots {
		position: absolute;
		bottom: 0;
		width: 100%;
		margin: 0;
		text-align: center;
		padding: 0;
	}

	.slick-dots li {
		display: inline-block;
		margin: 0 5px;
		width: 10px;
		list-style: none;
	}

	.slick-dots li button {
		display: inline-block;
		float: none;
		margin: 0;
		padding: 0;
		width: 10px;
		height: 10px;
		line-height: 10px;
		vertical-align: middle;
		list-style: none;
		border: none;
		background-color: rgba(0,0,0,0.1);
		border-radius: 50%;
		cursor: pointer;
		color: transparent;
		transition: 300ms ease all;
	}

	:darkSkinSelector & .slick-dots li button {
		background-color: rgba(255,255,255,0.2);
	}
	
	.slick-dots li button:hover {
		background-color: rgba(0,0,0,0.4);
	}

	:darkSkinSelector & .slick-dots li button:hover {
		background-color: rgba(255,255,255,0.6);
	}

	.slick-dots li.slick-active button, .slick-dots li.slick-active button:hover,
	:darkSkinSelector & .slick-dots li.slick-active button, :darkSkinSelector & .slick-dots li.slick-active button:hover{
		background-color: $(accentColor);
		cursor: default;
	}
}

/* Magnific popup redesign */
.mfp-gallery button.mfp-close {
	color: transparent;
	transform: rotate(0deg);
	transition: all 300ms ease;
	width: 120px;
	height: 120px;
	opacity: 1;
	font-size: 0;
	color: $(accentColor);
	&:before {
		font-family: Icon7Stroke;
		content: "\e680";
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		right: 0;
		display: flex;
		line-height: 120px;
		width: 120px;
		height: 120px;
		font-size: 5rem;
		justify-content: center;
		float: none;
		margin: 0;
		color: inherit !important;
	}
	&:hover {
		transform: rotate(180deg);
		color: $(darkFontColor);
	}
}
.mfp-gallery button.mfp-arrow {
	width: 50px;
	height: 100px;
	line-height: 100px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	text-align: center;
	cursor: pointer;
	outline: none;
	border: none;
	transition: all 360ms ease;
	background: rgba(255,255,255,.07);
	&:before {
		font-size: 3.125rem;
		line-height: 2;
		color: $(darkFontColor) !important;
		font-family: Icon7Stroke;
		border: 0;
		opacity: 1;
		margin: 0;
		width: 100%;
		transition: color 300ms ease;
	}
	&:after {
		display: none;
	}
	&:hover {
		background: $(accentColor);
	}
	&.mfp-arrow-right {
		right: 0;
		&:before {
			content: '\e684';
		}
	}
	&.mfp-arrow-left {
		left: 0;
		&:before {
			content: '\e686';
		}
	}
}

/* Single portfolio */
.single-portfolio.btWithSidebar {
	.portfolioItem {
		padding-top: 0;
	}
	.btContentHolder {
		padding-top: 80px;
	}
}
.portfolioItem {
	.btArticleHeader {
		margin-bottom: 30px;
		padding-bottom: 10px;
		border-bottom: 1px solid;
		:lightSkinSelector & {
			border-bottom-color: $(lightBorderColor);
		}
		:darkSkinSelector & {
			border-bottom-color: $(darkBorderColor);
		}
	}
}
.single-portfolio.btNoSidebar .btPortfolioSingleItemColumns {
	padding-top: 80px;
}

/* Sidebar special icons */
.btSidebar {
	.btIconWidget {
		display: flex;
		flex-direction: row;
		clear: both;
		margin-bottom: 30px;
		.btIconWidgetIcon {
			float: left;
			margin: 0 10px 0 0;
			.btIco {
				margin: 0;
				.btIcoHolder {
					border-radius: 0;
					width: 64px;
					height: 64px;
					&:before, &:after {
						font-size: 3rem;
						line-height: 64px;
						display: block;
						color: inherit;
					}
				}
			}
		}
		.btIconWidgetContent {
			display: flex;
			flex-direction: column;
			justify-content: center;
			.btIconWidgetTitle {
				font-family: $(headingFont);
				font-weight: 700;
				font-size: 0.875rem;
				margin: 0 0 10px;
			}
		}
	}
	.btIconWidget.btSpecialHeaderIcon .btIconWidgetIcon .btIco .btIcoHolder:before,
	.btIconWidget.btSpecialHeaderIcon .btIconWidgetIcon .btIco .btIcoHolder:after {
		color: $(accentColor);
	}
}

/* No border custom menu */
.btCustomMenu.btNoBorderMenu {
	ul {
		margin: 0;
		li a {
			border: 0 !important;
			padding-top: 3px;
			padding-bottom: 3px;
		}
	}
}

/* Before & after */
.bt_bb_before_after_image {
	position: relative;
	.bt_bb_before_after_image-horizontal {
		.bt_bb_before_after_image-handle {
			height: 38px;
			width: 38px;
			position: absolute;
			left: 50%;
			top: 50%;
			margin-left: -19px;
			margin-top: -19px;
			background: #FFF;
			-webkit-border-radius: 100%;
			-moz-border-radius: 100%;
			border-radius: 100%;
			-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,.2);
			-moz-box-shadow: 0px 0px 12px rgba(0,0,0,.2);
			box-shadow: 0px 0px 12px rgba(0,0,0,.2);
			z-index: 40;
			cursor: pointer;
			transition: 150ms ease background;
			&:before, &:after {
				content: " ";
				display: block;
				background: white;
				position: absolute;
				z-index: 30;
				-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,.2);
				-moz-box-shadow: 0px 0px 12px rgba(0,0,0,.2);
				box-shadow: 0px 0px 12px rgba(0,0,0,.2);
				width: 1px;
				height: 9999px;
				left: 50%;
				margin-left: -.5px;
			}
			&:before {
				bottom: 50%;
				margin-bottom: 22px;
				-webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(0,0,0,.2);
				-moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(0,0,0,.2);
				box-shadow: 0 3px 0 white, 0px 0px 12px rgba(0,0,0,.2);
			}
			&:after {
				top: 50%;
				margin-top: 22px;
				-webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(0,0,0,.2);
				-moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(0,0,0,.2);
				box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(0,0,0,.2);
			}
			.bt_bb_before_after_image-left-arrow {
				background: #F1F1F1;
				border-radius: 100%;
				display: block;
				position: absolute;
				left: 3px;
				top: 3px;
				right: 3px;
				bottom: 3px;
				transition: 150ms ease color;
			}
			&:hover {
				background: $(accentColor);
				.bt_bb_before_after_image-left-arrow {
					background: #FFF;
					opacity: 1;
				}
			}
		}
	}
	.bt_bb_before_after_image-container {
		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
		z-index: 0;
		overflow: hidden;
		position: relative;
		-webkit-user-select: none;
		-moz-user-select: none;
		img {
			max-width: 100%;
			position: absolute;
			top: 0;
			display: block;
			pointer-events: none;
		}
		&.active {
			.bt_bb_before_after_image-handle {
				background: $(accentColor);
				.bt_bb_before_after_image-left-arrow {
					background: #FFF;
					opacity: 1;
				}
			}
		}
		* {
			-webkit-box-sizing: content-box;
			-moz-box-sizing: content-box;
			box-sizing: content-box;
		}
	}
	.bt_bb_before_after_image-before {
		z-index: 20;
	}
	.bt_bb_before_after_image-after {
		z-index: 10;
	}
	.bt_bb_before_after_image_block {
		position: absolute;
		left: 0;
		top: 0;
		background: $(accentColor);
		color: $(darkFontColor);
		padding: 2em 3em;
		text-align: center;
		max-width: 40%;
		pointer-events: none;
		.bt_bb_before_after_image_headline {
			font-family: $(headingFont);
			font-weight: 700;
			display: block;
			font-size: 2.188rem;
			line-height: 1;
			&:after {
				background: $(alterColor);
				width: 30px;
				height: 2px;
				display: block;
				margin: 5px auto;
				content: "";
			}
		}
		.bt_bb_before_after_image_subheadline {
			font-weight: 700;
			display: block;
			font-size: 1.25rem;
			line-height: 1.25;
		}
		.bt_bb_before_after_image_smaler_subheadline {
			display: block;
			font-size: 1.25rem;
			line-height: 1.25;
		}
	}
	.bt_bb_before_after_image_before_txt_holder,
	.bt_bb_before_after_image_after_txt_holder {
		position: absolute;
		bottom: 0;
		font-size: 1rem;
		font-weight: 700;
		padding: .75em 1.25em;
		pointer-events: none;
	}
	.bt_bb_before_after_image_before_txt_holder {
		left: 0;
	}
	.bt_bb_before_after_image_after_txt_holder {
		right: 0;
	}
}
@media (max-width: 992px) { 
	.bt_bb_before_after_image {
		.bt_bb_before_after_image_block {
			.bt_bb_before_after_image_headline {
				font-size: 1.563rem;
			}
			.bt_bb_before_after_image_subheadline {
				font-size: 1.063rem;
			}
			.bt_bb_before_after_image_smaler_subheadline {
				font-size: 1.063rem;
			}
		}
	}
}
@media (max-width: 768px) { 
	.bt_bb_before_after_image {
		.bt_bb_before_after_image_block {
			max-width: 100%;
			position: relative;
		}
		.bt_bb_before_after_image_before_txt_holder,
		.bt_bb_before_after_image_after_txt_holder {
			bottom: auto;
			top: 0;
			font-size: 0.875rem;
		}
	}
}

/* Timetable */
.mptt-shortcode-wrapper .mptt-shortcode-table {
	margin: 0;
	tr.mptt-shortcode-row th {
		background: transparent;
		border: 0;
		border-top: 1px solid;
		border-bottom: 1px solid;
		padding: .5rem 1rem;
		:lightSkinSelector & {
			border-color: $(lightBorderColor);
			color: $(lightFontColor);
		}
		:darkSkinSelector & {
			border-color: $(darkBorderColor);
			color: $(darkFontColor);
		}
	}
	tbody {
		.mptt-event-container {
			background-color: $(accentColor);
			color: $(darkFontColor);
			transition: 200ms ease all;
			outline: none;
			height: auto !important;
			bottom: -1px;
			:lightSkinSelector & {
				box-shadow: 0 0 0 1px $(lightBgColor) inset;
			}
			:darkSkinSelector & {
				box-shadow: 0 0 0 1px $(darkBgColor) inset;
			}
			&:hover {
				background-color: $(alterColor);
				color: $(darkFontColor);
			}
			.event-title {
				text-decoration: none !important;
				font-weight: 700;
				font-size: 0.8125rem;
			}
			.event-subtitle, .timeslot {
				font-size: 0.8125rem;
				opacity: .5;
			}
		}
		td {
			border: 0;
			border-bottom: 1px solid;
			:lightSkinSelector & {
				border-color: $(lightBorderColor);
			}
			:darkSkinSelector & {
				border-color: $(darkBorderColor);
			}
		}
		td.mptt-shortcode-hours {
			border: 0;
			border-bottom: 1px solid;
			padding: 0 0.625em !important;
			:lightSkinSelector & {
				border-color: $(lightBorderColor);
				color: $(lightFontColor);
			}
			:darkSkinSelector & {
				border-color: $(darkBorderColor);
				color: $(darkFontColor);
			}
		}
		tr:nth-child(2n+2) {
			background: transparent;
		}
		td.event {
			background: transparent;
		}
	}
}

/* Newsletter */
.btNewsletter {
	display: flex;
	.btNewsletterColumn {
		flex: 1 0 46%;
		max-width: 46%;
		padding-right: 10px;
		input {
			background: $(lightBgColor) !important;
			color: $(lightFontColor) !important;
			font-weight: 400;
			&::placeholder {
				color: $(lightFontColor) !important;
			}
			&:focus {
				box-shadow: 0 0 0 3px $(accentColor) !important;
			}
		}
	}
	.btNewsletterButton {
		input {
			background: $(alterColor) !important;
			height: 44px;
			text-transform: uppercase;
			&:hover {
				background: $(alterColorHover) !important;
				box-shadow: 0 0 0 3em $(alterColorHover) inset;
			}
		}
	}
}
@media (max-width: 991px) {
	.btNewsletter {
		display: block;
		.btNewsletterColumn {
			max-width: 100%;
			padding-right: 0px;
			padding-bottom: 10px;
		}
	}
}
