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

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

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


#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;
	filter:brightness(2);
}

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


#topnav {
	padding:0.5% 0;
}

#logo {
	padding:4% 0;
}

#logo a img {
	width:90%;
}

button {
	border-radius:var(--rounded)!important;
	font-size: 16px!important;
	font-weight:normal!important;
	padding:12px 20px!important;
}


#navwrapper{
	display:none;
}

#header #sidewrapper{
	padding:2% 0;
	margin:2% 0 5% 0;
}

#header #sidewrapper div {
	padding:3% 0;
}

#header #sidewrapper #sociallinks, #header #sidewrapper #sixthblock {
	display:inline-block;
}

#header #sociallinks li {
	padding:2% 0;
	font-size:22px!important;
}

#menu-selector span {
	color:white;
}

#mobilenav {
	padding-bottom:6%;
}

#mobilenav i {
	color:white;
	font-size:25px;
	vertical-align:middle;
	margin-left:1%;
}

#short-gallery, #short-gallery img, #short-gallery #overlay {
	height:10vh;
	width:100%;
}

#short-gallery #overlay {
	background:#20203878;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	z-index:2;
}

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

#gallery img, #long-gallery img {
	object-fit:cover;
	height:40vh;
	width:100%;
	vertical-align:bottom;
}

#gallery #overlay, #long-gallery #overlay {
	background:#20203878;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	z-index:2;
	height:40vh;
}

#gallery #page, #long-gallery #page {
	position:absolute;
	bottom:0%;
	top:0;
	left:0;
	right:0;
	z-index:3;
	width:98%;
	padding:1%;
}

#gallery #twothirdsblock, #long-gallery #twothirdsblock, #gallery #halfblock {
	margin: 0 auto 0 auto;
	text-align: center;
	z-index:3;
	width:90%;
	padding:5%;
}
	
#gallery #halfblock {
	margin-top:15%;
}

#long-gallery #twothirdsblock {
	margin-top:15%;
}

#gallery #twothirdsblock #inset p:nth-of-type(1), #gallery #twothirdsblock #inset p:nth-of-type(2), #long-gallery #twothirdsblock #inset p:nth-of-type(1), #long-gallery #twothirdsblock #inset p:nth-of-type(2){
	font-size:2.5vh!important;
}
	
#gallery #halfblock #inset p {
	font-size:30px!important;
}

#gallery #twothirdsblock #inset p:nth-of-type(2):after {
	display:block;
	content:"";
	padding:.5vh 0;
}

#gallery #twothirdsblock #inset p:nth-of-type(3){
	font-size:1.8vh!important;
}

#front #main #fullblock:nth-of-type(1) #inset {
	width:90%;
	padding:5%;
}

#front #main #fullblock:nth-of-type(2) {
	padding-top:4vh;
}

#front #main #fullblock:nth-of-type(2) img:nth-of-type(1){
	display:none;
}

#front #main #fullblock:nth-of-type(2) img {
	height:20vh;
	object-fit:cover;
	border-radius:20px;
	width:90%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock {
	text-align:left;
	width:100%!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock h3 {
	margin-left:1%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock {
	margin-bottom:5%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock #inset {
	width:90%;
	padding:5%;
}

#front #main #fullblock:nth-of-type(3) {
	border-top:0.2px solid #8080804a;
	padding:4% 0;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock #inset {
	width:92%;
	padding:4%;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock p {
	font-size:16px!important;
}

#front #main #fullblock:nth-of-type(4) {
	text-align:left;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock {
	width:94%;
	padding:3%;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock {
	width:94%;
	padding:3%;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock #inset {
	padding:0;
	width:100%;
}

#front #main #fullblock:nth-of-type(4) #halfblock:nth-of-type(2) button {
	display:none;
}

#front #main #fullblock:nth-of-type(4) #halfblock h3:after {
	display:block;
	content:"";
	padding:1vh 0;
}

#front #main #fullblock:nth-of-type(4) #halfblock:nth-of-type(3) button {
	margin-top:10%;
	display:block;
}

#front #main #fullblock:nth-of-type(5) img {
	height:35vh;
	object-fit:cover;
	width:100%;
	vertical-align:bottom;
}

#front #main #fullblock:nth-of-type(5) #halfblock {
	text-align:left;
	position:absolute;
	z-index:2;
	left:0;
	right:0;
	top:4%;
	bottom:0;
	width:90%;
	padding:5%;
	/*bottom:15%;
	left:25%;*/
}

#front #main #fullblock:nth-of-type(5) #halfblock button {
	margin-top:5%;
}

#front #main #fullblock:nth-of-type(5) #halfblock h2 {
	font-size:18px!important;
}

#front #main #fullblock:nth-of-type(6) {
	padding:5% 0;
}

#front #main #fullblock:nth-of-type(6) #thirdblock {
	padding:5% 0;
	width:32%;
	margin:2% 0;
}

#front #main #fullblock:nth-of-type(6) #thirdblock img {
	width:80%;
}

#footer {
	width:90%;
	padding:5%;
}

#footer p, #footer strong a {
	font-size:16px!important;
}

#footer #thirdblock {
	padding: 2% 0;
}

#footer #thirdblock:nth-of-type(1) {
	text-align:left;
}

#footer #thirdblock:nth-of-type(1) img {
	width:75%;
}

#footer #thirdblock p {
	font-size:16px;
}

#footer #thirdblock:nth-of-type(1) strong a {
	color:var(--light-blue)!important;
	font-size:16px;
}

#footer #thirdblock:nth-of-type(2) img:nth-of-type(1) {
	width:30%;
}

#footer #thirdblock:nth-of-type(2) br:nth-of-type(2) {
	display:none;
}

#footer #thirdblock:nth-of-type(2) img:nth-of-type(2){
	width:20%;
	padding:0!important;
}

#footer #thirdblock:nth-of-type(3) {
	text-align:left;
}

#footer #thirdblock:nth-of-type(3) img {
	 width:55%;
 }
	
/* changes */
	
h1,h2,h3,h4  {
	font-size:20px!important;
}
	
p {
	font-size:16px!important;
}
	
.rounded figure.wp-block-media-text__media img {
	border-radius:25px;
	width:90%;
}

	
#fullblock.gradient-image img:nth-of-type(1) {
	display:none;
}
	
#fullblock.gradient-image #inset {
	width:98%;
	padding:1%;
}

#fullblock.gradient-image {
	padding-top:4vh;
}


#fullblock.gradient-image img {
	height:20vh;
	object-fit:cover;
	border-radius:20px;
	width:90%;
}

#fullblock.gradient-image #twothirdsblock {
	text-align:left;
	width:100%!important;
}

#fullblock.gradient-image #twothirdsblock h3 {
	margin-left:1%;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock {
	margin-bottom:5%;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock #inset {
	width:96%;
	padding:2%;
}
	

#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:40vh;
	object-fit:cover;
}
	
#fullblock.cover-image #halfblock {
	position:absolute;
	bottom:15%;
	z-index:10;
}
	
#fullblock.cover-image button {
	margin-top:5%;
}
	
.wp-block-column.promote-block figure {
	margin-bottom:10%;
}
 
}



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

h2 {
	font-size:24px;
}

#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;
	filter:brightness(2);
}

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

*{border:0px solid black;}

#navwrapper {
	display:none;
}

#topnav {
	padding:0.5% 0;
}

#logo {
	width:64.5%!important;
	vertical-align:middle;
}

#logo a img {
	width:70%!important;
	padding-left:10%!important;
}

#navwrapper {
	display:none!important;
}

#sidewrapper {
	width:32.5%!important;
	vertical-align:middle!important;
}

#sidewrapper #sociallinks {
	width: 32.5%!important;
	text-align:left!important;
	vertical-align:middle;
}

#sidewrapper #sociallinks li {
	font-size:24px!important;
}

#sidewrapper #sixthblock {
	width:64.5%!important;
}

button {
	font-size:16px!important;
	padding:12px 20px!important;
	border-radius:var(--rounded);
	font-weight:normal;
}

#mobilenav {
	margin-top:20px;
}

#menu-selector span {
	color:white;
}

#menu-selector i {
	font-size:22px;
	vertical-align:middle;
	margin-right:2%;

}

#short-gallery, #short-gallery img, #short-gallery #overlay {
	height:10vw;
}

#gallery, #gallery #overlay, #gallery img, #long-gallery, #long-gallery #overlay, #long-gallery img {
	height:80vw;
}

#gallery #twothirdsblock, #gallery #halfblock {
	width:84.5%;
	margin-top:4.5%;
}
	
#gallery #halfblock {
	margin-top:20%;
}

#long-gallery #twothirdsblock {
	margin-top:12%;
}

#gallery #twothirdsblock #inset p:nth-of-type(1), #gallery #twothirdsblock #inset p:nth-of-type(2), #long-gallery #twothirdsblock #inset p:nth-of-type(1) , #long-gallery #twothirdsblock #inset p:nth-of-type(2), #gallery #halfblock #inset p { 
	font-size:5.5vw!important;
}

#gallery #twothirdsblock #inset p:nth-of-type(3) {
	font-size:3.5vw!important;
}

#front #main #fullblock:nth-of-type(2) {
	padding:5vh 0;
}

#front #main #fullblock:nth-of-type(2) img {
	display:none;
}

#front #main #fullblock:nth-of-type(2) img:nth-of-type(2) {
	display:block;
	width:88%;
	height:35vw;
	object-fit:cover;
	margin-left:auto;
	margin-right:auto;
	border-radius: 25px;
	
}

#front #main #fullblock:nth-of-type(2) h3 {
	margin-left:1%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock:not(#halfblock #twothirdsblock) {
	position:relative;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:100%!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock h3 {
	margin-left:3%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock {
	width:49%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock {
	width:90%!important;
	margin-left:auto;
	margin-right:auto;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock #inset {
	width:85%;
	padding:7.5%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock:nth-of-type(2) #twothirdsblock {
	margin-left:auto;
	margin-right:auto;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock p strong {
	font-size:2.7vw;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock p {
	font-size:2vw;
	line-height:normal;
}

#front #main #fullblock:nth-of-type(3) {
	border-top:0.2px solid #8080804a;
	padding:4% 0;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock, #front #main #fullblock:nth-of-type(4) #twothirdsblock {
	width:85%!important;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock {
	border:none;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock p {
	font-size:18px!important;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock h3 {
	margin-bottom:20%;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock button {
	margin-top:20%;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock {
	 width:49%;
 }
 
#front #main #fullblock:nth-of-type(5) img {
	height:50vw!important;
}

#front #main #fullblock:nth-of-type(5) #halfblock {
	bottom:15%!important;
	width:90%!important;
	left:5%!important;
	right:0;
}

#front #main #fullblock:nth-of-type(6) {
	padding:3% 0!important;
}

#front #main #fullblock:nth-of-type(6) #twothirdsblock {
	width:96%!important;
	padding:2%!important;
}


#front #main #fullblock:nth-of-type(6) #twothirdsblock #thirdblock {
	padding:3% 0!important;
}

#front #main #fullblock:nth-of-type(6) #twothirdsblock #thirdblock img {
	width:80%!important;
}


#footer #page {
	width:90%;
	padding:5%;
}

#footer #thirdblock {
	padding:2% 0;
}

#footer div{
	display:block;
	width:100%;
}

#footer #thirdblock:nth-of-type(1), #footer #thirdblock:nth-of-type(3) {
	text-align:left;
}

#footer #thirdblock:nth-of-type(1) img {
	width:50%!important;
}

#footer #thirdblock:nth-of-type(1) strong a {
	color:var(--light-blue);
}

#footer #thirdblock:nth-of-type(2) img:nth-of-type(1) {
	width:18%!important;
}

#footer #thirdblock:nth-of-type(2) img:nth-of-type(2) {
	width:12%!important;
}

#footer #thirdblock:nth-of-type(3) img {
	width:30%!important;
}
	
/*changes */ 
	
h2,h1,h3,h4 {
	font-size:28px!important;
}	

p, strong {
	font-size:18px!important;
}
	
#fullblock.gradient-image {
	padding:5vh 0;
}

#fullblock.gradient-image img {
	display:none;
}

#fullblock.gradient-image img:nth-of-type(2) {
	display:block;
	width:88%;
	height:35vw;
	object-fit:cover;
	margin-left:auto;
	margin-right:auto;
	border-radius: 25px;
	
}

#fullblock.gradient-image h3 {
	margin-left:1%;
}

#fullblock.gradient-image #twothirdsblock:not(#halfblock #twothirdsblock) {
	position:relative!important;
	top:0!important;
	bottom:0!important;
	left:0;
	right:0;
	width:100%!important;
	display:block;
}

#fullblock.gradient-image #twothirdsblock h3 {
	margin-left:3%;
}

#fullblock.gradient-image #twothirdsblock #halfblock {
	width:49%;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock {
	width:90%!important;
	margin-left:auto;
	margin-right:auto;
	height:20vw!important;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock #inset {
	width:96%;
	padding:2%;
}


#fullblock.cover-image img{
	height:50vw;
}
	
#fullblock.cover-image #halfblock {
	bottom:10%;
	width:64.5%!important;
	left:20%;
}

	}


@media only screen and (min-width: 700px) and (max-width: 800px) {
#gallery span {
    font-size: 28px;
}
	
#gallery #halfblock {
	margin-top:20%;
}
	
#gallery #halfblock #inset p {
	font-size:40px!important;
}
	

#header * {border:0px solid white;}

#logo {
	padding:2% 0;
}

#header #sidewrapper {
	margin:1% 0;
}

#header #sidewrapper #sociallinks li {
	font-size:24px!important;
}

#header #sidewrapper button {
	font-size:20px!important;
}

#header #sidewrapper div {
	padding:1% 0;
}

#mobilenav {
	padding-bottom:4%;
}
	
#gallery #twothirdsblock {
	margin-top:-3%;
}

#gallery img, #gallery #overlay, #long-gallery img, #long-gallery #overlay{
	height:60vh;
}

#long-gallery #twothirdsblock{
	margin-top:8%;
}


#gallery #twothirdsblock #inset p, #long-gallery #twothirdsblock #inset p {
	line-height:normal;
}

#gallery #twothirdsblock #inset p:nth-of-type(1), #gallery #twothirdsblock #inset p:nth-of-type(2), #long-gallery #twothirdsblock #inset p:nth-of-type(1), #long-gallery #twothirdsblock #inset p:nth-of-type(2) {
	font-size:4.5vh!important;
}
	

#gallery #twothirdsblock #inset p:nth-of-type(3){
	font-size:2.5vh!important;
}


#front #main #fullblock:nth-of-type(1) #inset {
	padding: 3% 5%;
}

#front #main #fullblock:nth-of-type(2) {
	padding-top:5vh;
}

#front #main #fullblock:nth-of-type(2) img {
	width:90%;
	height:30vh;
}

#front #main #fullblock:nth-of-type(2) #halfblock {
	width:49%;
	padding:2% 0;
}

#front #main #fullblock:nth-of-type(2) #halfblock #twothirdsblock {
	width:90%!important;
	margin-bottom:10%!important;
}

#front #main #fullblock:nth-of-type(2) #halfblock:nth-of-type(1) #twothirdsblock {
	margin-left:0!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock #inset {
	width:85%;
	padding:7.5%;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock p strong {
	font-size:2.1vh!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock p {
	font-size:1.8vh!important;
	line-height:normal;
}

#front #main #fullblock:nth-of-type(3) #twothirdsblock p {
	font-size:18px!important;
}

#front #main #fullblock:nth-of-type(4) #halfblock {
	width:49%!important;
	padding:0!important;
	vertical-align:top;
}

#front #main #fullblock:nth-of-type(4) #twothirdsblock #halfblock #inset {
	width:98%;
	padding:1%;
}

#front #main #fullblock:nth-of-type(4) #halfblock h3:after  {
	padding:2vh 0;
}

#front #main #fullblock:nth-of-type(4) #halfblock:nth-of-type(2) button {
	display:block;
	margin-top:15%;
}

#front #main #fullblock:nth-of-type(4) #halfblock:nth-of-type(3) button {
	display:none;
}

#front #main #fullblock:nth-of-type(5) img {
	height: 50vh;
}

#front #main #fullblock:nth-of-type(5) #halfblock {
	text-align:center;
	top:15%;
}

#front #main #fullblock:nth-of-type(5) #halfblock h2 {
	font-size:2.5vh!important;
}

*{
	border:0px solid white;
}

#footer * {
	border:0px solid white;
}

#footer #thirdblock {
	padding:1% 0;
}

#footer #thirdblock:nth-of-type(1) img {
	width:40%;
}

#footer #thirdblock:nth-of-type(2) img:nth-of-type(1) {
	width:18%;
}

#footer #thirdblock:nth-of-type(2) br:nth-of-type(2) {
	display:block;
}

#footer #thirdblock:nth-of-type(2) img:nth-of-type(2) {
	width:12%;
}

#footer #thirdblock:nth-of-type(3) img {
	width:30%;
}
	
/* changes */
	
#fullblock.gradient-image {
	padding-top:5vh;
}

#fullblock.gradient-image  img {
	width:90%;
	height:30vh;
}

#fullblock.gradient-image #halfblock {
	width:49%;
	padding:2% 0;
}

#fullblock.gradient-image  #halfblock #twothirdsblock {
	width:90%!important;
	margin-bottom:10%!important;
	height:14vh;
}
	
#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock #inset {
	width:96%;
	padding:2%;
}
	
#fullblock.gradient-image  #halfblock:nth-of-type(1) #twothirdsblock {
	margin-left:0!important;
}

#fullblock.cover-image #halfblock #inset {
	width:96%;
	padding:2%;
}
	
#fullblock.cover-image #halfblock {
	bottom:5%;
}

#fullblock.cover-image img {
	height:30vh;
}

}

@media only screen and (min-width: 821px) and (max-width: 1024px){
	#gallery #thirdblock{
	width:50%;
	}
	
	*{border:0px solid white;}
	
	button {
		font-size:12px;
	}
	
	#logo {
		width:19.5%;
	}
	
	#logo a img {
		width:100%;
	}
	
	#sidewrapper {
		width:79.5%;
	}
	
	#navwrapper {
		width:74.5%;
	}
	
	#nav li {
		padding:5px;
	}
	
	#nav li a {
		font-size:1.3vw;
		padding:10px 5px;
	}
	
	#header #sidewrapper #sociallinks {
		margin-left:0%;
		width:3%;
	}
	
	#front #main #fullblock:nth-of-type(2) img {
		height:50vw;
		width:100%;
		object-fit:cover;
	}
	
	#front #main #fullblock:nth-of-type(2) #halfblock {
		width:49%;
	}
	
	#front #main #fullblock:nth-of-type(2) #twothirdsblock:not(#halfblock #twothirdsblock){
		top:0;
	}
	
	#front #main #fullblock:nth-of-type(3) #twothirdsblock p {
		font-size:16px;
	}
	
	#front #main #fullblock:nth-of-type(5) img {
		height:30vw;
	}
	
	#front #main #fullblock:nth-of-type(5) #halfblock {
		width:64.5%;
		bottom:15%;
		left:19.5%;
		right:0;
	}
	
	#front #main #fullblock:nth-of-type(6) {
		padding:3% 0;
	}
	
	#front #main #fullblock:nth-of-type(6) #thirdblock img {
		width:80%;
	}
	
}

@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:19.5%;
	padding:2% 0;
}

#logo a img {
	width:100%;
}

#sidewrapper {
	width:79.5%;
}

#navwrapper {
	width:78.5%;
}

#nav li {
	padding:5px;
}

#nav li a{
	font-size: .9vw;
	padding:10px 5px;
}

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

#header #sidewrapper #sociallinks{
	margin-left:0;
	width:3%;
	text-align:left;
}

#header #sidewrapper #sixthblock {
	width:14%!important;
	margin-left:2%;
}

button {
	font-size:16px!important;
	padding:12px 10px!important;
}

#gallery, #gallery img, #gallery #overlay{
	height:45vw
}
	
#gallery #halfblock {
	margin-top:12%;
}

#long-gallery, #long-gallery img, #long-gallery #overlay {
	height:40vw;
}
	
#gallery #twothirdsblock #inset p, #long-gallery #twothirdsblock #inset p {
	line-height:normal;
}

#gallery #twothirdsblock #inset p:nth-of-type(1), #gallery #twothirdsblock #inset p:nth-of-type(2), #long-gallery #twothirdsblock #inset p:nth-of-type(1), #long-gallery #twothirdsblock #inset p:nth-of-type(2), #gallery #halfblock #inset p{
	font-size:3vw!important;
}

#gallery #twothirdsblock #inset p:nth-of-type(3){
	font-size:2vw!important;
}

#front #main #fullblock:nth-of-type(2) img {
	height:70vw;
	width:100%;
	object-fit:cover;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock {
	width:49%!important;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock p strong {
	font-size:1.5vw;
}

#front #main #fullblock:nth-of-type(2) #twothirdsblock #halfblock #twothirdsblock p {
	font-size:1.3vw;
	line-height:normal;
}


#front #main #fullblock:nth-of-type(3) #twothirdsblock p {
	font-size:16px;
}

#front #main #fullblock:nth-of-type(5) #halfblock {
	width:64.5%!important;
	left:19.5%!important;
	right:0;
	bottom:15%!important;
}

#front #main #fullblock:nth-of-type(5) img {
	height:30vw!important;
}

#front #main #fullblock:nth-of-type(6) * {
	border:0px solid black;
}

#front #main #fullblock:nth-of-type(6) {
	padding:4% 0;
}

#front #main #fullblock:nth-of-type(6) #twothirdsblock #thirdblock img {
	width:80%!important;
}
	
/*changes */
	
#fullblock.gradient-image img {
	height:60vw;
	width:100%;
	object-fit:cover;
}

#fullblock.gradient-image #twothirdsblock #halfblock {
	width:49%!important;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock p strong {
	font-size:1.5vw;
}

#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock p {
	font-size:1.3vw;
	line-height:normal;
}
	
#fullblock.gradient-image #twothirdsblock #halfblock #twothirdsblock {
	height:12vw!important;
}
	
}

	/* end media mobile screen */