@charset "UTF-8";

.hero{
	position: relative;
	width: 100vw;
	height: 50vh;
}
.gallery{
	padding: 10vh 0;
	box-sizing: border-box;
}

.gallery .section{
	margin: 0 auto;
	position: relative;
	width: 90%;
    max-width: 1100px;
    text-align: center;
}
.gallery .logo{
	position: relative;
	width: 80%;
	max-width: 250px;
	margin: 10vh auto 2vh;
}
.gallery .logo img{
	width: 100%;
	height: auto;
}

.mobile_intro{
	position: relative;
	width: 100%;
    max-width: 1100px;
    display: none;
}

.mobile_intro .title,
.section .title {
    font-family: futura-pt, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: min(55px, 10vw);
    line-height: min(55px, 10vw);
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 0.1vw;
   
}

.big_phrase{
    font-size: 38px;
    line-height: 44px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 50px;
}


.grid{
	padding-top: 15vh;
    position: relative;
    width: 92%;
    margin: 0 auto;
    padding-left: 0.1rem;
}


/*
.gallery_images .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
*/

.gallery_images{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.gallery_images .image {
    box-sizing: border-box;
    cursor: pointer;
    height: 60vh;
    width: 32.5%;
	margin-bottom: 1.2vw;
	overflow: hidden;
	position: relative;
}
.gallery_images .image img{
	object-fit:cover;
	width: 100%;
	height: 100%;	
	transition: all 1s cubic-bezier(.77, 0, .175, 1);
    transition-timing-function: cubic-bezier(.77, 0, .175, 1);
}

.gallery_images .image:hover img{
	transform: scale(1.1);
}
.gallery_images .image:nth-child(4n),
.gallery_images .image.full{
	width: 100%;
	height: 45vh;
}

.gallery_images .image.half{
	width: 49.3%;
	height: 45vh;
}

.gallery_images .image:after {
    content: '';
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    opacity: 0.5;
    pointer-events: none;
/*
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#000000', GradientType=0);
*/
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+39,000000+65,000000+100&0.9+0,0+39,0+65,0.9+100 */
background: -moz-linear-gradient(45deg,  rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 39%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.9) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0) 39%,rgba(0,0,0,0) 65%,rgba(0,0,0,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0) 39%,rgba(0,0,0,0) 65%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6000000', endColorstr='#e6000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.gallery_images .image a{
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.gallery_images .image .title{
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 3;
	color: #fff;
	font-weight: 500;
	text-align: right;
}


/*
.page-template-temp_real_estate .motorclub_container{
	margin-top: 15vh;
}
*/


#slide_full{
	position: fixed;
    top: 0;
    opacity: 0;
    transition: all 1s cubic-bezier(.77, 0, .175, 1);
    transition-timing-function: cubic-bezier(.77, 0, .175, 1);
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 5rem 1fr 10rem;
    justify-items: center;
    background: #EAE4DF;
    align-items: center;
    z-index: 1000;
}
#slide_full.open {
    opacity: 1;
    pointer-events: all;
}
#slide_full #image_container{
	position: relative;
}
#slide_full #image_container img{
    height: calc(min(100vh - 15rem, 50vw));
    object-fit: contain;
    box-shadow: 0px 10px 10px #888888;
    border-radius: 2px;
    background-color: #000;
}
#slide_full .logo {
    padding: 3rem;
    width: 100%;
    height: 10rem;
    box-sizing: border-box;
}
#slide_full .logo img {
    width: 100%;
    height: 100%;
}
#slide_full .close-video {
    margin: 1rem;
    padding: 0 0.7rem;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    transition: all 1s cubic-bezier(.77, 0, .175, 1);
    transition-timing-function: cubic-bezier(.77, 0, .175, 1);
    width: 2.5vw;
}
#slide_full .close-video img {
    width: 100%;
    height: auto;
}


.slider .slide .text{
	display: none !important;
}



@media(max-width:1200px){
	.gallery_images .image{
		height: 50vh;
	}
}

@media(max-width:992px){
	.gallery_images .image{
		height: 30vh;
	}
}



@media(max-width:768px){
	
	.hero{
		height: 35vh;
	}
	.slider .slide .text,
	.slider .slide:after{
		display: none;
	}
	.gallery{
		padding: 6vh 0 10vh;
	}
	.gallery .section{
		width: 90%;
	}
/*
	.gallery .mobile_intro{
		display: block;
		margin-bottom: 5vh;
	}
	
	#gallery_intro .title{
		display: none;
	}
*/
	.grid{
		padding-top: 10vh;
	}
    
    .gallery_images .image{
		width: 48.5%;
		height: 25vh;
	}
	.gallery_images .image.half{
		height: 25vh;
	}
	.gallery_images .image:nth-child(4n),
	.gallery_images .image.full{
		width: 48.5%;
		height: 25vh;
	}
	.gallery_images .image:nth-child(3n){
		width: 100%;
	}
	.gallery .logo{
		margin: 10vh auto 0;
		max-width: 200px;
	}
	.big_phrase {
	    font-size: 7vw;
	    line-height: 8vw;
		letter-spacing: 1px;
	}
	#slide_full .close-video{
		width: 8vw;
		margin: 1rem 0.5rem;
	}
}