/* Dropdown control */
.selectBox-dropdown {
    min-width: 60px;
    height: 43px;
    position: relative;
    margin-top: 0px;
    border: solid 1px #d5d5d5;
    line-height: 42px;
    overflow: cell;
    text-decoration: none;
    text-align: left;
    color: #3e474c;
    font-weight: normal;
    font-size:15px;
    font-family: 'NanumGothic', Dotum, "µ¸¿ò",sans-serif;
    outline: none;
    vertical-align: middle;
    background: #ffffff;
    display: inline-block;
    cursor: default;
}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
    border-color: #d1d1d1;
}

.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 {
    padding: 0px 8px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.selectBox-dropdown .selectBox-arrow {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 48px;
    height: 43px;
    background: url(jquery.selectBox-arrow.gif) center no-repeat;
}

/* Dropdown menu */
.selectBox-dropdown-menu {
    position: absolute;
    z-index: 99999;
    max-height: 200px;
    min-height: 1em;
    border: solid 1px #d5d5d5; /* should be the same border width as .selectBox-dropdown */
    background: #ffffff;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Inline control */
.selectBox-inline {
    min-width: 150px;
    outline: none;
    border: solid 1px #d5d5d5;
    background: #ffffff;
    display: inline-block;
    overflow: auto;
}

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

/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
    list-style: none;
    display: block;
    cursor: default;
    padding: 0;
    margin: 0;
}

.selectBox-options.selectBox-options-top{
    border-bottom:solid 1px #d5d5d5;
	  margin-top:1px;
	  -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.selectBox-options.selectBox-options-bottom{
	border-top:none;
	  -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -webkit-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.selectBox-options LI A {
    line-height: 32px;
    padding: 0 .8em;
    white-space: nowrap;
    overflow: hidden;
    background: 6px center no-repeat;
    color: #3e474c;
    font-size:13px;    
}
.selectBox-options LI A:hover {
    color: #ffffff;    
}
.selectBox-options LI.selectBox-hover A {
    background-color: #4174c5;
}

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

.selectBox-options LI.selectBox-selected A {
    background-color: #f6f6f6;
}
.selectBox-options LI.selectBox-selected A:hover {
    color: #3e474c;     
}

.selectBox-options .selectBox-optgroup {
    color: #3e474c;
    background: #4174c5;
    font-weight: bold;
    line-height: 1.5;
    padding: 0 .3em;
    white-space: nowrap;
}

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

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

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

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