﻿
.monthpicker {
    display: inline-block;
    position: relative;
    font-family: "Roboto";
    font-size: 1.0em;
    vertical-align: middle;
}

.monthpicker_selector *::selection {
    background: transparent;
}

.monthpicker_input {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    padding: 1px 5px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #000;
    text-align: left;
}

monthpicker_input:focus {
    outline: none;
}

.monthpicker_input .placeholder {
    color: #009688;
}

.monthpicker_input.active {
    background-color: #009688;
    color: #000;
}

.monthpicker_selector {
    position: absolute;
    top: 100%;
    background-color: #ffffff;
    min-width: 173px;
    box-shadow: 1px 2.5px 5px 0;
    z-index: 100;
}

.monthpicker_selector>table {
    color: #000;
    width: 100%;
    text-align: center;
    border-spacing : 0;
    border-collapse : collapse;
    font-family: "Roboto";
    font-size: .9em;
}

.monthpicker_selector>table tr:first-child td {
    padding-top: 3px;
    padding-bottom: 3px;
}

.monthpicker_selector>table tr:first-child>td:nth-child(1) {
    padding-left: 3px;
    padding-right: 3px;
    text-align: left;
}

.monthpicker_selector>table tr:first-child>td:nth-child(2) {
    position: relative;
}

.monthpicker_selector>table tr:first-child>td:nth-child(3) {
    padding-left: 3px;
    padding-right: 3px;
    text-align: right;
}

.yearSwitch {
    padding: 0 10px;
    border-radius: 3px;
    background: #009688;
    color: #000;
    cursor: pointer;
}

.yearSwitch.off {
    visibility: hidden;
}

.yearValue {
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    border: none;
    color: #000;
    outline: none;
    font-family: "Roboto";
    font-size: 1.1em;
}

/* months */
.monthpicker_selector .month {
    cursor: pointer;
}
.monthpicker_selector .month:hover {
    background-color: #D3D3D3
}
.month.selected {
    background: #009688;
    color: #2C2C2C;
}
.monthpicker_selector .month.off {
    color: #D3D3D3;
    cursor: not-allowed;
}
.monthpicker_selector .month.off:hover {
    background: none;
}

.monthpicker_selector>table tr td:first-child {
    border-left: none;
}

.monthpicker_selector>table tr td:last-child {
    border-right: none;
}

.monthpicker_selector>table tr:last-child td {
    border-bottom: none;
}
