:root {
    --w3-green: #9DB23A;
    --w3-green-dark: #3D4609;
    --w3-white: #FFF;
    --w3-black: #000;
    --w3-grey: #ECECEC;

    --w3-primary-color: var(--w3-green);
    --w3-primary-color-hover: var(--w3-green-dark);
    --w3-primary-color-rgb: 1, 56, 145;

    --w3-secondary-color: var(--w3-green-dark);
    --w3-secondary-color-hover: var(--w3-blue-light);
    --w3-secondary-color-rgb: 18, 27, 61;
    
    --w3-link-color: var(--w3-green);
    --w3-link-color-hover: var(--w3-green-dark);

    --w3-text-color: var(--w3-black);

    --w3-body-bg: var(--w3-grey);
    --w3-block-bg: var(--w3-white);

    --w3-font-family-text: "Encode Sans", sans-serif;
    --w3-font-family-headings: "Encode Sans", sans-serif;
    --w3-font-family-icons: "Font Awesome 5 Pro";

    --w3-transition: 0.2s;

    --w3-slider-dots-width: 10px;
    --w3-slider-dots-bg: var(--w3-primary-color);
    --w3-slider-dots-bg-active: var(--w3-primary-color-hover);
    --w3-slider-nav-bg: var(--w3-primary-color);
    --w3-slider-nav-color: var(--w3-white);
    --w3-slider-nav-bg-hover: var(--w3-primary-color-hover);
    --w3-slider-nav-color-hover: var(--w3-white);
}

/** all fonts family
 * "Outfit", sans-serif; 100 --> 900
 * "Mulish", sans-serif; 200 --> 1000
 * "Quattrocento", serif; 400, 700
 */

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--w3-font-family-text) !important;
    color: var(--w3-text-color);
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    font-family: var(--w3-font-family-headings) !important;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    color: var(--w3-primary-color);
}

.bg-dark h1, .bg-dark .h1,
.bg-dark h2, .bg-dark .h2,
.bg-dark h3, .bg-dark .h3,
.bg-dark h4, .bg-dark .h4,
.bg-dark h5, .bg-dark .h5,
.bg-dark h6, .bg-dark .h6, 
.bg-dark p,
.bg-dark ul,
.bg-primary h1, .bg-primary .h1,
.bg-primary h2, .bg-primary .h2,
.bg-primary h3, .bg-primary .h3,
.bg-primary h4, .bg-primary .h4,
.bg-primary h5, .bg-primary .h5,
.bg-primary h6, .bg-primary .h6,
.bg-primary p, 
.bg-primary ul 
{
    color: var(--w3-white);
}

/* Headings reset font size */
@media (min-width: 1200px) {
    
    h1, .h1 {
        font-size: calc(1rem * 3); /* 48px */
    }

    h2, .h2 {
        font-size: calc(1rem * 2); /* 32px */
    }

    h3, .h3 {
        font-size: calc(1rem * 1.75); /* 28px */
    }

    h4, .h4 {
        font-size: calc(1rem * 1.5); /* 24px */
    }

    h5, .h5 {
        font-size: calc(1rem * 1.25); /* 20px */
    }

    h6, .h6 {
        font-size: calc(1rem * 1.125); /* 18px */
    }
}

.page-intro {
    padding: 4.125rem 0;
    margin-bottom: 2rem;
}

img {
    max-width: 100%;
    vertical-align: middle;
    height: auto;
    object-fit: cover;
}

ol, ul {
    padding-left: 20px;
}

a {
    color: var(--w3-link-color);
    transition: var(--w3-transition);
}

a:hover {
    color: var(--w3-link-color-hover);
}

/* Custom containers */
.container-small {
    max-width: 800px;
}

.container-medium {
    max-width: 904px;
}

@media (min-width: 768px) {
    .container-small,
    .container-medium {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* background colors */
.bg-dark {
    background-color: var(--w3-green-dark) !important;
    color: var(--w3-white);
}

.bg-grey {
    background-color: var(--w3-grey) !important;
}

.bg-primary {
    background-color: var(--w3-primary-color) !important;
}

/* intro */
.page-intro a {
    color: var(--w3-grey);
}

.page-intro a:hover {
    color: var(--w3-white);
}

/* Sections */
#lead-section {
    overflow: visible;
}

#lead-section > .vc_row {
    overflow: hidden;
}

#lead-section > #reserveer-block {
    overflow: visible;
}

/* Lists */
.list-unstyled {
    margin: 0;
}

/* 404 page */
.block-404 {
    font-family: "Mulish", sans-serif !important;
    font-weight: 700;
    font-size: 12rem;
    display: flex;
    justify-content: center;
}

.block-404 .i-4 {
    filter: drop-shadow(0px 40px 20px rgba(0, 0, 0, .5));
}
.block-404 .i-0 {
    color: var(--w3-blue);
    filter: drop-shadow(0px 40px 20px rgba(0, 0, 0, .5));
}

/* Accordion */
.vc_tta-color-white.vc_tta-style-outline .vc_tta-panel {
    border-bottom: 1px solid #666;
}

.vc_tta-color-white.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-title>a {
    color: var(--w3-green-dark) !important;
    padding-top: 26px;
    padding-bottom: 26px;
}

.vc_tta.vc_general .vc_tta-panel-title {
    font-size: 16px;
    padding-left: 10px;
    position: relative;
    text-transform: none;
}

.vc_tta.vc_general .vc_tta-panel-title::before {
    content: '\f178';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    position: absolute;
    top: 24px;
    left: 0;
    font-size: 20px;
    color: var(--w3-green-dark);
}

.vc_tta-color-white.vc_tta-style-outline .vc_tta-panel .vc_tta-panel-heading {
    border: none !important;
    background-color: unset !important;
}

.vc_tta.vc_tta-o-no-fill .vc_tta-panels .vc_tta-panel-body {
    padding-left: 30px;
    padding-top: 0;
}

/* Form */
.form-floating>label.error {
    position: static;
    padding: 0;
}

.posts-grid .post-thumbnail img {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

/* Breadcrumb */
.rank-math-breadcrumb a {
    color: var(--w3-white);
}

.rank-math-breadcrumb .last {
    color: var(--w3-grey);
}
