﻿
.monthpicker {
  position: relative;
  
}


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

 
.monthpicker_selector {
    position: absolute;opacity:0;pointer-events:none;
    top: 100%;
    background-color: #292D78;
     width:auto;max-width:95vw;
    box-shadow: 1px 2.5px 5px #000;
    z-index: 100;font-size: .9em;font-weight:normal;
	transition: all 0.5s ease;
}
.monthpicker_selector.shown{opacity:1;pointer-events:all;}

.monthpicker_selector>table {
    color: #FFF;
    width: 100%;
    text-align: center;
    border-spacing : 0;
    border-collapse : collapse;
    
}

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

.monthpicker_selector>table tr:first-child>td:nth-child(1) {
    padding-left: 0.5em;
    padding-right: 0.5em;
    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: 0.5em;
    padding-right: 0.5em;
    text-align: right;
}

.yearSwitch {
    padding:0 0.7em; 
    border-radius: 3px;
    background: #D4D4D4;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.yearSwitch.off {
    visibility: hidden;
}

.yearValue {
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: none;
    border: none;
    color: #FFF;
    outline: none;
    font-size: 1.4em;
}

/* months */
.monthpicker_selector .month {
    border: 1px solid #444;
    cursor: pointer;padding:0.5em;
}
.monthpicker_selector .month:hover {
    background-color: #444
}
.month.selected {
    background: #D4D4D4;
    color: #2C2C2C;
    font-weight: bold;
}
.monthpicker_selector .month.off {
    color: #666;
    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;
}
