/* RESPONSIVE GRID SYSTEM =============================================================================  */

/* IMPORT FONTS ============================================================================= */
@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);

/* BASIC PAGE SETUP ============================================================================= */
body { 
	margin : 0 auto;
	padding : 0;
	font : 100%/1.4 'Open Sans', 'sans-serif';
	color : #000;
}
#homepage {
	background-image: url('pagebg.jpg');
}
#footer {
	font-size:0.75em;
	color:#333;
	text-align:center;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
	background: -webkit-linear-gradient(#EAE9EA, #BDBDBD); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#EAE9EA, #BDBDBD); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#EAE9EA, #BDBDBD); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#EAE9EA, #BDBDBD); /* Standard syntax */
}
button, input, select, textarea { 
	font-family : 'Open Sans', 'sans-serif';
	color : #333;
}
.col { padding:1em 0; text-align:center;}
.nopadding { padding:0 !important; margin:0 !important; }
.content {text-align:left;padding:0 20px;}
.grad {
	background: -webkit-linear-gradient(left bottom, #E9E9E8 , #FFFFFF); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(top right, #E9E9E8, #FFFFFF); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(top right, #E9E9E8, #FFFFFF); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to top right, #E9E9E8 , #FFFFFF); /* Standard syntax */
}

/*  HEADINGS  ============================================================================= */
h1, h2, h3, h4, h5, h6 {
	font-family : 'Ubuntu', 'sans-serif';
	font-weight : 400;
	margin-top: 0px;
	letter-spacing: -1px;
}
h1 { 
	color: #000;
	margin-bottom : 0.2em;
	font-size : 3.4em; /* 96 / 16 */
	line-height : 1.4;
}
h2 { 
	color: #012CD0;
	margin-bottom : .5em;
	margin-top : .5em;
	font-size : 2.75em; /* 40 / 16 */
	line-height : 1.2;
}
h3 { 
	color: #CC0000;
	margin-bottom : 0.3em;
	letter-spacing: -1px;
	font-size : 1.75em; /* 28 / 16 */
	line-height : 1.3;
}
h4 { 
	color: #444;
	margin-bottom : 0.5em;
	font-size : 1.5em; /* 24 / 16  */
	line-height : 1.25;
}

@media only screen and (max-width: 480px) {
	h1,h1.header{font-size:2.5em}
	h2{font-size:2.1em; }
	h3{font-size:1.8em;}
	h4{font-size:1.4em;}
}
.contactbox {
	background: #EBEBEB;
	display:inline-block;
	margin:0 auto;
	margin-top:20px;
	padding:20px;
	padding-top:0;
	text-align:left;
	background: -webkit-linear-gradient(left top, #EEEFEF , #D3D4D5); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(bottom right, #EEEFEF, #D3D4D5); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(bottom right, #EEEFEF, #D3D4D5); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom right, #EEEFEF, #D3D4D5); /* Standard syntax */
}

.contactbox h3.call:before { content: url('icon_call.png'); }
.contactbox h3.email:before { content: url('icon_email.png'); }
.contactbox h3.form:before { content: url('icon_form.png'); }
.contactbox h3.call:before, .contactbox h3.email:before, .contactbox h3.form:before {
  display: inline-block;
  position: relative;
  left: -58px;
  bottom: -25px;
}
.contactbox h3 span {font-weight: 700;}

/*  TYPOGRAPHY  ============================================================================= */
p, ol, ul, dl, address { 
	margin-bottom : 1.5em; 
	font-size : 1.1em; /* 16 / 16 = 1 */
	line-height: 1.5;
}
p { hyphens : auto; }
ul, ol { margin : 0 0 1.5em 0; padding : 0 0 0 24px; }
li ul, li ol { margin : 0; font-size : 1em; /* 16 / 16 = 1 */ }
dl, dd { margin-bottom : 1.5em; }
dt { font-weight : normal; }
b, strong { font-weight : bold; }
hr { 
	display : block; 
	margin : 1em 0; 
	padding : 0;
	height : 1px; 
	border : 0; 
	border-top : 1px solid #ccc;
}

/* LINKS =============================================================================  */
a { 
	color : #0000FF;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	text-decoration: none;
}
a:visited { color : #800080; }
a:focus { outline : thin dotted; color : rgb(0,0,0); }
a:hover, a:active { 
	outline : 0;
	color : #FF0000;
}

/* IMAGES ============================================================================= */
img {
	border : 0;
	max-width: 100% !important;
	height: auto !important;
	width: auto\9; /* ie8 */
}

/* TABLES ============================================================================= */
table { 
	border-collapse : collapse;
	border-spacing : 0;
	margin-bottom : 1.4em; 
	width : 100%;
}
th, td, caption { padding : .25em 10px .25em 5px; }
tfoot { font-style : italic; }
caption { background-color : transparent; }

/* FORMS ============================================================================= */
form { margin : 0; }
fieldset {
	margin-bottom : 1.5em; 
	padding : 0; 
	border-width : 0;
}
legend {
*margin-left : -7px; 
padding : 0; 
border-width : 0;
}
label {
	font-weight : normal;
	cursor : pointer;
	display:block;
	margin:0;
	position:relative;
	top:0;
	left:0;
}
label.inline{
	display:inline;
	margin:0;
}
label span{
	color:#666;
	font-size:0.9em;
}
label span.right{
	position:absolute;
	bottom:0;
	right:1em;
	text-align:right;
}
label.disabled { color:#ccc; }

button, search, input, select, textarea { 
font-size : 100%; 
margin : 0; 
vertical-align : baseline; 
*vertical-align : middle; }

button, input { 
line-height : normal; 
*overflow : visible; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
padding: 0.3em 1em;
margin: 0;
cursor : pointer; 
text-shadow:0 1px 0 #fff;
}
input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
	box-sizing : content-box;
}
button::-moz-focus-inner, input::-moz-focus-inner { 
padding : 0;
border : 0;  }

input{
	margin:0.1em 0;
	border:1px solid #ccc;
	font-size:1em;
	padding:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	background:#fff;
	-moz-box-shadow:inset 0px 0px 6px #ccc;
	-webkit-box-shadow:inset 0px 1px 6px #ccc;
	box-shadow:inset 0px 1px 6px #ccc;
}

	input::-webkit-input-placeholder,
	input:-moz-placeholder,
	.placeholder{
	color:#bbb;
	}
	
	input::-moz-focus-inner {border:0;}

	input[disabled="disabled"], input.disabled{
	color:#999;
	background:#f5f5f5;
	-moz-box-shadow:inset 0px 0px 2px #ddd;
	-webkit-box-shadow:inset 0px 1px 2px #ddd;
	box-shadow:inset 0px 1px 2px #ddd;
	}


/* Colors for form validity */
input:valid, 
textarea:valid   {  
/* Styles */ }

input:invalid, 
textarea:invalid {
-webkit-box-shadow : 0 0 2px #f00; 
-moz-box-shadow : 0 0 2px #f00;
box-shadow : 0 0 2px #f00; }

.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid {
background-color : #ccc; }


/*  BUTTONS  ============================================================================= */
.button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-weight: normal;
	color: #fff;
	padding: .5em 1em;
	margin: 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	background: #cc1122 url(glass.png) repeat-x 0 50%;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font-size : 1.1em;
}
.button:hover {
	background: #dd2233 url(glass.png) repeat-x 0 50%;
	color: #fff;
	text-decoration: none;
}
.button:active {
	background: #dd2233 url(glass.png) repeat-x 0 50%;
	color: #fff;
	position: relative;
	top: 1px;
}
.button:visited { 
	color : #fff;
}

/*  GLOBAL OBJECTS ============================================================================= */
.breaker { clear: both; }
.group:before, .group:after {
    content:"";
    display:table;
}
.group:after { clear:both; }
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

.floatleft { float: left; }
.floatright { float: right; }

img.floatright, img.floatleft {
	float:right;
	margin-left:20px;
	padding:6px;
	border:#CCC 0px solid;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
}
img.floatright { float:right; }
img.floatleft { float:left; }

/* VENDOR-SPECIFIC ============================================================================= */
html { 
-webkit-overflow-scrolling : touch; 
-webkit-tap-highlight-color : rgb(52,158,219); 
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

.clearfix { 
zoom : 1; }

::-webkit-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::-moz-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
-webkit-appearance : button; }

::-webkit-input-placeholder {
font-size : .875em; 
line-height : 1.4; }

input:-moz-placeholder { 
font-size : .875em; 
line-height : 1.4; }

.ie7 img,
.iem7 img { 
-ms-interpolation-mode : bicubic; }

input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
-webkit-box-sizing : content-box;
-moz-box-sizing : content-box; }

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0; }

.headercontainer {
	background: #EAE9EA;
	/*border-bottom: #691F5E 8px solid;*/
	margin-bottom:5px;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
	background: -webkit-linear-gradient(#EAE9EA, #BDBDBD); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#EAE9EA, #BDBDBD); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#EAE9EA, #BDBDBD); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#EAE9EA, #BDBDBD); /* Standard syntax */
}

#phone {
	position:absolute;
	top:7px;
	right:0;
	display: inline-block;
	z-index:9;
}

@media only screen and (max-width: 1024px) {
	#phone {
		display:none;
	}
}