
html{
    margin-top: 0!important;
}

.space-mono-regular {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.space-mono-bold {
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-style: normal;
}

.space-mono-regular-italic {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: italic;
}

.space-mono-bold-italic {
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-style: italic;
}


@font-face {
    font-family: 'Verdana';
    src: url('../fonts/Verdana.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verdana';
    src: url('../fonts/Verdana-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verdana';
    src: url('../fonts/Verdana-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Verdana';
    src: url('../fonts/Verdana-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


.font-verdana {
    font-family: 'Verdana', Arial, Helvetica, sans-serif !important;
}

.carousel-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: initial;
    z-index: 4;
    position: absolute;
}

.carousel-left {
    top: 50%;
    left: 15px;
    transform: translate(0, -50%);
    bottom: initial;
    z-index: 4;
    position: absolute;
}


.full-width{
    width: 100%;
}


.btn.btn-custom{
    padding: 10px 25px;
    border-radius: 7px;
    text-transform: none;
}


.btn.btn-custom-primary{
    background: #667d9c;
    color: #fff;
    border: 1px solid #4c5e76;
}

.btn.btn-custom-primary:hover{
    background: #4c5e76;
    color: #fff;
}


.custom-text-primary{
    color: #667d9c;
}


div#navbar-container{
    background: #667d9c;
    box-shadow: 0px 30px 50px #667d9cdb;
}


div#navbar-container .navbar-brand{
    width: 250px;
}



.navbar-nav {
    margin-left: 50px;
}


.navbar-nav > li {
    margin-left: 20px;
    margin-right: 35px;
}

.navbar-nav > li.dropdown > a:after{
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 1em solid;
    border-right: 0.75em solid transparent;
    border-bottom: 0;
    border-left: 0.75em solid transparent;
    position: absolute;
    right: -24px;
    top: 13px;
}
 


.carousel-left{
    transform: translate(0, -50%);
    left: 30px;
}

.div-below{
    padding: 10px 30px;
    bottom: 0;
    left: 0;
    position: absolute;
    background: #8b7d72;
    width: 100%;
}
.division-section{
    overflow: hidden;
}

.division-section .division-section-wrapper {
    display: flex;
    flex: 1 0 auto;
}

.division-section .division-item {
    display: flex
;
    margin: auto;
    padding: 0 3rem;
}

.division-section .division-item .icon {
    display: flex;
    margin: auto;
    margin-right: 15px;
}

.division-section .division-item .icon img {
    max-height: 70px;
}

.division-section .division-item span {
    white-space: nowrap;
    margin: auto;
    font-weight: 700;
    color: #365749;
}

#reviews-carousel-before-after{
    padding-bottom: 60px;
}

#reviews-carousel-before-after .carousel-inner:after{
    content: unset;
}

.carousel-indicators{
    justify-content: left;
    bottom: -7px;
    left: 0;
    margin-left: 0;
}
.carousel-indicators [data-bs-target]{
    background-color: #667d9c;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.bg-windows .inner-div,.bg-doors .inner-div{
    padding: 10px 33px;
    background: #667d9cd4;
    border-radius: 9px;
    color: #fff;
    font-size: 1.3em;
 }   

 .timeline{
    position: relative;
    padding-left: 20px;
 }

 .timeline:before{
    content: "";
    position: absolute;
    left: 0;
    width: 1.5px;
    height: 100%;
    top: 6px;
    background: #545454;
 }

 .timeline .timeline-item{
    position: relative;
 }

 .timeline .timeline-item:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #667d9c;
    border-radius: 50%;
    left: -29px;
    top: 5px;
}



.location-map-section {
    position: relative;
}

.location-finder-overlay {
    position: relative;
    background: rgb(102 125 156 / 83%);
    align-items: center;
    justify-content: left;
    padding: 40px 50px 40px 70px;
    left: 0;
    z-index: 2;
    max-width: 50%;
}

.location-finder-overlay .location-finder-content{
    max-width: 350px;
}

.postcode-form .input-group {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.postcode-form .form-control {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.1rem;
}

.postcode-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 24px;
    font-weight: 600;
}

.map-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: auto;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-container iframe {
   height: 100%;
   width: 100%;
}

#nearest-showroom-result {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

#nearest-showroom-result h4 {
    color: #667d9c;
    margin-bottom: 0.5rem;
}

#nearest-showroom-result p {
    color: #333;
    margin-bottom: 0.5rem;
}


#english-door-competition-page{
    padding-top: 118px;
}
  
#awards_accreditations img{
    max-height: 100px;
}

#awards_accreditations .row > div:first-child img{
    max-height: 80px;
}


.social-media-links .social-icon{
    height: 45px;
}

@media (max-width: 768px) {
    .location-finder-overlay {
        height: auto;
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        background: rgb(102 125 156);
    }
    
    .map-container {
        height: 400px;
        margin-top: 0;
        position: relative;
        border-radius: 0;
    }
     
    .location-finder-overlay .location-finder-content{
        max-width: 100%;
    }

    #english-door-competition-page {
        padding-top: 0px;
    }
}


.news-carousel {
    display: grid;
}



.news-item {
    padding: 10px 35px;
    background: #7d90aa;
    border-radius: 10px;
    /* margin-right: 27px; */
    margin-right: 15px;
    height: auto;
    margin-left: 15px;

}

.news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-item a:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-item img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    object-position: center;
    display: block;
} 


 
/* Hide default slick arrows */
.slick-prev,
.slick-next {
    display: none !important;
}

.slick-dots {
    bottom: -40px;
    display: none!important;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #667d9c;
}

.slick-dots li.slick-active button:before {
    color: #365749;
}


.news-carousel .slick-track{
    display: flex;
    direction: rtl;
    left: 19%;
}


.form-control-custom{
    border-bottom: 2px solid #000000;
    max-width: 360px;
    color: #000000;
    font-weight: 600;
}


#homepage-slider{
    height: 700px;
}

.offcanvas{
    background-color: #667d9c;
}

#awards_accreditations_scrolling img{
    max-height: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-item {
        padding: 0 10px;
    }
    
    .news-item img {
        height: 160px;
    }
    .container{
        max-width: 100%;
    }

    .carousel-left{
        transform: translate(0, 0);
    }

    #homepage-slider{
        height: 574px;
    }
    .division-section .division-item .icon img{
        max-height: 55px;
    }

    .carousel-indicators{
        justify-content: center;
        margin-left: 15%;
    }

    body{
        padding-top: 72px;
    }
}

@media screen and (max-width: 640px){
    .carousel-left{
        left: 15px;
        transform: translate(0, -15%);
    }

    #homepage-slider{
        height: 433px;
    }

    .news-carousel .slick-track{
        left: 31%;
    }

    .division-section .division-item{
        padding: 0 1rem;
    }
    .division-section .division-section-wrapper{
        animation-duration: 30s !important;
    }
}

@media screen and (max-width: 460px){
    .bg-windows .inner-div, .bg-doors .inner-div{
        font-size: 1.1em;
    }
}


@media screen and (max-width: 460px){
    #homepage-slider{
        height: 371px;
    }

    .carousel-indicators [data-bs-target]{
        width: 15px;
        height: 15px;
    }
}

@media screen and (max-width: 375px){
    body {
        padding-top: 70px;
    }

    .division-section .division-item .icon img{
        max-height: 40px;
    }

    #homepage-slider{
        height: 325px;
    }

}

/* English Door Competition modal (removed) */