.tvsmartpopup-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.tvsmartpopup-content-wrapper {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 2;
    position: absolute;
}

.tvsmartpopup-content-image {
    max-width: 100%;
    height: auto;
    display: block;
    width: auto;
    margin: 0 auto 5px;
}

.dont-show-again-btn {
    padding: 6px 14px;
    background-color: #2e2e2ebf;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid #ffffff26;
    font-size: 13px;
    z-index: 10;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
}

.dont-show-again-btn:hover {
    background-color: #222222e0;
}

body.tv-popup-no-scroll {
    overflow: hidden !important;
    position: relative;
}

.tv-popup-blur-background {
    filter: blur(6px);
    transition: filter 0.3s ease;
}

.tv-popup-instance {
    position: fixed;
    z-index: 9999;
    border-radius: 5px;
    overflow: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* positions of content */
.md-content .tvsmartpopup-content-wrapper.top-left {
    top: 20px;
    left: 20px;
}

.tvsmartpopup-content-wrapper.top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.tvsmartpopup-content-wrapper.top-right {
    top: 20px;
    right: 20px;
}

/* Middle */
.tvsmartpopup-content-wrapper.middle-left {
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}

.tvsmartpopup-content-wrapper.middle-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tvsmartpopup-content-wrapper.middle-right {
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

/* Bottom */
.tvsmartpopup-content-wrapper.bottom-left {
    bottom: 20px;
    left: 20px;
}

.tvsmartpopup-content-wrapper.bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.tvsmartpopup-content-wrapper.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* positions of content end */

#popup-content .md-content {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

#popup-content .tvsmartpopup-close-button.md-close {
    position: absolute;
    top: 7px;
    right: 10px;
    z-index: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* transition: background 0.2s; */
    outline: unset;
    border: none;
    background: #00000057;
    cursor: pointer;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
}

#popup-content .tvsmartpopup-close-button.md-close:hover {
    background-color: #222222e0;
}


#popup-content .tvsmartpopup-close-button i {
    color: #fff;
    display: inline-block;
    transition: transform 0.3s ease;
}


.tvsmartpopup-close-button:hover i {
    transform: rotate(180deg);
}

/* width */
.tv-popup-instance::-webkit-scrollbar {
    width: 5px;
    border-radius: 50px;
}

/* Track */
.tv-popup-instance::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.tv-popup-instance::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 50px;
}

/* Handle on hover */
.tv-popup-instance::-webkit-scrollbar-thumb:hover {
    background: #555;
}



/*media start*/

@media (max-width: 767px) {
    .tvsmartpopup-content-wrapper {
        width: 70%;
    }

    #popup-content .tvsmartpopup-close-button.md-close {
        padding: 1px 4px;
        width: 30px;
        height: 30px;
    }
}


@media (max-width: 425px) {
    #popup-content .tvsmartpopup-close-button.md-close {
        padding: 4px 3px;
        width: 30px;
        height: 30px;
    }
}

/*media end*/