/*-----------------------MAIN CSS-------------------------*/

/* ---------------------------------------------------
	StyleSheet: O'Quinn Funeral Home
	main.css
	Media: screen
	Version: 1.0	
	Author: Diradv
	
	Index:
	- General Styles
	- Nav Styles
	- Content
	- Lateral Styles
	- Footer Styles
	
	
/*------------------------------------------------*/

/*-------------GENERAL STYLES----------------*/

html { height:101%; }
body {
background-color:#ccdff0;
color:#000;
font-family: "Lucida Grande", lucida, arial, helvetica, sans-serif;
font-size:12px;
line-height:18px;
font-style:normal;
font-variant:normal;
font-weight:normal;
height:100%;
margin:0;
padding:0;
width:100%;
}

.wrapper {
width: 940px;
margin-left: auto;
margin-right: auto;
}

#header {
width: 940px;
height: 100px;
background-color: #003e65;
position: relative;
border-bottom: 6px solid #F0F5FA;
}

#header h1 a {
color: #fff;
text-decoration: none;
display: block;
width: 157px;
height: 85px;
margin: 10px 0 0 25px;
float: left;
text-indent: -9999px;
background-image: url(../img/logo.png);
background-repeat: no-repeat;
background-position: top left;
}

/*-------------NAV STYLES----------------*/

.nav {
margin-top: 60px;
float: right;
}
.nav li {
position:relative;
float: left;
display: block;
}

.nav li a {
font-family: Arial, sans-serif;
color: #fff; 
font-size: 12px;
font-weight: normal;
text-decoration: none;
line-height: 39px;
display: block;
background-color: #07548a;
background-image: url(../img/nav.png);
background-position: top left;
background-repeat: repeat-x;
text-align: center;
padding: 0 17px;
margin-left: 1px;
height: 40px;
}

.nav li a:hover {
background-image: none;
color: #fff;
}


li.active a, li.active a:hover {
background-color: #fff;
background-image: url(../img/nav_hover.png);
color: #0a5e9e;
}

.nav .first a{
border-left: none;
}

/*------DROPDOWN------*/


.dropdown:hover > .sub_nav {
display: block;
z-index:1;
border:1px solid #075891;
}

.dropdown:hover {
color: #0a5e9e;
background-color: #e3effa;
background-image: none;
}

.dropdown {
position: relative;
}

 .sub_nav {
top: 40px;
left: 0;
}

.sub_nav {
width: 160px;
display: none;
position: absolute;
background-color: #F0F5FA;
background-image: none;
padding: 0px;
border:1px solid #D2E6F7;
}

.sub_nav li{
background-image: none;
float: none;
}

.sub_nav li a {
text-align: left;
font-family: Arial;
line-height:16px;
display: block;
text-decoration: none;
color: #333;
background: none;
padding:8px;
height:100%;
}

.sub_nav li a:hover {
color: #0a5e9e;
background-color: #e3effa;
background-image: none;
}

.indent { margin-left:140px; top:-1px; }
.indentl { margin-left:-140px; top:-1px; }
.indentt { top:-100px; }
.indenttbook { top:-21px; }
.larr { font-weight:bold; margin-left:5px;}
.darr { margin-left:5px; font-weight:bold;}

/*------CONTENT------*/

.banner {
background-color: #fff;
height: 240px;
}

.content {
background-color: #fff;
padding: 23px 0;
}

#interior .content { min-height:500px; height:auto !important; height:500px;}

.content img {
border: 2px solid #e9f0f8;
}

.content p a {
color: #0a5e9e;
text-decoration: none;
}

.content p a:hover {
text-decoration: underline;
}


.main_info {
width: 580px;
margin: 0 6px 0 5px;
padding: 23px;
float: left;
color: #555;
font-size: 13px;
}

.main_full {
	width: 890px;
}

.main_info p {
	margin-bottom:15px;
}

.page_title {
font-family: Georgia, serif;
font-size: 24px;
color: #0a5e9e;
font-weight: normal;
margin: 0 20px 10px 0;
}

.subtitle {
color: #333;
font-size: 16px;
line-height: 18px;
margin-bottom: 15px;
}

.quick_links {
float: left;
width: 290px;
}

.affiliates{
    float:left;
    margin-top:20px;
}

.affiliates a img{
    border:none;
}

#youtube{
    float:left;
    margin:20px 0 20px 0;
}

.quick_links h4, .lateral_title, #advertising h4 {
font-family: Georgia, serif;
font-style: Italic;
font-size: 18px;
color: #0a5e9e;
font-weight: normal;
margin: 10px 0;
}

.quick_links ul li {
padding-left: 10px;
background-image: url(../img/bullet.png);
background-repeat: no-repeat;
background-position: center left;
}

.quick_links ul li a{
text-decoration: none;
color: #333;
}

.quick_links ul li a:hover{
text-decoration: underline;
}

.sub_funeral li .selected {
color: #0a5e9e;
}

.sub_funeral li a:hover {
text-decoration: underline;
}

#advertising {
margin: 20px 0;
padding: 10px;
border: 1px solid #ccdff0;
background: #e9f0f8;
overflow: hidden;
}

#advertising span {
font-size: 10px;
color: #000;
}

#advertising img {
	display: block;
	float: left;
	margin-right: 20px;
	width: 180px;
	height: 190px;
}

#advertising h4 {
	padding-top: 5px;
}

/*------------LATERAL STYLES----------------*/

.lateral_info {
padding: 23px 25px 15px 20px;
float: right;
width: 250px;
margin-right: 6px;
margin-bottom: 6px;
}

.lateral_info .services {
font-size: 12px;
}

.lateral_info .services li {
    margin-bottom: 5px;
    height:55px;
}

.lateral_info .services li a {
float:left;
text-decoration: none;
color: #2A2E31;
line-height: 13px;
width:318px;
}

.lateral_info .services li a:hover {
text-decoration: underline;
}

.lateral_info .services li a img {
    float:left;
    border:4px solid #E9F0F8;
    margin:0 5px 0 0;
}
 
.lateral_info .services li span {
color: #888;
font-size: 10px;
}

.lateral_info .text_link {
text-decoration: none;
margin-top: 25px;
margin-bottom: 10px;
padding-right: 20px;
font-size: 9px;
font-weight: 600;
line-height: 20px;
padding: 6px 9px;
color: #0a5e9e;
border: 1px solid #dbe9f4;
background-color: #2A2E31;
background-image: url(../img/view_btn.png);
background-repeat: repeat-x;
background-position: top left;
}

.lateral_info .text_link:hover {
background-color: #33373a;
}

.lateral_info img {
margin-bottom: 5px;
margin-top: 10px;
}

/*------------FOOTER STYLES----------------*/

.footer {
width: 900px;
padding: 20px;
margin-left: auto;
margin-right: auto;
background-color: #003e65;
background-image: url(../img/footer.png);
background-repeat: no-repeat;
background-position: top left;
}

.footer .logo {
display: block;
width: 120px;
height: 60px;
float: left;
text-indent: -9999px;
background-image: url(../img/logo_footer.png);
background-repeat: no-repeat;
background-position: top left;
}

.footer p {
margin-left: 20px;
font-size: 11px;
float: left;
width: 400px;
color: #fff;
margin-top: 5px;
}

.footer span {
float:right;
width:300px;
text-align:right;
color:#fff;
font-size: 11px;
}
.footer span a { color:#fff; }


.footer span .login {
color: #fff;
font-size: 11px;
text-align: right;
text-decoration: none;
width:75px;
padding: 8px;
background-image: url(../img/dir_btn.png);
background-repeat: repeat-x;
background-position: top left;
}

.footer span .login:hover {
text-decoration: underline;
}

.clear {
clear: both;
}

/*-----FORM--------*/

legend {
display: block;
font-size: 14px;
color: #0a5e9e;
padding: 10px 0;
}

label {
display: block;
color: #666;
}

.main_info form p {
margin-bottom: 0px;
margin-top: 5px;
}

.main_info form div {
margin: 5px 0;
}

input {
padding: 2px;
}

input:focus {
  border: 2px solid #bbb;
  background: #fcfcd9;
}

fieldset {
margin-bottom: 10px;
}



.sub_funeral {
float: left;
width: 510px;
height: 30px;
background-color: #F0F5FA;
border-bottom: 1px solid #dce8f4;
padding-left: 430px;
}

.sub_funeral li{
float: left;
}

.sub_funeral li a {
font-family: Arial;
display: block;
margin: 6px 10px 0px 10px;
text-decoration: none;
color: #333;
}


.imp_text { color:#3F7027; font-weight:bold; }

.underline { text-decoration:underline; }
.italic { font-style:italic; }
.bold { font-weight:bold; }

table.resources td { vertical-align:middle; border-bottom:1px solid #ccc; padding:10px;}
.question { font-weight:bold; font-style:italic; }

.sevenways { 
font-family: Georgia, serif;
font-size: 60px;
color: #3F7027;
font-weight: normal;
margin: 0 10px 0 10px;
text-align:center;
}

table.seventable td { font-size:14px;letter-spacing:1px; text-align:left; }
.nobold { font-weight:normal !important; }
.staff td { text-align:justify; padding:10px; }

img.noborder{
    border:none;
}