/* CAROUSEL */
.sponsors {
    border-radius: 30px;
}
.sponsors {
    margin-top: -5%;
}
#carouselAdvertising{ height: 250px; }
#carouselSponsors .owl-item img{
    max-width: 100px;
    max-height: 100px;
    margin: 0 auto;
}
/* ROUTES CARD */
.routesCard .head {
    font-size: x-large;
    line-height: 1;
    font-weight: bold;
}
.routesCard .contain {
    font-size: x-large;
    line-height: 1;
}
.bgCard, .events {
    border-radius: 15px;
    min-width: 100%;
    object-fit: cover;
    width: inherit;
}

.routesCard .bgCard {
    max-height: 300px;
}

/* DESTINATIONS */
.destinations p {
    color: #e6007e;
    font-size: -webkit-xxx-large;
    line-height: 1;
    font-weight: bold;
}

hr.w-25 {
    border: none;
    height: 2px;
    background-color: rgb(45, 197, 65);
}

.labelOrange {
    background-color: rgb(226, 110, 37);
    border-radius: 50px;
    font-size: smaller;
    margin-top: -14px;
}

#homeDestinations a:first-child{
    padding-right: .25rem !important;
}
#homeDestinations a:last-child{
    padding-left: .25rem !important;
}

/* EVENTS */
.events {
    background-color: rgb(227, 227, 227);
    max-height: 700px;
}

.events a:link, .events a:visited, .events a:active {
    text-decoration: none;
}
.events .headEvents {
    color: rgb(6, 120, 186);
}

.calendarDay {
    background-color: rgb(6, 120, 186);
    border-radius: 10px 0 10px 10px;
}

.calendarDay p, .calendarHour, .calendarActivity {
    font-size: 10px;
}

/* ------ GALLERY ------ */
.gallery {
    background-color: #8b2663;
    background-size: cover;
}
#homeGallery a {
    display: flex;
    overflow: hidden;
}
#homeGallery img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
#homeGallery a:last-child{
    border-radius: 0px 0px 50px 0px;
}

.gallery-8 a:nth-child(1), 
.gallery-7 a:nth-child(1), 
.gallery-6 a:nth-child(1), 
.gallery-5 a:nth-child(1), 
.gallery-4 a:nth-child(1){
    width: 33.333333%;
    border-radius: 50px 0px 0px 0px;
    height: 325px;
    padding: 0px 5px 5px 0px;
}
.gallery-8 a:nth-child(2), 
.gallery-7 a:nth-child(2), 
.gallery-6 a:nth-child(2), 
.gallery-5 a:nth-child(2), 
.gallery-4 a:nth-child(2){
    width: 66.666667%;
    border-radius: 0px 50px 0px 0px;
    height: 325px;
    padding: 0px 0px 5px;
}
.gallery-8 a:nth-child(3), 
.gallery-7 a:nth-child(3){
    height: 250px;
    width: 33.333333%;
    padding: 0px 5px 5px 0px;
}
.gallery-8 a:nth-child(4), 
.gallery-7 a:nth-child(4){
    height: 250px;
    width: 25%;
    padding: 0px 5px 5px 0px;
}
.gallery-8 a:nth-child(5), 
.gallery-7 a:nth-child(5){
    height: 250px;
    width: 41.666667%;
    padding: 0px 0px 5px 0px;
}
.gallery-8 a:nth-child(6){
    height: 150px;
    width: 33.333333%;
    padding: 0px 5px 0px 0px;
    border-radius: 0px 0px 0px 50px;
}
.gallery-8 a:nth-child(7){
    height: 150px;
    width: 33.333333%;
    padding: 0px 5px 0px 0px;
}
.gallery-8 a:nth-child(8){
    height: 150px;
    width: 33.333333%;
}

/** Gallery with 7 items */
.gallery-7 a:nth-child(6){
    height: 200px;
    width: 50%;
    padding: 0px 5px 0px 0px;
    border-radius: 0px 0px 0px 50px;
}
.gallery-7 a:nth-child(7){
    height: 200px;
    width: 50%;
}

/** Gallery with 6 items */
.gallery-6 a:nth-child(3){
    width: 25%;
    border-radius: 0px 0px 0px 50px;
    padding: 0px 5px 0px 0px;
}
.gallery-6 a:nth-child(4){
    width: 25%;
    padding: 0px 5px 0px 0px;
}
.gallery-6 a:nth-child(5){
    width: 25%;
    padding: 0px 5px 0px 0px;
}
.gallery-6 a:nth-child(6){
    width: 25%;
}

/** Gallery with 5 items */
.gallery-5 a:nth-child(3){
    width: 33.333333%;
    padding: 0px 5px 0px 0px;
    border-radius: 0px 0px 0px 50px;
}
.gallery-5 a:nth-child(4){
    width: 33.333333%;
    padding: 0px 5px 0px 0px;
}
.gallery-5 a:nth-child(5){
    width: 33.333333%;
}
/** Gallery with 4 items */
.gallery-4 a:nth-child(3){
    width: 66.666667%;
    height: 300px;
    padding: 0px 5px 0px 0px;
    border-radius: 0px 0px 0px 50px;
}
.gallery-4 a:nth-child(4){
    height: 300px;
    width: 33.333333%;
}
/** Gallery with 3 items */
.gallery-3 a:nth-child(1){
    width: 33.333333%;
    height: 300px;
    padding: 0px 5px 0px 0px;
    border-radius: 50px 0px 0px 50px;
}
.gallery-3 a:nth-child(2){
    width: 33.333333%;
    height: 300px;
    padding: 0px 5px 0px 0px;
}
.gallery-3 a:nth-child(3){
    width: 33.333333%;
    height: 300px;
    border-radius: 0px 50px 50px 0px !important;
}
/** Gallery with 2 items */
.gallery-2 a:nth-child(1){
    width: 50%;
    height: 300px;
    padding: 0px 5px 0px 0px;
    border-radius: 50px 0px 0px 50px;
}
.gallery-2 a:nth-child(2){
    width: 50%;
    height: 300px;
    border-radius: 0px 50px 50px 0px !important;
}
/** Gallery with 1 items */
.gallery-1 a:nth-child(1){
    width: 100%;
    height: 300px;
    padding: 0px 5px 0px 0px;
    border-radius: 50px !important;
}

@media (max-width:768px) {
    #homeGallery a{
        width: 100% !important;
        border-radius: 50px !important;
        padding: 5px !important;
        height: 250px !important;
    }

    #carouselHome{
        height: 300px !important;
    }
}

@media (max-width:575px) {
    #homeDestinations a{
        padding: .25rem 0px !important;
    }
}