/* 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: 40vw;
    object-fit: cover;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;

}

#gallery #thirdblock {
	position: absolute;
    left: 5%;
    bottom: 30%;
}

#gallery #page {
	top:0;
	left:0;
	right:0;
	bottom:0;
	position:absolute;
} 

#gallery button {
	margin-top:0.5vw;
}

#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;
}

#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;
	}
	
.wp-block-button, button:not(#menu-selector) {
	border-radius:var(--rounded)!important;
}

.wp-block-button {
	padding:0.8vw 1.3vw!important;
}

#header button:not(#menu-selector), #gallery button {
font-size:1vw!important;
	padding:1vw 2vw!important;
}
	
	#gallery #featured img {
	width:100%;
	object-fit:cover;
	height:100%;
	}
	
	
#gallery #featured .ui-tabs-panel {
    width: 100%;
    padding: 0;
    left: 0;
    position: relative;
    height: 100%;
 
}
#featured .ui-tabs-hide {
    display: none;
}

	
	#gallery #featured {
	width:100%;
	height:40vw;
	overflow:hidden;
	padding-right:0;
	color:white;
	}
	
	#gallery #featured .ui-tabs-nav {display:none; padding:0;}
	
 #gallery #featured .ui-tabs-panel .info {
	position:absolute;
	background:transparent;
	/*top:40%;*/
	 bottom:30px;
	left:20%;
	transform: translate(-50%, -50%);
	right:0;
	width:32.5%;
	text-align:left;}
	
	#gallery #featured .ui-tabs-panel {
		width: 100%;
		padding:0;
		left:0;
		position:relative;
		height:100%;
	}
	
	#gallery #featured h2 {
	font-weight:bold;}
	
.wp-block-group.rounded {
	border-radius:var(--rounded)!important;
}
	
/* button:not(#menu-selector), .wp-block-button, .button {
	background:transparent!important;
	background-image:url('assets/button-background.png')!important;
	background-repeat:no-repeat!important;
	color:white;
	background-size:100%!important;
} */
	
.wp-block-group:has(.upcoming-events) h2:not(.upcoming-events h2)::before {
	display:inline-block;
	text-align: right;
        content: "\f130 \ \f001";
        font-weight: 500;
        font-family: 'Font Awesome Kit';
        font: var(--fa-font-solid);
        font-weight: bold;
        padding-right: 20px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
}
	
	.wp-block-group:has(.upcoming-events) h2:not(.upcoming-events h2)::after {
		display:inline-block;
	text-align: right;
        content: "\f140 \  \f091";
        font-weight: 500;
        font-family: 'Font Awesome Kit';
        font: var(--fa-font-solid);
        font-weight: bold;
        padding-left: 20px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
	}
	

	
.upcoming-events {
	max-width:85%;
	margin-left:auto;
	margin-right:auto;
	gap:0.9em;}
	
	.upcoming-events .wp-block-column {
	box-shadow:2px 2px 2px 2px #80808026;
	padding-bottom:20px;}
	
	
.upcoming-events div {
	border-radius:10px;
	background:#f6f6f6;
	text-align:left!important;}
	
.upcoming-events figure {
	height:40vw;
	margin:0;}
	
.upcoming-events figure img{
	height:100%;
	width:100%;
	border-radius:10px;
	border-bottom-left-radius:0px;
	border-bottom-right-radius:0px;
	object-fit:cover;}
	
.upcoming-events .green-curve {
	background:var(--pale-green);
	border-radius:var(--rounded);
	max-width:66%;
	font-size:13px;
	padding:0.5%;
	font-weight:bold;
	text-align:center!important;}
	
.upcoming-events .green-curve {
	background:var(--pale-green);
	border-radius:var(--rounded);
	max-width:70%;
	font-size:13px;
	padding:0.5% 2%!important;
	font-weight:bold;
	margin-top:30px;}
	
.upcoming-events .wp-block-group .wp-block-group__inner-container {
	width:92%;}
	
.wp-block-media-text.rounded {
	border-radius:5px;}
	
.wp-block-media-text.rounded figure img {
	border-radius:5px;
	border-top-right-radius:0px;
	border-bottom-right-radius:0px;}
	
	
	
}