@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

body {
    font-family: "Open Sans", sans-serif;
    color: #39393b;
    line-height: 1.5;
}

.whiteSection {
    /*margin-top: 0;
  padding-top: 0;*/
}

.c-header {
    display: flex;
    background: url("../img/header.jpg") no-repeat;
    background-size: cover;
    height: 500px;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
}

    .c-header .c-header-logo {
        background: rgba(0, 0, 0, 0.2);
        padding: 0rem 2rem;
        display: flex;
        flex-direction: column;
    }

    .c-header .c-header-logo--premium {
        padding: 1rem;
    }

.c-body {
    text-align: center;
    /* padding: 2rem 1rem; */
    padding-bottom: 4rem;
}

    .c-body p {
        width: 90%;
        padding-bottom: 2rem;
    }

.c-offer__headline {
    padding: 0.5rem 0;
    text-align: center;
    background: #39383b;
    color: white;
    font-size: 0.75rem;
    line-height: 1;
}

.c-offer {
    padding: 3rem 0;
}

.c-offer__header__top {
    position: absolute;
    top: -2.3rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    max-width: 160px;
    -webkit-filter: drop-shadow( 3px 6px 5px rgba(0, 0, 0, .3));
    filter: drop-shadow( 3px 6px 5px rgba(0, 0, 0, .3));
}

}

.c-offer__header {
    overflow: hidden;
}

    .c-offer__header img {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }

.c-offer__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1rem;
}

.c-offer__body_img {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    .c-offer__body_img img {
        height: 50px;
        width: auto;
        padding: 0.2rem 0.3rem;
    }

.c-offer__body p {
    margin: 0;
    padding: 0.8rem 0 2rem 0;
}

.c-offer__body a {
    padding-top: 0rem;
    text-decoration: none;
    font-weight: bold;
}

.c-offer__body h4 {
    font-size: 1.25rem;
    margin: 0;
    text-transform: uppercase;
}

.c-offer__body h5 {
    margin: 0;
    padding-top: 0.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    font-weight: 600;
}

.c-offer__body__arrow {
    height: 14px;
    padding-left: 4px;
}

.c-offer div div {
    background: white;
    border-radius: 8px 8px 8px 8px;
}

.c-offer__bottom {
    text-align: center;
    padding-bottom: 0;
}

.c-offer__bottom--used {
    text-align: center;
    padding-top: 2.6rem;
}

.c-offer__annotation{
    font-size: 0.85rem;
}

.c-header .c-header-logo--kreirane {
    padding-bottom: 1rem;
}

/* MODAL */
.c-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: black;
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    /* The Close Button */
}

.c-modal__head {
    position: relative;
}

.c-modal__header {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.c-modal__header_top {
    position: absolute;
    top: -5.4rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    max-width: 160px;
}

.c-modal__content {
    background-color: #fefefe;
    margin: 12% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    /* Could be more or less, depending on screen size */
    position: relative;
    padding-top: 3rem;
}

.c-modal__content_offertime {
    background: #efe4c8;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-align: center;
}

    .c-modal__content_offertime p {
        margin: 0;
        letter-spacing: 0.8px;
    }

.c-modal__content_body {
    padding: 0 1.2em;
    padding-top: 1rem;
}

    .c-modal__content_body h2 {
        font-weight: 600;
        margin-top: 0.83em;
        margin-bottom: 0.83em;
    }

    .c-modal__content_body p {
        /*margin-top: 6px;
      margin-bottom: 1em;*/
    }

.c-modal__bottom {
    background: rgba(142, 141, 149, 0.1);
    padding: 1rem;
    text-align: center;
    margin: 3rem 0 1rem;
    display: block;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

    .c-modal__bottom img {
        padding: 0.4rem 0.01rem;
    }

    .c-modal__bottom .bottom_p {
        font-size: 0.9rem;
    }

    .c-modal__bottom .bottom_p2 {
        padding-top: 0.6rem;
        font-size: 0.8rem;
    }

.c-modal__footer {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 3rem;
}

    .c-modal__footer img {
        width: fit-content;
        height: 100%;
        margin: auto;
        max-width: 110px;
    }

.c-modal__bottom_link {
    font-weight: bold;
    text-decoration: none;
    padding-bottom: 0.5rem;
    display: block;
    color: #c3a140;
    font-size: 0.9rem;
    /*transition: transform .2s;*/ /* Animation */
}
/*.c-modal__bottom_link:hover {
  transform: scale(1.02); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

*/
.c-modal .close_ekupi,
.c-modal .close_amadria {
    color: white;
    /* float: right; */
    font-size: 3rem;
    position: absolute;
    top: -4rem;
    right: 0;
    cursor: pointer;
}

.c-modal .close:hover,
.c-modal .close:focus {
    color: grey;
    text-decoration: none;
    cursor: pointer;
}

.o-wrap {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    padding-top: 2rem;
    padding-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}

    .o-wrap .o-col-4 {
        display: flex;
        flex-direction: column;
        margin: 0 1rem 5rem 0;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
        position: relative;
        /* On screens that are 600px or less, set the background color to olive */
        flex: 0 0 30%;
        width: 30%;
        max-width: 30%;
    }

.p-l {
    padding-left: 2rem;
    font-size: 0.85rem;
}

.c-offer_arrow {
    height: 14px;
    padding-left: 5px;
}

.c-body a {
    color: #c3a140;
    cursor: pointer;
}

.u-bg-primary {
    background: rgba(195, 161, 64, 0.8);
}

.u-bg-secondary {
    background: #7a7b80;
}

.u-bg-white {
    background: white;
}

.c-modal__bottom p {
    margin-top: 0;
    margin-bottom: 0.4rem;
}


@media only screen and (min-width: 1200px) {

    div.c-modal__footer img {
        margin-left: auto !important;
        ;
        max-width: 110px;
        margin: 0;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1200px) {
    .c-modal__content {
        width: 40%;
    }
}

@media only screen and (min-width: 550px) and (max-width: 900px) {
    .o-wrap .o-col-4 {
        flex: 0 0 45%;
        width: 45%;
        max-width: 45%;
    }

    .c-modal__content {
        width: 70%;
        margin: 20% auto;
    }

    .c-modal__footer {
        flex-direction: column;
    }
}

@media only screen and (max-width: 550px) {
    .c-header .c-header-logo--kreirane {
        width: 160px;
        margin: auto;
    }

    .c-header .c-header-logo--premium {
        padding: 1rem;
    }

    .c-header .c-header-logo--premium {
        width: 150px;
        margin: auto;
    }

    .c-header {
        height: 350px;
    }

    .o-wrap .o-col-4 {
        flex: 0 0 92%;
        width: 92%;
        max-width: 92%;
        margin-bottom: 5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .c-modal__content {
        margin: 25% auto;
        width: 80%;
    }

    .c-modal__footer {
        flex-direction: column;
    }

    .c-modal__bottom_link {
        padding-bottom: 2rem;
        color: #c3a140;
    }

    div.c-modal__content_offertime {
        width: 100%;
        /*padding: 0.5rem;*/
        /*padding-left: 0.5rem;*/
        text-align: center;
    }

        div.c-modal__content_offertime p {
            font-size: 0.8rem;
            margin-top: 0;
        }

    .c-modal__content_body {
        padding: 0 1rem;
        padding-top: 1rem;
    }

        .c-modal__content_body p {
            margin-top: 0.5rem;
        }

    .c-modal__content .c-modal__content_body h2 {
        margin-top: 0.5rem;
        margin-bottom: 0rem;
        /* font-weight: normal; */
    }

    .c-modal__bottom {
        margin: 1.5rem 0;
        display: flex;
    }

        .c-modal__bottom img {
            /*width: 31%;*/
        }

        .c-modal__bottom p {
            margin-top: 0;
            font-size: 0.8rem;
        }

        .c-modal__bottom .bottom_p {
            margin-top: 0.3rem;
            font-size: 0.8rem;
        }

        .c-modal__bottom .bottom_p2 {
            font-size: 0.7rem;
        }
}


.c-offer-thumbnail {
    max-width: calc(100% + 32px);
    margin: -16px -16px 16px;
    border-radius: 8px 8px 0 0;
}

a.c-modal-link {
    padding-top: 0rem;
    text-decoration: none;
    font-weight: bold;
    text-align: left;
    font-size: 0.9rem;
    /*transition: transform .2s;*/ /* Animation */
}



    a.c-modal-link:hover {
        cursor: pointer;
    }
/*a.c-modal-button:hover {
  transform: scale(1.02); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

*/
img.offerLogo {
    padding-top: 3rem;
    height: 50px;
}

.c-offer__bottom {
    margin-top: auto;
}

    .c-offer__bottom a {
        display: block;
        color: #c3a140;
        cursor: pointer;
    }

.offerLogo {
    padding-top: 2rem;
    height: 80px;
}

.c-modal .close_ekupi, .c-modal .close_amadria {
    color: white;
    /* float: right; */
    font-size: 3rem;
    position: absolute;
    top: -4rem;
    right: 0;
    cursor: pointer;
}
