:root {
    --color-primary: #535353;
    --color-secondary: #E2D5C4;
    --color-blue: #8FCAE7;
    --color-tint: #F2E9E0;
    --font-heading: 'brother-1816', sans-serif;
    --font-lead: 'brother-1816', sans-serif;
    --font-body: 'brother-1816', sans-serif;
}


body {
    line-height: 1.45;
    background-color: white;
    font-size: 16px;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: min(max(16px, 4vw), 18px);
}

/* TYPE */

a {
    color: var(--color-primary);
    text-decoration: underline;
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.content h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 100;
}

p.lead {
    font-family: var(--font-lead);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
}

.btn-primary:hover {
    color: var(--color-primary);
    background-color: #3C3C3C;
    border: 0;
    text-decoration: none;
}

.btn-secondary {
    color: #fff;
    background-color: var(--color-secondary);
    border: 0;
}

.btn-secondary:hover {
    color: #fff;
    background-color: var(--color-primary);
    border: 0;
    text-decoration: none;
}

/* LAYOUT */

.notice_top {
    background-color: var(--color-primary);
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    font-size: 0.8rem;
}
.slide.row{
    position: absolute;
    top: 50%;
    left: 9%;
    transform: translateY(-50%);
    color: var(--color-primary);
    background-color: rgb(255 255 255 / 80%);
    width: 36%;
    text-align: left;
    z-index: 99;
    padding: 20px 15px;
}
.slide.row h2 {
    font-size: 2.5rem;
    font-weight: 400;
}



header {
    background-color: rgba(255,255,255,0.9);
    color: white;
    height: 100px;
    position: relative;
}

header:has(.notice_top) {
    height: 130px;
}

header .contactDetails {
    position: absolute;
    color: var(--color-primary);
    text-align: right;
    top: 6px;
    right: 23px;
}

header .contactDetails p {
    font-weight: 100;
    font-size: 0.8rem;
}

.subHeader {
    background-color: var(--color-primary);
    font-size: 0.8rem;
    padding: 10px 0;
    text-align: right;
}

.subHeader a {
    color: var(--color-secondary);
}

.navbar {
    padding-top: 0;
}

.navbar-brand {
    position: absolute;
    height: auto;
    top: -6px;
    left: 0;
    width: 300px;
    z-index: 10;
}

.navbar-brand .logo {
    margin-top: 20px;
}

.navbar-nav {
    padding-left: 30%;
    padding-top: 32px;
}

.navbar-nav .nav-link {
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 100;
    font-size: 0.8rem;
}

.navbar-nav .nav-link.active {
    text-decoration: underline;
}

#carouselHero .carousel-inner {
    position: relative;
}

#carouselHero .carousel-inner > div.grad {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    background: #ffffff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    z-index: 3;
}

.homeBars > .container-xl {
    width: 100%;
    max-width: 100%;
}

.homeBars > .container-xl > .row.py-4 {
    padding-bottom: 0 !important;
}

.homeBars img {
    margin-top: -150px;
}

.homeBars .container-xl .row .col-md-4 div {
    background-color: var(--color-tint);
    border-radius: 10px;
    height: 100%;
    margin-bottom: 50px;
}

.homeBars .container-xl .row .col-md-4 div h3 {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 100;
    padding: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.homeBars .container-xl .row .col-md-4 div p {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}


.container-xl {
    position: relative;
    z-index: 2;
}


.bubbleBar {
    display: none;
    position: relative;
    background-image: url(../img/bgBubbleBar.svg);
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-tint);
    color: black;
    height: 500px;
    z-index: 1;
}

.bubbleBar .bubble {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    color: black;
}

.bubbleBar .bubble.frontBubble {
    position: absolute;
    right: 0;
    top: -4px;
    width: 500px;
    height: auto;
    z-index: 2;
}

.bubbleBar .bubble.backBubble {
    position: absolute;
    left: 0;
    top: 180px;
    width: 350px;
    height: auto;
    z-index: 1;
}

.bubbleBar .bubble.frontBubble .blockquote {
    margin-bottom: 0rem;
    font-size: 1rem;
    padding: 30px 60px 100px 70px;
    text-align: center;
    font-weight: 100;
}

.bubbleBar .bubble.backBubble .blockquote {
    margin-bottom: 0rem;
    font-size: 1rem;
    padding: 80px 60px 100px 70px;
    text-align: center;
    font-weight: 100;
}

.bubbleBar .bubble .blockquote em {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-weight: 400;
}

.bubbleBar .bubble .blockquote em span {
    font-size: 0.7rem;
}

.bubbleBar:before {
    content: '';
    width: 100%;
    height: 103px;
    position: absolute;
    background: white;
    z-index: -1;
    bottom: -100px;
    transform-origin: left top;
    transform: skewY(-3deg);
    border-top: 4px solid var(--color-secondary);
    z-index: 1;
}
.bubbleBar input, .bubbleBar textarea{
    color: var(--color-tint);
}

.bubbleBar .theBubbles {
    width: 650px;
    margin: 0 auto;
}

.bubbleBar .caption {
    margin-top: 0;
    padding-top: 70px;
    padding-bottom: 120px;
}

.testimonial {
    margin-bottom: 25px;
}

.testimonial p {
    margin-top: 0;
}

.testimonial .author {
    border-right: 4px solid var(--color-secondary);
}

.bubbleBar:has(.caption), .bubbleBar:has(form) {
    height: auto !important;
}

.bubbleBar:has(.bubbleSue) {
    margin-bottom: 180px !important;
}

.bubbleSue {
    position: absolute;
    z-index: 10;
    margin: auto;
    position: absolute;
    top: 106%;
    left: 50%;
    max-width: 250px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.circleTitle {
    border: 4px solid var(--color-secondary);
    border-radius: 50%;
    display: inline-block; 
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: white;
}

.circleTitle span {
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-secondary);
}

.circleTitle h2 {
    font-size: 1rem;
    display: block;
    margin-top: -10px;
}

.tint {
    background-color: var(--color-tint);
    color: black;
}

.number2 {
    margin-top: -210px;
    z-index: 999;
    position: relative;
    padding-bottom: 30px;
}

.number3 {
    margin-top: -182px;
    margin-bottom: 50px;
}

footer {
    background-color: var(--color-primary);
    color: white;
    padding: 30px 0;
    position: relative;
}

footer a, footer .nav2 .nav-link {
    color: white !important;
    text-decoration: none;
}

footer .nav-link {
    color: var(--color-secondary) !important;
}

footer .nav-link img {
    max-width: 22px;
}

footer a:hover,
footer .nav-link:hover {
    color: white;
    text-decoration: none;
}

.borderGap {
    position: relative;
    padding-top: 20px;
}

.borderGap > [class*='col-'] {
    position: relative;
}

.borderGap > [class*='col-']:before {
    background: var(--color-secondary);
    bottom: 0;
    content: " ";
    left: 0;
    position: absolute;
    width: 1px;
    top: 0;
}

.borderGap > [class*='col-']:first-child:before {
    display: none;
}

/* POPUP BOX */

.popUpBoxBar {
    min-height: 700px;
}

.popUpBox {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
    text-align: center;
}

.popUpBox > div {
    z-index: 2;
    position: relative;
    top: 10%;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.popUpBox .infoBox {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.popUpBox:hover > div {
    top: 0%;
}

.popUpBox:hover .infoBox {
    top: 40%;
    opacity: 1;
}

.popUpBox p {
    font-size: 1.3rem;
    font-weight: 100;
    max-width: 34ch;
    margin: 0 auto 30px auto;
}

.popUpBox .infoBox .btn {
    width: 50%;
    margin: 0 auto;

}

.popUpBox h3 {
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 4rem;
}


.popUpBox::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}


/* ZOOM BOX */

.zoomBoxBar {
    min-height: 450px;
}

.zoomBox {
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
    background-color: black;
    background-clip: content-box;
}

.zoomBox a {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

.zoomBox img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all .5s;
}

.zoomBox div h3 {
    z-index: 2;
    position: absolute;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.zoomBox:hover div h3 {
    top: 50%;
    opacity: 1;
}

.zoomBox:hover img {
    transform: scale(105%);
    opacity: 0.6;
}



/* UTILITIES */

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.objectFit {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.border-radius {
    border-radius: 15px;
}

.picScale {
    overflow: hidden;
}

.picScale a img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease;
}

.picScale a:hover img {
    transform: scale(1.03);
}

.btn-text:hover {
    text-decoration: none;
}

.btn-text span {
    display: inline-block;
    transition: 0.2s ease-in;
}

.btn-text:hover span {
    transform: translateX(50%);
}

.cookie-policy{
    position: fixed;
    bottom: 0px;
    left: 0px;
    width:100%;
    padding: 15px;
    z-index: 99999;
    background-color: var(--color-secondary);
}

.cookie-policy a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

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

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

#eapps-linkedin-feed-aefac8e9-7853-4601-b35f-4712786606e5 > div > div > div.WidgetBackground__ContentContainer-sc-1ho7q3r-1.kKIOLj > div > a {
    scale: 0 !important;
}

/* RESPONSIVE */

.navbar-toggler {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    position: absolute;
    right: 0;
    top: 13px;
    border-radius: 100%;
    padding: 12px 15px;
}

/*
iframe[title^='YouTube video player'] {
    aspect-ratio: 16 / 9;
    width: 100%;
    margin-top: 20px;
}
*/

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

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


@media (max-width: 1200px) {

    .navbar-nav {
        padding-left: 45%;
    }

}

@media (max-width: 992px) {}

@media (max-width: 768px) {

    .contactDetails {
        margin-right: 80px;
    }

    .navbar-nav {
        padding-left: 45%;
        position: absolute;
        z-index: 3;
        top: 74px;
        width: 100%;
        padding-left: 0;
        text-align: center;
        left: 0;
        border-image: conic-gradient(#e2d5c4 0 0) fill 0 //0 100vmax;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .navbar-brand {
        width: 240px;
    }

    header {
        height: 75px;
    }
    
    header:has(.notice_top) {
        height: 105px;
    }

    .bubbleBar .container-xl {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .bubbleBar .theBubbles {
        width: 100%;
    }

    .bubbleBar .bubble {
        background-size: contain;
    }

    .bubbleBar .bubble.frontBubble {
        position: absolute;
        left: 0;
        top: -4px;
        width: 100%;
        height: auto;
        z-index: 2;
    }

    .bubbleBar .bubble.backBubble {
        position: absolute;
        top: 230px;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1;
    }

    .bubbleBar .bubble.frontBubble .blockquote {
        padding: 60px 130px 90px 130px;
    }

    .bubbleBar .bubble.backBubble .blockquote {
        margin-bottom: 0rem;
        font-size: 1rem;
        padding: 80px 60px 100px 70px;
        text-align: center;
        font-weight: 100;
    }

    .navbar-brand .logo {
        display: block;
        margin-top: 10px;
    }

    .navbar-brand .logoBubble {
        display: none;
    }

    footer .nav {
        flex-direction: column;
        text-align: center;
    }
    
    .bubbleBar .caption {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .homeBars img {
        margin-top: 0px;
    }
    
    .mediaRows .row.borderGap:nth-child(even) {
        background-color: var(--color-tint);
        padding: 1rem;
    }
    
    .borderGap > [class*='col-']:before {
        display: none;
    }
    
    .mediaRows img {
        width: 150px;
    }
    
    .mediaRows {
        text-align: center;
    }
}

@media (max-width: 576px) {
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        font-weight: 400;
    }
    
    .bubbleBar {
        padding-left: 15px;
        padding-right: 15px;
    }

    .bubbleBar .bubble.frontBubble .blockquote {
        padding: 30px 50px 90px 50px;
        font-size: 0.9rem;
    }

    .bubbleBar .bubble.backBubble .blockquote {
        padding: 100px 70px 100px 70px;
        font-size: 0.9rem;
    }

    .bubbleBar .bubble.backBubble {
        top: 167px;
        left: -27px;
    }

    .bubbleBar {
        height: 430px;
    }
    
    .number2 {
        margin-top: -170px;
    }
    
    .carousel, .carousel-inner, .carousel-item {
        height: 450px;
    }

    
    .testimonial .author {
        border-right: 0px solid var(--color-secondary);
        margin-bottom: 15px;
    }
        
    .testimonial .author p {
        border-left: 4px solid var(--color-secondary);
        padding-left: 15px;
    }
    
    .slide.row {
        top: auto;
        bottom: 6%;
        left: 9%;
        transform: none;
        width: 88%;
        text-align: center;
    }
    
    .slide.row h2 {
        font-size: 1.5rem;
    }
}
