/* navigation bar */
#main_navbar {
    border-bottom: solid 1px;
    border-bottom-color: #dee2e6;
}

#main_navbar.navbar {
    padding: 0;
}

#main_navbar a.navbar-brand {
    padding: 0;
    margin-left: 10px;
    color: rgb(68, 68, 68);
}


#main_navbar .nav-link {
    border-top: solid 5px;
    border-top-color: #fff;
    padding-top: 18px;
    /*padding-bottom: 18px;*/
    color: rgb(100, 96, 108);
}

#main_navbar .nav-link.active {
    border-top-color: #b5121b;
    font-weight: 900;
    color: rgb(68, 68, 68) !important;
}

#main_navbar .nav-link:hover {
    color: #b5121b;;
}

#main_navbar.nav-bar-style {
    font-family: Arial, helvetica, sans-serif;
    font-size: 14px;
    /*    background-color: #b5121b; */
    background-color: #fff;
}

/* may affect other areas... be more specific */
#main_navbar .dropdown-item.active, .dropdown-item:active {
    background-color: #b5121b;
}

#main_navbar button.navbar-toggler {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 15px;
    color: rgb(68, 68, 68);
}

#main_navbar button.navbar-toggler:hover {
    border-color: #b5121b;
}

#main_navbar button.navbar-toggler:focus {
    border-width: 0;
}

/* transparent background */
.bg-overlay {
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url("../img/banner-cfie.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    height: 320px;
    padding-top: 100px;
}

.main_title {
    font-family: "Open Sans", helvetica, arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
}

.sub_title {
    font-family: "Open Sans", helvetica, arial, sans-serif;
    font-size: 22px;
    text-align: left;
}

/* red line separating sections */

.sep {
    width: 100px;
    height: 1px;
    border-bottom: 2px solid #b5121b;
    margin: 60px auto 0;
}

#people {
    padding-top:80px;
    color: rgb(51, 51, 51);
    background-color: rgb(239, 239, 239);
    padding-bottom: 20px;
}

#industry, #software {
    padding-top:80px;
    background-color: rgb(239, 239, 239);
    padding-bottom: 20px;
}

#contact {
    background-color: #555656;
    padding-top: 80px;
    color: #fff;
    padding-bottom: 20px;
}

#datasets, #research, #training {
    padding-top:80px;
    padding-bottom: 20px;
}

#research-tab-content, .about-us-text, #accordion .card-body, .training-contents, #software_content, #datasets_content {
    font-size: 16px;
    font-family: Arial, helvetica, sans-serif;
}

.training-contents li, #research-tab-content li, #software_content li, #datasets_content li{
    padding-top: 5px;
    padding-bottom: 5px;
}

#accordion .card-link {
    color: rgb(100, 96, 108) !important;
    font-size: 13px;
    font-family: Arial, helvetica, sans-serif;
    font-weight: bold;
}

#frc-img {
    height: 25px;
    width: 45px;
}

#fca-img {
    height: 25px;
    width: 80px;
}

#plsa-img {
    height: 30px;
    width: 100px;
}

#cfa-img {
    height: 30px;
    width: 100px;
}

#irs-img {
    height: 30px;
    width: 80px;
}

/* people */

.cont {
    position: relative;
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    color: #f1f1f1;
    width: 100%;
    height: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 13px;
    padding: 20px;
    text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.contactlink:hover .overlay {
    opacity: 1;
}

.contactlink:hover {
    color: #b5121b;
}

.contactlink {
    text-decoration: none !important;
    color: rgb(100, 96, 108);

}

.envelope-contact {
    text-decoration: none !important;
    font-size: 13px;
    font-family: Arial, helvetica, SansSerif;
    font-weight: bold;
    color: #b5121b;
}

.envelope-contact:hover {
    color: #da898e;
}

.team-member-name {
    font-family: Arial, helvetica, SansSerif;
    font-size: 16px;
    padding-top: 10px;
    height: 50px;
}

.team-card-size {
    width: 100px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

/* team modals */
.team-modal-content {
    background-color: rgb(29, 29, 29);
    /*color: rgb(204,204,204);*/
    color: #fff;
}

.team-modal-header {
    border-bottom-color: #b5121b;
}

.team-modal-body {
    text-align: justify;
    font-family: Arial, helvetica, SansSerif;
    font-size: 14px;
}

a {
    color: #b5121b;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #b5121b;
}

#research .nav-link:hover, #datasets .nav-link:hover, #software .nav-link:hover {
    color: #b5121b !important;
    border-bottom-width: 0;
}

#research .nav-link.active, #research .show > .nav-link, #datasets .nav-link.active, #datasets .show > .nav-link {
    color: #b5121b;
    background-color: #fff !important;
    border-bottom: solid;
    border-bottom-color: #b5121b;;
    border-bottom-width: 5px;
}

#software .nav-link.active, #software .show > .nav-link{
    color: #b5121b;
    background-color: rgb(239, 239, 239); !important;
    border-bottom: solid;
    border-bottom-color: #b5121b;;
    border-bottom-width: 5px;
}

#research .nav-link, #datasets .nav-link, #software .nav-link {
    color: rgb(68, 68, 68);
    padding-left: 0;
    padding-right: 0;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

#research .nav, #datasets .nav, #software .nav {
    color: rgb(68, 68, 68);
    font-family: Arial, helvetica, SansSerif;
    font-size: 20px;
    font-weight: 800;
    border-bottom-width: 0;
}

#research_tabs li, #datasets_tab li, #software_tabs li {
    flex-direction: column;
    display: flex;
    margin-right: 32px;
}

#research a, #datasets a, #software a {
    flex: 1;
}

.form-control::placeholder {
    color: #adb5db;
    opacity: 1;
}

@media only screen and (max-width: 500px) and (orientation: portrait) {

    #main_navbar .nav-link {
        border-top: solid 2px;
        border-top-color: #fff;
        padding-top: 8px;
        padding-bottom: 8px;
        color: rgb(68, 68, 68) !important;
    }

    #main_navbar .nav-link.active {
        border-top-color: #b5121b;
        font-weight: bolder;
        color: rgb(68, 68, 68) !important;
    }

}

@media only screen and  (min-width: 521px) and (max-width: 700px) and (orientation: landscape) {

    #main_navbar .nav-link {
        border-top: solid 2px;
        border-top-color: #fff;
        padding-top: 8px;
        padding-bottom: 8px;
        color: rgb(68, 68, 68) !important;
    }

    #main_navbar .nav-link.active {
        border-top-color: #b5121b;
        font-weight: bolder;
        color: rgb(68, 68, 68) !important;
    }
}