
.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;
    transition: all 0.15s linear;
}

.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.6);
    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;
}

.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;
}

.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-body {
    width: auto;
}

.nice-popup-error .nice-popup-content {
    display: flex;
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: .5rem 1.5rem;
    border: 0;
    color: #fff;
    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/b91a37c21017492ca507c7633707d4a1.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/dac265a6dbcf4c98bf83035383955014.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-dark,
.nice-popup-close .svg-dark {
    display: none;
    background-image: url("../fonts/471580577622445380b4cd7b9bb7c0c8.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/05624d5567bb4b16bd062f456b0fabe5.woff');
}

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

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

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

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

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

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