
/* latin-ext */
@font-face {
    font-family: 'Qwitcher Grypen';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/vendors/qwitcherGrypen/qwitcherGrypen-Regular.ttf');
}

body {
    font-weight: 400 !important;
}

.pagination .active {
    color: var(--thm-secondary);
}

@media only screen and (max-width: 560px) {
    .pagination .page-link {
        padding: 0.75rem 0.7rem !important;
    }
}

    #main-slider-pagination .swiper-pagination-bullet {
        width: 20px;
        height: 20px;
    }

    .chci-pomoci {
        position: relative;
        display: block;
        padding: 100px 0 70px;
    }

    .chci-pomoci-wrapper {
        background-color: var(--thm-background);
    }

    #nav-item-selected {
        color: var(--thm-primary);
        text-decoration: underline;
    }

    .whitespace-nowrap {
        white-space: nowrap;
    }


    .news-one__right-single:hover img, .causes-one__single:hover img {
        transform: scale(1.08);
    }

    .news-one__right-single img, .news-one__img img, .causes-one__img-box img {
        transition: transform 300ms;
    }

    .causes-one__img-box > a, .news-one__right-single:hover .news-one__right-img > a, .news-one__img > a {
        opacity: 0 !important;
    }
    /*-------------------------------------------------
                    MENU
---------------------------------------------------*/
    .main-menu__list, .stricky-header .main-menu__list ul {
        justify-content: flex-start !important;
    }

    .main-menu .main-menu__list li ul, .stricky-header .main-menu__list li ul {
        top: 80%;
        width: 200px;
        gap: 0;
    }

        .main-menu .main-menu__list li ul, .stricky-header .main-menu__list li ul li a:hover {
            color: var(--thm-black) !important;
        }

    .main-menu__donate-btn {
        white-space: nowrap;
    }
    /*-------------------------------------------------
                 FORM STYLING
---------------------------------------------------*/
    .form-container p {
        font-weight: 300;
        line-height: 1.5rem;
    }

    .form-container h4 {
        margin-top: 1em;
        font-weight: 800;
    }

    .form-row {
        margin: 0.5rem 1.5rem 0.5rem 1.5rem;
    }

        .form-row h4 {
            margin-top: 1em;
            font-weight: 800;
        }

    .gift-request-form__label {
        font-weight: 700;
        color: var(--thm-black);
        font-size: 16px;
    }

    input:focus::placeholder, textarea:focus::placeholder {
        color: transparent;
    }

    input[type=date], textarea {
        height: 67px;
        width: 100%;
        padding: 0 30px;
        margin-bottom: 10px;
        outline: none;
        font-size: 16px;
        font-weight: 700;
        color: var(--thm-gray);
        background-color: rgb(255, 255, 255);
    }

    input[type=file] {
        height: 67px;
        width: 100%;
        border: none;
        padding: 0 30px;
        margin-bottom: 10px;
        outline: none;
        font-size: 16px;
        font-weight: 700;
    }

    /*--------------radio styling--------------*/

    input[type=radio] {
        width: 1em;
        height: 1em;
        margin-right: .5em;
        accent-color: var(--thm-primary);
    }

    .radio__inputs {
        display: flex;
        justify-content: space-evenly;
        margin: 3em;
    }


    /*---------------checkbox styling----------------*/
    /* hide default checkbox  */
    input[type=checkbox] {
        position: absolute;
        opactiy: 0;
        width: 0;
        height: 0;
        display: none;
    }

    .check-box__label {
        font-weight: 500;
        color: black;
        font-size: 16px;
        position: relative; /* to contain absolute elements */
        padding-left: 30px; /* free space for custom checkbox */
        cursor: pointer;
    }

        /* custom checkbox */
        .check-box__label span {
            position: absolute;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            background-color: #ddd;
            transition: .3s background-color;
        }
            /* the check icon */
            .check-box__label span:after {
                content: "";
                position: absolute;
                display: none;
                left: 0.45em;
                top: 0.15em;
                width: 6px;
                height: 12px;
                border: solid white;
                border-width: 0 3px 3px 0;
                transform: rotate(45deg);
            }

        .check-box__label:hover span {
            background-color: #ccc;
        }

        /**** Here's the trick ***/
        .check-box__label input:checked ~ span {
            background-color: var(--thm-primary);
        }

            .check-box__label input:checked ~ span:after {
                display: block;
            }


    /*-------------------FORM STYLING END---------------------*/





    /*--------------------------------------------------------
                       MEDIA QUERIES
-----------------------------------------------------------*/


    /* Mobile Layout: 320px */
    @media only screen and (max-width: 767px) {
        .row {
            padding: unset;
        }

        .news-one__right-img {
            display: none;
        }

        .section-title .fa.fa-heart {
            font-size: 20px !important;
            transform: translateY(-7px) translateX(-7px) !important;
        }

        h2.section-title__title {
            margin: 10px;
            font-size: 32px;
            line-height: 38px;
        }
    }

    /* Tablet Layout: 768px */
    @media only screen and (min-width: 768px) and (max-width: 991) {
        .news-one__right-img {
            display: none;
        }
    }

    .error {
        border-color: red;
        box-shadow: 0 0 0 0.2rem rgb(255 0 0 / 25%);
    }

    .error-message {
        color: red;
        font-size: 12px;
    }

    .form-control {
        height: 67px;
        padding: 0 30px !important;
        font-size: 16px;
        font-weight: 700;
        color: var(--thm-gray);
        background-color: rgb(255, 255, 255);
    }

    textarea.form-control {
        padding-top: 20px !important;
        height: auto;
    }

    .as-center {
        align-self: center;
    }

    input.error[type=checkbox] {
        box-shadow: none !important;
    }

    .causes-one__img-box img {
        height: 240px;
        object-fit: cover;
    }

    .news-one__right-img {
        height: 160px !important;
    }

    .news-one__img {
        height: 345px !important;
    }

    .news-one__right-single + .news-one__right-single {
        margin-top: 25px !important;
    }

    .fit-cover {
        object-fit: cover;
    }

    .text-justify {
        text-align: justify;
    }

    a {
        color: var(--thm-primary);
    }

        a:hover {
            color: #e98716;
        }

    .thm-btn:disabled {
        background-color: #f8dbb9;
    }

    .text-grey {
        color: var(--thm-gray);
    }

    .thm-btn:hover {
        color: white !important;
    }

    .news-one__art-title a {
        color: var(--thm-black) !important;
        font-weight: 900;
    }

    .page-header .text-white {
        font-family: var(--thm-reey-font);
        font-size: 70px;
        line-height: 1;
    }

    .page-header__bg {
        background-image: url('/images/backgrounds/page-header.webp');
    }

    .subtitle {
    }

    .text-primary {
        color: var(--thm-primary) !important;
    }

    .text-causes-detail {
        line-height: 30px;
        text-align: justify;
        font-weight: 600;
    }

    .cursor-pointer {
        cursor: pointer;
    }

    .filter-categories .category {
        display: inline-block;
        border: 1px solid var(--thm-primary);
        border-radius: 2px;
        padding: 5px 10px 5px 10px;
        margin: 5px;
        cursor: pointer;
    }

    @media only screen and (max-width: 768px) {
        .filter-categories .category {
            display: grid;
            flex-direction: column;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }

    .active-category {
        background-color: var(--thm-primary);
        color: white;
    }

        .active-category:hover {
            color: white !important;
        }

    /*--------------------------------------------------------------
# Our Partners Page
--------------------------------------------------------------*/

    .our-partners {
        margin: auto;
    }

        .our-partners h4 {
            padding-left: 1.2em;
            margin-top: 3em;
        }

        .our-partners img {
            height: 7em;
            padding: 1.2em 1.2em 1.2em 0em;
            margin-top: 3em;
        }

    #sponsors-logo__mtp {
        padding: 2em 1em 1.5em 0em;
    }

    #sponsors-logo__hz {
        height: 5em;
    }

    .img-adjust {
        object-fit: contain;
    }

    /*--------------------------------------------------------------
# About Us Page
--------------------------------------------------------------*/

    /* Black and white img, colorful on hover */
    .team-one__img img {
        width: 100%;
        mix-blend-mode: luminosity;
        transition: 500ms ease;
    }
    /* Page styling */
    .team-one {
        padding: 50px 0 30px;
    }

    .team-one__single {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .team-one__content {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .team-one__text-box {
        height: 100%;
        padding-top: 20px
    }

    .team-one__contacts {
        position: relative;
        font-weight: 300;
    }

        .team-one__contacts .text {
            overflow: hidden;
        }

            .team-one__contacts .text:hover {
                overflow: unset;
            }

    /*PARTNERS*/

    .brand-one {
        background-color: transparent;
        padding: 10px 0 100px;
    }

    /* Logo heights are set per logo in _PartnerLogos.cshtml as a multiple of the unit */
    .partner-logos {
        --partner-logo-unit: 62px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 40px 20px;
        margin: 40px 0 0;
    }

        /* Equal cells keep the rows tidy, an incomplete last row stays centred */
        .partner-logos__item {
            flex: 0 0 140px;
            display: flex;
            justify-content: center;
        }

        .partner-logos__item a {
            display: block;
            max-width: 100%;
        }

        .partner-logos__item img {
            display: block;
            width: auto;
            height: calc(var(--partner-logo-unit) * var(--logo-size, 1));
            max-width: 100%;
            object-fit: contain;
            transition: opacity 500ms;
        }

        .partner-logos__item a:hover img {
            opacity: 0.70;
        }

    @media (max-width: 575px) {
        .partner-logos {
            --partner-logo-unit: 48px;
            gap: 32px 16px;
            margin-top: 24px;
        }

            .partner-logos__item {
                flex-basis: calc(50% - 8px);
            }
    }

    .page-wrapper {
        min-height: 100vh !important;
    }


    /*--------------------------------------------------------------
# Active Recipients Page
--------------------------------------------------------------*/
    .causes-one__img-box img {
        border: 1px solid #e5eeec;
    }


    /*--------------------------------------------------------------
# Articles Page
--------------------------------------------------------------*/

    .news-two__img {
        height: 270px;
    }

    .news-two__content {
        height: 320px;
        border: 1px solid #e5eeec;
        padding: 30px 20px 30px;
    }

        .news-two__content h3 {
            font-size: 1.4rem;
            line-height: 2rem;
        }

    .cg-btn-container {
        border: 1px solid #bf0000;
        background: white;
        width: 300px;
        border-radius: 5px;
        padding-right: 20px;
        cursor: pointer;
    }

    .img-cover {
        object-fit: cover;
    }

    .counter-one__single h3 {
        font-size: 40px !important;
    }

    .counter-one__letter {
        font-size: 42px !important;
    }

    .page-link {
        color: var(--thm-primary);
    }

    .page-item.disabled .page-link {
        color: grey !important;
        background-color: lightgray;
    }

    .text-highlight {
        font-size: 20px;
        font-weight: 600;
        background-color: orange;
        color: black;
    }

    .collected-amount {
        max-width: 150px;
        text-align: center;
        padding: 5px;
        background-color: var(--thm-primary);
        color: white;
    }

    @media screen and (max-width: 767px) {
        .collected-amount {
            margin-top: 10px;
        }
    }

    .preloader {
        background-color: rgba(255, 255, 255, 0.9) !important;
    }

    .thm-btn:hover {
        color: orange !important;
    }

    .causes-one__text,
    .news-details__content,
    .news-one__right-content,
    .news-two__text {
        overflow-wrap: break-word;
    }

    /* Honeypot on the public forms (_FormSpamFields), kept off screen for people. */
    .form-website-field {
        position: absolute !important;
        left: -10000px !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }

    @media screen and (max-width: 767px) {
        iframe {
            width: 100%;
        }
    }

    .faq-container {
        margin: 3em 0 3em;
    }

    .accordion-button {
        font-weight: 700;
        font-size: 1.1rem;
        text-align: left;
    }

        .accordion-button:focus {
            border-color: var(--thm-primary);
            box-shadow: var(--thm-background);
        }

        .accordion-button:not(.collapsed) {
            color: var(--thm-primary);
            background-color: var(--thm-background);
        }

    .accordion-body {
        font-weight: 500;
        font-size: 1rem;
    }

    .accordion-button::after {
        filter: hue-rotate(174deg);
    }

    .fs-17 {
        font-size: 17px;
    }



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


        .chci-pomoci {
            padding: 10px 0px;
        }

        .section-title {
            margin-bottom: 20px;
            margin-top: 40px;
        }

        .page-header {
            height: 20px !important;
        }

            .page-header .container {
                padding-bottom: 0 !important;
                padding-top: 0 !important;
            }

            .page-header .header__bg,
            .page-header__bg {
                background-image: none !important;
                background-size: 0 !important;
                height: 0 !important;
                background-color: white;
            }

            .page-header .container h2, .page-header .container h2 + h3 {
                display: none !important;
            }

                .page-header .container h2, .page-header .container h2 + h3 {
                    display: none !important;
                }

        .thm-breadcrumb {
            top: 0 !important;
            left: 0 !important;
            right: auto !important;
            bottom: auto !important;
            padding-top: 20px !important;
            padding-left: 20px !important;
            padding-right: 20px !important;
        }

        .contact-page {
            padding-top: 0 !important;
        }

        .news-details {
            padding-top: 50px !important;
        }

        .faq-container {
            margin: 0 !important;
        }

        .contact-page {
            padding-top: 30px !important
        }

        .causes-one {
            padding-top: 60px !important;
        }
    }

    @media screen and (max-width: 991px) {
        .main-header {
            height: 80px !important;
        }

        .main-header__img {
            height: 100% !important;
        }

        .main-header__logo img {
            float: left !important;
        }

        .main-menu {
            height: 100% !important;
        }

        .main-header__logo {
            padding: 0 !important;
        }

        .main-menu-wrapper {
            background-color: var(--thm-primary);
            display: flex;
            justify-content: end;
            padding: 0 !important;
        }

        .main-menu-wrapper__bottom {
            padding: 0 !important;
            float: right;
        }

        .main-menu__donate-btn {
            display: none;
        }

        .example-2 {
            margin-top: 0px !important;
        }

        .causes-details__right {
            margin-top: 0px !important;
        }
    }

    .title-responsive {
        color: var(--thm-black);
        font-weight: 400;
        font-size: 24px;
    }

    .causes-details__donations-content {
        overflow-wrap: break-word;
    }

    @media screen and (max-width: 767px) {
        .title-responsive {
            font-size: 16px;
        }

        .thm-btn-responsive {
            font-size: 16px;
            padding: 10px 30px 10px 30px;
        }
    }

    @media screen and (max-width: 991px) {
        .team-one {
            padding-top: 150px !important;
        }

        .container-custom-pt-0 {
            padding-top: 0px !important;
        }

        .container-custom-pb-0 {
            padding-bottom: 0px !important;
        }
    }

    @media only screen and (min-width: 992px) and (max-width: 1199px) {
        .three-boxes__content {
            justify-content: start !important;
        }
    }

    @media only screen and (max-width: 991px) {
        .news-one__right-img {
            display: none !important;
        }
    }


    @media only screen and (max-width: 500px) {
        .section-title__tagline {
            color: var(--thm-primary);
            font-size: 18px;
            line-height: 23px;
            text-align: left;
        }

            .section-title__tagline::before {
                width: 20px;
            }
    }

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--thm-primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--thm-primary);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* D-9: scoped loading state pro odesílací tlačítka (nahrazuje celoobrazovkový .preloader overlay) */
.thm-btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
    /* nad overlayem formuláře, ať spinner/text v tlačítku zůstane čitelný */
    position: relative;
    z-index: 21;
}

/* Poloprůhledný zámek přes odesílaný formulář – blokuje editaci polí (D-9) */
.form-submitting {
    position: relative;
}

.form-submitting::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: progress;
    z-index: 20;
}

.btn-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    vertical-align: -0.125em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

.btn-loading-text {
    vertical-align: middle;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}
