/* 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 {
    width: 100%;
    height: 35vw;
    position: relative;
    overflow: hidden;
    border: none;
}  

#gallery img {
    width:  100%;
    height: 35vw;
    object-fit:cover;
}

#gallery #gradientoverlay {
	width: 70%;
	height: auto;
	position: absolute;
	height: 35vw;
	vertical-align:top;
	z-index:2;
}

#gallery #twothirdsblock:nth-of-type(2),#gallery #thirdblock:nth-of-type(1) {
	z-index:1;
	position: relative;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    /*left: 5%;*/
    bottom: 4vw;
}

#gallery #page {
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index:5;
}

#gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}

button {
   width: auto;
   height:  auto;
   padding: 2% 5%;
   border:  none; 
}


#gallery #thirdblock {
    width: 34.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#gallery #quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}


#front .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

}