* {
    font-family: Lato, sans-serif;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.close {
    background: rgb(81, 72, 72);
    background: -moz-linear-gradient(top, rgb(81, 72, 72) 0%, rgb(43, 88, 118) 100%);
    background: -webkit-linear-gradient(top, rgb(81, 72, 72) 0%, rgb(43, 88, 118) 100%);
    background: linear-gradient(to bottom, rgb(81, 72, 72) 0%, rgb(43, 88, 118) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=rgb(81, 72, 72), endColorstr=rgb(43, 88, 118), GradientType=0);
}

.open {
    background: rgb(137, 162, 46);
    background: -moz-linear-gradient(top, rgb(137, 162, 46) 0%, rgb(78, 170, 81) 100%);
    background: -webkit-linear-gradient(top, rgb(137, 162, 46) 0%, rgb(78, 170, 81) 100%);
    background: linear-gradient(to bottom, rgb(137, 162, 46) 0%, rgb(78, 170, 81) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=rgb(137, 162, 46), endColorstr=rgb(78, 170, 81), GradientType=0);
}

.grid {
    display: grid;
    height: 100vh;
    grid-template-rows: 80vh 15vh 5vh;
}

.center {
    align-items: center;
    text-align: center;
    margin: 0 auto;
    align-self: center;
    justify-self: center;
}

.info {
    display: grid;
}

.info.activeCalendar {
    display: none;
}

.calendar {
    display: none;
    background: #FFF;
    overflow: auto;
    transition: all ease 0.3s;
    text-align: center;
}

.calendar.activeCalendar {
    display: grid;
}

.grid .calendar .calendar-center {
    margin: 0 auto;
}

.cart {
    margin: 0 auto;
    align-self: end;
}

h1 {
    color: #FFFFFF;
    text-align: center;
    line-height: 1.5em;
    padding: 20px;
    font-size: 26px;
    font-weight: normal;
    margin: 0 auto;
    align-self: start;
}

h1 span {
    font-size: 26px;
    font-weight: bold;
    font-style: italic;
}

label {
    align-self: center;
    margin: 0 auto 10px auto;
}

button {
    color: #FFF;
    background: none;
    min-width: 280px;
    max-width: 90vw;
    height: 57px;
    border: #FFF solid 1px;
    border-radius: 28.5px;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    padding: 0;
}

button:after {
    content: url("chevron.svg");
    position: absolute;
    top: 15px;
    right: 24px;
    transition: top 0.2s;
    transform: rotate(0);
}

button.active:after {
    top: 20px;
    transform: rotate(180deg);
}

.cal-table {
    width: calc(100vw - 20px);
    overflow: auto;
    background: #FFF;
    padding: 14px;
}

.cal-table:last-child {
    padding: 0 14px 14px 14px;
}

.cal-table p {
    font-size: 16px;
    color: rgb(74, 74, 74);
    margin: 10px;
    text-align: center;
}

ul.cal-table-head {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.cal-table-head li {
    display: inline-block;
    color: rgb(204, 204, 204);
    font-size: 12px;
    width: 28px;
    height: 20px;
    line-height: 20px;
    margin: 7px;
}

ul.cal-table-head li:first-child {
    margin-left: 0;
}

ul.cal-table-head li:last-child {
    margin-right: 0;
}

.cal-table-body ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.cal-table-body ul li {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    color: rgb(74, 74, 74);
    text-align: center;
    margin: 7px;
}

.cal-table-body ul li:first-child {
    margin-left: 0;
}

.cal-table-body ul li:last-child {
    margin-right: 0;
}

.cal-table-body ul li.day-today {
    font-weight: bold;
    border: 1px solid rgb(74, 74, 74);
    border-radius: 50%;
}

.cal-table-body ul li.day-non-working {
    background: rgb(208, 2, 27);
}

.cal-table-body ul li.day-working {
    background: rgb(114, 205, 14);
}

.cal-table-body ul li.day-non-working,
.cal-table-body ul li.day-working {
    color: rgb(255, 255, 255);
    border-radius: 50%;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.footer p {
    color: #FFFFFF;
    margin: 0;
    font-size: 12px;
    text-align: center;
}

.footer a {
    color: #dcdcdc;
    font-size: 10px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
