/**
 * @file
 * JQuery UI SelectMenu plugin styles override.
 */
.ui-selectmenu-button.ui-button {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
  margin: 0;
  padding: 4px;
  font-size: 2rem;
  line-height: 1.33;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #fff;
  border-color: inherit;
  outline: 0;
}
.ui-selectmenu-button .ui-selectmenu-text {
  width: 100%;
  margin-right: -20px;
  overflow: visible;
  white-space: normal;
}
.ui-selectmenu-button .ui-selectmenu-icon {
  height: 34px;
  width: 40px;
  background: none !important;
}
.ui-selectmenu-button .ui-selectmenu-icon:after {
  content: '▼';
  position: absolute;
  display: block;
  left: 0;
  width: 40px;
  height: 34px;
  text-indent: 0;
  -webkit-transform: scale(1.0, .5);
  -moz-transform: scale(1.0, .5);
  transform: scale(1.0, .5);
}
.ui-selectmenu-menu .ui-menu {
  max-height: 306px;
  padding: 0;
  font-size: 1.8rem;
  font-weight: 300;
  color: #103a71;
  background-color: #e7ebf1;
  border: 0;
  overflow: hidden;
  font-family: "SourceSansPro Bold", Sans-Serif;
}
.ui-selectmenu-menu .ui-menu li:first-child .ui-menu-item-wrapper {
  text-indent: -999px;
}
.ui-selectmenu-menu .ui-menu.selectmenu-required li:first-child {
  display: none;
}
.ui-menu .ui-menu-item-wrapper {
  position: relative;
  padding: 24px 28px 24px 6px;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
  margin: 0;
  font-weight: bold;
  color: #fff;
  border: 0;
  background: #103a71;
}
.ui-selectmenu-disabled {
  opacity: 1;
}
.ui-selectmenu-button.ui-button.ui-state-disabled:hover,
.ui-selectmenu-button.ui-button.ui-state-disabled:active {
  color: inherit;
  font-weight: inherit;
  border: 0;
  border-bottom: 2px solid #fff;
  background: none;
}
@media (min-width: 350px) {
  .ui-selectmenu-button .ui-selectmenu-text {
    margin-right: 10px;
  }
}
@media (min-width: 1150px) {
  .ui-selectmenu-button.ui-button {
    height: 40px;
    margin-top: 0;
    margin-bottom: 4px;
    padding-left: 8px;
  }
  .ui-selectmenu-button .ui-selectmenu-text,
  .ui-selectmenu-menu .ui-menu {
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
