/* 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 #fullblock:nth-of-type(1), #short-gallery #fullblock:nth-of-type(1), #long-gallery #fullblock:nth-of-type(1) {
	width: 100%;
	position:relative;
}


#gallery, #long-gallery {
    width: 100%;
    height: 35vw;
    position: relative;
    overflow: hidden;
    border: none;
}  

#gallery img, #long-gallery img {
    width:  100%;
    height: 40vw;
    object-fit: cover;
	vertical-align:bottom;
}

#gallery #overlay, #short-gallery #overlay, #long-gallery #overlay {
	z-index:1;
	width:100%;
	height: 100%;
	position: absolute;
	top:0;
	left:0;	
}

#gallery div, #short-gallery div, #long-gallery div {
	z-index:5;
}

#gallery #halfblock, #long-gallery #page #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    /*position: absolute;
	left:0;
	right:0;
    bottom: 18%;*/
	margin: 0 auto 0 auto;
	text-align: center;
}

#gallery #page #fullblock:nth-of-type(1), #long-gallery #page #fullblock:nth-of-type(1){
    width: 99.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
	left:0;
	right:0;
    bottom: 15%;
	margin: 0 auto 0 auto;
	text-align: center;
	background:transparent;
}

#long-gallery #page #fullblock:nth-of-type(1) {
	bottom:25%;
}

#gallery #page #fullblock:nth-of-type(1) #halfblock, #long-gallery #page #fullblock:nth-of-type(1) #halfblock {
	margin-top: 2%;
}

#gallery #page #fullblock:nth-of-type(1) button {
	margin: 3% auto 0 auto;
	padding: 20px 60px;
}

#gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}

button {
   width: auto;
   height:  auto;
   padding: 2% 5%;
   border:  none; 
}

#short-gallery {
	height: 20vw;
	width:100%;
	position:relative;
	overflow:hidden;
}

#short-gallery img {
	height: 20vw;
	width:100%;
	object-fit:cover;
}


#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;
}


#front .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

}