/* Generated from page: springer-spaniel-angielski-planowany-miot */

@media(max-width:600px){
.themify_builder_content-4503 .tb_vv53811{--area:var(--aream2_auto)}
.themify_builder_content-4503 .tb_jjz320{margin-bottom:0;margin-top:0;padding-right:0;padding-left:0}
}/*Builder Custom CSS START*/
/* ==========================================================
   EQUESS CARNIVALE
   ZAPOWIEDŹ MIOTU
   WERSJA: STAŁY PLAKAT + SCROLL POZIOMY MOBILE/TABLET
   ========================================================== */


/* ==========================================================
   ZEWNĘTRZNY KONTENER
   ========================================================== */

.ec-litter {
    position: relative;

    width: 100%;
    max-width: 1408px;

    margin: 0 auto;

    box-sizing: border-box;

    overflow: hidden;
}


/* ==========================================================
   WŁAŚCIWY PLAKAT
   tło i cała zawartość znajdują się w tym samym elemencie
   ========================================================== */

.ec-canvas {
    position: relative;

    width: 100%;

    height: 0;
    padding-top: 75%;

    margin: 0;

    box-sizing: border-box;

    overflow: hidden;

    background-image:
        url("http://equesscarnivale.pl/wp-content/uploads/2026/09/tlo.jpg");

    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;

    color: #30220e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


/* ==========================================================
   LINKI
   ========================================================== */

.ec-canvas a {
    color: inherit;
    text-decoration: none;
}

.ec-canvas a:hover {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================
   NAGŁÓWEK
   ========================================================== */

.ec-announcement {
    position: absolute;

    top: 25.8%;
    left: 12.2%;
    right: 5.8%;

    z-index: 10;
}


.ec-announcement-title {
    margin: 0 0 10px 0;

    font-size: 29px;
    font-weight: 700;

    line-height: 1.05;

    text-shadow:
        1px 1px 0 rgba(255,255,255,.50),
        1px 2px 3px rgba(50,30,10,.32);
}


.ec-pair {
    margin: 0;

    font-size: 25px;
    font-weight: 600;

    line-height: 1.08;

    white-space: normal;

    text-shadow:
        1px 1px 0 rgba(255,255,255,.45),
        1px 2px 3px rgba(50,30,10,.30);
}


.ec-dog-link {
    color: #30220e !important;
}


.ec-dog-link:hover {
    color: #5f4c28 !important;
}


.ec-x {
    padding-left: 4px;
    padding-right: 4px;
}


/* ==========================================================
   OBSZAR RODOWODU
   ========================================================== */

.ec-pedigree-scroll {
    position: absolute;

    left: 5.7%;
    right: 5.7%;

    top: 36.3%;
    bottom: 15.2%;

    margin: 0;
    padding: 0;

    overflow: visible;

    box-sizing: border-box;
}


/* ==========================================================
   TABELA RODOWODU
   ========================================================== */

.ec-pedigree {
    position: static;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        32.5%
        32.5%
        calc(35% - 18px);

    grid-template-rows:
        100%;

    gap: 9px;

    box-sizing: border-box;
}


/* ==========================================================
   KOLUMNA 1 – RHYS + ADA
   ========================================================== */

.ec-parents {
    display: grid;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    grid-template-columns:
        100%;

    grid-template-rows:
        calc((100% - 10px) / 2)
        calc((100% - 10px) / 2);

    gap: 10px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* ==========================================================
   POJEDYNCZE ZDJĘCIE RODZICA
   ========================================================== */

.ec-parent {
    position: relative;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border:
        2px solid rgba(127,91,46,.30);

    background:
        rgba(226,201,161,.35);

    box-sizing: border-box;
}


.ec-parent-link {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}


/* ==========================================================
   ZDJĘCIA RHYSA I ADY
   ========================================================== */

.ec-parent img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    object-fit: contain;
    object-position: center center;

    transition:
        transform .25s ease,
        filter .25s ease;
}


.ec-parent-link:hover img {
    transform: scale(1.015);
    filter: brightness(1.03);
}


/* ==========================================================
   PIONOWE NAZWY PSÓW
   ========================================================== */

.ec-parent-name {
    position: absolute;

    z-index: 5;

    left: 0;
    top: 0;
    bottom: 0;

    width: 31px;

    margin: 0;
    padding: 6px 4px;

    box-sizing: border-box;

    background: #3b3b1c;
    color: #fff7dd;

    display: flex;

    justify-content: center;
    align-items: center;

    writing-mode: vertical-rl;

    transform: rotate(180deg);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;
}


/* ==========================================================
   WSPÓLNE USTAWIENIA KOLUMN RODOWODU
   ========================================================== */

.ec-generation {
    display: grid;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* ==========================================================
   KOLUMNA 2 – 4 POLA
   ========================================================== */

.ec-middle {
    grid-template-rows:
        calc((100% - 24px) / 4)
        calc((100% - 24px) / 4)
        calc((100% - 24px) / 4)
        calc((100% - 24px) / 4);

    gap: 8px;
}


/* ==========================================================
   KOLUMNA 3 – 8 PÓL
   ========================================================== */

.ec-right {
    grid-template-rows:
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8)
        calc((100% - 42px) / 8);

    gap: 6px;
}


/* ==========================================================
   KOMÓRKI RODOWODU
   ========================================================== */

.ec-cell {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;

    min-width: 0;
    min-height: 0;

    margin: 0;

    padding:
        3px 7px;

    box-sizing: border-box;

    overflow: hidden;

    border:
        2px solid rgba(128,89,44,.18);

    text-align: center;

    color: #2c200e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.08;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


.ec-middle .ec-cell {
    font-size: 16px;
}


.ec-cell span {
    position: relative;

    z-index: 3;
}


.ec-small {
    font-size: 11px;
    line-height: 1.05;
}


/* ==========================================================
   FLAGI
   ========================================================== */


/* WIELKA BRYTANIA */

.ec-uk {
    background-image:
        url("http://equesscarnivale.pl/wp-content/uploads/2026/09/uk-flag.jpg");
}


/* POLSKA */

.ec-pl {
    background-image:
        url("http://equesscarnivale.pl/wp-content/uploads/2026/09/PL-flag.jpg");
}


/* SZWECJA */

.ec-se {
    background-image:
        url("http://equesscarnivale.pl/wp-content/uploads/2026/09/S-flag.jpg");
}


/* CZECHY */

.ec-cz {
    background-image:
        url("http://equesscarnivale.pl/wp-content/uploads/2026/09/CZ-flag.jpg");
}


/* DANIA */

.ec-dk {
    background-image:
        url("http://equesscarnivale.pl/wp-content/uploads/2026/09/DK-flag.jpg");
}


/* ==========================================================
   KONTAKT
   ========================================================== */

.ec-contact {
    position: absolute;

    z-index: 10;

    left: 7.3%;
    right: 6.5%;

    bottom: 4%;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: nowrap;

    color: #393414;

    font-size: 18px;

    line-height: 1;
}


.ec-contact-item {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;
    padding: 0;

    white-space: nowrap;

    color: #393414 !important;

    text-decoration: none !important;
}


.ec-contact-item:hover {
    color: #6b5c2f !important;
}


/* ==========================================================
   IKONY KONTAKTOWE
   ========================================================== */

.ec-contact-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #48491f;
}


.ec-contact-icon svg {
    display: block;

    width: 58%;
    height: 58%;

    fill: #ead4aa;
}


/* ==========================================================
   TABLET
   CAŁY PLAKAT PRZEWIJANY W BOK
   ========================================================== */

@media (max-width: 900px) {

    /*
       ec-litter jest tylko oknem.
       ec-canvas pozostaje jednym nierozdzielnym plakatem.
    */

    .ec-litter {
        width: 100%;
        max-width: 100%;

        margin: 0;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scroll-behavior: smooth;

        background:
            #f5edcf;

        overscroll-behavior-x: contain;
    }


    /*
       860 × 645 = proporcja 4:3.
       Nie przebudowujemy niczego wewnątrz.
    */

    .ec-canvas {
        width: 860px;
        min-width: 860px;

        height: 645px;

        padding-top: 0;

        overflow: hidden;

        background-size:
            860px 645px;

        background-position:
            left top;
    }


    /* nagłówek */

    .ec-announcement {
        position: absolute;

        top: 25.8%;
        left: 12.2%;
        right: 5.8%;

        padding: 0;
    }


    .ec-announcement-title {
        font-size: 27px;

        margin-bottom: 9px;
    }


    .ec-pair {
        font-size: 23px;

        white-space: nowrap;
    }


    /*
       RODOWÓD – zachowuje dokładnie ten sam układ
    */

    .ec-pedigree-scroll {
        position: absolute;

        left: 5.7%;
        right: 5.7%;

        top: 36.3%;
        bottom: 15.2%;

        width: auto;

        margin: 0;
        padding: 0;

        overflow: visible;
    }


    .ec-pedigree {
        position: static;

        width: 100%;
        height: 100%;

        min-width: 0;
        max-width: none;

        display: grid;

        grid-template-columns:
            32.5%
            32.5%
            calc(35% - 18px);

        grid-template-rows:
            100%;

        gap: 9px;
    }


    .ec-parents {
        display: grid;

        width: 100%;
        height: 100%;

        min-width: 0;

        grid-template-columns:
            100%;

        grid-template-rows:
            calc((100% - 10px) / 2)
            calc((100% - 10px) / 2);

        gap: 10px;
    }


    .ec-parent {
        width: 100%;
        height: 100%;

        min-width: 0;

        margin: 0;
    }


    .ec-parent img {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center center;
    }


    .ec-middle {
        width: 100%;
        height: 100%;

        grid-template-rows:
            calc((100% - 24px) / 4)
            calc((100% - 24px) / 4)
            calc((100% - 24px) / 4)
            calc((100% - 24px) / 4);

        gap: 8px;
    }


    .ec-right {
        width: 100%;
        height: 100%;

        grid-template-rows:
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8);

        gap: 6px;
    }


    .ec-cell {
        min-width: 0;
        min-height: 0;

        margin: 0;

        padding:
            3px 6px;

        font-size: 13px;

        line-height: 1.07;
    }


    .ec-middle .ec-cell {
        font-size: 15px;
    }


    .ec-small {
        font-size: 10px;

        line-height: 1.02;
    }


    /* pionowa nazwa */

    .ec-parent-name {
        width: 30px;

        font-size: 11px;
    }


    /* kontakt nadal częścią plakatu */

    .ec-contact {
        position: absolute;

        left: 7.3%;
        right: 6.5%;

        bottom: 4%;

        padding: 0;

        display: flex;

        justify-content: space-between;

        flex-wrap: nowrap;

        font-size: 16px;
    }


    .ec-contact-item {
        margin: 0;

        gap: 7px;

        white-space: nowrap;
    }


    .ec-contact-icon {
        width: 40px;
        height: 40px;
    }

}


/* ==========================================================
   TELEFON
   CAŁY PLAKAT = 760 × 570
   przesuwany jako jeden element
   ========================================================== */

@media (max-width: 600px) {

    /*
       Okno telefonu.
       Nie skalujemy ani nie przebudowujemy poszczególnych
       części niezależnie.
    */

    .ec-litter {
        width: 100%;
        max-width: 100%;

        margin: 0;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scroll-behavior: smooth;

        background:
            #f5edcf;

        overscroll-behavior-x: contain;
    }


    /*
       Cały plakat ma stałą proporcję 4:3.
       Jest trochę mniejszy niż poprzednia wersja 900 px.
    */

    .ec-canvas {
        width: 760px;
        min-width: 760px;

        height: 570px;

        padding-top: 0;

        overflow: hidden;

        background-size:
            760px 570px;

        background-position:
            left top;
    }


    /* ======================================================
       NAGŁÓWEK
       ====================================================== */

    .ec-announcement {
        position: absolute;

        top: 25.8%;
        left: 12.2%;
        right: 5.8%;

        margin: 0;
        padding: 0;
    }


    .ec-announcement-title {
        margin-bottom: 8px;

        font-size: 25px;

        line-height: 1.05;
    }


    .ec-pair {
        font-size: 21px;

        line-height: 1.07;

        white-space: nowrap;
    }


    /* ======================================================
       RODOWÓD
       NIE PRZEBUDOWUJEMY GO
       ====================================================== */

    .ec-pedigree-scroll {
        position: absolute;

        left: 5.7%;
        right: 5.7%;

        top: 36.3%;
        bottom: 15.2%;

        width: auto;

        margin: 0;
        padding: 0;

        overflow: visible;
    }


    .ec-pedigree {
        position: static;

        width: 100%;
        height: 100%;

        min-width: 0;

        display: grid;

        grid-template-columns:
            32.5%
            32.5%
            calc(35% - 18px);

        grid-template-rows:
            100%;

        gap: 9px;

        margin: 0;
        padding: 0;
    }


    /* ======================================================
       KOLUMNA 1
       ====================================================== */

    .ec-parents {
        display: grid;

        width: 100%;
        height: 100%;

        min-width: 0;
        min-height: 0;

        grid-template-columns:
            100%;

        grid-template-rows:
            calc((100% - 10px) / 2)
            calc((100% - 10px) / 2);

        gap: 10px;

        margin: 0;
        padding: 0;
    }


    .ec-parent {
        width: 100%;
        height: 100%;

        min-width: 0;

        margin: 0;
        padding: 0;
    }


    .ec-parent img {
        width: 100%;
        height: 100%;

        margin: 0;
        padding: 0;

        object-fit: contain;
        object-position: center center;
    }


    .ec-parent-name {
        width: 28px;

        padding:
            5px 3px;

        font-size: 10px;
    }


    /* ======================================================
       KOLUMNA 2
       ====================================================== */

    .ec-middle {
        display: grid;

        width: 100%;
        height: 100%;

        min-width: 0;

        grid-template-rows:
            calc((100% - 24px) / 4)
            calc((100% - 24px) / 4)
            calc((100% - 24px) / 4)
            calc((100% - 24px) / 4);

        gap: 8px;
    }


    /* ======================================================
       KOLUMNA 3
       ====================================================== */

    .ec-right {
        display: grid;

        width: 100%;
        height: 100%;

        min-width: 0;

        grid-template-rows:
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8)
            calc((100% - 42px) / 8);

        gap: 6px;
    }


    /* ======================================================
       KOMÓRKI
       ====================================================== */

    .ec-cell {
        width: 100%;

        min-width: 0;
        min-height: 0;

        margin: 0;

        padding:
            2px 5px;

        font-size: 11px;

        line-height: 1.05;
    }


    .ec-middle .ec-cell {
        font-size: 13px;
    }


    .ec-small {
        font-size: 8px;

        line-height: 1;
    }


    /* ======================================================
       KONTAKT
       również przesuwa się razem z całym plakatem
       ====================================================== */

    .ec-contact {
        position: absolute;

        left: 7.3%;
        right: 6.5%;

        bottom: 4%;

        margin: 0;
        padding: 0;

        display: flex;

        align-items: center;
        justify-content: space-between;

        flex-wrap: nowrap;

        font-size: 14px;

        line-height: 1;
    }


    .ec-contact-item {
        margin: 0;
        padding: 0;

        gap: 6px;

        white-space: nowrap;
    }


    .ec-contact-icon {
        width: 34px;
        height: 34px;
    }

}

/* =========================================
   MOBILE – ZAPOWIEDŹ PRAWIE NA CAŁĄ SZEROKOŚĆ
   ========================================= */

@media (max-width: 600px) {

    .ec-litter {
        width: calc(100vw - 12px) !important;
        max-width: none !important;

        margin-left: calc(50% - 50vw + 6px) !important;
        margin-right: 0 !important;

        box-sizing: border-box;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
    }

}
/*Builder Custom CSS END*/