/* 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: 35vw;
    position: relative;
    overflow: hidden;
    border: none;
}  

#long-gallery, #long-gallery img, #long-gallery #overlay {
	width:100%;
	height:32vw;
}

#gallery img {
    width:  100%;
    height: 40vw;
    object-fit: cover;
}
	
#gallery #halfblock {
	margin: 0 auto 0 auto;
	position:relative;
	margin-top:12%;
	text-align: center;
	z-index:3;
}

#short-gallery, #long-gallery {
	position:relative;
}

#short-gallery, #short-gallery img, #short-gallery #overlay {
	height:6vw;
	width:100%;
}

#short-gallery img, #long-gallery img {
	object-fit:cover;
	width:100%;
}

#gallery #overlay, #long-gallery #overlay, #short-gallery #overlay {
	background:#20203878;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	z-index:2;
}

#gallery #page, #long-gallery #page {
	position:absolute;
	bottom:0%;
	top:0;
	left:0;
	right:0;
	z-index:3;
}


#gallery #twothirdsblock, #long-gallery #twothirdsblock {
	margin: 0 auto 0 auto;
	margin-top:8%;
	text-align: center;
	z-index:3;
}

/*#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 .wp-block-image>img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
}


#front #main #fullblock {
	width:100%;
	position:relative;
}
#front #main #fullblock:nth-of-type(2) img:nth-of-type(2) {
	display:none;
}

#front #main #fullblock:nth-of-type(2) img {
	z-index:1;
}

#front #main #fullblock:nth-of-type(2) img {
	height:auto;
	vertical-align:bottom;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock:not(#halfblock #twothirdsblock) {
	z-index:3;
	position:absolute;
	bottom:0;
	right:0;
	top:3%;
	text-align:left;
	width:59.5%!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock {
	margin-top:2%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock {
	margin-bottom:8%;
	width:80%!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock #inset {
	width:90%;
	padding: 5%;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock, #front #main #fullblock:nth-of-type(4) #twothirdsblock {
	margin:0% auto;
	margin-left:auto;
	margin-right:auto;
	padding:2% 0;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock p:nth-of-type(1)::after, #front #main #fullblock:nth-of-type(3) #twothirdsblock p:nth-of-type(1)::before{
	display:block;
	content:"";
	padding:0.5% 0;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock {
	text-align:left;
	vertical-align:top;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock h3 {
	margin-bottom:10%;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock button {
	margin-top:10%;
}

#front #main #fullblock:nth-of-type(4) #halfblock:nth-of-type(3) button {
	display:none;
}

#front #main #fullblock:nth-of-type(5) img {
	height:30vw;
	object-fit:cover;
	width:100%;
	vertical-align:bottom;
}

#front #main #fullblock:nth-of-type(5) #halfblock {
	position:absolute;
	z-index:2;
	bottom:15%;
	left:25%;
}

#front #main #fullblock:nth-of-type(5) #halfblock button {
	margin-top:2%;
}

#front #main #fullblock:nth-of-type(6) marquee{
	border:1px solid black;
	width:49.5%;
	margin-left:auto;
	margin-right:auto;
	padding:2% 0;
}

#front #main #fullblock:nth-of-type(6) {
	padding:2.5% 0;
}

#front #main #fullblock:nth-of-type(6) #twothirdsblock {
	margin-left:auto;
	margin-right:auto;
	padding:2% 0;
}
	
/*Changes*/

.rounded figure.wp-block-media-text__media img {
	border-radius:25px;
	/*height:20vw;
	object-fit:cover;*/
}
	
.rounded .wp-block-media-text__content  .wp-block-group {
	width:94%;
}
	
.wp-block-media-text__media img {
	vertical-align:bottom;
}
	


#fullblock.cover-image {
	width:100%;
	color:white;
	position:relative;
	height:auto;
}
	
#fullblock.cover-image img {
	z-index:1;
	position:relative;
	width:100%;
	vertical-align:bottom;
	height:32vw;
	object-fit:cover;
}
	
#fullblock.cover-image #halfblock {
	position:absolute;
	bottom:20%;
	z-index:10;
	left:26%;
}
	
#fullblock.cover-image button {
	margin-top:5%;
}
	
.wp-block-media-text.is-stacked-on-mobile.is-image-fill-element.gradient-image .wp-block-media-text__media img{
	height: 90vh!important;
    object-fit: cover!important;
}
	
#fullblock.gradient-image {
	z-index:2;
	position:relative;
}
	
#fullblock.gradient-image img:nth-of-type(2){
	display:none;
}
	
#fullblock.gradient-image #fullblock {
	position:absolute;
	bottom:20%;
	z-index:2;
	left:0;
}
	
#fullblock.gradient-image img {
	z-index:1;
}

#fullblock.gradient-image img {
	height:auto;
	vertical-align:bottom;
}

#fullblock:nth-of-type(2).gradient-image #twothirdsblock:not(#halfblock #twothirdsblock) {
	z-index:3;
	position:absolute;
	bottom:0;
	right:0;
	top:3%;
	text-align:left;
	width:59.5%;
}

#fullblock.gradient-image #twothirdsblock #halfblock {
	margin-top:2%;
	vertical-align:top;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock {
	margin-bottom:8%;
	width:80%!important;
	height:8vw!important;
}
	
#fullblock.gradient-image h2 {
	margin-left:2%;
}

#fullblock.gradient-image #twothirdsblock #halfblock:nth-of-type(1) #twothirdsblock {
	margin-left:5%;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock #inset {
	width:96%;
	padding: 2%;
}
	

}