/* =========================================================
   RİZEHARİTASI REKLAM SİSTEMİ
========================================================= */


/* =========================================================
   TEMEL REKLAM ALANI
========================================================= */

.rh2-slot{
    box-sizing:border-box;
    position:relative;
    z-index:20;
}

.rh2-slot img{
    display:block;
    max-width:100%;
    height:auto;
}

.rh2-item{
    display:block;
    text-decoration:none;
}

.rh2-close{
    position:absolute;
    right:4px;
    top:4px;

    width:28px;
    height:28px;

    border:0;
    border-radius:50%;

    background:rgba(0,0,0,.7);
    color:#fff;

    font-size:20px;
    line-height:28px;

    cursor:pointer;
    z-index:3;
}

.rh2-code{
    width:100%;
    box-sizing:border-box;
}


/* =========================================================
   POPUP REKLAM
========================================================= */

.rh2-popup-backdrop{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.62);

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

    padding:20px;

    z-index:2147483000;
}

.rh2-home-popup{
    position:relative;

    max-width:min(720px,95vw);
    max-height:90vh;

    background:#fff;

    border-radius:12px;

    overflow:auto;

    box-shadow:0 20px 70px rgba(0,0,0,.35);
}

.rh2-popup-content img{
    max-width:100%;
    height:auto;
    display:block;
}

.rh2-popup-close{
    position:absolute;

    right:8px;
    top:8px;

    width:34px;
    height:34px;

    border:0;
    border-radius:50%;

    background:#111;
    color:#fff;

    font-size:24px;
    line-height:34px;

    cursor:pointer;

    z-index:4;
}

@media(max-width:767px){

    .rh2-home-popup{
        max-width:96vw;
    }

    .rh2-popup-backdrop{
        padding:10px;
    }
}


/* =========================================================
   KÖŞE REKLAMLARI
   160 x 140 PX
   140 PX ÜSTTEN BAŞLAR
========================================================= */

.rh2-sol_kose,
.rh2-sag_kose{

    position:fixed !important;

    top:140px !important;

    width:160px;
    height:140px;

    min-width:160px;
    min-height:140px;

    max-width:160px;
    max-height:140px;

    padding:0;
    margin:0;

    overflow:hidden;

    background:#fff;

    border-radius:8px;

    box-shadow:0 3px 14px rgba(0,0,0,.18);

    z-index:9005 !important;

    box-sizing:border-box;
}


/* SOL KÖŞE */

.rh2-sol_kose{
    left:8px !important;
    right:auto !important;
}


/* SAĞ KÖŞE */

.rh2-sag_kose{
    right:8px !important;
    left:auto !important;
}


/* Köşe reklam içeriği */

.rh2-sol_kose .rh2-item,
.rh2-sag_kose .rh2-item{

    display:block;

    width:160px;
    height:140px;

    margin:0;
    padding:0;

    box-sizing:border-box;
}


/* Köşe reklam görseli */

.rh2-sol_kose img,
.rh2-sag_kose img{

    display:block;

    width:160px;
    height:140px;

    max-width:none;

    object-fit:cover;
}


/* Köşe reklam kapatma butonu */

.rh2-sol_kose .rh2-close,
.rh2-sag_kose .rh2-close{

    top:4px;
    right:4px;

    width:24px;
    height:24px;

    line-height:24px;
    font-size:18px;
}


/* =========================================================
   DİKEY REKLAMLAR
   SOL / SAĞ
   EN ÜSTTEN BAŞLAR
========================================================= */


/*
   Gerçek HTML yapısında kullanılan sınıflar:

   .rhSideAd
   .rhSideAdLeft
   .rhSideAdRight

   Reklam sisteminde kullanılan sınıflar:

   .rh2-left_side
   .rh2-right_side
*/


.rhSideAd,
.rhSideAdLeft,
.rhSideAdRight,
.rhSideAd-left,
.rhSideAd-right,
.rh2-left_side,
.rh2-right_side{

    position:fixed !important;

    top:0 !important;

    margin:0 !important;
    margin-top:0 !important;

    padding:0 !important;

    transform:none !important;

    box-sizing:border-box;

    z-index:10040 !important;

    /*
       Sabit 600px yüksekliği kaldırıyoruz.
       Ekran yüksekliğine göre maksimum yükseklik.
    */
    height:auto !important;

    min-height:0 !important;

    max-height:100vh !important;

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

    scrollbar-width:thin;
}


/* =========================================================
   SOL DİKEY REKLAM
========================================================= */

.rhSideAdLeft,
.rhSideAd-left,
.rh2-left_side{

    left:0 !important;
    right:auto !important;
}


/* =========================================================
   SAĞ DİKEY REKLAM
========================================================= */

.rhSideAdRight,
.rhSideAd-right,
.rh2-right_side{

    right:0 !important;
    left:auto !important;
}


/* =========================================================
   DİKEY REKLAM SLOTU
========================================================= */

.rhSideAd .rhAdSlot,
.rh2-left_side .rhAdSlot,
.rh2-right_side .rhAdSlot,
.rh2-left_side .rh2-slot,
.rh2-right_side .rh2-slot{

    position:relative;

    top:0 !important;

    width:auto !important;

    height:auto !important;

    min-height:0 !important;

    max-height:none !important;

    margin:0 !important;
    margin-top:0 !important;

    padding:0 !important;

    box-sizing:border-box;

    overflow:visible !important;
}


/* =========================================================
   DİKEY REKLAM HTML / KOD
========================================================= */

.rhSideAd .rh2-code,
.rh2-left_side .rh2-code,
.rh2-right_side .rh2-code{

    position:relative;

    top:0 !important;

    width:100% !important;

    height:auto !important;

    min-height:0 !important;

    max-height:none !important;

    margin:0 !important;
    margin-top:0 !important;

    padding:0 !important;

    box-sizing:border-box;

    overflow:visible !important;
}


/* =========================================================
   DİKEY REKLAM ÖĞESİ
========================================================= */

.rhSideAd .rh2-item,
.rh2-left_side .rh2-item,
.rh2-right_side .rh2-item{

    display:block;

    position:relative;

    top:0 !important;

    width:100% !important;

    height:auto !important;

    min-height:0 !important;

    max-height:none !important;

    margin:0 !important;
    padding:0 !important;

    box-sizing:border-box;

    text-decoration:none;

    overflow:visible !important;
}


/* =========================================================
   DİKEY REKLAM GÖRSELLERİ
========================================================= */

.rhSideAd img,
.rh2-left_side img,
.rh2-right_side img{

    display:block;

    margin:0 !important;

    max-width:100%;

    height:auto;
}


/* =========================================================
   DİKEY REKLAM KAPATMA BUTONU
========================================================= */

.rhSideAd .rh2-close,
.rh2-left_side .rh2-close,
.rh2-right_side .rh2-close{

    position:absolute;

    top:4px !important;
    right:4px !important;

    width:24px;
    height:24px;

    line-height:24px;
    font-size:18px;

    z-index:10;
}


/* =========================================================
   ÖZEL RİZEHARİTASI DİKEY REKLAMI
   3 KARTLI HTML REKLAM
========================================================= */

.rh-sol-dikey-reklam{

    width:100%;
    max-width:200px;

    height:auto !important;

    min-height:0 !important;

    max-height:none !important;

    box-sizing:border-box;

    padding:8px;

    margin:0 !important;

    background:#176638;

    border-radius:18px;

    display:flex;

    flex-direction:column;

    gap:10px;

    font-family:Arial,Helvetica,sans-serif;

    box-shadow:0 4px 12px rgba(0,0,0,.18);

    overflow:visible !important;
}


/* =========================================================
   DİKEY REKLAM KARTLARI
========================================================= */

.rh-dikey-kart{

    display:flex;

    flex-direction:column;

    align-items:center;

    width:100%;

    min-height:255px;

    height:auto !important;

    flex-shrink:0 !important;

    box-sizing:border-box;

    padding:12px 10px;

    text-decoration:none;

    color:#fff;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.28);

    border-radius:15px;

    transition:
        background .2s ease,
        transform .2s ease;

    overflow:visible !important;
}

.rh-dikey-kart:hover{

    background:rgba(255,255,255,.17);

    transform:translateY(-2px);
}


/* =========================================================
   DİKEY REKLAM İKON
========================================================= */

.rh-dikey-ikon{

    width:52px;
    height:52px;

    margin-bottom:9px;

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

    background:rgba(255,255,255,.14);

    border-radius:13px;

    font-size:27px;

    flex-shrink:0;
}


/* =========================================================
   DİKEY REKLAM BAŞLIK
========================================================= */

.rh-dikey-baslik{

    width:100%;

    margin-bottom:8px;

    text-align:center;

    font-size:20px;

    font-weight:700;

    line-height:1.12;

    color:#fff;
}


/* =========================================================
   DİKEY REKLAM AÇIKLAMA
========================================================= */

.rh-dikey-aciklama{

    width:100%;

    text-align:center;

    font-size:13px;

    line-height:1.35;

    color:#f4fff7;
}


/* =========================================================
   DİKEY REKLAM KEŞFET BUTONU
========================================================= */

.rh-dikey-link{

    margin-top:auto;

    padding:5px 12px;

    border:1px solid rgba(255,255,255,.7);

    border-radius:20px;

    font-size:11px;

    font-weight:600;

    color:#fff;

    background:rgba(255,255,255,.05);
}


/* =========================================================
   DAR EKRAN İÇİN ÖZEL DİKEY REKLAM
========================================================= */

@media(max-width:210px){

    .rh-sol-dikey-reklam{

        padding:6px;
    }

    .rh-dikey-kart{

        min-height:235px;

        padding:10px 7px;
    }

    .rh-dikey-ikon{

        width:46px;
        height:46px;

        font-size:24px;
    }

    .rh-dikey-baslik{

        font-size:17px;
    }

    .rh-dikey-aciklama{

        font-size:11px;
    }

    .rh-dikey-link{

        font-size:10px;
    }
}


/* =========================================================
   DİKEY REKLAMIN İÇERİĞİ EKRANI AŞARSA
   REKLAM KENDİ İÇİNDE KAYDIRILIR
========================================================= */

@media(min-width:1200px){

    .rhSideAd,
    .rhSideAdLeft,
    .rhSideAdRight,
    .rhSideAd-left,
    .rhSideAd-right,
    .rh2-left_side,
    .rh2-right_side{

        max-height:100vh !important;

        overflow-y:auto !important;
        overflow-x:hidden !important;
    }
}


/* =========================================================
   KÖŞE REKLAMLARI DEĞİŞMESİN
   140 PX ÜSTTEN BAŞLAR
========================================================= */

.rhCornerAd,
.rh2-sol_kose,
.rh2-sag_kose{

    top:140px !important;
}


/* =========================================================
   BOŞ REKLAM ALANLARI
========================================================= */

.rhAdSlot:not([data-rh2-rendered="1"]),
.rh2-slot:not([data-rh2-rendered="1"]){

    display:none !important;

    width:0 !important;
    height:0 !important;

    min-height:0 !important;
    max-height:0 !important;

    margin:0 !important;
    padding:0 !important;

    border:0 !important;

    overflow:hidden !important;
}


/* =========================================================
   TABLET / MOBİL
   1199 PX VE ALTINDA YAN REKLAMLAR GİZLENİR
========================================================= */

@media(max-width:1199px){

    .rhSideAd,
    .rhSideAdLeft,
    .rhSideAdRight,
    .rhSideAd-left,
    .rhSideAd-right,

    .rh2-left_side,
    .rh2-right_side,

    .rhCornerAd,
    .rh2-sol_kose,
    .rh2-sag_kose{

        display:none !important;
    }
}