/* 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;
}  

#gallery #page{
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
}
	
	#gallery #fullblock {
	margin-top:20vw;}
	
	#gallery #thirdblock img {
		height:18vw;
		width:90%;
		object-fit:cover;
	}
	
	#gallery #thirdblock #twothirdsblock {
		margin-left:auto;
		margin-right:auto;
	}
	
	#gallery #thirdblock button {
		background:linear-gradient(180deg, #878787 0%, #247cb8 100%);
		text-transform:uppercase;
		font-weight:normal;
		font-size:1.6vw;
		padding:0.8vw 1.3vw;
		margin-top:.2vw;
	}
	
	#gallery #thirdblock:nth-of-type(2) button {
		background:linear-gradient(180deg, #878787 0%, #850b7a 100%);
	}
	
	#gallery #thirdblock:nth-of-type(3) button {
		background:linear-gradient(190deg, #878787 0%, #F23329 100%)
	}

#gallery #page div, #video-gallery #page div {vertical-align:middle;}

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

#gallery #halfblock, #video-gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
	text-align:center;
	margin-top:6%;
}

#gallery #halfblock #twothirdsblock, #video-gallery #halfblock #twothirdsblock {
	margin:0 auto 0 auto;
}

#gallery #halfblock button, #video-gallery #halfblock button {
	text-transform:uppercase;
	padding:15px 0;
	width:200px;
	height:auto;
	font-size:16px;
	margin-top:1%;
}

#gallery #halfblock button:nth-of-type(1), #video-gallery #halfblock button:nth-of-type(1) {
	margin-right:4%;
}

#gallery #halfblock #inset, #video-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;
	text-align:center;
}

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


#front #main #fullblock:nth-of-type(1) #quarterblock, #black-strip #quarterblock {
	width:24%!important;
	text-align:center;
}
	
	#black-strip {
		padding:10% 0;
	}
	
	#black-strip #quarterblock {
		padding:2% 0;
	}
	
	#gallery iframe {
			width: 100%;
			height: 200%;
			margin-left: 0%;
			margin-top: -15%;
		}	

.wp-block-columns.curved-blue .wp-block-column {
    margin: 1%;
	}
	
	.rounded, .is-style-rounded img, .rounded img {
		border-radius:25px;
	}
	
	.wp-block-media-text.rounded figure.wp-block-media-text__media img:not(.wp-block-media-text.rounded.has-media-on-the-right figure.wp-block-media-text__media img ) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wp-block-columns.curved-blue img {
    height: 20vw !important;
    object-fit: cover !important;
	vertical-align:bottom;
}
	
	#main ul {
		margin-left:auto;
		padding-left:5%;
		margin-right:auto;
		width:auto;
	max-width:50vw;
		text-align:left!important;
	}
	

	
	.wp-block-buttons:has(.wp-block-button:nth-of-type(2)) .wp-block-button {
	display:inline-block;
	padding:20px 0!important;
	width:49%;
		font-size:1vw;
	}
	
	.wp-block-buttons:has(.wp-block-button:nth-of-type(2)) .wp-block-button .wp-element-button {
		padding:0!important;
	}
	
.wp-block-buttons:has(.wp-block-button:nth-of-type(2)) .wp-block-button:nth-of-type(1) {
		margin-right:2%;
}
	
.wp-block-media-text .wp-block-media-text__content .wp-block-group .wp-block-group__inner-container {
	width:92%;
	margin-left:auto;
	margin-right:auto;
	}
	
.wp-block-media-text .wp-block-media-text__content .wp-block-group .wp-block-group__inner-container h3:after{
	display:block;
	content:"";
	width:100%;
	padding:0.5% 0;
}

}


