/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */

 /* PROIEZIONI */
.cm-calendar-container {
    display: flex;
    flex-wrap: nowrap;
    gap: .25rem;
    justify-content: space-between;
    overflow-x: auto;
    padding: 1rem 0;
}

.cm-calendar-day {
    flex: 1;
    min-width: 120px;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    box-sizing: border-box;
}

.cm-day-title {
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

.cm-movie {
    position: relative;
    margin-bottom: 15px;
}

.cm-movie:last-child {
    margin-bottom: 0;
}

.cm-movie a {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #222;
    background-color: #f4f4f4;
    padding: 0 0 5px 0;
}

.cm-movie-overlay {
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,.5);
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .4s;
}

.cm-movie:hover .cm-movie-overlay {
    opacity: 1;
}

.cm-no-movie {
    font-style: italic;
    color: #999;
    text-align: center;
}

.cm-movie-orario {
    text-align: center;
    font-size: .9rem;
    color: #fff;
    background-color: #000;
    padding: 5px;
}

.cm-movie-cover {
    width: 100%;
    height: auto;
}

.cm-movie-cat {
    font-size: .9rem;
    text-align: center;
    width: 100%;
    background-color: #cdcdcd;
    padding: 5px;
}

.cm-calendar-nav {
    text-align: right;
    margin-bottom: 15px;
}

.cm-calendar-nav button {
    border: none;
    background: #e30613;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin: 0 0 0 10px;
}

.cm-calendar-nav button:disabled {
    background: #ccc;
    cursor: default;
}

/* 404 */
.container-404 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.container-404 h2,
.container-404 h3 {
    font-size: 1.5rem;
}

/* RASSEGNE */
.rassegne-lista,
.rassegne-archivio {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 1rem 0;
}

.rassegne-lista h3,
.rassegne-archivio h3 {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    width: 100%;
    color: #fff;
    background-color: #000;
    padding: 10px 0;
    margin: 0;
}

.rassegna-item {
    width: 250px;
}

.rassegna-item img {
    width: 100%;
    height: auto;
    margin-bottom: -5px;
}