/*!
Theme Name: CBD
Theme URI: https://www.cbwebsitedesign.co.uk/
Author: Creative Brand Design
Author URI: https://www.cbwebsitedesign.co.uk/
Description: Creative Brand Design
Version: 28.05.24
Text Domain: cbd
*/

/* Header Fixes */
header.banner .header-content a.brand img {
    height: auto;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu {
    display: flex;
    justify-content: space-between;
}

/* Footer Fixes */
footer img.footer-logo {
    height: auto;
}

.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
    display: none !important;
}

@media(max-width: 768px) {
    .header-content {
        position: relative;   
    }
    header.banner .header-content .cart-count {
        position: absolute;
        right: 15vw;
    }
    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-blocks-left {
        display: none;
    }
    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-blocks-center {
        display: none;
    }
    header.banner .header-content .cart-count {
        margin-left: 0;
    }
    section.governance {
        padding: 50px 25px;
    }
}

section.avla-faq-categories .faq-content .faq-item:hover {
    cursor: pointer;
}

footer .right-details {
    color:#aeb9d1;
    font-family:Avenir Next LT W01 Medium;
    font-size:14px;
}
footer .right-details .footer-logo {
    max-width: 200px;
    width: auto;
    max-height: 55px;
}

.avla-gov .img-fluid {
    max-width: 200px;
}
.return-to-shop {
    display: none;
}

/* 2025 April Amends */
section.hero-banner {
    background-color: #2c323e;
    padding-top: 10%;
}
@media(min-width: 1400px) {
    section.hero-banner {
        background-color: #2c323e;
        padding-top: 5%;
    }   
}
section.home-hero h1 {
    font-size: 60px;
    line-height: 61px
}
section.home-hero p {
    color: #aeb9d1;
    font-family: Avenir Next LT W01 Medium;
    font-size: 23px;
    line-height: 39px;
}
.avla-testimonials .main-carousel {
    margin-bottom: 2rem;
}
@media(max-width: 768px) {
    section.licence-features .row.feature-block:first-child {
        margin-top: 0;
    }
}
section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}
@media(min-width: 1000px) {
    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}
section.hero-alt-two .hero-content .hero-center .bottom-text {
    margin: 3rem auto;
}
section.hero-alt-two .hero-content .hero-center .bottom-text p {
    color: #fff;
    font-family: Avenir Next LT W01 Medium;
    font-size: 42px;
    line-height: 58px;
}
.product-intro ul li,
.product-intro p {
    color: #6b7180;
    font-family: Avenir Next LT W01 Medium;
    font-size: 16px;
    line-height: 29px;
}
footer .row {
    position: relative;
}
.linkedin {
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
}
@media(max-width: 580px) {
    .linkedin {
        right: 20px;
    }
}
.linkedin svg {
    /*max-height: 20px;*/
    width: fit-content;
    fill: #fff;
}
#mega-menu-wrap-main-menu .mega-menu-toggle.mega-menu-open + #mega-menu-main-menu {
    left: 0 !important;
    top: 122px;
    transition: top .3s ease;
}
.banner.scrolled #mega-menu-wrap-main-menu .mega-menu-toggle.mega-menu-open + #mega-menu-main-menu {
    top: 76px;
}
#mega-menu-wrap-main-menu {
    position: unset;
}
@media (max-width: 768px) {
    .header-content {
        position: unset;
    }
}
@media (min-width: 480px) and (max-width: 768px) {
    header.banner .header-content .cart-count {
        right: 20vw;
    }
}
section.hero-alt-two .hero-content .hero-center .bottom-text p {
    font-size: 23px;
    line-height: 39px;
}
section.hero-alt .hero-content .hero-center {
    width: 80%;
}
@media (min-width: 1500px) {
    section.hero-alt .hero-content .hero-center {
        width: 50%;
    }   
}
@media(max-width: 1500px) {
    section.home-hero p,
    section.hero-alt .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center .bottom-text p{
        font-size: 16px;
        line-height: 1.5;
    }
    section.hero-alt .hero-content .hero-center p {
        color: #fff;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    section.hero-banner .container .col-md-6.my-auto {
        position: relative;
        text-align: left;
    }
}
@media only screen and (max-width: 992px) {
    section.hero-banner p,
    section.hero-alt .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center p {
         display: block;
    }
    
}
@media only screen and (max-width: 768px) {
    section.hero-banner p,
    section.hero-alt .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center .bottom-text p{
        color: #fff;
    }
    section.hero-banner .container .col-md-6.my-auto {
        height: 100%;
        transform: translateY(-50%);
        padding-top: 2rem;
    }
    section.hero-banner .container .col-md-6.my-auto:after {
    /*section.hero-alt .hero-center.text-center:after {*/
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(180deg, #2d323d, 75%, transparent);
        z-index: -1;
    }
    section.hero-alt .hero-content .hero-center h1,
    section.hero-alt .hero-content .hero-center p,
    section.hero-alt .hero-content .hero-center div,
    section.hero-alt-two .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center .bottom-text p{
        z-index: 1;
    }
    section.hero-alt .hero-center.text-center:after {
        z-index: 0;
    }
}
@media only screen and (max-width: 480px) {
    section.hero-alt .hero-content .hero-center h1 {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    section.hero-alt .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center .bottom-text p{
        margin: .5rem;
    }
}
@media only screen and (max-width: 520px) {
    section.hero-alt-two .hero-right {
        padding: 5rem 0;
    }
}
@media only screen and (max-width: 340px) {
    section.hero-alt .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center p,
    section.hero-alt-two .hero-content .hero-center .bottom-text p{
        font-size: .8rem;
    }
}
section.page-heading,
section.button-block,
section.text-content-block {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
section.back-button {
    padding-top: 0 !important;
}
section.back-button .end-line {
    margin-top: 0;
}
.wapf-checkbox .wapf-custom {
    display:none !important;
}
.wapf-checkbox label {
    justify-content: center;
}
select.error,
input.error,
.wapf-checkbox.error label {
    border-color: #a00 !important;
}
.avla-licence-data {
    display: flex;
    justify-content: space-between;
}

/* Hero ReBuilds */
.bg-dark-blue {
    background-color: #2c323e;
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.text-blue {
    color: #7967F6;
}
.relative {
    position: relative;
}
figure {
    margin: 0;
}
.object-cover img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
h1.text-display-1 {
    font-size: 2rem;
    line-height: 1.2;
}
.text-20 {
    font-size: 1.2rem;
}
.hero-container {
    position: relative;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    z-index: 1;
}
.hero-container p {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}
.hero-home,
.hero-subpage {
    padding-top: 4rem !important;
}
.svg-left {
    position: absolute;
    width: 30%;
    height: 75%;
    left: .75rem;
    top: 0;
}
@media(min-width: 768px) {
    h1.text-display-1 {
        font-size: 4rem;
        line-height: 1.2;
    }
    .hero-container {
        padding-right: 7.5vw;
        padding-left: 7.5vw;
    }
    .hero-home,
    .hero-subpage {
        padding-top: 12rem !important;
    }
    .buttons {
        gap: 1.5rem;
    }
}
@media(min-width: 992px) {
    .lg-text-left {
        text-align: left !important;
    }
    .hero-container p {
        width: 100%;
    }
    .svg-left {
        width: 15%;
        left: -8%;
    }
}
.hero-home .logo-image {
    position: absolute;
    top: 60%;
    width: 15%;
    height: 100%;
    border-radius: 50rem;
    transform: translateY(-50%);
    overflow: hidden;
}
.hero-home .logo-image:nth-of-type(1) {
    left: 13%;
    height: 50%;
}
.hero-home .logo-image:nth-of-type(1) img {
    object-position: 30% 50%;
}
.hero-home .logo-image:nth-of-type(2) {
    left: 38%;
    height: 70%;
}
.hero-home .logo-image:nth-of-type(2) img {
    object-position: 80% 50%;
}
.hero-home .logo-image:nth-of-type(3) {
    left: 63%;
}
.hero-home .logo-image:nth-of-type(3) img {
    object-position: 92% 50%;
}

section.video-intro .video-text p {
    font-size: 1.5rem;
    color: #B0B9CF;
    font-weight: 700;
    line-height: 1.4;
}

.hero-subpage {
    padding-bottom: 20rem !important;
    position: relative;
    overflow: hidden;
}
.hero-subpage .svg-container-left {
    position: absolute;
    left: 10%;
    bottom: 10%;
    width: 50%;
}
.hero-subpage .left-image {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 60%;
    padding: 3%;
    margin-left: -3%;
}
.hero-subpage .left-image figure {
    position: relative;
    border-radius: 0 50rem 50rem 0;
    overflow: hidden;
    z-index: 10;
}
.hero-subpage .left-image svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.hero-subpage .svg-container-right-1 {
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
}
.hero-subpage .svg-container-right-1 figure {
    display: none;
}
.hero-subpage .svg-container-right-1 figure img {
    object-position: 75%
}
.hero-subpage .svg-container-right-2 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
}
.hero-subpage .svg-container-right-2 svg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 200%;
}
.hero-subpage .svg-container-right-2 figure {
    position: relative;
    border-radius: 50rem 0 0 50rem;
    overflow: hidden;
    z-index: 10;
    margin-bottom: 25%;
}
.hero-container {
    z-index: 10;
}
@media(min-width: 480px) {
    .hero-subpage {
        padding-bottom: 25rem !important;
    }
}
@media(min-width: 768px) {
    .hero-subpage {
        padding-bottom: 40rem !important;
    }
    section.video-intro .video-text p {
        font-size: 2rem;
    }
}
@media(min-width: 992px) {
    .hero-subpage {
        padding-top: 20rem !important;
        padding-bottom: 18rem !important;
    }
    .hero-subpage .svg-container-left {
        width: 40%;
        height: 80%;
        bottom: 5%;
        left: 0;
    }
    .hero-subpage .left-image {
        width: 30%;
        bottom: 10%;
        padding: 1%;
    }
    .hero-subpage .svg-container-right-1 {
        right: 10%;
        width: 15%;
        z-index: 1;
    }
    .hero-subpage .svg-container-right-1 figure {
        display: block;
        position: absolute;
        top: 30%;
        left: 20%;
        border-radius: 50rem;
        overflow: hidden;
        width: 45%;
        height: 40%;
    }
    .hero-subpage .svg-container-right-2 svg {
        left: 35%;
        height: unset;
        width: 25%;
        bottom: 50%;
        z-index: 0;
    }
    .hero-subpage .svg-container-right-2 figure {
        width: 50%;
        margin-bottom: 0;
        margin-left: 50%;
    }
}
section.video-intro .video-container {
    margin-top: 2rem;
}

body.single-post,
body.blog,
body.archive {
    padding-top: 205px;
}
body.archive section.post-grid .card .category {
    display: none;
}
body.single-post section.page-heading h1,
body.blog section.page-heading h1,
body.archive section.page-heading h1 {
    margin-top: 20px;
    margin-bottom: 60px;
}
section.post-grid {
    background-color: #f1f2f8;
    padding: 100px 0;
}
section.post-grid.external-articles {
    background-color: #fff;
}
section.post-grid .card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fff;
    border-radius: 20px;
    margin-top: 3rem;
    padding: 2rem;
    height: calc(100% - 3rem);
    justify-content: space-between;
    overflow: hidden;
}
section.post-grid.external-articles ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 25px 0 0;
}
section.post-grid.external-articles ul li {
    margin: 0 0 10px;
    padding: 0 0 0 8px;
    position: relative;
    color: #6b7180;
    width: 48%;
}
section.post-grid.external-articles ul li a {
    font-size: 16px;
    color: #6b7180;
}

section.post-grid.external-articles ul li h4 {
    font-size: 16px;
    color: #6b7180;
    margin-bottom: 0!important;
}
section.post-grid.external-articles ul li .article {
    position: relative;
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
section.post-grid.external-articles ul li .article .category a {
    font-size: 14px;
    text-decoration: none;
}
section.post-grid .card .news-date {
    text-align: right;
    font-size: 12px;
    color: #484e5c;
}
section.post-grid .card .category {
    justify-content: flex-end;
    gap: 1rem;
}
section.post-grid .card .category a {
    font-size: 12px;
    text-decoration: none;
    border: 1px solid var(--bs-body-color);
    color: var(--bs-body-color);
    padding: .2rem .5rem;
    border-radius: 20px;
    transition: all .3s;
}
section.post-grid .card .category a:hover {
    background-color: #805fff;
    border-color: #805fff;
    color: #fff;
}
section .category {
    display: none;
}
.pagination-block {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.pagination-block .pagination-numbers {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.pagination-block a {
    text-decoration: none;
    color: #484e5c;
}
.pagination-block svg {
    height: 24px;
    width: 18px;
    fill: #484e5c;
}
.w-full {
    width: 100%;
}
.useful-list-group .w-full h4 {
    margin-top: 2rem;
}
.text-right {
    text-align: right;
}
.cc-email-row {
    position: relative;
}
.remove-cc-email {
    position: absolute !important;
    top: 0;
    right: 0;
    border-radius: 0 3px 3px 0 !important;
}