/*  
Theme Name: Ocean Mist
Theme URI: http://www.edmerritt.com/
Description: Ocean Mist 1.2<br /> This release fixes some minor bugs with smileys and embedding videos into a post.<br />By default posts are now displayed in the wider format and pages are listed across the top as tabs.
Version: 1.2
Author: Ed Merritt
Author URI: http://www.edmerritt.com/
*/


/* layout */
* {font-size: 1em; margin: 0; padding: 0; line-height: 1.4em; margin: 0 0 0 0; padding: 0 0 0 0;}
body {position: relative; background: url(images/bg_body_tile5.jpg) top left repeat #cccccc; /*url(images/newbg.jpg) top left no-repeat #cccccc;*/ font: 0.7em Arial, Helvetica, sans-serif; color: #160E05; text-align: center;}
#page {display: block; width: 750px; background: url(images/bg_main.gif) top repeat-y; text-align: left; margin: 0 auto;}
#header {position: relative; float: left; display: block; width: 750px; background: url(images/bg_header.jpg) top no-repeat; min-height: 161px; padding: 0;}
* html #header {height: 161px;}
#content {float: left; display: block; width: 545px; margin: 0 0 0 6px;}
#sidebar {float: left; display: block; width: 190px; margin-left: -2px;}
* html #content, * html #sidebar {position: relative; left: -5px;} 
.post {float: left; display: block; width: 525px; margin: 0 0 0 0px;}
.page {float: left; display: inline; width: 505px; margin: -10px 0 0 15px;}
.archive {float: left; display: block; width: 507px; margin: 0 0 18px 18px; border-bottom: 1px solid #ccc;}
#sidebar .post {width: 190px; margin: 0 0 0 10px;}
.title {float: left; display: block; width: 543px; background: url(images/bg_h2.gif) bottom repeat-x #D2E5A7; margin: -1px -2px 18px 0;}
#sidebar .title {float: left; display: block; width: 195px; background: url(images/bg_h3.gif) bottom left repeat-x #C2D39E;}
#sidebar .resize {margin: 0 0 0 28px;}
.entry {float: right; display: block; width: 350px; margin: 0;}
.postinfo {float: left; display: block; width: 157px; margin: 0 0 22px 0;}
.wideposts .entry {float: left; display: block; width: 525px; margin: 0 0 18px 0px;}
.wideposts .postinfo {float: left; display: block; width: 525px; margin: 0 0 18px 0;}
.archive .postinfo {margin-left: 0;}
.archive .entry {margin-right: -24px;}
* html .post, * html #sidebar .post, * html .archive  {margin-left: 0; position: relative; left: 18px;}
p img {margin: 0 18px 10px 0;}
p img.wp-smiley {float: none; margin: 0;}
embed {float: left; margin: 0 18px 22px 0;}


/* typography */
h1 {font: bold 2.8em Tahoma, Arial, sans-serif; color: #fff; letter-spacing: -1px; padding: 145px 37px 5px 30px; margin: 0 0 -5px 0;}
h1 a, h1 a:visited {color: #fff; text-decoration: none;}
.description {font: bold 1.5em Arial, Helvetica, sans-serif; color: #d8eaaf; margin: 0px 37px 18px 30px;}
.title h2 {font: 1.05em Arial, Helvetica, sans-serif; padding: 7px 24px 14px 22px;}
#content .postwrapper .title h2 {font: 1.4em Arial, Helvetica, sans-serif; text-transform: none; /* background: url(images/icon_entry.gif) 24px 50% no-repeat;*/ padding: 9px 37px 6px 22px;} h3 {font: 1.2em Arial, Helvetica, sans-serif; text-transform: none; font-weight: bold; padding: 9px 8px 12px 1px;}
#sidebar .title h2 {font: bold 1.1em Arial, Helvetica, sans-serif; text-transform: uppercase; padding: 9px 0 12px 25px; background: none; color: #160E05;}
.title small {float: right; padding: 14px 24px 0 0; color: #160E05;}
h2 a, h2 a:visited {}
h3 {font: bold 1.3em Arial, Helvetica, sans-serif; color: #7f1d1d;}
p {font-size: 1.2em;}
p {margin: 0 0 15px 2px; padding: 0;}
.entry p {padding-right: 24px;}
.postinfo p {padding: 0 6px;}
.req {padding-left: 3px; color: #CC0000;}
blockquote {padding: 0 0 0 12px; border-left: 3px solid #ccc;}
#sidebar ul li li a{
color: #3F3D3D; 
padding-left: 10px;
background-image: url(images/arrow.gif);
background-repeat: no-repeat;
background-position: 0 .5em;
}

/* lists */
ul {margin: 2px 0 6px 9px;}
ol {margin: 0 0 24px 9px;}
ul li {margin: 0 24px 0 14px;}
ol li {margin: 0 24px 0 14px;}
#sidebar ul li {list-style:none; margin-left:0; }
.buttons {float: left; display: block; width: 100%; list-style: none; margin-left: 0; margin-bottom: 21px;}
*:first-child+html .buttons {float: none;}
.buttons li {float: left; margin: 0 18px 3px 0; padding: 0;}
.buttons ul {margin: 3px 0 0 0; list-style: none;}
.buttons ul a, .buttons ul a:visited {padding: 3px 6px 4px 6px; font-weight: normal;}
* html .buttons li {margin: 0;}
.buttons a, .buttons a:visited {display: block; width: 145px; padding: 6px; text-align: center; background: url(images/menu.gif) bottom left no-repeat; border-top: 1px solid #D1E0F0; font-weight: bold;}
#sidebar .buttons a {text-align: left;}
.buttons a:hover {background-position: bottom right;}
p.pages {font-weight: bold;}
p.pages a {display: block; padding: 3px; width: auto; background: url(images/menu.gif) bottom left no-repeat; border-top: 1px solid #D1E0F0; border-right: 1px solid #D1E0F0;}
.catlist {float: left; list-style: none; margin: 0 0 18px 0;}
*:first-child+html .catlist {border-bottom: 18px solid #fff;}
.catlist li {float: left; margin: 0 18px 0 0; border-bottom: 1px solid #CAD6E1;}
* html .onecol li {margin: 0;}
.catlist ul {display: none;}
.catlist li:first-child, .catlist li:first-child+li, .catlist li:first-child+li+li {border-top: 1px solid #CAD6E1;}
.onecol li:first-child+li, .onecol li:first-child+li+li {border-top: none;}
*:first-child+html .onecol {border-bottom: 0;}
.catlist a, .catlist a:visited {display: block; width: 145px; padding: 1px 6px 2px 6px; margin: 1px 0;}
.catlist a:hover {background: #F2F2F2;}
#themeswitcher {list-style: none; margin: 0 0 18px 0;}
#themeswitcher li {margin: 0;}
#sidelist {list-style: none;}
#sidelist li {margin: 0;}
#sidelist li li {
		margin: 0 24px 0 8px;
		}
#sidelist li li a{color: #3F3D3D;}
#sidelist ul {list-style-type: none; }


/* sidebar links */
#sidebar a, a:visited {font: bold 1.2em Arial, Helvetica, sans-serif; color: #7f1d1d; text-decoration: none;}
#sidebar p a:hover, ul a:hover {background-color: #D3E6A9; font: bold 1.2em Arial, Helvetica, sans-serif; color: #7f1d1d; text-decoration: none;}
#content p a:hover, #content ul a:hover {background-color: #D3E6A9;}

/* links */
a, a:visited {color: #7f1d1d; text-decoration: none;}
p a:hover, ul a:hover {background-color: #D3E6A9;}
#content p a:hover, #content ul a:hover {background-color: #D3E6A9;}



/* main image */
#mainpic {position: absolute; bottom: 0; float: left; no-repeat; display: block; width: 736px; height: 229px; margin: 0 7px;}


/* forms */
form {margin: 0 0 18px 0;}
#searchsubmit {position: absolute;}
#s {width: 110px; padding: 2px; border: 1px solid #B9C3D1; background: #FFFFFF; color: #32474B; margin: 0 2px 0 8px;}
select, .field {width: 151px; margin: 0 0 4px 0; color: #32474B;}
.field {padding: 2px; width: 147px;}
textarea {padding: 2px; width: 300px; font: 1em Arial, Helvetica, sans-serif;}
select option {padding: 1px;}
#submit {padding: 3px;}


/* calendar */
#wp-calendar caption {width: 157px; text-align: center; background: #4b5d67; color: #fff; border-bottom: 2px solid #e6eef7;}
#wp-calendar { border-collapse:collapse; width: 155px; text-align: center;}
#wp-calendar thead tr {background: url(images/cal_bkg.gif) bottom right no-repeat;}
#wp-calendar thead th {background: url(images/cal_single.gif) top left no-repeat;}
#wp-calendar tbody td {background: url(images/cal_single2.gif) top left no-repeat; padding: 2px 0;}
#wp-calendar #today {background: url(images/cal_single_today.gif) top left no-repeat; color: #000;}
#wp-calendar tbody .pad { background: url(images/cal_pad.gif) top left no-repeat;}
#wp-calendar a {padding: 2px 0; font-weight: bold;}
#wp-calendar tfoot td {padding: 3px 0; background: url(images/cal_pad.gif) top left no-repeat;}
#wp-calendar #next {text-align: right; padding-right: 10px;}
#calendar_wrap {display: block; width: 156px; background: url(images/cal_bkg.gif) bottom right no-repeat; padding: 0 1px 1px 0; margin: 0 0 18px 0;}

/* page tabs */
#pagetabs {position: absolute; bottom: 3px; left: 1px; display: block; float: left; padding: 0; margin: 0 0 0 25px; list-style: none;}
#pagetabs ul {display: none;}

#pagetabs li {float: left; border-bottom: 1px solid #414e53; margin: 0 5px 0 0; padding: 0;}
#pagetabs li:hover {border-bottom: 1px solid #486065;}
#pagetabs a {float: left; display: block; padding: 5px 5px 3px 5px; background: #526a74; color: #fff; font-weight: bold; border-bottom: 2px solid #4a5e65;}
#pagetabs a:hover {background: #5c7d86; border-bottom: 2px solid #527077; color: #fff;}
.pagetabstitle {border-bottom: none !important; color: #fff; font-weight: bold; position: relative; top: 4px;}



/* footer */

#footer {clear: both; display: block; width: 750px; height: 45px; background: url(images/bg_footer.gif) bottom no-repeat; text-align: center;}
* html #footer {margin: 18px 0 0 0;}
#footer-top {display: block; width: 751px; height: 5px; background: url(images/bg_footer-top.gif) top no-repeat;}
#footer-bottom {display: block; width: 751px; height: 20px; background: url(images/blank.gif);}
#footer p {font-size: 1em; color: #000000; padding: 6px 37px 7px 37px;}
#footer a, #footer a:visited {color: #7f1d1d;}
#footer a:hover {background-color: #C3D49D;}