/* 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: 4% 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: black;
}	

#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;
}
	
#topnav li {
	padding:2%;
	list-style-type:none;
	display:inline-block;
}
	
#topnav #page{
	padding:2%;
	width:96%;
}


#bedfordshirelogo, #logo {
	width: 34.5%;
	padding: 6% 0;
}

#bedfordshirelogo {
    border: inherit;
    margin:  0 auto 0 auto;
background: transparent !important;
}



#bedfordshirelogo a img {
	/*
    width: 50%;*/
	width: auto;
    height: 15.5vw;
}

#logo a img {
	width: auto;
	height: 15vw;
}


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

#fullblock:nth-of-type(4) #halfblock a{
	padding: 1% 0;
	display:block;
}

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

#whiteoverlay {
	background: linear-gradient(90deg, rgb(221 212 212 / 0%) 0%, rgb(255 255 255 / 25%) 0%);
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2;
	bottom: 0%;
} 

#gallery img {
    width:  100%;
    object-fit: cover;
	height: 50vh;
}

#gallery #inset {
	z-index:1;
}

#gallery #halfblock {
    border: inherit;
    position: absolute;
    left: 0;
    bottom: 0;
	z-index: 4;
}

#gallery #halfblock #inset span {
	font-size: 26px;
}

#gallery #halfblock button {
	border-radius: var(--circular);
	padding: 15px 30px;
	font-size: 16px;
	margin-bottom: 15%;
}


#gallery #quarterblock button, #navwrapper {
	display: none;
}


#front #fullblock {
	padding: 4% 0;
}


#front #fullblock #sixthblock {
	border: 10px solid var(--light-blue);
	width: 79.5%;
	margin: 5% 0;
	padding: 3%;
}

#footer {
	border-top:5px solid var(--light-blue);
}

#footer img {
	height: 14vw;
	padding: 5% 1% 2% 0;
}

}

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

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

#topnav #page #fullblock p {
	margin: 0;
}
	
#topnav li {
	padding:1.5%;
	list-style-type:none;
	display:inline-block;
}
	
#topnav #page{
	padding:2%;
	width:96%;
}

#topnav #page {
	padding: 1%;
}

#bedfordshirelogo, #logo {
	width: 48.5%;
	padding: 4% 0;
	text-align: center;
}

#bedfordshirelogo {
    border: inherit;
    margin:  0 auto 0 auto;
background: transparent !important;
}


#bedfordshirelogo img {
	width: auto;
	height: 15.5vw;
}

#logo img {
	width: auto;
	height: 15vw;
}


#fullblock:nth-of-type(4) {
	width: 100%;
	padding: 2% 0;
}

#fullblock:nth-of-type(4) #halfblock, #sidewrapper{
	width: 49.5%;
}

#fullblock:nth-of-type(4) #halfblock a {
	padding: 0 2.5%;
}

#sociallinks li {
	padding: 0 3%;
    font-size: 1.2em;	
}

#gallery {
	height: 60vw;
}

#gallery #quarterblock {
	display: none;
}

#front #fullblock #sixthblock {
	padding: 1% 2%;
	margin: 3% 3%;
}

#gallery #halfblock {
	width: 99.5%;
	position: absolute;
	left: 0;
}

#gallery #halfblock #inset span {
	font-size: 3.5vw;
}


#footer {
	border-top: 5px solid var(--light-blue);
}

#footer #thirdblock, .halfpadded {
	border: none;
}

#footer img {
	width: auto;
	height: 9vw;
	padding: 2% 1%;
}

	}


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

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

#fullblock:nth-of-type(4) #halfblock, #sidewrapper {
	width: 49.5%;
}

#fullblock:nth-of-type(4) #halfblock a {
	display: inline;
	padding: 0 2%;
}

#sociallinks li {
	font-size: 1.2em !important;
	padding: 0 3%;
}

#gallery img {
	height: 55vh;
}

#front #fullblock #sixthblock {
    width: 16.5%;
    height: auto;
    margin: 0 2%;
    padding:1.5vw 4vw;
    border: 10px solid var(--light-blue);
}




}

@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;
}
	
#topnav li {
	font-size:16px;
	padding:1.5%;
}

#logo, #bedfordshirelogo{
	margin: 2% 0;
}

#bedfordshirelogo a img {
	width: auto;
	height: 6.5vw;
}

#logo a img {
	width: auto;
	height: 6vw;
}

#nav li a {
	font-size: 16px;
	padding: 0 5px;
}


#fullblock:nth-of-type(4) #halfblock a {
	padding: 1% 5%;
}

#sociallinks {
	width: 39.5%;
}

#gallery {
	height: 45vw;
}

#gallery #quarterblock button {
	right: -5vw;
	font-size: 16px;
	
}



}

	/* end media mobile screen */