﻿.ld-header {
    height: calc(20vh + 5vw);
    min-height: 75px;
    max-height: 150px;
    background-image: url('/image/header/bg-top-left.png');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    z-index: 100;
    margin-bottom: 100px;
}


.ld-header-background {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

    .ld-header-background video {
        max-height: 600px;
        min-height: 300px;
        max-width: 100vw;
        min-width: 550px;
        position: absolute;
        top: 0;
        right: 0;
    }

.ld-header-logo {
    float: left;
    height: 100%;
    width: 200px;
    padding-left: 5vh;
    padding-top: 2.5vh;
}

    .ld-header-logo img {
        min-width: 50px;
        height: auto;
        width: auto;
        max-height: 90%;
        max-width: 90%;
    }

.ld-header-nav {
    float: left;
    height: 100%;
    width: calc(100% - 200px);
    padding-right: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: left;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 0 0 24px;
    justify-content: center;
}


    .ld-header-nav .ld-header-nav-element {
        float: left;
        margin-right: 15px;
        margin-bottom: 5px;
        display: table-cell;
        vertical-align: middle;
    }

        .ld-header-nav .ld-header-nav-element a {
            font-size: 1.2rem;
        }

.ld-header-nav-element-breaker {
    display: none;
}
/*SUB HEADER*/
.ld-sub-header {
    overflow: auto;
    display: inline-block;
    width: 100%;
    max-width: 1300px;
    padding-left: 50px;
    padding-right: 50px;
}

.ld-sub-header-section {
    float: left;
    width: 50%;
    text-align: left;
}

    .ld-sub-header-section:nth-child(1) {
        padding: 30px;
        width: 50%;
    }

    .ld-sub-header-section h2 {
        font-size: 2rem;
        color: rgb(var(--smash-orange-1-rgb));
    }

    .ld-sub-header-section p {
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-weight: 100;
    }

    .ld-sub-header-section > img {
        max-width: 500px;
        max-height: 500px;
    }

    .ld-sub-header-section .ld-ui-btn {
        margin-top: 2rem;
        font-size: 1.5rem;
    }


/*HOME*/
.ld-lang-list {
    margin-top: 4rem;
    text-align: left;
}

    .ld-lang-list .ld-lang {
        display: inline-block;
        margin-right: 1rem;
        font-size: 1rem;
        line-height: 3rem;
        height: 3rem;
        padding-left: 4rem;
        background-repeat: no-repeat;
        background-position: center;
        background-size: auto 100%;
        background-position: left center;
        cursor: pointer;
    }

        .ld-lang-list .ld-lang.ld-lang-fr {
            background-image: url('/image/general/flag_fr.png');
        }

        .ld-lang-list .ld-lang.ld-lang-en {
            background-image: url('/image/general/flag_en.png');
        }

        .ld-lang-list .ld-lang.ld-lang-es {
            background-image: url('/image/general/flag_es.png');
        }


#requestCulture_RequestCulture_UICulture_Name {
    width: 100px;
}

.ld-language-selector {
    position: relative;
    width: 30px;
    height: 30px;
    margin-top: 5px;
}

.ld-language-selector-header {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 100;
}


.ld-language-selector-header {
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    background-position: left center;
}

.ld-language-selector-options {
    display: none;
    position: absolute;
    width: auto;
    height: auto;
    z-index: 10;
    padding: 10px;
    padding-top: 50px;
    top: -10px;
    border-radius: 1rem;
    background: white;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
    left: 50%;
    transform: translateX(-50%);
}

.ld-language-selector a {
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    background-position: center;
    transition-duration: 100ms;
    position: relative;
}

    .ld-language-selector a:hover {
        transform: scale(1.2);
    }

.ld-language-selector:hover .ld-language-selector-options {
    display: block;
}


/*fixed header*/

.ld-header-fixed {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 75px;
    background: #fcedd0;
    z-index: 1000;
    /*overflow: auto;*/
}

.ld-header-fixed-logo {
    width: 70px;
    padding: 5px;
    text-align: center;
    float: left;
}

    .ld-header-fixed-logo img {
        display: inline-block;
        height: 60px;
        width: auto;
    }

.ld-header-fixed-nav {
    width: calc(100% - 70px);
    height: 75px;
    float: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ld-header-fixed-nav-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.ld-header-fixed-nav-element {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

    .ld-header-fixed-nav-element a {
        text-decoration: none;
        color: black;
        font-size: 1.2rem;
        color: #979897;
        font-weight: 700;
    }

a.ld-header-fixed-nav-hyper {
    font-size: 1rem;
    color: rgb(var(--smash-yellow-4-rgb));
}


.ld-header-fixed-nav-element
.ld-language-selector {
    width: 25px;
    height: 25px;
}

    .ld-header-fixed-nav-element
    .ld-language-selector a {
        float: left;
        width: 25px;
        height: 25px;
        margin-top: 3px;
        margin-bottom: 3px;
        position: relative;
    }


.ld-header-fixed-nav-element
.ld-language-selector-options {
    padding-top: 40px;
}

.ld-language-selector-header {
    position: relative;
}

    .ld-language-selector-header:before {
        position: absolute;
        top: 50%;
        left: 50%;
        line-height: 30px;
        transform: translate(-50%, -50%);
        color: rgb(var(--smash-yellow-1-rgb));
        font-size: 10px;
        font-weight: bold;
        text-align: center;
        border: 2px solid rgb(var(--smash-yellow-1-rgb));
        width: 100%;
        height: 100%;
        border-radius: 50%;
        font-size: 14px;
        display: table-cell;
        vertical-align: middle;
        background: white;
    }

.ld-header-fixed-nav-element
.ld-language-selector-header:before {
    line-height: 25px;
}

.ld-language-selector a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    color: black;
    font-size: 10px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid rgb(var(--smash-yellow-1-rgb));
    color: rgb(var(--smash-yellow-1-rgb));
}

.ld-header-fixed-nav-element a:before {
    line-height: 25px;
    width: 22px;
    height: 22px;
}

html[data-lang="en"] .ld-language-selector-header[data-lang="es"]:before,
html[data-lang="en"] .ld-header-nav .ld-header-nav-element a[data-lang="es"]:before,
html[data-lang="en"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="es"]:before {
    content: 'SP';
}

html[data-lang="en"] .ld-language-selector-header[data-lang="fr"]:before,
html[data-lang="en"] .ld-header-nav .ld-header-nav-element a[data-lang="fr"]:before,
html[data-lang="en"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="fr"]:before {
    content: 'FR';
}

html[data-lang="en"] .ld-language-selector-header[data-lang="en"]:before,
html[data-lang="en"] .ld-header-nav .ld-header-nav-element a[data-lang="en"]:before,
html[data-lang="en"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="en"]:before {
    content: 'EN';
}

html[data-lang="fr"] .ld-language-selector-header[data-lang="es"]:before,
html[data-lang="fr"] .ld-header-nav .ld-header-nav-element a[data-lang="es"]:before,
html[data-lang="fr"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="es"]:before {
    content: 'ES';
}

html[data-lang="fr"] .ld-language-selector-header[data-lang="fr"]:before,
html[data-lang="fr"] .ld-header-nav .ld-header-nav-element a[data-lang="fr"]:before,
html[data-lang="fr"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="fr"]:before {
    content: 'FR';
}

html[data-lang="fr"] .ld-language-selector-header[data-lang="en"]:before,
html[data-lang="fr"] .ld-header-nav .ld-header-nav-element a[data-lang="en"]:before,
html[data-lang="fr"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="en"]:before {
    content: 'AN';
}

html[data-lang="es"] .ld-language-selector-header[data-lang="es"]:before,
html[data-lang="es"] .ld-header-nav .ld-header-nav-element a[data-lang="es"]:before,
html[data-lang="es"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="es"]:before {
    content: 'ES';
}

html[data-lang="es"] .ld-language-selector-header[data-lang="fr"]:before,
html[data-lang="es"] .ld-header-nav .ld-header-nav-element a[data-lang="fr"]:before,
html[data-lang="es"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="fr"]:before {
    content: 'FR';
}

html[data-lang="es"] .ld-language-selector-header[data-lang="en"]:before,
html[data-lang="es"] .ld-header-nav .ld-header-nav-element a[data-lang="en"]:before,
html[data-lang="es"] .ld-header-fixed-nav-element .ld-language-selector a[data-lang="en"]:before {
    content: 'IN';
}

[data-selected="ScheduleLiveDemo"] .ld-header-fixed-nav-element a[data-type="ScheduleLiveDemo"],
[data-selected="Schools"] .ld-header-fixed-nav-element a[data-type="Schools"],
[data-selected="SchoolsBoards"] .ld-header-fixed-nav-element a[data-type="SchoolsBoards"],
[data-selected="HomeSchooling"] .ld-header-fixed-nav-element a[data-type="HomeSchooling"],
[data-selected="Families"] .ld-header-fixed-nav-element a[data-type="Families"] {
    color: rgb(var(--smash-orange-1-rgb));
    text-decoration: underline;
}

.mrtop-2 {
    text-align: center;
    margin-top: 2rem;
}
