/* Henry Saunders Agricultural Services  */

/* THEME COLOURS */
/* Blue: #1a3b8f, Light blue: #3e92d9; Black: #000, White: #fff, Light Grey: #ccc */

/* RESETS, BASIC PAGE SETUP, BASIC TYPOGRAPHY */
* { margin: 0; padding: 0; }
/*html {background:#b1c6db url(../images/bg.jpg) no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;}*/
html {background:#ccc url(../images/bg.png) repeat;}

body {font-family: 'PT Sans', sans-serif;text-align: center;color:#555555;padding:0;margin:0;font-size:100%;}
ul {list-style: none inside;}
a {outline: none;color:#555555;text-decoration:none;}
a:hover {color:#3e92d9;}
a img {border: none;}
p {line-height: 24px;margin:0;padding:0 0 15px 0;}
hr {color:#ccc;border-bottom:1px dotted;border-top:0;margin:20px 0 45px 0;height:1px;border-right:0;border-left:0}
.italic {font-style:italic;}
.medium {font-size:14px;}

/* HEADINGS/STYLES */
h1 {font-size:25px;color:#FFF;}
h2 {font-size:30px;color:#3e92d9;margin:0 0 25px 0;border-bottom:1px solid #3e92d9;padding:0 0 10px 0px;}
h2.padding {padding:15px 30px;}
h3 {font-size:20px;color:#3e92d9;margin:0 0 7px 0;}
h3 .sub {font-style:italic;color:#999;font-size:13px;font-weight:normal;}


/* TOOLBOX CSS */
.floatleft {float: left;}
.floatright {float: right;}
.clear {clear: both;padding:0;margin:0;}
.clear-right {clear: right;}
.clear-left {clear: left;}
.rounded {-webkit-border-radius: 5px;  -moz-border-radius: 5px;  border-radius: 5px;}

/* COLUMNS */
.left-col {float:left;width:500px;}
.right-col {float:right;width:290px;}
.left {float:left;width:590px;}
.right {float:right;width:280px;padding:0;}

.left2 {float:right;width:530px;}
.right2 {float:left;width:280px;margin:0 60px 0 0;padding:0;}

.left p img, .left2 p img {border:3px solid #ccc;-webkit-border-radius: 5px;  -moz-border-radius: 5px;  border-radius: 5px;}

/* PAGE STRUCTURE */
#page-wrap{width:960px;margin: 0 auto;}



/*HEADER */
#top-text {text-align:left;color:#ffffff;font-size:11px;margin:15px 0 0 0;float:left}
#top-text a {color:#ffffff;text-decoration:none}
#top-text a:hover {text-decoration:underline;}
#phone {font-size:16px;padding:35px 50px 10px 0px;float:right;color:#ffffff; }
#header {background:#282828;height:130px;position:relative;margin:0 0 0px 0;-webkit-border-radius: 0 0 5px 5px; 
-moz-border-radius:0 0 5px 5px;
border-radius:0 0 5px 5px;}

#logo h1 a{float:left;background:url(../images/logo.png) no-repeat; text-indent:-9999px;width:220px;height:91px;float:left;display:block;margin:18px 0 0 50px;}

/* NAV */
ul#nav {list-style: none;padding: 0;margin: 10px 50px 0 0;float:right;font-size:14px;}
ul#nav li {float: left;margin: 0 0 0 0;border-right:1px dotted #999;}
ul#nav li.last {float: left;margin: 0 0 0 0;border-right:none;}

ul#nav li a{float: left;display: block;color: #999999;text-decoration: none;padding:0 30px;}
ul#nav li.last a, ul#nav li.last a:hover{padding:0 0 0 30px;}
body#contact-us a#contact {float: left;display: block;color: #ffffff;text-decoration: none;padding:0 0 0 30px;}

ul#nav li a:hover{float: left;display: block;color: #ffffff;text-decoration: none;padding:0 30px;}

/*Active States */
body#home a#home, body#arable-farming a#services, body#livestock-farming a#services, body#general-services a#services, body#about-us a#about{float: left;display: block;color: #ffffff;text-decoration: none;padding:0 30px}

/* Sub Nav */
ul#sub-nav {width:100%;margin:0 0 15px 0;padding:0;}
ul#sub-nav li {list-style:none;font-size:18px;font-weight:bold;float:left}
ul#sub-nav li a {display:block;padding:25px 15px;text-decoration:none;color:#ffffff;float:left;width:290px;}
ul#sub-nav li a#arable-services {background-color:#2045a5;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px 0 0 5px;border-radius: 5px 0 0 5px;-khtml-border-radius: 5px 0 0 5px;}
ul#sub-nav li a#livestock-services {background-color:#2562c7}
ul#sub-nav li a#general-services {background-color:#3e92d9;-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0 5px 5px 0;border-radius: 0 5px 5px 0;-khtml-border-radius: 0 5px 5px 0}

/*Active States  Sub Nav*/

body#arable-farming a#arable-services, ul#sub-nav li a#arable-services:hover  {background:#2045a5 url(../images/downarrow.png) no-repeat 260px;}
body#livestock-farming a#livestock-services, ul#sub-nav li a#livestock-services:hover  {background:#2562c7 url(../images/downarrow.png) no-repeat 260px;}
body#general-services a#general-services, ul#sub-nav li a#general-services:hover {background:#3e92d9 url(../images/downarrow.png) no-repeat 260px;}



/*TOP BANNER */
#top-banner {width:600px;height:435px;margin:0;position:relative;float:left; }
#top-banner img {-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px 0 0 5px;border-radius: 5px 0 0 5px;-khtml-border-radius: 5px 0 0 5px;}
#slidenav { width: 600px; margin: 15px;position:absolute;z-index:15;bottom:5px;left:5px;}
#slidenav li { width: 10px; float: left; margin: 8px; list-style: none;}
#slidenav a { width: 10px; padding: 0px; display: block;height:10px;background:url(../images/banners/btn_a.png) no-repeat  }
#slidenav a.activeSlide { background:url(../images/banners/btn_h.png) no-repeat }
#slidenav a:focus { outline: none; }
#slidenav img { border: none; display: block }


#right-tabs .one, #right-tabs .two, #right-tabs .three {-webkit-border-radius: 0 5px 5px 0; 
-moz-border-radius:0 5px 5px 0;
border-radius:0 5px 5px 0;}

#right-tabs {float:right;width:360px;text-align:left;color:#FFF;font-size:13px;position:relative;}
#right-tabs h3 {color:#fff;margin:20px 0 10px 0;}
#right-tabs h3 a{color:#fff;margin:0 0 3px 0;text-decoration:none;}
#right-tabs h3 a:hover{color:#fff;text-decoration:underline;}
#right-tabs .one {background-color:#2045a5;position:relative;}

#right-tabs .two {background-color:#2562c7;position:relative;}
#right-tabs .three {background-color:#3e92d9;position:relative;}

#right-tabs p {line-height:21px;}


.right-tab-container {height:135px;padding:10px 25px 0}
.more a {font-style:italic;font-size:12px;text-indent:-9999px;background:url(../images/rightarrow.png) no-repeat;position:absolute;bottom:20px;right:20px;height:32px;width:32px;}


/* MAIN CONTENT */
#content, .top-image img {-moz-border-radius:5px;-webkit-border-radius:5px;border-radius: 5px;-khtml-border-radius: 5px;}
#content {background-color:#fff;padding:40px;text-align:left;margin:0px 0 0 0;}
#content-nopadding {background-color:#fff;padding:0;text-align:left;margin:0}
.top-image {height:180px;width:960px;}
#content a {border-bottom:1px dotted #ccc}
/* FOOTER */
#footer {font-size:11px;margin:10px 0;color:#666;padding:0 40px;text-align:left;line-height:24px;position:relative}
#footer p {padding:0}
.small {font-size:11px;color:#666;}
#footer a {color:#666;text-decoration:none;}
#footer a:hover {text-decoration:underline;color:#333;}
.backtotop {display:block;position:absolute;right:40px;top:0}

ul.bullets li {background:url(../images/tick.png) no-repeat 2px 3px;margin:0 0 10px 0;padding:0 0 10px 35px}
/* CONTACT FORM */
.contact_form label, .contact_form input, .contact_form textarea, .contact_form select { width:450px; }
.contact_form label { position: absolute; text-align:left; color:#3e92d9; margin:0;font-weight:normal; }
.contact_form input, .contact_form textarea, .contact_form select { /*margin:5px 0 2px 0;*/ background-color:#e5e5e5;padding:12px; font-size:1em;-webkit-border-radius: 5px;  -moz-border-radius: 5px;  border-radius: 5px; }
.contact_form input.submit {width:110px; float:left; border:none; text-decoration:none; padding: 7px 13px; color: #ffffff; background:none; font-weight:normal; cursor:pointer; text-transform:uppercase; font-size:14px;}
.contact_form input.submit:focus { border:none; text-decoration:none; outline:none; }
.contact_form input, .contact_form textarea { border: 1px solid #cccccc;outline:none; }
/*.contact_form input:focus, .contact_form textarea:focus { border: 1px solid #3e92d9;background-color:#dddddd; }*/
.error-box-2 {background-color:#edd9d9;color:red;border:1px solid red;padding:10px;width:452px;line-height:21px;margin:0 0 20px 0;font-size:0.8em;}
.success-box-2 {background-color:#b0ceb1;color:green;border:1px solid green;padding:10px;width:452px;line-height:21px;margin:0 0 20px 0;font-size:0.8em;}

.mand {font-size:0.75em;color:#999;font-style:italic;}

/* ===========Buttons */
.button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-size:14px;
	padding: 0;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
	border-radius: 5px;width:110px;text-transform:uppercase;
	-moz-transition: all 0.23s ease-in;
	-o-transition: all 0.23s ease-in;
	-webkit-transition: all 0.23s ease-in;
	-ms-transition: all 0.23s ease-in;
	transition: all 0.23s ease-in;
	border-bottom:none
}

#content a.button{border-bottom:none}

.button:hover {text-decoration: none;}
.button:active {position: relative;top: 1px;}

.color {color: #ffffff;background: #3e92d9;}
.color:hover {background: #2045a5;color:#ffffff;}
.color:active {color: #ffffff;}

/* TABLE */
table { width: 100%;border: 1px solid #eee;  }
td, th { padding: 5px; text-align: center;border-bottom: 1px solid #ccc; }
th { border-bottom: 5px solid #999;background-color:#ddd;padding:10px; }
.day-col { width: 150px; }

/************************************************************************************
SLIDER
************************************************************************************/

#slider-bg {position:relative;float:left;}
#slider {margin:0 0 0 0;padding:0;
    width:600px; /* Make sure your images are the same size */
    height:435px; /* Make sure your images are the same size */position:relative;
}

.nivoSlider, .nivoSlider img, .nivo-slice{
    -moz-border-radius:5px 0 0 5px;-webkit-border-radius:10px 0 0 10px;border-radius: 5px 0 0 5px;-khtml-border-radius: 5px 0 0 5px;
}

.nivoSlider {background:url(../images/banners/loading.gif) no-repeat 50% 50%;}


.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.nivoSlider a {
	border:0;
	display:block;
}

.nivo-controlNav {
	position:absolute;
	right:25px;
	bottom:25px;
    margin-left:0; /* Tweak this to center bullets */
}
.nivo-controlNav a {
	display:block;
	width:22px;
	height:22px;
	background:url(../images/banners/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
}
.nivo-controlNav a.active {
	background-position:0 -22px;
}

.nivo-directionNav a {
	display:block;
	width:80px;
	height:80px;
	background:url(../images/banners/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}

.nivo-prevNav {
	left:20px;bottom:0;
}
.nivo-nextNav {
	left:60px;bottom:0;
}

a.nivo-nextNav {
	background-position:-80px 0;
}


.nivo-caption {padding:20px;bottom:70px;text-align:left;left:40px;right:auto;width:auto;overflow:hidden;text-shadow:none;display:none;position:absolute;z-index:99999999999;background-color:#000;
	-moz-border-radius:5px;-webkit-border-radius:5px;border-radius: 5px;-khtml-border-radius: 5px;

}

.nivo-caption p {color:#fff;font-size:18px;margin:0;line-height:0;padding:0;}
.nivo-caption p.sub {color:#3e92d9;font-style:normal;padding:0 0 0 0;font-size:14px;margin:0;line-height:0;text-transform:uppercase;}
.nivo-caption a {color:#3e92d9;}
.nivo-caption a:hover {color:#2045a5;}