:root {
    --color-brown: #a67019;
}

.month-picker {
    width: 100%;
    text-align: left;
    overflow-x: auto;
    overflow-y: hidden;
}

.month-picker-fieldset {
    display: inline-flex;
    background: #e6e6e6;
    color: #1e1e1e;
    border-radius: 3px;
}

.month-picker-fieldset > input {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
}

.month-picker-label,
.month-picker-nav {
    display: inline-block;
    line-height: 25px;
    vertical-align: center;
    cursor: pointer;
}

.month-picker-label,
.month-picker-nav span {
    display: inline-block;
    line-height: 25px;
    vertical-align: center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.7);
    font-size: 16px;
}

input:focus + .month-picker-label,
.month-picker-nav:focus {
    outline: 2px solid #5e9ed7;
    outline: 5px auto -webkit-focus-ring-color;
}

.month-picker-label {
    position: relative;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 400;
    color: #535353;
    text-transform: uppercase;
}

.month-picker-label,
.month-picker-label:before {
    -webkit-transition: 0.15s ease-out;
    -moz-transition: 0.15s ease-out;
    -o-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
}

.month-picker-label:before {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    border: none;
    border-radius: 3px;
    opacity: 0;
}

input:checked + .month-picker-label {
    color: white;
    background: var(--color-brown);
    border: none;
    outline: none;
}

input:checked + .month-picker-label:before {
    opacity: 1;
}

.month-picker-nav {
    width: 25px;
    font-size: 16px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    text-decoration: none;
}

.container-year {
    position: relative;
}

.container-year select {
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 3px;
    border: 1px solid #d0d0d0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    height: 45px;
}
