.prodcal-month {
    width: 31.5%;
    display: inline-block;
    vertical-align: top;
    margin: 25px 2.75% 25px 0;
    border: none;
    border-spacing: 2px;
}

.prodcal-month:nth-of-type(3n) {
    margin-right: 0;
}

.prodcal-month:nth-last-of-type(-n + 3) {
    margin-bottom: 50px;
}

.prodcal-month caption {
    text-align: center;
    font-size: 125%;
    font-weight: bold;
}

.prodcal-month th,
.prodcal-month td {
    width: 12.5%;
    text-align: center;
    border: 0;
}

.prodcal-month td {
    padding: 5px 7px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 3px;
    color: rgba(0, 0, 0, .6);
    font-size: 110%;
}

table tr:nth-last-of-type(1) td:not(.inactive) {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.prodcal-month td:first-of-type {
    background-color: inherit;
}

.prodcal-month th {
    padding: 5px;
    text-transform: uppercase;
    background: transparent;
}

.prodcal-month th,
.prodcal-month td:first-child {
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    color: rgba(0, 0, 0, .2);
    font-weight: normal;
}

.prodcal-month th:first-child,
.prodcal-month td:first-child {
    border-color: transparent;
}

.prodcal-month td.inactive {
    background: rgba(0, 0, 0, .02);
    color: rgba(0, 0, 0, .2);
    border: 1px solid rgba(0, 0, 0, .1);
}

.prodcal-month td.holiday,
.prod-calendar-info-block.holiday {
    background-color: #c1adac;
    border-color: #6d5958;
    color: white;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
}

.prodcal-month td.new-holiday,
.prod-calendar-info-block.new-holiday {
    background-color: rgb(254, 111, 103);
    border-color: rgba(0, 0, 0, .5);
    color: white;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
}

.prodcal-month td.inactive.holiday,
.prodcal-month td.inactive.new-holiday {
    background-color: #C1ADAC48;
    border-color: rgba(0, 0, 0, .15);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .05);
}

.prodcal-month td.short-workday:not(.inactive),
.prod-calendar-info-block.short-workday:not(.inactive) {
    background-color: rgb(254, 111, 103, .05);
}

.prodcal-month td.today:not(.inactive),
.prodcal-month td:nth-of-type(n + 2):not(.inactive):hover {
    color: white;
    border-color: black;
    cursor: pointer;
    background: rgba(0, 143, 232, 1);
}

.prod-calendar-info,
.prod-calendar-list {
    margin-bottom: 30px;
}

.prod-calendar-info p {
    display: flex;
}

.prod-calendar-info-block {
    width: 25px;
    height: 25px;
    aspect-ratio: 1;
    display: inline-block;
    margin-right: 10px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 3px;
}

.prod-calendar-list ul {
    list-style: circle;
}

.prod-calendar-list ul li {
    margin-bottom: 6px;
}

.prod-calendar-nav {
    display: flex;
    margin: 30px 0;
}

.prod-calendar-nav h1 {
    width: 60%;
    text-align: center;
}

.prod-calendar-nav-prev,
.prod-calendar-nav-next {
    width: 20%;
}

.prod-calendar-nav-prev:last-child,
.prod-calendar-nav-next:first-child {
    width: 100%;
}

.prod-calendar-nav-next {
    text-align: right;
}

.prod-calendar-quarter {
    margin-top: 30px;
}

.prod-calendar-quarter-head {
    border-bottom: 1px dashed rgba(0, 0, 0, .1);
    text-align: center;
}

@media screen and (max-width: 480px) {
    .prodcal-month {
        width: 100%;
        margin-right: 0;
    }
}