body{
    font-family: 'arial' ;
}

/** Overides Header input **/

header .site-search .govuk-input{
  border-color: #bfc1c3;
  border-width:1px;
  width:calc(100% - 100px);
  font-size: 16px;
  height: 40px;
  
}
#views-exposed-form-solr-search-content-page-1 .govuk-form-group {
    margin: 0;
}

/** Local Tasks **/

#block-banes8-local-tasks ul {
    list-style:none;
    padding:0;
}

#block-banes8-local-tasks li {
    display:inline-block;
    margin-right:20px;
}

.govuk-template {
    background-color: #f8f8f8;
}


.header-search .site-search .govuk-button {
    background-image: url(/themes/custom/banes8/images/icon-search-2x.png);
}

.button-task {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    align-content: space-between;
}

/** Flex Box **/ 

.flex-item {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: space-between;;
}

.flex-item li{
  width: 24%;
  background: #00663d;
}

.flex-item li a{
  color:white;
}

.flex-item li {
    width: 24%;
    background: #00663d;
    flex-direction: column;
    display: flex;
    justify-content: space-around;
}

.flex-item .govuk-heading-s {
    font-size: 19px;
    line-height: 25px;
    min-height: 100px;
    flex-direction: column;
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-content: space-around;
    margin-bottom:0;
}

.aside {
    font-family: arial;
}

@media (min-width: 40.0625em) {
   a[href*="tel:"] {
       pointer-events: none;
       cursor:default;
       text-decoration: none;
       color: #0b0c0c;
       font-weight:700;
   }
}

.header-search .site-search .button {
    background-image: url(/themes/custom/banes8/dist/assets/patterns/images/icon-search.png);
    margin:0;
}

.left-align {
    text-align: left;
}


ul.govuk-list.govuk-list--bullet.hint {
    color: #6f7787;
}

.top-task-wrapper {
  min-height: 230px;
}

.banes-top-task-wrapper .govuk-heading-m{
    color:#017099
}

.banes-top-task-bg2 .govuk-heading-m{
    color:#eb9a04
}

.banes-top-task-bg3 .govuk-heading-m{
    color:#b1006c
}

.banes-top-task-bg4 .govuk-heading-m{
    color:#5261ac
}

ul.section-list {
    box-sizing: border-box;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    -webkit-box-align: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: flex-start;
}


ul.section-list li{
  flex: 1 1 100%;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  max-width: 100%%;
  margin-top: 20px;
  color: black;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
  will-change: box-shadow;
  display: block;
  position: relative;
  border-radius: 2px;
}


.section-list a:link {
    padding: 25px 10px;
    display: block;
    height: 100%;
}

ul.section-list li{
 background-color: #f5f5f5;
}


.section-list li{
  margin-bottom:15px;
}

@media (min-width: 40.0625em){
ul.section-list li{
  flex: 1 1 100%;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  max-width: 32%;
  margin-top: 20px;
  color: black;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
  will-change: box-shadow;
  display: block;
  position: relative;
  border-radius: 2px;
  }

  ul.section-list li:nth-child(3n-1) {
    margin-left: 2%;
    margin-right: 2%;
}

.section-list li{
  margin-bottom:30px;
}

}
