/*
 * jquery.selectBoxIt.css 2.9.9
 * Author: @gregfranko
 */

/* Div container holding the dropdown list */
.selectboxit-container {
  position: relative;
  display: inline-block;
  /* Prevents text selection */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/* Dropdown List Box */
.selectboxit-container .selectboxit {
  /*width: 220px;*/ /* Width of the dropdown list box */
  /*height: 30px;*/ /* Height of the select box */
  cursor: pointer;
  padding: 0;
  display: block;
}

/* custom */
.selectboxit-container {display: block;}
.selectboxit-container .selectboxit.select-dropdown {
    text-decoration: underline;
    color: #fff;
}
.selectboxit-container:hover .selectboxit.select-dropdown {text-decoration: none;}
.selectboxit-container .selectboxit.form-select {
    position: relative;
    border: 1px solid #000;
    background: #fff;
    height: 30px;
}
.selectboxit-container .selectboxit.form-select-small {width: 100% !important;}

/* ------------------- */



.selectboxit-container .selectboxit:focus {
  outline: 0;
}

.selectboxit-container .selectboxit.selectboxit-disabled {
  cursor: default;
}

/* Dropdown list Default Icon Positioning */
.selectboxit-default-icon {
  /*float: left;*/
}

/* Dropdown List Box Text */
.selectboxit-text {
    overflow: hidden;
    white-space: nowrap;
}

/* custom */
.selectboxit-container .selectboxit.form-select .selectboxit-text {
    display: block;
    padding: 0 29px 0 15px;
    height: 30px;
    line-height: 30px !important;
    color: #000;
}
/* ------------------- */

/* Dropdown List Options List*/
.selectboxit-container .selectboxit-options {
  /*min-width: 220px;*/ /* Minimum Width of the dropdown list box options */
  /* IE7 hack */
  /**width: 220px;*/
  /*font: 14px Helvetica, Arial;*/
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  overflow: auto;
  /*cursor: pointer;*/
  display: none;
  z-index: 99999;
  outline: none;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  -moz-box-shadow: none; /* Firefox */
  -webkit-box-shadow: none; /* Safari, Chrome */
  box-shadow: none; /* CSS3 */
  text-align: left;
}

.selectboxit-container .selectboxit-options li {
    cursor: pointer;
}

/* custom */
.selectboxit-container .selectboxit-options {
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #000;
    border-top:  none;
}

.selectboxit-container .selectboxit-options li {padding: 5px 15px 4px;}

.selectboxit-container .selectboxit-options li.selectboxit-focus {background: #3399ff;}

.selectboxit-container .selectboxit-options li a {text-decoration: none; color: #333;}

.selectboxit-container .selectboxit-options li.selectboxit-focus a {color: #fff;}

/* ------------------- */


/* Overrides Bootstrap drop down option style */
.selectboxit-options .selectboxit-option.active .selectboxit-option-anchor {

}

.selectboxit-option .selectboxit-option-anchor {

}

.selectboxit-option .selectboxit-option-anchor:hover {
  text-decoration: none;
}

/* Dropdown List Individual Options */
.selectboxit-option, .selectboxit-optgroup-header {
  overflow: hidden;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  display: block;
}

/* The first drop down option */
.form-select-box .selectboxit-option-first {
    border-radius: 2px 2px 0 0;
}

/* The first drop down option */
.form-select-box .selectboxit-optgroup-header + .selectboxit-option-first {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

/* The last drop down option */
.form-select-box .selectboxit-option-last {
  border-radius: 0 0 2px 2px;
}

/* Dropdown List Optgroup Headers */
.selectboxit-optgroup-header {
  font-weight: bold;
  padding: 5px;
}

/* Dropdown List Optgroup Options */
.selectboxit-optgroup-option {
  /*text-indent: 20px;*/
}

/* Dropdown List Optgroup Header hover psuedo class */
.selectboxit-optgroup-header:hover {
  cursor: default;
}

/* Dropdown List Down Arrow Container (if an image is not used) */
.selectboxit-arrow-container {
    /* Positions the down arrow */
    /*width: 30px;
    float: right;*/
    position: relative;
    display: none;
}

/* Dropdown List Down Arrow */
.selectboxit .selectboxit-arrow-container .selectboxit-arrow {
  /* Horizontally centers the down arrow */
  margin: 0 auto;
  display: block;
  position: absolute;
  top: 50%;
  right: 40%;
}

.jqueryui .selectboxit .selectboxit-arrow-container .selectboxit-arrow {
  right: 25%;
}

/* Dropdown List Down Arrow For jQueryUI and jQuery Mobile */
.selectboxit .selectboxit-arrow-container .selectboxit-arrow.ui-icon {
  top: 30%;
}

/* Dropdown List Individual Option Icon Positioning */
.selectboxit-option-icon {
  /*float: left;*/
    display: none;
}

/* Dropdown List Individual Option Image Positioning */
.selectboxit-option-icon-url {
  width: 18px;
  height: 18px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
}

.selectboxit-default-icon.selectboxit-option-icon-url {
  margin-left: 5px;
}

/* jQueryUI and jQuery Mobile compatability fix - Feel free to remove this style if you are not using jQuery Mobile */
.jqueryui .ui-icon {
  background-color: inherit;
}

/* Another jQueryUI and jQuery Mobile compatability fix - Feel free to remove this style if you are not using jQuery Mobile */
.jqueryui .ui-icon-triangle-1-s {
  background-position: -64px -16px;
}

/* custom */
.selectboxit-container .selectboxit.form-select .selectboxit-arrow-container {
    display: block;
    position: absolute;
    top: -1px;
    right: -1px;
    width: 30px;
    height: 30px;
    background: #000;
}

.selectboxit-container .selectboxit.form-select .selectboxit-arrow-container:after {
    content: "";
    position: absolute;
    top: 13px;
    left: 9px;
    width: 13px;
    height: 7px;
    background: url("../images/sprite.png") -38px -51px no-repeat;
}
/* ------------------- */