#wrapper {
    padding-bottom: 300px;
}

.banner-header-block, #map {
    max-width: 1170px;
    margin: 0 auto;
}

div.field--name-body img {
    max-width: 100%;
    height: auto;
}

.latest-article-image-container > img {
    width: 100%;
    height: auto;
}

.circle{
	display: inline-block;
	width: 20px;
	height: 20px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
}
/*  --- */
.bb-block-image-container {
	    width: 100%;
    max-height: 200px;
    overflow: hidden;
}

.bb-block-image {
	width: 100%;
    height: 100%;
    margin-top: -12%;
}

.block-block-content {
    position: relative;
}

.bb-block-title {
	    display: inline-block;
    position: absolute;
    bottom: 29%;
    width: 100%;
    text-align: center;
}

.bb-block-title h1 {
	font-size: 3.75em;
    letter-spacing: -0.04em;
    color: #ffffff;
    font-weight: 800;
}

.bb-block-padding {
    height: 20px;
    width: 100%;
}
/* ------------------------ SLIDESHOW BLOCK STYLE ------------------------  */
.field--name-field-slide-background-image img {
	width: 100%;
    height: auto;
    max-height: 450px;
}

.slideshow-content-container {
	position: absolute;
    top: 20%;
    bottom: 10%;
    left: 5%;
    right: 30%;
    /*background-color: red;*/
}

.slideshow-whitewash {
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.slideshow-navigation {
    width: 100%;
    position: absolute;
    bottom: 0;
    max-width: 1170px;

    margin: 0 auto;
    left: 0;
    right: 0;
}

.slideshow-nav-item {
	position: relative;
	display: inline-block;
    width: 25%;
    padding: 11px 35px;
    text-align: center;
}

.slideshow-nav-item p {
    margin: 0;
}

.slideshow-nav-item.active {
	
}

.slideshow-nav-item.active::before {
	content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 9px solid #373737;
    top: -9px;
    left: calc(50% - 16px);
    /* margin: 0 auto; */
    vertical-align: middle;
}

.slideshow-slide-master {
	display: none;
}

.slideshow-slide-master.active {
	display: block;
}
/* ------------------------ PRODUCT BLOCK STYLE ------------------------  */
.field--name-field-pb-image img {
	width: 100%;
	height: auto;
}

.region-footer nav > ul.menu {
   -moz-column-count: 3;
   -moz-column-gap: 20px;
   -webkit-column-count: 3;
   -webkit-column-gap: 20px;
   column-count: 3;
   column-gap: 20px;
}

.region-footer nav > .menu > .menu-item > a{
	/*font-weight: bold;*/
}

.region-footer nav > .menu > .menu-item.menu-item--expanded > a {
    font-weight: bold;
}

.region-footer nav > .menu .menu-item {
	list-style-image: none;
	list-style-type: none;
}
/* ------------------------  ------------------------  */
@media screen and (max-width: 760px){
    div.view-id-otr_locations .view-filters, div.view-id-otr_locations .view-content {
        padding: 0 10%;
          margin: 0;
        overflow: hidden;
    }
}

/* ------------------------  ------------------------  */
.footer-promo {
	max-width: 1024px;
    margin: 0 auto;
    overflow: auto;
    margin-top: 50px;
}

.promo-container {
	width: 20%;
	margin: 0;
	float: left;
}

.promo-container .promo-image {
	width: 100%;
	height: auto;
	max-height: 50px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* ------------------------  ------------------------  */
.pb-block-image {
	width: 100%;
	height: auto;
}
/* ------------------------  ------------------------  */
.footer-contact p {
	text-align: center;
    font-size: .8em;
}

.footer-contact {
	margin-top: 20px;
}

.footer-top {
	/*padding-top: 50px;*/
	/*padding-bottom: 50px;*/
    padding-top: 30px;
    padding-bottom: 20px;
}

.footer-top .footer-contents {
	max-width: 1024px;
	margin: 0 auto;
}

/* ------------------------  ------------------------  */


.form-item-lat, .form-item-lng, .form-item-proximity {
    visibility: hidden;
    height: 0;
}

/* ------------------------  ------------------------  */

#wrapper {
    min-height: 100%;
    position: relative;
}

.layout-container {
	/*max-width: 960px;*/
	max-width: 1024px;
    /*max-width: 1170px;*/
	margin: 0 auto;
}

.navigation-bottom .layout-container {
    max-width: 1170px;
}

.navigation-container, .footer-container {
	width: 100%;
}

.footer-container {
	margin-top: 20px;
    position: absolute;
    bottom: 0;
    max-height: 300px;
}

.navigation-container {
    padding-bottom: 18px;
}

.navigation-top {
	width: 100%;
	text-align: right;
	padding-top: 10px;
    padding-bottom: 9px;
}

.navigation-bottom {
	width: 100%;
	/*overflow: auto;*/
	overflow: visible;
	padding-top: 17px;
    /*margin-bottom: 18px;*/
}

.footer-bottom {
	width: 100%;
	text-align: center;
	padding-top: 20px;
    padding-bottom: 18px;
}

.logo-container {
	max-width: 19%;
}

.links-container {
	max-width: 80%;
	height: 80px;
    display: table;
}

.links-container > div {
	display: table-cell;
	vertical-align: middle;
}

.navigation-container .menu-item {
	display: inline;
    padding-right: 3%;
    position: relative;
}

.footer-container .menu-item {
	display: list-item;
}

.navigation-container ul.menu {
	text-align: right;
}

.navigation-container ul.menu > .menu-item {
    /*display: inline-block;*/
    display: inline-table;
    height: 100%;
}

.navigation-container ul.menu > .menu-item a {
	/*display: table-cell;*/
    vertical-align: middle;
}

.navigation-container nav {
	display: block;
	height: 100%;
}

.navigation-container nav > .menu {
	height: 100%;
    padding-top: 29px;
}

.navigation-container ul.menu .menu {
	display: none;
}

@media only screen and (min-width: 780px){
    .navigation-container ul.menu li:hover > .menu {
        display: block;
        width: auto;
        position: absolute;
        left: 0;
        /*top: 30px;*/
        top: 80%;
        z-index: 1;

        border: 1px solid black;
        border-top: 4px solid #f98a43;

        padding-top: 10px;
        padding-bottom: 6px;
        padding-left: 10px;
        padding-right: 30px;
        margin-bottom: 2px;
        background-color: white;

    }

    .navigation-container ul.menu li:hover > .menu li {
        margin: 0;
        padding: 0;

        width: 220px;
        display: block;
        text-align: left;

        padding: 12px 0 8px 0;
        border-bottom: 1px solid black;
    }

    .navigation-container ul.menu li:hover > .menu li:last-child {
        border-bottom: none;
    }
}

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

div.enquire-container {
	display: table;
	padding: 0;
}

div.enquire-container .btn {
	margin: 0;
    margin-top: 6%;
    margin-left: 4%;
}

div.enquire-container .btn:first-child {
	margin-left: 0;
}

.enquire-cell {
	display: table-cell;
}

/* --- Products & Services View --- */

.views-field.views-field-field-prod-display-image img {
	width: 100%;
	height: auto;
}

.view-products-services .views-col {
	padding-left: 15px;
	padding-right: 15px;
}

.view-products-services .view-header {
	margin-bottom: 40px;
	font-size: 1.188em;
    letter-spacing: -0.04em;
    /*font-weight: 800;*/
    font-weight: 500;
}

.depot-locations-view.view-content-g-map {
	position: relative;
    height: 0;
    min-height: 200px;
    max-height: 350px;
    width: 100%;
    padding-bottom: 34%;
    margin-top: 50px;
}

.depot-locations-view.view-content-g-map #map {
	overflow: hidden;
    transform: translateZ(0px);
    background-color: rgb(229, 227, 223);

        position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.depot-location-field-container .border-box {
	padding: 13px 0 13px 0;
    border-top: 1px solid black;
    width: 98%;
}

.otr-location-field-container {
    border-bottom: 1px solid black;
        padding-top: 10px;
    padding-bottom: 20px;
}

.views-row:last-child .depot-location-field-container .border-box {
	border-bottom: 1px solid black;
}

.views-row:nth-child(2n-1) .depot-location-field-container .border-box {
    margin-right: 2%;
}

.views-row:nth-child(2n) .depot-location-field-container .border-box {
	margin-left: 2%;
}

@media (min-width: 768px) {
    .views-row:nth-last-child(2) .depot-location-field-container .border-box {
        border-bottom: 1px solid black;
    }
}

@media screen and (max-width: 768px) {
    .views-row:nth-child(2n) .depot-location-field-container .border-box {
        margin-left: 0;
    }
}

.depot-heading-paragraph {
    padding-left: 20px;
}

/* HOMEPAGE SLIDER */
.slick--view--slideshow.slick--view--slideshow--block-1 h2.slide__title {
    display: none;
}

.slide-nav.slideshow-nav-item {
    padding-bottom: 5px;
    padding-top: 5px;
}

.slide-nav.slideshow-nav-item p {
   letter-spacing: -0.04em;
    font-weight: 700;
    margin: 0;
    font-size: 01.2em;
}

.slick--view--slideshow.slick--view--slideshow--block-1 {
	/*max-width: 960px;*/
    max-width: 1170px;
    /*max-width: 100%;*/
	margin: 0 auto;
}

.slick--view--slideshow .slide__media {
    /*max-height: 710px;*/
    max-height: 620px;
}

.slick--view--slideshow .slide__media img {
	width: 100%;
	height: auto;
	/*max-height: 400px;*/
    min-height: 100%;
}

.slick--view--slideshow .slide__media::after {
	content: '';
    /* width: 900px; */
    /* height: 900px; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slick--view--slideshow .slide__content {
	position: relative;
}

.slick--view--slideshow .slide__caption {
	position: absolute;
    top: 30%;
    bottom: 0;
    left: 10%;
}

/* ---- ---------*/
#contact-message-order-form-form .form-type-textfield label, #contact-message-general-enquiry-form .form-type-textfield label{
    clear: right;
    width: 100%;
}

#contact-message-order-form-form, #contact-message-general-enquiry-form {
    overflow: auto;
}

#contact-message-order-form-form .field--name-field-of-purchase-order-number {
    width: 100% !important;
    margin-bottom: 40px;
}

#contact-message-order-form-form .field--name-field-of-standard-diesel {
    position: relative;
}

#contact-message-order-form-form .field--name-field-of-standard-diesel:before {
    content: 'Fuel Required';
    font-weight: 700;
    position: absolute;
    top: -20px;
}

#contact-message-order-form-form .form-type-number label, #contact-message-general-enquiry-form .form-type-number label {
    display: block;
}

#contact-message-order-form-form .form-wrapper, #contact-message-general-enquiry-form .form-wrapper {
    width: 50%;
    float: left;
}

#contact-message-order-form-form .captcha, #contact-message-general-enquiry-form .captcha {
    width: 100%;
}

@media screen and (max-width: 760px){
    #contact-message-order-form-form .form-wrapper, #contact-message-general-enquiry-form .form-wrapper {
        width: 100%;
        float: none;
        padding: 0 4%;
    }

    #contact-message-order-form-form .form-wrapper input, #contact-message-general-enquiry-form .form-wrapper input {
        max-width: 100%;
    }
}

#contact-message-order-form-form .field--widget-string-textarea, #contact-message-general-enquiry-form .field--widget-string-textarea {
    width: 100%;
}

/* ---- ---- */
.filter-your-results .option {
    border: 1px solid black;
    border-radius: 20px;
    padding: 12px;
    text-align: center;
}

.filter-your-results .option.active {
    background-color: black;
    color: white;
}

.enquire-container.enquire-mobile {
    display: none;
    margin-bottom: 20px;
}

.enquire-container.enquire-mobile a {
    width: 49%;
    margin: 0;
    margin-left: .5%;
}

.enquire-container.enquire-mobile {
    /*display: block;*/
    margin: 0 auto;
    margin-bottom: 17px;
}

span.mobile-only {
    display: none;
}

.links-container nav > .menu {
    padding-right: 50px;
}

@media only screen and (max-width: 1200px){
    div.enquire-container {
        display: none;
    }

    .enquire-container.enquire-mobile {
        display: block;
    }
}

@media only screen and (max-width: 1180px){
    .navigation-bottom .layout-container {
        margin-left: 20px;
    }
}

@media only screen and (max-width: 1024px){
    .slide__constrained {
        min-height: initial;
        padding-top: 0;
        overflow: auto;
    }
}

@media only screen and (max-width: 910px){

    .navigation-container {
        margin-bottom: 20px;
    }

    .slick--view--slideshow .slide__caption {
        top: 10%;
    }

    .navigation-bottom .logo-container {
        max-width: 180px;
    }
}

@media only screen and (max-width: 827px){
     .slide__constrained {
        min-height: 0;
        padding-top: 0;
        overflow: auto;
        padding: 0;
    }

    .grid .field__items > .field__item {
        width: 49% !important;
    }

    .slideshow-navigation {
        bottom: -40px;
    }

    .field.field--name-field-cb-captions {
        margin-top: 40px;
    }

    .navigation-container .navigation-top a {
        display: inline-block;
    }

    div.bb-block-title h1 {
        font-size: 1.75em;
    }

    .view-header, .view-footer, article .node__content {
        padding-left: 10px;
        padding-right: 10px;
    }

    div.cols-3 .views-col {
        width: 100% !important;
    }

    .depot-location-field-container .col-xs-12.col-sm-4 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 790px){

    .latest-article-image-container > img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    img.bb-block-image {
        margin: 0;
    }

    div.bb-block-title {
        bottom: 45%;
    }

    span.mobile-only {
        display: inline-block !important;
    }

    .navigation-bottom .layout-container {
        margin-left: 0;
    }

    .navigation-bottom.row {
        margin: 0;
    }

    /* --- MOBILE MENU --- */
    .region.region-header {
        position: absolute;
        z-index: 99;
        width: 91%;
        right: -1px;
        /*top: 87%;*/
        top: 30%;
        background-color: white;
        border-radius: 10px 0px 0px 10px;
        border: 1px solid orange;
        padding-left: 30px;
    }

    .navigation-container ul.menu > .menu-item {
        display: list-item;
        list-style: inherit;
        height: 100%;
    }

    .navigation-container ul.menu .menu {
        display: block;
    }

    #block-reliable-main-menu {
        display: block;
    }

    .links-container span {
        position: absolute;
        right: 30px;
        top: -5px;
    }

    .links-container {
        width: 100% !important;
        max-width: 100%;
        top: 154px;
        position: absolute !important;
        z-index: 9;
    }

    .links-container.mobile-menu-active {
        z-index: 11;
    }

    .logo-container {
        z-index: 10;
    }

    /* --- --- */

    #block-reliable-main-menu {
        /*display: none;*/
    }

    .region.region-header{
        display: none;
    }

    .navigation-container .site-logo img {
        /*width: 165px;*/
        max-height: none;
    }

    .logo-container {
        max-width: none;
    }

    .filter-your-results {
        margin-bottom: 40px;
        overflow: auto;
    }

    #block-footerlogo img {
        max-width: 160px;
        margin: 0 auto;
        display: block;
        padding-top: 50px;
    }

    html .slide__caption h3 {
        padding: 0;
        font-weight: 300;
    }

    .slick--view--slideshow .slide__caption {
        top: 0;
        bottom: 0px;
        overflow: hidden;
    }

    .slideshow-navigation {
        display: none;
    }

    .field.field--name-field-cb-captions {
        margin-top: 0;
    }

    .slideshow-whitewash, .slick--view--slideshow .slide__media::after{
        background: rgba(255,255,255,.8) !important;
    }

    .slide__caption p {
        height: 16px;
        padding: 0;
        margin: 0;
    }

    .grid.cs-style-1 {
        padding-bottom: 0;
    }

    .footer-promo .promo-container {
        width: 48%;
        height: 50px;
        margin-bottom: 30px;
    }

    .footer-promo .promo-container:nth-child(3n) {
        width: 100%;
    }
}

@media only screen and (max-width: 632px){
    .grid .field__items > .field__item {
        width: 95% !important;
    }

    html .slide__caption h3 {
        font-size: .8em !important;
        line-height: .9em;
    }

    .slide__caption p {
        height: 0;
    }

    .region-footer nav > ul.menu {
        -moz-column-count: 2;
       -webkit-column-count: 2;
       column-count: 2;
    }

    .navigation-top .layout-container {
        padding-right: 20px;
    }
}

/* Retail locations styling */

  .postcode-input {
    position: relative;
  }
  #postcode {
    font-family: 'Open Sans', Helvetica, Arial, Tahoma, sans-serif;
    font-weight: 200;
    border: none;
    border-bottom: 2px solid #606060;
    padding: 10px 0;
    font-size: 24px;
    width: 100%;
    outline: none;
    position: relative;
    color: #606060;
  }

  .postcode-input .glyphicon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #606060;
  }

  .view-otr-locations .view-filters {
    padding: 0;
  }

  .filter-your-results h3 {
    color: #343434;
    font-size: 16px;
    margin-bottom: 30px;
  }

  .view-otr-locations .view-filters h5 {
    font-weight: bold;
    line-height: 20px;
  }

  .otr-location-field-container {
    border-bottom: 1px solid #e8e8e8;
    position: relative;
  }

  .otr-location-field-container a {
    font-weight: 800;
    color: #202020;
    font-size: 12px;
    /*position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);*/
  }

  .otr-location-field-container a .circle span {
    top: 0;
    font-size: 8px;
  }

  @media screen and (max-width: 610px){
    .otr-location-field-container a {
        /*position: static;*/
    }
  }

  @media screen and (max-width: 388px){
    .otr-location-field-container a {
        /*font-size: 9px;*/
    }
  }

  .filter-your-results .option {
    border: 1px solid #343434;
    border-radius: 20px;
    padding: 12px;
    color: #343434;
    text-align: center;
    font-size: 12px;
    margin-bottom: 15px;
    width: 48%;
  }

  .filter-your-results .option:hover {
    cursor: pointer;
    background: #343434;
    color: #fff;
  }

  .filter-your-results .option:nth-child(odd) {
    margin-left: 2%;
  }

  .filter-your-results .option:nth-child(even) {
    margin-right: 2%;
  }

  .filter-your-results .option.active {
    background-color: #343434;
  }

  .otr-location-postcode{
    display: none;
    color: #343434;
  }

  .otr-location-postcode > div {
    border-bottom: 1px solid #e8e8e8;
    margin-left: 0;
  }

  .otr-location-postcode.active {
    display: block;
  }

   .otr-location-postcode h2 {
      font-size: 20px;
      color: #343434;
      display: inline-block;
      margin-right: 5px;
    }

   .otr-location-postcode span {
     font-size: 20px;
     font-weight: 200;
   }

   .view-otr-locations .views-row {
     visibility: hidden;
     opacity: 0;
     height: 0;
     transition: opacity .5s linear;
   }

   .view-otr-locations .views-row.active {
     visibility: visible;
     height: auto;
     opacity: 1;
   }

   .hideme {
     display: none !important;
   }

   #showMoreLocations {
     border: none;
     background: none;
     color: #ea762e;
     margin: 15px 0;
     outline: none;
   }

  #showMoreLocations:hover {
    color: #000;
  }

  #showMoreLocations .btn-text {
    display: inline-block;
  }

  #showMoreLocations .glyphicon {
    display: inline-block;
    font-size: 10px;
    margin-left: 5px;
  }

