/*  General */
@media only screen and (max-width: 1598px) {
	#blog .row {
    	margin-left: -20px;
    	margin-right: -20px;
	}
	#website .col-md-5 img {
    	margin-top: -100px;
	}
	#grid-boxes .section-heading {
    	font-size: 2.5em;
    	margin-bottom: 30px;
	}
	#grid-boxes .lead {
    	font-size: 1.4em;
		line-height: 1.7;
	}
	#grid-boxes .equal-height {
		min-height: 13em;
	}
	#minibus .section-heading, #usb .section-heading {
    	font-size: 4.5em;
	}
}

/*  Large Desktop */
@media only screen and (max-width: 1398px) {
	.blog-grid {
   		height: 730px;
	}
	.blog-grid .grid-block-4 {
    	top: -100px;
	}
	.blog .reg-grid .blog-img-sml {
		height: 300px;
		margin-top: -90px;
	}
	#website .col-md-5 img {
    	margin-top: 0;
	}
	#intro .lead br {
		display: none;
	}
	#header .header-content .header-content-inner h1 {
    	font-size: 5.5em;
	}
	#header .header-content .header-content-inner {
		padding-top: 0;
	}
	/* 404 */
	#header.four-oh-four-bkg .header-content .header-content-inner h1 {
    	font-size: 8em;
	}
	#creative .slick-slide {
		width: auto;
	}
	.slick-slide img {
		width: auto !important;
		max-width: none !important;
		max-height: 250px !important;
	}
	#minibus .section-heading, #usb .section-heading {
    	font-size: 3.5em;
	}
	#masonry-grid .overlay img {
    	width: 30%;
		margin-bottom: 10px;
	}
	#masonry-grid .text {
    	width: 80%;
	}
	#masonry-grid .text p {
		font-size: 14px;
	}
} 

/*  Medium Desktop */
@media only screen and (max-width: 1198px) {
	#header {
		height: 400px;
	}
	#header .header-content .header-content-inner h1 {
		font-size: 4em;
		letter-spacing: -1px;
	}
	#header.websites-bkg .header-content .header-content-inner h1 {
    	font-size: 4.2em;
	}
	/* 404 */
	#header.four-oh-four-bkg .header-content .header-content-inner h1 {
    	font-size: 5em;
		margin-bottom: 10px;
	}
	#header.four-oh-four-bkg .header-content .header-content-inner h2 {
    	font-size: 2.2em;
	}
	
	.blog-grid {
   		height: 530px;
	}
	.blog-grid .col-md-6 {
    	height: 101.8%;
	}
	.blog-grid .grid-block-4 {
    	top: -70px;
	}
	.blog .reg-grid .blog-img-sml {
		height: 250px;
		margin-top: -60px;
	}
	#services .fa-5x {
    	font-size: 4.65em;
	}
	#website .col-md-5 img {
    	margin-top: 50px;
	}
	#creative .slick-slide {
		width: auto;
	}
	.slick-slide img {
		width: auto !important;
		max-width: none !important;
	}
	#grid-boxes .equal-height {
		min-height: 19em;
	}
	#minibus .section-heading, #usb .section-heading {
    	font-size: 3em;
	}
	#managed-servers .server-box {
    	min-height: 685px;
	}
	.map-responsive {
    	padding-bottom: 50%;
	}
} 

/*  Small Desktop */
@media only screen and (max-width: 998px) {
	.blog-grid .grid-block-2 {
		position: relative;
    	height: 50%;
    	top: 10px;
	}
	.blog-grid .grid-block-3 {
		position: relative;
    	height: 50%;
    	top: 10px;
	}
	.blog-grid .grid-block-4 {
		position: relative;
    	height: 50%;
    	top: 20px;
	}
	.blog-grid .grid-block-5 {
		position: relative;
    	height: 50%;
    	top: 20px;
	}
	.blog .post .padding-right-xl {
		padding-right: 15px;
	}
	.reg-grid:nth-child(5) {
		margin-top: 0;
	}
	.reg-grid:nth-child(6) {
		margin-top: 0;
	}
	.blog .reg-grid .blog-img-sml {
		margin-top: 30px;
	}
	.reg-grid:nth-child(5) .blog-img-sml {
		margin-top: 0;
	}
	.reg-grid:nth-child(6) .blog-img-sml {
		margin-top: 0;
	}
	.reg-grid:nth-child(3) .blog-item {
    	margin-bottom: 10px;
	}
	.reg-grid:nth-child(4) .blog-item {
    	margin-bottom: 10px;
	}
	.service-box h3 {
   		margin-top: 20px !important;
  	}
	#services h3 {
    	font-size: 1.4em;
    	margin-bottom: 10px;
	}
	#need-it-now h2.lrg {
    	font-size: 2.5em;
    	line-height: 1.4em;
	}
	#website .col-md-5 img {
    	margin-top: -250px;
		margin-bottom: 50px;
		max-width: 100%;
	}
	#header {
		height: 400px;
	}
	#header .header-content .header-content-inner h1 {
		font-size: 3.5em;
		letter-spacing: -1px;
	}
	#header .header-content .header-content-inner {
		padding-top: 0;
	}
	/* 404 */
	#header.four-oh-four-bkg .header-content .header-content-inner h2 {
    	font-size: 2.3em;
	}
	.slick-slide img {
		width: 100% !important;
		max-width: none !important;
		max-height: 250px !important;
	}
	#easy-ordering .img-thumbnail {
		margin-bottom: 15px;
	}
	#easy-ordering .img-thumbnail {
		margin-bottom: 15px;
	}
	#easy-ordering {
		text-align: center;
	}
	#easy-ordering span.pull-left {
		float: none !important;
	}
	#easy-ordering p {
		margin-top: 0;
	}
	#easy-ordering p br {
		display: none;
	}
	#easy-ordering span {
		margin-right: 0;
	}
	.form-control {
    	padding: 15px;
    	font-size: 16px;
	}
	.btn {
    	padding: 10px 15px;
    	font-size: 16px;
	}
	.form-group {
    	margin-bottom: 15px;
	}
	input[type="file"] {
    	margin-bottom: 10px;
	}
	#grid-boxes .equal-height {
		min-height: 24em;
	}
	#minibus .section-heading, #usb .section-heading {
    	font-size: 2.8em;
	}
	#managed-servers .server-box {
    	min-height: 0;
	}
	#features-grid .ofsted-ready-bkg {
    	min-height: 275px;
		margin-bottom: 10px;
	}
	#features-grid .enhanced-seo-bkg {
    	min-height: 275px;
		margin-bottom: 10px;
	}
	#features-grid .shopping-cart-bkg {
    	min-height: 275px;
		margin-bottom: 10px;
	}
	#masonry-grid .text {
    	width: 85%;
	}
	#masonry-grid .text p {
		font-size: 13px;
		line-height: 1.2;
	}
	.map-responsive {
    	padding-bottom: 60%;
	}
}


/*  TABLET */
@media only screen and (max-width: 768px) {
	.container-fluid {
    	padding-right: 25px;
    	padding-left: 25px;
	}
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.5em;
	}
	h3 {
		font-size: 1.2em;
	}
	h4 {
		font-size: 1em;
	}
	p { 
		font-size: 1.1em;
	}
	
	.checkbox label {
    	font-size: 1.1em;
	}

	section {
    	padding: 50px 0;
  	}
  	section .section-heading {
  		font-size: 1.6em;
  		margin-bottom: 20px !important;
  	}
	section ul {
		margin: 0;
		padding: 0;
	}
	section ul.large li {
    	font-size: 1.3em;
    	line-height: 1.4;
	}
	
	#about-your-school::after {
    	border: 20px solid transparent;
		border-top-color: #ffffff;
	}
	#about-your-banner::after {
    	border: 20px solid transparent;
		border-top-color: #d7d7d7;
	}
	#other-information::after {
    	border: 20px solid transparent;
		border-top-color: #e6e6e6;
	}
	#submission::after {
    	border: 20px solid transparent;
		border-top-color: #f0f0f0;
	}
	#statistics::after {
    	border: 20px solid transparent;
		border-top-color: #C8102E;
	}
	
	.navbar-nav > li > a {
    	padding-top: 15px;
    	padding-bottom: 15px;
    	line-height: 10px;
	}
	.navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu > li > a {
    	padding: 5px 15px 5px 15px;
	}
	.dropdown-menu {
    	padding: 7px 0;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    	color: #fff;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
    	color: #fff;
		opacity: 0.7;
	}
	.dropdown-header {
    	color: #fff;
	}
	
	#header {
		height: 250px;
    	margin-top: 50px;
	}
	#header .header-content .header-content-inner h1 {
		font-size: 2.3em;
		letter-spacing: -1px;
	}
	#header.websites-bkg .header-content .header-content-inner h1 {
    	font-size: 3em;
	}
	#header .header-content .header-content-inner {
		padding-top: 0;
	}
	/* 404 */
	#header.four-oh-four-bkg .header-content .header-content-inner h1 {
    	font-size: 4em;
		margin-top: 0;
		margin-bottom: 10px;
	}
	#header.four-oh-four-bkg .header-content .header-content-inner h2 {
    	font-size: 1.5em;
	}
	
	#about .lead {
    	font-size: 1.8em !important;
    	line-height: 1.4em !important;
	}
  	#contact .lead {
		font-size: 1.1em;
		line-height: 1.5;
  	}
	.lead {
		font-size: 1.1em;
		line-height: 1.5;
	}
	.lead-lrg {
		font-size: 1.2em;
		line-height: 1.5;
	}
	#statistics .lead {
    	font-size: 1.1em;
    	line-height: 1.5;
    	margin-top: 0;
	}
	#need-it-now h2.lrg {
    	font-size: 1.5em;
    	line-height: 1.4em;
	}
  	.service-box {
    	margin: 25px auto 0 !important;
  	}
	.service-box h3 {
   		margin-top: 20px !important;
  	}
	#services h3 {
    	font-size: 1.4em;
    	margin-bottom: 10px;
	}
  	.service-box p {
    	font-size: 0.9em !important;
  	}
  	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
		font-size: 13px !important;
    	line-height: 1.1;
    	display: block;
    	margin-bottom: 5px;
  	}
  	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    	font-size: 15px !important;
    	line-height: 1.1;
  	}
	.blog .social-icons a {
    	font-size: 0.8em;
	}
	.blog-grid .col-md-6 {
   		height: 50%;
	}
	.blog-grid .grid-block-2 {
		position: relative;
    	height: 30%;
	}
	.blog-grid .grid-block-3 {
		position: relative;
    	height: 30%;
	}
	.blog-grid .grid-block-4 {
		position: relative;
    	height: 30%;
	}
	.blog-grid .grid-block-5 {
		position: relative;
    	height: 30%;
	}
	.blog .reg-grid .blog-img-sml {
		height: 160px;
	}
	.blog .blog-item h2 {
	    font-size: 1em;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.blog .blog-item p {
		font-size: 0.7em;
	}
	.blog .blog-item h4 {
		font-size: 0.9em;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.small-blogs {
		margin-bottom: 10px;
	}
	.related-blogs {
		margin-top: 60px;
	}
	.related-blogs .blog-image {
		height: 150px;
	}
	.blog .content-overlay {
		padding: 0 10px 0 10px;
	}
	#category-blog-row .blog-image {
		height: 150px;
	}
	.footer h3 {
		margin-top: 3px;
	}
	#website .col-md-5 img {
    	margin-top: -250px;
		max-width: 100%;
	}
	#website .img-box {
		height: 150px;
	}
	.slick-slide img {
		width: auto !important;
		max-width: none !important;
		max-height: 250px !important;
	}
	#statistics .infographic-caption {
    	font-size: 0.9em;
   		line-height: 1.2em;
	}
	#statistics .infographic-number {
    	font-size: 2em;
	}
	#statistics .col-xs-4:nth-child(2) img {
		padding-bottom: 10px;
	}
	#statistics .col-xs-4:nth-child(3) {
    	margin: 24px auto 0 auto;
	}
	#statistics .col-xs-4:nth-child(3) img {
		padding-bottom: 10px;
	}
	#statistics .col-xs-4:nth-child(4) {
    	margin: 14px auto 0 auto;
	}
	#statistics .col-xs-4:nth-child(4) img {
		padding-bottom: 20px;
	}
	.btn-group-justified > .btn, .btn-group-justified > .btn-group { 
		display: table-row; 
	}
	#grid-boxes .section-heading {
    	font-size: 1.6em;
    	margin-bottom: 20px;
	}
	#grid-boxes .lead {
    	font-size: 1.1em;
		line-height: 1.5;
	}
	#grid-boxes .equal-height {
		min-height: 15em;
	}
	#minibus .section-heading, #usb .section-heading {
    	font-size: 1.9em;
	}
	#casestudies .align-items-center {
  		-ms-flex-align: initial !important;
  		align-items: initial !important;
	}
	#casestudies .d-flex {
  		display: initial !important;
	}
	#casestudies .section-heading {
    	margin-bottom: 0;
    	font-size: 1.6em;
		text-align: center;
	}
	#casestudies a {
		margin-bottom: 20px;
	}
	#features-grid .col-xs-6 {
    	margin-bottom: 30px;
	}
	#features-grid .ofsted-ready-bkg {
    	min-height: 205px;
		background-position: 60%;
	}
	#features-grid .enhanced-seo-bkg {
    	min-height: 205px;
		background-position: 60%;
	}
	#features-grid .shopping-cart-bkg {
    	min-height: 205px;
    	background-position: 75%;
	}
	#features-grid .packaging-bkg {
    	min-height: 205px;
    	background-position: 60%;
	}
	#masonry-grid .col {
    	flex: 50%;
    	max-width: 50%;
    }
	#masonry-grid .text p {
		font-size: 12px;
	}
}


/*  TABLET LANDSCAPE */
@media only screen and (max-width: 768px) and (orientation:landscape) {
	#header {
		height: 300px;
	}
	#header .header-content .header-content-inner h1 {
		margin-top: 30px;
    	font-size: 3.5em;
  	}
	.service-box h3 {
   		margin-top: 0 !important;
  	}
	#services h3 {
    	font-size: 1.4em;
    	margin-bottom: 10px;
		margin-top: 0;
	}
	.slick-slide img {
		width: auto !important;
		max-width: none !important;
		max-height: 250px !important;
	}
}


/*  MOBILE */
@media only screen and (max-width: 480px) {
	.container-fluid {
    	padding-right: 25px;
    	padding-left: 25px;
	}
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.5em;
	}
	h3 {
		font-size: 1.2em;
	}
	h4 {
		font-size: 1em;
	}
	p { 
		font-size: 1.1em;
	}
	.small, small {
    	font-size: 75%;
	}
	
	#header .header-content .header-content-inner h1 {
		margin-top: 0;
    	margin-bottom: 10px;
    	font-size: 3.5em;
    	line-height: 0.95em;
    	letter-spacing: -4px;
  	}
	#header.websites-bkg .header-content .header-content-inner h1 {
    	font-size: 2.1em;
	}
  	section {
    	padding: 30px 0;
  	}
	section .section-heading {
  		font-size: 1.5em;
  		margin-bottom: 20px !important;
  	}

	#need-it-now h2.lrg br {
		display: none;
	}
	
	#about .lead {
    	font-size: 1.1em !important;
    	line-height: 1.5em !important;
	}
	#contact .lead {
		font-size: 1.1em;
		line-height: 1.5;
  	}
	#contact p {
		margin-bottom: 10px;
	}
	.fa-5x {
		font-size: 4em;
	}
  	.service-box {
    	margin: 25px auto 0 !important;
  	}
  	.service-box h3 {
   		margin-top: 0 !important;
  	}
	#services h3 {
    	font-size: 1.4em;
    	margin-bottom: 10px;
	}
  	.service-box p {
    	font-size: 0.9em !important;
  	}
  	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
		font-size: 13px !important;
    	line-height: 1.1;
    	display: block;
    	margin-bottom: 5px;
  	}
  	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    	font-size: 15px !important;
    	line-height: 1.1;
  	}
  	.center-icon {
    	text-align: center;
  	}
	.small-blogs {
		margin-bottom: 10px;
	}
	
	.blog .social-icons a {
    	font-size: 0.8em;
	}
	.blog-grid .col-md-6 {
   		height: 50%;
	}
	.blog-grid .grid-block-2 {
		position: relative;
    	height: 30%;
	}
	.blog-grid .grid-block-3 {
		position: relative;
    	height: 30%;
	}
	.blog-grid .grid-block-4 {
		position: relative;
    	height: 30%;
	}
	.blog-grid .grid-block-5 {
		position: relative;
    	height: 30%;
	}
	.blog .reg-grid .blog-img-sml {
		height: 160px;
	}
	.blog .blog-item h2 {
	    font-size: 1em;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.blog .blog-item p {
		font-size: 0.7em;
	}
	.blog .blog-item h4 {
		font-size: 0.9em;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.related-blogs {
		margin-top: 60px;
	}
	.related-blogs .blog-image {
		height: 120px;
	}
	.blog .content-overlay {
		padding: 0 10px 0 10px;
	}
	.footer h3 {
		font-size: 1em;
		margin-top: 3px;
	}
	#header {
		height: 250px;
	}
	#header .header-content .header-content-inner h1 {
		font-size: 1.5em;
		letter-spacing: -1px;
	}
	#header.websites-bkg {
    	margin-right: -50px;
	}
	#header.four-oh-four-bkg {
    	margin-right: -50px;
	}
	#header .header-content .header-content-inner {
		padding-top: 0;
	}
	/* 404 */
	#header.four-oh-four-bkg .header-content .header-content-inner h1 {
    	font-size: 2em;
		margin-top: 0;
		margin-bottom: 10px;
	}
	#header.four-oh-four-bkg .header-content .header-content-inner h2 {
    	font-size: 1em;
		margin-top: 0;
	}
	
	.slick-slide img {
		width: auto !important;
		max-width: none !important;
		max-height: 250px !important;
	}
	#website .img-box {
		height: 120px;
	}
	
	#casestudies {
    	padding: 30px 0;
	}

	#statistics .infographic-caption {
    	font-size: 0.9em;
   		line-height: 1.2em;
	}
	#statistics .infographic-number {
    	font-size: 2em;
	}
	#statistics .col-xs-4:nth-child(2) img {
		padding-bottom: 10px;
	}
	#statistics .col-xs-4:nth-child(3) {
    	margin: 24px auto 0 auto;
	}
	#statistics .col-xs-4:nth-child(3) img {
		padding-bottom: 10px;
	}
	#statistics .col-xs-4:nth-child(4) {
    	margin: 14px auto 0 auto;
	}
	#statistics .col-xs-4:nth-child(4) img {
		padding-bottom: 20px;
	}

	#category-blog-row .small-blogs h4 {
    	font-size: 0.9em;
	}
	#category-blog-row .blog-image {
		height: 120px;
	}
	.partner-logos img {
		width: 20px;
	}
	#minibus .section-heading, #usb .section-heading {
    	font-size: 1.6em;
		text-align: center;
		margin-bottom: 0 !important;
	}
	#minibus .col-lg-4, #usb .col-lg-4 {
		padding: 0 !important;
	}
	.align-items-center {
  		-ms-flex-align: initial !important;
  		align-items: initial !important;
	}
	.d-flex {
  		display: initial !important;
		margin: 0;
	}
	#features-grid .ofsted-ready-bkg {
    	min-height: 210px;
	}
	#features-grid .enhanced-seo-bkg {
    	min-height: 210px;
	}
	#features-grid .shopping-cart-bkg {
    	min-height: 210px;
	}
	#features-grid .feature-item {
		height: 105px;
    	width: 133px;
	}
	#features-grid .feature-item img {
		width: 100%;
	}
	#features-grid .feature-item.unlimited-pages img {
    	margin-top: -105px;
	}
	#features-grid .feature-item.photo-galleries img {
   		margin-top: -210px;
	}
	#features-grid .feature-item.calendar img {
    	margin-top: -315px;
	}
	#features-grid .feature-item.staff-vacancies img {
    	margin-top: -420px;
	}
	#features-grid .feature-item.video img {
    	margin-top: -525px;
	}
	#features-grid .feature-item.analytics img {
    	margin-top: -630px;
	}
	#features-grid .feature-item.quick-links img {
    	margin-top: -735px;
	}
	#features-grid .feature-item.scheduled-publishing img {
   		margin-top: -840px;
	}
	#features-grid .feature-item.social-integration img {
    	margin-top: -945px;
	}
	#features-grid .feature-item.mobile-ready-sites img {
    	margin-top: -1050px;
	}
	#features-grid .feature-item.ssl-secure-site img {
    	margin-top: -1155px;
	}
	#features-grid .feature-item.user-training img {
   		margin-top: -1260px;
	}
	#features-grid .feature-item.regular-backups img {
    margin-top: -1365px;
	}
	#features-grid .feature-item.doc-library img {
    margin-top: -1470px;
	}
	#ticks {
    	padding: 20px 0;
	}
	#ticks h3 {
		font-size: 16px;
		margin-left: 35px;
    	text-transform: uppercase;
		margin-top: 10px;
	}
	#ticks h3 span {
		font-size: 45px;
		position: absolute;
		display: inline-block;
		margin-top: -7px;
		left: 12px;
	}
	#masonry-grid .overlay img {
    	width: 50%;
    	margin-bottom: 0;
	}
	#masonry-grid .text p {
		display: none;
	}
}


/*  MOBILE LANDSCAPE */

@media only screen and (min-device-width: 480px) 
                   and (max-device-width: 640px) 
                   and (orientation: landscape) {
	#header .header-content .header-content-inner h1 {
    	font-size: 2.3em;
	}
	.service-box h3 {
   		margin-top: 0 !important;
  	}
}