:root {
    --light: #dddddd;
    --darkest: #1e1e1e;    
}

body {
    overflow-x: hidden !important;
}

.font-barlow {
    font-family: var(--bs-font-sans-serif)!important;
}

p + p {
    margin-bottom: 1rem;
}

.display,
h1,
h2,
h3,
h4,
h5,
h6,
.nav-link
{
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    --webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    text-underline-offset: .25em;
    text-decoration: underline dotted;
}

a:not(.btn, .nav-link):hover {
    text-decoration: underline solid;
}

::selection {
    color: #fff;
    background: var(--bs-primary);
}

.bg-alt, .alt-row {
    background: #ffffff;
}

/* Header */

header {
    margin-bottom: 4rem;
}

header .nav-link span {
    letter-spacing: 2px;
    border-bottom: 2px solid transparent;
}

header .nav-link:hover span {
    border-bottom: 2px solid var(--bs-secondary)
}

/* Page */

.page-intro {
    margin-bottom: 4rem;
}

/* Button classes */

.btn-primary {
    background: linear-gradient(to right, var(--bs-primary) 50%, var(--bs-secondary) 50%);
}

.btn-secondary {
    background: linear-gradient(to right, var(--bs-secondary) 50%, var(--bs-dark) 50%);
}

.btn {
    --webkit-transition: all 500ms ease;
    transition: all 500ms ease;   
    letter-spacing: 1px;
    border-radius: 0;
    text-transform: uppercase;
    background-size: 200% 100%;
    background-position: left bottom;
}

.btn:is(:hover, :focus, :focus-visible) {
    background-position: right bottom;
}

.btn:is(:focus, :focus-visible, :active) { 
    box-shadow: 0 0 0 .25rem #948a84!important; 
}

.btn-outline-primary:is(:focus, :focus-visible, :active) { 
    box-shadow: 0 0 0 .25rem #292524!important; 
}

.btn-primary:is(:active, :hover, :focus, :focus-visible) {
    border-color:  var(--bs-secondary)!important;
}

/* Carousel classes */

/* #headerSlider .carousel-item {
    height: calc(100vh - 65px);
    min-height: 640px;
} 

#headerSlider .carousel-item img {
    height: 100%;
    object-fit: cover;
} */

#headerSlider .carousel-caption.carousel-caption-centered {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial; 
}

.carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: white;
    border: 3px solid transparent;
 }

.carousel .carousel-indicators button.active {
    border: 3px solid var(--bs-success);
}

.carousel-control-prev, .carousel-control-next {
    opacity: 1!important;
}

.carousel-inner .carousel-control-prev-icon, .carousel-inner .carousel-control-next-icon {
    background: none!important;
    width: 2rem!important;
    height: 3rem!important;
    opacity: 1;
}

.carousel-inner .carousel-control-prev:is(:focus, :focus-visible, :active) .carousel-control-prev-icon, 
.carousel-inner .carousel-control-next:is(:focus, :focus-visible, :active) .carousel-control-next-icon {
    outline: 3px solid #000;
    outline-offset: 10px;
    opacity: 1;
}

@media (max-width: 768px) {

    .carousel-caption {
        position: relative;
        right: 0;
        bottom: 0;
        left: 0;
        color: var(--bs-body-color);
        padding-bottom: 0;
        text-shadow: none!important;
    }

    .carousel-caption p {
        font-size: 2rem!important;
    }

}

.testimonial-carousel .carousel-control-prev, .testimonial-carousel .carousel-control-next {
    top: auto!important;
}

.testimonial-carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23765'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")
}

.testimonial-carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23765'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}


/* Footer */

.footer {
    margin-top: 4rem;
}

.footer .nav-item-icon {
    min-width: 30px;
}

.footer .nav-link {
    display: inline-block;
    border-bottom: 1px dashed var(--bs-primary);
}

.footer .nav-link:hover {
    border-bottom: 1px solid var(--bs-secondary);
}

/* Single use classes */

/* Custom */

.badge-transparent {
    background-color: transparent;
}

.badge-transparent:hover {
    background-color: white;
    color: #000;
}

.text-suptitle {
    display: block;
    text-transform: uppercase;
    font-size: 1.5rem;
    color: var(--bs-primary);
    letter-spacing: 3px;
}

.text-subtitle {
    display: block;
    color: var(--bs-primary);
}

.text-shadow {
    text-shadow: .085em 0 .025em var(--darkest), .075em 0 .025em var(--darkest), 0 .075em .025em var(--darkest), 0 .075em .075em var(--darkest), .085em .05em .125em var(--darkest), 0 .05em .025em var(--darkest);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;  
}

/*Lists */

.list-separator-dots .list-inline-item:not(:last-child)::after {
    content: "·";
    margin-left: .5rem;
}

ul.multi-cols
{
    padding-left: 20px;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
    -webkit-column-gap: 2rem;
}

ul.multi-cols-2
{
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

ul.multi-cols-3
{
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}

.multi-cols li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

.multi-cols section {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Gallery & Images */

.vc_single_image-wrapper {
    overflow: hidden;
}

.vc_single_image-wrapper .vc_single_image-img {
    transition: 1s;
}

.vc_single_image-wrapper:hover .vc_single_image-img {
    transform: scale(1.1);
}

.animate-image {
    overflow: hidden;
}

.animate-image img {
    opacity: 0.9;
    transition: transform 2s ease, opacity .5s ease;
}

.animate-image:hover img {
    opacity: 1;
    transform: scale(1.1);
    cursor: zoom-in;
}

@media (min-width: 768px) {
    .grid-gallery
    {
        display: grid;
        grid-gap: 10px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-gallery
    {
        display: grid;
        grid-gap: 10px;
        grid-template-columns: repeat(1, auto);
    }
}

.grid-gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.grid-gallery .img-grid-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Accessiblity */

#lightgallery a:is(:focus, :focus-visible, :active) {
    filter: brightness(50%);
    outline: 0!important;
}

/* Forms */

.quform input, 
.quform textarea, 
.quform select
{
    padding: 1rem 0.75rem!important;
    border: 1px solid var(--bs-primary)!important;
}

.quform-group-title {
    margin-bottom: 20px!important;
}
    
.quform-element-group > .quform-spacer {
    margin-bottom: 40px!important;
}
    
.quform-error-inner { 
    background: none!important; 
}
    
.required-field { color: #cc0101 }