


/* ========================================================================== */
/* SLIDESHOW
/* ========================================================================== */

.slideshow,
#slideshow {
	height: 64vw;
	min-height: 350px;
	overflow: hidden;
	position: relative;
	z-index: 0;
}


/* ========================================================================== */
/* MINI BE
/* ========================================================================== */

.mini-be{
	background-color: #ededed;
	border-radius: 2px;
	bottom: 0;
	box-shadow: 0 0 49px rgba(0, 0, 0, 0.14);
	display: none;
	max-width: 291px;
	padding: 30px 23px;
	position: absolute;
	left: 50px;
	width: 100%;
	z-index: 10;
}


.mini-be.open .mini-be-wrapper {
	overflow:hidden;
	transition:max-height 0.75s cubic-bezier(1,0,1,0);
	height:auto;
	max-height:9999px;
}

.mini-be-wrapper {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.75s cubic-bezier(0,1,0,1);
}


.be-title{
	color: #a69666;
	font-family: 'Crimson Text', serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 0;
}

.be-list{
	color: #555;
	font-size: 12px;
	margin-bottom: 26px;
	margin-top: 10px;
}

.be-list li{
	line-height: 1.75;
}

.be-list li:before{
	color: rgba(0,0,0,0.2);
	content: '•';
	line-height: 1;
	position: relative;
	top: 2px;
	margin-right: 6px;
}
a.close-be{
	position: absolute;
	right: 20px;
	top:14px;
	z-index: 1;
}

a.close-be span{
	display: inline-block;
	height: 20px;
	position: relative;
	top: 1px;
	width: 12px;
}

a.close-be span:before,
a.close-be span:after{
	background: #b9b0a8;
	content: '';
	display: block;
	height: 2px;
	left: -2px;
	opacity: 1;
	position: absolute;
	top: 9px;
	width: 16px;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

a.close-be:hover span:before,
a.close-be:hover span:after{
	background: #a59d96;
}

a.close-be span:before{
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
}

a.close-be span:after{
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

.mini-be.open a.close-be span:before{
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.mini-be.open a.close-be span:after{
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* ========================================================================== */
/* JS LOADER
/* ========================================================================== */

#jsloader {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0px;
	zoom: 1;
	z-index: 0;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

#jsloader div {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	float: left;
	height: 16px;
	margin: 1px;
	opacity: 0;
	width: 16px;
	zoom: 1;
}


/* ========================================================================== */
/* VIDEO
/* ========================================================================== */

.mobile-bg{
    margin-top: 75px;
    display: block;
    position: relative;
    z-index: 10;
    width: 100%;
    z-index: 0;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* for accessing the video by click */
    opacity: 0;
}

.video-container > video {
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.video-container > video::-webkit-media-controls {
    display: none !important;
}

.preload{
    opacity: 0;
}




/* ========================================================================== */
/* JS LOADER
/* ========================================================================== */

#jsloader div {
	background-color: #a69666;
}


@media only screen and (min-width: 680px) {


	.slideshow,
	#slideshow{
		height: 64vw;
	}

}


@media only screen and (min-width: 1025px){
	.slideshow,
	#slideshow{
		height: 100vh;
	}

}


/*HACK FOR IOS 7 AND 6 OLD IPHONES*/
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 2/3) {
	.slideshow,
	#slideshow {
		height: 250px;
	}
}

@media screen and (device-aspect-ratio: 40/71) {
	.slideshow,
	#slideshow {
		height: 250px;
	}
}





@media only screen and (min-width: 1025px){


	/* .slideshow,
	#slideshow{
		height: 100%;
		margin-top: 0;
	} */

	.slideshow:before{
		display: block;
	}



	.mini-be{
		display: block;
	}

	.mini-be-form > section {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.mini-be-form > section .split {
		clear: none;
		display: inline-block;
		width: calc((100% - 8px) / 2);
	}




	#home .slideshow-banner{
		opacity: 0;
		background-color: transparent;
	}

}



/*HACK FOR IOS 7 AND 6 OLD IPHONES*/
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 2/3) {
	.slideshow,
	#slideshow {
		height: 250px;
	}
}

@media screen and (device-aspect-ratio: 40/71) {
	.slideshow,
	#slideshow {
		height: 250px;
	}
}
