/*
Theme Name: DSC
Author: Seven Hills Creative
Author URI: https://www.sevenhillscreative.co.uk
Description: Another custom theme for a happy customer!
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2024.1
Requires at least: 5.2
Requires PHP: 7.0
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* ///// BASE ///// */
/* ///// BASE ///// */
/* ///// BASE ///// */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    color: #1B1C1F;
    box-sizing: border-box !important;
    font-family: 'poppins', sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    transition: all 0.4s ease;
    /*outline: 1px solid red !important;*/
}

html{
  overflow-x: hidden !important;
}

body{
  font-family: 'poppins', sans-serif;
  overflow-x: hidden !important;
  position: relative;
  grid-template-columns: 1fr;
}

footer{
    padding: 2em;
    grid-column: 1 / 17;
}

div.footer-wrapper{
    display: grid;
    grid-gap: 1em;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 2em;
}

footer img{
    max-width: 150px;
}

footer h1, h2, h3, h4, h5, h6{
    color: #1e1e1e;
}

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

    div.footer-wrapper{
        grid-template-columns: repeat(2, 1fr);
    }

}

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

    div.footer-wrapper{
        grid-template-columns: 1fr;
    }

}

@media only screen and (max-width: 360px) {}
@media only screen and (max-width: 320px) {

    body, header, main, section, footer {
    width: 320px;
    
    }

}



/* ///// MENU ///// */
/* ///// MENU ///// */
/* ///// MENU ///// */

ul.side-nav li.page_item  a span{
    color: #232F86 !important;
}

ul.main-nav li.page_item  a span{
    text-decoration: underline !important;
}

ul.main-nav li.page_item:last-child  a span {
        text-decoration: none !important;
    }

/* MENU BAR DESKTOP VIEW */

@media only screen and (min-width: 1380px) {

    #hamburger-input:checked, #hamburger-menu #sidebar-menu{
        display: none;
    }

    .grid-header-section {
        display: grid;      
        z-index: 2;
        position: relative;
        background-color: #1E1E1E;
        grid-column: 1 / 17;
        padding: 0 2em;
    }

    .grid-header-outer {
        display: grid;
        grid-column: 5 / 17;
        grid-column-gap: 0.5em;
        align-items: center;
        background-color: #1E1E1E;
    }

    .grid-header-outer a img{
        max-width: 257px;
        width: 100%;
        display: grid;
        background-color: #fff;
        box-shadow: 0px 8px 8px 0px #0000001A;
    }

    .header-contact-bar {
        background-color: #fff;
        grid-column: 1 / 17;
        display: flex;
        justify-content: end;
    }

    .inner-header-contact-bar {
        padding: 1.5em 1em;
    }

    .inner-header-contact-bar p {
        margin: 0;
        font-weight: 400;
    }

    .inner-header-contact-bar i {
        color: #D85956;
        padding: 0 0 0 1em;
    }

    .inner-header-contact-bar p a strong {
        font-size: 1.125em;
    }

    .grid-header-section .company-logo {
        display: grid;
        position: absolute;
        max-width: 266px;     
        left: 2em;  
        align-self: center;
    }

    .company-logo img{
      width: 100% !important;
      max-width: 150px !important;
    }

    .header-menu {
        display: flex;
        padding: 0 1em;
        justify-content: end;
    }

    div.menu-main-navigation-container{
        width: 100%;
    }

    .header-menu ul{
        display: flex;
        gap: 1.8em;
        text-align: center;
        align-self: center;
        justify-self: stretch;
        justify-content: end;
    }

    .header-menu ul li {
        list-style: none;
        align-self: center;
        color: #fff;
        line-height: 1;
        margin-bottom: 0;
    }

    .header-menu ul li:last-child {
        background-color: #232F86;
        border-radius: 32px;
        padding: 8px 30px;
        text-decoration: none !important;
    }

    .menu-item a span{
        text-transform: uppercase;
        color: #fff;
        font-size: 1.125em;
        font-weight: 500;
    }

    .sub-menu .menu-item a span {
        text-transform: capitalize;
    }

    .menu-item a:hover span, .menu-item-has-children:hover > a:after {
        color: #fff;
    }

    .menu-item-has-children:hover > a span,
    .menu-item-has-children:focus-within > a span,
    .menu-item-has-children:active > a span {
        color: #fff;
    }
    
    #hamburger-input, .overlay, #hamburger-menu, #sidebar-menu, .header-bar  {
        display: none;
    }

    .menu-item-has-children > a:after {
        content: '\f078';
        margin-left: 5px;
        font-family: "Font Awesome 5 pro"; 
        font-weight: 900;
        font-size: 1em;
        color: #fff;
    }


/* SUB MENU ***************************************************************************/


. .menu-item .sub-menu .menu-item{
    margin-top: -16px;
}

.sub-menu .menu-item a span {
    color: #142F5D;
}


    .menu-item .sub-menu {
        display: none;
    }

    .menu-item .sub-menu .menu-item .sub-menu {
        display: none;
    }

    .menu-item .sub-menu .menu-item a {
        color:#142F5D;
        font-size: 1em;
        font-weight: 400;
        line-height: 18px;
    }

    .menu-item .sub-menu .menu-item a:hover {
        font-weight: 600;
    }

    /* .menu-item .sub-menu { */
    .menu-item:hover .sub-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1em;
        background-color: #fff;
        padding: 1em 0;
        text-align: left;
        z-index: 50 !important;
        justify-self: center;
        margin: auto;
        position: absolute;
        border-top: 1em solid #1E1E1E;
        box-shadow: 4px 4px 4px 0px #00000040;
        min-width: 273px;
    }

    .menu-item .sub-menu  {
        position: relative;
    }

    .menu-item .sub-menu .menu-item {
        padding: 0.5em 1em;
        border-bottom: 1px solid #BDBDBD;
        text-align: left;
    }

    .menu-item .sub-menu .menu-item a {
        text-transform: capitalize;
        color: #142F5D;
        font-weight: 600;
    }

    .contact-menu-link a {
        padding: 0.5em 1.1em;   
        background: #D85956;       
        border-radius: 32px;
    }

    .contact-menu-link a span {
        font-size: 1em !important;
        font-weight: 600;
        text-transform: uppercase;
        font-family: "Mukta Mahee", sans-serif;
        color: #fff;
    }

    .side-menu-inner li {
        text-align: left;
    }

}


    

/* RESPONSIVE MENU UNCLICKED */
@media only screen and (max-width: 1380px) {

    .grid-header-outer, .outer-banner-message-outer{
        display: none;
    }

    .grid-header-section {
        background-color: #1E1E1E;
        grid-column: 1 / 17;
    }

    .header-bar {
        display:grid;
        grid-template-columns: 1fr;
        grid-column:  1 / 17; 
        align-self: center;
        z-index: 20;
        position: relative;
    }

    .header-contact-bar {
        display: none;
    }

    .header-contact-bar-mobile {
        background-color: #fff;
        grid-column: 1 / 17;
        justify-content: end;
        padding: 1em;
        text-align: right;
    }

    .inner-header-contact-bar-mobile p a {
        justify-content: end;
        justify-self: end;
    }

    .inner-header-contact-bar-mobile i {
        color: #D85956;
    }

    .inner-header-contact-bar-mobile p a {
        padding: 1em !important;
        gap: 0.3em;
    }

    .inner-header-contact-bar-mobile p a strong, .inner-header-contact-bar-mobile p a i {
        font-size: 1em !important;
        letter-spacing: 0;

    }

    .header-contact-bar-mobile-sub {
        padding: 0;
    }

    .header-bar a {
        justify-self: left;
    }
    
    .header-bar .logo1{
        position: absolute;
        max-width: 141px;
        width: 100%;
        object-fit: contain;
        background-color: #fff;
        box-shadow: 0px 8px 8px 0px #0000001A;
        align-self: center;
        left: 1em;
    }

    .header-bar .logo2 {
        top: 2em;
    }

    .green-banner {
        background-color: #1E1E1E;
        height: 56px;
    }

    .company-logo {
        display: none;
    }

    
    div.header-bar img{
      width: 100% !important;
      max-width: 150px !important;
    }

    .mobile-icon {
        max-width: 55px;
    }

    .responsive-menu {
        align-self: center;
        padding: 1em 0;
    }

    .menu-icon {
        width: 33px;
        height: 2px;
        background-color: #c8e5e9;
        margin: 3px 0;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: opacity .35s, visibility .35s, height .35s;
        overflow: hidden;
        background: #F4F0F0;
    }
    
    #hamburger-input{
        display: none;
    }
    
    #hamburger-menu {
        display: flex;
        align-items: end;
        flex-direction: column;
    }

    #hamburger-menu #sidebar-menu {
        grid-template-columns: 1fr;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        transition: 0.3s;
        box-sizing: border-box;
        z-index: 20;
    }

    #hamburger-menu ul {
        margin: 1em 0;
        width: 100%;
    }

    #hamburger-menu ul .sub-menu{
        margin: 0 0 1em 1em;
        width: auto;
    }

    #hamburger-menu ul .sub-menu li {
        border-top: none;
    }

    #hamburger-menu li {
        list-style-type: none;
        /* padding: 0.5em 0; */
        border-top: 1px solid #1E1E1E;
        margin: 0;
    }

    #hamburger-menu a {
        text-decoration: none;
        transition: transform 0.5s;
        align-items: center;
        display: flex;
        padding: 0.5em 0;
        /* justify-content: center; */
    }

    #hamburger-menu .sub-menu a {
        padding: 0;
    }

    #hamburger-menu i {
        font-size: 1.75em;
    }

    #hamburger-menu a:active{
        -ms-transform: translateX(30px);
        -webkit-transform: translateX(30px);
        transform: translateX(3px);
    }

    #hamburger-input:checked + #hamburger-menu #sidebar-menu {
        visibility: visible;
        right: 0;
    }

    /* Scroll Side Menu */
    #sidebar-menu {
        background-color: #c8e5e9;
        min-height: 100vh;
        overflow-y: auto;
        z-index: 99999999;
    }

    .sub-menu.hidden {
        display: none;
    }

    .toggle-icon ul li {
            list-style: none;
    }

    .toggle-icon::before {
        content: '\f078';
        margin-left: 5px;
        font-family: "Font Awesome 5 pro"; 
        font-weight: 900;
        font-size: 1em;
        color: #1E1E1E;
        margin-right: 0.5em;
    }

    .menu-item-has-children > a .toggle-icon.open::before {
        content: '\f077';
    }

    #hamburger-menu li .sub-menu .menu-item {
        list-style-type: none;
    }

    #hamburger-menu li .sub-menu .menu-item:nth-last-child(1) {
        border-bottom: none;
    }

    #hamburger-menu li:nth-last-child(1) {
        border-bottom: none;
    }

    #sidebar-menu ul li a span {
        margin-left: 0.5em;
        text-transform: capitalize;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0.15em;
    }
    
    #sidebar-menu ul li .sub-menu li a span {
        font-weight: 500;
        letter-spacing: 0.15em;
    }

    .open {
        margin-top: 0.8em !important;
    }

    #hamburger-menu {
        margin: 0 2em;
        color: #fff;
    }

    .mobile-social-media i {
        font-size: 1.5em !important;
        width: 24px !important;
        color: #fff !important;
        justify-content: normal !important;
    }

    #avisec-side-nav {
        padding: 0 1em;
    }

    .sub-header-logo a {
        padding: 0 !important;
    }


}





/*  /////////////////////////////////////////////////////////////////////////////////////////////// INFO BAR ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// INFO BAR ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// INFO BAR ///// */

div.info-bar{
  background: #c8e5e9;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-column: 1 / 17;
  width: 100%;
  padding: 0.8em 0;
}

div.info-bar div.full-width-wrapper{
  grid-column: 2 / 16;
  grid-template-columns: 1fr 1fr;
}

div.info-bar a{
  color: #1e1e1e;
  margin-right: 8px;
}

div.contacts{
  display: flex;
  justify-self: start;
}

div.socials{
  display: flex;
  justify-self: end;
}

div.contacts i, div.socials i{
  align-self: center;
  color: #1e1e1e;
  width: 22px;
}

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

  div.info-bar div.full-width-wrapper{
    grid-template-columns: 1fr;
  }

  div.contacts, div.socials{
    justify-self: center;
  }

}






/* ///// LAYOUT ///// */
/* ///// LAYOUT ///// */
/* ///// LAYOUT ///// */

main,body,article{
  display: grid;
}

main, body, article{
  grid-column: 1 / 17;
  grid-template-columns: repeat(16, 1fr);
}

article{
  max-width: 1380px;
  justify-self: center;
  width: 100%;
}

section{
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-column: 1 / 17;
  justify-self: center;
  padding: 5em 0;
  width: 100%;
  max-width: 1380px;
}

section.wysiwyg{
    padding: 1em 0;
}

section.increase-padding{
    padding: 2.5em 0;
}



/* ///// TEXT ///// */
/* ///// TEXT ///// */
/* ///// TEXT //// */

h1, h2, h3, h4, h5, h6{
  color: #1E1E1E;
  font-family: 'poppins', sans-serif;
  font-weight: 700;
  line-height: 1;
  margin: 0.3em 0;
}

h1{
  font-size: 2em;
  line-height: 1.2em;
}

h2{
  font-size: 1.8em;
}

h3{
  font-size: 1.5em;
}

h4{
  font-size: 1.4em;
}

h5{
  font-size: 1.2em;
}

h6{
  font-size: 1.1em;
}


p{
  color: #1E1E1E;
  font-family: 'poppins', sans-serif;
  line-height: 1.5;
  margin-bottom: 0.8em;
  font-weight: 300;
  width: 100%;
}

ul,ol{
  font-family: 'poppins', sans-serif;
  margin: 1.2em 0;
  padding: 0 6%;
}

ul {
  list-style: none;
}

ul li::before {
  content: "\2022";
  color: #1E1E1E;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

ul.post-categories{
  margin: 0;
  padding: 0;
}

ul.post-categories li::before, ul.main-nav li::before, footer li::before, ul.spec-info li::before, ul.side-nav li::before {
  content: "";
  width: 0;
  margin-left: 0;
}

div.main-nav ul{
  padding: 0;
}

ol{
  list-style-type: decimal;
}

li{
  color: #1E1E1E;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0.5em;
}

strong{
  font-weight: 700;
}

em{
  font-style: italic;
}

a{
  color: #232F86;
  cursor: pointer !important;
  display: inline-block;
  text-decoration: none;
}

hr{
  background-color: #1E1E1E;
  border: 0;
  height: 1px;
  justify-self: center;
  margin: 2em 0;
  width: 80%;
}

blockquote{
  display: grid;
  width: 100%;
}

blockquote p{
  text-align: center;
  justify-self: center;
}

blockquote cite{
  font-weight: 300;
  text-align: center;
  justify-self: center;
}

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

h1{
  font-size: 2em;
}

h2{
  font-size: 1.6em;
}

h3{
  font-size: 1.4em;
}

h4{
  font-size: 1.2em;
}

h5{
  font-size: 1.1em;
}

h6{
  font-size: 1em;
}

}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// BANNER ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// BANNER ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// BANNER ///// */

div.banner-search{
  display: grid;
  justify-self: start;
  max-width: 458px;
  background: #1E1E1E;
  padding: 24px 0 0;
  grid-column: 2 / 7;
  grid-row-gap: 24px;
}

div.banner-search h1, div.banner-search h2{
  color: #fff;
  margin: 0 24px 0;
}

div.banner-search p{
  color: #c8e5e9;
  margin: 0 24px 0;
  width: auto;
}

div.banner-search form{
  background: #c8e5e9;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  padding: 16px 0 72px;
  position: relative;
  overflow: hidden;
}

div.banner-search form *{
  margin: 0 24px 0;
}

div.banner-search input, div.banner-search select{
  z-index: 2;
}

img.form-image{
  position: absolute;
  bottom: 10px;
  right: -80px;
  width: 120%;
  opacity: 0.2;
  transform: rotate(-15deg);
  overflow: hidden;
}

div.banner-search form select{
  padding: 0.5em;
  border: 0.5px solid #BDBDBD;
  border-radius: 2px;
}

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

  div.banner-search{
    grid-column: 2 / 16;
  }



}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// REVIEWS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// REVIEWS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// REVIEWS ///// */

section.reviews{
  background: #D9D9D9;
  padding: 0;
  min-height: 30px;
}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// SERVICES ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SERVICES ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SERVICES ///// */

section.service-container{
  display: flex;
  flex-flow: row wrap;
  padding: 0;
}

div.service-box {
  align-content: end;
  display: grid;
  flex-grow: 1;
  flex-basis: 33.33%;
  box-sizing: border-box;
  min-height: 342px;
  padding: 16px 40px;
}

div.service-box.grow-half{
  flex-grow: 1.5;
  flex-basis: 50%;
}

div.service-label{
  border-top: 10px solid #c8e5e9;
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 24px 16px;
  width: 62%;
  max-width: 302px;
}

div.service-label label{
  font-size: 1.3em;
  font-weight: 700;
}

div.service-label a:after {
  content: "\27A4";
  margin-left: 2px;
  font-size: 0.8em;
}

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

  div.service-box {
    flex-basis: 50%;
  }

}

@media only screen and (max-width: 850px) {
  div.service-box, div.service-box.grow-half{
    flex-basis: 100%;
  }
}

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

  div.service-label{
    width: 90%;
  }

}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// LISTINGS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// LISTINGS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// LISTINGS ///// */

.listing-container {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.listing-wrapper {
  display: flex;
  transition: transform 0.5s ease; /* Smooth scrolling */
  gap: 1.5em;
  width: 100%;
}

.listing-box {
  flex: 0 0 25%;
  padding: 0.5em;
  background: #d9d9d9;
  box-sizing: border-box;
}

.arrow {
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  z-index: 1;
  width: 20px;
}

.arrow.left {
  left: 0;
  color: #232F86;
}

.arrow.right {
  right: 10px;
}



div.listing-box img {
  object-fit: cover;
  object-position: center;
  height: auto;
  max-height: 221px;
  width: 100%;
}

ul.spec-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  background: #1e1e1e;
  justify-content: space-between;
  margin: 0.5em 0;
}

ul.spec-info li {
  color: #fff;
  margin: 0;
}

ul.spec-info li::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin-left: 10px;
}

ul.spec-info li:last-child::after {
  content: none;
}

div.listing-box h3, div.listing-box p {
  text-align: center;
  margin: 0;
}

div.listing-box h3 {
  color: #232F86;
}

div.listing-box p {
  font-size: 0.8em;
}

div.listing-info {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

div.listing-info p {
  font-size: 14px;
  text-align: center;
  flex: 0 0 45%;
  margin: 0;
  box-sizing: border-box;
}

div.listing-info p span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

div.listing-info a {
  align-self: end;
  width: 45%;
  font-size: 0.9em;
}

div.listing-info a.button {
  align-self: end;
  width: 45%;
  font-size: 0.9em;
  padding: 0.6em 1.25em;
}

div.listing-info a:after {
  content: "\27A4";
  margin-left: 2px;
  font-size: 0.8em;
}

div.listing-info a.button:after {
  content: "";
  margin-left: 0;
}

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

    .listing-box {
      flex: 0 0 33%;
    }

}

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

    .listing-box {
      flex: 0 0 50%;
    }

}

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

    .listing-box {
      flex: 0 0 75%;
    }

}

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

    .listing-box {
      flex: 0 0 85%;
    }

}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// BLOG LISTINGS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// BLOG LISTINGS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// BLOG LISTINGS ///// */


section.blog-listing-container {
  display: flex;
  gap: 1em; /* Adjust gap if needed */
  flex-wrap: wrap;
}

div.blog-listing-box {
  background: #d9d9d9;
  flex: 1 1 20%; /* This sets each item to take up 25% of the container width */
}

div.blog-listing-box img {
  object-fit: cover;
  object-position: center;
  height: auto;
  max-height: 221px;
  width: 100%;
}

div.blog-listing-box h3, div.blog-listing-box p {
  padding: 0 16px;
}

div.blog-listing-box h3 {
  color: #c8e5e9;
}

div.blog-listing-info {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 16px;
}

@media only screen and (max-width: 960px) {
  div.blog-listing-box {
    flex: 1 1 50%; /* Sets two items per row on smaller screens */
  }
}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// BENEFITS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// BENEFITS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// BENEFITS ///// */

section.benefits > div.content-area{
  grid-column: 1 / 17;
}

section.benefits h2, section.benefits p{
  text-align: center;
  max-width: 300px;
  justify-self: center;
}

section.benefits p{
  color: #c8e5e9;
}

div.benefits-container{
  background: #1e1e1e;
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  justify-content: space-around;
}

div.benefit{
  flex: 1 1 20%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  max-width: 20%;
}

div.benefit h3{
  color: #c8e5e9;
}

div.benefit i, div.benefit p{
  color: #fff;
}

div.benefit i{
  font-size: 3em;
}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// CTA ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// CTA ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// CTA ///// */


div.banner-cta{
  display: grid;
  justify-self: end;
  max-width: 458px;
  background: #1E1E1E;
  grid-column: 10 / 16;
  grid-row-gap: 24px;
  padding: 24px;
}

div.banner-cta h2, div.banner-cta p{
  margin: 0;
}

div.banner-cta h2{
  color: #fff;
}

div.banner-cta p{
  color: #c8e5e9;
  width: auto;
}

div.banner-cta a{
  color: #fff;
}

div.banner-cta a.button{
  background: #fff;
  color: #232F86;
}

div.banner-cta-box{
  background: #c8e5e9;
  position: relative;
  max-width: 458px;
  grid-column: 10 / 16;
  grid-row-gap: 24px;
  max-height: 166px;
  overflow: hidden;
  padding: 24px;
  margin-top: 8px;
}

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

  div.banner-cta, div.banner-cta-box{
    max-width: 100%;
    grid-column: 2 / 16;
    width: 100%;
  }



}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// PRE FOOTER ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// PRE FOOTER ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// PRE FOOTER ///// */

section.pre-footer{
  background: #c8e5e9 url('../img/banner-car.jpeg') no-repeat center / cover;
  grid-column-gap: 1em;
  margin-top: 2em;
}

img.pre-foot-img{
  grid-column: 1 / 7;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
}

div.address{
  background: #fff;
  grid-column: 8 / 12;
  display: grid;
  grid-template-columns: 2em 1fr;
  grid-column-gap: 1em;
  padding: 1em;
}

div.address i{
  color: #000;
  font-size: 2em;
}

div.times{
  background: #c8e5e9;
  grid-column: 13 / 17;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1em;
}

div.times i{
  color: #1e1e1e;
  font-size: 2em;
}

div.times h2, div.social-icons{
  grid-column-start: span 2;
}

div.times h2{
  font-size: 1.1em;
  color: #fff;
}

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

  section.pre-footer > .full-width-wrapper{
    grid-row-gap: 2em;
  }

  section.pre-footer > .full-width-wrapper > *{
    grid-column: 2 / 16 !important;
  }

}


/*  /////////////////////////////////////////////////////////////////////////////////////////////// SEARCH ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SEARCH ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SEARCH ///// */

section.search-container{
  grid-row-gap: 1em;
}

div.search{
  background: #1e1e1e;
  padding: 2em 4em;
  border-top: 10px solid #c8e5e9;
}

div.search h1, div.search h2, div.search h3, div.search h4, div.search h5, div.search h6{
  color: #fff;
  margin: 0 24px 0;
}

form.vehicle-search{
  margin-top: 1em;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  grid-gap: 1em;
}

form.vehicle-search input[type="submit"]{
  background: #fff;
  color: #232F86;
  grid-column-start: 1;
}

form.vehicle-search select{
  background: #D9D9D9;
  padding: 0.5em;
}

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

  form.vehicle-search{
    grid-template-columns: 1fr;
  }

}

div.search-listing{
  display: grid;
  background: #D9D9D9;
  padding: 1em;
  grid-template-columns: 400px 1fr;
  grid-gap: 2em;
  grid-column: 2 / 16;
}

div.search-listing img{
  max-height: 300px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

div.search-content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 1em;
}

div.search-title{
  justify-self: start;
}

div.search-price{
  justify-self: end;
} 

div.search-price label{
  color: #c8e5e9;
  font-weight: 700;
  font-size: 1.5em;
}

div.search-price label:first-of-type{
  border-right: 1px solid #000;
  padding-right: 8px;
  margin-right: 8px;
}

div.search-spec{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
}

div.spec-item{
  display: flex;
  border-bottom: 1px solid #000;
  justify-content: space-between;
}

div.spec-item i{
  color: #c8e5e9;
  font-size: 1.4em;
}

div.spec-item b{
  font-weight: 700;
}

div.search-spec, div.search-action{
  grid-column-start: span 2;
}

div.search-action{
  display: flex;
}

div.search-action a{
  align-self: end;
}

/*  /////////////////////////////////////////////////////////////////////////////////////////////// SINGLE VEHICLE ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SINGLE VEHICLE ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SINGLE VEHICLE ///// */

article.single-vehicle{
  grid-template-columns: 60% 1fr;
  grid-column-gap: 2em;
}

section.vehicle-info, section.vehicle-cta{
  grid-template-columns: 1fr;
  padding: 0;
  grid-column: auto;
}

section.vehicle-cta{
  position: relative;
}

section.vehicle-info img{
  object-fit: cover;
  object-position: center;
  width: 100%;
}

div.vehicle-gallery{
  display: flex;
  justify-content: center;
  gap: 21px;
  flex-flow: row wrap;
  margin-top: 20px;
  width: 100%;
}

div.vehicle-gallery img{
  width: 100%;
  max-height: 75px;
  object-fit: cover;
  object-position: center;
  max-width: 100px;
}

        .accordion {
            width: 100%;
            background-color: #d9d9d9;
            margin: 20px auto 0;
            cursor: pointer;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
            position: relative;
        }

        .accordion .arrow{
            font-size: 18px;
            color: #000;
        }

        .accordion:hover {
            background-color: #e0e0e0;
        }

        /* Title of the accordion */
        .accordion-title {
            font-size: 24px;
            font-weight: bold;
        }

        /* The content section hidden by default */
        .accordion-content {
            display: none;
            padding: 15px;
            font-size: 14px;
            color: #1e1e1e;
            background-color: #d9d9d9;
        }

        /* Arrow styling */
        .arrow {
            transition: transform 0.3s ease;
            font-size: 40px;
            position: absolute;
            bottom: 10px;
            right: 15px;
            color: #232F86;

        }

        /* Rotate arrow when active */
        .accordion.active .arrow {
            transform: rotate(180deg);
            top: 10px;
            bottom: auto;
        }

        /* Show content when active */
        .accordion.active + .accordion-content {
            display: block;
        }

        .accordion-content div.spec-item{
          background: #fff;
          display: grid;
          grid-template-columns: 2em 1fr 1fr;
          padding: 0.5em;
          margin: 16px 0;
          border-bottom: 0;
        }

div.scrolling-cta{
  display: grid;
  justify-self: center;
  align-self: start;
  grid-row-gap: 16px;
  position: relative;
  transition: none !important;
}

 div.scrolling-cta-title{
  background: #000;
  width: 100%;
  padding: 1.5em;
 }

 div.scrolling-price{
    background: #d9d9d9;
    padding: 1.5em;
    width: 100%;
 }

 div.scrolling-price p{
    color: #232F86;
    font-weight: bold;
    text-align: center;
    font-size: 1.5em;
    margin: 0;
 }

  div.scrolling-cta-title h1, div.scrolling-cta-title p{
  color: #fff;
 }

 div.scrolling-cta a.button{
  justify-self: stretch;
 }

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

article.single-vehicle{
  grid-template-columns: 1fr;
}

div.scrolling-cta{
    background: rgba(255,255,255,0.5);
    grid-row-gap: 8px;
    z-index: 999;
}

div.scrolling-cta-title{
    padding: 0.75em 1.5em;
}

div.scrolling-cta-title h1{
    font-size: 1.8em;
}

}


/*  /////////////////////////////////////////////////////////////////////////////////////////////// SHARED ELEMENTS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SHARED ELEMENTS ///// */
/*  /////////////////////////////////////////////////////////////////////////////////////////////// SHARED ELEMENTS ///// */

.full-width{
  max-width: 100%;
}

div.full-width-wrapper{
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  justify-self: center;
  max-width: 1380px;
  width: 100%;
  grid-column: 1 / 17;
}

div.content-area{
  display: grid;
  grid-template-columns: 1fr;
  grid-column: 2 / 16;
}

div.content-area.alt{
  background: #D9D9D9;
  border-radius: 5px;
  padding: 1em;
}

.two-col{
  grid-template-columns: 1fr 1fr;
}

a.button{
  background: #232F86;
  border-radius: 32px;
  cursor: pointer;
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 1em;
  line-height: 1.5;
  justify-self: start;
  align-items: center;
  text-align: center;
  letter-spacing: 0.002em;
  color: #FFFFFF;
  padding: 0.6em 1.75em;
  border: 1px transparent solid;
}

a.button:hover{
  background: transparent;
  color: #232F86;
  border: 1px #232F86 solid;
}

a.button.alt{
  background: #fff;
  color: #232F86;
}

/* ///// FORMS ///// */
/* ///// FORMS ///// */
/* ///// FORMS ///// */

.wpcf7-form input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], select, textarea {width:100% !important;}

form{
  align-items: start;
  display: grid;
  padding: 1.5em;
  position: relative;
  justify-self: center;
  width: 100%;
}

form label{
  color: #F9F5F0;
  display: grid;
}

input,textarea{
  border: 2px solid #1E1E1E;
  padding: 0.6em;
}


input::placeholder, textarea::placeholder{
  color: #1E1E1E;
  font-size: 1em;
  font-family: poppins, sans-serif;
  font-weight: #500;
  text-align: center;
}

input[type="submit"]{
  background: #232F86;
  border-radius: 32px;
  cursor: pointer;
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 1em;
  line-height: 1.5;
  display: flex;
  justify-self: start;
  align-items: center;
  text-align: center;
  letter-spacing: 0.002em;
  color: #FFFFFF;
  padding: 0.6em 1.75em;
  border: 1px transparent solid;
}

input[type="submit"]:hover{
  background: transparent;
  color: #232F86;
  border: 1px #232F86 solid;
}




/* ///// WP ///// */
/* ///// WP ///// */
/* ///// WP ///// */

.has-text-align-left{
  text-align: left !important;
}

.has-text-align-right{
  text-align: right !important;
}

.has-text-align-center{
  text-align: center !important;
}

.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    grid-column: 2 / 7;
}

.responsive-iframe-container iframe, .responsive-iframe-container object, .responsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* FLOATS */

.float-in {
  opacity: 0;
  transform: translateY(40px); /* Starts slightly below */
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.float-in.visible {
  opacity: 1;
  transform: translateY(0); /* Moves to its natural position */
}
