/*
Theme Name: PetaPixel Theme
Theme URI: http://www.petapixel.com
Description: The blog theme of PetaPixel
Version: 2.0
Author: Chao Michael Zhang
Author URI: http://www.michaelzhang.com
Tags: plain, white, minimalistic
*/

body {
    font-size: 16px; 
    font-family: Helvetica, Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, Verdana, sans-serif; 
    color: #333;
    background-color: #fff;
    padding: 0; 
    margin: 0;
    min-width: 980px;
}
small {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 0.8em;
}
.semantic {
    display: none;
    color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}
h1 { font-size: 1.5em }
h2 { font-size: 1.4em }
h3 { 
    font-size: 1.4em;
    letter-spacing: -1px;
    margin: 14px 0 14px 0;
    padding: 0;
    line-height: 1.5em;
}
h4 { 
    font-size: 1.2em;
}
pre {
    overflow: auto;
}
strong {
    color:#333;
}
a {
    color: #2856e9;
    text-decoration: none;
    font-weight: normal;
}
a:hover, a:focus {
    color: #2856e9;
    text-decoration: underline;
}
a img {
    border: none;
}
strong a {
    font-weight: 600;
}
#siteskin {
	left: 50%;
   	margin-left: -959px;
    position: fixed;
	width: 1920px;
	height: 1200px;
	z-index: 1;
}
#overall-wrapper {
    width: 990px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
#header {
    background-color: #fff;
    min-height: 104px;
    padding: 14px 0;
}
#header_leaderboard {
    width: 728px;
    height: 90px;
}
#header_subscribe {
    width: 218px;
    text-align: center;
    position: static;
    top: auto;
}
#header_subscribe img.icon {
    vertical-align: top;
    margin: 0 7px 0 0;
    height: 24px;
    width: 24px;
}
div.subscribe img:hover {
	opacity: 0.7;
}
div.subscribe div.actions {
    padding: 7px 0 0 0;
}
div.subscribe div.actions > div {
    height: 26px;
}
#header-twitter-widget {
    width: 97px;
}
#header-twitter-widget > a > iframe {
    border-radius: 4px !important;
    border-right: 1px solid #aaa !important;
    height: 20px !important;
    width: 97px !important;
    overflow: hidden !important;
}
#header_subscribe.floating {
    background-color: #f7f7f7;
    padding: 14px;
    width: 300px;
    position: fixed;
    top: 14px;
}
#header_subscribe.floating img.icon {
    margin: 0 7px 0 0;
    height: 27px;
    width: 27px;
}
#header_subscribe.floating #header-twitter-widget > iframe {
    border-right: 0px solid #aaa !important;
    width: 145px !important;
}
#sidebar-subscribe-form {
    margin: 3px 0 0 0;
    padding: 0;
    text-align: left;
    color: #585858;
}
#sidebar-sub-form-button {
    color: #fff;
    background-color: #7ac144;
    border-color: #7ac144;
}
.leaderboardAd {
    width: 728px;
    height: 90px;
    margin: 0 auto;
    background-color: #f5f5f5;
}
.sidebarad {
	margin-bottom: 14px;
	background-color: #f5f5f5;
	display: block;
}
.interPostAd {
    background-color: #f5f5f5;
    border-bottom: 1px solid #dfe3ed;
    text-align: center;
    padding: 7px 0px;
    max-height: 487px;
}
.interPostAd > div {
    margin: 0 auto;
}
.interPostAd > div > div {
    margin: 0 auto;
}
.interPostAd > div.square {
    width: 300px;
}
.interPostAd span.sponsored-label {
    padding: 0 14px 0 0;
    color: #ccc;
    font-size: .875em;
}
.interPostAd > div.post {
    background: transparent;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 14px;
    text-align: left;
    border: 0;
}
.interPostAd > div.post h2 {
    margin: 0 0 7px 0;
}
#sidebarMainAd {
    position: static;
    top: auto;
    min-height: 250px;
	max-height: 600px;
}
#sidebarMainAd.floating {
    position: fixed;
    top: 150px;
}
#navbar,
#footer {
    font-size: 0.93em;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}
#navbar a,
#footer a{
    color: #333;
    font-weight: 600;
}
#navbar a:hover {
    color: #2856e9;
    text-decoration: none;
}
#footer a:hover {
    color: #2856e9;
    text-decoration: none;
}
#footerboard {
    border-bottom: 1px solid #dfe3ed;
    padding: 14px 0;
    text-align: center;
    min-height: 110px;
}
#footer {
    padding: 10px 0;
    background-color: #fff;
}
#footer ul {
    display:inline;
    margin: 0;
    padding:0;
}
#footer ul li {
    padding:0;
    display:inline;
    margin: 0 18px 0 0;
    line-height: 100%;
}
#copyright {
    text-align: right;
    font-weight: normal;
}
#navbar {
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #dfe3ed;
    height: 40px;
    min-height: 40px;
    margin-bottom: 0;
    border-radius: 0;
}
.navbar-logo img {
    margin: 4px 21px 0 0;
    height: 28px;
}
.navbar-logo:hover {
    opacity: 0.7;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
    color: #2856e9;
    background-color: #fff;
}
.navbar-collapse {
    padding: 0;
}
.nav > li > a {
    padding: 9px 21px 9px 0;
}
#search-form {
    margin: 5px 0 0 14px;
    padding: 0;
    opacity: .7;
    position: relative;
}
#search-form .glyphicon {
    position: absolute;
    right: 0px;
    padding: 6px 7px;
    cursor: pointer;
    color: #777;
    font-size: 16px;
}
#search-form .glyphicon:hover {
    color: #2856e9;
}
#search-input {
    height: 28px;
    width: 140px;
    padding: 2px 30px 2px 7px;
    box-shadow: none;
    color: #333;
}
#left-column {
    width: 640px;
}
#right-column {
    width: 310px;
}
#content {
    margin: 0;
    padding: 0;
}
#sidebar {
    padding: 0 0 0 10px;
    background-color: #fff;
    margin: 0;
}
.header-cap {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    padding: 2px 7px;
    font-size: 0.875em;
    font-weight: 400;
    background-color: #2856e9;
}
.header-cap a {
    color: #fff;
    opacity: 0.5;
}
.header-cap a:hover {
    opacity: 1;
}
div.sidebar-boxed {
    border: 1px solid #dfe3ed;
    border-top: 0;
    border: 0;
}
div.postlist {
    margin: 0px auto 14px auto;
    text-align: left;
    background-color: #fff;
    padding: 10px 10px 0.1px 10px;
    padding: 0;
    font-size: 0.93em;
}
div.postlist ul {
    list-style-type: none;
    padding: 0;
    color: #333;
    margin: 0 0 8px;
}
div.postlist li {
    margin: 10px 0 0 0px;
    line-height: 150%;
}
div.postlist a {
}
div.postlist div.thumb {
	display: block;
	height: 75px;
	width: 75px;
	background-color: #fff;
	float: left;
	margin: 0 8px 0 0;
}
div.postlist li div.thumb img {
	height: 75px;
	width: 75px;
}
div.postlist li div.thumb img:hover {
	opacity: 0.9;
}
div.elsewhere div.entry {
	padding-left: 20px;
}
.post h2.elsewhere {
	font-size: 0.93em;
	font-weight: normal;
	line-height: 150%;
	letter-spacing: normal;
	color: #888;
}
.post h2.elsewhere a {
    font-size: 1em;
	border-bottom: 1px dashed #dfe3ed;
	letter-spacing: -.3px;
}
div.elsecredits,
div.elsedetails {
	color:#888;
	font-size: 0.875em;
}
span.highlighted {
    background: #ffffcc;
}
div.featuredposts {
	padding: 0 0 14px 0;
	border-bottom: 1px solid #dfe3ed;
}
div.featuredpost {
	width: 319px;
	margin: 0 1px 1px 0;
	height: 170px;
	background-color: #f5f5f5;
	float: left;
	cursor: pointer;
	background-position: left top;
}
div.featuredpost:hover {
	opacity: 0.9;
}
div.featuredpost div.wrap {
	display: block;
	position: relative;
	height: 170px;
	width: 100%;
}
div.featuredtitle {
	display: block;
	position: absolute;
	width: 100%;
	padding: 7px;
	top: auto;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.77);
}
div.featuredtitle a {
	color: #fff;
	font-weight: 100;
	text-decoration: none;
	font-size: 0.93em;
}
#left-column.longform {
	width: 100%;
}
#right-column.longform {
    display: none;
}
div.longform h2 {
	font-size: 3.2em;
	letter-spacing: -2px;
}
div.longform div.entry {
	font: 18px/26px cambria,georgia,serif;
	margin: 0 auto 0 auto;
	max-width: 800px;
}
h3#subtitle {
	font-size: 1.5em;
	font-weight: normal;
	margin: 0 0 10px 0;
	letter-spacing: -2px;
}
div.longformwindow {
	position: relative;
	color: #fff;
	margin: 0 0 15px 0;
	cursor: pointer;
	background-position: center center;
	height: 400px;
	width: 640px;
}
div.longformwindow div.content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	background: rgba(0,0,0,0.70);
}
div.longformwindow a {
	color: #fff;
}
div.longformwindow h2 {
	text-shadow: 2px 2px 3px #000, -.5px -.5px #7a7a7a;
}
div.longformwindow h3 {
	font-size: 0.93em !important;
	letter-spacing: 0 !important;
	color: #fff;
}
div.oursponsors {
    width: 210px; 
    float: left;
    text-align: left;
    margin-bottom: 10px;
}

div.oursponsors img {
    width: 200px;
    height: 50px;
}
.archive,
.page,
.post {
    margin: 0;
    padding: 10px 0 0 0; 
    clear: both;
}
.post.single {
    padding: 0;
}
.post {
    border-bottom: 1px solid #dfe3ed;
}
.archive h2,
.page h2,
.post h2,
.post h1.headline {
    font-size: 1.95em;
    letter-spacing: -1.5px;
    line-height: 130%;
    margin: 0;
    padding: 0;
    text-align: left;
}
.archive h2 a,
.page h2 a,
.post h2 a,
.post h1.headline a {
    font-weight: 600;
    text-decoration: none;
}
.post h2 a,
.post h1.headline a {
    color: #333;
}
.post h2 a:hover,
.post h1 a:hover {
    text-decoration: none;
    color: #2856e9;
}
.post div.longformwindow h2 a {
    color: #fff;
}
.post div.longformwindow h2 a:hover {
    opacity: 0.7;
}
#post-major-title {
    font-size: 2.5em;
    letter-spacing: -1.5px;
    line-height: 130%;
    margin: 0 0 7px 0;
    padding: 7px 0 0 0;
    text-align: left;
}
#post-major-title a {
    color: #333;
    font-weight: 600;
}
#post-minor-title {
    margin: 14px 0 0 0;
}
div.sectionheader {
    border-bottom: 1px solid #dfe3ed;
    padding: 0 0 14px 0;
    margin: 0 0 14px 0;
}
div.sectionheader h2 {
    font-size: 2.3em;
    font-weight: 600;
}
div#compact_archives {
    color: #999999;
}
.post hr {
    border: 0;
    color: #dfe3ed;
    height: 1px;
    background-color: #dfe3ed;
    width: 60%;
    text-align: center;
}
div.socialize div.shares {
    clear: both;
    margin: 10px 0;
}
div.socialize ul,
div.socialize li {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    float: left;
}
div.shares > ul > li {
    display: inline;
    margin-right: 20px;
    height: 66px;
    overflow: hidden;
}
div#newsletter-subscribe-box {
    background-color: #f5f5f5;
    padding: 21px;
    margin: 14px 0;
}
div#newsletter-subscribe-box div.teaser {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
    margin-bottom: 14px;
}
#newsletter-subscribe-box-form {
    margin: 0;
    padding: 0;
    text-align: left;
    color: #585858;
}
div.trailer {
    padding: 14px 0;
}
div.trailer div.right {
    padding-left: 10px;
    border-left: 1px dashed #dfe3ed;
}
.postmetadata {
    margin: 5px 0 7px 0;
    clear: both;
    font-size: 0.875em;
    color:#888;
    line-height: 100%;
}
.postmetadata.postmajorbyline {
    color: #aaa;
    font-size: 1em;
    margin: 0 0 14px 0;
    line-height: 100%;
    font-weight: 100;
}
.postdetails {
    float: left;
    display: block;
    width: 470px;
}
.postmetadata ul {
    display: inline;
}
.postmetadata ul,
.postmetadata li {
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    margin:0;
    padding:0;
}
.postmetadata ul li {
    display:inline;
    float:left;
    padding-right: 5px;
    height: 20px;
}
.postmetadata ul li.author {
    padding: 2px 10px 0 0;
}
.postmetadata ul li.fblikebtn {
    padding-left: 21px;
}
.postmetadata ul li.tweetbtn {
    padding-left: 21px;
    padding-right: 0;
}
.postcommentslink {
    float: right;
    display: block;
    text-align: right;
    width: 130px;
}
.clear {
    clear: both;
}
.entry {
    line-height: 1.6;
    margin: 10px 0;
    font-weight: 400;
}
.entry iframe {
    margin: 0 auto;
    display: block;
}
.entry iframe.twitter-tweet {
    margin: 0 auto !important;
}
.post.single .entry {
    margin: 0;
}
.entry blockquote {
    display: block;
    clear: both;
    padding: 14px 21px 14px 49px;
    margin: 10px 20px;
    background:#f5f5f5;
    color: #575757;
    background: #f5f5f5 url("/assets/images/blockquote.gif") no-repeat top left;
    font-size: 1em;
    border-left: 0;
}
.entry ol { list-style-type:decimal; }
.entry ol ol {list-style-type:lower-alpha; }
.entry ol ol ol {list-style-type:lower-roman; }
.entry a.more-link {
    display: block;
    margin-top: 15px;
}
p img {
    padding: 0;
    max-width: 100%;
}
img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    border: 0;
    text-align: center;
    padding-top: 0;
    margin: 1em 0 1em 0;
}
.wp-caption img,
.wp-caption iframe {
    margin: 0;
    padding: 0;
    border: 0 none;
}
.wp-caption p {
    color: #555;
    background-color: #f5f5f5;
    font-size: 0.93em;
    line-height: 1.5em;
    padding: 10px;
    margin: 0 5px 0 5px;
    text-align: left;
    display: block;
}
.alignright {
    padding:0;
    margin: 2px 0 5px 10px;
    display: inline;
    float:right;
}
.alignleft {
    padding:0;
    margin: 2px 10px 5px 0;
    display: inline;
    float:left;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.navigation .alignleft {
    text-align:left;
}
.navigation .alignright {
    text-align:right;
}
.navigation {
    font-size: 1.3em;
    clear:both;
    margin: 14px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px dashed #dfe3ed;
}
.center {
    text-align: center;
}
.hover {
    color: #2856e9;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
div.clearer {
    clear: both;
    line-height: 1px;
    height: 1px;
}
div.related {
    color: #333;
    padding: 0;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #dfe3ed;
}
/******* Polldaddy *******/
.pds-box {
    width: 100% !important;
    border: 0 !important;
    background-image: none !important;
    background-color: #f3f3f3 !important;
    padding: 14px !important;
}
.pds-pd-link {
    display: none !important;
}
.pds-input-label {
    width: 240px !important;
    margin: 2px 0 0 0;
}
#content .pds-input-label {
    width: 90% !important;
    margin: 2px 0 0 0;
}
.pds-question-top {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: normal !important;
    margin: 0 0 7px 0 !important;
}
.pds-answer-group {
    padding: 3px 0 !important;
}
.pds-answer-span {
    font-size: 14px !important;
}
#PDI_container55338 .pds-answer-feedback {
    background-color: #fff !important;
    border: 1px solid #d1d1d1 !important;
    height: 20px !important;
}
/******* Related posts *******/
.ob_org_header {
    width: 626px !important;
    font-family: 'Open Sans',sans-serif !important;
    color: #fff;
    padding: 2px 7px !important;
    font-size: 0.875em !important;
    font-weight: 400 !important;
    background-color: #2856e9;
    margin: 0 0 10px 0 !important;
}
.ob_container .item-container {
    margin-bottom: 10px !important;
}
.ob_container .item-container:hover {
	opacity: 0.9;
	text-decoration: underline;
}
.ob-text-content {
    height: 74px !important;
}
.strip-rec-link-title {
    font-size: 0.83em !important;
    line-height: 18px !important;
    max-height: 68px !important;
}
.ob-tcolor {
    color: #2856e9 !important;
}
.ob_what {
    font-size: 9px !important;
    opacity: 0.5;
}
/* Mobile phone display differences */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
    body {
        font-size: 30px; 
    }
    #gotatip {
        display: none;
    }
    #navbar,
    #footer {
        font-size: 0.7em;
    }
    #navbar {
        height: auto;
    }
    .entry {
        clear: both;
    }
    #search-form {
        margin: 0 0 7px 0;
    }
    #search-form .glyphicon {
        display: none;
    }
    .actions {
        display: none;
    }
    div.featuredtitle {
        font-size: 0.8em;
        line-height: 120%;
    }
    div.featuredpost {
        height: 270px;
    }
    div.featuredpost div.wrap {
        height: 270px;
    }
    .archive h2, .page h2, .post h2, .post h1.headline {
        font-size: 1.3em;
    }
    .postcommentslink {
        display: none;
    }
    #post-major-title {
        font-size: 1.7em;
    }
    #header_subscribe img.icon {
        margin: 0 5px 0 0;
    }
    .header-cap,
    .ob_org_header {
        font-size: 0.7em;
    }
    div.postlist {
        line-height: 100%;
    }
    div.postlist a {
        font-size: 0.5em;
    }
    div.postlist li {
        line-height: 60%;
    }
    div.elsedetails {
        font-size: 0.7em;
    }
    .postmetadata {
        font-size: 0.7em;
        height: 35px;
    }
    .postmetadata.postmajorbyline {
        font-size: 0.8em;
        line-height: 100%;
        margin: 0 0 21px 0;
    }
    .postdetails {
        width: 100%;
    }
    .postmetadata ul li.fblikebtn {
        margin: 0 !important;
    }
    div#newsletter-subscribe-box div.teaser {
        font-size: 1em;
    }
    .strip-rec-link-title {
        font-size: 0.6em !important;
        line-height: 18px !important;
        max-height: 68px !important;
    }
    .fb_iframe_widget span {
        margin: 2px 0 0 0 !important;
        vertical-align: top !important;
    }
    .pds-input-label {
        margin: 13px 0 0 0 !important;
    }
    #footer-links {
        width: 100%;
        display: block;
        text-align: center;
    }
    #copyright {
        width: 100%;
        display: block;
        text-align: center;
    }
    .interPostAd {
        max-height: 630px;
    }
}