/* You can change this file 
---------------------------
Please use the IDs provided as much as possible
This css file is for everything related to the #gallery section
*/

@media only screen and (min-width: 819px) {
    

#gallery, #long-gallery{
    width: 100%;
    height: 40vw;
    position: relative;
    overflow: hidden;
    border: none;
}  

#gallery img, #long-gallery img {
    width:  100%;
    height: 40vw;
    object-fit: cover;
}

#gallery #halfblock, #long-gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    left: 2%;
    /*bottom: 15%;*/
	bottom:25%;

}

#gallery #halfblock:nth-of-type(2), #long-gallery #halfblock:nth-of-type(2) {
	left:58%;
	bottom:0;
}

#gallery #halfblock:nth-of-type(2) img, #long-gallery #halfblock:nth-of-type(2) img {
	width:75%;
	height:auto;
	vertical-align:bottom;
}
	


#overlay {
	background:var(--transparent-black);
	width:100%;
	height:100%;
	z-index:1;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
}

#long-gallery #halfblock {
	bottom: 25%;
}

#gallery #halfblock, #long-gallery #halfblock{
	z-index:2;
	
}

#gallery #halfblock:nth-of-type(1) button {
	margin-top: 3%;
	padding: 1vw 2.5vw;
	font-size: 16px;
	text-transform: uppercase;
}

#short-gallery {
	height: 15vw;
	width:100%;
	position:relative;
	overflow:hidden;
}

#short-gallery img {
	height: 15vw;
	width:100%;
	object-fit:cover;
}

#gallery #halfblock #inset, #long-gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}

button {
   width: auto;
   height:  auto;
   padding: 2% 5%;
   border:  none; 
}


#gallery #thirdblock {
    width: 32.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#gallery #quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}
	
	.border-grey {
	border-top:1px solid #e5e5e5;}

#front .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}
	
	.wp-block-cover.skew:after {
                background: white;
        bottom: 0%;
        padding: 1% 0;
        z-index: 100;
        position: absolute;
        display: block;
        content: "";
        width: 30%;
        left: 55%;
        transform: rotate(10deg);
    }

}