/*///////////////////////////////// Container ///////////////////////////////// */

#block-localauthorityblock {
  font-family: Arial;
  font-size: 18px;
  font-style: normal;
  font-stretch: normal;
  font-weight: 700;
  line-height: 21px;
  text-align: left;
  text-transform: none;
  letter-spacing: -0.9px;
}

/*///////////////////////////////// Drop Title ///////////////////////////////// */
.authority-drop-down-title {
  font-weight: bold;
  margin-bottom: 5px;
}

/*///////////////////////////////// Drop downs ///////////////////////////////// */
.local-authority-container {
  float: left;
  padding-right: 36px !important;
}

@media only screen and (max-width: 675px) {
  .local-authority-container {
    padding-right: 0px !important;
  }
}

.dropdown-field {
  width: 300px;
  height: 20px;
  padding: 12px;
  background-color: #eeeeee;
  color: #000000;
  font-weight: bold;
  cursor: pointer;
  margin-top: 16px;
}

.dropdown-field .text {
  float: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-field .image {
  margin-top: 8px;
  float: right;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { 
  .dropdown-field .image {
    margin-top: 0;
  }
}

@supports (-ms-ime-align:auto) {
  .dropdown-field .image {
    margin-top: 0;
  }
}

.dropdown-field .image,
.dropdown-field .image::after {
  content: url("../site_furniture/dewis-icons/arrow.png");
}

.custom-authority-dropdown ul {
  margin-top: 2px;
  list-style: none;
  width: 324px;
  padding-left: 0px;
  background-color: #eeeeee;
  height: 400px;
  overflow-y: auto;
  z-index: 99;
  position: absolute;
  display: none;
}

.custom-authority-dropdown ul li {
  color: #000000;
  font-weight: normal;
  padding-left: 10px;
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
}

.custom-authority-dropdown ul li:hover {
  background-color: #c3c3c3;
  color: #FFFFFF;
  padding: 16px;
}

.selected-option {
  color: #A70C7D !important;
  font-weight: bold !important;
}

.shown {
  display: block !important;
}

/*///////////////////////////////// Search Button ///////////////////////////////// */
#authority-button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  color: #FFFFFF;
  letter-spacing: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 29px;
  background: #A70C7D;
  width: 140px;
  height: 46px;
  margin-top: 36px;
  border: none;
}

#authority-button:hover {
  background-color: #C12697;
  cursor: pointer;
}


@media only screen and (max-width: 350px) {
  .local-authority-container .dropdown-field {
    width: 190px !important;
  }

  .local-authority-container .dropdown-field .text {
    width: 170px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .custom-authority-dropdown ul {
    width: 215px;
  }
}
