/* css for frontpage */

section.our-packages {
    height: 200vh;
}

.main-banner {
    top: -5em;
    max-height: 55%;
}

.featured .events-overlay {
    position: relative;
    top: 0;
}
.un-featured .events-overlay {
    position: relative;
    top: -8em;
}


.upcoming {
    position: relative;
    top: 1em;
    transform: translate(10%, 50%);
    left: -3em;
}

.events-overlay h6 {
    margin-top: 0px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

/*
---------------------------------------------
Front page
---------------------------------------------
*/
.featured {
    margin-top: 6rem;
    color: wheat;
}

img.featured {
    border-radius: 20px;
    margin-top: 0;
}

.frontpage-item .down-content {
    height: 160px;
    /*    position: absolute;*/
}

.frontpage-item {
    position: relative;
}

.frontpage-item .icons {
    position: absolute;
    top: 10px;
    left: 10px;
}

.upcoming .frontpage-item {
    background-color: #fff;
    border-radius: 20px;
    color: #0c0c0c;
    margin-right: 10px;
}

.upcoming .frontpage-item:hover h2 {
    text-decoration: underline;
}

.upcoming .frontpage-item .thumb {
    overflow: hidden;
}

.upcoming .frontpage-item .thumb:hover img {
    transform: scale(1.1);
}

.slider-service .frontpage-item .thumb img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: transform 0.5s;
}

.frontpage-item h2, .frontpage-item h4 {
    color: #0c0c0c;
    font-weight: 600;
    margin-top: 10px;
    margin-left: 5px;
}

.frontpage-item h2 {
    font-size: 1.5rem;
}

.frontpage-item .country-flag img {
    float: right;
    max-width: 64px;
    border: 1px solid #0c0c0c;
    margin-top: 10px;
    margin-right: 10px;
}

.main-banner .multi-event h6, .services .multi-event h6 {
    margin-top: 0px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

.main-banner .multi-event h2 em, .services .multi-event h2 em {
    font-style: normal;
    color: #f5a425;
    font-weight: 900;
}

.frontpage-item p {
    position: absolute;
    color: #0c0c0c;
    font-size: 14px;
    max-width: 570px;
    margin-top: 10px;
    margin-left: 10px;
    bottom: 10px;
}

.frontpage-item h2.event_long {
    font-size: 1.1rem;
}

.frontpage-item h4.place {
    position: absolute;
    bottom: 1.1em;
}

.frontpage-item .date {
    position: absolute;
    bottom: 0.2em;
}

.main-banner .multi-event .main-button-red {
    margin-top: 30px;
}

@media (max-width: 1400px) {
    .events-overlay h6 {
        margin-top: 2em;
    }
}

@media (max-width: 1200px) {
    .events-overlay h6 {
        margin-top: 3em;
    }
}

@media (max-width: 991px) {
    .upcoming .frontpage-item .down-content {
        height: 160px;
    }

    .frontpage-item .country-flag img {
        max-width: 50px;
    }
}

@media (max-width: 767px) {
    .events-overlay h6 {
        margin-top: 1em;
    }

    .upcoming .frontpage-item .down-content {
        height: 210px;
    }

    .frontpage-item .country-flag img {
        max-width: 38px;
    }
}

@media (max-width: 575px) {
    .frontpage-item h2.event_long {
        font-size: 1.5rem;
    }

    .frontpage-item .country-flag img {
        max-width: 65px;
    }
}
