.zpacsw_overlay {
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 50000;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.50);
    display: none;
}

.zpacsw_overlay.show {
    display: flex;
}

.zpacsw_container {
    display: block;
    position: relative;
    width: 800px;
    height: auto;
    border: solid 4px #993323;
    border-radius: 10px;
    background-color: #FFF;
    padding: 1em;
}

.zpacsw_navigation_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zpacsw_navigation_container a {
    display: inline-block;
    background-color: #993323;
    color: #FFF;
    border-radius: 5px;
    padding: .5em 2em;
}

.zpacsw_title {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 800;
    color: #993323;
    text-align: center;
}

.zpacsw_calendar_container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    min-height: 100px;
    width: 100%;
}

.zpacsw_calendar {
    width: 30%;
    margin-bottom: 1em;
}

.zpacsw_calendar table {
    margin-bottom: 0px;
}

.zpacsw_calendar table th,
.zpacsw_calendar table td {
    padding: 0.25em;
    line-height: 1.3;
    text-align: left;
    vertical-align: middle;
    border: none;
}

.zpacsw_-prevmonth-day,
.zpacsw_-nextmonth-day {
    color: rgba(0, 0, 0, 0.10);
}

.zpacsw_month {
    text-align: center;
    font-weight: 800;
}

.zpacsw_calendar tbody {
    /*		background-color: rgba(0,0,0,0.25);*/
}

.zpacsw_calendar .zpacsw_-prevmonth-day,
.zpacsw_calendar .zpacsw_-nextmonth-day {
    border: solid 1px rgba(0, 0, 0, 0.10);
}

.zpacsw_calendar .zpacsw_-day {
    border: solid 1px rgba(0, 0, 0, 0.10);
    border-collapse: collapse;
}

.zpacsw_calendar .zpacsw_unavailable {
    background-color: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.10);
}

.zpacsw_calendar_loader {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    top: 208px;
}

.zpacsw_calendar_loader.hide() {
    display: none;
}

.zpacsw_calendar_loader img {
    background: #FFF;
    padding: 20px;
    border: solid 1px #993323;
    border-radius: 5px;
}

.zpacsw_btn {
    background-color: rgba(152, 50, 34, 1);
}

.zpacsw_btn.disabled {
    background-color: rgba(152, 50, 34, .5);
}

.zpacsw_btn:HOVER {
    color: #FFF;
}

@media screen and (max-width: 800px) {
    .zpacsw_container {
        width: 90%;
        /* The width is 100%, when the viewport is 800px or smaller */
    }
}

@media screen and (max-width: 800px) and (max-height: 1000px) {
    .zpacsw_overlay {
        position: absolute;
        top: 0px;
        padding: 100px 0px 400px;
        align-items: flex-start;
        height: auto;
    }
    .zpacsw_container {
        width: 90%;
        /* The width is 100%, when the viewport is 800px or smaller */
    }
    .zpacsw_calendar {
        width: 45%;
    }
}

@media screen and (max-width: 460px) and (max-height: 1000px) {
    .zpacsw_calendar {
        width: 90%;
        /* The width is 100%, when the viewport is 800px or smaller */
    }
}