/* Header */
@media (max-width: 555px) {
    .ct-header { padding: 0; }
    
    .ct-menu--floating .ct-header { left: auto; position: relative; right: auto; top: auto; }
    
    .ct-logo { max-width: 160px; }
}

@media (max-width: 1199px) {
    #menu-menu { background-color: rgba(24,22,22,0.9); padding-left: 15px; padding-right: 15px; z-index: 10000; }
}

@media (max-width: 767px) {
    /* Frecce */
    .ct-header__hero .tparrows { display: none; }
    
}

/* Footer */
@media (max-width: 991px) {
	.ct-footer { font-size: 80%; line-height: 1.3; padding: 15px 0; text-align: center; }
    
    .iubenda { margin-top: 15px; }
}

/* Hero Slider */
.ct-header__hero { display: flex; flex-grow: 0; position: relative; width: 100%; z-index: 1; }

/* Home page first block */
@media (min-width: 768px) {
    .home_page_first_block { margin-top: 30px; }
}

/* Slider Calendario */
.wcs-timetable--1 .wcs-timetable__carousel .wcs-class { background-color: transparent !important; }

#wcs-app-1 .owl-carousel .responsive-image img { height: auto; max-height: 100%; max-width: 100%; position: relative; width: inherit; }

.wcs-timetable.wcs-timetable--monthly-calendar .wcs-class__image { background-position: left top; }

@media (max-width: 599px) {
    /*#wcs-app-1 .owl-carousel .responsive-image img { height: 100%; left: 50%; transform: translateX(-50%); width: auto; }*/
    
    .wcs-timetable--carousel .wcs-timetable__carousel .wcs-class__title, .wcs-timetable--carousel .wcs-timetable__carousel .wcs-class__timestamp, .wcs-timetable--carousel .wcs-timetable__carousel .wcs-class__action { margin-left: auto !important; margin-right: auto !important; width: 320px; }
    
    .wcs-timetable--carousel .wcs-timetable__carousel .wcs-class__timestamp { flex-direction: column; }
    
    .wcs-timetable--carousel .date-day { margin-right: 0 !important; }
    
    .wcs-timetable--carousel .date-short { text-align: center; }
    
    .wcs-timetable--carousel .wcs-timetable__carousel .wcs-class__title { text-align: center; }
    
    .wcs-timetable--carousel .wcs-class__title::after { margin-left: auto; margin-right: auto; }
    
    .wcs-timetable--carousel .wcs-timetable__carousel .wcs-class__action { justify-content: center; }
}

#wcs-app-1 .owl-nav { margin-top: 30px; }

/* Slider foto */
.owl-height { height: auto; transition: none; }

/* Mini Slider */
.xtd-carousel-mini button.owl-dot { background-color: transparent; border: em(1) solid rgba(238,238,34,1); border-radius: 100%; display: inline-block; height: 24px; margin: 0 4px; width: 24px; }

/* Calendario */
.wcs-timetable--monthly-calendar .wcs-class__image { background-size: contain !important; }

/* CSS Bug Fix: nel CSS principale sembra esserci qualche parentesi non chiusa */
.owl-dots {
    text-align: center;
    margin-top: 1rem;
}
.owl-dot {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    color: inherit;
    transition: color, opacity 200ms ease;
    border-radius: 100px;
    border: 1px solid transparent;
}
.owl-dot::before {
    content: '';
    display: block;
    width: .5rem;
    height: .5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid currentColor;
    border-radius: 100px;
    transition: color, opacity 200ms ease;
}
.owl-dot:hover,
.owl-dot.active {
    color: inherit;
}
.owl-dot:hover::before,
.owl-dot.active::before {
    background-color: currentColor;
}
.owl-dot.active {
    border-color: currentColor;
}
.owl-carousel .responsive-image img {
    width: auto;
    max-width: auto;
    height: 100%;
    max-height: 100%;
}



/* Home Page Calendar */
.wcs-timetable__carousel .wcs-class__title { margin-left: 0 !important; margin-right: 0 !important; }

/* CSS Bug Fix: nel CSS principale sembra esserci qualche parentesi non chiusa */
@media (max-width: 575px) {
    .wcs-timetable--carousel .wcs-class__timestamp {
        display: flex;
        align-content: center;
        align-items: center;
        margin-top: 3rem;
    }
    .wcs-timetable--carousel .date-day {
        flex-grow: 0;
        flex-shrink: 0;
        font-size: 5.375rem;
        line-height: 1;
        margin-right: 10%;
        letter-spacing: -0.05em;
    }
    .wcs-timetable--carousel .date-short {
        text-transform: uppercase;
        font-size: 100%;
        line-height: 1.5;
        letter-spacing: 1px;
        word-spacing: 2000px;
    }
}