/* Do not change this sheet. This is for demo purposes later in the development stages

*/
@media only screen and (max-width: 818px) {

/* general settings */

	h1,h2,h3,h4 {
		font-size: 24px !important;
	}
	
	li, strong, ul, ol, blockquote, a {
		font-size: inherit !important;
	}	
	
	p {
		font-size: 18px !important;
		line-height: 26px;
	}
	
	#short-gallery img {
	object-fit:cover;
}

.wp-block-columns.column-images figure img {
	height:100%!important;
} 

.wp-block-columns.full-padded .wp-block-column:first-of-type {
	padding-left:1%!important;
}

.wp-block-columns .wp-block-column:nth-of-type(1) .wp-block-image {
	margin-left:1%!important;
}

.wp-block-columns.full-padded .wp-block-column:last-of-type {
	padding-right:1%!important;
}	
	

html, body {	
height:  auto;
vertical-align: top;
margin:  0 !important;
border:  0px solid black;
font-size:  18px;
text-align: center;
}

html {
width:  100%;
padding:  0;
}

body {
width: 100%;
}

#main #page {
	width:96%;
	margin-left:auto;
	margin-right:auto;
}

#main ul {
		padding-left:5%;
		margin-left:auto;
		margin-right:auto;
		width:auto;
	max-width:90vw;
		text-align:left!important;
	}


div {
width: 100%;
	margin-left:auto;
	margin-right:auto;
vertical-align: middle;
position: relative;
/* z-index: 10; */
}

img {
height: auto;
margin-left: auto;
margin-right: auto;
max-width: 100% !important;
} 

#main ul {
		padding-left:5%;
		margin-left:auto;
		margin-right:auto;
		width:auto;
	max-width:90vw;
		text-align:left!important;
	}
	
	
#short-gallery {
	overflow:hidden;
}

#short-gallery,#short-gallery img {
	height:20vh;
	width:100%!important;
}

#short-gallery img  {
	height:30vh!important;
}

#nav, .notmobile {
display: none !important;
}

.inline {
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
}

#header {
width:  100%;
display: block;
position: relative;
}

.wp-block-button{
	width:auto;
}

/* background settings * /

.background {
display: block;
width: auto;
min-width: 100% !important;
max-width: 300% !important;
position: fixed;
left: -50%;
margin-right: 50%;
z-index: 1;
}

/* header settings */


#logo {
    width: 70%;
    border: inherit;
    margin:  0 auto 0 auto;
padding: 2% 0;
background: transparent !important;
}

#logo h1 {
color: black;
}

#logo img {
    width: 90%;
    height: auto;
}

/* mobile navigation */

#mobilenav {
    height: 40px;
    overflow:  hidden;
    width: 100%;
    border: inherit;
    padding: 5px 0 4% 0;
    vertical-align: bottom;
    text-align: center;
list-style:none;
}

#mobilenav button {
    z-index: 10; 
}

#menu-selector { /* button changes */
text-align: right;
width: 100% !important;
border-radius: 0;

/* standard */
height: 50px;
background: transparent;
position: relative;
padding: 1%;
margin-bottom: 20px;
display: block;

}

#menu-selector img {
    height: 30px;
    width: auto;
    display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
margin: 0 1% 20px 0;
vertical-align: top;
}

#menu-selector span {
color: gray;
font-size: 1.5em;
padding: 0.5% 2%;

/* standard */
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
vertical-align: middle;
}


#mobilenav ul {
margin: 0;
padding: 0;
}

#mobilenav ul li,#mobilenav li {
background: inherit;
text-align: center;

display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
width: auto;
height: auto;
padding: 1% 0;
display: block;
}

#mobilenav ul li a, #mobilenav li a {
color:  inherit;
width: auto;
height: auto;
padding: 10px 20px;
font-size: 2em;
text-decoration: none;
}

#drop li a, .children li a  {
background: gray !important;
display: block;
margin: 0;
text-align: center !important;
font-size: 1.5em !important;
}


/* gallery settings */

#gallery {
    width: 100%;
    height: auto;
    padding-bottom:0;
    z-index: 1;
}    

#tsplayer {
width:100%; height: 400px; margin-top: -15%; margin-bottom: -5%; position: relative; z-index: 3; overflow:  hidden;
}  

/* main and footer settings */

#main button, #main .wp-block-button {
    margin-bottom: 5%;
}


#imagearray img {
width: 50%;
height: 15vh;
object-fit:cover;
margin: 0 !important;
}

	
#footer * {
color: white;
}	

#footer img {
padding-top: 1%;
}

button, input[type="button"], input[type="submit"], .wp-block-button{
	font-size:1em;
}	

#bulletpoints li{
	text-align:left;
}

.imagearraywrap{
	margin:5% 0;
}

#sociallinks li{
	display:inline-block;
}

#topnav{
	width: 100%;
    margin: 0;
    padding: 1% 0;
    height: auto;
}

/*#page{
	padding:1%;
	width:98%;
}*/

.mobile-spacer {
	height:30px!important;
}

#mobilenav:has(.sub-menu) li {
	text-align:left;
	font-size:20px!important;
	padding:2% 0;}

 #mobilenav:has(.sub-menu) li a:not(.children li a , .sub-menu li a) {
        font-weight: bold;
    }

  #mobilenav li.menu-item-has-children {
        margin: 18px 0;
    }


	#mobilenav .sub-menu {
        margin-left: 8%;
        margin-top: 4%;
    }
	
.is-stacked-on-mobile {
     display: flex !important;
    flex-direction: column;
}
	
.is-stacked-on-mobile * {
	order:2;}
	
.is-stacked-on-mobile figure, .is-stacked-on-mobile div:has(img) {
	order:1;}
	
#topnav #halfblock li {
	display:inline-block;
}

#topnav #halfblock, #topnav #sociallinks {
	padding:10px 0;
	text-align:center;
}

#topnav #sociallinks li {
	padding:1.5%;
}
	
#topnav li {
	font-size:18px!important;
}

#logo {
	padding-top:10%;
	
}

#logo img {
	width:100%!important;
}

.wp-block-button, button:not(#menu-selector) {
	border-radius:var(--rounded)!important;
}

#mobilenav {
	margin:35px 0 10px 0;	
}

#menu-selector img {
	filter:brightness(0);
}

#menu-selector span, #mobilenav li a {
	color:black;
}

#gallery img{
	height:90vh!important;
	width:100%;
	object-fit:cover;
	z-index:1;
}

#gallery #thirdblock {
	position:absolute;
	z-index:2;
	bottom:15%;
	left:0;
	right:0;
	width:96%!important;
}

#gallery #thirdblock h2, #gallery #featured h2 {
	font-size:36px!important;
}

#gallery button, #gallery #featured button {
	margin-top:20px;
}

#gallery p, #gallery #featured p {
	line-height:26px;
}

#footer * {
	color:black;
	text-align:center;
}

#footer #page {
	width:96%;
}

#footer div {
	padding:5px 0;
}

#footer {
	margin-top:20px;
}

#footer img {
	width:70%;
	margin-bottom:20px;
}

#footer #thirdblock strong {
	display:block;
	margin-bottom:10px;
	font-size:20px!important;
}

#footer #thirdblock li {
	padding:5px 0;
}

#footer #sociallinks li {
	padding:5px;
}

.wp-block-button {
		padding:10px 20px!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:100%;
	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;
	bottom: 25%;
        left: 0;
        right: 0;
	        width: 96% !important;
	text-align:center;}
	
	#gallery #featured .ui-tabs-panel {
		width: 100%;
		padding:0;
		left:0;
		position:relative;
		height:100%;
	}
	
	#gallery #featured h2 {
	font-weight:bold;}
	
	#footer img {
	width:50%!important;}
	
	#footer #fullblock:has(img):not(#footer #page #fullblock) img {
	width:100%!important;
	height:100%;
		margin-top:-30px;
	margin-bottom:0px;
	vertical-align:bottom;}
	
	#footer #fullblock:has(img):not(#footer #page #fullblock) {
	width:100%;
		padding:0!important;
	background:white!important;}
	
	
.wp-block-group.rounded {
	border-radius:var(--rounded)!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 {
	width:85%;
	margin-left:auto;
	margin-right:auto;}
	
	.upcoming-events .wp-block-column {
	box-shadow:2px 2px 2px 2px #80808026;
	padding-bottom:20px;
	margin-bottom:40px;}
	
	.upcoming-events .wp-block-column:last-of-type {
	margin-bottom:0px!important;}
	
	
.upcoming-events div {
	border-radius:10px;
	background:#f6f6f6;
	text-align:left!important;}
	
.upcoming-events figure {
	margin:0;
	height:40vh!important;}
	
.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:90%;
	font-size:13px!important;
	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-bottom-right-radius:0px;
	border-bottom-left-radius:0px;}
	
	.wp-block-media-text.is-stacked-on-mobile.rounded.has-background figure {
	width:100%!important;}


}

/* ------------------- tablet version ---------------------------------- */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 818px) and (max-width: 1000px) 
{
html, body {
 margin: 0 !important;
 padding: 0 !important;
}	


	h1,h2,h3,h4 {
		font-size: 22px !important;
	}

#nav{
	display:none;
}

#main #page {
    width: 90%;
	padding:0 5%;
	margin:auto;
}

.inline{
	display:inline-block;
}

img{
	width:100%;
}

#imagearray img{
	width:auto;
}

#bulletpoints, #footer li{
	list-style:none;
}

button, .wp-block-button{
	border:none;
	font-size:1em;
}

#sidewrapper{
	width:100%;
}

#sociallinks{
	list-style:none;
	text-align:center;
	width:100%;
}

#sociallinks li{
	display:inline-block;
}

#topnav{
	width: 100%;
    margin: 0;
    padding: 1% 0;
    height: auto;
}

#logo {
    width: 70%;
    border: inherit;
    margin:  0 auto 0 auto;
padding: 2% 0;
background: transparent !important;
}

#logo h1 {
color: black;
}

#logo img {
    width: 50%;
    height: auto;
}

/* mobile navigation */

#mobilenav {
    height: 40px;
    overflow:  hidden;
    width: 100%;
    border: inherit;
    padding: 5px 0 4% 0;
    vertical-align: bottom;
    text-align: center;
list-style:none;
}

#mobilenav button {
    z-index: 10; 
}

#menu-selector { /* button changes */
text-align: right;
width: 100% !important;
border-radius: 0;

/* standard */
height: 50px;
background: transparent;
position: relative;
padding: 1%;
margin-bottom: 20px;
display: block;

}

#menu-selector img {
    height: 30px;
    width: auto;
    display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
margin: 0 1% 20px 0;
vertical-align: top;
}

#menu-selector span {
color: gray;
font-size: 1.5em;
padding: 0.5% 2%;

/* standard */
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
vertical-align: middle;
}


#mobilenav ul {
margin: 0;
padding: 0;
}

#mobilenav ul li,#mobilenav li {
background: inherit;
text-align: center;

display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
width: auto;
height: auto;
padding: 1% 0;
display: block;
}

#mobilenav ul li a, #mobilenav li a {
color:  inherit;
width: auto;
height: auto;
padding: 10px 20px;
font-size: 2em;
text-decoration: none;
}

#short-gallery {
	height:20vw;
}

#short-gallery img {
	object-fit:cover;
	height:20vw;
}

#main ul {
	padding-left:8%;}

#mobilenav:has(.sub-menu) li {
        text-align: left;
        margin-left: 5% !important;
	padding:1.5% 0;
    }
	
    #mobilenav:has(.sub-menu) li a:not(.sub-menu li a, .children li a) {
        font-weight: bold;
    }
	
	    #mobilenav:has(.sub-menu) li a {
        font-size: 28px !important;
    }
	
	    #mobilenav:has(.sub-menu) li.menu-item-has-children {
        margin: 20px 0;
    }
	
	    #mobilenav:has(.sub-menu) li {
        text-align: left;
        margin-left: 5% !important;
    }
	
	#mobilenav .sub-menu {
        margin-top: 3%;
    }
	
	#topnav div, #sidewrapper, #sidewrapper #sixthblock, #footer div{
		width:100%!important;
		text-align:center;
		padding:8px 0;
	}
	
	#topnav li {
		font-size:24px!important;
		display:inline-block;
	}
	
	#topnav #sociallinks li {
		padding:8px;
	}
	
	#logo {
		width:100%!important;
		text-align:center;
		padding-top:8%;
		padding-bottom:5%;
	}
	
	#logo img {
		width:60%!important;
	}
	
	#navwrapper {display:none;}
	
	button:not(#menu-selector) {
		font-size:22px!important;
	}
	
	#mobilenav {
	margin:30px 0 5px 0;
}
	
	#menu-selector img {
		filter:brightness(0);
	}
	
	#menu-selector span, #mobilenav li a {
		color:black;
	}
	
	#menu-selector span {
	font-size:1.7em;
}

#menu-selector img {
	vertical-align:middle!important;
	margin-bottom:0;
}
	
	.wp-block-button, button:not(#menu-selector) {
		padding:20px 30px!important;
	}
	
	#gallery img, #gallery, #gallery #featured {
		height:80vw!important;
	}
	
	#gallery #thirdblock, #gallery #featured .ui-tabs-panel .info  {
		left:50%!important;
		margin-left:auto;
		margin-right:auto;
		right:0;
		width:90%!important;
		text-align:center!important;
	}
	
	#gallery h2, #gallery #featured h2 {
		font-size:40px!important;
	}
	
	#gallery p, #gallery #featured p {
		font-size:18px!important;
		line-height:26px!important;
	}
	
	#gallery button, #gallery #featured button {
		margin-top:10px;
	}
	
	#gallery #thirdblock h2, #gallery #thirdblock p {
	text-shadow: 5px 5px 5px black;
}
	
	#footer img {
		width:60%;
		margin-bottom: 20px;
	}
	
	#footer div {
		padding:5px 0;
	}
	
	#footer #thirdblock li {
		padding:5px 0;
	}
	
#gallery #featured button, #sidewrapper #sixthblock button {
	font-size:24px!important;
	padding:20px 30px!important;}
	
	#footer strong {
		font-size:22px!important;
		margin-bottom:10px;
		display:block;
	}
	
	#footer #sociallinks li {
		padding:5px;
	}
	
	#footer li, #footer p {
		font-size:20px!important;
	}
	
	.wp-block-button {
		padding:10px 20px!important;
	}
	
	#footer {
		margin-top:30px;
	}
	
	#footer #fullblock:has(img):not(#footer #page #fullblock) img {
	width:100%!important;
	height:100%;
	margin-bottom:0px;
	vertical-align:bottom;}
	
	#footer #fullblock:has(img):not(#footer #page #fullblock) {
	width:100%;
		padding:0!important;
	background:white!important;}
	
	
#footer #fullblock:has(img):not(#footer #page #fullblock) img {
        background: transparent;
        margin-top: -50px;
    }
	
#footer #page {
	margin-top: -5px;
    width: 100%;
	}
	

	#footer #fullblock:has(img) {
	background:transparent!important;}



	}


@media only screen and (min-width: 700px) and (max-width: 800px) {
#gallery span {
    font-size: 28px;
}
	#main ul {
	max-width:50vw!important;
	}

#mobilenav:has(.sub-menu) li {
        margin-left: 5% !important;
    }
	
#mobilenav:has(.sub-menu) li a {
        font-size: 24px !important;
    }
	
#mobilenav:has(.sub-menu) li {
	padding:1.5% 0;}
	
#mobilenav .sub-menu {
	margin-top:3%;
	margin-left:3%;}
	
	#mobilenav:has(.sub-menu) li.menu-item-has-children {
	margin:12px 0;}
	
#topnav li, #header button:not(#menu-selector), #gallery button, #mobilenav li a {
	font-size:22px!important;
}

#topnav #halfblock, #topnav #sociallinks {
	padding:15px 0;
}

#logo {
	padding-top:8%;
	width:75%;
}

#logo img {
		width:80%!important;
	}

#menu-selector span {
	font-size:1.7em;
}

#menu-selector img {
	vertical-align:middle!important;
	margin-bottom:0;
}

#mobilenav {
	margin-bottom:5px;
}

#gallery img, #gallery #featured {
	height:70vh!important;
}

#gallery #thirdblock, #gallery #featured .ui-tabs-panel .info{
	width:90%!important;
}

#gallery #thirdblock h2, #gallery #featured h2{
	font-size:40px!important;
}

#footer img {
	width:50%;
}
	
	
#footer #fullblock:has(img):not(#footer #fullblock #page) {
	padding:0!important;}

#footer #fullblock:has(img):not(#footer #page #fullblock) img {
        background: transparent;
        margin-top: -50px;
    }
	
#footer #page {
	margin-top: -5px;
    width: 100%;
	}
	

	#footer #fullblock:has(img) {
	background:transparent!important;}

}

@media only screen and (min-width: 821px) and (max-width: 1024px){
	#gallery #thirdblock{
	width:50%;
	}
}

@media only screen and (min-width: 1024px) and (max-width: 1180px){
#bottommenuv2 #wrapperblock input, #bottommenuv2 #wrapperblock select:first-of-type {
flex-grow: 20;
width:100%;
	margin: 1vw;
}

#logo {
	width:24.5%!important;
}

#sidewrapper {
	width:74.5%!important;
}

#topnav #page #halfblock li {
	font-size:0.95vw!important;
}

#logo a img {
	width:44%!important;
}

#nav li a {
	font-size:0.95vw;
	padding:10px 1vw;
}

#gallery, #gallery img, #gallery #featured {
	height:45vw;
}

#gallery h2, #gallery #featured h2 {
	font-size:2.5vw!important;
}

#gallery p, #gallery #featured p {
	font-size:1.2vw;
	line-height:1.8vw;
}

#footer img {
	width:16%!important;
}

#footer li, #footer p, #footer strong{
	font-size:1.2vw!important;
}

#footer #fullblock.has-grey-border:has(#sociallinks) {
	padding:0!important;
}

	
	

	
}

	/* end media mobile screen */