/*===== GOOGLE FONTS =====*/

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

/*===== VARIABLES CSS =====*/

:root {
    --header-height: 50px;
    /*3rem;*/
    --container-color: #1e232c;
    --nav-width: 50px;
    /*===== Colors =====*/
    --text-color: #F7F6FB;
    --first-color: #1e232c;
    --first-color-light: #647390;
    --first-color-medium: #363e4d;
    --first-color-dark: #282f3b;
    --first-color-extra-dark: #1b1f27;
    --white-color: #F7F6FB;
    --red-color: rgb(255, 99, 132);
    --green-color: rgb(99, 255, 222);
    --blue-color: rgb(0, 143, 255);
    /*===== Font and typography =====*/
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    /*===== z index =====*/
    --z-fixed: 100;
}


/*===== BASE =====*/

*,
::before,
::after {
    box-sizing: border-box;
}

body {
    position: relative;
    /* margin: var(--header-height) 0 0 0; 
    padding: 0 1rem;*/
    margin: var(--header-height) 0 0 0;
    padding-top: 1rem;
    /* margin: 0; */
    /* font-family: var(--body-font); */
    font-size: var(--normal-font-size);
    transition: .5s;
    /* overflow-y: hidden; */
}

a {
    text-decoration: none;
}


/*===== HEADER =====*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    color: var(--text-color);
    box-shadow: 0 1px 0 rgba(22, 8, 43, 0.1);
    padding: 0 1rem;
    z-index: var(--z-fixed);
    border: 1px solid var(--first-color-dark);
    /* width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s; */
}

.header__container {
    display: flex;
    align-items: center;
    height: var(--header-height);
    justify-content: space-between;
}

.header__img {
    /* width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; */
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.header__logo {
    color: var(--title-color);
    font-weight: var(--font-medium);
    display: none;
}

.header__search {
    display: flex;
    padding: .40rem .75rem;
    background-color: var(--first-color-medium);
    color: var(--text-color);
    border-radius: .25rem;
}

.header__input {
    width: 100%;
    border: none;
    outline: none;
    background-color: var(--first-color-medium);
    color: var(--text-color);
}

.header__watchlist>select {
    width: 100%;
    background-color: #1e232c;
    color: #fff;
    padding: 12px 20px;
    border: 1px solid #363e4d;
    border-radius: 4px;
    box-sizing: border-box;
}

.header__input::placeholder {
    font-family: var(--body-font);
    color: var(--text-color);
}

.header__icon,
.header__toggle {
    font-size: 1.2rem;
}

.header__toggle {
    color: var(--title-color);
    cursor: pointer;
    /* color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer; */
}

.header__img img {
    width: 40px;
}


/*===== Section Header =====*/

.section-header {
    font-size: 1.1rem;
    font-weight: bolder;
    text-align: center;
    padding: 0.5rem 0rem 1rem 0rem;
}


/*===== NAV =====*/

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed);
    border: 1px solid var(--first-color-dark);
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.nav__logo,
.nav__link {
    /* display: grid;
    grid-template-columns: max-content max-content; */
    align-items: center;
    /* column-gap: 1rem; */
}

.nav__logo {
    margin-bottom: 2rem;
}

.nav__logo-icon {
    font-size: 1.25rem;
    color: var(--white-color);
}

.nav__logo-name {
    color: var(--white-color);
    font-weight: 700;
}

.nav__link {
    color: var(--first-color-light);
    margin-bottom: 1.5rem;
    transition: .3s;
}

.nav__link:hover {
    color: var(--white-color);
}

.nav__link:hover .sub-dropdown-menu {
    display: block;
}

.nav__icon {
    font-size: 1.25rem;
}

.param-list ul {
    margin: 0;
    padding: 0;
}

.param-list li {
    list-style: none;
    font-size: 20px;
    padding: 15px 13px;
    cursor: pointer;
}

.param-list ul li ul {
    display: none;
    color: var(--white-color);
    border: 1px solid var(--first-color-dark);
    /* box-shadow: -2px 2px 2px var(--first-color-dark); */
}

.param-list ul li.submenu {
    position: relative
}

.param-list ul li.submenu ul {
    position: absolute;
    left: 100%;
    min-width: 400px;
    top: 0;
    background: #1e232c
}


/* MOBILE VERSION */

.param-list-mobile {
    visibility: hidden;
    position: fixed;
    width: 100%;
    bottom: -100%;
    /* bottom: 0; */
    z-index: var(--z-fixed);
    background-color: var(--container-color);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    transition: all 1s ease-out;
    touch-action: none;
}

.param-list-mobile-show {
    visibility: visible;
    bottom: 0;
    transition: all .2s ease-out;
}

#param-list-mobile-modal {
    display: none;
}


/* .param-list-mobile-modal-show {
    display: block;
} */

.param-list-mobile::hover>.param-list-mobile {
    top: 100%;
}

.param-list-mobile hr {
    width: 2.5rem;
    background: var(--first-color-medium);
    border: 0.1rem solid var(--first-color-medium);
    border-radius: 0.1rem;
    margin: auto;
    margin-top: 10px;
}

.param-list-mobile i {
    margin-right: 1rem;
    font-size: 1rem;
}

.param-list-mobile .param-list-mobile-link {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    transition: .3s;
}

.param-list-mobile-link:hover {
    color: var(--white-color);
}

.param-list-mobile-link:hover .sub-dropdown-menu {
    display: block;
}

.param-list-mobile ul {
    margin: 0;
    padding: 0;
}

.param-list-mobile li {
    list-style: none;
    font-size: 1rem;
    padding: 15px 13px;
    cursor: pointer;
}

.param-list-mobile ul li ul {
    display: none;
    color: var(--white-color);
    padding-top: 10px;
    /* box-shadow: -2px 2px 2px var(--first-color-dark); */
}

.param-list-mobile ul li.param-list-mobile-submenu {
    position: relative
}

.param-list-mobile ul li.param-list-mobile-submenu ul {
    position: fixed;
    /* left: 100%; */
    left: 0;
    bottom: 0;
    /* min-width: 400px; */
    width: 100%;
    background: #1e232c;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    z-index: var(--z-fixed);
}

.param-list-mobile ul li.param-list-mobile-submenu ul>hr {
    width: 2.5rem;
    background: var(--first-color-medium);
    border: 0.1rem solid var(--first-color-medium);
    border-radius: 0.1rem;
    margin: auto;
    margin-top: 10px;
}

.param-list-mobile .watchlist-select {
    width: 100%;
}

.title-bar {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.title-bar i {
    /* margin: 0; */
    font-size: 1.5rem;
}


/* MOBILE VERSION PARAMTER SETTINGS */

.katex {
    font-size: 2rem !important;
    line-height: 2!important;
}


/* Collapsible for step by step */


/* Special case */

#katex-dcf-formula {
    overflow-x: auto;
    overflow-y: hidden;
}

.collapsible-set {
    margin: 0.5rem;
    padding-bottom: 0.5rem;
}

.collapsible .katex {
    font-size: 1rem !important;
    line-height: 2!important;
}

.collapsible {
    width: 100%;
    background-color: var(--first-color-dark);
    color: white;
    cursor: pointer;
    padding: 1rem;
    /* margin: 0 auto; */
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: solid var(--first-color-medium) 0.5px;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-family: none;
}

.collapsible:hover {
    background-color: var(--first-color-medium);
}


/* .collapsible-active {
    background-color: var(--first-color-extra-dark);
} */

.collapsible:after {
    content: 'Show Step \002B';
    color: white;
    font-size: 0.75rem;
    font-style: italic;
    float: right;
    margin-left: 5px;
}

.collapsible-active:after {
    content: "Hide Step \2212";
}

.collapsible-content {
    width: 100%;
    padding: 0 0.5rem;
    max-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    transition: max-height 0.2s ease-out;
    /* background-color: var(--first-color-medium); */
}


/* Tool Tip CSS*/

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-right-text {
    visibility: hidden;
    font-size: 0.90rem;
    width: 120px;
    background-color: var(--first-color-dark);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 2px;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 2rem;
}

.tooltip .tooltip-right-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent var(--first-color-dark) transparent transparent;
}

.tooltip:hover .tooltip-right-text {
    visibility: visible;
}

.tooltip .tooltip-left-text {
    visibility: hidden;
    font-size: 0.90rem;
    width: 120px;
    background-color: var(--first-color-dark);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 2px;
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 2.5rem;
}


/* .tooltip .tooltip-left-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent var(--first-color-dark) transparent transparent;
} */

.tooltip:hover .tooltip-left-text {
    visibility: visible;
}

#watchlist-table {
    width: 100%;
    /* font-family: Arial; */
    font-size: 1rem;
}

#watchlist-table td,
#watchlist-table th {
    text-align: left;
    padding: 0.5rem;
}


/* #watchlist-table tr:nth-child(odd) {
    background-color: var(--first-color-dark);
} */

#watchlist-table tr:hover {
    background-color: var(--blue-color);
}


/* DEBUG SWITCH */

.debug {
    flex-direction: row;
    justify-content: flex-end;
    align-self: center;
    color: var(--white-color);
}

.switch {
    position: relative;
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/* END DEBUG SWITCH */

.cta-flex-options {
    display: flex;
    flex-direction: column
}


/* Call to Action */

.cta-button-group {
    display: flex;
    order: 1;
    align-items: center;
    padding: 5px 0;
    margin: auto;
    font-family: serif;
}

.cta-button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    border: solid var(--blue-color) 1px;
    outline: none;
    padding: 0 15px;
    margin: 0 0.5rem;
    min-width: 30px;
    min-height: 30px;
    color: var(--blue-color);
    background: inherit;
    font-family: serif;
}

#cta-export {
    background: var(--blue-color)!important;
    color: var(--white-color)!important;
}

#cta-join {
    background: var(--blue-color)!important;
    color: var(--white-color)!important;
}

/* End Call to Action */


/* Style the tab */

.tab {
    display: flex;
    overflow-x: auto;
    order: 2;
    white-space: nowrap;
}

.tab-hr {
    margin: 0;
    padding: 0;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--first-color-light);
}


/* Style the buttons inside the tab */

.tab button {
    background-color: inherit;
    color: var(--white-color);
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    /* transition: 0.3s; */
    font-size: 17px;
}


/* Change background color of buttons on hover */

.tab button:hover {
    color: var(--blue-color);
}

.tab a {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
    background: inherit;
    color: var(--white-color);
    float: left;
    align-self: center;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    /* transition: 0.3s; */
    font-size: 17px;
    font-family: Arial;
}


/* Change background color of buttons on hover */

.tab a:hover {
    color: var(--blue-color);
}


/* Create an active/current tablink class */

.tab button.active {
    /* background-color: var(--first-color-medium); */
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid var(--blue-color);
    color: var(--blue-color);
}


/* Style the tab content */

.tabcontent {
    display: none;
    color: var(--white-color);
    border-top: none;
    margin: 0.5rem;
    /* overflow: auto;
    height: auto; */
}


/* Style the tab */


/* Call to Action Modal Popup */


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    transition: all 1s ease-out;
}


/* Modal Content */

.modal-content {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    padding: 20px;
    width: 90%;
    height: 50%;
    color: var(--white-color);
}

.modal-message {
    margin: auto;
    font-size: 1.5rem;
}

.modal-message input[type=email] {
    width: 100% !important;
    background-color: var(--first-color-extra-dark);
    color: #fff !important;
    padding: 10px 0px !important;
    margin: 0px !important;
    display: inline-block;
    border: solid var(--first-color-light) 1px;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

.modal-message input[type=submit] {
    background-color: var(--blue-color);
    cursor: pointer;
    color: #fff !important;
    padding: 10px 5px !important;
    margin: 0px !important;
    display: inline-block;
    border: solid var(--first-color-light) 1px;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

#form-subscribe-response {
    color: var(--blue-color);
    font-size: 1rem;
}


/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--blue-color);
    text-decoration: none;
    cursor: pointer;
}


/* End of Call to Action Modal Popup */


/* 2 Column flex box */

.two-column-flex-box {
    display: flex;
    flex-direction: column;
}

.item-container {
    margin: 0.5rem;
}

.metric-flex-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.metric-flex-box-item {
    margin: 0.5rem;
    flex: 1;
    justify-content: space-between;
    /* min-width: 220px; */
    min-height: 120px;
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
}


/* .metric-flex-box-item:last-child {
    margin-bottom: 1rem;
} */

.two-column-flex-box-column {
    margin: 0.5rem;
    flex: 1;
    justify-content: space-between;
}

.two-column-flex-box-column-item {
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    margin-bottom: 1rem;
}

.two-column-flex-box-column-item:last-child {
    margin-bottom: 0rem;
}

.market-price-percent-change {
    color: var(--green-color);
    font-size: 1.25rem;
}


/* Bubble container that contain quick data */

.container-bubble {
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    /* border-radius: 10px; */
    /* margin: 0.5rem; */
    padding: 1rem;
    flex: 1;
}

.metric-flex-box-title {
    font-size: 1.25rem;
    color: var(--first-color-light);
}

.overview-data {
    font-size: 3rem;
}

.margin-of-safety-percentage-container {
    font-size: 1.25rem;
}

.dcf-parameter-table-overview {
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    width: 100%;
}

.dcf-parameter-table-overview tr {
    height: 2.5rem;
}


/* Widget : Indicator Bar */

.indicator-bar-container {
    display: flex;
    align-items: center;
}

.indicator-bar {
    width: 5rem;
    height: 1.5rem;
    background-color: var(--first-color-medium);
    border-radius: 0.25rem 0.25rem;
}

.indicator-bar-value {
    height: inherit;
    border-radius: 0.25rem 0.25rem;
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    background-color: var(--blue-color);
}


/* .indicator-bar-container>div {
    margin-right: 20px;
} */

.indicator-bar-container .tooltip {
    padding-right: 1rem;
}

.indicator-bar-container .tooltip-left-text {
    /* right: 2rem !important; */
    background-color: var(--first-color-extra-dark) !important;
}

.indicator-bar-container .tooltip .tooltip-left-text::before {
    border-color: transparent var(--first-color-extra-dark) transparent transparent !important;
}

.indicator-bar-container div:nth-child(odd) {
    width: 5rem;
}

.indicator-bar-container input[type=number] {
    width: 5rem !important;
    background-color: inherit !important;
    color: #fff !important;
    padding: 10px 0px !important;
    margin: 0px !important;
    display: inline-block;
    border: none !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

.indicator-bar-container input:focus {
    outline: none !important;
    border: 1px solid #363e4d !important;
    /* border-radius: 4px !important; */
}


/*
 * Historical Free Cash Flow Table
 */

.financial-table-container {
    overflow-x: auto;
    /* border-radius: 10px; */
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
}


/* .financial-table tr:nth-child(even) td {
    background-color: var(--first-color-medium);
}

.financial-table tr:nth-child(odd) td {
    background-color: var(--first-color-dark);
} */

.financial-table tr {
    height: 2.5rem;
    border-bottom: solid var(--first-color-medium) 0.5px;
}

.financial-table td {
    /* border-right: solid var(--first-color) 1px; */
    padding: 0rem 1rem;
}

.financial-table th {
    color: var(--first-color-light);
    text-align: left;
    font-size: 1rem;
    border-right: solid var(--first-color-medium) 0.5px;
    padding: 0rem 1rem;
}

.financial-table input[type=number] {
    width: 100% !important;
    background-color: inherit !important;
    color: #fff !important;
    padding: 10px 0px !important;
    margin: 0px !important;
    display: inline-block;
    border: none !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

.financial-table input:focus {
    outline: none !important;
    border: 1px solid #363e4d !important;
    /* border-radius: 4px !important; */
}

#hfcf-table {
    width: 100%;
}

#hfcf-table tr {
    height: 2.5rem;
}

#hfcf-table-years {
    color: var(--first-color-light);
    text-align: left;
}

#hfcf-table-year-labels {
    color: var(--first-color-light);
    font-size: 1.1rem;
}

#hfcf-table-fcf-label {
    color: var(--white-color);
    font-size: 1.1rem;
}

.pfcf-table-fcf-label {
    color: var(--white-color);
    font-size: 1.1rem;
}


/*
 * Depricated Historical Free Cash Flow Table
 */

#fcf-table-container {
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    /* border-radius: 10px; */
}

#fcf-table {
    width: 100%;
}

#fcf-table tr {
    height: 2.5rem;
}

#fcf-table-top-headers {
    color: var(--white-color);
    font-size: 1.5rem;
}

#fcf-table-years {
    color: var(--first-color-light);
    text-align: left;
}

#fcf-table-years-label {
    color: var(--first-color-light);
    font-size: 1.1rem;
}

#fcf-table-fcf-tr-label {
    color: var(--white-color);
    font-size: 1.1rem;
}

.fcf-table-years-historical {
    color: var(--first-color-light);
}

.fcf-table-years-predicted {
    color: var(--first-color-light);
}

.fcf-table-fcf-td-historical {
    color: var(--white-color);
}

.fcf-table-fcf-td-predicted {
    color: rgb(99, 255, 222)
}

#capital-structure-table-container {
    grid-template-columns: auto;
    grid-template-rows: min-content;
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    /* border-radius: 10px; */
}

#capital-structure-table {
    width: 100%;
    color: var(--white-color);
    border-collapse: collapse;
}


/* #capital-structure-table td,
#capital-structure-table th {
    border-left: 1px solid var(--first-color-extra-dark);
    border-right: 1px solid var(--first-color-extra-dark);
} */

#capital-structure-table tr {
    height: 2.5rem;
}

#cost-of-capital-table-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content;
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    /* border-radius: 10px; */
}

#cost-of-capital-table {
    width: 100%;
    color: var(--white-color);
    border-collapse: collapse;
    /* border: 1px solid var(--first-color-extra-dark); */
}


/* #cost-of-capital-table td,
#cost-of-capital-table th {
    border-left: 1px solid var(--first-color-extra-dark);
    border-right: 1px solid var(--first-color-extra-dark);
} */

#cost-of-capital-table tr {
    height: 2.5rem;
}

#cost-of-capital-table-headers {
    color: var(--first-color-light);
    font-weight: 900;
    text-align: left;
}

#cost-of-debt-table-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content;
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    /* border-radius: 10px; */
}

#cost-of-debt-table {
    width: 100%;
    color: var(--white-color);
    border-collapse: collapse;
}


/* #cost-of-debt-table td,
#cost-of-debt-table th {
    border-left: 1px solid var(--first-color-extra-dark);
    border-right: 1px solid var(--first-color-extra-dark);
} */

#cost-of-debt-table tr {
    height: 2.5rem;
}

#cost-of-equity-table-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content;
    background-color: var(--first-color-dark);
    box-shadow: 1px 1px 3px 1px #222;
    /* border-radius: 10px; */
}

#cost-of-equity-table {
    width: 100%;
    color: var(--white-color);
    border-collapse: collapse;
}


/* #cost-of-equity-table td,
#cost-of-equity-table th {
    border-left: 1px solid var(--first-color-extra-dark);
    border-right: 1px solid var(--first-color-extra-dark);
} */

#cost-of-equity-table tr {
    height: 2.5rem;
}


/*Show navbar movil*/

.show {
    left: 0;
}


/*Add padding body movil*/

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
    /* calc(var(--nav-width) + 1rem); */
}


/*Active links*/

.active {
    color: var(--white-color);
}

.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color);
}


/* ========== MEDIA QUERIES ==========*/


/* For small devices reduce search*/

@media screen and (max-width: 320px) {
    .header__search {
        width: 70%;
    }
}


/* ===== MEDIA QUERIES=====*/

@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width));
        /* padding-right: calc(var(--nav-width)); */
    }
    .header {
        padding: 0 calc(var(--nav-width));
        /* height: calc(var(--header-height) + 1rem); */
        /* padding: 0 calc(var(--nav-width) + 2rem) 0 2rem; */
    }
    .header__container {
        height: calc(var(--header-height));
    }
    .header__search {
        width: 300px;
        padding: .55rem .75rem;
    }
    .header__toggle {
        display: none;
    }
    .header__logo {
        display: block;
    }
    .header__img {
        width: 40px;
        height: 40px;
        order: 3;
    }
    .header__img {
        width: 40px;
        height: 40px;
    }
    .header__img img {
        width: 45px;
    }
    .l-navbar {
        left: 0;
        padding: 1rem 0 0 0;
        padding-top: calc(var(--header-height));
    }
    /*Show navbar desktop*/
    .show {
        width: calc(var(--nav-width) + 156px);
    }
    /* Hide mobile parameter settings panel */
    .param-list-mobile {
        display: none;
    }
    /*Add padding body desktop*/
    .body-pd {
        padding-left: calc(var(--nav-width) + 188px);
    }
    .two-column-flex-box {
        flex-direction: row;
    }
    .two-column-flex-box-column {
        margin: 0.5rem;
    }
    .metric-flex-box {
        flex-direction: row;
    }
    .metric-flex-box-item {
        margin: 0.5rem;
    }
    /* .metric-flex-box-item:last-child {
        margin-bottom: 0.5rem;
    } */
    .cta-flex-options {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .tab {
        order: 1;
    }
    .cta-button-group {
        justify-content: flex-end;
        order: 2;
        margin: 0 0.5rem;
    }
    .modal-content {
        width: 50%;
    }
    .modal-message {
        width: 80%;
    }
}

body {
    background-color: #212731;
}

#quote-box {
    width: 175px;
    height: 25px;
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    text-align: center;
    z-index: 999;
    background-color: rgba(255, 255, 255);
}

#quote-box-text {
    vertical-align: middle;
    font-weight: 400;
    font-size: 12px;
}

#quote-range {
    border: none;
}

.b38at {
    stroke: #f6f6f6;
    stroke-width: 1;
}

.BFMWAe {
    stroke-dasharray: 1.5, 7.5;
    stroke: rgba(0, 0, 0, .62);
}

.ZQt4G {
    stroke: #9e9e9e;
}

.yvg0ob {
    position: relative;
}

.yvg0ob span {
    background: #fff;
    position: absolute;
    white-space: nowrap;
}

.iHd7Ld {
    transform: translateY(-50%);
    left: 0;
}

.uch-xa {
    position: relative;
}

.uch-xa span {
    visibility: hidden;
    line-height: 13px;
}

.uch-xa-gl {
    stroke: #9e9e9e;
    stroke-width: 1;
}

#container {
    position: relative;
    width: 1200px;
    height: 400px;
}

#canvas-chart {
    width: 1200px;
    height: 400px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: crisp-edges;
    position: absolute;
}

#canvas-interactions {
    width: 1200px;
    height: 400px;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: crisp-edges;
    position: absolute;
}

#company-title {
    color: #fff;
    font-weight: 900;
    font-size: 40px;
    margin-right: 20px;
}

#company-ticker {
    color: #fff;
    font-size: 25px;
}

.flex-market-intrinsic-container {
    display: flex;
}

.flex-market-intrinsic-child {
    flex: 1;
    margin-right: 20px;
    color: #fff;
}

.flex-parameter-container {
    display: flex;
}

.flex-parameter-child {
    flex: 1;
    margin-right: 20px;
}

label {
    color: #fff;
    font-size: 1rem;
}

select {
    width: 25%;
    background-color: #1e232c;
    color: #fff;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #363e4d;
    border-radius: 4px;
    box-sizing: border-box;
}


/* width */

::-webkit-scrollbar {
    width: 10px;
}


/* Track */

 ::-webkit-scrollbar-track {
    background: var(--first-color-dark);
}


/* Handle */

 ::-webkit-scrollbar-thumb {
    background: var(--first-color-medium);
}


/* Handle on hover */

 ::-webkit-scrollbar-thumb:hover {
    background: var(--first-color-light);
}

.forecasted-fcf {
    /* calc(var(--nav-width) + 188px); */
    height: calc(100px * 2);
    overflow: auto;
}

#custom-dcf-parameters {
    width: 25%;
}

input[type=number] {
    width: 100%;
    background-color: #1e232c;
    color: #fff;
    padding: 10px 18px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #363e4d;
    border-radius: 4px;
    box-sizing: border-box;
}

.submit {
    width: 100%;
    background-color: #35b890;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit:hover {
    background-color: #1ed19b;
}

hr.custom-dcf-parameters-hr {
    margin: 30px 0 20px 0;
    border: 2px solid #363e4d;
    border-radius: 4px;
}

.dynamic-input-field-with-delete-add-buttons {
    display: flex;
}

.delete {
    background-color: #b83556;
    color: white;
    padding: 6px 12px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.delete:hover {
    background-color: #ce3d61;
}

.add {
    background-color: #35b890;
    color: white;
    padding: 6px 12px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add:hover {
    background-color: #1ed19b;
}


/* .color-table-header {
    border-radius: 5px;
    padding: 0.25rem;
    text-shadow: .5px .5px #222;
} */