.govuk-accordion {
  margin-bottom: 20px;
}
@media (min-width: 40.0625em) {
  .govuk-accordion {
    margin-bottom: 30px;
  }
}
.govuk-accordion__section {
  padding-top: 15px;
}
.govuk-accordion__section-header {
  padding-bottom: 15px;
}
.govuk-accordion__section-heading {
  margin-top: 0;
  margin-bottom: 0;
}
.govuk-accordion__section-button {
  font-family: "nta", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.11111;
  display: inline-block;
  margin-bottom: 0;
  padding-top: 15px;
}
@media print {
  .govuk-accordion__section-button {
    font-family: sans-serif;
  }
}
@media (min-width: 40.0625em) {
  .govuk-accordion__section-button {
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 1.25;
  }
}
@media print {
  .govuk-accordion__section-button {
    font-size: 18pt;
    line-height: 1.15;
  }
}
.govuk-accordion__section-summary {
  margin-top: 10px;
  margin-bottom: 0;
}
.govuk-accordion__section-content > :last-child {
  margin-bottom: 0;
}
.js-enabled .govuk-accordion {
  border-bottom: 1px solid #bfc1c3;
}
.js-enabled .govuk-accordion__section {
  padding-top: 0;
  border-top: 1px solid #bfc1c3;
}
.js-enabled .govuk-accordion__section-content {
  display: none;
  padding-top: 15px;
  padding-bottom: 15px;
}
@media (min-width: 40.0625em) {
  .js-enabled .govuk-accordion__section-content {
    padding-top: 15px;
  }
}
@media (min-width: 40.0625em) {
  .js-enabled .govuk-accordion__section-content {
    padding-bottom: 15px;
  }
}
.js-enabled
  .govuk-accordion__section--expanded
  .govuk-accordion__section-content {
  display: block;
}
.js-enabled .govuk-accordion__open-all {
  font-family: "nta", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.14286;
  font-family: "nta", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline;
  border-width: 0;
  color: #005ea5;
  background: none;
  cursor: pointer;
}
@media print {
  .js-enabled .govuk-accordion__open-all {
    font-family: sans-serif;
  }
}
@media (min-width: 40.0625em) {
  .js-enabled .govuk-accordion__open-all {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
  }
}
@media print {
  .js-enabled .govuk-accordion__open-all {
    font-size: 14pt;
    line-height: 1.2;
  }
}
@media print {
  .js-enabled .govuk-accordion__open-all {
    font-family: sans-serif;
  }
}
.js-enabled .govuk-accordion__open-all:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 0;
  background-color: #ffbf47;
}
.js-enabled .govuk-accordion__open-all:focus {
  background: none;
}
.js-enabled .govuk-accordion__section-header {
  position: relative;
  padding-right: 40px;
  cursor: pointer;
}
.js-enabled .govuk-accordion__section-header:hover {
  background-color: #f8f8f8;
}
@media (hover: none) {
  .js-enabled .govuk-accordion__section-header:hover {
    background-color: initial;
  }
}
.js-enabled .govuk-accordion__section-header--focused {
  outline: 3px solid #ffbf47;
  outline-offset: 0;
}
.js-enabled .govuk-accordion__section-button {
  font-family: "nta", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 15px;
  padding-bottom: 0;
  padding-left: 0;
  border-width: 0;
  color: #005ea5;
  background: none;
  text-align: left;
  cursor: pointer;
}
@media print {
  .js-enabled .govuk-accordion__section-button {
    font-family: sans-serif;
  }
}
.js-enabled .govuk-accordion__section-button:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 0;
  background-color: #ffbf47;
}
.js-enabled .govuk-accordion__section-button:focus {
  outline: none;
  background: none;
}
.js-enabled .govuk-accordion__section-button:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.js-enabled .govuk-accordion__controls {
  text-align: right;
}
.js-enabled .govuk-accordion__icon {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
}
.js-enabled .govuk-accordion__icon:after,
.js-enabled .govuk-accordion__icon:before {
  content: "";
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 25%;
  height: 25%;
  margin: auto;
  border: 2px solid transparent;
  background-color: #0b0c0c;
}
.js-enabled .govuk-accordion__icon:before {
  width: 100%;
}
.js-enabled .govuk-accordion__icon:after {
  height: 100%;
}
.js-enabled .govuk-accordion__section--expanded .govuk-accordion__icon:after {
  content: " ";
  display: none;
}


#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1000;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

#results-table {
    font-size: 15px !important
}

#results-list tbody>tr:hover,
#results-list p:hover {
    background-color: #eee;
}

#results-list tbody>tr,
#results-list p {
    cursor: pointer;
}

#results-list tbody>tr>td:first-child,
#results-list thead>tr>th:first-child {
    padding-left: 10px;
}

#results-list tbody>tr>td:last-child,
#results-list thead>tr>th:last-child {
    padding-right: 10px;
}

#results-list tbody>tr.selected, 
#results-list p.selected {
    background-color: #ccc;
}

.results-html {
    height: 100%;
}

.results-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#results-map-full {
    height: 100%;
    width: 100%;
}

#search-map-full {
    height: 450px;
    width: 100%;
}

#results-list>table {
    display: block;
    font-size: small;
}

#results-list tbody,
#results-list tbody>tr,
#results-list tbody>tr>td {
  display: block;
}

.results-full-wrapper {
    display: flex;
    min-height: 450px;
    flex: 1;
    margin-top: 5px;
}

.mapSearch-full-wrapper {
    display: flex;
    min-height: 450px;
    flex: 1;
    margin-top: 5px;
}

.results-overflow-container {
    overflow: auto;
    flex-shrink: 0;
    width: 550px;
    border-right: 1px solid #bbb;
}

#results-top {
    padding: 0px 10px;
}

.results-overflow-content {
    overflow-y: auto;
}

.results-side-flex {
    display: flex;
    flex-direction: column;
}

@media(min-width: 1380px) {
  .results-overflow-container {
    width: 700px;
  }
}

@media(max-width: 768px) {
  .results-overflow-container {
    width: 450px;
  }
}

@media(max-width: 640px) {
    .legend {
      visibility: hidden;
      display: none;
    }

    .results-html,
    .results-body {
        height: unset;
        display: block;
        flex-direction: unset;
    }

    .results-overflow-container {
        width: auto;
        border-right: none;
    }

    .results-full-wrapper {
        flex-direction: column-reverse;
    }

    #results-list {
        overflow-y: auto;
    }

    #results-list>table {
        font-size: unset;
    }

    #results-map-full {
        height: 400px;
    }

    #search-map-full {
        height: 400px;
    }
}

/*Legend specific*/
.legend {
    float: left;
    padding: 6px 8px;
    font: 14px Arial, Helvetica, sans-serif;
    /* background: white; */
    background: rgba(255, 255, 255, 1);
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 5px;*/
    line-height: 24px;
    color: #555;
    opacity: 0.7;
  }

  .legend div {
    display: flex;
    align-items: center;
  }
  
  .legend i {
    width: 35px;
    height: 45px;
    float: left;
    margin: 0 8px 0 0;
    /* opacity: 0.7; */
  }
  
  .legend i.awesome-marker {
    /* background-size: 18px; */
    background-color: rgba(255, 255, 255, 1);
    position: relative;
    
  }
  