body{
  font-family: 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a:hover,
a:focus
{
  text-decoration:underline;
}

h1,h2,h3,h4,h5,h6
{
  font-family: 'Roboto Condensed', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* social links */

.social-links {
  list-style-type: none;
  padding: 0;
}
.social-links li {
  display: inline;
}
.social-links li a {
  display: inline-block;
  width: 30px;
  margin: 0 2px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: white;
  font-size: 16px;
  border-radius: 20px;
}
.social-links li.twitter a {
  background: #00aced;
}
.social-links li.facebook a {
  background: #3b5998;
}
.social-links li.linkedin a {
  background: #007bb6;
}
.contact-details {
  font-size: 18px;
  font-weight: bold;
  color: black;
  padding-top: 10px;
}

#page-wrap {
  position: relative;
  z-index: 2;
}
#header {
  color: white;
  background-color: white;
}
#header .logo {
background: black;
}
@media (min-width: 768px) and (max-width: 1200px) {
  #header .logo {
    float: none !important;
  }
}
.header-icons-wrapper {
  padding-top: 32px;
}
.search-button {
  padding-top: 1px;
}

/* primary links */

#primary-links {
  background-color: #000000;
}
#header,
#primary-links,
.contact-details.visible-xs,
.header-banner {
  position: relative;
  z-index: 500;
}

@media (max-width: 767px){
nav#primary-links{
position:relative;  
background-color: #fff;
}
}

.navbar-nav
{
  clear:both;
}

#offcanvas-container {
  padding-top: 15px;
  background: #ffffff;
/*  min-height: 360px; */
}

/* Avoid sidebar not displaying correctly on mobile screens:
 * Pages with content not longer than the sidebar cause the sidebar
 * to be partially hidden
 * */
@media(max-width: 768px) {
  #offcanvas-container {
    min-height: 600px;
  }
}

aside .block {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: 0 15px 15px;
}

aside .contact-page-sbar-block {
  padding: 0;
}

.contact-page-sbar-block a {
    word-wrap: break-word;
}

aside .block:before {}
aside .block:after {}
.sec-nav .menu {
  list-style-type: none;
  padding: 0;
  font-weight: 700;
}

.sec-nav .menu li a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-size:18px;
}

.sec-nav .menu li a:hover,
.sec-nav .menu li a:focus{
  color: #222222;
  text-decoration:none;
}

.sec-nav .menu .menu a{
  padding-left:40px;
}

.header-banner {
  position: relative;
  padding: 0 20px;
  margin-bottom: 0px;
}
.header-banner .section-title {
  position: relative;
  z-index: 3;
  margin: 40px 280px 40px 0;
  padding: 0 0 12px 0;
  color: white;
  font-size: 49.98px;
  background: url(../img/section-title-underline.png) 0 100% no-repeat;
}
.header-banner h1 {
  color: black;
}
.front .header-banner {
  color: white;
  text-align: center;
}

.front.not-logged-in .header-banner {}
.front .header-banner .banner-content {}
.front .header-banner .banner-content h1 {
  margin-bottom: 20px;
}

.front .header-banner .banner-content .btn {}
.front .header-banner .promo-box {
  color: black;
}

.front.logged-in .header-banner .banner-content {}
.promo-box h2 {
  text-transform: uppercase;
  margin-top: 0;
  font-weight: 800;
}

.promo-box p:last-child {
  margin: 0;
}

/* landing page list */

#landing-page-list {
  margin-top: 20px;
}

#landing-page-list .view-content a {
  background-color: #373737;
  color: #FFFFFF;
  display: block;
  padding: 3px 30px 23px 30px;
  margin-bottom: 20px;
}

#landing-page-list .view-content a h2 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* accreditations */

.accreditations {
  padding-top:40px;
  padding-bottom:45px;  
  text-align: center;
}

.accreditations img {
  margin: 10px;
}

/*.accreditations img {
  margin: 10px;
  height: auto;
  width: 130px;
}*/

.accreditations img a {
  margin: 10px;
}
.accreditations img a img {
  margin: 0;
}

.accreditations a img:hover
{
 opacity:0.3;
}

  /* Remove additional white space on
    accreditations on all pages except front page */
    .not-front .accreditations {
      padding-top: 0px;
    }
  

/* footer */

footer #secondary-links,
footer #footer-bottom {
  background: #333333;
  color: white;
}
footer #footer-bottom {
  padding: 20px 0;
  font-weight: 700;
  font-size: 16px;
}
footer #footer-bottom span.phone,
footer #footer-bottom span.email {
  display: block;
}
footer #footer-bottom .social-links {
  margin-top: 20px;
}
footer #footer-bottom .box {
  margin-bottom: 20px;
}
footer #footer-bottom .box.map {
  text-align: center;
}
footer #secondary-links {
  margin: 0;
  font-size: 12px;
  padding-top: 20px;
}
footer #secondary-links .navbar-collapse {
  display: block;
  height: inherit !important;
}
footer .logo img {
  padding-top: 12px;
}
.front section h1 {
  font-weight: 800;
}
.welcome h1 {
  line-height: 32px;
  margin-bottom: 30px;
}
.welcome h1:after {}
.welcome strong,
.welcome b {
  font-weight: 800;
}
.nbs-flexisel-container {
  padding-left: 40px;
  padding-right: 40px;
}
.nbs-flexisel-container:before,
.nbs-flexisel-container:after {
  content: " ";
  display: table;
}
.nbs-flexisel-container:after {
  clear: both;
}
.nbs-flexisel-container .nbs-flexisel-nav-right,
.nbs-flexisel-container .nbs-flexisel-nav-left {
  color: #cccccc;
  font-size: 50px;
  position: absolute;
  top: 40% !important;
  padding: 0 10px;
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.nbs-flexisel-container .nbs-flexisel-nav-right:hover,
.nbs-flexisel-container .nbs-flexisel-nav-left:hover {
  /*color: #81c026;*/
}
.nbs-flexisel-container .nbs-flexisel-nav-right {
  right: -10px;
}
.nbs-flexisel-container .nbs-flexisel-nav-left {
  left: -10px;
}

.promoted-services .callout article a {
  display: block;
  position: relative;
  color: #222222;
}

.promoted-services .callout article a h2 {
  padding-bottom: 10px;
}
.added-value {
  text-align: center;
}
.added-value h1 {
  color: white;
  margin: 0 0 30px 0;
}
.added-value .nbs-flexisel-inner {
  padding-top: 30px;
}
.added-value .callout {
  position: relative;
}
.added-value .callout:after {
  content: '\f005';
  font-family: 'FontAwesome';
  display: block;
  position: absolute;
  top: -30px;
  left: 50%;
  margin-left: -30px;
  width: 60px;
  height: 60px;
  line-height: 55px;
  text-align: center;
  font-size: 25px;
  background: #ffffff;
  border: 4px solid #cccccc;
  border-radius: 30px;
}
.added-value article {
  position: relative;
  margin: 0 10px;
  padding: 30px 15px;
  background: #ffffff;
}
.added-value article:before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -1px;
  content: '';
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: #81c026 transparent transparent transparent;
}
.added-value article:after {
  position: absolute;
  z-index: 3;
  top: -1px;
  left: -1px;
  content: '';
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent #cccccc transparent;
}
.added-value article h2 {
  text-transform: uppercase;
}
.added-value .nbs-flexisel-nav-right:hover,
.added-value .nbs-flexisel-nav-left:hover {
  color: #ffffff;
}

.news-feeds {
  padding-top: 25px;
}

.news-feeds h2.title {
  margin-bottom: 30px;
  color:#646464;
  font-size:26px; 
}

.news-feeds h2.title{
padding-bottom: 20px;
margin-bottom: 20px;
color: #646464;
font-size: 26px;
border-bottom: 1px solid;
}

.news-feeds h2.title i {
  color: #555555;
}
.news-feeds .item {
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.news-feeds .item h2 {
  margin-bottom:0;
}

#page-wrap .news-feeds .item h2 a:hover {
  color: #000000;
}
.news-feeds .item .date {
  font-weight: 400;
  font-size:16px;
}

.news-feeds .publications ul {
  list-style-type: none;
  padding: 0;
}

.news-feeds .publications ul h2 {
  margin: 0;
}
.staff-slider {}
.staff-slider .item img {
 border:5px solid #ffffff;
  -webkit-box-shadow: 6px 13px 9px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 6px 13px 9 rgba(0, 0, 0, 0.2);
    box-shadow: 6px 13px 9px rgba(0, 0, 0, 0.2);
}
.staff-slider .item h3 {
  margin-bottom: 5px;
}
.page-contact .header-banner .section-title {
  margin-right: 400px;
}

@media (max-width: 767px) {
  #banner-image {
    padding-top: 50px;
  }
  #primary-links {
    position: absolute;
    top: 0;
    width: 100%;
  }
    
  .contact-details.visible-xs {
    background: #000;
    border-color: rgba(0, 0, 0, 0.35);
  }
   
.visible-xs .contact-details a,
.visible-xs .contact-details .email,
.visible-xs .contact-details .phone
{
  color: #ffffff;
  font-weight:bold;
  background-color:#000000;
}

.visible-xs .contact-details .fa
{
  padding-right:10px;
}
  
  
  .staff-slider .item {
    margin-bottom: 15px;
    clear: both;
  }
  .staff-slider .item a {
    color: #222222;
  }
  .staff-slider .item a:hover {
    /*color: #81c026;*/
  }
  .staff-slider .item img {
    width: 20%;
  }
  
  .staff-slider .item h3,
  .staff-slider .item span {
    width: 75%;
    margin-left: 5%;
    float: right;
  }
  .contact-details.visible-xs .btn {
    font-size: 10px;
    font-weight: 400;
  }
  #m-nav-helper .btn-default {
    border-color: #505050;
  }
}
@media (min-width: 768px) {
  #banner-image {
  }
  #header {
    padding: 20px 0 10px;
  }
  #header .logo {
    margin-right: 60px;
  }
  #header .social-links {
    margin: 0 0 0 30px;
  }
  #header .contact-details {
    line-height: 36px;
  }
  #header .contact-details a {
    margin-left: 20px;
  }
  #primary-links {}
  #primary-links .navbar-right .btn {
    margin-top: 10px;
  }
  footer #footer-bottom {
    padding: 35px 0;
  }
  .header-banner {
    padding: 20px 0px;
  }
  .header-banner .banner-content {}
  .header-banner .banner-content h1 {
    margin-bottom: 20px;
    font-size: 49.98px;
  }
  .front section {}
  .front .header-banner .promo-box:before,
  .front .header-banner .promo-box:after {
    content: " ";
    display: table;
  }
  .front .header-banner .promo-box:after {
    clear: both;
  }
  .front .header-banner .promo-box h2 {
    font-size: 32px;
  }
  .front .header-banner .promo-box p {
    margin: 0;
  }
  .front .header-banner .promo-box h2,
  .front .header-banner .promo-box .intro {}
  .front .header-banner .promo-box .btn {
    margin-top: 15px;
  }
  .staff-slider {
    text-align: center;
  }
  .staff-slider h1 {
    margin-bottom: 30px;
  }
  .staff-slider .item {
    display: inline;
    margin: 10px;
  }
  .staff-slider .item a {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 200px;
    height: 200px;
  }
  
  .staff-slider .item a:after {
    content: '';
    position: absolute;
    z-index: 3;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    opacity: 0.5;
    display: none;
  }
  .staff-slider .item a img {
    width: 100%;
    height: auto;
  }
  .staff-slider .item a h3,
  .staff-slider .item a span {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
  }
  .staff-slider .item a h3 {
    bottom: 50%;
    margin: 0;
  }
  .staff-slider .item a span {
    top: 50%;
  }
  .staff-slider .item a:hover:after,
  .staff-slider .item a:focus:after,
  .staff-slider .item a:hover h3,
   .staff-slider .item a:focus h3,
  .staff-slider .item a:hover span,
  .staff-slider .item a:focus span {
    display: block;
    text-decoration:underline;
  }
}
@media (min-width: 992px) {
  #header {
    padding: 20px 0 20px;
  }
  footer #footer-bottom .box {
    margin-bottom: 0;
  }
  .welcome { }
  .welcome h1 {
    line-height: 32px;
  }
  .welcome h1:after {
  }
  .front section {}
}

@media (min-width: 768px) and (max-width: 1200px) {
  #header .contact-details {
    padding-left: 20px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .header-icons-wrapper {
    float: left !important;
    padding-left: 20px;
    padding-top: 22px;
  }

  #header .portal-login-button {
    padding-top: 15px;
  }

  .search-button {
    padding-top: 11px;  
    padding-left: 10px;
  }
}

/******************************************************************************/
/* NORMALISED STYLES */
/******************************************************************************/

/* Miscellaneous items go here */

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

  /* mobile modal window */
  .modal {
    z-index: 10409;
  }

  /* Add margin to left side of mobile search icon */
  .visible-xs.navbar-utilities {
    margin-left: 5px;
  }    

  @media (max-width: 767px){
    .navbar-default .navbar-nav > li > a {
      border-bottom:1px solid #cccccc;
    }
  }

  /* Mobile device: accordion main menu */
    .navbar-utilities .btn {
      background-color: #000;
    } 

    .navbar-collapse .navbar-nav a {
      border-bottom: none !important;
    }
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 18px !important;
  }
}

/* Breadcrumbs */
  .breadcrumbs .breadcrumb li a:hover,
  .breadcrumbs .breadcrumb li a:focus{
    text-decoration: underline;
  }

/* Sidebar */

/* Services callouts/blocks */

  .callout.col-md-3 {
    margin-bottom: 20px;
  }

  .promoted-services .callout article {
    min-height: 175px;
  }

  .callout.col-md-3:nth-child(4n+5) {
   clear: left;
  }


/**** //inner pages *****/

/************************************************************************************/  
/*********************************** Resposive Carousel *****************************/
/************************************************************************************/

    #pw_lite_carousel {
      max-width: 1170px;
      margin-left: auto;
      margin-right: auto;
    }
    
    div#pw_lite-carousel-container {
      padding-left: 0;
      padding-right: 0;
    }    

    /* Text overlay */
    @media (min-width: 768px) {
    .owl-carousel .owl-item .no-image:before {
      content: '';
      display: block;
      width: 100%;
      padding-bottom: 33.333%;
    }
  }
    #pw_lite_carousel div.pw_lite-carousel-text-overlay {
      position: absolute;
      bottom: 130px;
      width: 750px;
      border-top: 0;
      color: white;
      padding: 30px;
      top: 20px;
      right: auto;
      font-size: 35px;
      line-height: 1;
      background-color: transparent;

    }    
    
    @media (max-width: 1200px){
      #pw_lite_carousel div.pw_lite-carousel-text-overlay{
        bottom:75px;
         top: 30px;
         font-size:30px;
         padding-left: 30px;
      }
    }
    
     @media (max-width: 992px){
      #pw_lite_carousel div.pw_lite-carousel-text-overlay{
         bottom:60px;
         top: 20px;
         font-size:28px;
         padding-left: 20px;
         right: 0px;
         left: 0px;
         width: 60%;
         padding: 0 30px;
         margin-left: 35px;
      }
    }

    @media (max-width: 768px) {
      .pw_lite-carousel-text-mobile {
        border-top: none !important;
        padding: 15px !important;
        margin-left: -15px;
        margin-right: -15px;
        width: auto !important;
      }
    }
   
    /* Carousel strapline */
      .carousel-slide-message {
        margin-bottom: 20px;
        background-color: rgba(0, 0, 0,0.5);
        padding: 30px;
        display: inline-block;
      }

      @media (min-width: 768px) and (max-width: 992px) {
        .carousel-slide-message {
          padding: 10px;
          line-height: 1.2em;
        } 
      } 

    /* Carousel link button / slide link */  
      .carousel-slide-link {
        color: #fff;
        padding: 10px 15px;
        font-size: 14px;
      }

    /* Buttons */
      #pw_lite_carousel .owl-buttons {
        display: none;
      }

    /* Pagination */
      #pw_lite_carousel .owl-pagination {
        position: absolute;
        top: auto;
        right: 0;
        left: auto;
        bottom: 0;
        width: 100%;
        margin: 0 auto;
      }

      #pw_lite-carousel-container #pw_lite_carousel .owl-pagination .owl-page span {
        opacity: 1 !important;
      }

      #pw_lite-carousel-container #pw_lite_carousel .owl-pagination .owl-page span:hover {
        background-color: gray;
      }
     
    @media(max-width: 992px) {
      #pw_lite_carousel .owl-controls {
        display: none !important;
      }
    }
   
    /* Remove gap at right of site caused by row class */
      .row.carousel-row-wrapper {
        margin-left: 0px;
        margin-right: 0px;
      }

   /* AO AO 15.8.14 */
   
   
   #pw_lite_carousel
   {
    max-width:100%;
   }
   
    .owl-item img {
    width: 100%;
  }
   
  /* header */ 
   
   #header
   {
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 600;
   }
   
   #header .logo
   {
    background:none;
   }
   
    #header .logo img:hover
    {
      opacity:0.7;
    }
   
   .phone,
   .email
   {
    float:left;
    clear:left;
    font-weight: 100;
   }
  
   .phone .fa-phone {
    margin-right: 20px;
   }

   .phone a
   {
    color:#000000;
   }
   
  @media (max-width: 767px){
      .phone,
      .email{
        float:none;
        padding:5px;
        }
  }
   
   #-header .email:hover,
   #-header .contact-details a:hover,
   #header .contact-details a:focus{
   color: #aaaaaa;
text-decoration: underline;
   }
    
   /* }*/
   /* search button */
   
   .search-button
   {
    padding-left:40px;
   }
   
   .search-button .btn-sm
   {
   padding:5px 12px 2px 12px;
   font-size:20px;
   border-radius: 3px;
   }
   
    .search-button .btn-sm:hover
    {
    background-color:#000000;
    border-color:#000000;
   }
   
   #header .search-button a,
   footer .search-button a{
    color:#ffffff;
   }
   
    /* portal-login-button button */
   
   .portal-login-button
   {
    margin-left:11px;
      padding:5px 0;
   font-size:20px;
   } 
   
   #header .portal-login-button .btn-sm{
    padding:7px 10px;
    text-decoration: none;
   }
   
   
   footer .portal-login-button
   {
    padding:6px 5px;
   }
     
   footer .portal-login-button .btn
   {
    padding-top:2px;
    margin-top:3px;
   }
   
     
   #header .portal-login-button a,
   footer .portal-login-button a{
    color:#ffffff;
    font-size:20px;
    font-family:'Roboto Condensed' , "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color:#646464;
    border-radius:3px;
   }
   
   #header .portal-login-button a:hover,
   footer .portal-login-button a:hover{
   background-color:#222222;
   }
   
   .fa-cloud:before{
    content: "\f0c2";
    font-family: 'FontAwesome';
    padding-left:7px;
   }
  
  .fa-cloud {
    display: inline !important;
  }

   /* footer search portal-login-button buttons */
   
   @media (min-width: 992px){
   footer .footer-search-portal-wrap
   {
    position:relative;
    top:80px;
    left:37px;
    overflow:auto;
   }
   }
   
   @media (min-width: 1200px){
   footer .footer-search-portal-wrap
   {
    position:relative;
    top:105px;
    left:44px;
    overflow:auto;
   }
   }
   
    @media (max-width: 992px){
   footer .footer-search-portal-wrap
   {
     padding-top:20px;
   }
   }
   
  /*social links */
  
  .social-link-block
{
  float:right;
  padding-top: 10px;
}

@media (max-width: 992px) {
  .social-link-block
{
  float:left;
  padding-left: 16px;
  margin-top:10px;
}
}
   
   #header .social-links li{
    padding-right:7px;
   }
   
   #header .social-links li a,
   footer .social-links li a {
    border-radius:2px;
    color:#ffffff;
   }
   
   #header .social-links li a:hover,
   #header .social-links li a:focus,
   footer .social-links li a:hover {
    border-radius:1px;
    color:#ffffff;
    opacity:0.3;
   }

    @media (min-width: 768px) and (max-width: 1200px) {
      #header .social-links {
        margin-left: 0px;
      }
    } 
 
 /* carousel */
 
  #pw_lite-carousel-container {
    width:100%;
    margin-bottom: -10px;
  }
      
 /* AO 15.8.14 /* main menu */
 
 .wrap-the-menu
 {
 position: absolute;
top: 30px;
 }
 
 .navbar-default .navbar-nav > .active-trail > a,
 .navbar-default .navbar-nav > .active > a:hover,
 .navbar-default .navbar-nav > .active-trail > a:hover,
 .navbar-default .navbar-nav > .active > a:focus,
 .navbar-default .navbar-nav > .active-trail > a:focus,
 .navbar-default .navbar-nav > li > a:hover,
 .navbar-default .navbar-nav > li > a:focus{
  color:#000000;
 }
 
 .navbar-nav > li > a
 {
  font-size:20px;
  text-transform:none;
 }
 
 /* banner */
  
 .banner-links {
    position:relative;
  }
 
 @media (max-width: 767px){
   .banner-links{
    display:none;
   }
  
 }

 
 .banner-links a
 {
  color:#ffffff;
  text-transform:uppercase;
  font-size:20px;
 }
 
  .banner-links a:hover{
    color:#000000;
  }
 
  .fa-send:before, .fa-paper-plane:before
  { 
  content: '\f1d8';
  font-family: 'FontAwesome';
  }
  
  .fa-comment:before
  { 
  content: '\f075';
  font-family: 'FontAwesome';
  }

 .fa-send:before, .fa-paper-plane:before,
 .fa-comment:before
 {
  padding-left:7px;
 }
 
/* front welcome and banner text */

 .welcome
{
  margin-top:40px;
}

@media(max-width: 768px) {
  .static-banner-welcome {
    margin-top: 30px;
  }
}

.welcome-inner
{
  padding-bottom:50px;
}

@media(max-width: 768px) {
  .welcome-inner  {
    padding-bottom:30px;
  }
}

.learn-more-wrapper
{
  margin-top:25px;
}

.learn-more {
  font-family: "Roboto Condensed","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 23px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.1;
}

.learn-more a:hover
{
  text-decoration:underline;
}
 
.fa-long-arrow-right:before
{
  content: "\f178";
  padding-right:7px;
  color:#000000;
}

 
 /* breadcrumbs */
  
 .breadcrumbs
 {
text-transform:none;
font-size:16px;
  background-color:transparent;
 }
 
 .breadcrumbs .breadcrumb{
 font-weight:700;
 top: -2px;
position: relative;
 }
 
 .breadcrumbs .breadcrumb > li + li:before
 {
  content:none;
 }
 
 .breadcrumbs .breadcrumb > li
 {
  margin-right: 15px;
 }
 
 .breadcrumbs .breadcrumb li a
 {
   color:#333333;
   padding:10px 15px 10px 0;
   border-right:1px solid;
 }
 
 @media (max-width: 767px){
 .breadcrumbs .breadcrumb li a
 {
  padding:0 15px 0 0;
 }
 }
 
 .breadcrumbs .breadcrumb > .active
 {
  opacity: 1;
 }
 
 .visible-xs #breadcrumbs a,
 .visible-xs #breadcrumbs a:active
 {
  color:#ffffff;
 }
 
.visible-xs #breadcrumbs .breadcrumb > .active
 {
  opacity: 1;
  text-decoration: none;
  background-color: #fff;
  padding: 2px 15px 4px 15px;
  border-radius: 5px;
 }
 
 
/* front services callouts */

.promoted-services-wrap
{
  background-color:#646464;
  padding-top:50px;
  padding-bottom:50px;
}

@media (max-width: 992px) {
  .promoted-services-wrap {
     padding-bottom: 20px;
  }
}

.promoted-services .callout article:before {
font-family: FontAwesome;
content: "\f12e";
font-size: 45px;
color: #b1b1b1;
}

@media (max-width: 767px){
  .promoted-services .callout article:before{
    display:none;
  }
}


.promoted-services .callout article a {
  color: #ffffff;
}

.promoted-services .callout article a:hover
{
  color:#000000;
}

.promoted-services .callout article .content {
  color:#b1b1b1;
  font-size:16px;
  padding-top:10px;
}

.wrap-article h2{
  margin-top:0;
}

.promoted-services .callout article
{
overflow: hidden;
margin-bottom: 20px;
position: relative;
height: auto;
min-height: 0px;
font-weight: 100;

}

/* staff slider */

.staff-slider
{
  margin:70px 0 40px 0;
}
  
.staff-slider .bar
{
height: 35px;
z-index: -1;
position: relative;
top: -95px;
}

@media (max-width: 767px){
  .staff-slider .bar{
    display:none;
  }
}

.staff-slider .item a h3 {
color: #000000;
top: 225px;
text-align: center;
font-weight: 800;
font-size: 23px;
text-transform: uppercase;
}

.staff-slider .item .position {
display: block;
top: 250px;
text-align:center;
font-weight: 500;
font-size: 16px;
}

@media (max-width: 767px) {
  .staff-slider .item a h3,
  .staff-slider .item .position
  {
    text-align:left;
  }
}

@media (max-width: 767px) {
  .staff-slider{
  margin:40px 0 0 0;
  }
}  

/* blog - news publications front page blocks */


.feed-wrap
{
  margin-right:20px;
  border-bottom: 1px solid;
  overflow:hidden;
  padding-bottom:10px;
  border: none;
}

.news-feeds .fa-rss:before,
.news-feeds .fa-globe:before,
.news-feeds .fa-cloud-download:before
{
  padding-left:5px;
}

.news-feeds .item h2{
font-size:20px;
text-transform:uppercase;
}

.news-feeds .item{
border-bottom: 1px solid #cccccc;
}

.news-feeds .item:last-child{
  border:none;
}

/* front secondary links */

#secondary-links .navbar-nav li
 {
  border-bottom:1px solid #cccccc;
  clear:left;
  float:left;
  width:100%;
 }
 
 #secondary-links .navbar-nav > li > a
 {
   font-weight: 400;
   padding-top:13px;
   padding-bottom:13px;
 }
 
 #secondary-links .navbar-nav{
  width:100%;
  padding-bottom: 40px;
 }
 
 #secondary-links .nav > li > a:hover,
 #secondary-links .nav > li > a:focus
 {
  text-decoration: underline;
 }

/* jump to top link */

.jump-to-top-link a
{
   background: url(../img/jump-to-top-off.png) center no-repeat;
   display:block;
  height: 149px;
  text-indent: -9999em;
  width: 32px;
  margin: 0 auto;
}

.jump-to-top-link a:hover
{
   background: url(../img/jump-to-top-on.png) center no-repeat;
}

/* Hide mobile link on desktop */
@media(min-width: 768px) { 
  .jump-mobile {
    display: none;
  }
}

/* Hide desktop link on mobile devices */
@media(max-width: 768px ) {
  .jump-desktop {
    display: none;
  }
}

/* footer map */

footer .box
{
  background-color:#ffffff;
  border-radius:5px;
  padding: 20px;
  margin-bottom: 70px;
}

footer .map{
  margin:10px 0;
  position:relative;
}

/*@media (max-width: 992px){
  footer .map{
    margin-bottom:40px;
  }
}*/

@media(max-width: 768px) {
  footer .box {
    border-radius: 0px;
  }
}

footer .map a{
  display:block;
  position:relative;
  z-index:1;
  
}

@media (min-width: 992px)
{
 footer .map a{
  float:left;
  margin-bottom: 10px;
 }
}

@media (max-width: 992px)
{
 footer .map a{
  text-align:center;
  width: 100%;
 }
}

footer .map a:hover:after
{ content: '';
position: absolute;
z-index: 3;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
opacity: 0.5;
}

@media (max-width: 992px){
footer .footer-search-portal-wrap{
  text-align:center;
}
}

footer span.search-button a
{
  /*margin-top:10px;*/
}

/* page contact mobile */

@media (max-width: 778px){
  .mobile-contact-map{
    margin-top:15px;
  }
}

footer .map a {
  display: inline-block;
}

footer .map img {
  display: inline-block;
  width: 100%;
}

@media (max-width: 1200px) {
  footer .map img {
    padding-top: 12px;
  } 
}

/* Add margin to top of map box / map box */
@media(min-width: 992px) {
  footer .box {
   margin-top: 60px;
  }
}

/* Footer left side of map content / map left / left of map */

footer span.footer-phone, footer span.email, footer .footer-social-link-wrap {
  clear: both;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
}

footer ul.social-links {
 /* float: right;*/
}



@media (max-width: 1200px) {
  footer ul.social-links {
    float: none;
  }
}


@media (max-width: 992px) {
  footer ul.social-links {
    /*float: left;*/
    padding-bottom: 0px;
  }
}

footer .search-button {
  display: block;
 /* float: right;*/
  clear: both;
}

@media(max-width: 1200px) {
  footer .search-button  {
    float: none;
    margin-bottom: 10px;
  } 
}


@media(max-width: 992px) {
  footer .search-button {  
    float: none;
    padding-left: 0px;
  }
}

footer .footer-social-link-wrap {
  /*padding-bottom: 50px;*/
}

@media(max-width: 1200px) {
  footer .footer-social-link-wrap {
    padding-bottom: 0px;
  } 
}

@media(max-width: 992px) {
  footer .footer-social-link-wrap {
    padding-bottom: 0px;
  }
}

/*footer .email a {
  display: inline-block;
  word-wrap: break-word;
}*/

/*
@media (min-width: 992px) and (max-width: 1200px) {
  footer .email a {
    width: 230px;
    display: inline-block;
    word-wrap: break-word;
    padding-right: 50px;
  }
}
*/


footer .email .fa-envelope {
  display: inline;
}

footer .fa-phone:before, footer .fa-envelope:before {
  padding-right: 10px;
}

/* inner left sidebar block */

#sidebar-left .block
{
  background-color:#333333;
  padding:10px 0;
}

#sidebar-left .block h2.title
{
  border-bottom:1px solid #949494;
  padding-bottom:20px;
  margin-bottom:0;
  padding-left:20px;
  }

#sidebar-left .block h2.title a
{
  color:#ffffff;
}

#sidebar-left .block h2.title a:hover,
#sidebar-left .block h2.title a:focus{
  text-decoration:none;
}

#sidebar-left .block ul li{
  border-bottom:1px solid #949494;
  line-height:150%;
}

#sidebar-left .block ul li.expanded a{
  border-bottom:1px solid #949494;
}

#sidebar-left .block ul li:last-child
{
  border-bottom:none;
}

#sidebar-left .block ul li a:after
{
  content:">>";
  padding-left:10px; 
}

@media (max-width: 767px){
#sidebar-left .block ul li a:after{
display:none;
}  
}

#sidebar-left a.active-trail.active {
  text-decoration: underline
}

/* inner pages */

h1.page-title
{
  text-transform: none;
  font-size:45px;
  font-weight:400;
  margin-top:0;
}

/* layout */


/* main content */

#main #content-area .content .services-wrapper h2{
 font-size: 35px;
}

#main #content-area .content .services-wrapper a{
  color:#ffffff;
}

#main #content-area .content li:before {
font-family: 'FontAwesome';
content: '\f00c';
margin: 0 16px 0 -36px;
font-size: 20px;
padding-left: 5px;
}


/* Hide tick icons for all pagers (ensures ticks remain for everything else) */
#main #content-area .content .pager li:before i,
#main #content-area .content .pagination li:before {
  content: '';
}

#main #content-area .views-hide li:before,
#main #content-area .content ul.tabs li:before
{
  content:none;
}

#main #content-area .content li {
list-style-image: none;
list-style: none;
padding-bottom: 10px;
padding-left: 10px;
}

/* Display header titles inline with icons */
#main #content-area .content li h2{
  display:inline-block;
}

#main #content-area .content li h3{
  display:inline-block;
}

#main #content-area .content li h4{
  display:inline-block;
}

#main #content-area .content li h5{
  display:inline-block;
}

#main #content-area .content li h6{
  display:inline-block;
}

@media (max-width: 681px) {
  #main #content-area .content li h2{
    display:inline;
    padding:10px 0;
  }

  #main #content-area .content li h3{
    display:inline;
    padding:10px 0;
  }

  #main #content-area .content li h4{
    display:inline;
    padding:10px 0;
  }

  #main #content-area .content li h5{
    display:inline;
    padding:10px 0;
  }

  #main #content-area .content li h6{
    display:inline;
    padding:10px 0;
  }
}


/* buttons */

.btn
{
 border-radius: 3px;
}

.btn-sm
{
   border-radius: 2px;

}

.btn-group-sm > .btn {
padding: 8px 10px 8px 24px;
margin-bottom:20px;
font-size: 14px;
border-radius: 3px;
}

.btn-group-sm > .btn:before{
  content: "\f178";
  font-family: FontAwesome;
  padding-right:10px;
}

/* forms */

.form-control
{
  border-radius:0;
}

/* landing page list */

#landing-page-list .services-wrapper a {
padding-right: 115px;
border: 0;
background-color:#646464;
}

#landing-page-list a:hover,
#landing-page-list a:focus
{
text-decoration:none;
}

#landing-page-list .services-wrapper:after {
content: "\f12e";
font-family: FontAwesome;
font-size: 50px;
color: #ffffff;
position: relative;
top: -126px;
right: 50px;
float: right;
}

@media (max-width: 767px){
  #landing-page-list .services-wrapper:after {
    display:none;
  }
}

@media (max-width: 767px){
#landing-page-list .services-wrapper a {
padding-right:30px;
}
}

/* pager */

/* Search page results */
.section-search .pagination li:before{
    content:none !important;
}

/* News page pager  */
.page-news .pager li:before {
  content: none !important;
}


/* Increase space between main content and content beneath */
#content-area .content {
 /* min-height: 310px;*/
}


@media (max-width: 768px) {
  #m-nav-helper #breadcrumbs .breadcrumb > li {
    display: block;
    padding: 5px 5px 5px 0px
  }


  #m-nav-helper #breadcrumbs .breadcrumb > li.active {
    display: block;
    padding: 5px 5px 5px 5px
  }

}

/**************************************************
// Carousel fallback
// when the carousel is turned offthe default banner image and strapline
// is displayed
**************************************************/
  .banner-main-image {
    padding: 0;
    background-size: cover;
    background-position: 50% 50%;
    /*height: 400px;*/
  }


  .banner-main-image h1 {
    background-color: rgba(0,0,0,0.5);
    padding: 30px;
    margin-bottom: 35px;
    max-width: 720px;
    color: #fff;
    font-weight: 100;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 35px;
  }

  @media(max-width: 768px) {
    .banner-main-image h1 {
      font-size: 20px;
      padding: 10px;
      margin-bottom: 20px;
      width: auto;
      max-width: none;
      display: inline-block;
    }
  }

  .static-banner-slide-link {
    padding: 10px;
  }

  /* Adds padding to the inner content of the main banner image */
    .main-banner-padding {
      padding: 30px 0 110px 0;
    }

    @media(min-width: 1200px) {
      /** 
        * Hide a portion of the gallery image when over 1200px. Over 12
        * Over 1200px and the galleyr images look too big
        **/
          .carousel-row-wrapper {
            overflow: hidden;
            /*height: 400px;*/
          }

      /* Display the pagination on the far right, just above the main content */
        #pw_lite_carousel .owl-pagination {
          position: absolute;
          bottom: 0;
          top: auto;
          right: 0px;
          left: auto;
          z-index: 9;        
        }

        .owl-buttons {
          display: none;
        }

    }

    /** 
     * IE fixes 
     */

/*******************************************
 * IFA site specific styles
 * *****************************************/

  /* Business News page: position the text above the feed */
    .latest-news-feed #feedcontainer {
      position: relative;
    }

    #feedcontent-mixed {
      padding-top: 60px;
    }

    @media(max-width: 1200px) {
      #feedcontent-mixed {
        padding-top: 80px;
      }
    }


    @media(min-height: 400px) and (max-width: 500px) {
      #feedcontent-mixed {
        padding-top: 100px;
      }
    }

    @media(max-width: 400px) {
      #feedcontent-mixed {
        padding-top: 140px;
      }
    }

    .latest-news-feed .sub-statement {
      position: absolute;
      top: 0;
     }   

  /* Regulatory Statement */ 
     .reg-statement {
      padding-top: 40px;
      padding-bottom: 20px;
     }

  /* News page: remove defautl Google news feed styles */
    .block-pw_google_feeds .gfg-root {
      border: none;   
    }

    .block-pw_google_feeds .gfg-title {
      display: none;
   }

    .block-pw_google_feeds .gfg-root .gfg-entry .gf-result {
      padding-left: 0;
    }

    .block-pw_google_feeds .gfg-root .gfg-entry .gf-result .gf-title{
      color: black;
    }

    .block-pw_google_feeds .gfg-subtitle {
      background-color: transparent;
    }

    .block-pw_google_feeds .gfg-subtitle a {
      color: black;
    }


    .block-pw_google_feeds .gfg-listentry-odd {
      background-color: transparent;
    }  

/* Clear every 4th service for desktop screens 
and every 2nd service on tablet devices */
  @media(max-width: 992px) {
    .callout.col-md-3:nth-child(4n+3) {
      clear: left;
    }    
  } 

/* News page block fix */  
  .latest-news-feed .sub-statement {  
    position: absolute;  
    top: 0;  
    width: 100%;
  }
 
/* Center align services title and 
 * style for mobile devices
 * */  

  .services-title {
    text-size: 28px;
    color: white;
    text-align: center;
    margin-bottom: 25px;
  }

  @media(max-width: 768px) {
    .services-title {
      text-align: left;
      margin-left: 15px;
      margin-bottom: 25px;
    }

    .promoted-services-wrap {
      padding-top: 30px;
    }
  }

/* Staff profile page: clear profiles of each other */
  @media(min-width: 992px) {
    #staff-directory .view-content div:nth-child(3n+4) {
      clear: left;
    }    
  }

  @media(max-width: 991px) {
    #staff-directory .view-content div:nth-child(2n+3) {
      clear: left;
    }
  }

/* add some margin above the header email address in the header when no phone numebr exists */
    .email-spacer {
        margin-top: 35px;
    }

/**
 * Google plus icon
 */

  .social-links li.googleplus a {
    background-color: #dd4b39;
  }

/**
 * Wrap email address on mobile and tablet
 */
    .email-address-wrap {
        word-wrap: break-word;
    }

/**
 * Fix staff overlapping when more than 3 staff members are displayed on front page
 */
@media(min-width: 768px) {
  .staff-slider .item {
    display: inline-block;
    margin: 10px;
    min-height: 320px;
  }

  .staff-slider .item .position {
    top: 280px;
  }

}

  .staff-slider .bar {
    top: 0px;
  }

/**
* Staff intro > front page
*/
.staff-intro-wrapper {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .staff-intro-wrapper {
        margin-left: 20px;
    }
}

/**
 * Hidden text for WCAG: pass WCAG test for anchor link text.
 */
  .hidn-txt {
    display: none;
  }

/**
 * htag ammends: style heading to look when it was h2 tag
 */
  .front-service-heading {
    margin-top: 0px;
    font-size: 23px;
  }

/**
 * Modal window title: pull style from h4 to .modal-title
 */
  .modal-title {
    font-family: 'Roboto Condensed', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    color: inherit;
  }

/**
 * Latest Blog, Latest News and Publications on front page:
 *
 * maintain original style from h2
 */
  .fp-feeds {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 0;
  }

  .fp-feeds a:after {
    content: "\f178";
    font-family: 'FontAwesome';
    padding-left: 5px;
  }

  .publications .fp-feeds a:after {
    content: "\f019";
    font-family: 'FontAwesome';
  }

/**
 * Banner text:
 *
 * Maintain original style.
 */
  .banner-text-heading {
    display: inline-block;
    background-color: rgba(0,0,0,0.5);
    padding: 30px;
    margin-top: 10px;
    margin-bottom: 35px;
    max-width: 720px;
    color: #fff;
    font-weight: 100;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 35px;
  }

  @media (max-width: 768px) {
    .banner-text-heading{
      font-size: 20px;
      padding: 10px;
      margin-bottom: 20px;
      width: auto;
      max-width: none;
      display: inline-block;
    }
  }

/**
 * Sign up: maintain original style used when h2  
 */
 .sign-up-wrapper {
    font-family: "Roboto Condensed","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 23px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: inherit;
    font-weight: 700;
    line-height: 1.1;
  }

/**
 * User logged in > View profile on home page:
 *
 * Maintain original style but without redundant h2
 */
  .view-profile-icon {
    font-family: 'Roboto Condensed', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 23px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.1;
    color: inherit;
  }

/* Footer map toggle */
  .map-wrapper {
    text-align: center;
  }

  .map-wrapper .email {
    float: none;
  }

/**
 * Node and Comment unpublished status:
 *
 * background-color changed to pink with "unpublished" text underneath
 */
  .node-unpublished {
    background-color: #fff4f4;
    padding: 10px;
  }

  .unpublished {
    height: 0;
    overflow: visible;
    color: #d8d8d8;
    font-size: 75px;
    line-height: 1;
    font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    word-wrap: break-word;
  }

  .comment-unpublished:before {
    content: "unpublished";
    height: 0;
    overflow: visible;
    color: #d8d8d8;
    font-size: 35px;
    line-height: 1;
    font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
    text-transform: uppercase;
  }

/* a:hover to black on mobile carousel links */
  .carousel-slide-anchor-link {
    color: white;
  }
  .carousel-slide-anchor-link:focus {
    color: black;
  }


/**
 * Abstract the style attr for the mobile wrapping link
 */

/* Style used for wrapping div around the mobile link */
  .mobile-carousel-link-wrapper {
    display: block;
    width: auto !important;
    margin-left: -15px;
    margin-right: -15px;
    border-top: none !important;

  }

/* Extra padding displayed on background when no anchor tag added */
  .mobile-carousel-link-wrapper-padding {
    padding: 15px !important;
  }

/* Make link colour white, with padding so user can 'touch' link */
  .mobile-carousel-link-displayed {
    display: block;
    padding: 15px;
    color: white;
  }

/**
 * Set height of Main Banner images, so it matches the carousel
 */
  @media(min-width: 300px) {
    .main-banner-padding {
      padding: 0px 0 30px 0;
    }
  }

  @media(min-width: 500px) {
    .main-banner-padding {
      padding: 0px 0 70px 0;
    }
  }

  @media(min-width: 600px) {
    .main-banner-padding {
      padding: 10px 0 90px 0;
    }
  }

  @media(min-width: 700px) {
    .main-banner-padding {
      padding: 20px 0 120px 0;
    }
  }

  @media(min-width: 800px) {
    .main-banner-padding {
      padding: 0px 0 80px 0;
    }
  }

  @media(min-width: 900px) {
    .main-banner-padding {
      padding: 10px 0 100px 0;
    }
  }

  @media(min-width: 1000px) {
    .main-banner-padding {
      padding: 30px 0 120px 0;
    }
  }

  @media(min-width: 1100px) {
      .banner-main-image {
        padding-bottom: 2%;
      }
    }

  @media(min-width: 1200px) {
    .banner-main-image {
      padding-bottom: 5%;
    }
  }

  @media(min-width: 1300px) {
    .banner-main-image {
      padding-bottom: 7%;
    }
  }

  @media(min-width: 1400px) {
    .banner-main-image {
      padding-bottom: 9%;
    }
  }

  @media(min-width: 1500px) {
    .banner-main-image {
      padding-bottom: 10%;
    }
  }

  @media(min-width: 1600px) {
    .banner-main-image {
      padding-bottom: 12%;
    }
  }

  @media(min-width: 1700px) {
    .banner-main-image {
      padding-bottom: 13%;
    }
  }

  @media(min-width: 1800px) {
    .banner-main-image {
      padding-bottom: 14%;
    }
  }

  @media(min-width: 1900px) {
    .banner-main-image {
      padding-bottom: 15%;
    }
  }

  @media(min-width: 2000px) {
    .banner-main-image {
      padding-bottom: 16%;
    }
  }

  @media(min-width: 2100px) {
    .banner-main-image {
      padding-bottom: 17%;
    }
  }

  @media(min-width: 2200px) {
    .banner-main-image {
      padding-bottom: 18%;
    }
  }

  @media(min-width: 2300px) {
    .banner-main-image {
      padding-bottom: 18.5%;
    }
  }

  @media(min-width: 2400px) {
    .banner-main-image {
      padding-bottom: 19%;
    }
  }

  @media(min-width: 2500px) {
    .banner-main-image {
      padding-bottom: 20%;
    }
  }

/**
 * No Banner text and (no banner link button or link to node)
 *
 * Add padding just to show the banner image
 *
 * Starting from the widest screen to the smallest screen
 */

/* Widest */
  @media(min-width: 993px) {
    .no-banner-txt-or-link {
      padding: 170px;
    }
  }

  @media(min-width: 901px) and (max-width: 991px) {
    .no-banner-txt-or-link {
      padding: 140px;
    }
  }

  @media(min-width: 801px) and (max-width: 900px) {
    .no-banner-txt-or-link {
      padding: 140px;
    }
  }

  @media(min-width: 601px) and (max-width: 800px) {
    .no-banner-txt-or-link {
      padding: 120px;
    }
  }

  @media(min-width: 500px) and (max-width: 600px) {
    .no-banner-txt-or-link {
      padding: 60px;
      padding-bottom: 140px;
    }
  }

  @media(min-width: 41px) and (max-width: 499px) {
    .no-banner-txt-or-link {
      padding: 65px;
    }
  }

  @media(min-width: 301px) and (max-width: 400px) {
    .no-banner-txt-or-link {
      padding: 65px;
    }
  }

  /* Smallest */
  @media(min-width: 200px) and (max-width: 300px) {
    .no-banner-txt-or-link {
      padding: 50px;
    }
  }

  /* Display 'Tel' field correctly on the Contact page */
  .page-contact .webform-component-email input {
    float: none;
  }

/**
 * Staff profile: centre align staff profile on xs screens
 */

@media(max-width: 767px) {
  .section-staff-directory .page-title {
    text-align: center;
  }

  .staff-page-image {
    text-align: center;
  }

  .staff-profile-info-box {
    text-align: center;
    margin-top: 15px;
  }
}


@media (max-width: 768px) {
    #primary-links .navbar-brand img {
        max-width: 200px;
        max-height: 75px;
        padding-top: 2%;
    }

}

/* Additional space around mobile logo */

/* On navbar-header */
.navbar-header {
    margin: 0px 0px;
}

/* The anchor link */
#primary-links .navbar-brand {
    padding-top: 40px;
    padding-bottom: 40px;
    display: inline-block;
}

.navbar-brand {
    float: none;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    height: inherit;
}

/* The image */
@media (max-width: 768px) {
    #primary-links .navbar-brand img {
        max-width: inherit;
        max-height: inherit;
        padding-top: 0%;
        position: static;
        top: 0;
        transform: inherit;
    }
}

#primary-links .navbar-brand img {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 75px;
}

/* The mobile menu button wrapper */
.mobile-menu-icon-wrapper {
    position: relative;
    float: right;
    padding-top: 50px;
}

/* The mobile menu button */
.navbar-toggle {
    margin: 0;
    margin-right: 0%;
    padding: 20px;
}

/*
Hamburger menu
*/
.navbar-default .navbar-toggle {
  border-color: #000000!important;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #000000!important;
}
.mobile-menu-icon-wrapper {
  padding-bottom: 25px;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #dddddd!important;
}

/************************
## Staff group page
************************/
/*
 namespace the View:
 #pwf-group-id
*/

/* Staff group page */
.pwf-group-newline {
  clear: left;
  padding-top: 30px;
  padding-bottom: 0px;
  font-size: 23px;
}

/* Add rounded corners to staff group images */
.pwf-staff-group img {
  border-radius: 5px;
}

/* White space beneath each staff member */
#pwf-group-id .profile {
  margin-bottom: 20px;
  word-wrap: break-word;
}

/* Stylise staff member title */
#pwf-group-id h2 {
  font-weight: bold;
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Stylise staff member image */
#pwf-group-id img {
  padding: 4px;
  border: 1px solid #dddddd;
  border-radius: 10px;
}

/* Clear every 4th staff member so displays on newline */
@media (min-width: 992px) {
  #pwf-group-id .view-content div:nth-child(3n+4) {
    clear: left;
  }
}

/* Clear every 3rd staff member so displays on newline */
@media (min-width: 768px) and (max-width: 991px) {
  #pwf-group-id .view-content div:nth-child(2n+3) {
    clear: left;
  }
}

/* Scale staff member image on xs and sm screens */
@media (max-width: 991px) {
  #pwf-group-id .pwf-mobile-wrapper {
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* Display form elements neater, ie, date/time fields */
.webform-container-inline div,
.webform-container-inline div.form-item {
  display: inline-block;
  vertical-align: baseline;
}