@import url("reset.css");
@import url("typography.css");

body {font-family: Arial, Tahoma, Verdana; font-size: 11px;}

div#page {width: 948px; margin: 0 auto;}
div#content {display: block; overflow: hidden;}

/* HEADER ---------------------------------------------------------------------- */
div#header {height: 81px; margin: 50px 4px; position: relative;}
div#header h1#logo,
div#header p#logo {width: 340px; height: 81px; display: block; overflow: hidden; text-indent: -5000px; background-image: url(../img/brand/techpin-coolest-tech-news.png); position: absolute; left:0; top:0;}
div#header p#logo a {width: 340px; height: 81px; display: block; overflow: hidden;}
div#header div#contact {position: absolute; left:183px; top:0; color: #999; margin-bottom: 3px; line-height: 14£px; width: 220px;}
div#header div#contact p.title {color: #555; font-weight: bold;}
div#header div#contact a {color: #999; text-decoration: underline;}
div#header div#contact a:hover {color: #0f6804 !important; text-decoration: none;}

/* HOMEPAGE ARTICLES LIST ---------------------------------------------------------------------- */
div.articles {display: block; overflow: hidden; list-style-type: none;}
div.articles div.article {width: 200px; height: 270px; display: block; overflow: hidden; background-image: url(../img/backgrounds/art-bg-big.png); padding: 14px; float: left; margin-right: 12px; margin-bottom: 12px; position: relative;}
div.articles div.article.mod4_0 {margin-right: 0;}
div.articles div.article:hover,
div.articles div.article.hover {background-position: 228px 0 !important;}
div.articles div.article p.icon {margin-bottom: 5px;}
div.articles div.article h2 {}
div.articles div.article h2 a {color: #222; text-decoration: none;}
div.articles div.article h2 a:hover {color: #0f6804 !important;}
div.articles div.article p.tags {display: block; overflow: hidden; position: absolute; bottom: 14px; width: 120px; color: #888;}
div.articles div.article p.tags a {color: #888;}
div.articles div.article p.tags a:hover {color: #0f6804 !important; text-decoration: none;}
div.articles div.article a.more {width: 66px; height: 17px; position: absolute; right:14px; bottom: 14px; font-size: 10px; display: block; overflow: hidden; text-indent: -5000px;}

/* ARTICLE ---------------------------------------------------------------------- */
body.article div#main {width: 708px; float: left; display: inline;}
body.article div#primary {width: 460px; margin: 4px 0 0 4px; float: left; display: inline;}
body.article div#secondary {width: 228px; float: right; display: block; overflow: hidden; margin: 0;}
body.article div#primary div.article {font-size: 12px; line-height: 16px;}
body.article div#primary div.article p.stats {color: #999; font-size: 11px;}
body.article div#primary div.article p.stats a {color: #999; text-decoration: underline;}
body.article div#primary div.article p { text-align: justify; }
body.article div#primary div.article div.details p.visualLeft {padding: 0; margin: 0 10px 5px 0; float: left;}
body.article div#primary div.article div.details p.visualRight {padding: 0; margin: 0 0 5px 10px; float: right;}
body.article div#primary div.article div.details p.visualLeft img {margin: 0; padding: 0;}
body.article div#primary div.article div.details p.visualRight img {margin: 0; padding: 0;}

/* ARTICLE ARTICLES LIST ---------------------------------------------------------------------- */
body.article div.articles {display: block; overflow: hidden; list-style-type: none;}
body.article div.articles div.article {height: 102px; background-image: url(../img/backgrounds/art-bg-small.png); float: none;}
body.article div.articles div.article.mod4_0 {margin-right: 0;}
body.article div.articles div.article:hover {background-position: 228px 0 !important;}
body.article div.articles div.article p.icon {margin-right: 5px; float: left;}
body.article div.articles div.article a.more {width: 66px; height: 17px; position: absolute; right:14px; bottom: 14px; font-size: 10px; display: block; overflow: hidden; text-indent: -5000px;}

/* ARTICLE PROMO LINKS LIST ------------------------------------------------------------------ */
body.article div#secondary div#promolinks {padding:4px;}
body.article div#secondary div#promolinks h2 {margin-bottom:10px;}
body.article div#secondary div#promolinks ul li {margin-bottom:10px;}
body.article div#secondary div#promolinks ul li a {color:#0f6804;}
body.article div#secondary div#promolinks ul li em {color:#999;}

/* ARTICLE COMMENT FORM ---------------------------------------------------------------------- */
div.commentForm {width: 460px; display: block; overflow: hidden; border-top: 3px solid #999; padding-top: 10px;}
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: 210px; height: 15px; margin-right: 5px; padding: 5px;}
div.commentForm label {font-weight: normal; color: #999; font-size: 11px;}
div.commentForm textarea {width: 455px; 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;}

/* CONTACT FORM ---------------------------------------------------------------------- */
div.contactForm {width: 460px; display: block; overflow: hidden; border-top: 3px solid #999; padding-top: 10px;}
div.contactForm div#success {border: 1px solid #45DD4C; background-color: #E9FFEB; color: #00A708; font-weight: bold; padding: 5px; margin: 10px 0;display:none;}
div.contactForm div#failed {border: 1px solid #FF0000; background-color: #FFE5EE; color: #000; font-weight: bold; padding: 5px; margin: 10px 0;display:none;}
div.contactForm div#indicator {display: none;}
div.contactForm div#indicator span {color: #319A10;}
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); width: 210px; height: 15px; margin-right: 5px; padding: 5px;}
div.contactForm label {font-weight: normal; color: #999; font-size: 11px;}
div.contactForm textarea {width: 455px; 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;}

/* ARTICLE COMMENTS LIST ---------------------------------------------------------------------- */
div.comments {font-size:12px;}
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;}

/* SIDEBAR ---------------------------------------------------------------------- */
div#sidebar {float: right; width: 220px; margin: 4px 4px 0 0; display: inline;}
div#sidebar div.item {margin-bottom: 15px; display: block; overflow: hidden; float: none; clear: both;}
div#sidebar p.title {color: #333; margin-bottom: 5px; font-weight: bold;}
div#sidebar div.item p.info {color: #777; margin-top: 3px;}
div#sidebar div.item p.info a {color: #777;}

div#sidebar div.links ul li {color: #777; margin-bottom: 5px; padding-left: 12px; background-image: url(../img/icons/bullet-small-green.png); background-repeat: no-repeat; background-position: left center;}
div#sidebar div.links ul li a {color: #333; text-decoration: none;}
div#sidebar div.links ul li a:hover {color: #0f6804 !important; text-decoration: underline;}

div#sidebar div.comments ul li {color: #777; margin-bottom: 5px !important; padding-left: 12px; background-image: url(../img/icons/bullet-small-orange.gif); background-repeat: no-repeat; background-position: left center;}
div#sidebar div.comments ul li a {color: #333; text-decoration: none;}
div#sidebar div.comments ul li a:hover {color: #0f6804 !important; text-decoration: underline;}

div#sidebar div.pages ul li {color: #777; margin-bottom: 5px !important; padding-left: 12px; background-image: url(../img/icons/bullet-small-bleu.gif); background-repeat: no-repeat; background-position: left center;}
div#sidebar div.pages ul li a {color: #333; text-decoration: none;}
div#sidebar div.pages ul li a:hover {color: #0f6804 !important; text-decoration: underline;}

div#sidebar div.blogroll ul li {background-image: url(../img/icons/bullet-small-gray.png);}
div#sidebar div.feeds ul li {background-image: url(../img/icons/rss.png);}

/* FOOTER ---------------------------------------------------------------------- */
div#footer {background-image: url(../img/backgrounds/footer-bg-top.png); margin: 50px 4px 0 4px; background-repeat: no-repeat; padding: 10px; color: #777; clear: both;}
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: 100px; float: left; text-align: right; margin-right: 20px; font-weight: bold;}
div#footer div.links ul {width: 640px; 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: #777;}
div#footer div.links ul li a:hover {color: #0f6804 !important;}
div#footer_fix { background-image: url(../img/backgrounds/footer-bg-bottom.png); margin: 0 4px; background-repeat: no-repeat; padding-top: 13px; margin-bottom: 50px; }
.copyright { text-align: center; margin: 15px; }
.copyright p,a {color: #bbb;}

/* GENERAL ---------------------------------------------------------------------- */
div.submit {background-image: url(../img/backgrounds/input-bg.png); height: 25px; width: 220px; 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;}
