.monthpicker {
  border: 1px solid #eee;
  padding: .3em;
  top: 6px;
  z-index: 1000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: .2em;
  background:#fff;
  width:233px;
}

.monthpicker:before {
  content: '';
  border-bottom: 6px solid #fff;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  top: -6px;
  left: 6px;
  z-index: 1002;
}

.monthpicker:after {
  content: '';
  border-bottom: 6px solid #ddd;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  top: -7px;
  left: 6px;
  z-index: 1001;
}

.monthpicker .years {
  padding: .5em 0;
  margin-bottom:3px;
  text-align: center;
  border-radius:3px;
  background: linear-gradient(to bottom, #f9b74c 50%, #f7af38 50%);
}

.monthpicker .years select {
  font-size: 1em;
  width: 50px;
}

.monthpicker .years select:focus {
  outline: none;
}

.monthpicker table {
  border-collapse: collapse;
  table-layout: fixed;
}

.monthpicker td {
  padding: .5em;
  border:1px solid #c0c0c0;
}

.monthpicker table button {
  width: 100%;
  border: none;
  color:#2495c6;
  font-size: .9em;
  font-weight:600;
  padding: .6em;
  cursor: pointer;
  border-radius: .2em;
  transition: background .2s;
  background: linear-gradient(to bottom, #fff 50%, #fff 50%);
}

.monthpicker table button:hover {
  color: #f7af38;
}

.monthpicker table button:focus {
  outline: none;
}

