/* 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: 80%;
    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 {
	display:none;
}

#header, #header #page{
	display:flex!important;
	flex-direction:column;
}

#header #sociallinks {
	order:2!important;
}

#logo {
	width:100%;
	padding:5% 0;
}

#sociallinks li {
	padding:1.5%;
}

#gallery #thirdblock, #navwrapper {
	display:none;
}


#gallery img:not(#gallery div img) {
	height:80vh;
	object-fit:cover;
}


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

#footer #page {
	width:90%!important;
}

#footer #halfblock:first-of-type img {
	margin:30px 0;
}

#footer li, #footer div {
	padding:5px 0;
}

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

#footer #sociallinks li {
	padding:1.5%;
}

.wp-block-button {
	padding:15px 25px;
}

#mobilenav span {
	color:white;
}

#mobilenav img {
	filter:brightness(100);
	margin:0!important;
	vertical-align:middle;
}

#menu-selector {
	text-align:center;
}

#wrapper:has(#mobilenav) {
	background:black;
	color:white;
	margin-top:20px;
	padding:5px 0;
}
	
#gallery #page {
position:absolute;
	top:0;
	left:0;
	right:0;}
	
	#gallery #thirdblock {
		position:relative!important;
	margin-top:50vh;}
	
#gallery #thirdblock span {
	font-size:4vh!important;}
	
#gallery #thirdblock:nth-of-type(2) {
	display:block;}


}

/* ------------------- 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%;
    }
	
	#gallery #thirdblock img, 	#topnav, #navwrapper {
		display:none;
	}
	
	#logo {
		width:100%!important;
		text-align:center!important;
	}
	#logo img {
        width: 60%;
	}
	
	#header, #header #page {
        display: flex !important;
        flex-direction: column;
    }
	
	#header #sociallinks {
        order: 2 !important;
    }
	
	    #sociallinks li:not(#footer #sociallinks li) {
        font-size: 24px !important;
    }
	
	#sociallinks li {
        padding: 1.2%;
    }
	
	#mobilenav {
		padding-bottom:2%;
	}
	
	#menu-selector img {
		filter:brightness(100);
		margin:0!important;
		vertical-align:middle;
		height:32px;
	}
	
	#menu-selector span {
		color:white;
		font-size:1.6em;
	}
	
	#wrapper:has(#mobilenav) {
        margin-top: 40px;
        padding: 12px 0;
		background:black;
		color:white!important;
    }
	
	    #menu-selector {
        text-align: center;
    }
	
	#mobilenav li a {
		font-size:24px!important;
	}
	
	#gallery {
		height:auto;
	}
	
	#gallery img {
		height:110vw;
	}
	
	.wp-block-button {
		font-size:2vw!important;
	}
	
	#footer #page img {
		width:60%;
		margin:30px 0;
	}
	
	#footer div {
		display:block;
		margin-left:auto;
		margin-right:auto;
		text-align:center;
		width:100%;
		padding:5px 0;
	}
	
	#footer li, #footer p {
		font-size:22px!important;
	}
	
	#footer li {
		padding:5px 0;
	}
	
	#footer strong {
		font-size:24px!important;
		display:block;
		margin-bottom:20px;
	}
	
	#footer #sociallinks li {
		padding:5px;
	}
	
	

	}


@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;}
	
#logo {
	padding:2% 0;
}
	
#logo img {
	width:60%;
}

#sociallinks li:not(#footer #sociallinks li) {
	font-size:22px!important;
}

#wrapper:has(#mobilenav) {
	margin-top:40px;
	padding:10px 0;
}

#mobilenav {
	padding-bottom:2%;
}

#mobilenav li {
	font-size:20px!important;
}

#footer img {
	width:60%;
}


}

@media only screen and (min-width: 821px) and (max-width: 1024px){
}

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


#sociallinks li {
	font-size:1.1vw;
}

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

#gallery {
	height:47vw;
}

#gallery #thirdblock img {
	width:60%;
}

.wp-block-button {
	font-size:1.1vw!important;
}

#footer #page img {
	width:23%!important;
}

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

	
}

	/* end media mobile screen */