/*------------------------------------------------------------
  JCF - Custom Select Styles
------------------------------------------------------------*/

.jcf-select {
  display: inline-block;
  vertical-align: top;
  position: relative;
  border: 1px solid #1d252c;
  background: #fff;
  min-width: 100%;
  height: 50px;
}

.jcf-select select {
  z-index: 1;
  left: 0;
  top: 0;
}

.jcf-select .jcf-select-text {
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
  display: block;
  font-size: 16px;
  height: 50px;
  padding: 10px 15px;
}

.jcf-select .jcf-select-opener {
  position: absolute;
  text-align: center;
  background: transparent;
  width: 26px;
  bottom: 0;
  right: 0;
  top: 0;
}

.jcf-select .jcf-select-opener:before {
  content: "\e90d";
  font-family: "icomoon";
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

body > .jcf-select-drop {
  position: absolute;
  margin: -1px 0 0;
  z-index: 9999;
}

body > .jcf-select-drop.jcf-drop-flipped {
  margin: 1px 0 0;
}

.jcf-select .jcf-select-drop {
  position: absolute;
  margin-top: 0;
  z-index: 9999;
  top: 100%;
  left: -1px;
  right: -1px;
  border: 1px solid #1d252c;
}

.jcf-select .jcf-drop-flipped {
  bottom: 100%;
  top: auto;
}

/* multiple select styles */

.jcf-list-box {
  overflow: hidden;
  display: inline-block;
  border: 1px solid #b8c3c9;
  min-width: 200px;
  margin: 0 15px;
}

/* select options styles */

.jcf-list {
  display: inline-block;
  vertical-align: top;
  position: relative;
  background: #fff;
  line-height: 14px;
  font-size: 12px;
  width: 100%;
}

.jcf-list .jcf-list-content {
  vertical-align: top;
  display: inline-block;
  overflow: auto;
  width: 100%;
}

.jcf-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jcf-list ul li {
  padding-left: 0 !important;
}

.jcf-list ul li:before {
  display: none;
}

.jcf-list ul li {
  overflow: hidden;
  display: block;
}

.jcf-list .jcf-overflow {
  overflow: auto;
}

.jcf-list .jcf-option {
  overflow: hidden;
  cursor: default;
  display: block;
  padding: 5px 9px;
  color: #656565;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  padding-left: 15px;
}

.jcf-list .jcf-disabled {
  background: #fff !important;
  color: #aaa !important;
}

.jcf-select-drop .jcf-hover,
.jcf-list-box .jcf-selected {
  background: #f1efd9;
  color: #1d252c;
}

.jcf-list .jcf-optgroup-caption {
  white-space: nowrap;
  font-weight: bold;
  display: block;
  padding: 5px 9px;
  cursor: default;
  color: #000;
}

.jcf-list .jcf-optgroup .jcf-option {
  padding-left: 30px;
}

/* custom file input styles */

.jcf-file {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.jcf-file .jcf-real-element {
  position: absolute;
  font-size: 200px;
  height: 200px;
  margin: 0;
  right: 0;
  top: 0;
}

.jcf-file .jcf-fake-input {
  display: inline-block;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
  overflow: hidden;
  border: 1px solid #777;
  padding: 0 8px;
  font-size: 13px;
  line-height: 28px;
  height: 28px;
  width: 125px;
}

.jcf-file .jcf-upload-button {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid #777;
  margin: 0 0 0 -1px;
  padding: 0 10px;
  line-height: 28px;
  height: 28px;
}

.jcf-select.jcf-drop-active .jcf-select-opener:before {
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}

.jcf-select-opener:before {
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  -o-transition: transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}

.jcf-select-drop .jcf-option-hideme {
  display: none;
}

/*------------------------------------------------------------
  min-width: 768px
------------------------------------------------------------*/

@media (min-width: 768px) {
  .jcf-select {
    height: 68px;
  }

  .jcf-select .jcf-select-text {
    height: 68px;
    padding: 22px 27px 21px;
  }

  .jcf-list .jcf-option {
    height: 68px;
    padding-left: 27px;
    line-height: 68px;
  }
}
