/* Generated from page: springer-planned-litter */
.themify_builder_content-4515 .tb_wtmv320{padding-bottom:30px}

@media(max-width:600px){
.themify_builder_content-4515 .tb_fwie320{--area:var(--aream2_auto)}
}/*Builder Custom CSS START*/
/* ==========================================================
   EQUESS CARNIVALE – ZAPOWIEDŹ MIOTU
   ========================================================== */


/* ==========================================================
   CAŁY PLAKAT
   ========================================================== */

.ec-litter {
    position: relative;

    width: 100%;
    max-width: 1408px;

    height: 0;
    padding-top: 75%;

    margin: 0 auto;

    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: center top;
    background-size: 100% 100%;

    color: #30220e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


/* ==========================================================
   LINKI
   ========================================================== */

.ec-litter a {
    color: inherit;
    text-decoration: none;
}

.ec-litter 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-bottom: 10px;

    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 {
    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 – DESKTOP
   ========================================================== */

.ec-pedigree-scroll {
    position: absolute;

    left: 5.7%;
    right: 5.7%;

    top: 36.3%;
    bottom: 15.2%;

    overflow: visible;
}


/* ==========================================================
   TABELA RODOWODU – DESKTOP
   ========================================================== */

.ec-pedigree {
    position: static;

    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns:
        32.5%
        32.5%
        calc(35% - 18px);

    grid-template-rows: 100%;

    gap: 9px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* ==========================================================
   KOLUMNA 1 – RODZICE
   ========================================================== */

.ec-parents {
    display: grid;

    grid-template-rows:
        calc((100% - 10px) / 2)
        calc((100% - 10px) / 2);

    gap: 10px;

    min-width: 0;
    min-height: 0;
}


/* ==========================================================
   POJEDYNCZY RODZIC
   ========================================================== */

.ec-parent {
    position: relative;

    min-width: 0;
    min-height: 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%;
}


/* ==========================================================
   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 RODZICÓW
   ========================================================== */

.ec-parent-name {
    position: absolute;

    z-index: 5;

    left: 0;
    top: 0;
    bottom: 0;

    width: 31px;

    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;

    padding:
        6px 4px;
}


/* ==========================================================
   KOLUMNY RODOWODU
   ========================================================== */

.ec-generation {
    display: grid;

    min-width: 0;
    min-height: 0;
}


/* 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;
}


/* 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;
}


/* ==========================================================
   POJEDYNCZE POLE RODOWODU
   ========================================================== */

.ec-cell {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;

    min-width: 0;
    min-height: 0;

    box-sizing: border-box;

    overflow: hidden;

    padding:
        3px 7px;

    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 JPG
   ========================================================== */

/* UK */

.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;

    left: 7.3%;
    right: 6.5%;

    bottom: 4%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    color: #393414;

    font-size: 18px;

    line-height: 1;
}

.ec-contact-item {
    display: flex;

    align-items: center;

    gap: 8px;

    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 {
    width: 58%;
    height: 58%;

    fill: #ead4aa;
}


/* ==========================================================
   TABLET + TELEFON
   TABELA ZAWSZE POZOSTAJE W 3 KOLUMNACH
   ========================================================== */

@media (max-width: 900px) {

    /* -----------------------------------
       CAŁA SEKCJA
       ----------------------------------- */

    .ec-litter {
        height: auto;

        min-height: 0;

        padding-top: 0;

        overflow: visible;

        background-size:
            auto 650px;

        background-position:
            top center;

        background-color:
            #ead0a4;
    }


    /* -----------------------------------
       NAGŁÓWEK
       ----------------------------------- */

    .ec-announcement {
        position: relative;

        top: auto;
        left: auto;
        right: auto;

        padding:
            280px 5% 25px;
    }

    .ec-announcement-title {
        font-size: 27px;
    }

    .ec-pair {
        font-size: 22px;
        white-space: normal;
    }


    /* -----------------------------------
       OKNO PRZEWIJANIA
       ----------------------------------- */

    .ec-pedigree-scroll {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;

        margin: 0;

        padding:
            0 14px 12px 14px;

        box-sizing: border-box;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scroll-behavior: smooth;
    }


    /* -----------------------------------
       SAMA TABELA
       NIGDY NIE ZMIENIA UKŁADU
       ----------------------------------- */

    .ec-pedigree {
        position: static;

        width: 900px;
        height: 520px;

        min-width: 900px;
        max-width: none;

        display: grid;

        grid-template-columns:
            290px
            290px
            300px;

        grid-template-rows:
            520px;

        gap: 10px;

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }


    /* -----------------------------------
       KOLUMNA 1
       ----------------------------------- */

    .ec-parents {
        display: grid;

        grid-column: auto;
        grid-row: 1;

        width: 290px;
        height: 520px;

        min-width: 290px;
        min-height: 0;

        grid-template-columns:
            290px;

        grid-template-rows:
            255px
            255px;

        gap: 10px;
    }

    .ec-parent {
        width: 290px;
        height: 255px;

        min-width: 290px;

        margin: 0;
    }

    .ec-parent img {
        width: 100%;
        height: 100%;

        margin: 0;
        padding: 0;

        object-fit: contain;
        object-position: center center;
    }


    /* -----------------------------------
       KOLUMNA 2
       ----------------------------------- */

    .ec-middle {
        display: grid;

        grid-column: auto;
        grid-row: 1;

        width: 290px;
        height: 520px;

        min-width: 290px;

        grid-template-rows:
            124px
            124px
            124px
            124px;

        gap: 8px;
    }


    /* -----------------------------------
       KOLUMNA 3
       ----------------------------------- */

    .ec-right {
        display: grid;

        grid-column: auto;
        grid-row: 1;

        width: 300px;
        height: 520px;

        min-width: 300px;

        grid-template-rows:
            59.75px
            59.75px
            59.75px
            59.75px
            59.75px
            59.75px
            59.75px
            59.75px;

        gap: 6px;
    }


    /* -----------------------------------
       KOMÓRKI
       ----------------------------------- */

    .ec-cell {
        width: 100%;

        min-width: 0;
        min-height: 0;

        margin: 0;

        padding:
            3px 6px;

        box-sizing: border-box;

        font-size: 13px;
        line-height: 1.08;
    }

    .ec-middle .ec-cell {
        font-size: 15px;
    }

    .ec-small {
        font-size: 10px;
        line-height: 1.02;
    }


    /* -----------------------------------
       KONTAKT
       ----------------------------------- */

    .ec-contact {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        padding:
            28px 5% 60px;

        display: flex;

        flex-wrap: wrap;

        justify-content: space-between;

        gap: 18px;

        font-size: 17px;
    }

}


/* ==========================================================
   TELEFON
   tylko rozmiary nagłówka i kontaktu
   rodowodu NIE PRZEBUDOWUJEMY
   ========================================================== */

@media (max-width: 600px) {

    .ec-litter {
        background-size:
            auto 470px;
    }

    .ec-announcement {
        padding:
            205px 16px 20px;
    }

    .ec-announcement-title {
        font-size: 23px;
    }

    .ec-pair {
        font-size: 18px;
    }

    .ec-contact {
        display: block;

        padding:
            28px 20px 55px;

        font-size: 16px;
    }

    .ec-contact-item {
        margin-bottom: 14px;
    }

    .ec-contact-icon {
        width: 40px;
        height: 40px;
    }

}
/*Builder Custom CSS END*/