/* Icons */ 


.btIco .btIcoHolder[data-ico-fa]:before {
    font-family: FontAwesome;
    content: attr(data-ico-fa);
}

.btIco .btIcoHolder[data-ico-s7]:before {
    font-family: Icon7Stroke;
	content: attr(data-ico-s7);
}

.btIco .btIcoHolder[data-ico-cs]:before {
	font-family: Wedding;
	content: attr(data-ico-cs);
}

.btIco {
	display: inline-block;
	vertical-align: middle;
    transition: all 500ms ease;
}

.btIco .btIcoHolder {
	line-height: inherit;
	display: inline-block;
	float: left;
}

.btIco .btIcoHolder a {
	line-height: inherit;
}
 
.btIco.btnInlinePosition .btIcoHolder {
    display: inline-block;
}

.btIco .btIcoHolder:before {
	color: $(accentColor);
	/*border: 1px solid $(accentColor);*/
	border-radius: 50%;
	display: inline-block;
	float: left;
	text-align: center;
    vertical-align: middle;
	transition:all 0.3s ease;
} 

.btIco.borderless a.btIcoHolder:before {
    transition: all 300ms ease;
}

.btIco.btIcoLargeSize .btIcoHolder:before {
    transition:all 0.55s ease;
}

.btIco.borderless a.btIcoHolder:before {
    transform: translate3d(0,0,0);
}

.btIco.borderless:hover a.btIcoHolder:before {
    transform: translate3d(0,-3px,0);
}


	/* Margins  */

.btIco .btIcoHolder span {
	margin-left: 0.25em;
	line-height: inherit;
	transition: all 300ms ease;
}

.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;
	}
}


/* White */

.btIco.btIcoWhiteType {
	.btIcoHolder:before {
		background-color: $(lightBgColor);
		color: $(accentColor);
	}
} 

/* Filled and Outline Accent */

:any(.btIco.btIcoFilledType.btIcoAccentColor, .btIco.btIcoOutlineType.btIcoAccentColor:hover) .btIcoHolder:before {
    box-shadow: 0 0 0 1em $(accentColor) inset;
    :lightSkinSelector & {
		color: $(lightBgColor);
	}
	:darkSkinSelector & {
		color: $(darkBgColor);
	}
}

:any(.btIco.btIcoFilledType.btIcoAccentColor:hover, .btIco.btIcoOutlineType.btIcoAccentColor) .btIcoHolder:before {
    box-shadow: 0 0 0 1px $(accentColor) inset;
    color: $(accentColor);
}

/* Filled and Outline Normal */

:darkSkinSelector {
	:any(.btIco.btIcoFilledType.btIcoDefaultColor, .btIco.btIcoOutlineType.btIcoDefaultColor:hover) .btIcoHolder:before {
		box-shadow: 0 0 0 1em $(darkFontColor) inset;
		color: $(darkBgColor);
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor:hover, .btIco.btIcoOutlineType.btIcoDefaultColor) .btIcoHolder:before {
		box-shadow: 0 0 0 1px $(darkFontColor) inset;
		color: $(darkFontColor);
	}
}

:lightSkinSelector {
	:any(.btIco.btIcoFilledType.btIcoDefaultColor, .btIco.btIcoOutlineType.btIcoDefaultColor:hover) .btIcoHolder:before {
		box-shadow: 0 0 0 1em $(lightFontColor) inset;
		color: $(lightBgColor);
	}

	:any(.btIco.btIcoFilledType.btIcoDefaultColor:hover, .btIco.btIcoOutlineType.btIcoDefaultColor) .btIcoHolder:before {
		box-shadow: 0 0 0 1px $(lightFontColor) inset;
		color: $(lightFontColor);
	}
}

/* Default */

:any(:lightSkinSelector, :darkSkinSelector) :any(.btIco.btIcoDefaultType.btIcoAccentColor .btIcoHolder:before, .btIco.btIcoDefaultType.btIcoDefaultColor:hover .btIcoHolder:before) {
   color: $(accentColor);
}

:lightSkinSelector {
	:any(.btIco.btIcoDefaultType.btIcoDefaultColor, .btIco.btIcoDefaultType.btIcoAccentColor:hover) .btIcoHolder:before {
	   color: $(lightFontColor);
	}
}

:darkSkinSelector {
	:any(.btIco.btIcoDefaultType.btIcoDefaultColor, .btIco.btIcoDefaultType.btIcoAccentColor:hover) .btIcoHolder:before {
	   color: $(darkFontColor);
	}
}

/* Icon sizes */


.btIco.btIcoExtraSmallSize {
	line-height: $(extrasmallIconSize)px;
	.btIcoHolder:before {
		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;
	}
	.btIcoHolder span {
		font-size: 12px;
	}
}

.btIco.btIcoDefaultType.btIcoExtraSmallSize .btIcoHolder:before {
	font-size: math( $(extrasmallIconSize))px;
}

.btIco.btIcoSmallSize {
	line-height: $(smallIconSize)px;
	.btIcoHolder:before {
		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;
	}
	.btIcoHolder span {
		font-size: 14px;
	}
}

.btIco.btIcoDefaultType.btIcoSmallSize .btIcoHolder:before {
	font-size: math( $(smallIconSize))px;
}

.btIco.btIcoMediumSize {
	line-height: $(mediumIconSize)px;
	.btIcoHolder:before {
		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;
	}
	.btIcoHolder span {
		font-size: 16px;
	}
}

.btIco.btIcoDefaultType.btIcoMediumSize .btIcoHolder:before {
	font-size: math( $(mediumIconSize))px;
}

.btIco.btIcoBigSize {
 	line-height: $(bigIconSize)px;
	.btIcoHolder:before {
		font-size: math($(bigIconSize) / 2)px;
		width:  $(bigIconSize)px;
		height:  $(bigIconSize)px;
		line-height:  $(bigIconSize)px;
	}
	.btIcoHolder span {
		font-size: 18px;
	}
}

.btIco.btIcoDefaultType.btIcoBigSize .btIcoHolder:before {
	font-size: math( $(bigIconSize))px;
}

.btIco.btIcoDefaultType:any(btIcoLargeSize,.btIcoBigSize,.btIcoMediumSize,.btIcoSmallSize,.btIcoExtraSmallSize) .btIcoHolder:before {
	width: auto !important;
	height: auto !important;
	line-height: 1 !important;
	border: none !important;
}

.btIco.btIcoLargeSize {
 	line-height: $(largeIconSize)px;
	.btIcoHolder:before {
		font-size: math($(largeIconSize) / 2)px;
		width:  $(largeIconSize)px;
		height:  $(largeIconSize)px;
		line-height:  $(largeIconSize)px;
		border-width: 2px;
	}
	.btIcoHolder span {
		font-size: 24px;
	}
}

.btIco.btIcoDefaultType {
	.btIcoHolder:before {
		width: auto;
		padding: 0 2px;
		margin-right: 2px
	}
}

.btIco.btIcoDefaultType.btIcoLargeSize .btIcoHolder:before {
	font-size: math( $(largeIconSize))px;
}

@media (max-width: 768px) { 
	.hide-mobile{display:none !important; visibility:hidden !important;}
	.btIco.btIcoBigSize, .btIco.btIcoLargeSize {
		line-height: $(mediumIconSize)px;
		.btIcoHolder:before {
			font-size: math($(mediumIconSize) / 2)px;
			width:  $(mediumIconSize)px;
			height:  $(mediumIconSize)px;
			line-height:  $(mediumIconSize)px;
			border-width: 1px;
		}
		.btIcoHolder span {
			font-size: 24px;
		}
	}
	.btIco.btIcoDefaultType.btIcoLargeSize .btIcoHolder:before {
		font-size: $(mediumIconSize)px;
	}
}


/* Icons side text color */ 

.btIcoAccentColor span {
	color: $(accentColor);
}

.btIcoAccentColor:hover span {
	color: $(darkFontColor);
}

:lightSkinSelector .btIcoAccentColor:hover span {
	color: $(lightFontColor);
}

.btIcoDefaultColor:hover span {
	color: $(accentColor);
}

:any(:lightSkinSelector,:darkSkinSelector) .menuPort .btIco.btSpecialHeaderIcon .btIcoHolder:before {
	color: $(accentColor);
}

:lightSkinSelector .menuPort .btIco.btSpecialHeaderIcon:hover .btIcoHolder:before {
	color: $(lightFontColor);
}

:darkSkinSelector .menuPort .btIco.btSpecialHeaderIcon:hover .btIcoHolder:before {
	color: $(darkFontColor);
}

/* Icon and images row */

:any(.btTextLeft, .btTextRight) .btIconImageRow {
	display: inline-block;
	.btIconImageCell {
		display: inline-block;
		margin: 0 math($(innerHorizontalPadding), px);
	}
}

.btTextLeft .btIconImageRow {
	.btIconImageCell {
		margin: 0 math($(innerHorizontalPadding), px) 0 0;
	}
}

.btTextRight .btIconImageRow {
	.btIconImageCell {
		margin: 0 0 0 math($(innerHorizontalPadding), px);
	}
}

.btTextCenter .btIconImageRow {
	display: block;
	width: auto;
	text-align: center;
	margin: auto;
	white-space: nowrap;
	overflow: hidden;
	.btIconImageCell {
		display: inline-block;
		padding: 0 15px;
	}
}

@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: 12px;
    position: relative;
	padding: 10px;
	line-height: 1;
	transition: all 500ms ease;
	.btIco .btIcoHolder:before, button {
		transition: all 500ms ease;
		font-size: inherit;
		line-height:inherit;
	}
	.btIco {
		display: inline-block;
		float: left;
	}
	.btnInnerText {
		display: inline-block;
		float: left;
		font-size: inherit;
		line-height:inherit;
	}
}

.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: 11px;
	padding: 10px 20px;
	text-transform: uppercase;
}

.btnSmall {
	font-size: 12px;
	padding: 13px 26px;
	text-transform: uppercase;
}

.btnMedium {
	font-size: 15px;
	padding: 15px 30px;
}

.btnBig {
	font-size: 16px;
	padding: 20px 40px;
}

@media (max-width: 768px) { 
	.btnBig, .btnMedium {
		font-size: 12px;
		padding: 13px 26px;
	}	
}

.btnNormalWidth {
	display: inline-block;
}

.btnFullWidth {
	width: 100%;
}

.btTextLeft .btBtn {
	margin-right: 10px;
	margin-left: 0px;
}

.btTextRight .btBtn {
	margin-left: 10px;
	margin-right: 0px;
}

.btTextCenter .btBtn {
	margin-left: 10px;
	margin-right: 10px;

}

/* Button colors */

:any(.btnFilledStyle.btnAccentColor, .btnOutlineStyle.btnAccentColor:hover){
	background-color: $(accentColor);
	border: 2px solid $(accentColor);
	color: $(darkFontColor) !important;
	span, span:before, a, .btIco a:before, button {
		color: $(darkFontColor) !important;
	}
}

:any(.btnOutlineStyle.btnAccentColor, .btnFilledStyle.btnAccentColor:hover){
	background-color: transparent;
	border: 2px solid $(accentColor);
	color: $(accentColor) !important;
	span, span:before, a, .btIco a:before, button {
		color: $(accentColor) !important;
	}
}

:any(.btnBorderlessStyle.btnAccentColor, .btnBorderlessStyle.btnNormalColor:hover){
	span, span:before, a, .btIco a:before, button {
		color: $(accentColor);
	}
}

:lightSkinSelector {
	:any(.btnBorderlessStyle.btnNormalColor, .btnBorderlessStyle.btnAccentColor:hover){
		span, span:before, a, .btIco a:before, button {
			color: $(lightFontColor);
		}
	}	
}

:darkSkinSelector {
	:any(.btnBorderlessStyle.btnNormalColor, .btnBorderlessStyle.btnAccentColor:hover){
		span, span:before, a, .btIco a:before, button {
			color: $(darkFontColor);
		}
	}	
}

:lightSkinSelector {
	:any(.btnFilledStyle.btnNormalColor, .btnOutlineStyle.btnNormalColor:hover) {
		border: 2px solid $(lightFontColor);
		background-color: $(lightFontColor);
		color: $(darkFontColor) !important;
		span, .btIco span:before, a, a:before, button, span {
			color: $(darkFontColor) !important;
		}
	}
	:any(.btnOutlineStyle.btnNormalColor, .btnFilledStyle.btnNormalColor:hover) {
		border: 2px solid $(lightFontColor);
		background-color: transparent;
		color: $(lightFontColor);
		span, span:before, a, a:before, button, span {
			color: $(lightFontColor) !important;
		}
	}
} 

:darkSkinSelector {
	:any(.btnFilledStyle.btnNormalColor, .btnOutlineStyle.btnNormalColor:hover) {
		border: 2px solid $(darkFontColor);
		background-color: $(darkFontColor);
		color: $(lightFontColor);
		span, span:before, a, a:before, button, span {
			color: $(lightFontColor) !important;
		}
	}
	:any(.btnOutlineStyle.btnNormalColor, .btnFilledStyle.btnNormalColor:hover) {
		border: 2px solid $(darkFontColor);
		background-color: transparent;
		color: $(darkFontColor);
		span, span:before, a, a:before, button, span {
			color: $(darkFontColor) !important;
		}
	}
}

:lightSkinSelector{
	:any(.btnFilledStyle.btnLightColor, .btnOutlineStyle.btnLightColor:hover) {
		background: $(lightBorderColor);
		color: $(lightTextColor) !important;	
		border: 2px solid l-adjust($(lightBorderColor), -9%);
		a, .btIco a:before, button, span {
			color: $(lightTextColor) !important;	
		}
	}
	:any(.btnOutlineStyle.btnLightColor, .btnFilledStyle.btnLightColor:hover){
		background-color: transparent;
		border: 2px solid $(lightBorderColor);
		color: $(lightTextColor) !important;
		a, a:before, button, span {
			color: $(lightTextColor) !important;
		}
	}
} 

:darkSkinSelector {
	:any(.btnFilledStyle.btnLightColor, .btnOutlineStyle.btnLightColor:hover) {
		background: $(lightBorderColor);
		color: $(lightTextColor) !important;	
		border: 2px solid $(lightTextColor);
		a, .btIco a:before, button, span {
			color: $(lightTextColor) !important;	
		}
	}
	:any(.btnOutlineStyle.btnLightColor, .btnFilledStyle.btnLightColor:hover){
		background-color: transparent;
		border: 2px solid $(darkFontColor);
		color: $(darkFontColor) !important;
		a, a:before, button, span {
			color: $(darkFontColor) !important;
		}
	}
}


/* Divider */

.btSeparator {
    clear: both;
}

.btSeparator hr {
    clear: both;
    border: none;
    padding: 0;
    margin: 0;
}

:lightSkinSelector .btSeparator hr {
    border-bottom: 1px solid $(lightBorderColor);
}

:darkSkinSelector .btSeparator hr {
    border-bottom: 1px solid $(darkBorderColor);
}

.btSeparator.noBorder hr {
    border-bottom: 1px solid transparent !important;
}

/* Counter */

.btCounterHolder {
    font-size: 74px;
    line-height: 1;
	font-weight: 300;
   
	.btCounter {
		display: block;
		height: 80px;
		overflow: hidden;
	}

	span.onedigit {
		display: inline-block;
		height: 80px;
		/*overflow: hidden;*/
		transition:all 1s ease 0s;
	}

	span.onedigit span {
		display: block;
		position: relative;
		height: 80px;
		text-align: center;
	}

	.btCountdownHolder {
		padding: 0 16%;
		> 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: center;
			transition: transform 0ms ease-out;
			transform: translateY(-80px);
			position:static;
			overflow: hidden;
			height: 80px;
			line-height: 1;
		}
		
		.days, .hours, .minutes, .seconds {
			position: relative;
			margin: 0;
			float: left;
			width: 25%;
		}

		span[class$="_text"] {
			position:relative;
			display: block;
			text-align: center;
			font-size: 12px;
			line-height: 1;
			padding: 26px 0 0;
			margin: 2px 0 0;
			text-transform: capitalize;
		}

		span[class$="_text"]:before {
			content: ' ';
			height: 1px;
			width: 66px;
			display: block;
			position: absolute;
			left: 50%;
			top: 0;
			right: 0;
			bottom: 0;
			margin: 0 0 0 -33px;
		}

		span[class^="n"], .days span:first-child, .days span:nth-child(2) {
			position:static;
			overflow: hidden;
			height: 80px;
			line-height: 1;
		}

		span[class$="_text"] > span {
			height: auto !important;
			transform: none !important;
			font-size: 38px;
			margin: 0 -20px;
			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 {
	font-family: $(headingSuperTitleFont);
	:lightSkinSelector & {
		color: $(lightHeadlineColor);
	}
	:darkSkinSelector & {
		color: $(darkHeadlineColor);
	}
	span[class$="_text"] > span {
		font-family: $(headingFont);
	}
	span[class$="_text"]:before {
		background-color: $(accentColor);
	}
}

.btCounterHolder.btCounterLargeSize {
    font-size: 90px;
    line-height: 95px;
	height: 95px;
	font-weight: 700;

	.btCounter {
		height: query( parent, line-height );
	}

	span.onedigit {
		height: query( parent, font-size );
	}

	span.onedigit span {
		height: query( parent, line-height );
	}
	.btCountdownHolder {
		> span > span > span {
			transform: translateY(-95px);
		}
		.countdown_anim {
			transition: transform 200ms ease-out;
			transform: translateY(0px);
		}
	}
}

/* Progress bar */

.btProgressContent {
    background-color: $(lightBgSubColor);
	line-height: 2.4;
}

@media (max-width: 768px) {
  .btProgressContent {
		line-height: 1.5;
	}
}

:lightSkinSelector .btProgressContent {
    background-color: $(lightBgSubColor);
}

:darkSkinSelector .btProgressContent {
    background-color: $(darkBgSubColor);
}

.btProgressContent .btProgressAnim {
	background-color: $(accentColor);
	color: $(darkFontColor);
	text-align: right;
	transition:all 1s ease 0s;
    transform: translateX(-100%);
    width: auto;
}

.btProgressBarLineStyle {
	.btProgressContent {
		 background-color: transparent !important;
		 .btProgressAnim {
			background-color: transparent;
			color: $(accentColor);
			border-bottom: 4px solid $(accentColor);
			span {
				font-weight: 300;
			}
		}	
	}
}

.btProgressContent {
    overflow: hidden;
}

.btProgressContent .btProgressAnim span {
    display: block;
    padding: 0 8px;
    vertical-align: middle;
	font-weight: 700;
}

/* Image */

.bpgPhoto {
    /*line-height: 0;*/
	overflow: hidden;
	position: relative;
	transition: all 400ms ease;
	transform: translateY(0);
}

.bpgPhoto.btImageSimpleHover:hover {
	transform: translateY(-10px);
	.btImage img {
		filter: brightness(80%);
	}
}

.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%;
	transition: all 600ms ease;
}

.btImage {
	display: block;
}

.btTextIndent .btImage img {
    width: 100%;
    max-width: none;
    display: block;
    margin: 0;
}

.btTextRight .bpgPhoto {
	float: right;
}

.btTextCenter .bpgPhoto {
	display: inline-block;
	float: none;
	position: relative;
}

.btTextCenter .tilesWall .bpgPhoto {
    display: block;
}

.cellRight .bpgPhoto {
	float: right;
}

.captionPane {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
    right: 0;
	transition: all 400ms ease;
	:any(.btArticleDate, .btArticleAuthor, .btArticleComments, .btArticleCategories):not(:last-child) {
		border-color: rgba(255,255,255,0.5) !important;
	}
	.btImageSimpleHover & {
		background: transparent !important;
		.captionTxt:before {
			color: $(accentColor);
		}
	}
}

:lightSkinSelector .captionPane {
	background: rgba(255,255,255,0.8);
}

:darkSkinSelector .captionPane {
	background: rgba(40,46,58,0.8);
}

@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;
	color: #FFF;
}

.in-top:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: in-top 300ms ease-out 0ms 1 forwards;
}

.in-right:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: in-right 300ms ease-out 0ms 1 forwards;
}

.in-bottom:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: in-bottom 300ms ease-out 0ms 1 forwards;
}

.in-left:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: in-left 300ms ease-out 0ms 1 forwards;
}

.out-top:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: out-top 300ms ease-out 0ms 1 forwards;
}

.out-right:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: out-right 300ms ease-out 0ms 1 forwards;
}

.out-bottom:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: out-bottom 300ms ease-out 0ms 1 forwards;
}

.out-left:not(.btCircleImage):not(.btImageSimpleHover) .captionPane {
	animation: out-left 300ms ease-out 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 h4 {
	font-family: $(bodyFont);
}

.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 .header .btSubTitle p {
	display: block !important;
	margin: 5px auto;
}

.captionTxt .header .btSubTitle p:before {
	content: "\f00c";
    font: normal 11px/1 FontAwesome;
	padding-right: 5px;
	margin-left: -10px;
}


.captionTxt:before {
	content: "\e904";
    font: normal 54px/1 Wedding;
    display: block;
    margin: 0 auto;
}

.tilesWall .captionTxt:before {
	margin: 0 auto 20px;
}

:lightSkinSelector .captionTxt:before {
	color: $(lightFontColor);
}

:darkSkinSelector .captionTxt:before {
	color: $(darkFontColor);
}

.captionTxt .header {
	margin-top: $(innerVerticalPadding);
}

.touch .captionPane {
    display: none !important;
}

.btShowTitle {
    position: absolute;
	top: auto;
    bottom: 0;
    margin: 0;
	padding: 20px 20px;
	left: 0;
	right: 0;
	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%);
	}
}

/* Price table */

.btPriceTable {
	position: relative;
	border-top: 0;
	.btPriceTableHeader {
		background: $(accentColor);
		padding: math(4*$(innerHorizontalPadding))px $(innerVerticalPadding)px;
		margin-left: -1px;
		margin-right: -1px;
		.header .dash:after, .header .dash:before {
			border-color: white;
		}
		.header.extralarge {
			margin: 0;
			.btSubTitle {
				font-weight: 300;
			}
			h2 {
				font-family: $(bodyFont);
				font-size: 80px;
			}
			.btPriceTableCurrency {
				font-size: 24px;
				padding-right: $(innerHorizontalPadding)px;
				font-weight: normal;
			}
		}
	}
	
	ul {
		list-style: none;
		margin: 0;
		padding: 0;
		li {
			display: block;
			padding: 15px;
			margin: 0;
		}
		
	}
}

:lightSkinSelector .btPriceTable  {
   border: $(lightBorderColor) 1px solid;
	ul {
		li {
			border-bottom: $(lightBorderColor) 1px solid;
		}
		li:nth-child(odd) {
			background: $(lightBgSubColor);
		}
		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: -50px;
	left: 15px;
	right: 0;
	background: $(darkBgColor);
	color: $(darkFontColor);
	width: 100px;
	height: 100px;
	border-radius: 50px;
	> div {
		display: table;
		height: 100%;
		width: 100%;
		> div {
			width: 100%;
			display: table-cell;
			vertical-align: middle;
			text-align: center;
		}
	}
}

:lightSkinSelector .btDarkSkin .btPriceTableSticker {
		background: $(darkBgColor);
		color: $(darkFontColor);
}

:darkSkinSelector .btDarkSkin .btPriceTableSticker {
		background: $(lightBgColor);
		color: $(lightFontColor);
}

/* 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;
	font-weight: 800;

}

.sTxt .header.small.btDash {
	margin-bottom: 0px;
	
}

.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 .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;
}

.btBox :any(.sTxt,.btText)  {
	p:last-of-type {
		margin-bottom: 0;
	}
}

/* Header */

.header {
    display: block;
	margin-bottom: 10px;
	h1, h2, h3, h4, h5, h6 {
		margin: 0;
	}
	.dash {
		display: block;
	}
	.btSuperTitle {
		font-family: $(headingSuperTitleFont);
		font-size: $(bodyFontSize)px;
		font-weight: 300;
		clear: both;
		margin: 0;
		z-index: 1;
		position: relative;
	}
	.btSubTitle {
		font-family: $(headingSubTitleFont);
		font-size: $(bodyFontSize)px;
		font-weight: 300;
		clear: both;
		margin: 0;
		letter-spacing: 0.01em;
	}
	:lightSkinSelector & .btSubTitle {
		color: $(lightFontColor);
	}
	:darkSkinSelector & .btSubTitle {
		color: $(darkFontColor);
	}
	.dash:after, .dash:before {
		margin-top: math( query( parent, margin-bottom )/2 )px;
		margin-bottom: math( query( parent, margin-bottom )/2 )px;
	}
	.headline {
		display: block;
	}
}

.btDash.bottomDash .dash:after, .btDash.topDash .dash:before {
	content: '';
	clear: both;
	width: 60px;
	display: block;
	border-bottom: 1px solid $(accentColor);
}

.header.small {
	margin-bottom: 8px;
	h3, h4 {
		font-size: 20px;
		font-family: $(bodyFont);
		line-height: math( this( font-size ) + query( parent, margin-bottom ) )px;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 14px;
		font-weight: 600;
	}
	.btBox & .btSuperTitle {
		font-size: 14px;
	}
	.dash:after, .dash:before {
		margin-top: 8px;
		margin-bottom: 12px;
		width: 40px;
	}
}

.header.medium {
	margin-bottom: 14px;
	h2, h3 {
		font-size: 24px;
		font-family: $(bodyFont);
		padding-top: 3px;
		padding-bottom: 3px;
		line-height: 1.3;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 15px;
		font-weight: 600;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	.dash:after, .dash:before {
		border-color: $(accentColor);
		width: 48px;
	}
	.dash:before {
		margin-top: 8px;
		margin-bottom: 4px;
	}
	
}

.header.large {
	margin-bottom: 20px;
	h2, h1 {
		font-size: 40px;
		padding-top: 5px;
		padding-bottom: 5px;
		line-height: 1.15;
	}	
	.btSuperTitle, .btSubTitle {
		font-size: 20px;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	.dash:after, .dash:before {
		border-color: $(accentColor);
		width: 58px;
		margin-top: 8px;
		margin-bottom: 12px;
	}

}

.header.extralarge {
	margin-bottom: 30px;
	h1,h2 {
		font-size: 72px;
		line-height: 1.1;
		padding-top: 8px;
		padding-bottom: 6px;
	}
	.single-post & h1,.single-post & h2 {
		padding-top: 20px;
		padding-bottom: 0;
	}
	.btSuperTitle {
		letter-spacing: 1px;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 24px;
	}
	.dash:after, .dash:before {
		border-color: $(accentColor);
		border-width: 1px;
		width: 68px;
		margin-top: 5px;
		margin-bottom: 15px;
	}
}

.header.huge {
	margin-bottom: 40px;
	h1 {
		margin-top: -25px;
		font-size: 160px;
		line-height: 1;
	}
	.btSuperTitle, .btSubTitle {
		font-size: 50px;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	.dash:after, .dash:before {
		border-color: $(accentColor);
		border-width: 1px;
		width: 85px;
		margin-top: math( query( parent, margin-bottom )/2 )px;
		margin-bottom: math( query( parent, margin-bottom )/2 )px;
	}
}

.header.huge h1 {
	color: $(accentColor);
}


.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 math($(innerVerticalPadding)*2, px) math($(innerVerticalPadding)*2, px);
		p {
			max-height: 5em;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	}
}

.gridItem {
	opacity: 0.05;
	transition: transform 360ms ease 500ms, opacity 0.5s ease;
	overflow: hidden;
	transform: scale(1);
	.slick-prev, .slick-next {
		display: none !important;
	}
	.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);
			padding-bottom: -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;
	text-transform: uppercase;
	font-size: 13px;
	.btCatFilterItem {
		padding: 0 10px;
		cursor: pointer;
		display: inline-block;
	}
	.btCatFilterItem:hover {
		color: $(accentColor);
	}
	.btCatFilterTitle {
		font-weight: 600;
	}
	.btCatFilterItem.active {
		color: $(accentColor);
	}
}

/* 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;
    background-color: $(accentColor);
    font-weight: 300;
	p:before {
		display: block;
		text-align: center;
		font: 44px/44px Icon7Stroke;
		margin-bottom: math($(innerVerticalPadding)/2)px;
	}
	p {
		font-size: 24px;
		line-height: 1.25;
	}
	cite {
		display: inline-block;
		padding: 20px 0 0;
		border-top: 1px solid $(darkFontColor);
		margin: 0;
	}
}

: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: 46px;
	}
}

.btBlogColumnView :any(.btMediaBox.btQuote, .btMediaBox.btLink) p {
	font-size: 32px;
}

.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: 50px;
    font-weight: normal;
	display: table-cell;
    width: 46px;
    text-align: center;
    vertical-align: middle;
	transition: all 360ms ease 0s;
}

:lightSkinSelector :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: $(lightBgSubColor);
	color: $(lighFontColor);
}

:darkSkinSelector :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: $(darkBgSubColor);
	color: $(darkFontColor);
}

:any(:lightSkinSelector,:darkSkinSelector) .boldPhotoSlide :any(h4.nbs.nsPrev a:before,  h4.nbs.nsNext a:after) {
	background-color: $(lightBgSubColor);
	color: $(darkFontColor);
}

:any(:lightSkinSelector,:darkSkinSelector) .boldPhotoSlide :any(h4.nbs.nsPrev a:hover:before,  h4.nbs.nsNext a:hover:after) {
	background-color: $(accentColor);
	color: $(darkFontColor);
}

h4.nbs.nsPrev a:hover:before, h4.nbs.nsNext a:hover:after, {
	background-color: $(accentColor);
	color: $(darkFontColor);
}

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;
    color: $(lightFontColor);
	line-height: 1.2;
}

.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);
	padding-left: $(pagePadding)px;
	padding-right: $(pagePadding)px;
	margin: 50px auto 70px;
	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;
}

: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;
}

.slick-track:after {
    clear: both;
}

.slick-track:before, .slick-track:after {
    content: "";
    display: table;
}

/* Slider navigation */

.slided {
	.slick-dots {
		position: absolute;
		bottom: 10px;
		width: 250px;
		left: 50%;
		margin: 0 0 0 -125px;
		text-align: center;
		padding: 0;
	}

	.slick-dots li {
		display: inline-block;
		margin: 0 5px;
		width: 12px;
		list-style: none;
	}

	.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;
	}
	
	.slick-dots li button:hover {
		background: background-color: rgba(255,255,255,0.35);;
	}

	.slick-dots li.slick-active button, .slick-dots li.slick-active button:hover {
		background-color: #FFF;
		cursor: default;
	}

}

/* 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;
	}
	.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: 1px solid $(accentColor);
	border-radius: 50%;
	text-align: center;
	padding: 0.2em 0 0;
}

.btGetInfo .btIco {
	margin: 0 !important;
}

.btGetInfo .btIco .btIcoHolder {
	display: inline-block;
	float: none;
	text-align: center;
}

.btCloseGhost {
    display: block;
    position: absolute;
    z-index: 7;
    top: 10px;
    right: 10px;
}

.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;
}

.btInfoBar.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 .bclItem {
	padding: 0 15px;
}

.bclPort {
    max-width: $(baseTemplateWidth)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;
    margin: 0;
    padding: 0;
	margin-bottom: -1px;
	clear: left;
}

.tabsHeader li {
    margin: 0;
	padding: 0;
	display: block;
    float: left;
	border-bottom: 0;
}

.tabsHeader li {
	padding: 15px 20px;
}

.tabsHeader li.on {
	padding: 15px 20px 16px;
	margin-bottom: -1px;
}

.tabsHeader li {
	clear: none;
	margin-right: 4px;
}

.tabsHeader li:before {
	display: none;
}

.tabsHeader li {
    cursor: pointer;
    display: block;
    position: relative;
	letter-spacing: 1px;
}

:lightSkinSelector .tabsHeader li {
	background-color: $(lightBgSubColor);
	color: hsla-adjust( $(lightFontColor) 0 0 0 -50 );
}

:darkSkinSelector .tabsHeader li {
	background-color: $(darkBgSubColor);
	color: hsla-adjust( $(darkFontColor) 0 0 0 -50 );
}

.tabsHeader li.on, .tabsHeader li.on:hover {
	border-bottom: none;
}

:lightSkinSelector .tabsHeader li.on, :lightSkinSelector .tabsHeader li.on:hover {
	background-color: $(lightBgColor);
}

:darkSkinSelector .tabsHeader li.on, :darkSkinSelector .tabsHeader li.on:hover {
	background-color: $(darkBgColor);
}

@media (max-width: 768px) {
	.tabsHorizontal .tabsHeader li {
		margin-bottom: 0px;
		width: 100%;
	}	
}

.tabPanes {
	border-bottom-width: 2px;
	clear: both;
}

.tabPane {
    padding: math($(innerHorizontalPadding)*2)px;
}

.tabsHorizontal .tabPane {
	opacity: 0;
	display: none;
	transition: opacity 250ms ease 250ms;
}

.tabsHorizontal .tabPane.on {
	opacity: 1;
	display: block;
}

:lightSkinSelector {
	.tabsHeader li {
		border: 1px solid $(lightBorderColor);
		border-bottom: none;
	}
	.tabsHeader li:not(on):hover {
		background-color: $(lightBgColor);
		color: $(lightFontColor);
	}

	.tabPanes {
		border: 1px solid $(lightBorderColor);
	}

}

:darkSkinSelector {
	.tabsHeader li {
		border: 1px solid $(darkBorderColor);
		border-bottom: none;
	}
	.tabsHeader li:not(on):hover {
		background-color: $(darkBgColor);
		color: $(darkFontColor);
	}
	.tabPanes {
		border: 1px solid $(darkBorderColor);
	}

}

/* Accordions */

.tabsVertical .tabPanes {
	border-bottom-width: 2px;
}

:lightSkinSelector .tabsVertical  .tabPanes {
	border: 1px solid $(lightBorderColor);
}

:darkSkinSelector .tabsVertical  .tabPanes {
    border: 1px solid $(darkBorderColor);
}

.tabsVertical .tabAccordionTitle {
    display: block;  
    padding: 5px 80px 5px 10px;
    margin: 0;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid $(lightBorderColor);
}

:lightSkinSelector .tabAccordionTitle {
	border-bottom: 1px solid $(lightBorderColor);
}

:darkSkinSelector .tabAccordionTitle {
    border-bottom: 1px solid $(darkBorderColor);
}

.tabsVertical  .tabPane:last-child .tabAccordionTitle {
	border-bottom: 0;
}

.tabsVertical .tabAccordionTitle:before {
	content: "\f067";
	font: 12px/55px FontAwesome;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 56px;
	text-align: center;
	
}

:lightSkinSelector .tabsVertical .tabAccordionTitle:before {
	border-left: 1px solid $(lightBorderColor);
}

:darkSkinSelector .tabsVertical .tabAccordionTitle:before {
    border-left: 1px solid $(darkBorderColor);
}

.tabsVertical  .tabAccordionTitle.on:before {
	content: "\f068";
}

.tabAccordionTitle.on {
	background: $(accentColor);
	color: #FFF;
}

.tabsVertical .tabPane {
    padding: 0;
}

.tabsVertical  .tabPane:first-child .tabAccordionTitle {
    border-top: none;
}

.tabsVertical .tabAccordionTitle span {
    display: inline-block;
    padding: 10px;
    position: relative;
}


.tabsVertical .tabAccordionContent {
    padding: 20px;
    display: none;
}

.tabsVertical  .tabPane:last-child .tabAccordionContent {
	border-bottom: 0;
}

.tabsVertical  .tabsHeader {
    display: none;
}

:lightSkinSelector .tabsVertical  .tabAccordionContent {
    border-bottom: 1px solid $(lightBorderColor);
}

:darkSkinSelector .tabsVertical  .tabAccordionContent {
    border-bottom: 1px solid $(darkBorderColor);
}

/* Latest posts */

.btLatestPostsContainer {
	padding: 15px 5px 10px;
	display: flex;
	@media (min-width: 821px) {
		&.verticalPosts {
			flex-direction: column;
			.btSingleLatestPost {
				display: flex;
				align-items: stretch;
				justify-content: flex-start;
				margin: 10px 0;
				.btSingleLatestPostImage, .btSingleLatestPostContent {
					flex: 0 0 50%;
				}
				.btSingleLatestPostContent {
					align-self: center;
					p.btLatestPostContent:last-child {
						margin: 0;
					}
				}
			}
		}		
	}
}

.btSingleLatestPost {
	float: none;
	padding: 0;
	margin: 0 10px 0px;
	display: block;
	vertical-align: top;
	background-color: #fff;
}

.btSingleLatestPostContent {
	position: relative;
	padding: 35px 28px 15px;
}

:any(.btTextRight,.btTextLeft,.btTextCenter) {

	.btSingleLatestPost .bpgPhoto {
		display: block;
		margin: 0;
	}

	.btSingleLatestPost .btIco {
		margin: 0;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translate3d(-50%,-50%,0);
	}

}

.btSingleLatestPostContent .btIco .btIcoHolder:before {
	content: '\e642';
	font-family: Icon7Stroke;
}

.btSingleLatestPostContent p.posted {
	margin: 0 0 5px;
	line-height: 1.2;
}

.btSingleLatestPostContent h3  {
	margin: 0 0 10px;
}

/* 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;
	box-shadow: 0 0 4px 0 rgba(0,0,0,0.7);
}

.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;
	background-color: $(accentColor);
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
}

.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;
}

/* Striped section */

.boldSection.btStriped:before {
	content: ' ';
	display: block;
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	opacity: 0.7;
	background-color: transparent;
	background-position: center;
	background-repeat: repeat;
	background-image: url('../gfx/diagonalstripe.png');
	background-size: 4px 4px;
}

.boldSection.btStriped.black:before {
	background-image: url('../gfx/diagonalstripe-black.png');
}

.boldSection.btStriped .port {
	position: relative;
	z-index: 2;
}

.btSingleLatestPostBtn {
	clear: left;
	text-align: center;
	padding: 16px 0;
}


/* Wishes */


.btWhish {
	padding: 0 15px 15px;
}

:lightSkinSelector {

	 .btWhishPane {
		 background-color: $(lightBgSubColor);
	 }

	.btWhishAuthor {
		 border-top: 1px solid $(lightBorderColor);
	}

	.btWhishes .slick-dots li button {
		background-color: $(lightBorderColor);
	}

}

:darkSkinSelector {

	.btWhishPane {
		background-color: $(darkBgSubColor);
	}

	.btWhishAuthor {
		border-top: 1px solid $(darkBorderColor);
	}

	.btWhishes .slick-dots li button {
		background-color: $(darkBorderColor);
	}

}

.btWhishTxt {
	padding: 20px 25px 0;
	text-align: left;
}

.btWhishTxt p:first-of-type:before {
	content: '\e900';
	display: block;
	float: left;
	margin: 0px 15px 0px 0px;
	font: normal 24px/1 Wedding;
	transform: rotate(180deg);
	color: $(accentColor);
}

.btWhishAuthor {
	padding: 20px 20px;
}

.btWishAuthorAvatar {
	float: left;
	width: 60px;
	overflow: hidden;
	border-radius: 50%;
	margin: 0 15px 15px 0px;
	transform: rotate3d(0,0,1,1deg);
}

.btWishAuthorMeta {
	float: left;
}

.btWishAuthorAvatar img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 50%;
	visibility: visible;
}

.btWhishAuthor h4 {
	font-family: $(headingSuperTitleFont);
	font-size: 20px;
	line-height: 1.2;
	font-weight: 700;
	margin: 5px 0 0;
	padding: 0;
}

.btWishAuthorMeta p {
	margin: 0 0 5px;
	line-height: 1.3;
	color: $(accentColor);
}

.btWhishes .slick-dots {
	list-style: none;
	text-align: center;
	padding: 12px 0 0;
}

.btWhishes .slick-dots li {
	margin: 0 4px;
	display: inline-block;
}

.btWhishes .slick-dots li button {
	display: block;
	text-indent: -999px;
	width: 8px;
	height: 8px;
	overflow: hidden;
	border: none;
	border-radius: 50%;
	cursor: pointer;
}

:any(:lightSkinSelector,:darkSkinSelector) .btWhishes .slick-dots li button:hover,
:any(:lightSkinSelector,:darkSkinSelector) .btWhishes .slick-dots li.slick-active button {
	background-color: $(accentColor);
}

.btWhishes .slick-dots li.slick-active button {
	cursor: default;
}
