.openTime .changePeriods {
    border-radius: 5px !important;
    font-size: 1.5rem;
    margin-left: 5px;
    width: 40px;
    color: transparent;
    background: no-repeat url('/media/icons/icon-bin.svg') center center;
    background-color: #ff9393 !important;
    box-shadow: 0 0 5px #ff9393;
    background-size: 70%;
    transition: transform 0.5s;
}
.openTime .changePeriods:hover {
    box-shadow: 0 0 15px #ff9393;
    transform: scale(1.1);
}
.openTime:first-child .changePeriods {
    background-image: url('/media/icons/icon-plus.svg');
    background-color: #c7ff70 !important;
    box-shadow: 0 0 5px #c7ff70;

    background-size: 50%;
}
.openTime:first-child .changePeriods:hover {
    box-shadow: 0 0 15px #c7ff70;
}

.hours {
    display: none;
    flex-grow: 1;
    justify-self: flex-end;
    margin-left: auto;
    max-width: 300px;
    min-width: 210px;
    width: 240px;
}

.hours.open {
    display: block;
}

.openDay {
    align-items: stretch;
    border-radius: 5px;
    box-shadow: 0 0 3px lightgray;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
    min-height: 40px;
    padding: 5px;
}

.openDay input[type='checkbox'] {
    height: 20px;
    width: 20px;
}

.openDay label {
    flex-grow: 1;
    margin: 0 !important;
    padding-left: 5px;
    padding-top: 4px;
    width: unset;
}

.openDay label::after {
    content: '';
}

.openDay.activeDay {
    border: thin solid black;
}

.openTime {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin: 5px 0;
    min-width: 210px;
    width: calc(100% - 10px);
    padding: 5px;
    border-radius: 5px;
    border: thin solid black;
}
.openTime:last-child {
    margin-bottom: 5px;
}
.openTime input[type='button'] {
    justify-self: flex-end;
}
.openTime input[type='time'] {
    font-size: 16px;
    padding: 5px;
}

.openTime p {
    align-self: center;
    font-size: 1.3125rem;
    height: 100%;
    margin: 0;
    text-align: center;
    width: 20px;
}

.openTime.time0 {
    margin-top: 5px;
}

.period {
    flex-shrink: 1;
    max-width: 120px;
    min-width: 80px;
    width: 40%;
}

#openingsH .openDay {
    display: flex;
}
