@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro&display=swap');

html {
    height: 100%;
}

body {
    background: #1E1E1E;
    min-height: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 180px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Helvetica', sans-serif;
    position: relative;
}

h1 {
    font-family: 'Source Serif Pro', serif;
    font-size: 24px;
    font-weight: normal;
}

h2 {
    font-size: 14px !important;
    font-weight: normal !important;
}

h6 {
    font-size: 14px;
    color: #1E1E1E;
    font-variant: small-caps;
    font-weight: bold;
}

dl, ol, ul {
    margin-bottom: 0 !important;
}

/*fieldset{
    background:linear-gradient(45deg, #D2D2D2, transparent);
}*/

table {
    table-layout: fixed;
    text-align: center;
    vertical-align: middle !important;
}

label {
    text-transform: uppercase;
    font-size: 11px;
    color: #1E1E1E;
    font-weight: normal;
}

span {
    font-size: 13px;
    font-weight: normal;
}

td {
    font-size: 14px;
    color: inherit;
    vertical-align: middle !important;
}

th {
    font-size: 14px;
    color: inherit;
    font-weight: bold;
    vertical-align: middle !important;
}

hr {
    border: 1px;
    height: 1px;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

legend {
    font-family: 'Source Serif Pro', serif !important;
    float: left !important;
    font-size: 16px;
    width: auto;
    padding: 2px 7px 2px 5px;
    line-height: inherit;
    color: #1E1E1E;
    margin-bottom: 0;
    font-weight: bold;
}

input[type=text], input[type=number], input[type=time], input[type=password], input[type=email] {
    width: 100%;
    border: 2px solid #d0e3e5;
    padding: 3px;
    border-radius: 5px;
    background-color: #F1F4F6;
    border-color: #daedef;
}

input[type=file] {
    padding: 3px;
    margin: 0px 10px 0px 10px;
    font-size: 14px;
}

input[type=text]:focus, input[type=number]:focus, input[type=time]:focus, input[type=password]:focus, input[type=email]:focus {
    border-color: #d0e3e5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #d0e3e5;
    outline: 0 none;
}

input[type=submit] {
    background-color: #C8202E;
    color: white;
    border-radius: 4px;
    border: 0px;
    font-size: 14px;
    padding: 10px 20px 10px 20px;
    text-transform: capitalize;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

input[type=submit]:hover {
    background-color: #BF1F2D;
}

form {
    width: 100%;
}

.login_form {
    max-width: 600px;
}

#plot_choice {
    margin: 0;
    padding: 0;;
    list-style-position: inside;
    list-style: none;
}

#home {
    text-align: center;
}

.container_home, .container_information {
    margin: 30px 60px;
}

#home a {
    color: #1E1E1E;
    font-size: 14px;
    text-decoration: none !important;
}

#home a.mx-2.link_user {
    border: 1.5px solid;
    background: #C8202E;
    border-color: #C8202E;
    border-radius: 0.25rem;
    padding: 15px;
    display: inline-block;
    height: 60px;
    width: 200px;
    font-size: 20px;
    margin: 5px;
}

#home .line_text {
    display: inline-block;
    padding: 2px;
    white-space: nowrap;
}

#home .line_button {
    margin: 0 auto;
    background: #808080;
    width: 0;
    height: 1px;
    transition: width 0.5s;
}

#home .project_list > .row:hover .line_button{
    width: 100%;
}

#home .button_container {
    margin: 20px 0;
}

#home a.mx-2 {
    color: #ffffff;
    font-size: 13px;
}

#home a.link_about {
    color: #ffffff;
    margin-right: -100%;
}

#home fieldset {
    position: relative;
    z-index: 1000;
    height: 300px;
}

fieldset > .project_list {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-35%);
}

#home .description_project {
    color: #ffffff;
    padding: .5rem 1rem;
}

#home .shimko_link, .cos_link {
    font-size: 12px !important;
}

#home .option_shimko, .option_cos {
    white-space: nowrap;
}

.img_logo_home {
    position: relative;
    margin-bottom: 2rem;
    height: 60px;
    width: 600px;
}

@media only screen and (max-width: 900px) {
    .img_logo_home {
        position: relative;
        margin-bottom: 2rem;
        height: 50px;
        width: 500px;
    }
}

@media only screen and (max-width: 760px) {
    .img_logo_home {
        position: relative;
        margin-bottom: 2rem;
        height: 40px;
        width: 400px;
    }
}

@media only screen and (max-width: 630px) {
    .img_logo_home {
        position: relative;
        margin-bottom: 2rem;
        height: 30px;
        width: 300px;
    }
}

@media only screen and (max-width: 520px) {
    .img_logo_home {
        position: relative;
        margin-bottom: 2rem;
        height: 25px;
        width: 250px;
    }
}

@media only screen and (max-width: 410px) {
    .img_logo_home {
        position: relative;
        margin-bottom: 2rem;
        height: 20px;
        width: 200px;
    }
}

.img_screen_home {
    position: relative;
    margin-bottom: 2rem;
    margin-left: 2rem;
    height: 200px;
    width: 500px;
}

@media only screen and (max-width: 1160px) {
    .img_screen_home {
        position: relative;
        margin-bottom: 2rem;
        margin-left: 2rem;
        height: 190px;
        width: 450px;
    }
}

@media only screen and (max-width: 1040px) {
    .img_screen_home {
        position: relative;
        margin-bottom: 2rem;
        margin-left: 2rem;
        height: 180px;
        width: 400px;
    }
}

@media only screen and (max-width: 960px) {
    .img_screen_home {
        position: relative;
        margin-bottom: 2rem;
        margin-left: 2rem;
        height: 170px;
        width: 300px;
    }
}

@media only screen and (max-width: 760px) {
    .img_screen_home {
        display: none;
    }
}

.img_icon {
    height: 30px;
    width: 30px;
}

#home .title_container {
    margin-left: -50px;
    margin-bottom: 2px;
}

#home legend {
    white-space: nowrap;
}

.header_title {
    white-space: nowrap;
}

@media only screen and (max-width: 1200px) {
    .dropdown-menu {
        background: none;
        border: none;
    }

    .dropdown-item {
        font-size: 14px;
        color: #D1CFCB;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background-color: #1E1E1E;
        border: none;
        color: #5F5F5F;
    }
}

@media only screen and (min-width: 1200px) {
    .dropdown-menu {
        background: #ffffff;
        border: none;
    }

    .dropdown-item {
        font-size: 14px;
        color: #1E1E1E;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background-color: transparent;
        border: none;
        color: #5F5F5F;
    }
}

.container {
    margin: 0 auto;
}

.row {
    margin: 0;
}

.col, .col-md-4, .col-md-8, .col-12, .col-11, .col-lg-3, .col-md-6 {
    margin: 0 auto !important;
    padding: 7px;
    overflow: hidden;
}

#tickers_list-0 {
    margin: 3px auto !important;
    overflow: hidden;
}

#tickers_list > input {
    margin: 3px auto !important;
    overflow: hidden;
}

#button_add_field, #button_delete_field {
    width: 85px;
    height: 25px;
    font-size: 12px;
    text-align: center;
    padding: 2px;
}

.row.border-bottom {
    border-bottom: 1.5px solid #C8202E !important;
}

.navbar-brand {
    color: #C8202E !important;
}

.navbar-text {
    font-size: 14px;
}

.lead {
    color: #D1CFCB !important;
}

.nav-link {
    color: #D1CFCB !important;
    font-size: 14px;
    font-weight: normal !important;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.nav-link:hover {
    color: #ffffff !important;
}

.popup_content {
    margin: 10px auto;
    padding: 25px;
    border: none;
    background: white;
    border-radius: 5px;
    align-content: center;
    max-width: 700px;
    display: flex !important;
    flex-direction: column;
    max-height: calc(100% - 20px);
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
}

.popup_content .popup_close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    text-decoration: none;
    color: #2F2F2F;
    background: none;
    border: none;
}

.popup_content .popup_close:hover {
    color: #8F8F8F;
}

.popup_close span {
    font-size: 20px;
    font-weight: bold;
}

.popup_content table {
    margin: auto;
    align-content: center;
}

.popup_content .table_wrapper {
    flex: 1;
    overflow-y: scroll;
}

#popup_table_wrapper {
    overflow: hidden !important;
}

.popup_content hr {
    flex: none;
    width: 100%;
}

.plot {
    max-width: 500px;
    max-height: 500px;
    margin: 0 auto;
}

.plot_monte_carlo{
    max-height: 2000px;
    max-width: 2000px;
    margin: 0 auto;
}

#call_put_flag {
    display: block;
    padding-right: 1rem;
}

.navbar {
    background-color: rgba(255, 255, 255, 0);
    font-weight: bold;
}

.mjx-char {
    font-size: 15px !important;
}

.mjx-chtml {
    text-align: center !important;
    font-weight: bold !important;
}

.MathJax_CHTML span {
    font-size: 18px;
}

img { /*icon_help*/
    height: 20px;
    width: 20px;
}

.icon_help, #icon_help_dataset {
    display: inline-block;
    position: relative;
    z-index: 1000;
}

.icon_help > div {
    position: absolute;
    background-color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px;
    border-radius: 3px;
    border: solid 1px;
    border-color: #B2B2B2;
}

#icon_help_dataset > div {
    position: absolute;
    background-color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px;
    border-radius: 3px;
    border: solid 1px;
    border-color: #B2B2B2;
}


.container_model {
    overflow: visible;
}

.model_formula, #help_dataset {
    display: none;
    height: 30px;
    width: 200px;
    text-align: center;
}


.lambda_formula {
    display: none;
    text-align: center;
}

.example_file {
    text-align: right;
    padding: 2px 7px;
}

.example_file, a {
    color: #C0C0C0;
}

.example_file, a:hover, a:active {
    color: #808080;
    text-decoration: None !important;
}

.download_data {
    color: #C0C0C0;
    cursor: pointer;
    white-space: nowrap;
}

div.download_data:hover, div.download_data:active {
    color: #808080;
}

.alert_warning {
    color: #C0C0C0;
    cursor: pointer;
    white-space: nowrap;
    font-size: 20px;
}

.img_logo {
    height: 30px;
    width: 290px;
}

.img_logo_cass {
    height: 102px;
    width: 102px;
}

#alert_warning {
    font-size: 13px;
    max-width: 350px;
}

.alert {
    padding: .25rem 0.50rem;
}

.about_page {
    color: white !important;
}

.subtitle_shimko {
    margin-left: 5em;
    margin-right: 5em;

}

.shimko_title_container {
    max-width: 800px;
    text-align: center;
}

.footer_nav {
    padding: 0.5em;
    margin-bottom: 0;
}

footer {
    background: #404040;
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer_hr {
    border: 1px;
    height: 1px;
    background-image: linear-gradient(to right, #ccc, #616161, #ccc);
}

.term_link {
    color: #337ab7 !important;
    font-size: 12px;
}

.term_link:hover, .term_link:active {
    color: #1E1E1E !important;
    text-decoration: None !important;
}

.container_term_link {
    margin-left: 1.1em;
}

.term_structure_text {
    font-size: 12px;
    font-weight: normal;
}

.register_login_container {
    font-size: 12px;
}

.register_login_link {
    color: #5F5F5F !important;
}

.register_login_link:hover, .register_login_link:active {
    color: #8F8F8F !important;
    text-decoration: None !important;
}

#password + .glyphicon {
    cursor: pointer;
    pointer-events: all;
}

#show_password {
    position: absolute;
    top: 30px;
    right: 8px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.user_reg_information {
    color: #1E1E1E;
    font-size: 14px;
}

.privacy_link {
    color: #337ab7 !important;
    font-size: 14px;
}

.privacy_link:hover, .privacy_link:active {
    color: #1E1E1E !important;
    text-decoration: None !important;
}

.old_label {
    font-weight: bold;
}

.ticker_link {
    color: #212529 !important;
    white-space: nowrap;
}

.ticker_link:hover, .ticker_link:active {
    color: #1E1E1E !important;
    text-decoration: None !important;
}

.icon_external_link {
    width: 13px;
    height: 13px;
    margin-bottom: 0.3em;
}

.tooltip {
    font-size: 12px;
}

.mortgage_value_row {
    margin-top: 20px;
}