/*!
 * Bootoast CSS
 * @author odahcam
 */
.bootoast{opacity:0;filter:alpha(opacity=0)}.bootoast>.glyphicon{display:inline-block;float:left;font-size:20px;margin-right:14px}.bootoast>.bootoast-alert-container{display:block;max-width:100%;overflow:auto}.bootoast>.bootoast-alert-container>.bootoast-alert-content{display:table;width:100%;height:100%}.bootoast.alert-default{background:#eee}.bootoast>.progress.progress-bottom{width:auto;margin-left:-1.25rem;margin-right:-1.25rem;margin-bottom:-.75rem}.bootoast>.progress.progress-top{margin-top:-.75rem}.bootoast>.progress.progress-background{margin:0;position:absolute;top:0;left:0;width:100%;height:100%;opacity:.35}.bootoast-container{position:fixed;left:20px;right:20px;top:initial;bottom:initial;width:390px;max-width:95%;z-index:999999}.bootoast-container.top{top:20px}.bootoast-container.bottom{bottom:20px}.bootoast-container.right{left:initial}.bootoast-container.left{right:initial}.bootoast-container.center{left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}
.bootoast.alert{
    border-radius: 0;
    border:none;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
}
table.dataTable.stripe tbody tr.odd.selected, table.dataTable tbody tr.selected {
    background-color: #bae6ff;
}
.table_float_left >div{
    display: inline-block;
    margin-right: 15px;
}
.table_float_left .dataTables_paginate{
    float: right;
}
.bootstrap-dialog .bootstrap-dialog-title {
    color: #fff;
    display: inline-block;
    font-size: 16px;
}
.bootstrap-dialog .bootstrap-dialog-message {
    font-size: 14px;
}
.bootstrap-dialog .bootstrap-dialog-button-icon {
    margin-right: 3px;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
    font-size: 20px;
    float: right;
    opacity: 0.9;
    filter: alpha(opacity=90);
}
.bootstrap-dialog .bootstrap-dialog-close-button:hover {
    cursor: pointer;
    opacity: 1;
    filter: alpha(opacity=100);
}
.bootstrap-dialog.type-default .modal-header {
    background-color: #ffffff;
}
.bootstrap-dialog.type-default .bootstrap-dialog-title {
    color: #333;
}
.bootstrap-dialog.type-info .modal-header {
    background-color: #5bc0de;
}
.bootstrap-dialog.type-primary .modal-header {
    background-color: #337ab7;
}
.bootstrap-dialog.type-success .modal-header {
    background-color: #5cb85c;
}
.bootstrap-dialog.type-warning .modal-header {
    background-color: #f0ad4e;
}
.bootstrap-dialog.type-danger .modal-header {
    background-color: #d9534f;
}
.bootstrap-dialog.size-large .bootstrap-dialog-title {
    font-size: 24px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
    font-size: 30px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-message {
    font-size: 18px;
}
.modal-dialog .icon-spin {
    display: inline-block;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}
@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}
@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}
html{
    background: #ecf0f5;
}

@media (min-width: 768px) {
    .modal:not(.bootstrap-dialog) .modal-dialog {
        width: 900px;
        margin: 30px auto;
    }
}

.btn.btn-query{
   /* margin-right: 15px;
    margin-left: 15px;
    min-width: 120px;*/
    width:100%;
}

.select-dialog .modal-dialog {
    width: 800px;
}
.m-z-index{
    z-index:2000;
}
.pull-center{
    text-align: center !important;
}
.radio-mf{
    margin-left: 40px !important;
}
.spanl{
    color: #dd4b39;
}
.modal.update-modal .create-display,
.modal .modify-display{
    display: none;
}
.modal .create-display,
.modal.update-modal .modify-display{
    display: block;
}
.span-color{
    color: red;
}

/*--- treenode box ----------------------------------------------------------------------*/

.wgo-treenode-wrapper {
    overflow: auto;
    margin: 0 0 0 0;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}
.wgo-treenode-area{
    resize: none;
    width: 100%;
    border: 1px solid #d6d6d6;
    font-size: 14px;
}

.wgo-treenode-content {
    padding: 3px 5px;
    border: 1px solid rgba(200,200,200,0.3);
    background-color: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow-y: auto;
}

.wgo-treenode-content p {
    font-size: 0.9em;
    margin: 0.5em 0;
}
.wgo-treenodebox .wgo-box-title {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px;
    font-size: 16px;
}

.wgo-treenodebox .wgo-box-title::after {
    content: '\e800';
    font-family: "wgo-icons";
    float: right;
    font-weight: normal;
    font-size: 0.9em;
    padding-top: 4px;
    width: 22px;
    text-align: center;
}

.wgo-treenodebox.wgo-gameinfo .wgo-box-title::after {
    content: '\e801';
    padding-top: 2px;
}

.wgo-treenode-nick {
    color: rgba(0,0,0,0.75);
}
/* right and left modifications */

.wgo-player-right .wgo-treenode-content, .wgo-player-left .wgo-treenode-content {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: 40px;
}

.wgo-player-right .wgo-treenodebox, .wgo-player-left .wgo-treenodebox {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 10px;
    top: 0;
}

/* top and bottom modifications */

.wgo-player-top .wgo-treenode-content, .wgo-player-bottom .wgo-treenode-content {
    position: absolute;
    left: 40px;
    right: 0;
    top: 0;
    bottom: 0;

}

/* TODO: handle too long title */
.wgo-player-top .wgo-treenodebox .wgo-box-title, .wgo-player-bottom .wgo-treenodebox .wgo-box-title {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    position: absolute;
    left: -35px;
    top: 55px;
}

.wgo-player-top .wgo-treenode-wrapper, .wgo-player-bottom .wgo-treenode-wrapper {
    margin-top: 10px;
    height: 150px;
}
.wgo-treenodebox .treeview-menu{
    /*display: block;*/
}
.wgo-treebox .fa{
    font-size: 16px;
}
/* game info table */
.wgo-treebox{
    position: absolute;
    top: 90px;
    left: 5px;
    bottom: 0;
    right: 5px;
    display: block;
    /*border: 1px solid #d6d6d6;*/
    padding: 0;
}
.wgo-treebox .active{
    background: #e6c97a;
}
.wgo-treebox .treeview-menu>li>a{
    white-space: nowrap;
}
.wgo-treenodebox .wgo-info-list {
    display: table;
    width: 100%;
}

.wgo-treenodebox .wgo-info-title {
    display: table-caption;
    font-weight: 600;
    border-bottom: 2px solid rgba(200, 200, 200, 0.3);
    padding: 2px 0;
}

.wgo-treenodebox .wgo-info-item {
    display: table-row;
}

.wgo-treenodebox .wgo-info-label, .wgo-treenodebox .wgo-info-value {
    display: table-cell;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    padding: 2px 15px 2px 0;
}

.wgo-treenodebox .wgo-info-label {
    color: #000;
}

.wgo-treenodebox .wgo-info-value {
    color: #4c4c4c;
}

/* in gameinfo, last row is without border*/
.wgo-treenodebox.wgo-gameinfo .wgo-info-item:last-child .wgo-info-label, .wgo-treenodebox.wgo-gameinfo .wgo-info-item:last-child .wgo-info-value {
    border-bottom: 0;
}

/*--- /treenode box ----------------------------------------------------------------------*/

/*==棋盘==*/
.wgo-board{
    border-bottom: none !important;
}

.wgo-toolbar-box button{
    height: 35px;
}
.wgo-tips{
    display: none;
    text-shadow: black 2px 2px 2px;
    padding: 10px;
    text-align: center;
    color: white;
    top: 50%;
    z-index: 400;
    margin-top: -20px;
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.board-thumb-image{
    width: 200px;
    height: 200px;
    opacity: 0;
    position: absolute;
    z-index: -2;
    pointer-events: none;
    top: 0;
    visibility: hidden;
}
.wgo-toolbar-box .btn-default.active{
    background-color: #debc61;
    border:none;
}
.wgo-help{
    margin-top: 10px;
    border: 1px dashed;
    background-color: rgb(215, 183, 95);
}
.wgo-toolbar-box .btn-group{
    margin-right: 5px;
    margin-bottom: 10px;
}
.other-stone:after,
.black-stone:after,
.white-stone:after{
    content: ' ';
    float: left;
    margin-right: 10px;
    margin-top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    box-shadow: 1px 1px 1px 1px rgba(127, 127, 127, 0.3);
}
.other-stone:after{
    background: rgb(60, 141, 188);
    background: -moz-linear-gradient(-45deg, rgb(215, 235, 247) 0%,rgb(111, 175, 212) 47%,rgb(60, 141, 188) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(215, 235, 247,1)), color-stop(47%,rgba(111, 175, 212,1)), color-stop(100%,rgba(60, 141, 188,1)));
    background: -webkit-linear-gradient(-45deg, rgb(215, 235, 247) 0%,rgb(111, 175, 212) 47%,rgb(60, 141, 188) 100%);
    background: -o-linear-gradient(-45deg, rgb(215, 235, 247) 0%,rgb(111, 175, 212) 47%,rgb(60, 141, 188) 100%);
    background: -ms-linear-gradient(-45deg, rgb(215, 235, 247) 0%,rgb(111, 175, 212) 47%,rgb(60, 141, 188) 100%);
}
.white-stone:after{
    background: rgb(255,255,255);
    background: -moz-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1)));
    background: -webkit-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);
}
.black-stone:after{
    background: rgb(35,36,39);
    background: -moz-linear-gradient(-45deg, rgba(35,36,39,1) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(35,36,39,1)), color-stop(100%,rgba(0,0,0,1)));
    background: -webkit-linear-gradient(-45deg, rgba(35,36,39,1) 0%,rgba(0,0,0,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(35,36,39,1) 0%,rgba(0,0,0,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(35,36,39,1) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(135deg, rgba(35,36,39,1) 0%,rgba(0,0,0,1) 100%);
}
.wgo-comment-text .treeview-menu>li>a{
    padding: 4px 4px 4px 10px;
    white-space: nowrap;
}
.wgo-comment-text .treeview-menu{
    padding-right: 3px;
}
.scroller-wrapper {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}
.iScrollHorizontalScrollbar {
    position: absolute;
    z-index: 9999;
    height: 3px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    overflow: hidden;
}

.iScrollHorizontalScrollbar.iScrollBothScrollbars {
    right: 5px;
}

.iScrollVerticalScrollbar {
    position: absolute;
    z-index: 9999;
    width: 3px;
    bottom: 2px;
    top: 2px;
    right: 2px;
    overflow: hidden;
}

.iScrollVerticalScrollbar.iScrollBothScrollbars {
    bottom: 5px;
}
.iScrollHorizontalScrollbar .iScrollIndicator {
    height: 100%;
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
}

.iScrollVerticalScrollbar .iScrollIndicator {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
}
.scroller {
    position: absolute;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    /*width: 100%;*/
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
}
/*==棋盘==*/

.form-group.has-error .select2-selection{
    border-color: #dd4b39;
    box-shadow: none;
}

.divTree{
    width: 100%;
    height: 250px;
    overflow-y:auto;
    border:solid 1px #d2d6de;
}
.minus-icon{
    font-size: 26px;
    line-height: 50px;
    color: darkgray;
}
.wgo-button.wgo-button-pass:before{
    display: inline-block;
    font: normal normal normal 22px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f256";
    width: 1.28571429em;
    text-align: center;
}
.progress-box{
    font-size: 12px;
    display: none;
}
.iconfont-pro {
    position: absolute;
    top: 33px;
    right: 20px;
}
.answer-header{
    padding-top: 5px;
    padding-bottom:5px;
}
.answer-list{
    list-style: none;
    padding: 5px 0px 5px 0px;
}
.answer-list>li{
    margin-bottom: 5px;
}
.active-li {
    background: lightgray!important;
}
/*.modal{
    position: absolute;
}*/
/***************************测评选择题***********************/
.list-row, .list-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    transition: background 0.3s;
    -moz-transition: background 0.3s;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    -ms-transition: background 0.3s;
}
.list-row .cell, .list-header .title {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    padding: 0 10px;
}
/*为左边菜单栏添加滚动条*/
.sidebar{
    width:100%;
    /*height:1080px;*/
    height:94vh;
    overflow-x:hidden;
    overflow-y:auto;
}
/*兼容IE*/
.sidebar{
    scrollbar-face-color: #20a774;/*移动滑块颜色*/
    scrollbar-shadow-color: #20a774;/*移动滑块边框颜色*/
    scrollbar-track-color: #ccc;/*背景颜色*/
    scrollbar-arrow-color: #ddd;/*箭头颜色*/
}
.sidebar::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #ccc;
}/* 滚动条的滑轨背景颜色 */
.sidebar::-webkit-scrollbar
{
    width: 6px;
    background-color: #ccc;
}

.sidebar::-webkit-scrollbar-thumb
{
    background-color: #20a774;
}/* 滑块颜色 */



.game-menu-box{
    height: 50px;
    width: 380px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /*padding: 0  0.3rem;*/
    padding: 0  0;
    list-style:none;
}
.icon-first,
.icon-previous,
.icon-next,
.icon-next5,
.icon-last,
.icon-previous5{
    display: block;
    /*width: 0.30rem;*/
    /*height: 0.30rem;*/
    width: 28px;
    height: 28px;
    -webkit-transition: background .3s cubic-bezier(.645,.045,.355,1);
    transition: background .3s cubic-bezier(.645,.045,.355,1);
}
.game-menu-box .icon-first{
    background: url("../img/icon-first.png") no-repeat;
    background-size: 100% 100%;
}

.game-menu-box a:not([disabled]) .icon-first:hover{
    background: url("../img/icon-first-active.png") no-repeat;
    background-size: 100% 100%;
}

.game-menu-box .icon-previous5{
    background: url("../img/icon-previous5.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box a:not([disabled]) .icon-previous5:hover{
    background: url("../img/icon-previous5-active.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box .icon-previous{
    background: url("../img/icon-back.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box  a:not([disabled]) .icon-previous:hover{
    background: url("../img/icon-back-active.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box .icon-next{
    background: url("../img/icon-next.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box a:not([disabled]) .icon-next:hover{
    background: url("../img/icon-next-active.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box .icon-next5{
    background: url("../img/icon-next5.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box a:not([disabled]) .icon-next5:hover{
    background: url("../img/icon-next5-active.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box .icon-last{
    background: url("../img/icon-last.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box a:not([disabled]) .icon-last:hover{
    background: url("../img/icon-last-active.png") no-repeat;
    background-size: 100% 100%;
}
.game-menu-box a[disabled] i{
    cursor: not-allowed;
}

