﻿/* Getting the new tags to behave */
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video{ display: block; }
mark, rp, rt, ruby, summary, time{ display: inline }

/* Global properties ======================================================== */
body { 
	background:#212222; 
	font-family:Arial, Helvetica, sans-serif;
	font-size:100%; 
	line-height:1.125em;
	color:#242424;
}
/*html { min-width:1000px;}*/
html, body { height:100%;}

.auto-style1 {
	color: #A20000;
	font-weight:bold;
	font:inherit;}
	
.auto-style2 {
	color: #828282;
	font:inherit;}
.note {
font: bold 14px arial;
color:#a20000;}

.billpay {
background-color: #FCD888;
/* Rounded Corners */
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;}


	
/* Global Structure ============================================================= */
.container {
	margin: 0 auto;
	position: relative;
	width: 1000px;
	font-size:.8125em;}

	/* Header */
	header{
		height:72px;
		overflow:hidden;
		background:url(../images/header-bg.png) 0 0 repeat-x;}
	
	/* TitleHeader */
	.titlehdr {
 		font: normal 22px arial, verdana;
 		color: #A20000;}
 
	 /* Section-title */
     #section-title {
               font-size: 18px;
               font-weight: bold;
               padding-bottom:7px;
               padding-top:12px;}
 	/* Section-boxes */              
	.box-1 {margin-top:30px; margin-bottom:44px;}
	.box-1 img {float:left;}
	.box-1 h4 {overflow:hidden; padding-top:22px;}
	.box-1 .wrap {padding-bottom:18px;}
	.box-2 img {float:left; margin-right:20px;}

	/*Gallery*/
	#gallery {
		height:496px;
		overflow:hidden;
		background:url(../images/gallery-bg.gif) 0 0 repeat-x;
	}
	
	/* Content */
	#content {
		/*float: left;
		width: 572px;*/
	}
	
	/* Sidebar */
	aside{
		/*float: left;
		width: 302px;
		margin-right:52px;*/
	}
			
	/* Footer */
	footer{
		padding:20px 0 22px 0;
		border-top:5px solid #eee;
	}

/*----------- Back to top --------------*/
#toTop {
  display: none;
  width: 49px;
  height: 48px;
  overflow: hidden;
  background: url(../images/totop.png) 0 0 no-repeat;
  position: fixed;
  margin-right: -600px !important;
  right: 50%;
  bottom: 80px;
  z-index: 999;
}
#toTop:hover {
}
#toTop:active,
#toTop:focus {
  outline: none;
}

/* Left & Right alignment */

.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}

.col-1, .col-2, .col-3 { float:left;}

.alignright { text-align:right;}
.aligncenter { text-align:center;}

.wrapper { 
	width:100%;
	overflow:hidden;
}

/* The inside class provides consistent padding. To be used often! */
.inside{ padding: 32px 37px 50px 37px; }


/*----- form defaults -----*/
input, select, textarea { 
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	vertical-align:middle;
	font-weight:normal;
}

/*----- other -----*/
figure { margin-bottom:18px;}

.img-indent { 
	margin:0 20px 0 0; 
	float:left;
}
.img-box { 
	width:100%; 
	overflow:hidden; 
	padding-bottom:15px;
}
	.img-box figure { 
		float:left; 
		margin:0 20px 0 0;
		padding:0;
	}

.extra-wrap { 
	overflow:hidden;
}

p {margin-bottom:18px;}
.p1 { margin-bottom:9px;}
.p2 { margin-bottom:18px;}
.p3 { margin-bottom:27px;
}


/*----- txt, links, lines, titles -----*/
a {
	color:#A20000; 
	outline:none;
	text-decoration:none;
}
a:hover{
	text-decoration:none;
	color:#FF8000;
}

h1 {
	font-size:34px;
	line-height:1.2em;
	color:#fff;
	font-weight:normal;
	background:url(../images/site-logo.png) no-repeat 0 0;
	padding:6px 0 8px 60px;
	position:absolute;
	left:10px;
	top:6px;
}
	h1 a {
		color:#fff;
		text-decoration:none;
	}
h2 {
	font-size:30px;
	line-height:1.2em;
	font-weight:normal;
	color:#A20000;
	margin-bottom:22px;
}
	h2 span {
		color:#8a8a8a;}
h3 {
	font-size:1em;
	margin-bottom:6px;
}
	h3 a { color:#242424; }
	h3 a:hover {
		text-shadow: 1px 1px 1px #888; 
	}

/*==================boxes====================*/
.main-box {
	border-top:5px solid #eaeaea;
	background:#fff;
	width:100%;
}


.contacts {
	padding-bottom:20px;
}
	.contacts li {
		width:100%;
		overflow:hidden;
	}
		.contacts li strong {
			float:left;
			width:95px;
		}


.list1 {
	margin-left:12px;
	padding-bottom:18px;
}
.list1 li {
	background:url('../images/arrow1.gif') no-repeat 0 6px;
	padding:0 0 0 12px;
}



/*===== header =====*/
header nav {
	float:right;
}
		header nav ul li {
			float:left;
		}
			header nav ul li a {
	background-position: 0% 0%;
	font-size: 22px;
	color: #fff;
	height: 67px;
	line-height: 67px;
	text-decoration: none;
	width: 101px;
	text-align: center;
	float: left; /* FF3.6 */ /* FF3.6 */;
	background:#7700DB;
	background-image: -moz-linear-gradient(top, #838383, #7700DB); /* FF3.6 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#7700DB')";
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #838383),color-stop(1, #7700DB)); /* Saf4+, Chrome */;
	background-repeat: repeat;
	background-attachment: scroll;
}
		header nav ul li a.current, header nav ul li a:hover {
			padding-bottom:5px;
			
		}
		
		header nav ul li:nth-of-type(2) a {
			background:#ffc300;
			background-image: -moz-linear-gradient(top, #838383, #ffc300); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #838383),color-stop(1, #ffc300)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#ffc300'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#ffc300')"; /* IE8 */
		}
		header nav ul li:nth-of-type(3) a {
			background:#007AE1;
			background-image: -moz-linear-gradient(top, #838383, #007AE1); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #838383),color-stop(1, #007AE1)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#007AE1'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#007AE1')"; /* IE8 */
		}
		header nav ul li:nth-of-type(4) a {
			background:#5DB830;
			background-image: -moz-linear-gradient(top, #838383, #5DB830); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #838383),color-stop(1, #5DB830)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#5DB830'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#5DB830')"; /* IE8 */
		}
		header nav ul li:nth-of-type(5) a {
			background:#da0116;
			background-image: -moz-linear-gradient(top, #838383, #da0116); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #838383),color-stop(1, #da0116)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#da0116'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#da0116')"; /* IE8 */
		}
		header nav ul li:nth-of-type(6) a {
			background:#f27f02;
			background-image: -moz-linear-gradient(top, #838383, #f27f02); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #838383),color-stop(1, #f27f02)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#f27f02'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#f27f02')"; /* IE8 */
		}

/*===== gallery =====*/
.roundabout-holder  { 
	width:850px;
	height:496px;
	margin:0 auto;
}
.roundabout-moveable-item {
   width: 646px;
   height: 416px;
   cursor: pointer;
	 border:3px solid #ccc;
	 border:3px solid rgba(0, 0, 0, 0.08);
   border-radius:4px;
	 -moz-border-radius:4px;
	 -webkit-border-radius:4px;
}
	.roundabout-moveable-item img{
		width:100%;
	}
.roundabout-in-focus {
	border:3px solid rgba(0, 0, 0, 0.2);
}


/*===== content =====*/
#map_canvas {
	width: 295px;
	height: 200px;
	float:left;
	 -moz-border-radius:12px;
	 -webkit-border-radius:12px;
	 border-radius:12px;
    }

#content {
	
}
	#content img, aside img {
		border:3px solid #ebebeb;
		border-radius:4px;
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
	}
	#content img:hover {
		border-color:#bbb;
	}

.team-list li {
	width:100%;
	overflow:hidden;
	padding-bottom:43px;
}
.team-list li:last-child {
	padding-bottom:0;
}
	.team-list li figure {
		float:left;
		margin:0 20px 0 0;
		padding:0;
	}
.testimonials{width:300px; height:254px; background:#FCD888; overflow:hidden;
/* Rounded Corners */
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	border-radius:12px;}


/*--- loopedSlider styles ---*/
/*
 * Required 
*/
#loopedSlider .wrap { width:295px; height:295px; overflow:hidden; position:relative;}
#loopedSlider .slides { position:absolute; top:0; left:0; }
#loopedSlider .slides div { position:absolute; top:0; width:295px; display:none; }
/*
 * Optional
*/
#loopedSlider { width:295px; position:relative; clear:both; }
#loopedSlider .nav-controls {
	width:100%;
	overflow:hidden;
	padding-top:10px;
}
#loopedSlider li {
	display:inline;
}
#loopedSlider li a.previous {
	float:left;
}
#loopedSlider li a.next {
	float:right;
}

/*===== footer =====*/
footer {
	color:#fff;
}
	footer .fleft {
		padding-left:40px;
	}
	footer .fright {
		padding-right:40px;
	}


/*----- forms -----*/
#contacts-form { 
	clear:right;
	width:100%;
	overflow:hidden;
}
	#contacts-form fieldset { 
		border:none;
		float:left;
	}
		#contacts-form .field { 
			clear:both;
		}
			#contacts-form label { 
				width:120px;
				line-height:18px;
				padding-bottom:6px;
				font-weight:bold;
				float:left;
				color:#A20000;
			}
			#contacts-form input {
				width:205px;
				padding:1px 0 1px 3px;
				background:none;
				border:1px solid #999;
				color:#333333;
				font-weight:bold;
				-moz-border-radius:4px;
				-webkit-border-radius:4px;
				border-radius:4px;}

			#contacts-form select{
				color:#333333;
				font-weight:bold;
				border:1px solid #999;
				-moz-border-radius:4px;
				-webkit-border-radius:4px;
				border-radius:4px;}
							
			#contacts-form input:invalid {
				border-color:red;
			}
			#contacts-form textarea { 
				width:375px;
				height:200px;
				padding:1px 0 1px 3px;
				background:none;
				border:1px solid #999;
				color:#333333;
				font-weight:bold;
				margin-bottom:12px;
				overflow:auto;
				float:left;
				-moz-border-radius:4px;
				-webkit-border-radius:4px;
				border-radius:4px;}

			#contacts-form div:last-child {
				padding-left:110px;
			}
/*==========================================*/