﻿/*====== TOP STYLE ======*/
.close {
    color: #000000;
    float: right;
    font-size: 19px;
    font-weight: bold;
    line-height: 1;
    opacity: 0.3;
    text-shadow: 0 1px 0 #FFFFFF;
}

    .close:hover, .close:focus {
        color: #000000;
        cursor: pointer;
        opacity: 0.6;
        text-decoration: none;
    }

button.close {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    cursor: pointer;
    padding: 0;
}

input[type="text"]:focus, input[type="password"]:focus, .main input[type="text"]:focus, .main input[type="password"]:focus {
    border-color: #66AFE9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}

input[type="text"], input[type="password"] {
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    font-size: 12px;
    line-height: 16px;
    padding: 3px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.login input[name="UserName"] {
    margin-right: 12px;
}

.login input.top_input3 {
    line-height: 24px;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

    .fade.in {
        opacity: 1;
    }

.collapse {
    display: none;
}

    .collapse.in {
        display: block;
    }

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: height 0.35s ease;
    transition: height 0.35s ease;
}

.modal-open {
    overflow: hidden;
}

.modal {
    bottom: 0;
    display: none;
    left: 0;
    outline: 0 none;
    position: fixed;
    right: 0;
    top: 20%;
    z-index: 1050;
}

    .modal.fade .modal-dialog {
        -webkit-transform: translate(0, -25%);
        -ms-transform: translate(0, -25%);
        transform: translate(0, -25%);
        -webkit-transition: -webkit-transform 0.3s ease-out;
        -moz-transition: -moz-transform 0.3s ease-out;
        -o-transition: -o-transform 0.3s ease-out;
        transition: transform 0.3s ease-out;
    }

    .modal.in .modal-dialog {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }

.modal-dialog {
    margin: 30px auto;
    position: relative;
    width: 480px;
    z-index: 1050;
}

.modal-content {
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    outline: medium none;
    position: relative;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

.modal-backdrop {
    background-color: #000000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}

    .modal-backdrop.fade {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

.modal-header {
    border-bottom: 1px solid #c2c2c2;
    min-height: 16.4286px;
    padding: 10px 15px;
    background: #f1f1f1;
    border-radius: 6px 6px 0 0;
    background-image: -moz-linear-gradient(center top, #F2F2F2, #E1E1E1);
}

    .modal-header .close {
        margin-top: -3px;
    }

.modal-title {
    line-height: 1.42857;
    margin: 0;
}

.modal-body {
    padding: 20px;
    position: relative;
}

.modal-footer {
    border-top: 1px solid #E5E5E5;
    margin-top: 5px;
    padding: 7px 20px 8px;
    text-align: right;
}

    .modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    .modal-footer .btn-block + .btn-block {
        margin-left: 0;
    }
/*@media screen and (min-width: 768px) {
.modal-dialog {
    margin: 30px auto;
    width: 480px;
}
.modal-content {
     -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
}*/

#alert-wrapper .modal-header {
    border-radius: 4px 4px 2px 2px;
    padding: 5px 8px;
}

#alert-wrapper .info {
    background: url(/statics/cmd368/statics/img/main/icon/info.png);
}

.alert-text {
    font: 700 12px/22px Tahoma;
    margin: 0;
    text-align: center;
    color: #444444;
}

#alert-wrapper .modal-footer {
    background: #fafafa;
    padding: 7px 20px 8px;
    border-radius: 0 0 2px 2px;
}

    #alert-wrapper .modal-footer button {
        min-width: 60px;
        padding: 3px 12px;
    }


/*=====================bootbox==============*/
.bootbox .modal-dialog {
    width: 480px;
}

.bootbox .modal-header {
    padding: 10px 15px;
}

.bootbox .modal-content, .bootbox .modal-window {
    width: 100%;
}

.bootbox .modal-body button.close {
    margin-top: -20px !important;
}

.bootbox .modal-body {
    margin: 10px 0;
}

.bootbox .bootbox-body {
    font: 700 12px/22px Tahoma;
    color: #444;
    text-align: center;
    overflow-y: auto;
    max-height: 400px;
}

    .bootbox .bootbox-body img {
        margin: 2px;
    }

.bootbox .modal-footer {
    padding: 9px 20px 10px;
    margin-top: 5px;
}

.bootbox .btn {
    min-width: 60px;
    padding: 3px 12px;
    font-family: inherit;
}

.bootbox input[type=text]:focus, input[type=password]:focus {
    border-color: #66AFE9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}

.bootbox input[type=text], .bootbox input[type=password] {
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    font-size: 12px;
    line-height: 16px;
    padding: 3px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.bootbox .btn-primary {
    background-color: #5BB75B;
    background-image: linear-gradient(to bottom,#62C462,#51A351);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#62C462),to(#51A351));
    background-image: -webkit-linear-gradient(top,#62C462,#51A351);
    background-image: -o-linear-gradient(top,#62C462,#51A351);
    background-image: linear-gradient(to bottom,#62C462,#51A351);
    background-repeat: repeat-x;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}

    .bootbox .btn-primary:hover,
    .bootbox .btn-primary:focus,
    .bootbox .btn-primary:active,
    .bootbox .btn-primary.active, .bootbox .btn-primary.disabled, .bootbox .btn-primary[disabled] {
        background: #51A351;
        background-color: #51A351;
        color: #FFFFFF;
    }


#msg {
    float: left;
    line-height: 35px;
    margin: 0;
    font: 100 11px/35px Tahoma;
}


/*====== LEFT STYLE ======*/
.BetBill2 span.ticketid {
    width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.BetBill2 .with-print span.ticketid {
    width: 75px;
}

.BetBill2 h1 img.print-minibet {
    height: 16px;
    margin-right: -2px;
    margin-top: -1px;
    padding: 0;
}

.BetBill3 span {
    width: 49%;
    font-weight: 700;
    display: block;
    float: left;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*====== RIGHT STYLE ======*/
.outright-sortby {
    float: right;
    vertical-align: middle;
}


.table-row,
.selected-market {
    width: 100%;
    margin-bottom: -3px;
}

    .selected-market div {
        float: left;
        height: 30px;
    }

    .table-row div {
        float: left;
        line-height: 15px;
    }

.events-table,
.odds-container {
    background-color: #d8e5ef;
    /*border-top: 0px solid #0562a9;
    border-left: 0px solid #0562a9;*/
}

#aside_left {
    height: calc(100% - 10px);
}

#container {
    width: calc(100% - 217px);
    height: calc(100% - 10px);
    margin: 0;
    position: absolute;
    float: right;
    overflow: hidden;
    overflow-y: scroll;
}

.wrapper {
    width: 100%;
    float: left;
    padding-top: 5px;
    position: fixed;
}

.selected-market .market-name {
    padding: 0 5px;
    -flex-grow: 1;
    width: 474px;
    flex-grow: 1;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 480px;
    font-size: 11px;
}

.table-row .odd .coefficient {
    position: relative;
    display: block;
    padding: 7px 0;
}

.all-markets {
    width: 51px;
    color: #4c4c4c;
    transition: .2s;
    cursor: pointer;
}

.flex-sb {
    -webkit-justify-content: space-between;
    justify-content: space-between;
    display: inline-block;
    width: 100%;
}

    .flex-sb div.odd {
        float: left;
    }

.odds-container .odd {
    position: relative;
    cursor: pointer;
    width: 49.85%;
    padding: 7px 0;
}

.match-wrapper {
    border: 0px solid #0f0f0f;
}

#more,
#tv {
    position: relative;
    padding: 0 0 15px 1px;
    border-top: 0px solid #0f0f0f;
    border-left: 0px solid #0f0f0f;
    color: #000;
    transition: .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-tv {
    background: url(../images/tvbg.jpg);
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

    .match-tv .teamName {
        width: 99%;
        height: 80px;
        color: #fff;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
        margin: 20px 0 20px 0;
        line-height: 24px;
    }

    .match-tv .leagueName {
        padding: 10px;
    }

    .match-tv .homeTeam, .awayTeam {
        padding: 12px;
    }

    .match-tv .tv-box .tv_con #objectflash {
        border: 2px solid #eeeeee45;
    }

    .match-tv .hgroup {
        width: 770px;
        height: 74px;
        margin: 0 auto;
        display: -webkit-flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        text-align: center;
    }

    .match-tv .tv-box .tv_con {
        text-align: center;
        display: flex;
        /* background: #090909; */
    }

    .match-tv .hgroup div {
        display: inline-block;
    }

    .match-tv .hgroup_l img,
    .match-tv .hgroup_r img {
        max-width: 100%;
        max-height: 100%;
        vertical-align: middle;
    }

    .match-tv .hgroup_l {
        margin: auto;
        color: white;
        border: 3px solid #0006;
        padding: 3px;
        width: 100px;
        height: 100px;
        background: rgba(0, 0, 0, 0.3);
        line-height: 100px;
    }

    .match-tv .hgroup_r {
        margin: auto;
        color: white;
        border: 3px solid #0006;
        padding: 3px;
        width: 100px;
        height: 100px;
        background: rgba(0, 0, 0, 0.3);
        line-height: 100px;
    }

    .match-tv .hgroup_c {
        padding-top: 12px;
        width: 20%;
        text-align: center;
    }

.outright .match-wrapper {
    display: inline-block;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-right: 0px;
    width: 100%;
}

.outright .match-markets-view {
    width: 49.6%;
    margin: 0;
    display: inline-block;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.outright .flex-sb {
    display: inline-block;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: -3px;
}

.outright .odds-container .odd {
    width: 96.5%;
    padding: 8px 7px;
    height: 18px;
}

.ref_payout {
    display: none !important;
}

.modal {
    right: 35% !important;
}

/* CREDIT-893：手机打开PC版E-Sports样式问题 */
@media(max-device-width: 768px) {
    #container {
        overflow-x: auto;
    }
}

#esports-content {
    min-height: 1200px;
}

