/* note: media query breakpoints below same min-width as bootstrap navbar-expand */
html {
    height: 100%;
    /*background-color: white;*/
    scroll-behavior: smooth;
}
body {
    height: 100%;
    background: #F3F3F3;
    font-family: 'IBM Plex Sans';
    display: block;
}
body .modal {
    width: 90%;
    margin-left:auto;
    margin-right:auto; 
}
body.modal-open {
    overflow: visible;
}
button {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    height: 48px !important;
}
.btn-primary {
    background-color: #0F6FFF !important;
}
.btn-secondary {
    background-color: #3D3D3D !important;
}
.btn-arrow {
    font-size: 0.75rem;
    position: relative;
    top: -0.1rem;
    left: 0.2rem; 
}

/* find a way to limit this to cards */
*:focus {
    outline: none;
}

/* ****************** navbar ****************** */
.navbar {
    background: #010101;
}
.nav-item {
    font-size: 0.875rem;
    margin-right: 1.5rem;
    color: #F3F3F3;
}
.navbar-nav > .active > a {
    font-weight: 800 !important;
}
.navbar-nav > .inactive > a {
    font-weight: 100 !important;
    color: #D0D0D0 !important;
}
.navbar-toggler {
    /*border-color: rgba(200, 200, 200, 50%) !important;*/
    border: none;
}
.navbar-brand {
    font-size: 0.875rem;
    font-weight: 400;
    color: #F3F3F3;
}
.navbar-brand a {
    color: #F3F3F3;
}
.navbar-brand a:hover {
    text-decoration: none;
}
@media screen and (min-width: 768px) {
    .navbar-brand {
        border-right: 1px solid #868D95;
    }
    .nav-item.active a:after {
        content: "";
        position: relative; 
        display: block;
        margin: 0 auto;
        width: 96%;
        top: 0.2rem;      
        border-bottom: 4px solid #0062ff;
    }
    .nav-item.inactive a:hover:after {
        content: ""; 
        position: relative;
        display: block;
        margin: 0 auto;
        width: 96%;
        top: 0.2rem;      
        border-bottom: 4px solid #0064FF;
    }
}

/* ****************** top section ****************** */
.top-section {
    padding-left: 2em;
}

.home-title {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.5rem;
}

.home-text {
    width: 70%;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 2rem;
}
@media screen and (min-width: 768px) {
    .home-text {
        width: 50%;
    }
}

.home-tile {
    margin-top: -2rem;
    float: right;
    height: 8em;
}

.home-btn-primary {
    background-color: #0F6FFF !important;
    color: white !important;
    margin-top: 0.7rem;
}
.home-btn-secondary {
    background-color: #3D3D3D !important;
    color: white !important;
    margin-top: 0.7rem;
}

/* ****************** bottom section ****************** */
.bottom-section {
    padding-left: 2em;
    padding-top: 3em;
    background-color: #4a4a4a;
}

.bottom-section p {
    color: white;
}

.bottom-section-title {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5rem;
}

.bottom-section p a {
    color: #8dc2fc
}

.bottom-section p a:hover {
    text-decoration: underline;
}

/* ****************** progress steps ****************** */
.prog-steps {
    width: 500px;
}
@media screen and (max-width: 500px) {
	.prog-steps {
		width: 400px;
	}
}
.prog-steps li {
    list-style-type: none;
    width: 25%;
    float: left;
    font-size: 0.875rem;
    position: relative;
    top: 0.7rem;
    left: -4.5em;
    text-align: center;
    color: #7d7d7d;
}
.prog-steps li.set:before {
    width: 1.4rem;
    height: 1.4rem;
    font-weight: bold;
    content: '';
    line-height: 1.6rem;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    /*background-color: #3D3D3D;*/
    background-color: #408bfc;
}
.prog-steps li.current:before {
    width: 1.4rem;
    height: 1.4rem;
    content: '';
    line-height: 1.4rem;
    border: 5px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}
.prog-steps li.inactive:before {
    width: 1.4rem;
    height: 1.4rem;
    content: '';
    line-height: 2rem;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}
.prog-steps li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d !important;
    top: 0.7rem;
    left: -50%;
    z-index: -1;
}
.prog-steps li:first-child:after {
    content: none;
}

/* ****************** containers ****************** */
.container {
    justify-content: left;
    align-items: left;
}
.home-panel {
    margin-left: -15px;
    margin-right: -15px;
    justify-content: left;
    padding: 2em;
    color:#3D3D3D;
}
.resources-panel {
    margin-left: 1em;
    margin-right: 1em;
    justify-content: left;
    padding: 2em;
    background-color:white;
}

/* ****************** step-panel ****************** */
.step-panel {
    margin-left: -15px;
    margin-right: -15px;
    background: white;
    justify-content: left;
    padding: 2em;
    color:#3D3D3D;
    margin-top: -0.5rem;
    margin-bottom: -1.5rem;
}
.button-group {
    margin-top: 1.5rem;
}
.step-button {
    margin-right: 0.5rem;
}
.fa-spin {
    position: relative;
    top: 0.2rem;
    left: 1rem;
}
@media screen and (min-width: 768px) {
    .step-panel {  /* eliminate the unneeded space below the buttons */
        margin-top: -3rem;
    }
    .button-group {
        position: relative;
        margin-top: 0.2rem;
        margin-right: 1rem;
        float: right;
    }
    .step-button {
        position: relative;
        top: -3.6rem;
    }
}
.step-panel .title {
    font-size: 1.25rem;
    font-weight: 600;
    /*
    padding-left: 1.6rem;
    text-indent: -1.6rem;
    */
}
.step-panel p {
    /*font-size: 0.875rem;*/
    font-weight: 400;
    line-height: 1.3rem;
    /*margin-left: 1.6rem;*/
    padding-right: 1rem;
}
.step-panel .choice {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3rem;
    margin-left: 0.2rem;
    text-indent: 0.5rem hanging each-line;
}
.step-panel .description {
    position: relative;
    top: -0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3rem;
    margin-left: 2.8rem;
}
.fill {
    width: auto;
    background: white;
}
.data-image {
    width: 300px;
    height: 200px;
    margin-right: 1.2rem;
    margin-bottom: 0.5rem;
    float: left;
    position: relative;
}

/* ****************** tabs ****************** */
.nav-tabs {
    margin-top: 1rem;
}
@media screen and (min-width: 768px) {
    .nav-tabs {
        margin-top: -1rem;
    }
}
.nav-item a {
    font-size: 1rem;
    font-weight: 400;
    color:#3D3D3D;
    font-size: 1rem;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}
.nav-tabs .nav-item .nav-link.active {
    font-weight: 600;
}

/* ****************** resources page ****************** */
.resources-button {
    position: relative;
    top: -0.5rem;
    margin-right: 0.5em;
}
@media screen and (min-width: 768px) {
    .resources-button {
        position: relative;
        top: -2.9rem;
    }
}
.resources-panel ul {
    margin-left: -1.6rem;
}
.resources-panel ul li {
    line-height: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ****************** cards ****************** */
.card-deck {
    justify-content: left;
    align-items: left;
}
.card {
    min-width: 14rem;
    max-width: 14rem;
    margin-top: 1rem;
    max-height: 16rem;
    min-height: 16rem;
    color:#171717;
    margin-right: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border: none;
    margin-right: 0 !important;

}
/*
.card:last-of-type {
    margin-right: 0;
}
*/
.card-title {
    font-size: 1.25rem !important;
    font-weight: 600;
    line-height: 1.5rem;
}
.card-text {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3rem;
}
.card p {
    width: 100%;
}
.card a {
    text-decoration: none;
    color:#171717
}
.card-body h2 {
    font-size: 0.875rem;
}
.card-body {
    height: 10rem;
}
.bg-info {
    background-color: #E6E6E6 !important;
}
.card-arrow {
    bottom: 0;
    left: 0;
    position: absolute;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

/* ****************** graph cards ****************** */
.graph {
    margin-right: 3rem;
}
.graph-card {
    min-width: 280px;
    max-width: 280px;
    min-height: 250px;
    max-height: 250px;
    margin-right: 0 !important;
    background-color:#F3F3F3;
    border: none;
    text-align: center;
}
.graph-card-title {
    font-size: 0.75rem !important;
    font-weight: 600;
    height: 2rem;
    text-align: left;
}
.graph-card-units {
    font-size: 0.75rem !important;
    font-weight: 400;
    height: 1.5rem;
    position: relative;
    top: -0.5rem;
}
.graph-info {
    float: right;
    top: -0.3rem;
    left: 0.5rem;
    position: relative;
    cursor: pointer;
    font-size: 0.8rem !important;
    font-weight: 600;
}
.graph-category {
    font-size: 1.125rem;
    position: relative;
    left: -1rem;
}
/* one per graph until I can figure out a way to reuse a single style for progressbar.js */
#container0 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container1 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container2 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container3 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container4 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container5 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container6 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container7 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container8 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container9 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container10 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container11 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container12 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}
#container13 {
    width: 240px;
    height: 8px;
    position: relative;
    top: -1rem;
}

/* ****************** graph explanation list ****************** */
.glrm-graph {
    margin-top: -1rem;
}
.glrm-list {
    /*width: 550px;*/
}
.glrm-list li {
    white-space: normal;
}

/* ****************** person cards ****************** */
.person-card {
    min-width: 140px;
    max-width: 140px;
    min-height: 140px;
    max-height: 140px;
    margin-top: 1rem;
    margin-left: 1rem;
    background-color:#F3F3F3;
    border: none;
    text-align: center;
}
.person-image {
    width: 30%;
    height: 30%;
}
.person-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1D7436;
    margin-left:auto;
    margin-right:auto; 
    position: relative;
    top: 5px;
    /*29 116 54*/
}
.person-status {
    font-size: 1rem;
    font-weight: 800;
    margin-left:auto;
    margin-right:auto;
    position: relative;
    top: 10px;
}

/* ****************** modals ****************** */
.modal-content {
    background-color: whitesmoke;
}
.modal-body p {
    text-align: left;
}
.modal-body button {
    color: white;
    background-color: #007bff;
}

/* ****************** consumers ****************** */
.consumer-image {
    position: relative;
    width: 50px;
    height: 60px;
    top: -1rem;
    right: -1rem;  
}
.consumer-choice {
    position: relative;
    top: -4.5rem;
    left: 5rem;
    padding-right: 3rem;
}
.consumer-name {
    font-size: 1.25rem;
    color: black;
    position: relative;
    top: -0.5rem;
}
.consumer-description {
    font-size: 1.25rem;
    color: gray;
}
.consumer-top-image {
    width: 80px;
    height: 100px;
    position: relative;
    top: 1rem;
}
.consumer-top-questions {
    width: 80%;
    font-size: 1.25rem;
    position: relative;
    top: -6rem;
    left: 8rem;
    padding-right: 3rem;
}
.consumer-top-selection {
    position: relative;
    top: -6rem;
}
.consumer-explanation {
    position: relative;
    top: -6rem;
}
.consumer-explanation-boxed {
    font-size: 1rem;
    font-weight: 800;
    position: relative;
    top: -6rem;
    /* color: #45743A; */
    border-style: solid;
    border-color: #45743A;
    padding: 1rem;
}
.consumer-explanation-boxed-unshifted {
    font-size: 1rem;
    font-weight: 800;
    /* color: #45743A; */
    border-style: solid;
    border-color: #45743A;
    padding: 1rem;
}
.consumer-explanation-detail {
    position: relative;
    top: -6rem;
    left: -1.5rem;
}
.consumer-weights {
    position: relative;
    top: -6rem;
    width: 70%;
}
@media screen and (max-width: 768px) {
    .consumer-weights {
        width: 100%;
    }
}
.consumer-highlight {
    font-weight: 800;
    /* color: #3B6CC1; */
    /* orange is #F17A36 */
}
.consumer-punch {
    font-size: 1.125rem;
    font-weight: 800;
    color: #3B6CC1;
}
.explanation-similar {
    background-color: rgba(31, 118, 180, 0.39);
    padding: 5px;
}

/* ****************** table stylings ****************** */
table {
    width: 90%;
    border: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: inline-block;
    font-size: 1rem;
}
th {
    background-color: #1F77B4;
    color: white;
}


/* ****************** decision-tree stylings ****************** */
.decision-tree {
    width: 90%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space:nowrap;
    box-sizing: border-box;
}

/* ****************** text stylings ****************** */
p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    width: 94%;
    color: #3D3D3D;
}
@media screen and (min-width: 768px) {
    p {
        width: 70%;
    }
}
.title {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5rem;
}
.attribute-title {
    font-size: 1.00rem;
    font-weight: 600;
    margin-left: 1rem;
}
.event {
    font-size: 1.0rem;
    font-weight: 600;
}
.video {
    font-size: 1.0rem;
    font-weight: 600;
}
h3 {
    font-size: 1.00rem;
    font-weight: 600;
}
h4 {
    font-size: 1.00rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0.2rem;
}
.mitigation {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0BBDBA;
}
.bias {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3rem;
}
a.license {
    font-size: 0.75rem;
}
.tab-pane li {
    width: 95%;
}
@media screen and (min-width: 768px) {
    p {
        width: 70%;
    }
    .tab-pane li {
        width: 65%;
    }
}
.definition {
    text-decoration: underline;
    text-decoration-style: dotted;
    cursor: help;
}
a {
    color: #0062ff;
}
a:hover {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
.superscript {
    float:right;
    top: -1.3em;
    right: -1.1em;
    position: relative;
    cursor: pointer;
    font-size: 0.8rem !important;
    font-weight: 600;
}

/* ****************** radio button ****************** */
.container {
    display: block;
    position: relative;
    padding-left: 2.4rem;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* hide default radio button */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
/* create custom radio button outer circle */
.checkmark {
    position: absolute;
    top: 3px;
    left: 1.3rem;
    height: 16px;
    width: 16px;
    background-color: white;
    border: 1px solid #3D3D3D;
    border-radius: 50%;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}
/* Style the indicator dot */
.container .checkmark:after {
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3D3D3D;
}