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


/*--------------------------------------------------------------
    popup css
--------------------------------------------------------------*/
.nice-tips,
.nice-popup {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    overflow-x: hidden;
    overflow-y: auto;
}

.nice-tips-open,
.nice-popup-open {
    opacity: 1;
    visibility: visible;
}

.nice-tips-overlay,
.nice-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
}

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


/*--------------------------------------------------------------
    popup size
--------------------------------------------------------------*/

.nice-tips-body,
.nice-popup-body {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    transform: translateY(-40px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
}

.nice-tips-open .nice-tips-body,
.nice-popup-open .nice-popup-body {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.nice-tips-xl .nice-tips-body,
.nice-popup-xl .nice-popup-body {
    max-width: 790px;
}

.nice-tips-lg .nice-tips-body,
.nice-popup-lg .nice-popup-body {
    max-width: 750px;
}

.nice-tips-md .nice-tips-body,
.nice-popup-md .nice-popup-body {
    max-width: 540px;
}

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

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

@media (min-width:768px) and (max-width:991.98px) {

    .nice-tips-xl .nice-tips-body,
    .nice-popup-xl .nice-popup-body {
        max-width: 670px;
    }
}

@media (max-width:767.98px) {

    .nice-tips-body,
    .nice-popup-body {
        width: 95%;
    }

    .nice-tips-xl .nice-tips-body,
    .nice-popup-xl .nice-popup-body {
        height: 100vh;
    }

    .nice-tips-nopd .nice-tips-body,
    .nice-popup-nopd .nice-popup-body {
        width: 75%;
    }

}

/*--------------------------------------------------------------
    popup content
--------------------------------------------------------------*/

.nice-tips-content,
.nice-popup-content {
    position: relative;
    background: #fff;
    padding: 1.75rem;
    border-radius: 9px;
    border-radius: var(--border-radius-md, 9px);
}

.nice-tips-xl .nice-tips-content,
.nice-popup-xl .nice-popup-content {
    width: 100%;
    height: auto;
    overflow: hidden;
}

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

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

@media (max-width:767.98px) {

    .nice-tips-xl .nice-tips-body .nice-tips-content,
    .nice-popup-xl .nice-popup-body .nice-popup-content {
        box-shadow: none;
        border-radius: 0;
        height: 100vh;
    }

    .nice-tips-xl .nice-tips-close .svg-white,
    .nice-popup-xl .nice-popup-close .svg-white {
        width: 20px;
        height: 20px;
    }

    .nice-tips-xl .nice-tips-close .svg-dark,
    .nice-popup-xl .nice-popup-close .svg-dark {
        display: none;
        width: 20px;
        height: 20px;
    }
}


/*--------------------------------------------------------------
    error content
--------------------------------------------------------------*/
.nice-popup-error {
    align-items: flex-start;
}

.nice-popup-error .nice-popup-content {
    display: flex;
    align-items: center;
    text-align: center;
    padding: .5rem 1.5rem;
    border: 0;
    color: #fff;
    white-space: nowrap;
    border-radius: 50px !important;
    background-color: rgba(0, 0, 0, .9);
    transition: all .2s ease-in-out;
    transform: scale(.8);
}

.nice-popup-error.error .icon {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../fonts/e3ea657ef90e456186767705463752b4.woff');
}

.nice-popup-error.success .icon {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../fonts/9c7499eb779645778b54dd3250ebf72a.woff');
}

.nice-popup-error.nice-popup-open .nice-popup-content {
    padding: 1rem 2.5rem 1rem 2rem;
    transform: scale(1.0);
}

@media (max-width: 991.98px) {
    .nice-popup-error .nice-popup-content {
        font-size: .75rem;
    }

    .nice-popup-error.nice-popup-open .nice-popup-content {
        padding: .75rem 2.5rem .75rem 2rem;
    }
}

/*--------------------------------------------------------------
    hidden body
--------------------------------------------------------------*/

.nice-popup-hidden {
    overflow: hidden;
}

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

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

.nice-tips-close .svg-white,
.nice-popup-close .svg-white {
    display: inline-block;
    background-image: url("../fonts/1171025d255c48c49c6317c9dec8af26.woff");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

.nice-tips-close .svg-dark,
.nice-popup-close .svg-dark {
    display: none;
    background-image: url("../fonts/9119b917951c49bbb9bab0ca20570498.woff");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

@media (max-width:767.98px) {

    .nice-tips-xl .nice-tips-close,
    .nice-popup-xl .nice-popup-close {
        bottom: auto;
        left: auto;
        top: 10px;
        right: 10px;
        width: auto;
    }
}


/*--------------------------------------------------------------
    post cover style
--------------------------------------------------------------*/
.cover-image {
    position: relative;
    overflow: hidden;
    border-radius: 9px 9px 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;
    transform: translateY(-125%);
    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: url('../fonts/0b2b5133ab6f42719ce7c13f120f0d53.woff');
}

.svg-zip-line {
    background-image: url('../fonts/42ad691bcb7a4242ac6deaffc5d280e0.woff');
}

.svg-word-line {
    background-image: url('../fonts/6d3d77366cf747619dcb63db597c686d.woff');
}

.svg-text-line {
    background-image: url('../fonts/1e9e07ba5d1746b0ba634e78d427b866.woff');
}

.svg-music-line {
    background-image: url('../fonts/a8655f2dae1843559076df4584228318.woff');
}

.svg-code-line {
    background-image: url('../fonts/def01f84d010425c97f1f2411db9579a.woff');
}

.svg-baidu-line {
    background-image: url('../fonts/a426f328b74249b0903b97acb7f7af60.woff');
}