/*
Theme Name: QS
Theme URI: http://wordpress.org/
Description: Quantified Self Custom Theme
Author: Daniel Reda
Version: 1.1
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html { overflow-y: scroll; } /* always show vertical scrollbar in firefox, to prevent page from shifting horizontally */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}
@font-face {
	font-family: FoundryGridnik-Medium;
	src: url('/images/FoundryGridnik-Medium.ttf');
}
@font-face {
	font-family: FoundryGridnik-Bold;
	src: url('/images/FoundryGridnik-Bold.ttf');
}

.hidden {display:none;}

/* Layout */
#container, #wrapper { margin:0 auto 10px auto; width: 950px; }
#main #container {min-height:450px;}
#header {width:950px;height:155px;margin:10px 0 0;}
#header img.logo {float:left;margin:0 10px 0 0;}
#header .bull {margin:0 6px;}
#nav { font-family: FoundryGridnik-Regular;background:#00A4E4;height:30px;margin:20px 0 0 0; }
#nav a { margin:0 14px;line-height:32px;color:#fff;text-decoration:none;font-size:16px;font-weight:bold;}
#nav a:hover {text-decoration:underline;}
#footer {width:950px;margin:0 auto 20px;}
#site-info {margin:10px 0;}
#footer {line-height:30px;}

#rightbox a.tab { display:inline-block;height:22px;padding:2px 8px 0 8px;margin:0 1px; }
#rightbox p {margin:10px 0 0 0;}
#rightbox div {border:1px solid #ddd; }
#rightbox .tab_div div {margin:10px;border:0;}
/*#rightbox #video_content div {display:inline-block;width:127px;margin:4px 4px 8px 4px;vertical-align:top;font-size:11px;line-height:1.3;}*/
#video_content div {text-align:left;width:225px;margin:4px 4px 20px 0;vertical-align:top;font-size:12px;line-height:1.3;}
#video_content div img {width:100%;border:1px solid #ddd;}
.top_posts_content p {margin:6px 0;font-size:13px;font-weight:bold;}
.top_posts_content hr {margin:4px 0;}

.spons img { float:left;clear:left;margin:10px 15px 0 0; }
.spons2 img { float:left; margin:0 0;}
.spons3 { text-align:center;line-height:40px;margin:10px 0; }
.spons3 img { vertical-align:middle;height:40px;margin:0 10px; }

div.cl {float:left;width:590px;margin:10px 10px;min-height:420px;}
div.cr {float:right;width:300px;margin:10px 5px 15px 10px;}

div.guide_cl {float:left;background:#fff;width:763px;min-height:420px;}
div.guide_cl div.inner {margin:15px;}

#guide_menu { margin:15px; }
#guide_menu p { line-height:1; }
.guide_home_box {border-radius:5px;background:#f4f4ff;float:left;width:230px;margin:15px 15px 15px 0;border:1px solid #ccc;}
.guide_home_box h2 { margin:5px 8px; }
.guide_home_box p { margin:6px 8px; }

.program {margin:10px 0;}
.program th {text-align:left;}
.program td {width:120px;font-size:14px;padding:3px 0;}
.program td.r {width:400px;}
.program td p {margin-right:10px;line-height:1;}

h2 {margin:25px 0 10px;font-size:16px;font-weight:bold;color:#00A4E4;}
#twitter_div li {margin:10px 0;}

.cleardiv {	height: 0; clear: both; font-size: 1px; line-height:1; }

hr {margin:15px 0 10px 0;}


/* Typography */
body { font: 12px Helvetica, Arial, sans-serif; }
#nav #links a {text-decoration:none;font-size:15px;line-height:15px;}
a {text-decoration:underline;}
a.button {font-size:18px;font-weight:bold;}
#footer {font-size:13px;}
#rightbox a.tab {text-decoration:none;}
#rightbox div a {text-decoration:underline;}
p {line-height:20px; margin:6px 0; }
h1 { font-family:FoundryGridnik-Bold;margin:10px 0 3px;font-size: 22px;font-weight: bold;letter-spacing: -1px;line-height: 1.3em; }
h2 { font-family:FoundryGridnik-Bold;font-size: 18px; letter-spacing:-1px;margin:12px 0 3px 0; }
h3 { font-size: 14px; }
h4 { font-size: 12px; }
tbody { font-size: 12px; }
input[type="submit"], input[type="text"], input[type="password"], button { font-size:14px; }
li.cat-item {font-size:13px;line-height:24px;font-weight:bold;}
#breakout_sessions p, #posters p {font-size:13px;line-height:1.2;margin:10px 0;}

/* Colors */
body {background:#fff; color:#333;}
/*#main {background:#d9e9ed;}*/
h1 {color: #00A4E4;}
#container, #wrapper {background:#fff;}
#nav #links a.u {border-bottom:1px solid #ddd;}
#nav #links a:hover {background:#eef;}
#footer {background:#fff;color:#666;border-top:1px solid #00A4E4;}
#rightbox .tab_div {background:#fff;border:1px solid #bbf;}
#rightbox a.tab {background:#f7f7f7;color:#666;border:1px solid #ccc;border-bottom:0;}
#rightbox a.active {background:#f8921d;color:#fff;}
a:link, a:visited { color: #013A81; }
a:focus, a:hover { color:#f8921d; }
hr {height:1px;border:0;background:#f8921d;}
input[type="submit"], button {background: #00A4E4; border: 1px solid #346; padding: 2px 6px; cursor: pointer;border-radius:5px; }
input[type="submit"]:hover, button:hover { background:#f8921d; border: 1px solid #464; cursor: pointer; }
input[type="text"], input[type="password"] { padding: 2px; border: 1px solid #346; }
a.button {border-bottom-left-radius: 5px 5px;
border-bottom-right-radius: 5px 5px;
border-top-left-radius: 5px 5px;
border-top-right-radius: 5px 5px;}
a.button:link, a.button:visited {background:#f89b2f;color:#fff;text-decoration:none;padding:5px 10px;}
a.button:hover, a.button:focus {background:#f9ae56;color:#fff;}
.errmsg {color:red;}


/* GUIDE */
/* Forms */
.suggest label {margin: 20px 0px 2px 0px; display: block; color: #00A4E4; font-weight: bold;}
#rss {float:right;margin: 0 0 0 10px;}
#guide_team {width:640px;float:left;}
#guide_team td {vertical-align:top;}
#guide_team p {display:inline-block;width:210px;margin:10px 0px 0 0;font-size:14px;}
#guide_team img {width:80px;height:80px;border:1px solid #ddd;margin:10px 5px 10px 0;vertical-align:top;}
.edit {display:inline;}
.edit img {vertical-align:middle;}
.edit form input {font-size:12px;padding:0;margin:0;}
.edit form button {font-size:10px; height:18px;padding:2px 4px;margin:0 0 0 4px;} 
#editorial_policy {width:280px;float:left;text-align:justify; text-justify:newspaper;}
#editorial_policy p {margin: 0 0 20px 0;}

/* Reviews */
.flag_btn {  
	-moz-border-radius: 3px 3px 3px 3px;
    background: none repeat scroll 0 0 #FF9900;
    color: white;
    font-size: 12px;
    padding: 4px 4px 3px 4px;
    margin: 0px 2px;
    cursor:pointer;
}
#custom-tweet-button a {
    float: left;
    padding: 5px 5px 5px 25px;
    background: url('http://a4.twimg.com/images/favicon.ico') 1px center no-repeat;
    background-color: #deeff7;
    border: 1px solid #ccc;
	width: 100px;
	border-radius: 5px 5px 5px 5px;
	text-decoration: none;
	margin: 0 10px 0 0;
	color: #1f8bb9;
}
#custom-tweet-button a:hover {
	color: #145876;
	background-color: #B5DAED;
}
.pg {font-size:15px;padding:2px 5px;border:1px solid #ccc;margin:0 2px;text-decoration:none;}