/*
	Theme Name: GrittingServices
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: ChrisPDC
	Author URI: glasgowpdc.co.uk
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Ubuntu);

p {font-family: 'Ubuntu', sans-serif; font-size:18px;}
span, a, p, h1, h2, h3, h4, ul, li {font-family: 'Ubuntu', sans-serif;}
.main-box a {color:#5472d2;text-decoration:underline;}
.vc_images_carousel{width:100% !important;}
.icon-prev{font-size:60px !important; margin-top:-30px !important;}
.icon-next{font-size:60px !important; margin-top:-30px !important;}

.numIco{margin-right: 3px;}
.flex-direction-nav a{z-index:0;}
#mainLogo{
	margin-top:26px;
	margin-bottom:12px;
	margin-left:35px;
	max-width:70%;
	width:300px;
}
.logoGrid {
    background-color: white;
    max-width: 412px;
    width: 90%;
    height: 95px;
    margin: 0 auto !important;
border-radius: 15px;}
.footer {
    text-align: center;
	position: fixed;
	bottom: 0;
	color: #f7f7f7;
	width: 100%;
	background-color:rgba(87, 87, 87, 0.5);
    /*margin-top: 20px;*/
}

.copyright{	margin-bottom:0;
	padding:1px 0; font-size:11px !important;}

.main-box {
	margin-bottom:100px; margin-top:160px;
}

.content-box{
	background-color:rgba(255,255,255,0.7);  
	border-top-style: solid; 
	border-top-width: 14px;
	border-radius:4px;
	border-top-color: #5472d2;
	border-bottom-style: solid; 
	border-bottom-width: 5px;
	border-bottom-color: rgb(221, 221, 221);
}

.forecast-box{
text-align:center; padding:0; padding-top:15px; padding-bottom:5px; /*margin-bottom:100px;*/}

.icons-box{width: calc(33.3% - 30px); margin-left:30px; text-align:center; padding:0; padding-top:15px; padding-bottom:5px; }

#menu-primary {
    display: block;
    text-align: center;
    width: 100%;}

.navbar-toggle{margin-top:20px !important; margin-right:0px !important;}

.navbar-nav>li {float:none !important;}
.navbar-nav>li>a {padding-top:10px !important; padding-bottom:10px; padding-left: 60px; }



.navbar {
    background-color:white !important;
    border-style:none;
    border-bottom-style: solid;
    border-width: 14px;
    border-color: #5472d2;
        width: 100%;
    z-index: 1;
    position:fixed;
    border-radius:0px !important;
    
}

.navLinks a {font-size:14px;}

nav a { font-weight:bold;}

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	height:100%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444; height:100%; overflow-x: hidden; margin-bottom:150px;
}

/* clear */ 
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#888;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	/*max-width:1280px;
	width:95%;
	margin:0 auto;*/
   min-height:100%;
   position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (max-width:480px) {
.numTwo{display:none;}
.numOne{display:inline-block !important;}
/*body:before {
  content: "";
  display:  block;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url(http://lhnow.co.uk/gritting/wp-content/uploads/2016/08/IMG_2711.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#supersized{display:none;}*/
}
@media only screen and (min-width:768px) {
.nav li {display:inline-block !important; }
.nav>li>a {padding:10px 2px; font-size:13px;}


}
@media only screen and (min-width:655px) and (max-width:768px){#supersized li{top:100px !important;}}
655 768
@media only screen and (max-width:768px) {
.icons-box{width:83.3%; margin-top:50px; margin-left:8.3%; margin-bottom:30px;}
.main-box{margin-top:230px;}
#nextslide{display:none !important;}
#prevslide{display:none !important;}
}

@media only screen and (min-width:900px) {
.nav>li>a {padding:10px 5px;}
/*.nav a {font-size:12px;}*/
}

@media only screen and (min-width:1095px) {
.nav>li>a {padding:10px 7px;}
/*.nav a {font-size:12px;}*/
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1185px) {
.nav>li>a {padding:10px 10px;}
}
@media only screen and (min-width:1200px) {
.forecast-box{width: calc(25% - 30px) !important; margin-top: 80vh; margin-left:15px; text-align:center; padding:0; padding-top:15px;}
.icons-box{width: calc(25% - 30px); margin-left:15px; margin-top:15px; text-align:center; padding:0; padding-top:15px; margin-bottom:20vh;}
.main-box{border-width: 14px;margin-top: 80vh;}
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
