
/* program calendar */
.program-weeks {
    max-width: 1920px;

    overflow-y: auto;
    overflow-x: hidden;
}
.program-weeks .header { border-bottom: #fff solid 2px; }
.program-weeks .header h5 {
    font-family: FrutigerLTCom_Condensed;
    font-size: 18px;
    padding: 15px 50px;
    margin: 0;
    text-transform: uppercase;
    cursor: pointer;
    display: block;
}
.program-weeks .header.even h5 {
    background-color: #5e5e5e;
    color: #ddd;
}
.program-weeks .header.odd {
    background-color: #ddd;
    color: #000;
}
.program-weeks .header .weekdays { background-color: #ddd; }
.program-weeks .header .weekdays .weekday {
    position: relative;
    background-color: #ddd;
    border-right: #fff solid 2px;
    color: #423e3e;
    /*min-height: 500px;*/
    display: none;
    padding: 0;
}
.program-weeks .header .weekdays .weekday.accord-m,
.program-weeks .header .weekdays .weekday.accord-l,
.program-weeks .header .weekdays .weekday.accordless {
    border-left: #fff solid 2px;
    margin-right: 20px;
}
.program-weeks .header .weekdays .weekday.accord-s { overflow: visible; }
.program-weeks .header.open .weekdays .weekday { display: block; }

.program-weeks .header .weekdays .weekday.accord-m,
.program-weeks .header .weekdays .weekday.accord-l,
.program-weeks .header .weekdays .weekday.accordless { background-color: #fff; }

.program-weeks .header .weekdays .weekday h6 {
    font-family: FrutigerLTCom_Roman;
    font-size: 30px;
    padding: 20px 0 15px;
    margin: 0;
    text-align: center;
}
.program-weeks .header .weekdays .weekday h6 span {
    font-size: 18px;
    line-height: 47px;
    margin-left: 20px;
    display: none;
    float: left;
}
.program-weeks .header .weekdays .weekday.accord-l h6 { font-size: 36px; }
.program-weeks .header .weekdays .weekday.accordless h6 { font-size: 36px; }
.program-weeks .header .weekdays .weekday.accord-l h6 span,
.program-weeks .header .weekdays .weekday.accordless h6 span {
    font-size: 24px;
    line-height: 53px;
    margin-left: 40px;
}

.program-weeks .header .weekdays .weekday.accord-l h6,
.program-weeks .header .weekdays .weekday.accord-l h6 span,
.program-weeks .header .weekdays .weekday.accordless h6,
.program-weeks .header .weekdays .weekday.accordless h6 span{ color: #962d32; }
.program-weeks .header .weekdays .weekday.accord-m h6,
.program-weeks .header .weekdays .weekday.accord-l h6,
.program-weeks .header .weekdays .weekday.accordless h6{ background-color: #eae9dd; }
.program-weeks .header .weekdays .weekday.accord-m h6 span,
.program-weeks .header .weekdays .weekday.accord-l h6 span,
.program-weeks .header .weekdays .weekday.accordless h6 span{ display: block; }
.program-weeks .header .weekdays .weekday h6 small {
    font-family: FrutigerLTCom_Roman;
    font-size: 14px;
    display: block;
}
.program-weeks .header .weekdays .weekday.accord-s ul {
    position: absolute;
    left: 10px;
    top: 80%;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 0 0;
    -moz-transform: rotate(-90deg);
    -moz-transform-origin: 0 0;
    -o-transform: rotate(-90deg);
    -o-transform-origin: 0 0;
    -ms-transform: rotate(-90deg);
    -ms-transform-origin: 0 0;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* 3 */
    transform: rotate(-90deg);
    transform-origin: 0 0;
}
.program-weeks .header .weekdays .weekday.accord-s ul {

}
.program-weeks .header .weekdays .weekday.accord-s ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 450px;
    padding: 0 0 0 50px;
}
.program-weeks .header .weekdays .weekday ul {
    list-style: none;
    padding-left: 0;
}
.program-weeks .header .weekdays .weekday ul li {
    font-family: FrutigerLTCom_Condensed;
    font-size: 18px;
    position: relative;
    padding: 30px 40px 15px 90px;
}
.program-weeks .header .weekdays .weekday ul li a {
    color: #423e3e;
    text-decoration: none;

    transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}
.program-weeks .header .weekdays .weekday.accordless ul li a:hover,
.program-weeks .header .weekdays .weekday.accord-l ul li a:hover {
    color: #982F33;
}
.program-weeks .header .weekdays .weekday.accord-s ul li.no-program { padding-top: 20px; }
.program-weeks .header .weekdays .weekday.accord-m ul li.no-program { padding-left: 20px; }
.program-weeks .header .weekdays .weekday.accord-l ul li.no-program,
.program-weeks .header .weekdays .weekday.accordless ul li.no-program { padding-left: 40px; }

.program-weeks .header .weekdays .weekday.accord-m ul li {
    font-family: FrutigerLTCom_Roman;
    font-size: 16px;
    padding: 10px 20px 5px 70px;
}
.program-weeks .header .weekdays .weekday.accord-m ul li .time {
    font-family: FrutigerLTCom_Condensed;
    left: 20px;
}

.program-weeks .header .weekdays .weekday ul li .time {
    position: absolute;
    left: 40px;
    color: #962d32;
}
.program-weeks .header .weekdays .weekday.accord-m ul li.gray,
.program-weeks .header .weekdays .weekday.accord-l ul li.gray,
.program-weeks .header .weekdays .weekday.accordless ul li.gray{ background-color: #eae9dd; }
.program-weeks .header .weekdays .weekday.accord-s ul li .time { left: 0; }
.program-weeks .header .weekdays .weekday ul li em { display: none; }
.program-weeks .header .weekdays .weekday.accord-l ul li em,
.program-weeks .header .weekdays .weekday.accordless ul li em{ display: block; }

.program-weeks .header .weekdays .weekday.accordless {
    width: 100%;
    height: auto !important;
    min-height: inherit !important;

    border-bottom: 25px solid #5e5e5e;
    border-left: none !important;
    border-right: none !important;
}
.program-weeks .header .weekdays .weekday.accordless.empty {
    border-bottom: 25px solid #DDD;
}
.accordless-program-weeks .header .weekdays {
    height: auto !important;
}
.accordless-program-weeks {
    overflow-y: auto;
    width: 100%;
}

body.body form .datepicker-wrapper .flatpickr-calendar.inline .flatpickr-days .dayContainer .flatpickr-day {
    -webkit-flex-basis: 13.285714%;
    -ms-flex-preferred-size: 13.285714%;
    flex-basis: 13.285714%;
}

/* calendar */

.panel.calendar {
    position: absolute;
    top: 120px;
    left: 50%;
    width: 724px;
    margin-left: -362px;
    border: none;
    border-radius: 0;
    background-color: #eeefea;
    display: none;
    z-index: 20;
    box-shadow: 5px 5px 25px #666;
}
.panel.calendar .panel-heading {
    position: relative;
    height: 95px;
    padding: 3px 10px 0;
    background-color: #962d32;
    border-radius: 0;
}
.panel.calendar .panel-heading .panel-title {
    position: absolute;
    bottom: -19px;
    left: 35px;
    font-family: FrutigerLTCom_BoldCn;
    font-size: 85px;
    color: #eeefea;
}
.panel.calendar .panel-heading .panel-title.year-modal {
    font-size: 20px;
}
.panel.calendar .panel-heading .panel-title.year-modal span {
    margin-left: 10px;
    opacity: 0.6;
    cursor: pointer;
}
.panel.calendar .panel-heading .panel-title.year-modal span:hover {
    opacity: 1;
}
.panel.calendar .panel-heading .panel-title.year-modal .current {
    font-size: 85px;
    opacity: 1;
    cursor: default;
}
.panel.calendar.yearly .modal-year-countainer {
    display: none;
}
.panel.calendar.yearly .modal-year-countainer.current {
    display: block;
}
.panel.calendar .panel-heading .panel-close {
    font-family: FrutigerLTCom_BoldCn;
    font-size: 18px;
    color: #eeefea;
    text-shadow: none;
    float: right;
}
.panel.calendar .panel-heading .panel-close:hover { text-decoration: none; }
.panel.calendar.yearly .panel-body { padding: 0 25px 30px; }
.panel.calendar.monthly .panel-body { padding: 35px 25px; }
.panel.calendar .panel-body .month h6 {
    font-family: FrutigerLTCom_Condensed;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    color: #3a3636;
    margin: 40px 0 15px;
}
.panel.calendar .panel-body .month table { margin: 0 auto; }
.panel.calendar .panel-body .month table th {
    font-family: FrutigerLTCom_Bold;
    color: #3a3636;
    text-align: center;
}
.panel.calendar.yearly .panel-body .month table th { font-size: 10px; }
.panel.calendar.monthly .panel-body .month table th { font-size: 20px; }
.panel.calendar .panel-body .month table td {
    font-family: FrutigerLTCom_Light;
    text-align: center;
    color: #3a3636;
}
.panel.calendar.yearly .panel-body .month table td {
    font-size: 10px;
    width: 25px;
    height: 20px;
}
.panel.calendar.monthly .panel-body .month table td {
    font-size: 20px;
    width: 55px;
    height: auto;
}
.panel.calendar .panel-body .month table td a {
    color: #3a3636;
    display: block;
}
.panel.calendar.yearly .panel-body .month table td a { padding: 3px 0; }
.panel.calendar.monthly .panel-body .month table td a { padding: 5px 0; }
.panel.calendar .panel-body .month table td a:hover,
.panel.calendar .panel-body .month table td.highlight a,
.panel.calendar .panel-body .month table td.highlight a {
    background-color: #5e5e5e;
    color: #eeefea;
    text-decoration: none;
}
.panel.calendar .panel-body .month table .week-end,
.panel.calendar .panel-body .month table .week-end a { color: #962d32; }


/* toolbar */
.calendar-toolbar {
    width: 100%;
    text-align: center;
    height: 50px;
    margin: 5px 0 10px;
}
.calendar-toolbar label {
    font-family: FrutigerLTCom_Condensed;
    color: #5e5e5e;
    font-size: 18px;
    margin-right: 20px;
    text-transform: uppercase;
    font-weight: normal;
}
.calendar-toolbar input {
    margin-left: 5px;
    color: #5e5e5e;
    background-color: #ddd;
    border: 0;
}
.calendar-toolbar button {
    font-family: FrutigerLTCom_Condensed;
    font-size: 16px;
    width: 120px;
    height: 32px;
    background-color: #5e5e5e;
    color: #ddd;
    border: 0;
    margin-top: -5px;

    transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}
.calendar-toolbar button:hover {
    background-color: #ddd;
    color: #5e5e5e;
}

.no_programs_at_all {
    text-align: center;
    padding-top: 30px;
}

@media (max-width: 800px) {
    .calendar-toolbar button.cell {
        display: none;
    }
    .panel.calendar {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .calendar-toolbar {
        height: auto;
    }
    .calendar-toolbar .cell {
        width: 100%;
        margin-bottom: 20px;
    }
    .calendar-toolbar button.cell {
        width: 80%;
    }
}
@media (min-width: 1680px) {
    .panel.calendar {
        top: 160px;
    }
}