/*
            /$$
    /$$    /$$$$
   | $$   |_  $$    /$$$$$$$
 /$$$$$$$$  | $$   /$$_____/
|__  $$__/  | $$  |  $$$$$$
   | $$     | $$   \____  $$
   |__/    /$$$$$$ /$$$$$$$/
          |______/|_______/
================================
        keep calm and get rich.
                    is the best.
*/


/*--------------------------------------------------------------
    popup css
--------------------------------------------------------------*/

.nice-popup {
    position: fixed;
    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: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.nice-popup-open {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
    z-index: 999;
}

.nice-popup-overlay {
    position: absolute;
    background-color: rgba(94, 110, 141, 0.9);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
}

.nice-popup-open .nice-popup-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/*--------------------------------------------------------------
    tips close btn
--------------------------------------------------------------*/

.nice-popup-close {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    cursor: pointer;
    text-align: center;
    -webkit-transform: translatey(150%);
    transform: translatey(150%);
}

.nice-popup-close .svg-white {
    display: inline-block;
    background-image: ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

.nice-popup-close .svg-dark {
    display: none;
    background-image: ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

@media (max-width:767.98px) {
    .nice-popup-xl .nice-popup-close {
        bottom: auto;
        left: auto;
        top: 10px;
        right: 10px;
        width: auto;
    }
    .nice-popup-cover .nice-popup-close {
        bottom: auto;
        left: auto;
        top: 0;
        right: 0;
        width: auto;
        -webkit-transform: translate(100%, -100%);
        transform: translate(100%, -100%);
    }
    .nice-popup-xl .nice-popup-close .svg-white,
    .nice-popup-cover .nice-popup-close .svg-white {
        width: 20px;
        height: 20px;
        display: block;
    }
}


/*--------------------------------------------------------------
    tips body
--------------------------------------------------------------*/

.nice-popup-body {
    position: relative;
    width: 90%;
    max-width: 450px;
    -webkit-transform: translatey(-40px);
    transform: translatey(-40px);
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

@media (max-width: 575.98px) {
    .nice-popup-body {
        max-width: 93.3333%;
    }
}

.nice-popup-open .nice-popup-body {
    pointer-events: auto;
    z-index: 1000;
}

.nice-popup-xl .nice-popup-body {
    width: 100%;
    max-width: 790px;
}

.nice-popup-scroll .nice-popup-body {
    width: 100%;
    max-width: 790px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    max-height: calc(100vh - 100px);
    height: calc(100vh - 100px);
}

.nice-popup-lg .nice-popup-body {
    width: 100%;
    max-width: 790px;
}

.nice-popup-md .nice-popup-body {
    max-width: 540px;
    width: 100%;
}

.nice-popup-sm .nice-popup-body {
    max-width: 300px;
    width: auto;
}

.nice-popup-nopd .nice-popup-body {
    max-width: 340px;
}

@media (min-width:768px) and (max-width:991.98px) {
    .nice-popup-scroll .nice-popup-body,
    .nice-popup-xl .nice-popup-body {
        max-width: 670px;
    }
}

@media (max-width:767.98px) {
    .nice-popup-nopd .nice-popup-body {
        max-width: 75%;
    }
    .nice-popup-scroll .nice-popup-body,
    .nice-popup-xl .nice-popup-body {
        height: 100vh;
    }
    .nice-popup-md .nice-popup-body {
        padding: 1rem;
    }
}


/*--------------------------------------------------------------
    tips body animation
--------------------------------------------------------------*/

.nice-popup.nice-popup-open .nice-popup-body {
    -webkit-transform: translatey(0);
    transform: translatey(0);
}


/*--------------------------------------------------------------
    tips content
--------------------------------------------------------------*/

.nice-popup-content {
    background: #fff;
    padding: 1.25rem;
    position: relative;
    border-radius: 6px;
    -webkit-box-shadow: 0 10px 50px -5px rgba(6, 39, 67, 0.12);
    box-shadow: 0 10px 50px -5px rgba(6, 39, 67, 0.12);
}

.nice-popup-xl .nice-popup-content {
    padding: 0;
    border: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.nice-popup-scroll .nice-popup-content {
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.nice-popup-lg .nice-popup-content {
    padding: 0;
    border: 0;
    border-radius: 0;
}

.nice-popup-sm .nice-popup-content {
    padding: 2rem;
    padding: 1.75rem 2.5rem;
}

.nice-popup-nopd .nice-popup-content {
    padding: 0;
    border: 0;
}

@media (max-width:767.98px) {
    .nice-popup-content {
        padding: 1rem;
    }
    .nice-popup-scroll .nice-popup-body .nice-popup-content,
    .nice-popup-xl .nice-popup-body .nice-popup-content {
        -webkit-box-shadow: none;
        box-shadow: none;
        border-radius: 0;
        height: 100vh;
    }
    .nice-popup-xl .nice-popup-close .svg-white {
        width: 20px;
        height: 20px;
    }
    .nice-popup-xl .nice-popup-close .svg-dark {
        display: none;
        width: 20px;
        height: 20px;
    }
}


/*--------------------------------------------------------------
    error content
--------------------------------------------------------------*/

.nice-popup-error .nice-popup-content {
    padding: 1rem 2.5rem;
    border-width: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}


/*
   post cover style
*/

.nice-popup-cover .nice-popup-overlay {
    background: rgb(120, 129, 147);
}

.tips-content-cover {
    max-width: 340px;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: .22rem;
}

.cover-image {
    position: relative;
    overflow: hidden;
    border-radius: .22rem .22rem 0 0;
    padding: 0;
}

.cover-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-filter: blur(10px);
    filter: blur(20px);
    z-index: -1;
}

.cover-overlay:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .11;
}

.cover-share {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #f4f6f9;
}

.cover-share a {
    color: #8a92a9;
    padding: .25rem;
    margin: .25rem;
    font-size: 1.125rem;
}

.cover-share a:hover {
    color: #062743;
}

.cover-text {
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 44;
    cursor: pointer;
    -webkit-transform: translatey(-36px);
    transform: translatey(-36px);
    text-align: center;
    color: #fff;
    font-size: .875rem;
}

.svg-blocks {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
}

.svg-film-line {
    background-image: ;
}

.svg-zip-line {
    background-image: ;
}

.svg-word-line {
    background-image: ;
}

.svg-text-line {
    background-image: ;
}

.svg-music-line {
    background-image: ;
}

.svg-code-line {
    background-image: ;
}

.svg-baidu-line {
    background-image: ;
}