/* =========================================================
   Saitebi.Net Category 18
========================================================= */


* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #2e2e2e;

    font-family:
        Arial,
        Sylfaen,
        "DejaVu Sans",
        sans-serif;

    font-size: 13px;

    -webkit-font-smoothing: auto;

    text-rendering: optimizeLegibility;
}


/* =========================================================
   LINKS
========================================================= */

a {
    text-decoration: none;
}


/* =========================================================
   TOP MENU
========================================================= */

.top-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 40px;

    background: #a0522d;

    z-index: 1000;
}


/* =========================================================
   TOP MENU INNER
========================================================= */

.top-menu-inner {
    width: 940px;
    height: 40px;

    margin: 0 auto;

    display: flex;

    align-items: stretch;
    justify-content: center;
}


/* =========================================================
   TOP MENU LINKS
========================================================= */

.top-link {
    position: relative;

    display: flex;

    height: 40px;

    padding: 0 18px;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-family:
        Arial,
        Sylfaen,
        "DejaVu Sans",
        sans-serif;

    font-size: 15px;

    font-weight: bold;

    border-left: 3px dotted #2d2d2d;

    text-shadow: none;

    white-space: nowrap;

    transition:
        background-color .15s ease;
}

.top-link:last-child {
    border-right: 3px dotted #2d2d2d;
}

.top-link:hover {
    color: #ffffff;

    background: #cd853f;
}

.top-link img {
    margin-left: 5px;
}


/* =========================================================
   CATEGORY
========================================================= */

.categories {
    position: relative;

    cursor: default;
}


/* =========================================================
   CATEGORY TITLE
========================================================= */

.categories > span {
    display: flex;

    height: 40px;

    padding: 0 18px;

    align-items: center;

    color: #ffffff;

    font-family:
        Arial,
        Sylfaen,
        "DejaVu Sans",
        sans-serif;

    font-size: 15px;

    font-weight: bold;

    white-space: nowrap;

    text-shadow: none;
}


/* =========================================================
   CATEGORY DROPDOWN
========================================================= */

.categories-dropdown {
    position: absolute;

    top: 40px;
    left: 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    width: 500px;

    padding: 10px;

    background: #faf0e6;

    border: 6px solid #a0522d;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .35);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity .15s ease,
        visibility .15s ease,
        transform .15s ease;

    z-index: 1100;
}


/* =========================================================
   CATEGORY HOVER
========================================================= */

.categories:hover .categories-dropdown {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   CATEGORY LINKS
========================================================= */

.categories-dropdown a {
    display: block;

    padding: 5px 8px;

    color: #4f7184;

    font-family:
        Arial,
        Sylfaen,
        "DejaVu Sans",
        sans-serif;

    font-size: 15px;

    font-weight: normal;

    line-height: 20px;

    text-shadow: none;

    -webkit-font-smoothing: auto;

    text-rendering: optimizeLegibility;
}

.categories-dropdown a:hover {
    color: #ffffff;

    background: #66899b;

    text-shadow: none;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 940px;

    height: 157px;

    margin: 0 auto;

    padding-top: 40px;

    background: #2e2e2e;
}


/* =========================================================
   HEADER INNER
========================================================= */

.header-inner {
    position: relative;

    width: 940px;
    height: 117px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    position: absolute;

    top: 5px;
    left: 0;

    width: 115px;
    height: 110px;
}

.logo a {
    position: relative;

    display: block;

    width: 115px;
    height: 110px;
}

.logo > a > img:first-child {
    display: block;

    width: 115px;
    height: 110px;
}


/* =========================================================
   LOGO HOVER
========================================================= */

.logo-hover {
    position: absolute;

    top: 0;
    left: 0;

    width: 115px;
    height: 110px;

    opacity: 0;

    transition:
        opacity .15s ease;
}

.logo a:hover .logo-hover {
    opacity: 1;
}


/* =========================================================
   HEADER AD
========================================================= */

.header-ad {
    position: absolute;

    top: 5px;
    right: 0;

    width: 750px;
    height: 100px;
}

.header-ad img {
    display: block;

    width: 750px;
    height: 100px;

    border: 0;
}


/* =========================================================
   MAIN
========================================================= */

.main {
    width: 940px;

    min-height: 500px;

    margin: 0 auto;

    background: #a4a4a4;
}


/* =========================================================
   MAIN LINE
========================================================= */

.main-line {
    width: 940px;

    height: 6px;

    background: #808080;
}


/* =========================================================
   FILMS AREA
========================================================= */

.films {
    width: 888px;

    margin: 0 auto;

    padding: 18px 0 40px;
}


/* =========================================================
   FILMS TITLE
========================================================= */

.films-title {
    margin-bottom: 24px;

    text-align: center;
}

.films-title h1 {
    margin: 0;

    color: #000080;

    font-size: 21px;

    font-weight: bold;

    line-height: 28px;
}

.title-decoration {
    width: 70px;

    height: 3px;

    margin: 7px auto 8px;

    background: #a0522d;
}

.films-title p {
    margin: 0;

    color: #222222;

    font-size: 16px;

    font-weight: normal;

    line-height: 20px;

    text-rendering: optimizeLegibility;
}


/* =========================================================
   SITE GRID
========================================================= */

.films-grid {
    display: flex;

    width: 100%;

    min-height: 130px;

    margin: 0 auto;

    padding: 10px 0;

    align-items: center;

    justify-content: center;

    gap: 35px;

    text-align: center;
}


/* =========================================================
   SITE CARD
========================================================= */

.site-card {
    display: flex;
    width: 215px;
    height: 125px;
    flex: 0 0 215px;
    align-items: center;
    justify-content: center;
    margin: 0;
	margin-top: 50px; 
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    text-align: center;
    transition: transform .2s ease;

}


/* =========================================================
   SITE IMAGE
========================================================= */

.site-card img {
    display: block;

    width: 195px;
    height: 110px;

    max-width: none;

    margin: 0;

    padding: 0;

    object-fit: contain;

    transform: scale(1);

    transform-origin: center center;

    transition:
        transform .25s ease,
        filter .25s ease;
}


/* =========================================================
   SITE CARD HOVER
========================================================= */

.site-card:hover {
    background: transparent;

    border: none;

    box-shadow: none;

    transform: none;
}


/* =========================================================
   SITE IMAGE HOVER
========================================================= */

.site-card:hover img {
    transform: scale(1.10);

    filter: brightness(1.05);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 940px;

    min-height: 120px;

    margin: 0 auto;

    padding: 30px 0 15px;

    background: #524c4c;

    color: #fffafa;

    text-align: center;
}

.footer p {
    margin: 0;

    padding: 0;

    font-size: 13px;

    line-height: 20px;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-bottom: 16px;
}

.footer .footer-links a:link,
.footer .footer-links a:visited {
    color: #fffafa;

    font-size: 13px;

    font-weight: normal;

    white-space: nowrap;

    transition: color .15s ease;
}

.footer .footer-links a:hover {
    color: #cd853f;
}

.footer-links__sep {
    color: #aaaaaa;

    font-size: 13px;
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media screen and (max-width: 950px) {

    html,
    body {
        width: 100%;

        min-width: 0;

        overflow-x: hidden;
    }

    body {
        min-width: 0;
    }


    /* =====================================================
       TOP MENU
    ===================================================== */

    .top-menu {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;

        min-width: 0;

        height: auto;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .top-menu::-webkit-scrollbar {
        display: none;

        width: 0;
        height: 0;
    }

    .top-menu-inner {
        width: max-content;

        min-width: 100%;

        height: 40px;

        margin: 0;

        justify-content: flex-start;
    }

    .top-link {
        flex: 0 0 auto;

        padding: 0 12px;

        font-size: 14px;
    }

    .categories > span {
        padding: 0 12px;

        font-size: 14px;
    }


    /* =====================================================
       DROPDOWN
    ===================================================== */

    .categories-dropdown {
        position: fixed;

        top: 40px;
        left: 10px;

        width: calc(100vw - 20px);

        max-width: 500px;

        max-height: calc(100vh - 50px);

        overflow-y: auto;

        grid-template-columns: 1fr 1fr;

        scrollbar-width: none;

        -ms-overflow-style: none;
    }

    .categories-dropdown::-webkit-scrollbar {
        display: none;

        width: 0;
        height: 0;
    }

    .categories-dropdown a {
        font-size: 14px;

        line-height: 19px;
    }


    /* =====================================================
       MOBILE HEADER
    ===================================================== */

    .header {
        width: 100%;

        height: auto;

        min-height: 0;

        margin: 0;

        padding-top: 50px;

        padding-bottom: 0;

        overflow: hidden;
    }

    .header-inner {
        position: relative;

        width: 100%;

        height: auto;

        min-height: 0;

        display: flex;

        align-items: flex-start;
    }


    /* =====================================================
       MOBILE LOGO
    ===================================================== */

    .logo {
        position: relative;

        top: 0;
        left: 5px;

        flex: 0 0 85px;

        width: 85px;

        height: auto;

        display: block;

        overflow: hidden;
    }

    .logo a {
        position: relative;

        display: block;

        width: 85px;

        height: auto;

        overflow: hidden;
    }

    .logo > a > img:first-child {
        display: block;

        width: 85px;

        height: auto;

        max-height: 100px;

        object-fit: contain;

        object-position: top center;
    }

    .logo-hover {
        position: absolute;

        top: 0;
        left: 0;

        width: 85px;

        height: auto;

        max-height: 100px;

        object-fit: contain;

        object-position: top center;

        opacity: 0;

        transition:
            opacity .15s ease;
    }


    /* =====================================================
       MOBILE BANNER
    ===================================================== */

    .header-ad {
        position: relative;

        top: 0;
        right: auto;

        margin-left: 8px;

        flex: 1 1 auto;

        width: auto;

        height: auto;

        display: block;

        overflow: hidden;
    }

    .header-ad img {
        display: block;

        width: 100%;

        height: auto;

        object-fit: contain;

        object-position: left top;

        border: 0;
    }


    /* =====================================================
       MAIN
    ===================================================== */

    .main {
        width: 100%;

        min-height: 500px;

        margin: 0;
    }

    .main-line {
        width: 100%;
    }


    /* =====================================================
       FILMS
    ===================================================== */

    .films {
        width: calc(100% - 24px);

        margin: 0 auto;

        padding: 18px 0 35px;
    }


    /* =====================================================
       FILMS TITLE
    ===================================================== */

    .films-title {
        margin-bottom: 20px;
    }

    .films-title h1 {
        font-size: 21px;

        line-height: 28px;
    }

    .films-title p {
        font-size: 14px;

        line-height: 21px;
    }


    /* =====================================================
       MOBILE SITE GRID
    ===================================================== */

    .films-grid {
        display: flex;

        width: 100%;

        min-height: 110px;

        margin: 0 auto;

        padding: 5px 0;

        align-items: center;

        justify-content: center;

        gap: 10px;
    }


    /* =====================================================
       MOBILE SITE CARD
    ===================================================== */

    .site-card {
        width: calc(50% - 5px);

        max-width: 195px;

        height: 105px;

        flex: 0 1 calc(50% - 5px);

        margin: 0;

        padding: 0;

        background: transparent;

        border: none;

        box-shadow: none;

        overflow: visible;
    }


    /* =====================================================
       MOBILE SITE IMAGE
    ===================================================== */

    .site-card img {
        display: block;

        width: 100%;

        max-width: 185px;

        height: 98px;

        margin: 0;

        object-fit: contain;
    }


    /* =====================================================
       MOBILE HOVER
    ===================================================== */

    .site-card:hover {
        transform: none;

        background: transparent;

        border: none;

        box-shadow: none;
    }

    .site-card:hover img {
        transform: scale(1.06);
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer {
        width: 100%;

        min-height: 0;

        padding: 14px 12px 12px;
    }

    .footer-links {
        gap: 4px 8px;

        margin-bottom: 6px;
    }

    .footer-links a,
    .footer-links__sep {
        font-size: 12px;
    }

    .footer p {
        font-size: 12px;

        line-height: 18px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media screen and (max-width: 420px) {

    .top-link {
        padding: 0 10px;

        font-size: 13px;
    }

    .categories > span {
        padding: 0 10px;

        font-size: 13px;
    }


    /* =====================================================
       SMALL PHONE HEADER
    ===================================================== */

    .header {
        min-height: 0;

        padding-top: 48px;

        padding-bottom: 0;
    }

    .header-inner {
        width: 100%;

        height: auto;

        min-height: 0;

        display: flex;

        align-items: flex-start;
    }


    /* =====================================================
       SMALL PHONE LOGO
    ===================================================== */

    .logo {
        position: relative;

        top: 0;
        left: 3px;

        flex: 0 0 62px;

        width: 62px;

        height: auto;

        overflow: hidden;
    }

    .logo a {
        width: 62px;

        height: auto;

        overflow: hidden;
    }

    .logo > a > img:first-child {
        display: block;

        width: 62px;

        height: auto;

        max-height: 72px;

        object-fit: contain;

        object-position: top center;
    }

    .logo-hover {
        position: absolute;

        top: 0;
        left: 0;

        width: 62px;

        height: auto;

        max-height: 72px;

        object-fit: contain;

        object-position: top center;

        opacity: 0;
    }


    /* =====================================================
       SMALL PHONE BANNER
    ===================================================== */

    .header-ad {
        position: relative;

        top: 0;
        right: auto;

        margin-left: 6px;

        flex: 1 1 auto;

        width: auto;

        height: auto;

        overflow: hidden;
    }

    .header-ad img {
        display: block;

        width: 100%;

        height: auto;

        object-fit: contain;

        object-position: left top;
    }


    /* =====================================================
       SMALL PHONE FILMS
    ===================================================== */

    .films {
        width: calc(100% - 16px);
    }

    .films-title p {
        font-size: 13px;

        line-height: 19px;
    }


    /* =====================================================
       SMALL PHONE SITE GRID
    ===================================================== */

    .films-grid {
        display: flex;

        width: 100%;

        min-height: 95px;

        margin: 0 auto;

        padding: 5px 0;

        align-items: center;

        justify-content: center;

        gap: 5px;
    }


    /* =====================================================
       SMALL PHONE SITE CARD
    ===================================================== */

    .site-card {
        width: calc(50% - 3px);

        max-width: 170px;

        height: 90px;

        flex: 0 1 calc(50% - 3px);

        margin: 0;

        padding: 0;

        background: transparent;

        border: none;

        box-shadow: none;
    }


    /* =====================================================
       SMALL PHONE SITE IMAGE
    ===================================================== */

    .site-card img {
        width: 100%;

        max-width: 165px;

        height: 85px;

        margin: 0;

        object-fit: contain;
    }


    /* =====================================================
       SMALL PHONE HOVER
    ===================================================== */

    .site-card:hover img {
        transform: scale(1.05);
    }

}


/* =========================================================
   LARGE SCREEN
========================================================= */

@media screen and (min-width: 1400px) {

    .header,
    .header-inner,
    .main,
    .footer {
        width: 940px;
    }

}
