/* 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: auto;
    position: relative;
    overflow: hidden;
    border: none;
	width: 85%;
	margin-left: 15%;
}  

#gallery img {
    width:  100%;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    left: 5%;
    bottom: 20%;

}

#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;
}

#front, #main{
	z-index: 3;
	position: relative;
}
	
#front {
	width:84.5vw;
	margin-left:15%;
}

#front .wp-block-image>img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
	
#front figure.wp-block-gallery .wp-block-image>img{
		height:100%!important;
}
	
#main {
	width:85vw;
	margin-left:15%;
}
	
/*#main #page {
	width:85vw;
	margin-left:15%;
}*/

.showcaptions figure {
border:3px solid #c8c8c8;
flex-direction:column;
flex-grow:1;
}
	
.wp-block-gallery figure {
	flex-direction:column;
}
	
.wp-block-gallery .wp-element-caption {
	display:block;
	text-align:center!important;
	position:relative;
	margin-top: -15%;
	color:white;
	text-shadow:5px 5px 5px black;
	width:96%;
	padding:2%;
}
	
.showcaptions .wp-element-caption {
text-align:center!important;
display:block;
padding:1.5% 0;
/*border:3px solid #c8c8c8;*/
}

h1 {
	text-align:center;
}
	
.icon img{
	width:50%!important;
}
	
}