html,
body {
    height: 100%;
    background: #ebebe3;
    font-family: Roboto;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -75px;
    padding: 70px 0 75px;
}

.wrap > .container {
    padding: 70px 10px 20px;
    background-color: #fff;
}
.navbar-inverse {
    background-color: #222;
    border-color: #222;
}

.footer {
    background-color: #d1d1ca;
    border-top: 1px solid #b7b7b0;
    padding: 20px 0;
    min-height: 75px;
}
.footer .copyright {
    float: right;
    line-height: 30px;
    padding: 0 15px;
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}
.social-top {
    float: right;
    margin-left: 20px;
    margin-top: 20px;
}
.fb_iframe_widget {
    float: left;
    margin: 0 3px;
}
.gplus {
    float: left;
    margin: 0 3px;
}
/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer ul li {
    float: left;
    padding: 0 15px;
    line-height: 30px;
}

.footer ul li a{
    display: block;
    font-weight: 700;
    font-size: 15px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .wrap > .container {
        padding: 10px 10px 20px;
    }
    .wrap{
        padding: 60px 0 75px;
    }
}
h4 {
    color: #41413c;
}
a {
    color: #0c4f81;
}
a:hover {
    color: #0c4f81;
}
.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.navbar-nav > li > a {
    line-height: 25px;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
     background-color: transparent;
}
@media (min-width: 768px) {

    .navbar-nav > li > a {
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar ul {

        border: 1px solid #494949;
        margin: 13px 0 0 0;
        background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #333 40%, #202020 54%, #101010 99%) repeat scroll 0 0;
        padding: 5px 9px 3px 10px;
    }
    .navbar ul li:not(:last-child) a{   border-right:1px solid #202020!important;}
    .navbar ul li {
        border-right:2px solid #393939 !important;}

    .navbar ul li:last-child,.navi ul li:last-child a{
        border-right: none!important;
    }
    .navbar ul li a:hover{ color: #747474;}

    .navbar ul li a.active {
        color: #8d8d8d;
    }

    .navbar-nav ul{
        display: none;
    }
}


@media(max-width:767px) {

    .navbar-nav ul li a{
        display: block;
        line-height: 30px;
        color: #9d9d9d;
    }
}


.navbar-brand {
    padding: 10px 5px;
    height: 60px;
}
.navbar-toggle {
    margin-top: 13px;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    color: #fff;
    background-color: #b7b7b0;
    border-color: #6b6b60;
}
.pagination > li > a, .pagination > li > span {
    color: #6b6b60;
}

.ad-container, .banner-container {
    margin-top: 10px;
}
.banner-container {
    text-align: center;
}
.ad-container > .adsbygoogle,
.banner-container picture {
    outline: 1px solid #b7b7b0;
}

.game-overview {
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #b7b7b0;
    background: #eeeee6;
}
.game-overview .game-head{
    padding: 1px 1px 0 1px;
}
.game-overview .game-head > div{
    padding: 0 5px;

    font-size: 13px;
    line-height: 30px;
    background: #d1d1ca;
    color: #000;
}
.game-overview .game-head a{
    line-height: 30px;
    background: #b7b7b0;
    display: inline-block;
    color: #515149;
    padding: 0 10px;
    margin: 0 -5px 0 0;
}
.game-overview .game-head .league-name{
    line-height: 20px;
    background: #b7b7b0;
    border: 1px solid #a1a19b;
    display: inline-block;
    color: #515149;
    padding: 0 10px;
    margin-right: 0;
}
.game-overview .game-body{
    width: 100%;
}
.game-overview .game-body > div > div{
    background: #fff;
    vertical-align: top;
}

@media (min-width: 992px) {

    section.content {
        width: calc(100% - 336px);
        float: left;
        padding-right: 15px;
    }

    section.sidebar {
        width: 336px;
        float: left;
    }
    .game-overview .game-body{
        display: table;
        border-collapse: separate;
        border-spacing: 1px;
    }
    .game-overview .game-body > div{
        display: table-row;
    }
    .game-overview .game-body > div > div{
        display: table-cell;
    }
    .game-overview .game-body .current-inning-info{
        width: 40%;
    }
    .game-overview .game-body .game-state{
        width: 30%;
        padding: 5px;
    }
    .game-overview .game-body .game-players{
        width: 30%;
    }
    .game-overview .game-body .game-pitchers{
        width: 30%;
    }
}

.game-overview .game-body .current-inning-info table{
    width: 100%;
    border-collapse: collapse;
}
.game-overview .game-body .current-inning-info table thead tr th:not(:first-child){
    width: 30px;
}
.game-overview .game-body .current-inning-info table tbody tr td:first-child img{
    width: 30px;
}
.game-overview .game-body .current-inning-info table thead tr th,
.game-overview .game-body .current-inning-info table tbody tr td{
    padding: 5px;
}
.game-overview .game-body .current-inning-info table thead tr th{
    border-bottom: 1px solid #eee;
}
.game-overview .game-body .current-inning-info .moneyline,
.game-overview .game-body .current-inning-info .handicap,
.game-overview .game-body .current-inning-info .over-under{
    font-weight: bold;
    font-size: 11px;
    text-align: right;
    border-left: 1px solid #eee;
}
.game-overview .game-body .current-inning-info tbody tr:first-child .moneyline,
.game-overview .game-body .current-inning-info tbody tr:first-child .handicap{
    border-bottom: 1px solid #eee;
}
.game-overview .game-body .current-inning-info .over-under span{
    text-align: center;
    width: 30px;
    line-height: 20px;
    position: relative;
    color: #000;
    display: block;
}

.game-overview .game-body .current-inning-info .over-under.inactive span{
    text-align: center;
    width: 30px;
    line-height: 20px;
    background: #c00;
    position: relative;
    color: #fff;
    display: block;
}

.game-overview .game-body .current-inning-info .over-under.inactive span:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 5px solid #c00;
    border-bottom: 0;
    position: absolute;
    bottom: -5px;
}

.game-overview .game-body .current-inning-info .over-under.active span {
    background: #090;
    position: relative;
    color: #fff;
}

.game-overview .game-body .current-inning-info .over-under.active span:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 5px solid #090;
    border-top: 0;
    position: absolute;
    top: -5px;
}

.game-overview .game-body .current-inning-info .moneyline.active,
.game-overview .game-body .current-inning-info .handicap.active{
    color: #00cc00;
}
.game-overview .game-body .game-state{
    padding: 5px;
}
.game-overview .game-body .game-state .game-base,
.game-overview .game-body .game-state .game-stats{
    display: inline-block;
    margin: 0 10px 0px 5px;
}
.game-overview .game-body .game-state .game-stats{
    float: right;
}
.game-overview .game-body .game-state .game-stats .placeholder{
    height: 12px;
    border-radius: 50%;
    background: #999;
    border: 1px solid #333;
}
.game-overview .game-body .game-state .game-stats .balls .placeholder.active{
    background: #00cc00;
}
.game-overview .game-body .game-state .game-stats .strikes .placeholder.active{
    background: #e2e200;
}
.game-overview .game-body .game-state .game-stats .outs .placeholder.active{
    background: #ff0000;
}
.game-overview .game-body .game-state .game-stats > div:after {
    content: "";
    clear: both;
    display: table;
    margin-bottom: 5px;
}
.game-overview .game-body .game-state .game-stats  > div span{
    float: left;
    font-size: 11px;
    line-height: 12px;
    width: 12px;
    margin: 0 1px;
}
.game-overview .game-body .game-state .game-base > div{
    display: inline-block;
    margin-top: 10px;
    -webkit-transform: rotate(45deg);
    -moz-transform:    rotate(45deg);
    -ms-transform:     rotate(45deg);
    -o-transform:      rotate(45deg);
    transform:         rotate(45deg);
}
.game-overview .game-body .game-state .game-base table{
    border-collapse: separate;
    border-spacing: 5px;
}
.game-overview .game-body .game-state .game-base table td{
    width: 15px;
    height: 15px;
}
.game-overview .game-body .game-state .game-base table td.active{
}
.game-overview .game-body .game-state .game-base table td.inactive{
    background: #ccc !important;
}

.game-overview .game-body .game-state .game-play-by-play span:first-child{
    font-weight: bold;
    text-transform: uppercase;
}
.game-overview .game-body .game-state .game-play-by-play span{
    font-size: 11px;
}

.game-overview .game-body .game-players,
.game-overview .game-body .game-pitchers{
    padding: 10px;
    font-size: 11px;
}
.game-overview .game-body .game-pitchers div span:first-child,
.game-overview .game-body .game-players div span:first-child{
    font-weight: bold;
}

.ribbon-caption {
    position: relative;
    margin: 20px -10px 20px -15px;
}
.ribbon-caption:after {
    content: "";
    display: table;
    clear: left;
}
.ribbon-caption ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.ribbon-caption > div{
    float: left;
    position: relative;
}
.ribbon-caption li{
    position: relative;
    line-height: 30px;
    float: left;
    font-size: 14px;
    font-weight: 700;
    color: #858577;
    background: #deded6;
    margin-left: 32px;
    margin-top: 2px;
}
.ribbon-caption > ul > li a{
    color: #fff;
}
.ribbon-caption > div > ul > li a{
    color: #0c4f81;
}
.ribbon-caption > ul > li:not(:first-child):before,
.ribbon-caption > div > ul li:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent #deded6 transparent;
    left: -30px;
    top: 0;
}

.ribbon-caption li:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 30px 0 0;
    border-color: #deded6 transparent transparent transparent;
    right: -30px;
    top: 0;
}
.ribbon-caption li.active:after{
    border-color: #fff transparent transparent transparent;
}

.ribbon-caption li.active:before{
    border-color: transparent transparent #fff transparent;
}
.ribbon-caption li.active{
    background: #fff;
}

.ribbon-caption > ul > li:first-child{
    margin-left: -15px;
    background: #b7b7b0;
    padding: 0 5px 0 35px;
    color: #fff;
}
.ribbon-caption > ul > li:first-child:after{
    border-color: #b7b7b0 transparent transparent transparent;
}

.ribbon-caption li:not(:first-child){
    padding: 0;
}
.ribbon-caption > ul > li:nth-child(2){
    background: #d1d1ca;
    color: #6b6b60;
}
.ribbon-caption > ul > li:nth-child(2):before{
    border-color: transparent transparent #d1d1ca transparent;
}
.ribbon-caption > ul > li:nth-child(2):after{
    border-color: #d1d1ca transparent transparent transparent;
}

@media(max-width:767px) {

    .ribbon-caption > div {
        clear: left;
    }
    .ribbon-caption > div > ul > li:first-child{
        padding-left: 15px;
        margin-left: 0;
    }
    .ribbon-caption > div > ul > li:first-child:before{
        display: none;
    }
    .ribbon-caption > ul > li{
        font-size: 12px;
    }

    .ad-container {
        margin-left: -10px;
        margin-right: -10px;
    }

    .footer ul li{
        display: block;
        float: none;
    }
}
@media(min-width:768px) {

    .sidebar .ad-container.placeholder {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.ribbon-caption:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 15px 0;
    border-color: transparent #909089 transparent transparent;
    left: -15px;
    bottom: -15px;
}


.box .box-head {
    padding: 0 5px;
    line-height: 30px;
    border-bottom: 0;
    background: #b7b7b0;
    color: #515149;
}
.box .box-body{
    border: 1px solid #b7b7b0;
}

.box-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-spacing: 1px;
    border-collapse: separate;
    background: #eeeee6;
}

.box-table th{
    background: #d1d1ca;
    padding: 5px;
}
.box-table td{
    background: #fff;
    padding: 5px;
}


@media(max-width:767px) {

    .box-table th.desktop,
    .box-table td.desktop{
        display: none;
    }

    .hidden-mobile {
        display: none;
    }
}

@media(min-width:767px) {

    .box-table th.mobile,
    .box-table td.mobile{
        display: none;
    }
    .hidden-desktop {
        display: none;
    }
}

.site-index {

}


.site-game-details .innings {
    border: 1px solid #b7b7b0;
}

.site-game-details .play-by-play {
    border: 1px solid #b7b7b0;
    margin-top: 10px;
    background: #fff;
}
.site-game-details .play-by-play .part {
    background: #d1d1ca;
    padding: 0 5px;
    line-height: 30px;
}
.site-game-details .play-by-play ul {
    margin: 10px;
}
.site-game-details .play-by-play ul li.scored {
    color: #cc0000;
}
.inning-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}

.inning-table th {
    line-height: 25px;
    background: #d1d1ca;
}
.inning-table td {
    padding: 5px 10px;
    background: #d1d1ca;
}
.inning-table th,
.inning-table td:not(:first-child){
    text-align: center;
    vertical-align: middle;
}
.inning-table td:not(:first-child){
    background: #fff;
}
.inning-table td:first-child{
    width: 150px;
}
.inning-table .team-logo {
    height: 25px;
}

.image-slider {
    margin: 15px 0;
}

.slider-container {
    position: relative;
    margin-bottom: 20px;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.rslides_nav {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    z-index: 2;
}
.rslides_nav.prev {
    left: 20px;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin-right: 10px;
    background: rgba(0, 0, 0, 0.3);
}
.rslides_nav.prev:after {
    content: '';
    display: inline-block;
    margin-top: 15px;
    margin-left: 19px;
    width: 20px;
    height: 20px;
    border-top: 6px  solid rgba(255, 255, 255, 0.7);
    border-right: 6px  solid rgba(255, 255, 255, 0.7);
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.rslides_nav.next {
    right: 20px;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin-right: 10px;
    background: rgba(0, 0, 0, 0.3);
}
.rslides_nav.next:after {
    content: '';
    display: inline-block;
    margin-top: 15px;
    margin-left: 14px;
    width: 20px;
    height: 20px;
    border-top: 6px  solid rgba(255, 255, 255, 0.7);
    border-right: 6px  solid rgba(255, 255, 255, 0.7);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media (min-width: 768px) {
    .navbar-fixed-top {
        top: 67px;
    }
}
@media (min-width: 768px) {

    .sport-ticker-container {
        display: block;
    }
    .sport-ticker-navigation {
        display: none;
    }
}

@media (max-width: 767px) {

    .sport-ticker-container {
        display: none;
    }
    .sport-ticker-navigation {
        display: block;
    }
}

.smartbanner-show {

}
.smartbanner-show .navbar-fixed-top{
    top: 80px;
}
.smartbanner {
    position: fixed !important;
}
@media (max-width: 767px) {
    .smartbanner-show .wrap {
        padding: 140px 0 75px;
    }
}

.calendar-table tbody tr.dark td{
    background: #f0f0f0;
}

.stats-table {
    width: 100%;
    border: 1px solid #b7b7b0;
    border-collapse: separate;
    border-spacing: 1px;
    margin: 10px 0;
    table-layout: fixed;
}

.stats-table th {
    background: #d1d1ca;
    padding: 0 5px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.stats-table td {
    background: #f5f5eb;
    text-align: center;
    padding: 0 5px;
    line-height: 30px;
}

.player-list {
    width: 100%;
    border: 1px solid #b7b7b0;
    border-collapse: separate;
    border-spacing: 1px;
    margin: 10px 0;
    table-layout: fixed;
}

.player-list th{
    background: #d1d1ca;
    padding: 0 5px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.player-list td{
    background: #f5f5eb;
    text-align: center;
    padding: 0 5px;
    line-height: 30px;
}