@media screen and (max-width:1115px) {

/* Hide the 'normal nav and show the mobile nav */
	.js #menu {
		display:none;
	}
	.js .slicknav_menu {
		display:block;
	}
	/* End of show/hide main nav */
	
	#topnav, #cookiebar {
		display: none;
	}
	.logo {
		width: 100%;
	}
}

/* Medium screens */
@media screen and (max-width:48em){
	.sideborder {
	border-left: none;
}
#cssmenu li.has-sub {
	margin-top: 0px;
}

#contentleft {
	padding-right: 0px;
}
#contentright {
    padding-left: 0px;
}
#topnav {
	margin-top: 20px;
}
.footericons {
	text-align: left;
}
.categoryleadtext {
	margin-left: 0px;
}
.mini-contacts {
	text-align: center;
}
.mini-contacts li {
	margin: 0px 10px 5px 10px;
}
ul.social-icons li {
	float: none;
	margin: 0px 5px 0px 0px;
}
.homecontentcontainer {
	padding: 0px 20px !important; 
}
}

@media screen and (max-width:770px){
.contentcontainer {
    display: -moz-box;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-moz-box-orient: vertical;
	-webkit-box-orient: vertical;
	-webkit-flex-flow: column;
	-ms-flex-direction: column;
	flex-flow: column;
}
.sidenavcont {
    -moz-box-ordinal-group: 2;
	-webkit-box-ordinal-group: 2;
	-webkit-order: 2;
	-ms-flex-order: 2;
	order: 2;
}
.pagetext {
    -moz-box-ordinal-group: 1;
	-webkit-box-ordinal-group: 1;
	-webkit-order: 1;
	-ms-flex-order: 1;
	order: 1;
}
}

@media screen and (max-width:750px){
	.homevideo {
    margin-top: 0px;
}
.homevideomessages {
	font-size: 28px;
}
.video-overlay {
	display: none;
}
.homevideo figure, li.navsearchbox {
	display: none;
}
.homelargephoto {
	display: block;
}
}
/* Mobile Only */
@media screen and (max-width:35.5em){
	
.tabs label {
	display: block;
	border: 1px solid #ddd;
}
.tabs input:checked + label {
	border: none;
}
#homemainContent .contentcontainer .homepageintro {
	padding-right: 0px;
}
.mini-contacts li:first-child {
	margin-right: 0px;
}
#topsocial {
	padding-top: 10px;
}
.social-icons  {
	display: none;
}
.mini-contacts .address {
	background-image: none;
	padding-left: 0px;
}
.backgroundone h2, .backgroundtwo h2, .backgroundfour h1, h2.section-title, .content-boxes h3 {
    font-size: 24px;
    font-weight: 400;
}
.content-boxes {
	padding: 5px 0px;
}
.backgroundone, .backgroundtwo, .backgroundthree, .backgroundfour {
	padding-top: 10px;
	padding-bottom: 10px;
}
.content-boxes h2 {
	font-size: 12px;
}
.content-boxes > ul > li {
	padding: 15px 10px;
	min-height: 135px;
}
.owl-testimonial {
	padding: 0px;
	margin: 0px;
}
blockquote {
	margin: 0px;
}
.item blockquote ::before, .item blockquote ::after, h2.section-title::before, h2.section-title::after {
    display:none;
}
h2.section-title span {
	padding: 0px;
}
.floatleft {
	max-width: 100px;
}
.content-boxes > ul > li {
	width: 100%;
}
.extra-inner h4 {
	font-size: 12px !important;
	margin-bottom: 5px;
	font-weight: 300;
}
.extra-inner p {
	line-height: 1.3em;
}

.pagetext h1 {
    font-size: 24px;
}
.headmasterphoto {
	max-width: 200px;
}
.homevideomessages {
	font-size: 17px;
}
.desktoptermdates {
	display: none;
}
.mobiletermdates {
	display: block;
}
.homeheadmasterpic {
	padding-right: 0px;
	padding-bottom: 15px;
	width: 100%;
}
.homeopeningtext {
	width: 100%;
}
.textphotos img {
	max-width: 130px;
}
.simstable img {
	width: 130px;
}
}

@media screen and (max-width:820px){
.headersocial   {
	display: none;
}
.headercontact {
	width: 100%;
}
}