html, body {
    height: 100%;
    margin: 0;
}

body {
    padding-top: 38px;
}

.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 16px;
    height: 38px;
}

.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo-wrap {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 16px;
    margin-right: 14px;
}

.nav-logo {
    width: 120px;
}

.nav-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

.nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 11px;
}

.nav-menu-item {
    position: relative;
    height: 100%;
}

.nav-mi-btn {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 12px;
    cursor: pointer;
}

.nav-mi-btn:hover span, .nav-mi-btn.expanded span {
    color: #337ab7;
}

.nav-logo-wrap:after, .nav-menu-item:not(:last-child) .nav-mi-btn:after {
    position: absolute;
    display: block;
    content: "";
    top: 8px;
    bottom: 8px;
    right: -1px;
    width: 1px;
    background: #337ab7;
}

.nav-mi-icon {
    font-size: 16px;
}

.nav-mi-icon.glyphicon-triangle-bottom, .nav-mi-icon.glyphicon-triangle-top {
    font-size: 8px;
    margin-left: 4px;
}

.nav-mi-content {
    position: absolute;
    min-width: 200px;
    right: 0;
    left: auto;
    background: #86AFE5;
    padding: 20px 0;
    border-top: 1px solid #337ab7;
    box-shadow: 2px 2px 4px #0006;
    display: none;
}

.nav-mi-content-block {
    margin: 0 20px;
}

.nav-mi-content-block.tail-btn {
    display: flex;
    justify-content: flex-end;
}

.nav-mi-content-divider {
    border-color: #337ab7;
}

.b-bar-btn {
    padding: 8px 10px;
    display: inline-block;
    cursor: pointer;
}

.b-bar-btn .glyphicon {
    font-size: 16px;
}

.b-mobile-bar {
    border-bottom: 1px solid #CACECF;
    padding: 2px 0;
}

.b-mobile-bar .b-bar-btn {
    border-right: 1px solid #EBEDED;
}

.b-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.b-content {
    display: flex;
    flex: 1;
    height: 100%;
}

.b-drawer {
    position: relative;
    background: #F2F3F3;
    overflow: auto;
}

.b-drawer .b-bar-btn {
    display: none;
}

.b-bar-close-btn {
    position: absolute;
    z-index: 10;
    right: 10px;
    top: 7px;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.b-bar-close-btn .glyphicon {
    font-size: 15px;
}

.b-main {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.b-main-title {
    margin: 0 0 20px;
}

#top, #main {
    padding: 0;
    float: left;
    width: 100%;
}

.active th {
    background: #EBF2FA !important;
}

.padding-left0 {
    padding-left: 0;
}

.padding-horizontal0 {
    padding-left: 0;
    padding-right: 0;
}

.padding-bottom10 {
    padding-bottom: 10px;
}

.padding-top10 {
    padding-top: 10px;
}

.normal {
    font-weight: normal;
}

.btn-glyphicon {
    padding: 3px 5px;
    cursor: pointer;
}

.pop-info {
    color: lightgrey;
    position: absolute;
    right: 0;
    top: 10px;
}

.pop-hover {
    color: darkorange;
}

#topTail {
    height: 10px;
    clear: both;
}

.fixed-table-body {
    overflow: visible;
}

#mainTable .td-label,
#mainForm .td-label {
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 10px;
    font-weight: normal;
}

#mainTable .td-label:last-child,
#mainForm .td-label:last-child {
    margin-bottom: 0;
}

#mainTable a[role=btn] {
    margin-right: 10px;
    display: inline-block;
}

#mainTable .card-view {
    margin: 10px 0;
    display: flex;
}

#mainForm {
    margin: 20px 0;
}

#mainForm,
#mainForm .form-piece,
#mainForm .form-row,
#mainForm .sp-holder {
    float: left;
    width: 100%;
}

#mainForm .sp-holder {
    height: 35px;
}

#mainForm .alert {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
}

#mainForm .control-label {
    white-space: nowrap;
}

#mainForm .kw-label {
    display: inline-block;
    margin-right: 10px;
}

#styleImageBox {
    margin-top: 8px;
    width: 170px;
}

#styleImageBox img {
    max-width: 140px !important;
    max-height: 140px !important;
}

#styleSearchResultBox {
    max-height: 206px;
    overflow: auto;
    margin-top: 10px;
}

#styleSearchResultBox ul {
    margin-bottom: 0;
}

#styleSearchResultBox .li-span {
    display: inline-block;
    max-width: 70%;
}

#tableAnalysisFilter {
    width: 100%;
    border-collapse: collapse;
    margin-top: -20px;
}

#tableAnalysisFilter tr td {
    padding: 10px;
    border: 1px solid #eee;
}

#tableAnalysisFilter tr td:first-child {
    background-color: #eee;
    width: 120px;
    text-align: right;
}

#tableAnalysisFilter + .form-row {
    margin-bottom: 0 !important;
}

small.help-block {
    color: #dc3545;
}

.sk-fading-circle {
    margin: 40px auto;
    width: 40px;
    height: 40px;
    position: fixed;
    left: 50%;
    top: 30%;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header button.close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-header #closeTime {
    float: right;
    opacity: .5;
    position: relative;
    bottom: -3px;
}

.qa-subtitle {
    padding: 12px;
    margin: 0;
}

.qa-p {
    padding: 0 12px;
    margin: 0;
    text-indent: 2em;
}

.qa-video-info {
    position: absolute;
    left: 282px;
    top: 20px;
    right: 12px;
}

.qa-wraph4 {
    border-bottom: 1px solid #ddd;
    position: relative;
}

.qa-wraph4 iframe {
    margin-top: 20px;
    margin-left: -28px;
}

.qa-container .qa-wraph4:last-child {
    border: none;
}

.qa-wraph4 p:last-child {
    padding-bottom: 12px;
}

.tooltip > .tooltip-inner {
    color: #000;
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
}

.tooltip.top > .tooltip-arrow {
    border-top-color: #faebcc;
}


@media (min-width: 768px) {
    .b-mobile-bar {
        display: none;
    }

    .b-drawer {
        border-right: 1px solid #CACECF;
    }

    .b-drawer.expanded {
        width: 180px;
    }

    #mainForm .kw-label {
        margin-top: 10px;
    }

    #mainForm .form-row {
        margin-bottom: 15px;
    }

    #tableAnalysisFilter {
        max-width: 80%;
    }
}


@media (max-width: 767px) {
    .b-body {
        position: relative;
        padding-top: 37px;
    }

    .b-mobile-bar {
        position: absolute;
        top: 0;
        width: 100%;
    }

    .b-drawer {
        display: none;
        width: 100%;
        position: fixed;
        top: 38px;
        bottom: 0;
        z-index: 10;
    }

    .b-main {
        padding: 15px;
    }

    .b-main-title {
        margin-bottom: 15px;
    }

    #mainForm .sp-holder {
        height: 20px;
    }

    #mainForm .form-row > * {
        margin-bottom: 15px;
    }

    #mainForm .control-label {
        margin-bottom: 5px !important;
    }

    #mainForm .kw-label {
        margin-bottom: 5px;
    }

    .qa-wraph4 iframe {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .qa-p.pt {
        text-indent: 0;
    }

    .qa-video-info {
        position: static;
        text-indent: 2em;
    }
}

