/* Preloader */
#preloader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:#fff; /* change if the mask should have another color then white */
	z-index:1000; /* makes sure it stays on top */
}

#status {
	width:200px;
	height:200px;
	position:absolute;
	left:50%; /* centers the loading animation horizontally one the screen */
	top:50%; /* centers the loading animation vertically one the screen */
	background-image:url(https://www.roadsafetyheroes.co.uk/images/status.gif); /* path to your loading animation */
	background-repeat:no-repeat;
	background-position:center;
	margin:-100px 0 0 -100px; /* is width and height divided by two */
}

/* ~~~~~~~~~ layout ~~~~~~~~~~ */

#container {
	min-height: 100%; 
	height: auto !important; 
	height: 100%; 
}
.inner{
	width:920px;
	margin: 0 auto; 
}

.footer{
	width:100%; 
}

.innerContact{
	width:920px;
	margin: 0 auto; 
}

#main{
	border:6px solid #aa0063;
	background:#fff;
	padding:15px;
	margin-top:5px;
	-webkit-box-shadow: -1px 3px 3px 3px #666666;
    -moz-box-shadow: -1px 3px 3px 3px #666666;
	box-shadow: -1px 3px 3px 3px #666666;
}

#silhouette{
	background: url(../images/plantSilhouette.jpg) no-repeat 0;
	background-position: right bottom; 
	padding-bottom:120px;
}

#mainCopy{
	width:920px;
	background: url(../images/plantSilhouette.jpg) no-repeat 0;
	background-position: right bottom; 
}

#mainContact{
	width:920px;
	height:680px;
	background: url(../images/plantSilhouette.jpg) no-repeat 0;
	background-position: right bottom; 
}

#mainImage {
	height: 287px;
	width:570px;
	background:#fff;
}

#logo{
	height:130px;
	float:left;
}
#logoTag{
	float:right;
	margin:10px 0px 0 0;
	clear:right;
}

#newsItem {
	float:left;
	width:593px;
	border: 1px solid #dbdbdb;
	-webkit-box-shadow: -1px 2px 3px 1px #666666;
    -moz-box-shadow: -1px 2px 3px 1px #666666;
	box-shadow: -1px 2px 3px 1px #666666;
	padding:12px;
	margin:0px 15px 10px 2px;
}

#newsItem a{
	font-size:13px;
	color: #475765;
	text-decoration: none;
}

#newsItem a:hover{
	font-size:13px;
	color: #1d537f;
	text-decoration: none;
}

#newsItemCopy{
	margin-top:20px;
	width:570px;
}

#newsDate{
	float:right;
	margin: 0 20px 0 0;
	padding: 3px 9px 0 0px;
	font-size: 0.9em;
	color: #fff;
	height: 46px;
	width: 80px;
}

#newsDate p{
	float:right;
	margin-top:12px;
}

.readMore{
	font-size:11px;
	padding-top:20px;
	color:#000;
}
/* ~~~~~~~~~ header ~~~~~~~~~~ */

#page-header{ 
	background: url(../images/headerBg01.jpg) no-repeat 0;
	height:174px;
	margin-top:-3px;
}

#page-header .inner{
	height:380px;
}

#header-navigation{
	float:right;
	/*width:420px;*/
	width:420px;
}
#header-navigation img {
	margin:11px 4px 2px;
	float:right;
}

/* menu */

#main-navigation {font: 2.4em/1.2 georgia, 'times new roman', times, serif; width:920px; float: left; z-index:1010; height:33px; background: url(../images/menuBg01.png) repeat 0;}
#main-navigation ul { margin:0px 10px; padding:0px; }
#main-navigation li {display:block; float:left; margin:0 20px 0 20px; position:relative;  z-index:1010;}
#main-navigation li a {margin:1px 0px 5px 0px; text-decoration:none; border-bottom:none; color:#FFF; display:block; padding: 4px 10px 4px 10px}
#main-navigation li a:hover {text-decoration:none; color:#bebebe; border-bottom:none;}
#main-navigation li a.active {text-decoration:none; color:#bebebe; border-bottom:none;}

#main-navigation  li ul {margin:0px 0; padding:0px 6px; float:none; display:none;  position:absolute;  z-index:1010; left:0px; top:31px; width: 203px; background:#8c6878; }
#main-navigation  li ul li {float:none; border-bottom:1px dotted #333; border-right:none; list-style:none; margin:6px 0px 0 3px;}
#main-navigation  li ul li a {display:block; float:none !important;  z-index:1010; padding: 0px; color:#fff !important;  font-size:16px; border:none !important; text-transform:none;}
#main-navigation li ul li a:hover { text-decoration:none; color:#bebebe !important;} 
#main-navigation li ul li a.active { text-decoration:none; color:#bebebe; text-decoration:none; border-bottom:1px dotted #FFF !important;} 

#main-navigation ul li:hover ul { display:block; }
#main-navigation  ul ul:hover { display:block;    z-index:1010; }#nav { width:100%;  margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; }
#main-navigation  a { margin:0px 0px 1px 0px;  color:#ffffff; display:block; font-weight:normal; font-size:19px;}
#main-navigation  a:hover { text-decoration:none;  color:#ffffff; } 

/* sub menu */
#subpageRight {
	float: right;
	width: 250px;
	min-height: 340px;
	margin-right:10px;
	margin-top:3px;
	/*border-left:1px solid #d9d9d9;*/
}


.menu_div
{
	float: right;
	width: 100%;
}

.menu_div ul
{
	padding:0px;
	margin:0px;
	font-size:14px;
	list-style:none;
	text-indent:15px;
}
.menu_div ul li
{
	background:#e3e4c0;
	line-height:28px;
	margin: 10px 10px 10px 3px;
	position: relative;
}
.menu_div ul li a
{
	text-decoration:none;
	display:block;
}
.menu_div ul li a:hover
{
	background:#c3c4a6;
	text-decoration:underline;
}
.menu_div ul li#active
{
	background:#80a116;
}
.menu_div ul li a#active
{
	color:#fff;
}
.menu_div ul li a:hover
{
	color:#fff;
	text-decoration:underline;
	background:#80a116;
}

ul.sub-level {
    display: none;
	z-index:5;
}
 
li:hover .sub-level {
    border: #fff solid;
    border-width: 1px;
    display: block;
    position: absolute;
    right:235px;
    top: -3px;
	background:#fff;
}
 
ul.sub-level li {
    border: none;
    float:left;
	clear:left;
    width:180px;
	margin: 3px 3px;
}

/* ~~~~~~~~~ Product Filters ~~~~~~~~~~ */

.letterFilter{
	width:100%;
	margin: 10px 10px 10px 3px;
}

.letterButtons{
	width:12px; 
	margin:1px;
	background:#80a116;
	padding:5px;
	border:none;
	font-size:14px;
	float:left;
	text-align:center;
}

.letterButtons a{
	color:#fff;
	text-decoration:none;
}

.letterButtons a:hover{
	color:#fff;
	text-decoration:underline;
}

/* ~~~~~~~~~ Shopping cart ~~~~~~~~~~ */

.productListingsHolder{
	width:640px;
}

.productListings{
	background: url(../images/productListingBG.png) no-repeat 0;
	height:325px;
	width:192px;
	float:left;
	margin: 5px 0 15px 0;
	padding: 7px 10px;
}

.productListingsImage {
	float:left;
	width:187px;
	height:116px;
	overflow:hidden;
}
.productListingsImage img{
	min-height:117px;
	width:187px;
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.productListingsText{
	float:left;
	width:179px;
	margin:15px 7px;
}

.productListingsText h2{
	font-size:2.1em;
}

.productInnerText{
	height:140px;
}

#products-wrapper {
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	font: 12px Arial, Helvetica, sans-serif;
}
.products {
	width: 60%;
	float:left;
	margin-right: 10px;
}
.product {
	margin-bottom: 10px;
	height: 100px;
	background: #F0F0F0;
	padding: 10px;
	border: 1px solid #DDD;
	border-radius: 5px;
	box-shadow: 2px 2px 2px #F8F8F8;
	
}
.product .product-thumb {
	float: left;
	height: 100px;
	width: 100px;
	margin-right: 10px;
}
.product .product-content{
	overflow:hidden;
}
.product .product-content h3 {
	font-size: 18px;
	margin: 0px;
	padding: 0px;
	color: #707070;
}
.product .product-info {
	float: right;
	font-size: 13px;
	font-weight: bold;
	margin-top:10px;
}

.shopping-cart{
	width: 30%;
	float:left;
	background: #F0F0F0;
	padding: 10px;	
	border: 1px solid #DDD;
	border-radius: 5px;
	font-size: 12px;
}
.shopping-cart-summary{
	float:left;
	background: #F0F0F0;
	padding: 10px;	
	border: 1px solid #DDD;
	border-radius: 5px;
	font-size: 12px;
}
.shopping-cart h2, .view-cart h2, .shopping-cart-summary  h2{
	background: #E2E2E2;
	padding: 4px;
	font-size: 14px;
	margin: -10px -10px 5px;
	color: #707070;
}

.shopping-cart h3,.view-cart h3, .shopping-cart-summary  h3 {
	font-size: 13px;
	margin: 0px;
	padding: 0px;
}
.shopping-cart ol{
	padding: 1px 0px 0px 15px;
}
.shopping-cart .cart-itm, .view-cart .cart-itm{
	border-bottom: 1px solid #DDD;
	font-size: 11px;
	font-family: arial;
	margin-bottom: 5px;
	padding-bottom: 5px;
}
.shopping-cart .remove-itm, .view-cart .remove-itm{
	font-size: 14px;
	float: right;
	background: #D5D5D5;
	padding: 4px;
	line-height: 8px;
	border-radius: 3px;
}
.shopping-cart .remove-itm:hover, .view-cart .remove-itm:hover{
	background: #C4C4C4;
}
.shopping-cart .remove-itm a, .view-cart .remove-itm a{
	color: #888;
	text-shadow: 1px 1px 1px #ECECEC;
	text-decoration:none;
}

.check-out-txt{
	float:left;
	clear:left;
	margin: 0.8em 1em;
	font-size:14px;
}

/*** view cart **/
.view-cart{
	width: 573px;
	float:left;
	background: #F0F0F0;
	padding: 10px;	
	border: 1px solid #DDD;
	border-radius: 5px;
	margin-bottom: 15px;
}
.view-cart .p-price{
	float: right;
	margin-right: 10px;
	font-size: 12px;
	font-weight: bold;
}
.p-image{
	margin-right:10px;
	float:left;
}
.p-image img{
	width:80px;
}
.view-cart .cart-itm{
	float:left;
	width:545px;
}
.view-cart .product-info{
	width:375px;
	float:left;
}

#completeOrderForm{
	float:left;
	width:600px;
	display:none;
}
.required {
	color: red;
}

.paginate {
font-family:Arial, Helvetica, sans-serif;
	padding: 3px;
	margin: 3px;
	float:left;
	clear:both;
}

.paginate a {
	padding:2px 5px 2px 5px;
	margin:2px;
	border:1px solid #999;
	text-decoration:none;
	color: #666;
}
.paginate a:hover, .paginate a:active {
	border: 1px solid #999;
	color: #000;
}
.paginate span.current {
    margin: 2px;
	padding: 2px 5px 2px 5px;
		border: 1px solid #999;
		
		font-weight: bold;
		background-color: #999;
		color: #FFF;
	}
	.paginate span.disabled {
		padding:2px 5px 2px 5px;
		margin:2px;
		border:1px solid #eee;
		color:#DDD;
	}
	
/* ~~~~~~~~~ article ~~~~~~~~~~ */

#article {
	width: 100%;
	overflow: hidden;
	position: relative;
    min-height: 545px;
}

#section {
	float: left;
}

.sectionPhoto {
	width: 570px;
	min-height: 314px;
	border: 1px solid #dbdbdb;
	-webkit-box-shadow: -1px 2px 3px 1px #666666;
    -moz-box-shadow: -1px 2px 3px 1px #666666;
	box-shadow: -1px 2px 3px 1px #666666;
	padding:12px;
	margin:10px 15px 10px 10px;
	overflow: visible;
	float: left;
}

.pagination {
	display:none;
}


.sectionPhoto h2{
	letter-spacing:0px;
}

.sectionMap {
	height:595px;
	width: 540px;
	border: 1px solid #dbdbdb;
	-webkit-box-shadow: -1px 2px 3px 1px #666666;
    -moz-box-shadow: -1px 2px 3px 1px #666666;
	box-shadow: -1px 2px 3px 1px #666666;
	padding:12px;
	margin:10px 15px 10px 10px;
}

.sectionText {
	width: 600px;
	padding:0px;
	margin:6px 10px;
}

.sectionTextWide {
	width: 690px;
	padding:0px;
	margin:6px 10px;
}

.sectionTextExWide {
	width: 820px;
	padding:0px;
	margin:6px 10px;
}

#sectionHeader{
	background: none;
	min-height:234px;
	width:606px;
	padding:11px 13px;
	float:left;
	margin: 5px 0 15px 0;
	display:flex;
	align-items:flex-start;
	gap:13px;
	box-sizing:border-box;
	border: 1px solid #dbdbdb;
}

#sectionHeader img{
	flex-shrink:0;
	display:block;
	max-width:355px;
}

#sectionHeaderText{
	flex:1;
}

#sectionHeader2{
	background: url(../images/sectionHeaderBG2.jpg);
	width:606px;
	padding:11px 13px;
	float:left;
	margin: 5px 0 15px 0;
}

#sectionHeader2Text{
	float:left;
	width:600px;
}

.sectionHeader3{
	background: url(../images/sectionHeaderBG2.jpg);
	width:606px;
	padding:11px 13px;
	float:left;
	margin: 5px 0 15px 0;
	display:none;
}

#sectionHeaderText p{
	/*font-size:22px;*/
}

#sectionDetail{
	background: none;
	min-height:234px;
	width:883px;
	padding:11px 13px;
	float:left;
	margin: 5px 0 15px 0;
	display:flex;
	align-items:flex-start;
	gap:13px;
	box-sizing:border-box;
	border: 1px solid #dbdbdb;
}

#sectionDetail img{
	flex-shrink:0;
	display:block;
}

#sectionDetailText{
	flex:1;
}

#sectionDetail2{
	background: url(../images/sectionHeaderBG2.jpg);
	width:572px;
	padding:11px 13px;
	float:left;
	margin: 0 13px 15px 0;
}

#sectionDetail2Text{
	float:left;
	width:780px;
}

.fancybox-custom .fancybox-skin {
			box-shadow: 0 0 50px #222;
		}

#toolsGraphic{
	margin-right:23px;
	position: absolute; 
	bottom: 0;
	right:0;
}

#searchExcerpt{
	margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
	text-decoration:none;
	font-size:15px;	
	width:780px;
}

#searchExcerpt a {
	color:#1E630A;	
}

#slider1_container{
	position: relative;
	width: 570px;
	height: 290px;
}
.sliderWrapper{
	position: absolute;
	left: 0px; 
	top: 0px; 
	width:570px; 
	height:290px; 
	overflow: hidden;
}
.slideCaptionWrapper{
	position: absolute; 
	top: 240px;
	left: 0px;
	width: 570px;
	height: 50px;
}
.slideCaptionBG{
	position: absolute;
	top: 0px;
	left: 0px; 
	width: 570px;
	height: 50px; 
	background-color: Black;
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.slideCaptionText{
	position: absolute;
	top: 0px;
	left: 10px;
	width: 560px;
	height: 50px;
	color: White;
	font-size: 13px;
	font-weight: bold;
	line-height: 50px;
}
.slideCaptionText p{
	color: White;
}
/* ~~~~~~~~~ aside ~~~~~~~~~~ */

#aside {
	float:left;
	margin:15px 10px;
}

#pageAside {
	float:left;
	margin:1px 10px;
}

.homeLargeLinks {
	height:301px;
	width:266px;
	background: url(../images/homeLinksBg.png) no-repeat 0;
	padding:10px;
}

.homeLargeLinks img{
	margin:5px ;
}

.pageHeaders {
	height:203px;
	width:601px;
	background: url(../images/pageHeaderBG.png) no-repeat 0;
	padding:10px;
}

.pageHeaders img{
	margin:17px 0 0 2px;
}

#homeButtons, input[type=submit]{
	background:#80a116;
	padding:3px 6px 3px 6px;
	margin:5px;
	border:none;
	cursor:pointer;
}

#homeButtons a, input[type=submit]{
	color:#fff;
	text-decoration:none;
}

#homeButtons a:hover, input[type=submit]:hover{
	color:#fff;
	text-decoration:underline;
}

.homeButtons, input[type=submit]{
	background:#80a116;
	padding:3px 6px 3px 6px;
	margin:5px;
	border:none;
}

.homeButtons a, input[type=submit]{
	color:#fff;
	text-decoration:none;
}

.homeButtons a:hover, input[type=submit]:hover{
	color:#fff;
	text-decoration:underline;
}

input[type=submit]{
	font-size:14px;
}

/* ~~~~~~~~~ forms ~~~~~~~~~~ */

input[type=text],
input[type=password],
.textarea{
	margin:10px 0;
	padding: 5px;
	font-size:12px;
	border: 1px solid #798086;
	background:#fff;
}

input[type=text]:hover,
input[type=password]:hover,
.textarea:hover{
	margin:10px 0;
	padding: 5px;
	font-size:12px;
	border: 1px solid #3c85c1;
	background:#fff;
}

input[type=text]:focus,
input[type=password]:focus,
.textarea:focus{
	margin:10px 0;
	padding: 5px;
	font-size:12px;
	border: 1px solid #bb1d1d;
	background:#fff;
}


.search_bar {
		width:965px;
		height:auto;
		float:left;
		position:relative;
		left:-17px;
}


/* ~~~~~~~~~ footer ~~~~~~~~~~ */
			
#footer {
	width: 840px;
	margin: 20px auto;
	font-size: 1.4em;
	text-align: center;
}