/* Dropdown control */
.selectBox-dropdown {
		float: left;
    /*min-width: 80px;*/
    min-width: 60px;
    position: relative;
    border: solid 1px #c0dade;
    /*font-family:"굴림"; */
    font-family:"맑은 고딕", "Malgun Gothic", "Dotum"; 
    /*font-size:9pt;*/
    font-size:12px;
    /*line-height: 16px;*/
    line-height: 18px;
    text-decoration: none;
    text-align: left;
    color: #000;
    outline: none;
    vertical-align: middle;
    margin-top: 2px;
    margin-left: 4px; 
    //background: #F2F2F2;
    //background: -moz-linear-gradient(top, #F8F8F8 1%, #E1E1E1 100%);
    //background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #F8F8F8), color-stop(100%, #E1E1E1));

		box-shadow: 0 1px 2px 0 #DDD, 0 1px 0 0 #FFF inset;
		background: #E9E9E9;
		background: -webkit-linear-gradient(#F9F9F9, #EEE);
		background: -o-linear-gradient(#F9F9F9, #EEE);
		background: linear-gradient(#F9F9F9, #EEE);
  
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#E1E1E1', GradientType=0);
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .75);
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 2px;
    display: inline-block;
    cursor: default;
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
    font-family:"맑은 고딕", "Malgun Gothic", "Dotum"; 
    font-size:12px;
    vertical-align: middle;
    border-color: #666;
}

.selectBox-dropdown.selectBox-menuShowing-bottom {
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.selectBox-dropdown.selectBox-menuShowing-top {
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.selectBox-dropdown .selectBox-label {
    font-family: "맑은 고딕", "Malgun Gothic", "Dotum"; 
    font-size:12px;
    padding: 0 .2em;
    vertical-align: top;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background: url(jquery.selectBox-arrow.png) 50% center no-repeat;
    border-left: solid 1px #c0dade;
}

/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;
    z-index: 99999;
    font-family:"맑은 고딕", "Malgun Gothic", "Dotum"; 
    font-size:12px;
    max-height: 200px;
    min-height: 1em;
  	//border: 1px solid #CCC;
    border: solid 1px #c0dade; /* should be the same border width as .selectBox-dropdown */
    //background: #FFF;
  	background: #FAFAFA;
    
      
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Inline control */
.selectBox-inline {
    min-width: 150px;
    outline: none;
    border: solid 1px #c0dade;
    background: #FFF;
    display: inline-block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    overflow: auto;
}

.selectBox-inline:focus {
    border-color: #666;
}

/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
    font-family:"맑은 고딕", "Malgun Gothic", "Dotum"; 
    font-size:12px;
    list-style: none;
    display: block;
    cursor: default;
    padding: 0;
    margin: 0;
}

.selectBox-options.selectBox-options-top{		 
    border-bottom:none;
	margin-top:1px;
	-moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.selectBox-options.selectBox-options-bottom{
	border-top:none;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.selectBox-options LI A {
    /*
    line-height: 1.5;
    padding: 0 .5em;
    */
    line-height: 18px;
    padding:0px 4px 0px 0px;
    white-space: nowrap;
    overflow: hidden;
    background: 6px center no-repeat;
}

.selectBox-options LI.selectBox-hover A {
    font-weight: bold;
    background-color: #EEE;
}

.selectBox-options LI.selectBox-disabled A {
    color: #888;
    background-color: transparent;
}

.selectBox-options LI.selectBox-selected A {
    background-color: #C8DEF4;
}

.selectBox-options .selectBox-optgroup {
    color: #666;
    background: #EEE;
    font-weight: bold;
    line-height: 1.5;
    padding: 0 .2em;
    white-space: nowrap;
}

/* Disabled state */
.selectBox.selectBox-disabled {
    color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
    opacity: .5;
    filter: alpha(opacity=50);
    border-color: #666;
}

.selectBox-inline.selectBox-disabled {
    color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
    background-color: transparent !important;
}
