/*
Theme Name: Cain Awning
Theme URI: http://wordpress.org/extend/themes/cainawning

*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
/*
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! 
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup 
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


/*-------------------*/

html { overflow-y:scroll; }
body {
	color:#000000;
	font-size:14px;
	margin:0 auto;
	background-color:#FFF;
	background-position: top center;
	font-family:Georgia, "Times New Roman", Times, serif;
	background-image:url(images/page-bg.jpg);
	line-height:20px;
}

a {
	color:#2B5376;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h2, h3, h4, p { margin:0 0 8px 0; }

h1 { font-size:25px; font-style:italic; font-weight:normal; }

h2 { font-size:20px; }

h3 { font-size:15px; }

/* ---- class settings ----------------------- */

#contact-box input.wpcf7-text {
	width:125px;
}

.gallery-icon img {
	width:auto !important;
	height:133px !important;
}

#wp-table-reloaded-id-1-no-1 {
	background:none !important;
	border:none !important;
	width:65% !important;
	margin:0 auto !important;
	font-size:18px;
	font-style:italic;
	font-weight:bold;
}

.img_top {
	position: absolute;
	top: 0;
	left: 0;
}

.img_btm {
	position: absolute;
	left: 0;
	bottom: 0;
}

.hidden-text {
     display: block;
     position: absolute;
     top: 0px;
     left: 0px;
     text-indent: -2000em;
}

/* ---
    min-height:400px;
    height:auto !important;
    height:400px;
--- */

/* ---- layout settings ----------------------- */


#main_container {
	position:relative;
	margin:0 auto;
	width:1010px;
	height:auto;
	z-index:1;
}

#header {
	position:relative;
	top:0;
	left:0;
	width:1010px;
	height:196px;
	background:url(images/bg-header.png) no-repeat;
	z-index:2;
}

#social {
	position:absolute;
	top:40px;
	right:30px;
	width:120px;
	height:35px;
}

/* ---- start nav id settings ------------------------ */
 
#nav {
	position:absolute;
	top:81px;
	left:26px;
	width:1010px;
	height:40px;
}

/* ---- end nav id settings -------------------------- */

#main {
	position:relative;
	top:-10px;
	left:0;
	width:960px;
	height:auto;
	background:url(images/bg-main.png) repeat-y;
	padding:0px 22px 0 28px;
	z-index:1;
}

/* ---- start main content settings -------------- */

#content_main {
	position:relative;
	top:0;
	left:0;
	width:900px;
	height:auto;
	padding:20px 30px 10px 30px;
	z-index:1;
}

iframe {
	z-index:1 !important;
}

.bottom-box {
	position:relative;
	width:253px;
}

#contact-box {
	/*background:url(images/bg-contact-box.jpg) no-repeat;*/
	height:137px;
	padding:110px 0 0 0;
}

#hours-box {
	background:url(images/bg-hours-box.jpg) no-repeat;
	height:247px;
}

/* ---- end main content settings ---------------- */

#footer {
	position:relative;
	top:-10px;
	left:0;
	width:910px;
	height:40px;
	clear:both;
	background:url(images/bg-footer.png) no-repeat;
	padding:20px 50px 0 50px;
	font-style:italic;
	color:#666;
}

#footer a {
	text-decoration:none;
}

#footer a:hover {
	text-decoration:underline;
}

/* ---- start navigation settings -------------------------- */
 
#nav a {
	position:relative;
	float:left;
	height:26px;
	cursor:pointer;
	background-repeat:no-repeat;
	background-image:url(images/nav.jpg);
}

a#nav_01 {
	width:79px;
	background-position:0 0;
}

a:hover#nav_01{
	background-position: 0 -26px;
}

.active_01 {
	background-position: 0 -26px !important;
}

a#nav_02 {
	width:128px;
	background-position:-79px 0;
}

a:hover#nav_02{
	background-position:-79px -26px;
}

.active_02 {
	background-position:-79px -26px !important;
}

a#nav_03 {
	width:84px;
	background-position:-207px 0;
}

a:hover#nav_03{
	background-position:-207px -26px;
}

.active_03 {
	background-position:-207px -26px !important;
}

a#nav_04 {
	width:86px;
	background-position:-291px 0;
}

a:hover#nav_04{
	background-position:-291px -26px;
}

.active_04 {
	background-position:-291px -26px !important;
}

a#nav_05 {
	width:79px;
	background-position:-599px 0;
	margin-left:222px;
}

a:hover#nav_05{
	background-position:-599px -26px;
}

.active_05 {
	background-position:-599px -26px !important;
}

a#nav_06 {
	width:83px;
	background-position:-678px 0;
}

a:hover#nav_06{
	background-position:-678px -26px;
}

.active_06 {
	background-position:-678px -26px !important;
}

a#nav_07 {
	width:65px;
	background-position:-761px 0;
}

a:hover#nav_07{
	background-position:-761px -26px;
}

.active_07 {
	background-position:-761px -26px !important;
}

a#nav_08 {
	width:133px;
	background-position:-826px 0;
}

a:hover#nav_08{
	background-position:-826px -26px;
}

.active_08 {
	background-position:-826px -26px !important;
}


/*--------------*/

#sub_nav {
	position:absolute;
	top:0px;
	left:0px;
	width:561px;
	height:26px;
	font-size: 12px;
	font-family:Georgia, "Times New Roman", Times, serif;
	text-transform:uppercase;
	z-index:5000;
}

#sub_nav a {
	color: #000;
	display:block;
	padding:0 0 0 5px;
	margin:5px 0;
}

#sub_nav a:hover {
	color: #000;
	background:url(images/dd-hover.jpg) no-repeat;
	text-decoration: none;
}

#styles {
	position:absolute;
	visibility:hidden;
	height:auto;
	background-color: #c9c9c9;
	top:105px;
	padding:5px 6px 0 6px;
}

#styles { width:171px; left:134px; }

.dd-bottom {
	position:absolute;
	bottom:-12px;
	left:0;
}

.show {
	position:absolute !important;
	visibility:visible !important;
}

.hide {
	position:absolute !important;
	visibility:hidden !important;
}

.alignright  {
	float:right;
	margin:0 0 10px 10px;
	border:1px solid #ccc;
	padding:5px;
	background:#FFF;
}