:root {
    --color-light: #dedede;
    --color-dark: #1e1e1e;
    --text-color: #000;
    --text-color-contrast: #FFF;
    --content-max-width: 1300px;
    --border-light: #1e1e1e26;
    --font-family-1: "Playfair Display", sans-serif;
    --font-family-2: "Source Sans 3", sans-serif;
}
.heading {
    font-family: var(--font-family-1);
    font-weight: bold;
}
h1 {
    font-size: 2rem;
    margin: 20px 0;
}
.heading-2 {
    font-size: 2rem;
}
.heading-3 {
    font-size: 2rem;
}
.heading-5 {
    font-size: 1.313rem;
}
p {
    font-size: 1.188rem;
    line-height: 2.188rem;
    font-weight: normal;
    font-family: var(--font-family-2);
}
a {
    text-decoration: none;
    color: var(--text-color);
}
@media (min-width: 700px) {
    h1 {
        font-size: 2.25rem;
        margin: initial;
    }
    .heading-2 {
        font-size: 2.25rem;
    }
    .heading-3 {
        font-size: 2.188rem;
    }
    .heading-5 {
        font-size: 1.313rem;
    }
    p {
        font-size: 1.188rem;
        line-height: 2.188rem;
        font-weight: normal;
        font-family: var(--font-family-2);
    }
}
body {
    margin: 0;
    font-family: var(--font-family-2);
}
#TopBar {
    height: 90px;
    width: 100%;
    background-color: #FFF;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    border-bottom: 1px solid var(--color-light);
    @media (min-width: 700px) {
        height: auto;
        border-bottom: none;
    }
}
#BrandContainer {
    width: auto;
    position: absolute;
    padding: 15px;
    top: 0;
    left: 0;
    a {
        img {
            max-height: 60px;
            width: auto;
        }
    }
    @media (min-width: 700px) {
        position: static;
        width: 100%;
        padding: 30px 0;
        a {
            img {
                max-width: 100%;
                max-height: 120px;
                width: auto;
            }
        }
    }
}
#Locales {
    font-family: var(--font-family-2);
    font-weight: bold;
    #MobileLangSelect {
        width: 50px;
        height: 44px;
        line-height: 44px;
        position: relative;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
        margin-right: 10px;
        &:before {
            border-style: solid;
            border-width: 2px 2px 0 0;
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            left: 10px;
            position: absolute;
            top: 16px;
            transform: rotate(135deg);
        }
        span {
            padding-left: 10px;
        }
        @media (min-width: 700px) {
            display: none;
        }
    }
    ul {
        @media (max-width: 699px) {
            display: none;
            &.open {
                display: block;
                list-style: none;
                min-width: 50px;
                background-color: #FFF;
                border: 1px solid var(--border-light);
                border-radius: 6px;
                padding-left: 0;
                position: absolute;
                right: 10px;
                top: 55px;
                li {
                    height: 44px;
                    line-height: 44px;
                    padding: 0 5px;
                    text-align: center;
                    &:not(:last-child) {
                        border-bottom: 1px solid var(--border-light);
                    }
                    &.current {
                        display: none;
                    }
                }
            }
        }
        @media (min-width: 700px) {
            display: flex;
            flex-direction: row;
            list-style-type: none;
            padding: 0;
            margin: 0;

            li {
                padding: 10px;
                width: 20px;
                text-align: center;

                &.current {
                    background-color: var(--color-light);
                }

                a {
                    color: var(--text-color);
                    text-decoration: none;
                }
            }
        }
    }
}
.container {
    .container-inner {
        padding: 20px;
        max-width: var(--content-max-width);
        margin: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        & > .text {
            flex-direction: column;
            display: flex;
            justify-content: center;
        }
    }
    @media (min-width: 700px) {
        padding: 80px 0;
        &.bg-7030 {
            width: 100%;
            position: relative;
            &:before {
                content: "";
                display: block;
                width: 40%;
                height: 100%;
                position: absolute;
                top: 0;
                right: 0;
                background-color: var(--color-light);
                z-index: -1;
            }
        }
        .container-inner {
            .container-left,
            .container-right {
                width: 50%;
            }
        }
    }
}
.contact-btns {
    padding: 10px 0;
    .contact-btn {
        width: 100%;
        max-width: calc(100% - 4px);
        text-align: center;
        display: inline-block;
        line-height: 50px;
        border: 2px solid var(--text-color);
        text-decoration: none;
        color: var(--text-color);
        font-weight: bold;
        &:hover {
            color: var(--text-color-contrast);
            background-color: var(--color-dark);
            transition: all 0.25s ease;
        }
    }
    @media (min-width: 400px) {
        padding: 30px 0;
        .contact-btn {
            line-height: initial;
            width: auto;
            padding: 20px 35px;
        }
    }
}

#Container1 {
    padding-top: 0;
    .container-inner {
        @media (max-width: 699px) {
            padding-top: 0;
            flex-direction: column-reverse;
        }
        .container-left {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .hero-image {
            width: calc(100% + 40px);
            margin-left: -20px;
            margin-right: -20px;
            object-fit: cover;
        }
    }
    @media (min-width: 700px) {
        padding-bottom: 100px;
        .container-inner {
            .hero-image {
                width: 630px;
                max-width: 100%;
                margin: 0;
                height: auto;
            }
        }
    }
}
#Container2 {
    background-color: var(--color-dark);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    .container-inner {
        @media (max-width: 699px) {
            flex-direction: column-reverse;
        }
        .container-left {
            background-color: #FFF;
            .text-container {
                padding: 3.125vw;
            }
        }
        .container-right {
            img {
                display: block;
                width: 100%;
                max-width: 100vw;
                min-height: 200px;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}
#Container3 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    .container-inner {
        .container-right {
            border: 2px solid var(--border-light);
            border-radius: 6px;
            padding: 20px;
            ul {
                list-style: none;
                padding: 0;
                li {
                    position: relative;
                    padding-left: 30px;
                    margin: 10px auto;
                    line-height: 1.8rem;
                    font-size: 1.188rem;
                    &:before {
                        content: "\2714\0020";
                        color: #4EC963;
                        position: absolute;
                        left: 0;
                        top: 50%;
                        transform: translateY(-50%);
                        font-size: 1.25rem;
                    }
                }
            }
        }
    }
    @media (min-width: 700px) {
        .container-inner {
            .container-left {
                width: 60%;
            }
            .container-right {
                width: 30%;
                padding: 30px;
            }
        }
    }
}
footer {
    padding: 60px 20px 60px;
    background-color: var(--color-light);
    .footer-inner {
        max-width: var(--content-max-width);
        margin: auto;
        display: flex;
        flex-direction: row;
        .contact-links {
            padding-top: 10px;
            display: flex;
            flex-direction: column;
            font-size: 1.2rem;
            a {
                margin-bottom: 10px;
            }
        }
    }
    .footer-bottom {
        max-width: var(--content-max-width);
        margin: auto;
        #Cr {
            padding-top: 40px;
        }
    }
}