/* Do not remove the comments below. It's the markers used by wiredep to inject
   less dependencies when defined in the bower.json of your dependencies */

// bower:less
// endbower
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.thumbnail {
    height: 200px;
    img.pull-right {
        width: 50px;
    }
}

// @nav-profil-pattern: url("/static/images/header-profile.png") no-repeat; 
@import "./less/style";
a {
    text-decoration: none;
}

.pull-right {
    float: right;
}

hr {
    clear: both;
}

/* Do not remove the comments below. It's the markers used by gulp-inject to inject
   all your less files automatically */

// injector
// endinjector
/*公共样式*/

body {
    -webkit-font-smoothing: antialiased;
    -webkit-appearance: none;
    -moz-osx-font-smoothing: grayscale;
    font-family: Microsoft Yahei, Arial, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Roboto, PingFang SC, Hiragino Sans GB, Microsoft Jhenghei, sans-serif;
    margin: 0;
}

[ng-cloak] {
    display: none !important;
}

*:focus {
    outline: none;
}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flex-wrap {
    display: flex;
}

.col-flex {
    flex-direction: column;
}

.row-flex {
    flex-direction: row;
}

.middle-flex {
    justify-content: center;
    align-items: center;
}

////////////////////////////
/// 页面主题样式
///////////////////////////
.wrapper-content {
    padding: 0;
    min-height: calc(~"100vh - 104px");
    .card-title {
        height: 62px;
        line-height: 62px;
        background: #fff;
        margin: 0 -15px;
        overflow: hidden;
        justify-content: space-between;
        align-items: center;
        h3 {
            margin-top: 0;
            padding-left: 20px;
            font-size: 16px;
            a {
                color: #676a6c;
            }
            i {
                margin: 0 10px;
            }
            span {
                font-size: 14px;
                color: #4c4c4c;
                font-weight: 400;
            }
        }
        >a {
            margin-right: 20px;
            font-size: 14px;
        }
    }
    .card-body {}
}

/*******************************
 *  modal样式
 ******************************/

.modal.in {
    padding-left: calc(~"100vw - 100%");
}

.modal.in .modal-dialog {
    width: 902px;
    margin-top: 100px;
    box-sizing: border-box;
}

.modal-small.modal.in .modal-dialog {
    width: 552px;
    margin-top: 150px;
}

.modal-header {
    padding: 15px 0;
}

.modal-body {
    padding: 20px 0;
}

.modal-footer {
    padding: 15px 0;
    border-top: none;
    text-align: center;
    button {
        width: 205px;
    }
}

/*******************************
 *  加载进度样式
 ******************************/

#loading-container {
    transition: all 0.4s;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    .loading-mark {
        position: absolute;
        z-index: 1;
        width: 100%;
        height: 100%;
        background-color: rgba(45, 45, 45, 0.3);
    }
    .loading {
        position: absolute;
        width: 140px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        background-color: rgba(33, 33, 33, 0.8);
        color: #fff;
        padding: 15px;
        border-radius: 5px;
        .sk-circle {
            width: 40px;
            height: 40px;
            position: relative;
        }
        .sk-circle .sk-child {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
        }
        .sk-circle .sk-child:before {
            content: '';
            display: block;
            margin: 0 auto;
            width: 15%;
            height: 15%;
            background-color: white;
            border-radius: 100%;
            animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
        }
        .sk-circle .sk-circle2 {
            transform: rotate(30deg);
        }
        .sk-circle .sk-circle3 {
            transform: rotate(60deg);
        }
        .sk-circle .sk-circle4 {
            transform: rotate(90deg);
        }
        .sk-circle .sk-circle5 {
            transform: rotate(120deg);
        }
        .sk-circle .sk-circle6 {
            transform: rotate(150deg);
        }
        .sk-circle .sk-circle7 {
            transform: rotate(180deg);
        }
        .sk-circle .sk-circle8 {
            transform: rotate(210deg);
        }
        .sk-circle .sk-circle9 {
            transform: rotate(240deg);
        }
        .sk-circle .sk-circle10 {
            transform: rotate(270deg);
        }
        .sk-circle .sk-circle11 {
            transform: rotate(300deg);
        }
        .sk-circle .sk-circle12 {
            transform: rotate(330deg);
        }
        .sk-circle .sk-circle2:before {
            animation-delay: -1.1s;
        }
        .sk-circle .sk-circle3:before {
            animation-delay: -1s;
        }
        .sk-circle .sk-circle4:before {
            animation-delay: -0.9s;
        }
        .sk-circle .sk-circle5:before {
            animation-delay: -0.8s;
        }
        .sk-circle .sk-circle6:before {
            animation-delay: -0.7s;
        }
        .sk-circle .sk-circle7:before {
            animation-delay: -0.6s;
        }
        .sk-circle .sk-circle8:before {
            animation-delay: -0.5s;
        }
        .sk-circle .sk-circle9:before {
            animation-delay: -0.4s;
        }
        .sk-circle .sk-circle10:before {
            animation-delay: -0.3s;
        }
        .sk-circle .sk-circle11:before {
            animation-delay: -0.2s;
        }
        .sk-circle .sk-circle12:before {
            animation-delay: -0.1s;
        }
        @keyframes sk-circleBounceDelay {
            0%,
            100%,
            80% {
                transform: scale(0);
            }
            40% {
                transform: scale(1);
            }
        }
        .loading-text {
            position: absolute;
            right: 15px;
            top: 0;
            font-size: 20px;
            height: 100%;
            line-height: 70px;
        }
    }
}

////////////////////////////
/// 问号解释语模块
///////////////////////////
.describe-title {
    margin-top: -1px;
    padding-left: 14px;
    height: 24px;
    line-height: 24px;
    display: inline-block;
    position: relative;
    z-index: 3;
    font-size: 12px;
    span.fa {
        position: absolute;
        font-size: 14px;
        font-weight: 400;
        width: 16px;
        height: 16px;
        line-height: 16px;
        text-align: center;
        margin-top: 10px;
        vertical-align: top;
        color: #fff;
        background-color: #f8af12;
        border-radius: 50%;
        cursor: pointer;
        &.hover {
            +.title {
                opacity: 1;
                display: block;
            }
        }
    }
    span.title {
        opacity: 0;
        display: none;
        font-size: 12px;
        margin-left: 30px;
        position: absolute;
        white-space: normal;
        padding: 10px 22px;
        background-color: #353942;
        color: #fff;
        border-radius: 3px;
        transition: all 300ms;
        &:before {
            content: ' ';
            display: inline-block;
            position: absolute;
            left: -12px;
            top: 12px;
            border: 6px solid transparent;
            border-right: 8px solid #353942;
        }
    }
}

// 内容区默认样式
.wrapper-content {
    cursor: default;
}

@media (min-width: 1280px) {
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 1280px) {
    body {
        width: 1280px;
    }
}

.pointer {
    cursor: pointer;
}