@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
.dropdown {
  width: 90px;
  display: inline-block;
  margin-right: 6px;
  position: relative;
}
.dropdown.toggle > input {
  display: none;
}
.dropdown > a, .dropdown.toggle > label {
  border-radius: 2px;
  box-shadow: 0 6px 5px -5px rgba(0,0,0,0.3);
}
.dropdown > a::after, .dropdown.toggle > label::after {
  content: "";
  float: right;
  margin: 15px 15px 0 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid #CCC;
}
.dropdown ul {
  list-style-type: none;
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  box-shadow: 0 6px 5px -5px rgba(0,0,0,0.3);
  overflow: hidden;
}
.dropdown a, .dropdown.toggle > label {
  display: block;
  padding: 0px 0 0 5px;
  text-decoration: none;
  line-height: 40px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
  color: #999;
  background-color: #EEE;
}
.dropdown li {
  height: 0;
  overflow: hidden;
  transition: all 300ms;
}
.dropdown.hover li {
  transition-delay: 50ms;
}
.dropdown li:first-child a {
  border-radius: 5px 5px 0 0;
}
.dropdown li:last-child a {
  border-radius: 0 0 5px 5px;
}
.dropdown li:first-child a::before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #EEE;
  margin: -10px 0 0 30px;
}
.dropdown a:hover, .dropdown.toggle > label:hover, .dropdown.toggle > input:checked ~ label {
  background-color: #3f99ec;
  color: #fff;
}  /* ###  mouse up menu background-color: 변경   font color: 666 ->> fff  */ 

.dropdown > a:hover::after, .dropdown.toggle > label:hover::after, .dropdown.toggle > input:checked ~ label::after {
  border-top-color: #AAA;
}
.dropdown li:first-child a:hover::before {
  border-bottom-color: #EEE; 
}
.dropdown.hover:hover li, .dropdown.toggle > input:checked ~ ul li {          
  padding-Top: 0px; height: 40px; 
}
.dropdown.hover:hover li:first-child, .dropdown.toggle > input:checked ~ ul li:first-child {
  padding-top: 10px; 
}