/* 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:45vw;
    position: relative;
    overflow: hidden;
    border: none;
} 

#short-gallery {
	height:10vw;
	width:100%;
	overflow:hidden;
} 

#short-gallery img {
	width:100%;
	object-fit:cover;
	height:25vw;
}

#gallery img {
    width:  100%;
    height: 40vw;
    object-fit: cover;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: relative;
	vertical-align:middle;
    /*left: 2%;
    bottom: 10%;*/

}

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

#gallery #halfblock:nth-of-type(1) {
	margin-top:10%;
}

#gallery #halfblock:nth-of-type(1) #inset {
	margin-left:1%;
}

#gallery #halfblock:has(img.circleimage) {
	width: 54%!important;
	position:absolute;
	top:5%;
}

#gallery #halfblock img.circleimage {
	border-radius: 50%;
    height: 55vw;
    object-fit: cover;
}

/*#gallery #halfblock img.circleimage, #long-gallery #halfblock img.circleimage {
border-radius: 50%;
height: 50vw;
width: 50vw;
object-fit:cover;
margin-top:5%;
margin-left:14%;
display: block;
	z-index: 10;
	position: relative;
}*/

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

#header button:not(#mobilenav button), #header .wp-block-button, #front button, #front .wp-block-button, #main button, #main .wp-block-button {
	font-weight:normal;
	border-radius:15px;
	padding:15px 35px;
	font-size:1vw;
}

}