/***
*** FULL HEADER ***
***/
  div#header_main {
      background:  #fff;
      z-index:  9999;
  }
  
  #top .logo a img {
      max-height: none !important;
      width: 157px;
      height: auto !important;
      bottom: 3px;
  }
  
  span.logo {
      max-height:  none !important;
      height:  auto !important;
      /* top: -18px; */
      bottom : -9px;
      position: absolute;
      width: 150px;
  }
  
  .logo a {
      max-height:  none !important;
  }
  
  #header_main .strapline {
      width: 25%;
      color: #223F71;
      position: absolute;
      /* top: 15px; */
      bottom: 0.3em;
      left: 165px;
      font-size: 2em;
      font-weight: 600;
      line-height: 1.1em;

  }
  
  span.logo ,
  #header_main h2 ,
  /* .header-scrolled .logo_shadow, */
  .logo_shadow ,
  .logo a img 
  .logo svg {
    transition: all 0.2s;
  }

  .logo svg {
    margin-left: 17px;
  }
  
  .header-scrolled .logo svg {
    margin-left: 7px;
  }
  
  .logo svg {
    margin-left: 17px;
  }
  
  .header-scrolled .logo svg {
    margin-left: 7px;
  }
  
  h1.main-title.entry-title {
      padding-top: 20px;
  }
  
  .logo_shadow {
    background-image : url(/wp-content/uploads/2018/07/Shadow.svg);
    position: absolute;
    bottom: -23px;
    height: 59px;
    width: 130px;
    background-size: cover;
  }
  
  .header-scrolled .logo_shadow {
    width : 90px;
    height: 35px;
    bottom: -17px;
    left: -8px;
  }
  
  
  /* Header Scrolled */
  
  .header-scrolled #avia2-menu a:hover {
    color: #eee !important;
  }
  
  .header-scrolled span.logo {
      top: 1px;
  }
  
  .header-scrolled .logo img {
      width: 72px !important;
  }
  
  .header-scrolled #header_main h2 {
      font-size: 1.2em;
      left: 90px;
      width: 200px;
      top: 10px;
  }
  
  .header-scrolled #avia2-menu a {
      color: #fff;
  }
  
  
  #top .av_minimal_header_shadow {
      box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.16);
  }
  
  /***
  *** FULL HEADER END ***
  ***/
  
  #header .logo img {
      padding: 5px;
  }
  
  #top #header_main {
    border: 0px;
  }
  
 
  /* IE Header Fixes */
  
  .avia-msie-11 .header-scrolled span.logo {
    left: 2px;
  }
  
  .avia-msie-11 span.logo {
    left: -10px;
  }
  
  .header-scrolled #header_main {
    border: 0px;
    padding: 3px 0px;
  }
  
  .home .header_bg {
    left : 100%;
  }
  
  .home .header-scrolled-full .header_bg ,
  .home .blz_scrolled .header_bg {
    left: 0;
    transition: left 0.5s;
  }
  
  
  #top .header-scrolled li a .avia-menu-text {
    font-size: 16px;
    transition: 0.1s;
  }
  
  #top #header_meta {
    border: 0px !important;
    padding: 5px 0px;
  }
  
  .header-scrolled #header_meta {
    background-color: #091F45;
  }
  
  nav.sub_menu ul li a {
    font-size: 16px;
    font-weight: 400;
  }
  
  nav.main_menu li.menu-item:nth-last-child(2) a {
    padding-right: 0px;
  }
  
  /* END Navigation / Header CSS*/
  
  /* Homepage CSS */
  
  .home .read-more-link a {
      color: #fff !important;
  }
  
  .heading-text p {
    font-size: 30px;
    line-height: normal;
    color: #fff;
    text-align: center;
    margin-top: 0px;
  }
  
  .heading-text {
    max-width: 70%;
    margin: 0 auto;
  }
  
  #top .blz_logo_icon .iconlist_icon {
      background-color: transparent;
  }
  
  .blz_logo_icon .iconlist-char::before {
      background-image: url('//scfsolutions.org.uk/wp-content/uploads/2018/04/SCFCircle.svg');
      content: '';
      height: 50px;
      width: 50px;
      display: block;
      margin: 7.5px auto;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
  }
  
  #top .blz_logo_icon.avia_start_animation {
      padding-bottom: 15px;
  }
  
  .iconlist_content p {
      color: #444444;
      font-weight: bold;
      font-size: 16px;
  }
  
  .home .template-page .entry-content-wrapper h1,
  .home .template-page .entry-content-wrapper h2 {
      text-transform: none;
  }
  
  .casestudy-box {
      /* height: 300px; */
  }
  
  .casestudy-box {
      font-weight: bold;
      font-size: 17px;
  }
  
  /* .casestudy-box .home_highered img.avia_image {
    margin-top: 1px;
  } */
  
  #top .bluebg .av-special-heading-tag {
      color:  #fff;
  }
  
  .homenews.avia-content-slider .slide-image img {
      border-radius: 0px;
      object-fit: cover !important;
      display: inline-block;
      height: 165px;
  }
  .homenews article a.slide-image {
    height: 165px;
  }
  
  .homenews.avia-content-slider .slide-image {
      border-radius:  1px;
  }
  
  .homenews article.slide-entry {
      color: #fff;
      min-height: 380px;
  }
  
  .homenews article.slide-entry:nth-child(1) {
      background-color: #f15922;
  }
  
  .homenews article.slide-entry:nth-child(2) {
      background-color: #223f71;
  }
  
  .homenews article.slide-entry:nth-child(3) {
      background-color: #1f6453;
  }
  
  .homenews article.slide-entry:nth-child(4) {
      background-color: #992129;
  }
  
  .homenews .slide-meta {
      display:  none;
  }
  
  .homenews .slide-content {
      padding: 10px 15px;
      font-weight:  300;
  }
  
  .homenews header h3.slide-entry-title a {
      color: #fff !important;
      font-size:  22px;
      font-weight: 500 !important;
  }
  
  .home-button a {
    color: white !important;
  }
  
  #testimonial-area {
    background-size: 50% !important;
  }
  
  #testimonial-area .avia-testimonial-content {
    background: transparent;
    border: none;
  }
  
  #testimonial-area .avia-testimonial-content p:nth-child(1) {
   font-size: 25px;
  }
  
  #testimonial-area .avia-testimonial-content p {
    font-size: 16px;
    color: #ffffff;
  }
  
  #testimonial-area .avia-arrow {
    display: none;
  }
  
  #testimonial-area .avia-testimonial-meta-mini strong,
  #testimonial-area .avia-testimonial-meta-mini span  {
    font-size: 16px;
  }
  
  #testimonial-area .avia-testimonial-meta-mini strong {
    margin-bottom: 5px
  }
  
  /* Homepage - Animated Stats */
  
  body#top #home-stats {
    border: none;
  }
  #home-stats .avia-animated-number .avia-no-number {
    margin: 0 5px;
  }
  
  
  /* END Homepage CSS */
  
  /* Preloader */
  
  .av-siteloader {
   display: none !important;
  }
  
  img.av-preloading-logo {
   max-width: 150px;
  max-height: 150px;
  }
  
  /* End Preloader */
  
  /* Column Links */
  
  .link-column:hover {
    cursor:pointer;
  }
  
  
  /* Footer CSS */
  
  #footer h3.widgettitle {
      text-transform: none;
      font-size: 19px;
  }
  
  #footer .useful-links h3.widgettitle:after {
      content: '';
      border-bottom: 4px solid #6ea1c2;
      display:  block;
      padding-bottom: 10px;
      width: 75%;
  }
  
  #footer .partner-sites h3.widgettitle:after {
      content: '';
      border-bottom: 4px solid #1f6453;
      display:  block;
      padding-bottom: 10px;
      width: 75%;
  }
  
  #footer .documents h3.widgettitle:after {
      content: '';
      border-bottom: 4px solid #992129;
      display:  block;
      padding-bottom: 10px;
      width: 75%;
  }
  
  #footer .apprenticeship-schemes h3.widgettitle:after {
      content: '';
      border-bottom: 4px solid #f15922;
      display:  block;
      padding-bottom: 10px;
      width: 75%;
  }
  
  .nacf-text .textwidget.custom-html-widget {
      font-size:  16px;
      line-height: 1.5em;
  }
  
  #footer .nacf-text {
      margin-top: 10px !important;
  }
  
  #footer section#media_image-2 {
      margin-bottom:  0px;
  }
  
  #top #socket .copyright {
      float:  none;
      text-align:  center;
      font-size: 16px;
      display:  block;
  }
  
  #top #footer {
      padding-top: 0px;
      border-top: 0px;
  }
  
  /* #footer .av_one_third {
      height: 4px;
      margin-top: 0px;
      padding:  0px !important;
      margin: 0px;
      width: 33.3333%;
  } */
  
  .pre-footer .red ,
  .pre-footer .orange ,
  .pre-footer .green {
      height: 3px;
      margin: 0;
      width: 33.3%;
  }
  
  .pre-footer .red {
      background-color: #992129;
  }
  
  .pre-footer .orange {
      background-color: #f15922;
  }
  
  .pre-footer .green {
      background-color: #1f6453;
  }
  
  .pre-footer .white-logo img {
    width: 66%;
  }

  #footer .av_one_third:last-child {
    text-align: right;
  }

  #footer .social .fa {
    margin-left: 0.5em;
    font-size: 2em;
  }

  #footer .contact p {
    margin: 0;
  }
  /* #footer .footer-nacf img {
    display: block;
    margin: auto;
  } */
  
  #footer .ctf-tweet-text a {
    display: inline;
  }
  
  
  .footer-contractors a {
    width: 16%;
    display: inline-block;
  }
  .footer-contractors span {
    border: none;
    box-shadow: none;
    display: block;
    background-size: contain;
    background-position: center;
  }
  
  /* END - Footer CSS */
  
  /* News Page */
  
  
  .latest-news-page article {
    background: #F8F8F8;
    border-bottom-width: 5px;
    border-bottom-style: solid;
  }
  
  .avia-content-slider .slide-image img {
    height: 200px;
    width: auto;
    max-width: none;
  }
  
  /* Single */
  
  .post-template-default .stretch_full.container_wrap.alternate_color.light_bg_color.title_container {
    display: none !important;
  }
  
  .main_color .avia-tt, .main_color .avia-tt .avia-arrow, .main_color .avia-tt .avia-arrow {
    color: #000;
  }
  
  /* Border Bottom */
  
  #top .latest-news-page article:nth-child(4n-7) {  /* or 4n+1 */
      border-color: #992129 !important;
  }
  #top .latest-news-page article:nth-child(4n-6) {  /* or 4n+1 */
      border-color: #f15922 !important;
  }
  #top .latest-news-page article:nth-child(4n-5) {  /* or 4n+1 */
      border-color: #1f6453 !important;
  }
  #top .latest-news-page article:nth-child(4n-4) {  /* or 4n+1 */
      border-color: #223f71 !important;
  }
  
  .latest-news-page article .slide-content {
      padding:  15px;
  }
  
  .latest-news-page a.slide-image {
      border-radius:  0;
      height: 200px;
      width:  100%;
  }
  
  .latest-news-page img.attachment-portfolio.size-portfolio.wp-post-image {
      height:  100%;
      width: 100%;
      object-fit: cover;
  }
  
  .latest-news-page span.image-overlay.overlay-type-extern {
      height: 200px !important;
  }
  
  .latest-news-page .slide-meta {
      display: none;
  }
  
  .latest-news-page .slide-meta {
      display:  none;
  }
  
  .latest-news-page h3.slide-entry-title.entry-title {
      font-size: 1.2em;
      color: #444444;
      margin-bottom:  10px;
  }
  
  .latest-news-page .slide-meta {
      display:  none;
  }
  
  .latest-news-page h3.slide-entry-title.entry-title {
      font-size: 1.2em;
      color: #444444;
      margin-bottom:  10px;
  }
  
  .latest-news-page .read-more-link {
  position: absolute;
      top: 93%;
  }
  
  .latest-news-page span.more-link-arrow {
    display: none;
  }
  
  /* News Page END */
  
  /* About Page */
  
  #top .border-red {
    border-bottom: 5px #992129 solid;
  }
  
  #top .border-orange {
    border-bottom: 5px #f15922 solid;
  }
  
  #top .border-green {
    border-bottom: 5px #1f6453 solid;
  }
  
  .about-box-contain .av-flex-placeholder {
      width: 3% !important;
  }
  
  /* About Page END */
  
  /* Contractors Page */
  
  /* Contractor tables moved to SCSS*/  
  
  .contractor-gallery img.attachment-no.scaling.size-no.scaling {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.25s ease;
    box-shadow: -10px 14px 0px 20px #000;
  }
  
  .contractor-gallery img.attachment-no.scaling.size-no.scaling:hover {
      filter: none;
      -webkit-filter: grayscale(0);
  }
  
  span.av-partner-fake-img {
      background-color: #fff !important;
  }
  
  /* Contrctors Page END */
  
  /* Contact Page/Form */
  
  .contact-form input, .contact-form select, .contact-form textarea {
    background: #fff !important;
    color: #1d1d1d !important;
    border: 1px solid #eaeaea !important;
  }
  
  div.contact-form input[type='submit'] {
      background: #f15822 !important;
      color: #fff !important;
  }
  
  /* Contact Page/Form END */
  
  /* Case study page template CSS */
  
  .category-blue .avia_textblock.project_details{
      background-color: #091f45;
  }
  
  .category-blue .avia_textblock.project_sidebar {
      background-color: #c5cfe1;
  }
  
  .category-blue .main_color .casestudy_table tr:nth-child(1) {
      background-color: #091f45;
  }
  
  .category-blue .main_color .casestudy_table tr:nth-child(2),
  .category-blue .main_color .casestudy_table tr:nth-child(3) {
      background-color: #c5cfe1;
  }
  
  .category-red .avia_textblock.project_details{
      background-color: #992129;
  }
  
  .category-red .avia_textblock.project_sidebar {
      background-color: #e1bfc1;
  }
  
  .category-red .main_color .casestudy_table tr:nth-child(1) {
      background-color: #992129;
  }
  
  .category-red .main_color .casestudy_table tr:nth-child(2),
  .category-red .main_color .casestudy_table tr:nth-child(3) {
      background-color: #e1bfc1;
  }
  
  .category-green .avia_textblock.project_details{
      background-color: #1f6453;
  }
  
  .category-green .avia_textblock.project_sidebar {
      background-color: #bacfca;;
  }
  
  .category-green .main_color .casestudy_table tr:nth-child(1) {
      background-color: #1f6453;
  }
  
  .category-green .main_color .casestudy_table tr:nth-child(2),
  .category-green .main_color .casestudy_table tr:nth-child(3) {
      background-color: #bacfca
  }
  
  .avia_textblock.project_details {
      padding-bottom: 0px;
      margin-bottom: 0px;
      padding: 10px;
      font-weight: bold;
      color: #ffffff;
      display: block;
  }
  
  .avia_textblock.project_details p,
  .avia_textblock.project_sidebar p {
      margin: 0px;
  }
  
  .avia_textblock.project_sidebar {
      padding: 5px 10px;
      display: block;
      margin-top: 10px;
  }
  
  .avia_textblock p:nth-child(1) {
      margin-top: 0px;
  }
  
  .quote h2 {
      font-size:  25px;
      text-transform:  none !important;
      margin: 20px 5px;
  }
  
  .casestudy_title h1 {
      text-transform:  none !important;
      color: #232323;
  }
  
  .casestudy_title h3 {
      font-weight: 300;
      color: #232323;
  }
  
  .main_color .casestudy_table tr:nth-child(1) {
      color: #fff;
      font-weight: bold;
  }
  
  .main_color .casestudy_table tr:nth-child(2),
  .main_color .casestudy_table tr:nth-child(3) {
      color: #141414;
  }
  
  .casestudy_table tbody tr > td:nth-child(1) {
      width: 20%;
  }
  
  .casestudy_table tbody tr > td:nth-child(4) {
      width: 30%;
  }
  
  .casestudy_table td {
      font-size: 16px !important;
      line-height: 1.5em;
      vertical-align:  middle;
  }
  
  .quote strong {
      color: #223f71 !important;
  }
  
  .avia_textblock.contacts {
      background-color: #efefef;
      padding: 10px 20px 5px 20px;
  }
  
  .postid-498 .casestudy_table tbody tr > td:nth-child(4) {
      width: 18%;
  }
  
  .postid-498 .casestudy_table tbody tr > td:nth-child(3) {
      width: 28%;
  }
  
  .home .blz_animate_home_page_logo_init {
    transform: rotateX(90deg);
  }
  .home .blz_home_page_logo_animate {
    transform: rotateX(0deg);
    transition: all 1s;
  }
  .home .logo_top {
    transform-origin: center bottom;
  }
  .home .logo_bottom {
    transform-origin: center top;
  }
  
  /* Responsive */
  
  /* All Pages */
  
  @media (max-width: 940px) {
    .logo a {
      background-image: url(//scfsolutions.org.uk/wp-content/uploads/2018/06/SCF-logo_Portrait_white-1.svg);
      background-repeat: no-repeat;
      background-size: contain;
    }
    .logo a {
      background-size: 35%;
      background-position: 0;
    }
  }
  
  
  
  @media (max-width: 767px) {
    .title_container {
      padding-top: 0 !important;
    }
    .responsive #header_meta .sub_menu>ul>li{
      float: right !important;
  }
  }
  
  @media (max-width: 445px) {
      .responsive #top .logo {
          width: 100px !important;
      }
      .logo_shadow {
          bottom: -23px;
          height: 51px;
          width: 115px;
          background-size: contain;
          background-repeat: no-repeat;
          left: -12px;
      }
      #header_main h2 {
      width: 30%;
      color: #223F71;
      position: absolute;
      /* top: 15px; */
      bottom: 10px;
      left: 120px;
      font-size: 20px;
  }
  }
  
  /* Home */
  
  @media (min-width: 1920px) {
    .casestudy-box a.avia_image {
      width:  100% !important;
    }
  
    .casestudy-box .avia-image-container-inner {
      width: 100%;
    }
  
    .casestudy-box img.avia_image {
      width: 100%;
    }
  }
  
  @media (max-width: 1400px) {
    div.home-hi-hiz {
      background-size: 45% !important;
    }
  }
  
  @media (max-width: 940px) {
    .home .blz_scrolled .logo a,
    .home .blz_scrolling .logo a {
      background-image: url(//scfsolutions.org.uk/wp-content/uploads/2018/06/SCF-logo_Portrait_white-1.svg);
      background-repeat: no-repeat;
      background-size: 35%;
      background-position: 0;
    }
    .home .logo a {
      background-image: none;
      background-repeat: no-repeat;
      background-size: 35%;
      background-position: 0;
    }
  }
  
  @media (max-width: 850px) {
    .homenews article {
      width: 47% !important;
    }
    .homenews article:nth-child(3) {
      margin-left: 0 !important;
    }
    .homenews article.slide-entry:nth-child(2) {
      margin-bottom: 70px;
    }
  }
  
  @media (max-width: 767px) {
    .responsive #top #wrap_all .av-flex-cells .no_margin.av-zero-padding.casestudy-box {
      height: 200px !important;
    }
    .casestudy-box .av-image-caption-overlay-position {
      height: 33% !important;
    }
    .casestudy-box .avia-image-container-inner {
      width: 100% !important;
    }
    .casestudy-box img.avia_image {
      width: 100% !important;
    }
    #top.home .logo>a>img {
        opacity: 1 !important;
    }
    #header .logo img {
      width: 35%;
    }
  }
  
  @media (max-width: 596px) {
    .casestudy-box .av-image-caption-overlay-position {
      height: 42% !important;
    }
  }
  
  @media (max-width: 450px) {
      .homenews article {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
      }
      .heading-text p {
        font-size: 20px;
      }
      .avia_textblock.heading-text {
        margin: 0;
        width: 100% !important;
        max-width: 100%;
      }
  }
  
  @media (max-width: 385px) {
      .casestudy-box .av-image-caption-overlay-position {
        height: 58% !important;
      }
  }
  
  /* About Page */
  
  .bio-top section p a,
  .bio-inner p a {
      overflow: hidden;
      text-overflow: ellipsis;
      width: 161px;
      display: inline-block;
      margin-bottom: -7px;
  }
  
  .bio-top {
      padding: 0 !important;
  }
  
  .bio-top section.av_textblock_section {
      padding: 0px 15px;
  }
  
  /* Private Page */
  
  form.post-password-form {
      width: 30%;
      margin:  auto;
  }
  
  form.post-password-form input[type='password'] {
      background:  #eee !important;
      color: #223f71 !important;
  }
  
  
  
  @media only screen and (max-width: 1024px) {
    nav.main_menu {
      display: block !important;
    }
    #avia-menu .menu-item {
      display: none;
    }
    .av-burger-menu-main.menu-item-avia-special {
      display: block;
    }
  }
  
  /* Search */
  
  .ajax_search_response * {
    color: #18397e !important;
  }
  
  #supply-chain-signup label {
    color: #fff;
  }
  
  #supply-chain-signup input[type="text"],
  #supply-chain-signup input[type="email"],
  #supply-chain-signup input[type="submit"] {
    background-color: transparent !important;
    border: #fff 1px solid;
  }
  
  #supply-chain-signup input[type="text"],
  #supply-chain-signup input[type="email"] {
    padding: 10px;
  }
  
  /* END Search */
  
  /* Private Area */
  
  #private-documents table td {
    background: #f1f1f1;
  }
  
  .page-template-password-page .entry-content-header {
    display: none;
  }
  
  .private-page-list {
    column-count: 2;
  }
  
  .private-page-list li {
    list-style: none;
    margin-left: 0;
    background: #f1f1f1;
    border-left: 5px #233f71 solid;
    padding: 10px;
    display: inline-block;
    width: 100%;
    vertical-align: top;
  }
  
  .private-page-list li a {
    display: block;
  }
  
  
  /* END Private Area */
  
/* Client Area */
  
.sidebar_left.sidebar {
    text-align: left;
}

#top .main_color .sidebar_left .menu-item {
    background: transparent;
    padding-left: 1em;
}

.main_color .sidebar_left .menu-item a {
    color: #444444;
}

#top .main_color .sidebar_left .menu-item.current-menu-item {
    background: #f0f0f0;
}

.dashboard .spinner {
  margin-top: 3em;
}

@media only screen and (max-width: 767px) {
    .responsive #top #main .sidebar_left {
        display: block;
    }
}

/* END Client Area */

  
  #top .main_color tr:nth-child(odd), 
  #top .main_color .pricing-table>li:nth-child(odd), 
  #top .main_color .pricing-extra {
    background: #223f71;
    color: #ffffff;
  }


.force-white-text.main_color * {
    color: white;
}