﻿@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/RobotoCondensed-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/RobotoCondensed-Bold.ttf') format('truetype');
}

body {
    font-family: 'Roboto Condensed', sans-serif !important;
}

.mud-typography {
    font-family: 'Roboto Condensed', sans-serif !important;
}

a {
    text-decoration: underline !important;
}

.mud-breadcrumb-item > a {
    color: black !important;
}

.mud-breadcrumb-item.mud-disabled > a {
    color: dimgray !important;
}

.mud-breadcrumb-item > a > svg {
    color: black !important;
}

.mud-breadcrumb-item.mud-disabled > a > svg {
    color: dimgray !important;
}

.mud-link {
    text-decoration: underline !important;
}

.culture-selector {
    width: 100px !important;
    max-width: 100px !important;
    flex-grow: 0 !important;
}

.stock-style {
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 300px;
    max-width: 100%;
    margin: auto;
}

.stock-style-row {
    display: flex;
    width: 300px;
    height: 300px;
    max-width: 100%;
    background-color: transparent;
}

.stock-style-cell {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: black;
    border: solid 1px white;
    font-size: 22px;
}

.stock-style-header {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-style-legend {
    display: flex;
    flex-direction: row;
    width: 300px;
    max-width: 300px;
    height: 20px;
    margin: auto;
}

.stock-style-legend-cell {
    flex: 1;
    border: 1px solid white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .stock-style-legend-cell:first-child {
        border-top-left-radius: 1em;
        border-bottom-left-radius: 1em;
    }

    .stock-style-legend-cell:last-child {
        border-top-right-radius: 1em;
        border-bottom-right-radius: 1em;
    }

.risk-rating {
    width: 3em;
    height: 3em;
    line-height: 3em;
}

.risk-rating-control {
    border: solid 2px rgba(25, 121, 123, 1);
    border-radius: 50px;
    padding: 5px 3% 5px 3% !important;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    align-content: center;
}

.risk-rating-unselected {
    border: solid 2px rgba(25, 121, 123, 1);
    border-radius: 100%;
    background-color: transparent;
    color: black;
    height: 40px;
    text-align: center;
    align-content: center;
    width: 40px;
}

.risk-rating-selected {
    border: solid 2px rgba(25, 121, 123, 1);
    border-radius: 100%;
    text-align: center;
    background-color: rgba(25, 121, 123, 1);
    color: white;
    height: 40px;
    align-content: center;
    width: 40px;
}

h1:focus {
    outline: none;
}

#vector-map {
    width: 100%;
}

.equity-0-9 {
    background-color: rgba(229, 243, 242, 1);
    color: black;
}

.equity-10-24 {
    background-color: rgba(127, 197, 193, 1);
    color: black;
}

.equity-25-49 {
    background-color: rgba(25, 121, 123, 0.8);
    color: white;
}

.equity-50 {
    background-color: rgba(25, 121, 123, 1);
    color: white;
}

.sustainability-rating-control {
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: 2rem;
    background-color: blue;
}

.sustainability-rating-control-label {
    position: absolute;
    display: inline-block;
}

th {
    background-color: #E5F3F2;
    color: #19797B;
}

    th .mud-typography-caption {
        color: #19797B !important;
    }

    th .mud-button-root {
        color: #19797B !important;
    }

    th .mud-icon-root {
        color: #19797B !important;
    }


.mud-tab {
    text-transform: none !important;
}

.no-padding {
    padding: 0px 0px !important;
}

.no-margin {
    margin: 0px 0px !important;
}

.mud-button {
    text-transform: none !important;
}

.sub-heading {
    padding-bottom: 5px;
}

.mud-rating-root.mud-disabled * {
    color: rgba(25, 121, 123, 1) !important;
}

.mud-table {
    margin-bottom: 25px !important;
}

.expansion-header {
    padding-left: 0 !important;
    border-bottom: 3px solid hsla(181.22, 66%, 29%, 1);
}

.sub-header-wrapper {
    background-color: rgba(25,121,123,1);
    padding-left: 15px;
    color: white;
    margin-top: 5px;
    margin-bottom: 15px;
}

.mud-tabs-panels {
    padding: 24px 0 24px 0px !important;
}

.mud-expand-panel-icon {
    color: hsla(181.22, 66%, 29%, 1);
}

.filter .mud-expand-panel-header.expansion-header {
    padding: 0px;
}

.mud-expand-panel.mud-expand-panel-header {
    padding: 24px 24px !important;
}

.filter .mud-expand-panel .mud-expand-panel-header {
    font-size: 1em;
}

.filter .mud-expand-panel-content {
    padding-top: 15px;
}

.filter .mud-expand-panel-header.expansion-header .mud-icon-root {
    font-size: 1em;
}

.filter .mud-collapse-container.mud-collapse-entered {
    padding-top: 16px;
}

    .filter .mud-collapse-container.mud-collapse-entered > .mud-expand-panel.mud-expand-panel-header {
        padding: 16px 24px 24px 24px;
    }

.filter .mud-expand-panel-content.mud-expand-panel-gutters {
    padding-right: 0px;
}

.filter .mud-expand-panel-text .mud-typography mud-typography-body2 {
    padding-top: 16px;
}

.border-corner-div {
    position: relative;
}

    .border-corner-div::before {
        content: '';
        position: absolute;
        top: 24px;
        right: 24px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 0 0 20px;
        border-color: rgba(25, 121, 123, 1) transparent transparent transparent;
    }

    .border-corner-div::after {
        content: '';
        position: absolute;
        bottom: 24px;
        left: 24px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 0 0 20px;
        border-color: transparent transparent transparent rgba(25, 121, 123, 1);
    }

.mud-button {
    border-radius: 0px;
}

.morningstar-logo-wrapper {
    align-content: center;
    text-align: right;
}

.footer {
    background-color: rgb(229, 243, 242);
    color: rgb(88, 88, 90);
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

    .footer .footer-copyright {
        font-size: 14px;
    }

    .footer .footer-link {
        display: block;
        text-decoration: none !important;
        font-weight: 500;
        line-height: 28px;
        font-size: 14px;
    }

    .footer .footer-icons {
        align-content: center;
        padding: 0 !important;
        text-align: right;
    }

.scroll-to-top {
    position: fixed;
    bottom: 16px;
    left: 16px;
    opacity: 1;
    flex: 1;
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 500px) {
    .mud-container {
        padding: 0;
    }

    .mud-table-pagination > div > div.mud-table-pagination-actions {
        padding-left: 0px;
    }

        .mud-table-pagination > div > div.mud-table-pagination-actions > button:nth-child(2),
        .mud-table-pagination > div > div.mud-table-pagination-actions > button:nth-child(3) {
            padding: 0 !important;
        }


    .mud-table-head > .mud-table-row > .mud-table-cell .mud-typography.mud-typography-caption,
    .mud-table-container > table > thead > tr > th > .mud-typography.mud-typography-caption {
        line-break: anywhere;
    }

    .mud-table-head > .mud-table-row > .mud-table-cell > .column-header > .column-options.cursor-pointer {
        display: none;
    }

    .mud-table-head > .mud-table-row > .mud-table-cell > .column-header > .mud-sort-index.mud-text-disabled {
        display: none;
    }
}
