/*
* Calendar styling
*/

.calendar-pagination .pagination {
    margin:15px auto;
}

.calendar .calendar-content-date-item .date-block-day.vpr-piedalas {
    background-color: #b8d654;
}

/*Calendar*/

.calendar .calendar-body {
    border: 1px solid #e4e3dd;
    overflow: hidden;
}
.calendar .calendar-header {
    color: #fff;
}
.calendar .calendar-header-top {
    display: flex;
    justify-content: center;
    justify-items: center;
    background-color: #4e4c47;
    height: 40px;
    text-align: center;
    border-bottom: 1px solid #82807d;
}
.calendar .calendar-header-top select {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: inherit;
}
.calendar .calendar-header-top select option {
    color: #000;
}
.calendar .calendar-header-top select:focus,
.calendar .calendar-header-top select:active {
    border: none;
    outline: none;
}
.calendar .calendar-header-content {
    background-color: #696763;
    padding: 14px 10px;
}
.calendar .calendar-day-control {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    padding: 0 10px;
    font-weight: bold;
}
.calendar .calendar-header-arrow-left {
    margin-top: 2px;
    cursor: pointer;
    background-image: url('../images/icon-slide-arrow-left.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 8px 14px;
    height: 20px;
    width: 35px;
}
.calendar .calendar-header-arrow-right {
    margin-top: 2px;
    cursor: pointer;
    background-image: url('../images/icon-slide-arrow-right.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 8px 14px;
    height: 20px;
    width: 35px;
}
.calendar .calendar-day-control p {
    margin: 2px 0 14px 0;
}
.calendar .calendar-day-select {
    display: flex;
    justify-content: space-between;
}
.calendar .calendar-header-day-item {
    cursor: pointer;
    border-radius: 6px;
    border:none;
    overflow: hidden;
    width: 14%;
}
.calendar .calendar-header-day-item-header {
    background-color: #4e4c47;
    display: flex;
    justify-content: center;
    justify-items: center;
    padding: 6px 0;
}
.calendar .calendar-header-day-item:hover .calendar-header-day-item-header,
.calendar .calendar-header-day-item:hover .calendar-header-day-item-content{
    opacity: 0.9;
}
.calendar .calendar-header-day-item-content {
    background-color: #969592;
    font-weight: bold;
    display: flex;
    justify-items: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.calendar .calendar-header-day-item-content p {
    margin: 10px 0 0;
}
.calendar .calendar-header-day-item-status {
    display: flex;
	min-height:23px;
}
.calendar .calendar-header-day-item-status span {
    margin: 7px 1px;
}
.calendar .calendar-header-day-item.active .calendar-header-day-item-content {
    background-color: #fff;
    color: #000;
}
.calendar .calendar-content {
    color: #34332f;
}
.calendar .calendar-content-header {
    font-size: 0.875rem;
    font-weight: normal;
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
}
.calendar .calendar-content-header div {
    display: flex;
    align-items: center;
}
.calendar .calendar-content-header span {
    margin-right: 10px;
}
.calendar .calendar-content-dates {

    background-color: #f5f4ee;
    display: flex;
    flex-direction: column;
}
.calendar .calendar-content-date-item {
    display: flex;
    align-items: baseline;
    padding: 22px;
    border-bottom: 1px solid #f6f5f0;
}
.calendar .calendar-content-date-item .date-block {
    flex: 0 0 auto;
    width: 22%;
    height: auto;
    font-size: 0.688rem;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
}
.calendar .calendar-content-date-item .date-block-day {
    background-color: #bce0e6;
    padding: 6px;
    display: flex;
    justify-content: center;
}
.calendar .calendar-content-date-item .date-block span {
    display: block;
    font-size: 1.563rem;
    font-weight: normal;
}
.calendar .date-content-block {
    margin-left: 25px;
}
.calendar .date-content-block h5 {
    margin-top: 0;
    margin-bottom: 20px;
}

.calendar .calendar-content-date-item .date-block-day span {
    font-size: 0.68rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.calendar .custom-select-container.is-open .custom-select-panel {
    border: 0px;
}

.calendar .custom-select-container {
    font-size: 0.9rem!important;
    font-weight: bold!important;
    text-transform: uppercase;
}

.calendar .custom-select-opener:after{
    background-image: url("../images/arrow-down-white.svg")!important;
}

.calendar .custom-select-container .custom-select-option.is-selected, .calendar .custom-select-container .custom-select-option.has-focus {
    color:black!important;
    background-color:transparent!important;
}

.calendar .custom-select-container .custom-select-option {
    color:#696763!important;
}

.calendar .custom-select-container.is-open .custom-select-panel {
    border:0px!important;
}

.calendar .custom-select-container {
    padding:5px 20px!important;
}

.calendar-content-date-item a h5{
    color:black;
}

.calendar-content-date-item a h5:hover{
    color: #478087;
}

/* Mobile */
@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .calendar {
        margin: 0px -34px!important;
    }
    .calendar h3 {
        padding: 0px 34px!important;
    }
}

@media only screen and (max-width: 1024px) {
    .calendar {
        margin: 0px -19px;
    }
    .calendar-body {
        border-radius: 0px;
    }
    .calendar h3 {
        padding: 0px 19px;
    }
    .calendar-header-content {
        padding:14px 20px!important;
    }
    .calendar .calendar-content-date-item .date-block {
        width:15%!important;
    }
    .calendar-btn {
        margin-bottom:20px!important;
    }
    .calendar .calendar-day-control {
        padding: 0px!important;
    }
    .calendar .calendar-day-control .btn-icon {
        padding: 0 10px!important;
    }
    .calendar-header-top .custom-select-panel {
        min-width: 200px!important;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .calendar .calendar-content-date-item .date-block {
        width:24%!important;
    }
}

/*Extra small mobile */
@media only screen and (max-width: 368px) {
    .calendar-header-content *{
        font-size: 1rem;
    }
    .calendar .calendar-header-day-item-content p {
        margin: 5px 0 0!important;
    }
    .calendar .calendar-header-day-item-status span {
        margin: 0px 1px 5px 1px!important;
    }
    .calendar .calendar-header-day-item-status {
        min-height: 18px!important;
    }
    .calendar .calendar-content-date-item .date-block {
        width: 30%!important;
    }
    .calendar .date-content-block .link-primary {
        font-size: 0.9rem!important;
    }
}