/* 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: 40vw;
    position: relative;
    overflow: hidden;
    border: none;
}  

#gallery img {
    width:  100%;
    height: 42vw;
    object-fit: cover;
}

#overlay {
	background:var(--transparent-black);
}


#gallery #page, #overlay {
	top:0;
	left:0;
	right:0;
	bottom:0;
	position:absolute;
}  


#gallery #page div.center {
	margin-left:auto;
	margin-right:auto;
	margin-bottom:0;
	margin-top:13.5vw;
}

#gallery #page div.right {
	right:0;
	position:absolute;
	top:30%;
	
}

#gallery #page div.left {
	position:absolute;
	left:0;
	top:30%;
}

#gallery #page div:not(#gallery div div) {
	z-index:2;
}

#gallery button {
	margin-top:3%;
}


#gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}

button {
   width: auto;
   height:  auto;
   padding: 2% 5%;
   border:  none; 
}

#short-gallery {
	overflow:hidden;
}

#short-gallery,#short-gallery img {
	height:10vw;
	width:100%!important;
}

#short-gallery img  {
	height:40vw!important;
	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;
}

#gallery button:hover {
	background:var(--light-blue);
	color:white;
	opacity:1;
}

#gallery button, #header button:not(#mobilenav button), #main .wp-block-button {
	border-radius:var(--rounded);
	font-size:1.1vw;
	padding:1.1vw 1.5vw;
}

.wp-block-button .wp-element-button {
	padding:0!important;
}

#front .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}

	#main ul {
		padding-left:5%;
	}
	
#main ul {
		padding-left:5%;
		margin-left:auto;
		margin-right:auto;
		width:auto;
	max-width:50vw;
		text-align:left!important;
	}
	
}