﻿.back-to-top {
    cursor: default;
    color: #808080;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    position: fixed;
    right: 37px;
    bottom: 70px;
}

.back-to-top-button {
    text-align: center;
    margin: auto;
    position: fixed;
    width: 60px;
    height: 50px;
    z-index: 100;
    text-decoration: none;
    right: 20px;
    bottom: 20px;
    color: #ffffff;
    border: 2px #fff solid;
    background: #82001E;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.back-to-top-button i {
    font-size: 30px;
    line-height: 1.5;
}

.back-to-top-button:hover {
    color: #82001E;
    border: 2px #82001E solid;
    background: #fff;
}

.diversity-link {
    cursor: pointer;
}

.diversity-link:hover {
    text-decoration: underline;
}

.diversity-overlay, .diversity-overlay-letter3 {
    position: fixed;
    z-index: 9998;
    background: #fff;
    top: 10%;
    left: 50%;
    right: 50%;
    width: 600px;
    height: 240px;
    margin-left: -300px;
    padding: 40px;
    border: 2px solid red;
    border-radius: 25px;
    display: none;
    overflow: scroll;
}

.diversity-overlay-letter2 {
    position: fixed;
    z-index: 9998;
    background: #fff;
    top: 10%;
    left: 50%;
    right: 50%;
    width: 600px;
    height: 540px;
    margin-left: -300px;
    padding: 40px;
    border: 2px solid red;
    border-radius: 25px;
    display: none;
    overflow: scroll;
}

.diversity-overlay-letter1 {
    position: fixed;
    z-index: 9998;
    background: #fff;
    top: 10%;
    left: 50%;
    right: 50%;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    padding: 40px;
    border: 2px solid red;
    border-radius: 25px;
    display: none;
    overflow: auto;
}

.diversity-letter1-link, .diversity-letter2-link, .diversity-letter3-link {
    color: red;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.covid-19-close, .diversity-letter-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: red;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
}

.logo-mobile {
    visibility: hidden;
}

.mobile-menu {
    margin-top: 2vh;
    margin-bottom: 1vh;
    margin-left: 4vw;
    font-size: 20px;
}

.mobile-menu a {
    margin-top: 0.5rem;
    /* color: #25425b; */
        color: #82001E;
}

.sub-links {
    display: flex;
    flex-direction: column;
}

.mobile-disclosures-link {
    display: none;
}

@media(max-width: 1920px) {
    /*
                .diversity-link {
                    font-size: 16px;
                    top: 10px;
                    left: 26%;
                    margin-left: 10px;
                }*/
}

@media(max-width:1500px) {
    /*
                .diversity-link {
                    left: 18%;
                    margin-left: 10px;
                }*/
}

@media(max-width:1300px) {
    /*.diversity-link {
                    left: 13%;
                    margin-left: 10px;
                }*/
}

.client-disclosures-page {
    height: 55vh;
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.carousel-caption h2 {
    margin-top: 0;
}

@media(max-width:767px) {
    .navbar-nav {
        height: 80vh;
    }

    .logo-mobile-hidden {
        display: none;
    }

    .logo-mobile {
        visibility: visible;
        margin-left: 4vw;
    }

    .nav li {
        display: none;
    }

    .dropdown-menu {
        height: 0px;
        width: 0px;
        display: none;
    }

    .dropdown-menu li {
        display: none;
        height: 0px;
        width: 0px;
    }

    .dropdown-menu a {
        display: none;
    }

    .dropdown {
        display: none;
    }

    .mobile-disclosures-link {
        display: inline;
    }


    #header-logo {
        padding-left: 5px;
    }

    .diversity-overlay, .diversity-overlay-letter1, .diversity-overlay-letter2, .diversity-overlay-letter3 {
        left: 5%;
        right: 5%;
        width: 90%;
        height: 60%;
        margin-left: 0;
        max-width: 90%;
        overflow-y: scroll;
    }

    .strategies {
        padding: 20px;
    }

    .privacy-page {
        height: 130vh;
    }

    .legal-disclosures-page {
        height: 100vh;
    }

    .carousel-caption ul {
        padding-left: 0;
    }

    .mobile-view {
        height: 300px !important;
    }

    .carousel-content-wrapper {
        height: 300px !important;
    }

    .carousel-mobile-title {
        font-size: 2.4rem !important;
    }

    .carousel-mobile-banners {
        margin-top: 6px !important;
        margin-bottom: 10px !important;
    }

    .carousel-mobile-banner img {
        height: 50px !important;
    }

    h2.carousel-mobile-title {
    }
}

.historical-data-selector {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    background-color: #00305E;
}

    .historical-data-selector > .selection {
        position: relative;
        color: white;
        background-color: #00305E;
        font-weight: 600;
        border-right: 1px solid white;
        padding: .5rem 1rem;
        cursor: pointer;
    }
    .historical-data-selector > .selection:not(.active):hover {
        filter: brightness(1.1);
    }

    .historical-data-selector > .selection.active {
        background-color: gray;
    }

            .historical-data-selector > .selection.active:before {
                content: '';
                height: .8rem;
                width: .8rem;
                transform: rotate(45deg);
                background-color: gray;
                position: absolute;
                bottom: -.4rem;
                left: calc(50% - .4rem);
                z-index: -1;
            }

.historical-data-chart {
    width: 100%;
}

