/*  
Theme Name: Fangraphs Mobile New
Theme URI: http://www.fangraphs.com
Description: A variation on Almost Spring
Version: 1.0
Author: Becca Wei, David Appelman
Author URI: http://www.fangraphs.com
*/

/* Navigation */

.alignright {
	float: right;
	}
	
.alignleft {
	float: left;
	}
.aligncenter {
    display: block;
    margin: auto;
}


.bnavigation {
	padding-top: 10px;
	padding-bottom: 10px;
}

.bnavigation a {
	font-weight: bold;
	text-decoration: none;
}


/* Basics and Typography */


.fullpostentry {
    padding-right: 50px;
    font-family: georgia;
    color: #000;
    line-height: 1.5;
    font-size: 12pt;
}


/*.fullpostentry table {
	background-color: #fff;
	font: 12px/16px "segoe ui" ,arial,sans-serif;
}*/

.fullinstagraphsentry {
    padding-right: 50px;
    font-family: georgia;
    color: #000;
    line-height: 1.5;
    font-size: 11pt;
}


.fullinstagraphsentry table {
	background-color: #fff;
	font: 11px/15px "segoe ui" ,arial,sans-serif;
}

.instagraphs {
	padding-left:50px;
	padding-right:50px;	
}

code {
	font-family: monospace;
	color: #666;
}
form, img {
	margin: 0;
	padding: 0;
	border: 0;
}
.fullpostentry img {
	max-width: 100%;
	height: auto;
}

.small {
	font-size: 0.9em;
	color: #999;
}

.avatar {
	float: left;
	padding-right: 5px;
	padding-top: 2px;

}

/* Layout */

	
#blogcontent {
	float: left;
	width: 650px;

} 

#sidebar {
	float: left;
	margin-left:10px;
	width: 320px;
	font-size: 0.9em;

} 
	

/* Blog */


.postmeta {
	margin-top: 0;
	padding-top: 5px;
	font-size: 0.9em;
	color: #999;
    font-family: Lato,Arial,sans-serif;
}

.postmeta a {
	text-decoration:none;
}

.posttitle, .instagraphstitle
{
    margin-bottom: 0;
    /*width: 100%;*/
    color: #fff;
    font-weight: bold;
    font-size: 32px;
    padding-bottom: 5px;
    border-bottom: 1px solid #50ae26;
    font-family: Lato,Arial,sans-serif;
}

.posttitle a, .instagraphstitle a
{
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding-right: 50px;
}

.instagraphstitle a {
    color: #50ae26;
}

.posttitle a:hover, .posttitle a:active
{
    color: #50ae26;
    text-decoration: none;
}

.instagraphstitle a:hover, .instagraphstitle a:active {
    color: #000;
    text-decoration: none;
}

/*.instagraphstitle
{
    margin-bottom: 0;
    width: 100%;
    color: #50ae26;
    overflow: auto;
    font-weight: bold;
    font-size: 16pt;
    text-decoration: none;
    border-bottom: 1px solid #50ae26;
}*/

/*.instagraphstitle a
{
    background: #FFF;
    color: #50ae26;
    font-weight: bold;
    font-size: 16pt;
    text-decoration: none;
    padding-right: 5px;
    padding-left: 5px;
    float: left;
}*/

/*.instagraphstitle a:hover
{
    background: #FFF;
    color: #50ae26;
    font-weight: bold;
    font-size: 16pt;
    text-decoration: none;
    padding-right: 5px;
    padding-left: 5px;
}*/

.post {
    padding: 0 10px;
}

.postentry a, .instagraphsentry a {
    font-weight: bold;
    text-decoration: none;
}

.more a {
    font-size: 12pt;
}

.fullpostentry a, .fullinstagraphsentry a {
    font-weight: bold;
    text-decoration: none;
}

.abouta {
    font-style: italic;
}

.abouta a {
    font-weight: bold;
    text-decoration: none;
}

.commentslink {
	padding: 0 0 0 17px;
	background: url(images/commentslink.gif) no-repeat center left;
}



/* Comments */


.thread-even {

	border-top: 1px solid #d3d3d3;
	padding: 10px 20px 5px;
	background-color: #FFF;

}
.thread-odd {

	border-top: 1px solid #d3d3d3;
	padding: 10px 20px 5px;
	background-color: #FFF !important;

}

.comment a {

	word-break: break-word;

}

.comment {
	word-break: break-word;
}

.odd {
	border-top: 1px solid #d3d3d3;
	padding-top: 10px;
}

.even {
	border-top: 1px solid #d3d3d3;
	padding-top: 10px;
}



.comment-meta a {
	margin-top: 0;
	font-size: 0.9em;
	color: #999;
}

.comment-meta {
	line-height: 0.9em;
}

.reply, .reply a {

    margin-top: 0;
    margin-bottom: 3px;
	font-size: 0.9em;
	color: #999;

}


.comment-author, .fn, .says {
	margin-bottom: 0;
	font-size: 1.1em;
	color: #50ae26; 
        font-weight: bold;
        font-style: normal;
	line-height: 1.3em
}

.commentlist {
	font-size: .9em;
	line-height: 1.4em;
	margin-top:25px;
	margin-right:50px;
	margin-bottom:25px;
	padding: 0;
        list-style: none;
}

.commentlist a {
	text-decoration:none;
}


#commentpopwrap {
	margin: 0 auto;
	width: 600px;
	margin-top: 5px;
    padding-left:5px;
    padding-right:5px;
}

.commentpoplist {
	list-style: none;
	margin:0px;
	padding:0px;
	line-height: 1.5em;
}

.commentpop {

	border: 1px solid #F8F8FF;
    margin-top: 5px;
	background-color: #FFF;
	padding: 3px 20px 3px;

}

.comment-metapop a {
    margin-top: 0;
	font-size: 0.9em;
	color: #999;
	font-style:normal;
}

#comment {
	width: 98%;
}

.children {
	list-style: none;
}

.navnext {
	width:275px;
	float:left;
	text-align:right;
}
.navprev {
	width:275px;
	float:left;
}

.navmid {
	width:50px;
	float:left;
}

/*jotcast override*/
.fullpostentry iframe[src^="https://www.jotcast.com"] {
    width: 100% !important;
}
div[id^="stm-underlay-"] {
    position: initial !important;
    width: 100%;
    display: none;
}


.fg-ads-mobile {
    margin: 30px auto;
    display: none;
}

/*SD Mobile feb 2017 */
@media screen and (max-width: 1020px) {
    #sidebar {
        display:none;
    }

    .fg-ads-mobile {
        display: block;
    }

    #blogcontent {
        width: 100%;
        max-width: 650px;
    } 

    .fullpostentry {
        font-family: georgia;
        color: #000;
        line-height: 1.8;
        padding: 0;
        max-width: 600px;
    }

    blockquote {
        margin: 0;
    }

    #Footer1_panROS {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .post {
        padding: 0;
    }

    p, h1, h2, h3, h4, h5, h6 {
        margin-left: 5px;
        margin-right: 5px;
    }
    p {
        overflow-x: auto;
    }

    ul {
        -webkit-padding-start: 25px;
    }

    #blogcontent {
        padding: 0 10px;
        width: 100%;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }

    .posttitle, .instagraphstitle {
        font-size: 26px;
    }

    div.table-grey {
        max-width: 600px;
        width: 100%;
    }
    .table-grey table {
        width: 100%;
    }

    .table-grey table tr {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }
    .table-grey td,
    .table-grey th {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 50%;
            -ms-flex: 1 1 50%;
                flex: 1 1 50%;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }

    .table-grey div[class^="table-player-"] table,
    .table-grey div[class^="table-player-"] thead,
    .table-grey div[class^="table-player-"] tbody,
    .table-grey div[class^="table-player-"] tr {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .table-grey div[class^="table-player-"] table {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
            -ms-flex-direction: row;
                flex-direction: row;
        padding: 0;
        border: 0;
    }
    .table-grey div[class^="table-player-"] thead,
    .table-grey div[class^="table-player-"] tbody {
        width: 100%;
    }
    .table-grey div[class^="table-player-"] td,
    .table-grey div[class^="table-player-"] th {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-sizing: content-box;
                box-sizing: content-box;
    }


  
}


/*Poll CSS Override*/
.PDS_Poll div.pds-box {
    font-family: Lato, Arial, sans-serif !important;
    border-radius: 0 !important;
    margin: auto !important;
}

.pds-votebutton-outer {
    text-align: center;
}

.pds-vote {
    margin-top: 10px !important;
    padding: 10px 0 0;
}

.pds-vote-button {
    font-family: Lato, Arial, sans-serif !important;
    background: none !important;
    background-color: #cecece !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 8px 35px !important;
    font-weight: initial !important;
}

.pds-links {
    padding: 20px 0 0 0 !important;
}

.pds-links a,
.pds-links-back a {
    font-family: Lato, Arial, sans-serif !important;
}

.pds-links a:hover,
.pds-links-back a:hover {
    color: #50ae26 !important;
    text-decoration: none !important;
}

.pds-answer-feedback-bar {
    background: #50ae26 !important;
}

iframe {
    max-width: 100%;
}

.fg-ads-mobile:before,
.fg-ads-mobile:after {
    content: 'Advertisement';
    border-top: 1px solid #D0D0D0;
    width: 100%;
    display: inline-block;
    font-family: arial, sans-serif;
    font-size: 12px;
    color: #505050;
    text-align: center;
    margin: 10px 0;
}
.fg-ads-mobile:after {
    content: '';
    margin-top: 30px;
}