  /* Wrapper element to enable positioning */
.custom-select-container {
  position: relative;
}

/* Set the dimensions of the replaced select element and make it transparent. */
select.custom.replaced {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 2em;
  border: 0;
  filter: alpha(opacity=0);
  /* Move to IE-specific CSS file if you want to. */
  opacity: 0;
  line-height: 2;
}

.custom-select {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}

.custom-select > span {
  display: block;
  padding: 1px 10px;
  border: 1px solid #091F40;
  border-radius: 3px;
  color: #777;
  background: url(/Static/img/down-arrow.svg) no-repeat 98% center;
  line-height: 2;
}

.custom-select span span {
  display: block;
  height: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select.active > span {
  border-color: #666;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.DirectoryChoices {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #d2d2d2;
  font-family: din-2014, Tahoma, sans-serif;
}

.DirectoryChoices .browseDirectory {
  margin-bottom: 10px;
}

.DirectoryChoices .selectLabel {
  margin: 0 10px 5px 0;
  color: #444444;
}

.DirectoryChoices .custom-select > span {
  border-color: #dbdbdb;
}

.DirectoryChoices .fakeTextbox {
  display: inline-block;
  position: relative;
  width: 165px;
  padding: 2px 7px 2px 13px;
  background: #dbdbdb;
  border-radius: 3px;
}

.DirectoryChoices .fakeTextbox:after {
  content: "";
  display: table;
  clear: both;
}

.DirectoryChoices .textbox {
  width: 100%;
  height: auto;
  padding: 0;
  font-size: 14px;
  font-size: 0.875rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.DirectoryChoices .textbox::-webkit-input-placeholder {
  color: #717070;
}

.DirectoryChoices .textbox:-moz-placeholder {
  color: #717070;
}

.DirectoryChoices .textbox::-moz-placeholder {
  color: #717070;
}

.DirectoryChoices .textbox:-ms-input-placeholder {
  color: #717070;
}

.DirectoryChoices .textbox.placeholder {
  color: #717070;
}

.DirectoryChoices .submit {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -8px;
  height: 16px;
  width: 16px;
  background: transparent url("../img/SearchButton.svg") no-repeat 0 0;
  background-size: contain;
  border: 0;
}

@media screen and (max-width: 499px) {
  .DirectoryChoices .selectLabel {
    display: block;
  }
  .DirectoryChoices .fakeTextbox {
    width: 100%;
    padding: 10px;
  }
  .DirectoryChoices .textbox {
    width: 78.125%;
    height: 27px;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 25px;
    line-height: 1.5625rem;
  }
  .DirectoryChoices .submit {
    margin-top: -12px;
    width: 25px;
    height: 25px;
  }
}

@media screen and (min-width: 500px) {
  .DirectoryChoices .custom-select-container {
    display: inline-block;
  }
  .DirectoryChoices .custom-select,
  .DirectoryChoices select.custom.replaced {
    width: 200px;
  }
}

.DirectoryResults {
  margin: 0 0 30px;
}

.DirectoryResults .letter {
  padding: 20px 0 5px;
  font-size: 40px;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
}

.DirectoryResults .result {
  margin: 0 0 23px;
}

.DirectoryResults .result:after {
  content: "";
  display: table;
  clear: both;
}

.DirectoryResults .name {
  margin: 5px 0;
  font-size: 22px;
  font-size: 1.375rem;
  font-family: din-2014, Tahoma, sans-serif;
}

.DirectoryResults .name a {
  color: #000;
  text-decoration: none;
}

.DirectoryResults .name a:hover {
  color: #6E4905;
  text-decoration: underline;
}

.DirectoryResults .title {
  margin: 0 0 5px;
}

.DirectoryResults .vDivider {
  color: #FDB71A;
}

@media screen and (max-width: 499px) {
  .DirectoryResults .title {
    margin: 0 0 5px;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .DirectoryResults .vDivider {
    display: none;
  }
  .DirectoryResults .dept,
  .DirectoryResults .office,
  .DirectoryResults .email {
    display: block;
  }
}

@media screen and (min-width: 500px) {
  .DirectoryResults .resultImg {
    float: left;
    margin: 10px 2.30769% 0 0;
  }
  .DirectoryResults .resultInfo {
    float: left;
    width: 87.4359%;
  }
}
