/*
Theme Name: Hi-Way Services
Version: 1.0
Author: ADM
Description: Custom theme created for Hi-Way Services
*/

@import "reset.css"; /* reset all defaults to 0 */

/* General declarations */

body {
	font-size: 100%; /* Resets 1em = 16px */
	background-color:white;
	background-image: url(images/body-bg.jpg);
	background-repeat: repeat;
	}

h1, h2, h3, h4 {
	font-family:Arial, Helvetica, sans-serif;
	color:#0B1560;
}

h3, h2{
	margin-top:2em;
	margin-bottom:0px;
	line-height:normal;

	}

h1 {
	font-size:3em;
	line-height:normal;
}

h2 {
	font-size:1.2em;
}

h3{
	font-size:1em;
}

ul, ol {
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	list-style:disc;
	line-height:130%;
	margin:0 0 1em 2em ;
}

a {
	font-size:12px;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

a img {
	border: none;
	}

p {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding-bottom:1.5em;

}

/* end of general declarations */


/* HEADER   */

#header {
	background-color:white;
	height:195px;
	width:798px;
	padding-bottom:24px;
}

#header p{
	margin:0px;
	padding:0px;
}

#headerimg {
	width:auto;
	height:174px;
}

#headerimg h1 span{
	display:none;
}

#description {
	text-align:right;
	float:right;
	width:162px;
	padding-right:20px;
	margin-top:25px;
	line-height:1.2em;
}

#date_div {
	text-align:right;
	float:right;
	width:auto;
	padding-right:20px;
	line-height:1.2em;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size:0.8em;

}

/* end of HEADER  */

/* page container */

#page {
	padding: 0;
	margin:0 auto;
	max-width: 798px;
	border:1px #FCAF17 solid;
	background:url(images/content-background.png) no-repeat right bottom;
	background-color:white;
	}

/* end of page container  */

/* middle section of the page  - content*/

#content {
	font-size: 12px; /*font size 14.4px */
	min-height:400px;
	width:auto;
	line-height: 130%;
	padding-left: 10px;	
	background-color: transparent;
	margin:0px 30px 0 330px;
}

#post-title, .custom-title {
	font-family:Arial, Helvetica, sans-serif;
	font-size:26px;
	text-transform:uppercase;
	color:#949599;
	display:block;
	border-bottom:6px double #FCAF17;
	margin:0 0 0.7em 0;
}

body #post-title{
	display:none;
}

#content table {
	font-size:0.9em;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	width:100%;
	margin-bottom:1.5em;
}

#content td {
}

#links-table td{
	padding-bottom:10px;
	vertical-align:middle;

}

#content img{
	padding:3px;
	background-color:#fff;
	border:1px #000 solid;
	margin: 5px;
}
/* News page   */

.news-title, .publication_date, .news_list {
	font-family:Arial, Helvetica, sans-serif;
}

.news-title {
	font-size:18px;
	display:block;
	border-bottom:4px solid #FCAF17;
	background-color:#888;
	color:#fff;
	margin:0 0 0.6em 0;
	padding-left:0.5em;
}

.publication_date {
	font-size:13px;
	font-weight:bold;
}

div.post {
	margin:0 0 1.6em 0;
}

.news_list {
	list-style-type:none;
	margin:0;
	font-size:14px;
	margin-bottom:1em;
}

.news_list h2 {
	font-size:18px;
	display:block;
	border-bottom:4px solid #FCAF17;
	color:#000;
	margin:0 0 0.6em 0;

}
.pagetitle {
	margin-bottom:1em;
}

/* modifications for qualifications subpage */

#content.qualifications {
	margin:0px 10px 0 10px;
}

#content.qualifications table {
	font-size:0.9em;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	width:48%;
	margin-bottom:1.5em;
}

#left_table {
	float:left;
}
#right_table {
	float:right;
}

.clear{
	clear:both;
}

/* end of content  */

/* Sidebar */	
	
#sidebar {
	width:300px;
	min-height:242px;
	height:auto;
	float:left;
	text-align:left;
	background-color:#dadada;
	margin-left: 10px;
	font-size:11px;
}

#sidebar h2 {
	margin:0.5em 0 0.5em 0;
}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	border-bottom:1px #fff solid;
}

#sidebar>ul{
	padding:15px 0 20px 30px;
}


#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul li a:hover{
	color:#0B1560;
	background-color:#feebc5;
}

#sidebar .page_item {
	border-left:8px solid #173F26;
}

#sidebar .current_page_item {
	border-left:8px solid #90A106;
}

.sidebar-post {
	background-color:#feebc5;
	margin:20px 20px 10px 20px;
	text-align:left;
	color:#000;
	font-size:17px;
	letter-spacing:-1px;
	background-image:url(images/sidebar-bg.png);
	background-position:center;
/* following lines added so the round corners wrap properly at the bottom of the div */
	width:auto;
	height:auto;
	padding:0 0 5px 0;
}

.sidebar-post .entry {
	height:auto;
	padding:20px;
}

/*compatibility with round corners */
.sidebar-post .entry p{
	padding:0;
	line-height:150%;
}

.sidebar-form {
	margin:0 0 10px 30px;

}

.sidebar-form form {
	margin-top:25px;
}

.sidebar-form form p{
	font-size:12px;
	padding-bottom:15px;
}
.sidebar-form form h3{
	margin:0;
	padding:0 0 10px 0;
}

.sidebar-form form input, .sidebar-form form textarea{
	width:230px;
}

#sidebar img {
margin-left:20px;
margin-right:auto;
}

/* end of Sidebar  */	
	
/* Footer */	

#footer {
	height:auto;
	width: 100%;
	clear: both;
	background-color:#FCAF17;
	}	

#footer ul, #footer ol{
	margin: 0 0 5px 0;
	padding: 0;
	list-style:none;
	text-align:center;

}

#footer ul li {
	display:inline;
}

#footer ul li a {
	font-size: 0.7em;
	text-decoration:none;
	color:#000;
	padding-left:0.4em;
	border-left:1px solid #000;
}

#footer ul li:first-child a{
	border-left:none;
}

#footer ul li a:hover{
	text-decoration:underline;
}

#footer p{
	font-size: 11px;
	text-decoration:none;
	color:#FFF;
	margin:1em 0 0 0;
	text-align:center;

}

#footer p a {
	text-decoration:none;
	color:#FFF;
}

#footer p a:hover{
	text-decoration:underline;
}

#google-map {
	height:270px;
	width:380px;
	background-color:#fff;
	margin-left:10px;
}

#address-info {
	color:#000;
	height:270px;
	width:380px;
	background-color:#feebc5;
	float:right;
	margin-right:10px;
}

#address-info p{
	float:left;
	color:#000;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size:11px;
	line-height:15px;
	padding-left:30px;
	text-align:left;
	font-style:normal;
	/* move bottom round corners into proper position */
	padding-bottom:9px;
	margin:0;

}

#address-info p a{
	text-decoration:underline;
	color:#000;
}

#address-info p+p{ 
text-align:right;
}

#address-info p+p+p{ 
text-align:left;
}


#sussex-address{
	text-align:right;
}

#address-info h3{
	font-size:14px;
	color:#FCAF17;
	margin:20px 0 0 30px;
	padding:0;
}

/* end of footer  */


/* comments */

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

/* end of comments  */


/* general classes */


.more-link {
	text-align:left;
}

.text-align-right {
	text-align:right;
}

		/* horizontal menu on top and at the bottom of the page */
		.horizontal-menu {
			background-color:#FCAF17;
			width:auto;
			height:25px;
			text-align:center;
		}
		
		.horizontal-menu ul, .horizontal-menu ol{
			margin: 0;
			padding: 0;
			list-style:none;
		}
		
		.horizontal-menu ul li {
			display:inline;
			vertical-align:top;
		}
		
		.horizontal-menu ul li a {
			font-size: 11px;
			text-decoration:none;
			color:#000;
			padding-left:0.4em;
			border-left:1px solid #000;
		}
		
		.horizontal-menu ul li:first-child a{
			border-left:none;
		}
		
		.horizontal-menu ul li a:hover{
			text-decoration:underline;
			color:#f00;
		}
		
		.horizontal-menu .current_page_item a{
			color:#f00;
		}

/* end of classes  */

		/******************* rounded corners and look Ma, no pictures!! ****************/


		.leftTopCorner1, .leftTopCorner2, .leftTopCorner3, .leftTopCorner4, .leftTopCorner5 {
			float:left;
			clear:left;
			background-color:#fff;
			width:5px;
			height:1px;
			line-height: 1px;
			margin:0;
			padding:0;
		}
		
		.leftTopCorner1 {
			margin-left: 0;			
		}
		
		.leftTopCorner2{
			margin-left: -2px;	
		}
		
		.leftTopCorner3{
			margin-left:-3px;
		}
		
		.leftTopCorner4 {
			margin-left:-4px;
		}

		.leftTopCorner5 {
			margin-left:-4px;
		}
		
		.rightTopCorner1, .rightTopCorner2, .rightTopCorner3, .rightTopCorner4, .rightTopCorner5 {
			float:right;
			clear:right;
			background-color:#fff;
			width:5px;
			height:1px;
			line-height: 1px;
			margin:0;
			padding:0;

		}
		
		.rightTopCorner1 {
			margin-right: 0;			
		}
		
		.rightTopCorner2{
			margin-right: -2px;	
		}
		
		.rightTopCorner3{
			margin-right: -3px;
		}
		
		.rightTopCorner4 {
			margin-right: -4px;
		}

		.rightTopCorner5 {
			margin-right: -4px;
		}
		
		
		.leftBottomCorner1, .leftBottomCorner2, .leftBottomCorner3, .leftBottomCorner4, .leftBottomCorner5 {
			margin:0;
			padding:0;
			float:left;
			clear:left;
			background-color:#fff;
			width:5px;
			height:1px;
			line-height: 1px;
		}

		.leftBottomCorner1 {
			margin-left: -4px;			
		}
		
		.leftBottomCorner2{
			margin-left: -4px;	
		}
		
		.leftBottomCorner3{
			margin-left: -3px;
		}
		
		.leftBottomCorner4 {
			margin-left: -2px;
		}

		.leftBottomCorner5 {
			margin-left: 0;
		}


		.rightBottomCorner1, .rightBottomCorner2, .rightBottomCorner3, .rightBottomCorner4, .rightBottomCorner5 {
			margin:0;
			padding:0;
			float:right;
			clear:right;
			background-color:#FEE8BD;
			width:5px;
			height:1px;
			line-height: 1px;
		}

		.rightBottomCorner1 {
			margin-right: -4px;			
		}
		
		.rightBottomCorner2{
			margin-right: -4px;	
		}
		
		.rightBottomCorner3{
			margin-right: -3px;
		}
		
		.rightBottomCorner4 {
			margin-right: -2px;
		}

		.rightBottomCorner5 {
			margin-right: 0;
		}
		
		.sidebar-post .leftTopCorner1, .sidebar-post .leftTopCorner2, .sidebar-post .leftTopCorner3, .sidebar-post .leftTopCorner4, .sidebar-post .leftTopCorner5, .sidebar-post .rightTopCorner1, .sidebar-post .rightTopCorner2, .sidebar-post .rightTopCorner3, .sidebar-post .rightTopCorner4, .sidebar-post .rightTopCorner5, .sidebar-post .leftBottomCorner1, .sidebar-post .leftBottomCorner2, .sidebar-post .leftBottomCorner3, .sidebar-post .leftBottomCorner4, .sidebar-post .leftBottomCorner5, .sidebar-post .rightBottomCorner1, .sidebar-post .rightBottomCorner2, .sidebar-post .rightBottomCorner3, .sidebar-post .rightBottomCorner4, .sidebar-post .rightBottomCorner5 {
		background-color:#dadada;
		}
		
		#address-info  .leftTopCorner1, #address-info  .leftTopCorner2, #address-info  .leftTopCorner3, #address-info  .leftTopCorner4, #address-info  .leftTopCorner5, #address-info  .rightTopCorner1, #address-info  .rightTopCorner2, #address-info  .rightTopCorner3, #address-info  .rightTopCorner4, #address-info  .rightTopCorner5, #address-info  .leftBottomCorner1, #address-info  .leftBottomCorner2, #address-info  .leftBottomCorner3, #address-info  .leftBottomCorner4, #address-info  .leftBottomCorner5, #address-info  .rightBottomCorner1, #address-info  .rightBottomCorner2, #address-info  .rightBottomCorner3, #address-info  .rightBottomCorner4, #address-info  .rightBottomCorner5 {
		background-color:#FCAF17;
		}
	/* end of rounded corners */
	