﻿/*TABLE OF CONTENTS*/
/*
    1. Colors
    2. Basic Setup
    3. Navigation Setup
    4. Responsive
*/

/* 1. Colors -------------------------------------*/
:root {
    --black: #000000;
    --bone: #e3d8c9;
    --chamoisee: #91744b;
    --dim-grey: #626262;
    --eerie-black: #1a1a1a;
    --gunmetal: #182828;
    --lion: #ab8c5f;
    --platinum: #d9d9d9;
    --platinum-light: #f6f6f6;
    --timberwolf: #d2d2d2;
    --uni-red: #ae0000;
    --white: #ffffff;
    --white-smoke: #f7f5f3;
    --top-logo-width: 250px;
    --nav-logo-width: 170px;
    --nav-logo-width-sm: 125px
}

/* 2. Basic Setup --------------------------------*/
body {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.fa-sr-only, .fa-sr-only-focusable:not(:focus), .sr-only, .sr-only-focusable:not(:focus) {
    border-width: 0px;
    clip: rect(0px, 0px, 0px, 0px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0px;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.desktopHide, .mobileShow {
    display: none;
}

/* Skip to Main */
.skip-to-main-content-link {
    background-color: var(--white);
    border: 2px var(--uni-red) solid;
    border-radius: 15px;
    color: var(--eerie-black);
    left: -9999px;
    opacity: 0;
    padding: 1em;
    position: absolute;
    z-index: 999;
}

    .skip-to-main-content-link:focus {
        border: 2px var(--uni-red) solid;
        left: 50%;
        opacity: 1;
        transform: translateX(-50%);
        z-index: 1002;
    }

/* 3. Navigation Setup ---------------------------*/
/*Top area with navigation*/
.navigation-container {
    align-items: center;
    background-color: var(--white-smoke);
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    line-height: 1;
    margin: 3vh auto 0 auto;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1001;
    -moz-transition: all ease-in-out .8s;
    -o-transition: all ease-in-out .8s;
    -webkit-transition: all ease-in-out .8s;
    transition: all ease-in-out .8s;
}

    .navigation-container.hide {
        transform: translateY(-145%);
        -moz-transition: all ease-in-out .8s;
        -o-transition: all ease-in-out .8s;
        -webkit-transition: all ease-in-out .8s;
        transition: all ease-in-out .8s;
    }

.all-nav-menus {
    max-width: unset;
    width: 100%;
}

.navigation-bar {
    align-items: center;
    display: flex;
    flex-direction: row;
    height: 6vh;
    justify-content: center;
    width: 100%;
}

    .navigation-bar nav {
        
    }

nav#top-navigation-1 {
    display: flex;
    align-items: center;
    width: 100%;
}

nav#top-navigation-2 {
    background-color: var(--uni-red);
    max-width: unset;
    width: 100%;
}

.top-logo {
    background-color: var(--uni-red);
    border-radius: 20px 20px 0 0;
    /*padding: 0.75rem 1rem 0.5rem 1rem;*/
    padding: 0.75rem 1rem 0 1rem;
    position: relative;
    top: 0;
    -moz-transition: all ease-in-out .4s;
    -o-transition: all ease-in-out .4s;
    -webkit-transition: all ease-in-out .4s;
    transition: all ease-in-out .4s;
}

    .top-logo img.responsive {
        max-width: var(--top-logo-width);
    }

.navigation-search {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.menu ul {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
}

    .menu ul li {
        border-right: 1px var(--uni-red) solid;
    }

        .menu ul li:last-of-type {
            border-right: 0;
        }

        .menu ul li > a {
            color: var(--uni-red);
            display: block;
            font-size: inherit;
            padding: 0.25rem 0.8rem;
            position: relative;
            text-decoration: none;
        }

            .menu ul li > a::after, .menu ul li > a::before, .icons-menu ul li > a::after, .icons-menu ul li > a::before {
                content: '';
                height: 10px;
                width: 10px;
                position: absolute;
                transition: all 0.35s ease;
                opacity: 0;
            }

            .menu ul li > a::before, .icons-menu ul li > a::before {
                content: '';
                right: 4px;
                top: -4px;
                border-top: 3px var(--white) solid;
                border-right: 3px var(--white) solid;
                transform: translate(-100%, 50%);
            }

        .menu ul li a:hover {
            cursor: pointer;
            transition: all 1s ease;
        }

        .menu ul li > a:hover:before, .menu ul li > a:hover:after, .icons-menu ul li > a:hover:before, .icons-menu ul li > a:hover:after {
            transform: translate(0, 0);
            opacity: 1;
        }

.menu.nav-primary ul li a::before, .icons-menu ul li a::before {
    border-top: 3px var(--uni-red) solid;
    border-right: 3px var(--uni-red) solid;
}

.menu.nav-secondary ul {
    justify-content: space-evenly;
    margin: 0 auto;
    padding: 1rem;
    width: 60vw;
}

.menu.nav-secondary ul li a {
    color: var(--white);
}

nav.icons-menu {
    align-items: center;
    display: flex;
    width: 100%;
}

.nav-icons {
    align-items: center;
    display: flex;
}

/*Search Box*/


/* Search Updated*/
.button {
    display: inline-block;
    margin: 4px 2px;
    font-size: 14px;
    padding-left: 32px;
    padding-right: 32px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: var(--uni-red);
    text-decoration: none;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .button:hover {
        color: var(--black);
        transition-duration: 0.4s;
        -moz-transition-duration: 0.4s;
        -webkit-transition-duration: 0.4s;
        -o-transition-duration: 0.4s;
    }

.search-container {
    position: relative;
    display: inline-block;
    margin: 4px 2px;
    height: 50px;
    width: 50px;
    vertical-align: bottom;
}

.searchbutton {
    position: absolute;
    font-size: 22px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.searchField:focus + .searchbutton {
    color: var(--black);
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
}

.searchField {
    border: none;
    border-radius: 15px;
    position: absolute;
    left: 49px; /* Button width-1px (Not 50px/100% because that will sometimes show a 1px line between the search box and button) */
    background-color: white;
    outline: none;
    padding: 0;
    top: 0.5vh;
    width: 0;
    height: 4vh;
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
}

    .searchField.active {
        border: 1px var(--uni-red) solid;
        padding: 0 0 0 1vw;
        width: 12vw;
    }
/* End Updated Search */

    .icons-menu ul {
        align-items: center;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        list-style-type: none;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        margin: 0;
        padding: 0;
        text-transform: uppercase;
    }

    .icons-menu ul > li {
        border-right: 1px var(--uni-red) solid;
        float: left;
        position: relative;
    }

        .icons-menu ul > li a {
            color: var(--uni-red);
            display: block;
            text-decoration: none;
            cursor: pointer;
            padding: 0.25rem 0.8rem;
            text-decoration: none;
            transform: translateX(0rem);
            transition: 0.4s ease-in-out;
        }

.tooltipText {
    background-color: #000;
    color: #fff;
    position: absolute;
    padding: 5px 7px;
    border-radius: 5px;
    font-size: 16px;
    left: 50%;
    top: 30px;
    opacity: 0;
    transition: all .5s;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    z-index: 10;
}

.tooltip:hover .tooltipText, .tooltip:focus .tooltipText, .tooltip:focus-visible .tooltipText, .tooltip:active .tooltipText, .tooltip a:focus-visible > .tooltipText {
    clip: unset;
    clip-path: unset;
    height: unset;
    opacity: 1;
    outline: 0;
    transition: background-color 0.3s;
    transform: translate3d(-50%, 0, 0) scale(1);
    width: auto;
}

#top-navigation-2.menu li {
    border-right: 0;
}

/* Language Menu */
.language-wrapper {
    background-color: var(--white);
    border: 3px var(--black) solid;
    border-radius: 15px;
    color: var(--eerie-black);
    opacity: 0;
    padding: 0 1rem 1rem 1rem;
    position: relative;
    top: 5vh;
    z-index: -5;
}

    .language-wrapper.showLanguage {
        opacity: 1;
        z-index: 0;
    }

    .language-wrapper ul li a {
        color: var(--uni-red);
    }

/* Floating Tabs */
.tamuv-ctas_action-wrap {
    display: flex;
    margin-top: 0.5rem;
    position: relative;
}

    .tamuv-ctas_action-wrap:first-child {
        margin-top: 0;
    }

.tamuv-ctas_actions {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    transform: translate(0);
    transition: all 1s ease-in-out 0s;
    right: -1vw;
    z-index: 1000;
}

.tamuv-ctas_call-to-action > a {
    color: var(--white);
    text-decoration: none;
}

.tamuv-ctas_call-to-action {
    --drop-shadow-alpha: 92%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--uni-red);
    border: none;
    border-radius: 8px;
    /*clip-path: polygon(1rem 0,100% 0,100% 100%,0 100%);*/
    color: var(--white);
    display: block;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.25rem 2rem 0.25rem 1rem;
    position: relative;
    transition: all .2s ease-in-out 0s;
    transform: translateY(0);
    transform-origin: right center;
    width: 100%;
}

.tamuv-ctas_call-to-action:is(:hover, :focus) {
    transform: translateX(-1rem);
    transition: all .2s ease-in-out 0s;
}

/* 4. Responsive ---------------------------------*/
/*CSS kicks in when the device is 2560 and above*/
@media only screen and (min-width: 2560px) {
    /* Top Navigation */
    .navigation-container {
        margin: 1vh auto 0 auto;
        /*max-width: 75vw;*/
        width: 100%;
    }

    .navigation-bar {
        height: 4vh;
    }

    .menu.nav-secondary ul {
        max-width: 35vw;
        width: 100%;
    }

    .searchField {
        height: 3vh;
    }
}

/*CSS kicks in when the device is 2000 and below*/
@media only screen and (max-width: 2000px) {

}

/*CSS kicks in when the device height is 1800 and above*/
@media only screen and (min-height: 1800px) {
    .navigation-container {
        margin: 1.5vh auto 0 auto;
    }
    .navigation-bar {
        height: 3vh;
    }
}

/*CSS kicks in when the device is 1600 and below*/
@media only screen and (max-width: 1600px) {
    .icons-menu ul {
        width: max-content;
    }

    nav.icons-menu {
        width: 101%;
    }    
}

/*CSS kicks in when the device is 1400 and below*/
@media only screen and (max-width: 1400px) {
    .navigation-bar {
        width: 106%;
    }
}

/*CSS kicks in when the device is 1300 and below*/
@media only screen and (max-width: 1300px) {
    .navigation-bar {
        width: 111%;
    }
}

/*CSS kicks in when the device is 1200 and below*/
@media only screen and (max-width: 1200px) {
    .menu.nav-secondary ul {
        justify-content: space-between;
        width: 80%;
    }
}

/*CSS kicks in when the device is 1175 and below*/
@media only screen and (max-width: 1175px) {
    .desktop-only {
        display: none;
    }

    .desktopHide, .mobileShow {
        display: block !important;
    }

    #body.active {
        overflow: hidden;
    }

    .navigation-container.hide {
        transform: translateY(0%);
    }

    .navigation-bar {
        width: auto;
    }

    /* Top Navigation */
    .navigation-container {
        margin: 0;
    }

        .navigation-container.active {
            height: 100%;
        }

    .all-nav-menus {
        display: none;
    }

    .active .all-nav-menus {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow-x: scroll;
    }

    .navigation-bar {
        flex-direction: column;
        height: auto;
    }

    .mobile-top-bar {
        display: flex;
        background-color: var(--uni-red);
        height: auto;
        justify-content: space-between;
        margin: 0;
        width: 100%;
    }

    .mobile-nav-logo {
        background: none;
        display: block;
        height: auto;
        margin: 0 2rem 0 1rem;
        position: relative;
        transition: all .25s ease-in-out;
        width: auto;
    }

    .logo-mobile {
        height: auto;
        max-height: 85px;
    }

    .mobile-nav-logo.mobileShow > img {
        width: 70%;
    }

    .navbar-toggle {
        align-items: center;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex !important;
        justify-content: center;
        margin: 0 3vw 0 0;
        width: 50px;
        z-index: 1;
    }

        .navbar-toggle span {
            position: absolute;
            color: var(--white);
            font-size: 2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .navbar-toggle .fa-solid.fa-bars.fa-2xl {
            opacity: 1;
        }

        .navbar-toggle .fas.fa-xmark.fa-2xl {
            opacity: 0;
        }

    .active .navbar-toggle .fa-solid.fa-bars.fa-2xl {
        opacity: 0;
    }

    .active .navbar-toggle .fas.fa-xmark.fa-2xl {
        opacity: 1;
    }

    nav#top-navigation-1 {
        display: block;
        height: auto;
        order: 1;
        width: 100%;
    }

    .menu ul {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
        width: auto;
    }

        .menu ul li, .icons-menu ul li {
            border-right: 0;
            padding: 0.75vh 0 0.75vh 0;
        }

    .top-logo {
        display: none;
    }

    nav.icons-menu {
        display: block;
        order: 2;
        width: 100%;
    }

    .icons-menu ul {
        align-items: flex-start;
        flex-direction: column;
        margin-top: -4vh;
        padding: 1rem;
    }

    .tooltipText {
        background-color: unset;
        border: 0;
        border-radius: unset;
        color: var(--eerie-black);
        clip-path: unset;
        -webkit-clip-path: unset;
        height: auto;
        margin: auto;
        opacity: 1;
        position: unset;
        width: auto;
    }

    .searchToggle {
        display: none;
    }

    .searchBox .search-field {
        margin: 1rem;
        opacity: 1;
        position: unset;
        width: auto;
    }

    nav#top-navigation-2 {
        order: 0;
    }

    .menu.nav-secondary ul {
        width: auto;
    }

    .searchField {
        border: 1px var(--uni-red) solid;
        padding: 0 0 0 1vw;
        width: 80vw;
        height: 4vh;
        border-radius: 0;
    }

    .search-container {
        margin-bottom: 1vh;
    }

    .language-wrapper {
        display: none;
    }

        .language-wrapper.showLanguage ul.langMenu {
            flex-direction: column;
        }

    .desktopHide.languageSelectList {
        padding: 0.25rem 1rem 1rem 1.5rem;
    }

    #myLang {
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        appearance: none;
        outline: 0;
        box-shadow: none;
        border: 0 !important;
        background: var(--dim-grey);
        background-image: none;
        flex: 1;
        padding: 0 .5em;
        color: var(--white);
        cursor: pointer;
        font-size: 1em;
        font-family: 'Open Sans', sans-serif;
        width: 100%;
    }

        #myLang::-ms-expand {
            display: none;
        }

    .selectpicker {
        position: relative;
        display: flex;
        width: 20em;
        height: 3em;
        line-height: 3;
        background: var(--dim-grey);
        overflow: hidden;
        border-radius: .25em;
    }

        .selectpicker::after {
            content: '\25BC';
            position: absolute;
            top: 0;
            right: 0;
            padding: 0 1em;
            background: var(--platinum);
            cursor: pointer;
            pointer-events: none;
            transition: .25s all ease;
        }

        .selectpicker:hover::after {
            color: var(--platinum-light);
        }
}

/*CSS kicks in when the device is 600 and below*/
@media only screen and (max-width: 600px) {
    .mobile-nav-logo {
        margin: 0.25rem 2rem 0 1rem;
    }
    .searchField {
        height: 5vh;
    }
}

/*CSS kicks in when the device is 500 and below*/
@media only screen and (max-width: 500px) {
    .searchField {
        height: 5vh;
    }
}

/*CSS kicks in when the device is 414px and below*/
@media only screen and (max-width: 414px) and (orientation: landscape) {

}