/* Modifications to alerts for accessibility purposes */

.alert-danger {
  background-color: #e00;
  color: #fff;
}

.alert-danger a, .alert-danger a:focus, .alert-danger a:hover {
  color: #fff;
}

.alert-warning {
  background-color: #fff000;
  color: #000;
}

.alert-warning a, .alert-warning a:focus, .alert-warning a:hover {
  color: #000;
}

.alert-success {
  background-color: #0f0;
  color: #000;
}

.alert-success a, .alert-success a:focus, .alert-success a:hover {
  color: #000;
}

.alert {
  margin-bottom: 0;
}

/* Modifications set by Firmstep  */

.councillor-wrapper {
  width: auto;
}


@media screen and (min-width: 120px) and (max-width: 420px) {
  #block-views-block-service-top-tasks-block-1 a, #block-views-block-service-top-tasks-block-1 .field-content, #block-views-block-service-top-tasks-block-1 a:hover {
    height: auto;
  }

  #block-views-block-service-top-tasks-block-1 a {
    margin-bottom: 20px;
  }

  .view-taxonomy-term .views-row {
    height: auto;
  }
}
@media screen and (min-width: 420px) and (max-width: 767px) {
  #block-views-block-service-top-tasks-block-1 a, #block-views-block-service-top-tasks-block-1 .field-content, #block-views-block-service-top-tasks-block-1 a:hover {
    height: auto;
  }

  #block-views-block-service-top-tasks-block-1 a {
    margin-bottom: 20px;
  }

  .view-taxonomy-term .views-row {
    height: auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #block-views-block-service-top-tasks-block-1 a {
    height: 115px;
    margin-bottom: 20px;
  }

  #block-views-block-service-top-tasks-block-1 .field-content {
    height: auto;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  #block-views-block-service-top-tasks-block-1 a {
    height: 95px;
    margin-bottom: 20px;
  }

  #block-views-block-service-top-tasks-block-1 .field-content {
    height: auto;
  }
}

/* Various misc modifications  */

.breadcrumb > .active {
  color: #707070;
}

.view-copyright p.copyright {
  color: #fff;
}

.centrelogo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* Set font size for buttons */

.btn {
  font-size: 0.8em;
}

/* Reduce height of top green bar and increase padding above new logo image */
.navbar .container {
  height: 95px;
}

.logo img {
  padding-top: 25px;
}

/* Modify default size and weight of H4 */
h4 {
  font-size: 1em;
  font-weight: 600;
}

/* Modify H1 size for first heading in a directory page */
.views-field h1 {
  font-size: 1.5em;
}

/* Modify colour of text in an alert box */
.alert-info {
  color: #196d96;
}

/* CSS to hide items for accessibility purposes */
.accessible-hide {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CSS for panels */
h2.panel-title {
  font-size: 110%;
  font-weight: bold;
  padding: 5px;
}

h2.panel-title a {
  display: block;
}

h2.panel-title a.collapsed {
  background: url(/sites/default/files/angus-override/images/right_arrow.png) center right no-repeat;
}

h2.panel-title a {
  background: url(/sites/default/files/angus-override/images/down_arrow.png) center right no-repeat;
}

/* CSS for chat widget was here */
/* CSS to hide search label on a mobile phone */
@media screen and (min-width: 0) and (max-width: 900px) {
  .popover {
    display: none !important;
  }
}
/* CSS for boxes */
.covidbox, .redbox {
  border: 3px solid #c00;
  padding: 1em;
}

.greenbox {
  border: 3px solid #006d5c;
  padding: 1em;
}

.bluebox {
  border: 3px solid #0024a4;
  padding: 1em;
}

/* CSS modification for Firmstep A-Z menu bar colours */
#block-firmstep-a-z-term-nav-block ul li a, .a_z_term_list_letters ul li a {color: #0024a4;}

#block-firmstep-a-z > .inner-wrapper > ul > li, .a_z_list_letters > .inner-wrapper > ul > li, .a_z_term_list_letters > .inner-wrapper > ul > li {color: #6d6d6d;}

/* CSS modification for filter fields on Documents for review page */
.form-inline .form-control {max-width: 570px;margin-bottom: 3px;}

/* Remove fixed height on banner on mobile device */
@media screen and (min-width: 320px) and (max-width: 767px) {
 .promotional-banner {
        height: auto;
 }
}

/* Initial style setting for Simple Popup Blocks */
#block-protectingpeople {
  display: none;
  text-align:center;
  }
#block-protectingpeople p {
  margin-top: 10px;
  font-size: 85%;
  }