.site-footer {
    font-family: "Montserrat",sans-serif;
    font-size: 14px;
    background: #003A62 !important;
}

.body {
    font-family: "Montserrat",sans-serif;
    font-size: 140%;
    line-height: 1.42857143;
    color: #333333;
    background: #003A62 !important;
    height:100%;
}

.main {
  min-height:500px
}

.package_dropdown {
    margin: auto;
    justify-content: right;
    float: right;
    display: flex;
}

.download_li:hover {
  cursor: pointer;
}

.account-masthead {
    background-color: rgb(196,77,88);
}

.private-label-package {
    height: 32px;
    width: 100px;
    font-size: 14px;
    padding-top: 9px;
    top:4px;
    position: relative;
}

.dataset-title {
    padding: 30px;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    line-height: 1;
}

.dataset_info {
  color:#333333;

}

.modal-header {
  display: block;
}

.modal-footer > button {
  float: right;
}

.modal-dialog, .modal-content {
    /* 80% of window height */
    max-height: 80%;
    z-index: 10000;
    top: 100px
}

.modal-body {
    height:auto;
    max-height: 450px;
    overflow-y: scroll;
}
.terms-and-conditions {
    padding: 10px;
    font-size: 10px;
    font-weight: bold;
    text-align: left;
    line-height: 1;
}

.remove-entries {
    height: 45px;
    margin-bottom: 20px;
    font-size:14px;
    float: right;
    margin-right: 0;
    top: 4px;
    right: 5px;
    padding: 0 12px;
    border-radius: 100px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #da4f49;
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    display: inline-block;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #cccccc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    text-decoration: none;
}


.open-data-label {
  background-color:#003A62;
  height:20px;
  font-size: 10px;
  font-weight: 400;
  position:relative;
  bottom:0px;
  right:25px;
}

.closed-data-label {
  background-color:#700707;
  height:20px;
  font-size: 10px;
  font-weight: 400;
  position:relative;
  bottom:0px;
  right:25px;
}

.private-label {
  height:20px;
  font-size: 10px;
  font-weight: 400;
  position:relative;
  bottom:0px;
  right:25px;
}

.facet_item {
  border-left: 4px solid lightgray !important;
  border: 0px solid white;
  padding-bottom:5px;
  padding-top: 5px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.facet_item:hover {
  color: black;
  background-color: lightgray;
  border-color: #206b82;
}

.facet_section {
  /* border-bottom: 1px solid rgb(191, 191, 191);
  border-left: 1px solid rgb(191, 191, 191);
  border-right: 1px solid rgb(191, 191, 191); */
  /* border: 1px solid rgb(191, 191, 191); */
  padding-bottom: 0px;
  border-radius: 0px;
}

.border-top {
  border-top: 1px solid rgb(191, 191, 191);
}

.list-group-item.active {
  color: #fff;
  background-color: lightgray;
  border-left: 4px solid #206b82 !important;
}

.list-group-item.active:hover, .list-group-item.active:focus {
  z-index: 2;
  color: #fff;
  background-color: white;
  border-color:lightgray;;
}

.list-group {
  margin-bottom: 0px;
}
.list-group-item {
  padding-left:30px;
  border-bottom: 1px solid #fff !important;
  border-top: 1px solid #fff !important;
}

.list-group-item:first-child {
  border-radius: 0px;
  padding-top: 10px;
}

.list-group-item:last-child {
  border-radius: 0px;
}

.entry-content {
  height: 100%;
  width: 100%;
}

.resource_actions {
  padding-top:20px
}

.input-lg {
  border-radius: 0px;
}

.square-btn {
  border-radius: 0px;
}

.square-input {
  border-radius: 0px;
}

.square-div {
  border-radius: 0px;
}

.no-margin {
  margin:0px;
}

.control-order-by {
  position: relative;
  bottom:10px;
}

.inline-content {
  display: inline;
}

.search-form {
  display: inline;
}

.dataset-list{
  padding-top: 35px;
}

span.inline-content{
  display: inline;
}

.item-label {
  color: black;
  font-weight: 400;
}

.center-div {
  margin: auto;
  width: 50%;
}

.label-grey {
  background-color: rgb(89, 89, 89) !important;
}

.label-tags {
  color: black;
  font-size: 12px;
  padding-left: 0px;
  font-weight: 500;
}

.panel-default > .panel-heading {
  color: #333333;
  background-color: #f5f5f5;
  border-left: 4px solid #206b82;
}

.accordion-button {
  padding: 0px;
  font-size: 16px;
  background-color: #f5f5f5;

}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231d6075'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) {
  color: #333333;
  background-color: #f5f5f5;
  box-shadow: none;
}

.panel-heading .accordion-toggle:after {
  font-family: 'Glyphicons Halflings';  
  content: "\e114";    
  float: right;        
  color: grey;       
  border-color: #206b82;
}
.panel-heading .accordion-toggle.collapsed:after {
  content: "\e080";    
}

.panel-group-accordion {
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-radius: 0px
}

.panel-heading {
  border-radius: 0px;
  border-color: #206b82;
  border-left: 4px solid #206b82;
  /* border: 1px solid rgb(191, 191, 191); */
}

.panel-body {
  padding:0px
}

.panel {
  border-radius: 0px;
  margin-bottom: 0px;
}

  .grid-container-package-item {
    display: grid;
    grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% ;
    grid-template-areas:
      'header header header header header header header header header secondary-header'
      'main main main main main main main main secondary secondary'
      'footer footer footer footer footer footer footer footer secondary secondary';
    width: 100%;
  }


@media (max-width: 600px) {
  .grid-container-package-item  {
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-areas:
      'header header header header'
      'secondary secondary secondary secondary-header'
      'main main main main'
      'footer footer footer footer';
    width: 100%;
    }
}

.grid-container > div {
  padding-left: 10px;
  padding-top: 10px;
}

.package-item-header { 
  color: #1c6387;
  grid-area: header; 
  border-bottom: 1px solid rgb(230, 230, 230);
  padding-right: 40px;


}
.package-item-secondary-header { 
  grid-area: secondary-header; 
  padding-left: 0px !important;
  border-bottom: 1px solid rgb(230, 230, 230);
}
.package-item-main-content { 
  grid-area: main; 
  font-family: "Montserrat",sans-serif;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(230, 230, 230);
}
.package-item-sec-content { 
  grid-area: secondary; 
  font-family: "Montserrat",sans-serif;
  font-size: 10px;
  display: block;
  border-left: 1px solid rgb(230, 230, 230);
    border-bottom: 1px solid rgb(230, 230, 230);
}

.small-text-package-item {
  font-size: 120%;
  display: block;
  margin: 0px;
}

.secondary_content_modal {
  font-size: 100%;
  font-weight: 300;
  padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
}

.secondary_content_modal.h3 {
  font-weight: 300;
  font-size: 100%;
}

.secondary_content_modal.p {
  font-weight: 100;
  font-size: 100%;
}

.package-item-footer { 
  grid-area: footer;
  padding-bottom: 15px;
  padding-top: 5px !important;
  bottom:10px
}

.package-item-secondary-content-container {
  padding-left: 10px
}

.basic_white_btn {
  border: 1px solid rgb(191, 191, 191);
  color:rgb(49, 49, 49);;
  border-radius: 2px;
  float: right;
  margin-right: 3px;
}

.dataset_view_btn {
  top: 3px;
  position: relative;
}

.resource_view_btn {
  bottom: 6px;
  position: relative;
}

.white_btn {
  border: 1px solid rgb(191, 191, 191);
  color:rgb(49, 49, 49);;
  border-radius: 2px;
}

.resource_btn_container {
  position: relative;
  top: 9px

}

.dataset_header_h1 {
  font-weight: 400;
}

.grid-container-package-read-desc {
  display: grid;
  grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% ;
  grid-template-areas:
    'main main main main main main main secondary secondary secondary'
}

@media (max-width: 600px) {
  .grid-container-package-read-desc  {
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-areas:
      'main main main main'
      'secondary secondary secondary secondary';
  }
}

@media (max-width: 600px) {
  .package-read-main {
    border-bottom: 1px solid rgb(191, 191, 191);
    border-right: 0px solid rgb(191, 191, 191) !important;
  }

}
.package-read-main { 
  color: #1c6387;
  grid-area: main; 
  /* border-bottom: 1px solid rgb(191, 191, 191); */
  border-right: 1px solid rgb(191, 191, 191);
  padding-right: 20px;
  padding-top: 10px;
}

.package-read-secondary { 
  color: black;
  grid-area: secondary; 
  /* border-bottom: 1px solid rgb(191, 191, 191); */
  padding-left: 20px;
  line-height:normal;
  padding-top: 10px;
}

.resource-list-h2{
  font-size:20px;
  font-weight:500;
  color:black;
  padding-top:10px;
  padding-bottom:2px;
}

.resource-item {
  /* border: 1px solid rgb(191, 191, 191); */
  border-radius: 0px;
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom:10px;
  margin-left:25px;
  margin-right:25px;
}

.about-img {
  align-content:center;
  margin:auto;
  padding-left: 5%;
  padding-right: 5%;
  height: 90%;
  width: 90%;
}

.grid-map {
  display: grid;
  grid-template-columns: 30% 70% ;
  grid-template-areas:
    'left-side main'
}

.grid-map-main { 
  grid-area: main; 
  min-height: 600px;
  height:100%;
  /* background-color: white; */
}

.grid-map-right-side { 
  grid-area: right-side; 
  background-color:white;
}

.grid-map-left-side { 
  grid-area: left-side; 
  padding-left:20px;
  padding-right:20px;
  background-color:white;
  color:black;
}

.page-header {
  border-bottom: 0px solid #ddd;
}

.panel-body {
        /*height:500px;*/
        overflow: hidden;
        /*transform: rotate(90deg);*/
        transform-origin: 188px 241px 0;
    }

.t1 {
    max-height: 500px;
    overflow: scroll;
    overflow-x: hidden;
}
.panel-heading .accordion-toggle:after {
    position: relative;
    right: 5px;
}

.fa-times-circle:before {
    position: relative;
    /*left: 5px;*/
    /*bottom: 5px;*/
    right:15px;
    top:15px;

}

@media (max-width: 767px){
    .js .main .secondary .filters {
        padding: 30px;
    }

    .main {
      background: none
    }
}

.faq_container > details {
  color: #333333;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-left: 4px solid #206b82;
  padding: 8px;
  font-size: 2rem;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 20px;
}

.faq_container > details:hover {
  cursor: pointer;
}

.faq_container > details > summary {
  list-style-type: none;
  display: flex;
  font-size: 2.5rem;
  font-weight: 500;
  width: 100%;
}

.faq_container > details > summary::before {
  display: inline-block;
  content: '\203A';
  transition: 0.2s;
  padding-right: 10px;
  height: 100%;
}

.faq_container > details[open] > summary::before {
  display: inline-block;
  transition: 0.2s;
  transform: translateX(-5px) translateY(7px) rotate(90deg);
}

.dropdown-menu-nav li a {
    font-size: 15px;
    text-transform: capitalize;
}


.modal-backdrop {
    z-index: -1;
}

.nav-pills > li > a {
     border-radius: 0px;
}

.nav-pills > li.active > a {
  background-color: #45617d !important;
}

.nav-pills-nav-bar li.not_active a {
  background: white;
  background-color: white !important;
}

.nav-pills-nav-bar li.active a {
    background-color: #45617d ;
}

.nav-pills-nav-bar li a:hover {
    background-color: #45617d !important;
    color: white;
}

.entry-content p {
    font-size: 2rem;
    color: #4b4b4b;
}

.entry-content h2 {
    font-size: 2.5rem;
}

.entry-title {
    font-size: 4rem;
}

.note_sub_title {
    font-size: 2rem;
    color: #4b4b4b;
}
.entry-content {
    padding-left: 10%;
    padding-right: 10%;
}

.entry-header {
    padding-left: 10%;
    padding-right: 10%;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

.hidden_form_element{
  display: none;
}

#g-recaptcha-response {
  display: block !important;
  position: absolute;
  margin: -78px 0 0 0 !important;
  width: 302px !important;
  height: 76px !important;
  z-index: -999999;
  opacity: 0;
}


.account-masthead {
  background: #003A62 ; 
}

.masthead {
  background: #003A62; 
  padding: 0px 0px;
  z-index: 6;
}

#flDebug, #flDebug * {
  overflow-y: auto;
  }

.navbar-centre {
  margin: auto ;
  justify-content: center ; 
  display: flex ;
  text-transform: uppercase;
}

.nav_bar-logo {
  margin: auto;
  justify-content: center;
  display: flex;
}

.nav_bar-logo-img {
  max-height: 80px;
  height:100%;
  width:auto;
}

.title-logo-img {
 max-height: 100px;
  height:100%;
  width:auto;
}

@media (max-width: 768px ) {
  .nav_bar-logo-img {
      padding-bottom: 10px;
  }
  .nav {
    display: block;
  }

  .navbar-centre {
    justify-content: left;
  }
}

@media (min-width: 992px) {
  .homepage [role=main] {
    padding: 0px 0;
  }
}

.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
max-height: 340px;
justify-content: center

}
@media (min-width: 992px) {
  .navbar-collapse {
    float: none !important;
  }
}

.nav-pills {
  font-size: 1.7rem;
}


.hero {
  background-image: url("/images/cropped-scotland-under-magnifying-glass-1.jpg") !important;
  height: 120%;
  width: 100% !important;
  background-position: 0px 0px;
  background-size: 100% 130% !important;
  background-attachment: local !important;
  box-shadow:inset 0 0 0 2000px rgba(164, 183, 69 ,0.65);
  min-height: 450px;
  background-repeat: no-repeat !important;
}

@media (min-height: 1080px) {
.search_box-container  {
    padding-top: 250px !important;
    height: 960px;

}
}

.search_box-container {
  width: 75%; /* Can be in percentage also. */
  /*height: auto;*/
  /*height: 1200*/
  /*height:80%;*/
  margin: auto;
  /* padding: 10px; */
  padding-top: 60px;
  position: relative;
  /*max-width: 640px;*/
  text-align: center;
}

.home_header_text {
  text-align: center;
  height: auto;
  margin: auto;
}

.home_header_h1 {
  color:white;
  font-size: 40px;
}

.home_main_content_header_h1 {
  color:black;
  text-align: center;
  font-stretch: 50%;
  font-size: 28px;
  font: 30px/1.1 "Montserrat", sans-serif;
  padding-top: 15px;
  font-weight: 700;
}

.home_header_h4 {
  color:white;
  font-size: 18px;
  padding-top: 10px;
  font-weight:400
}

.red_line {
  content: '';
  background-color: #c44d58;
  width: 120px;
  height: 3px;
  left: 40.5%;
  margin: auto;
  /* position: absolute; */
  text-align: center;
}

.black_line {
  content: '';
  background-color: black;
  width: 120px;
  height: 3px;
  left: 40.5%;
  margin: auto;
  /* position: absolute; */
  text-align: center;
}

.main_content_container_header {
  width: 100%; /* Can be in percentage also. */
  height: auto;
  margin: auto;
  /* padding: 10px; */
  padding-top: 20px;
  position: relative;
  text-align: center;
  font-size: 18px;
}

.search-form {
  border:0cm;
}
.main_content_home {
  background-color:white
}

.content-page__box p {
  font-size: 18px;
}
.content-page__box li {
  font-size: 16px;
}

.module-group-list {
  display: grid;
  column-gap: 25px;
  justify-content: center;
  grid-template-columns: auto auto auto;
  /*padding-top: 20px;*/
  text-align: center;
  padding-top: 35px;
  /*padding-bottom: 25px;*/
  padding-bottom: 15px ;
}

.module-group-item {
  display: block;
  text-align: center;
  min-width: 220px;
  max-width: 220px;
}

.module-group-item img {
  width: 100px;
  height: 100px;
  margin: auto;
  display: block;
  padding-bottom: 10px;
}

.module-group-item span {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}

@media (max-width: 760px) {
  .module-group-list {
      display: grid;
      column-gap: 10px;
      justify-content: center;
      grid-template-columns: auto;
      /*padding-top: 20px;*/
      text-align: center;
      padding-top: 15px;
      padding-bottom: 10px;
      /*padding-bottom: 25px;*/
  }
  .module-group-item {
      padding-top: 25px;
  }
  .home_header {
      background-size: 160% 120%;
  }
  .masthead {
    z-index: 1;
  }

}

.form-select-lg {
  font-size: 14px;
}

.accordion-item {
  padding: 0px;
}

/* .form-group .btn {
  position: relative;
  top: -2px;
} */

.btn-remove-url {
  position: absolute;
  padding: 3px 10px !important;
  top: 29px !important;
  margin-top: 0px !important;
}
