/* note: media query breakpoints below same min-width as bootstrap navbar-expand */
html {
    height: 100%;
    /*background-color: white;*/
}
body {
    height: 100%;
    background: #F3F3F3;
    font-family: 'IBM Plex Sans';
}
body .modal {
    width: 90%;
    margin-left:auto;
    margin-right:auto; 
}
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 #0064FF;
    }
    .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;
}
/* @media screen and (min-width: 768px) {
    .home-tile {
        height: 110px;
    }
} */

.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 {
    margin-left: 0.5em;
    width: 300px;
}
@media screen and (max-width: 400px) {
	.prog-steps {
		width: 260px;
	}
}
.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: #3B99FC;
}
.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;
}

/* ****************** 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 ****************** */
.graphs {
    margin-left: 8px;
}
.graph-card {
    min-width: 221px;
    max-width: 221px;
    min-height: 248px;
    max-height: 248px;
    margin-right: 0 !important;
    background-color:#F3F3F3;
    border: none;
    margin-right: 0 !important;
}
.graph-card-title {
    font-size: 0.875rem !important;
    font-weight: 600;
    height: 2rem;
}
/* ****************** person cards ****************** */
.person-card {
    min-width: 218px;
    max-width: 218px;
    min-height: 180px;
    max-height: 180px;
    margin-top: 1rem;
    margin-left: 1rem;
    background-color: white;
}
.person-image {
    position: relative;
    top: -20px;
    left: -20px;
}
.person-name {
    font-size: 0.875rem;
    margin-left:auto;
    margin-right:auto; 
}

/* ****************** 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;
    }
    /*
    .fa-spin {
        position: relative;
        top: -3.25rem;
    }
    */
}
.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;
}

/* ****************** 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;
}

/* ****************** 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;
}

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

/* ****************** 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;
    color: blue;
}
.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: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;
}
  