@import url("yreset.css");
@import url("typography.css");

body {font-family: Arial, Tahoma, Verdana; font-size: 11px; background-image: url(../img/backgrounds/body.jpg); background-repeat: no-repeat; background-position: top center; background-color: #18a7d3; padding-top: 40px;}
a {color: #2b81ad; text-decoration: underline;}
a:hover {color: #000;}

div#page {width: 968px; margin: 0 auto;}
div#content {display: block; overflow: hidden;}

#main {width: 920px; float: left; padding: 20px; background-color: #fff; display: block; overflow: hidden; -webkit-border-radius: 10px; -moz-border-radius: 10px;}
#sidebar {margin-top: 200px; width: 220px; float: right; background-image: url(../img/backgrounds/sidebar.gif); background-position: bottom left; padding-left: 20px; display: block; overflow: hidden;}
#primary {width: 500px; float: left;}
#secondary {width: 400px; float: right;}
#secondary #left {width: 230px; float: left;}
#secondary #right {width: 160px; float: right;}

/* HEADER ---------------------------------------------------------------------- */
div#header {height: 80px; width: 960px; position: relative;}
div#header h1#logo,
div#header p#logo {width: 149px; height: 29px; display: block; overflow: hidden; text-indent: -5000px; background-image: url(../img/brand/logo.png); position: absolute; left:20px; bottom: 20px;}
div#header p#logo a {width: 149px; height: 29px; display: block; overflow: hidden;}
div#header div#functions {position: absolute; right:10px; top:10px; width: 160px; color: #fff;}
div#header div#functions p.title {font-weight: bold; margin-bottom: 3px;}
div#header div#functions p {margin-bottom: 3px;}
div#header div#functions p a.rss {padding-left: 12px; background-image:url(../img/icons/rss.png); background-position: left center; color: #fff; text-decoration: none; background-repeat: no-repeat;}
div#header div#functions p a.rss:hover {text-decoration: underline;}

div#header div.search {position: absolute; right:190px; bottom:20px; width: 230px;}

div#header p.visual {position: absolute; right:55px; bottom: -25px;}

/* ARTICLE ---------------------------------------------------------------------- */
div#primary div.article {font-size: 12px; line-height: 16px; color: #333; display: block; overflow: hidden; margin-bottom: 15px;}
div#primary div.article h1 a {color:#3E80A4;}
div#primary div.article p.stats {color: #999; font-size: 11px;}
div#primary div.article p.stats a {color: #999; text-decoration: underline;}
div#primary div.article div.details p.visual {padding: 0; margin: 0 20px 20px 0; float: left;}
div#primary div.article div.details p.visual img {margin: 0; padding: 0;}


/* ARTICLE COMMENTS FORM ---------------------------------------------------------------------- */
div.commentForm {width: 488px; display: block; overflow: hidden; border-top: 3px solid #999; padding-top: 10px; margin-top: 50px;}
div.commentForm p {margin-bottom: 10px !important;}
div.commentForm input {border: 0; background-color: transparent; font-weight: bold; color: #777; width: 150px; font-size: 11px; font-family: Arial, Tahoma, Verdana; background-image: url(../img/backgrounds/input-bg.png); width: 190px; height: 15px; margin-right: 5px; padding: 5px;}
div.commentForm label {font-weight: normal; color: #999; font-size: 11px;}
div.commentForm textarea {width: 488px; border: 0; padding: 5px; font-size: 11px; font-family: Arial, Tahoma, Verdana; color: #777; background-image: url(../img/backgrounds/textarea-bg.png); background-repeat: no-repeat; height: 130px; overflow: auto;}
div.commentForm input.submit {font-size: 10px; width: 63px !important; height: 19px !important; color: #fff !important; font-weight: normal !important; background-image: url(../img/buttons/submit-bg.png); cursor: pointer; padding: 0 !important;}
div.commentForm p.subscribe_to_comments {display: block; overflow: hidden; clear: both; line-height: 11px;}
div.commentForm p.subscribe_to_comments label {margin: 0 !important; padding-bottom: 3px !important; color: #999 !important;}
div.commentForm p.subscribe_to_comments input#subscribe {background-image: none; padding: 0; margin: 0 !important; margin-right: 3px !important;}

/* ARTICLE COMMENTS LIST ---------------------------------------------------------------------- */
div.comments {font-size:11px;}
div.comments ul {margin:0 !important; padding:0 !important;}
div.comments ul li {list-style-type:none; margin:0; padding:0; display:block; overflow:hidden; position:relative; margin-bottom:20px !important;}
div.comments ul li p {margin:0 !important; padding-right:60px;}
div.comments ul li p.authorInfo {margin-bottom:5px !important; color:#999; border-bottom:1px solid #ccc;}
div.comments ul li p.authorInfo a {text-decoration:none !important;}
div.comments ul li div.commentVote {position:absolute; top:20px; right:0;}
div.comments ul li div.commentVote p {display:inline; float:left; padding-left:5px; font-weight:bold; padding-right:0;}
div.comments ul li div.commentVote p.upVotes {color:#3fa211;}
div.comments ul li div.commentVote p.downVotes {color:#da0d1d;}
div.comments ul li div.commentVote p.vote a {display:block; overflow:hidden; width:14px; height:16px; background-image:url(../img/icons/thumbs.png); text-indent:-5000px;}
div.comments ul li div.commentVote p.vote a.down {background-position:-14px 0;}


/* SECONDARY ---------------------------------------------------------------------- */
div#secondary div.item {margin-bottom: 15px; display: block; overflow: hidden; float: none; clear: both;}
div#secondary p.title {color: #0a80a4; margin-bottom: 5px; font-weight: bold;}
div#secondary div.item p.info {color: #777; margin-top: 3px;}
div#secondary div.item p.info a {color: #777;}

div#secondary div.links ul li {color: #777; margin-bottom: 5px; padding-left: 8px; background-image: url(../img/icons/bullet-smallest-gray.gif); background-repeat: no-repeat; background-position: left center;}
div#secondary div.links ul li a {color: #333; text-decoration: none;}
div#secondary div.links ul li a:hover {color: #000 !important; text-decoration: underline;}

div#secondary div.blogroll ul li {background-image: url(../img/icons/bullet-smallest-gray.gif);}
div#secondary div.blogroll ul li a {color: #999;}


div#secondary div.item {margin-bottom: 20px; padding-right: 20px;}

div#secondary div.comments ul li {margin-bottom: 5px !important; line-height: 13px; border-bottom: 1px dotted #ccc; padding-bottom: 5px;}
div#secondary div.comments ul li a {text-decoration: none; color: #777;}
div#secondary div.comments ul li a:hover {text-decoration: underline; color: #333;}

div#secondary div.articles ul li {margin-bottom: 5px;}
div#secondary div.articles ul li a {text-decoration: none; font-weight: bold; color: #000; padding-left: 10px; background-image: url(../img/icons/bullet-smallest-gray.gif); background-repeat: no-repeat; background-position: 0 4px; display: block; color: #999;}
div#secondary div.articles ul li a:hover {color: #333;}


div#secondary #left p.title {padding-left: 25px; height: 35px; padding-top: 7px; background-image: url(../img/titles/secondary-titles.gif); background-repeat: no-repeat;}


/* FOOTER ---------------------------------------------------------------------- */
div#footer {margin: 0; padding: 25px 10px; color: #fff; clear: both; width: 728px;}
div#footer div.links {display: block; overflow: hidden; width: 100%; clear: both;}
div#footer div.categories {margin-bottom: 10px;}
div#footer div.links p.title {width: 80px; float: left; text-align: right; margin-right: 20px; font-weight: bold; filter: alpha(opacity=70); opacity: .7;}
div#footer div.links ul {width: 618px; float: left;}
div#footer div.links ul li {float: left; margin-bottom: 3px; margin-right: 10px; white-space: nowrap;}
div#footer div.links ul li a {color: #fff; filter: alpha(opacity=50); opacity: .5;}
div#footer div.links ul li a:hover {color: #fff !important; filter: alpha(opacity=99); opacity: .99; text-decoration: none;}
p.copyright {color: #fff; padding-left: 110px; padding-top: 13px; margin-bottom: 50px; filter: alpha(opacity=70); opacity: .7;
}
p.copyright a {color: #fff;}

/* GENERAL ---------------------------------------------------------------------- */
div.submit {background-image: url(../img/backgrounds/input-bg.png); height: 25px; width: 200px; position: relative; background-repeat: no-repeat;}
div.submit input {border: 0; background-color: transparent; margin: 4px; font-weight: bold; color: #777; width: 150px; font-size: 11px; font-family: Arial, Tahoma, Verdana;}
div.submit input.submit {position: absolute; right:-1px; top:-1px; font-size: 10px; padding-bottom: 3px; //padding-bottom:0; width: 63px !important; height: 19px; color: #fff !important; font-weight: normal !important; background-image: url(../img/buttons/submit-bg.png); cursor: pointer;}

/* CONTACT FORM ----------------------------------------------------------------- */
div.contactForm {width: 460px; display: block; overflow: hidden; padding-top: 10px;}
div.contactForm div#success {border: 1px solid #45DD4C; background-color: #E9FFEB; color: #00A708; padding: 5px; margin: 10px 0; font-size: 11px;}
div.contactForm div#failed {border: 1px solid #FF0000; background-color: #FFE5EE; color: #000; padding: 5px; margin: 10px 0; font-size: 11px;}
div.contactForm p {margin-bottom: 10px !important;}
div.contactForm input {border: 0; background-color: transparent; font-weight: bold; color: #777; width: 150px; font-size: 11px; font-family: Arial, Tahoma, Verdana; background-image: url(../img/backgrounds/input-bg.png); background-repeat: no-repeat; width: 210px; height: 15px; margin-right: 5px; padding: 5px;}
div.contactForm label {font-weight: normal; color: #999; font-size: 11px;}
div.contactForm textarea {width: 450px; border: 0; padding: 5px; font-size: 11px; font-family: Arial, Tahoma, Verdana; color: #777; background-image: url(../img/backgrounds/textarea-bg.png); background-repeat: no-repeat; height: 130px; overflow: auto;}
div.contactForm input.submit {font-size: 10px; width: 63px !important; height: 19px !important; color: #fff !important; font-weight: normal !important; background-image: url(../img/buttons/submit-bg.png); cursor: pointer; padding: 0 !important;}
/* ------------------------------------------------------------------------------ */

/* ADS -------------------------------------------------------------------------- */
#main #top_ads {
      margin-top: 5px;
      margin-bottom: 20px;
      text-align: left;
}

/* ARTICLES NAVIGATION ---------------------------------------------------------- */
ol.articlesNavigation { margin: 0px; overflow: hidden; }
ol.articlesNavigation li { float:left; list-style-type: none; }
ol.articlesNavigation li.next { float: right; }
ol.articlesNavigation li a { display: block; line-height: 25px; color: #3E80A4; }

/*******************************************************************************************************
TAKEN FROM WORDPRESS DEFAULT THEME - helps to maintain alignment classes for images
*******************************************************************************************************/
/* Captions */
.aligncenter,
div.aligncenter {display: block; margin-left: auto; margin-right: auto;}
.wp-caption {border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
.wp-caption img {margin: 0; padding: 0;	border: 0 none;}
.wp-caption p.wp-caption-text {font-size: 11px;	line-height: 17px; padding: 0 4px 5px; margin: 0;}
/* End captions */

/* Begin Images */
img.centered {display: block; margin-left: auto; margin-right: auto;}
img.alignright {padding: 4px; margin: 0 0 2px 7px; display: inline;}
img.alignleft {padding: 4px; margin: 0 7px 2px 0; display: inline;}
.alignright {float: right;}
.alignleft {float: left;}
/* End Images */

.related-post { width: 530px; padding: 10px; margin: 0 10px; overflow: hidden;}
.related-post ul { margin: 10px 0 0 0 !important; padding: 0 !important; }
.related-post ul li { float: left; width: 150px; margin: 0 24px 10px 0 !important; position: relative; border: 1px solid #555; list-style-type: none !important; }
.related-post ul li:hover { border: 1px solid #ddd; }
.related-post ul li .desc { position: absolute; bottom: 0; left: 0; }
.related-post ul li .desc a { color: #fff; text-decoration: none; padding: 5px; background: url(../img/backgrounds/transparent-bg.png); color: #fff; font-weight: bold; display: block; }
.related-post ul li .desc a:hover { background: url(../img/backgrounds/transparent-bg.gif); }
