﻿
.novin-ad-slot {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 0;
    overflow: hidden
}

.novin-ad-item {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0
}

    .novin-ad-item > a {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        line-height: 0
    }

    .novin-ad-item img, .novin-ad-item iframe, .novin-ad-item video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0
    }

.novin-ad-headertop, .novin-ad-headerbottom, .novin-ad-footertop, .novin-ad-footerbottom {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0
}

.header-one.header-fixed {
    position: sticky;
    top: 0;
    display: block;
    width: 100%;
    z-index: 9999;
    background: #f2f6f6;
    box-shadow: inherit
}

.header-one.header-space .header-nav {
    height: 80px
}

.novin-ad-native {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    align-items: center;
    text-align: right;
    border: 1px solid #eee;
    border-radius: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    background: #fff;
    line-height: 1.6;
    box-sizing: border-box
}

    .novin-ad-native img {
        width: 86px;
        height: 64px;
        object-fit: cover
    }

    .novin-ad-native small {
        display: block;
        color: #777
    }

.novin-ad-popup {
    display: none
}

    .novin-ad-popup.is-visible {
        display: block
    }

.novin-ad-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1055
}

.novin-ad-popup-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1056;
    width: min(92vw,720px);
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 20px 80px rgba(0,0,0,.22)
}

    .novin-ad-popup-dialog img {
        max-width: 100%;
        height: auto;
        border-radius: 8px
    }

.novin-ad-popup-close {
    position: absolute;
    top: 8px;
    left: 8px;
    border: 0;
    background: #111;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 30px
}


