﻿/* 
 ***************************
 * Valley Health
 * Use CSS custom properties/variables to define colors
 ***************************
 */

:root {
    --primary-color: #326295;
    --primary-darker: color-mix(in srgb, var(--primary-color), black 5%);
    --secondary-color: #008EAA;
    --secondary-darker: #081F2C;
    /* Links */
    --link-color: var(--primary-color);
    --link-color-hover: #007acc;
    --link-decoration: none;
    --link-decoration-hover: underline;
    /* Navbar */
    --navbar-background: #326295;
    --navbar-link-color: var(--secondary-color);
    --navbar-link-color-hover: var(--secondary-color);
    --navbar-link-selected: var(--secondary-color);
    /* Footer */
    --footer-background: #326295;
}

/* 
   ***************************
   * Typography
   ***************************
   */

.text-primary {
    color: var(--primary-color);
}

.activity-feed-header {
    font-size: 2rem;
    font-weight: 300;
}

.section_subtitle {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.Question_Category {
    color: var(--primary-color);
}

.hp .Question_Category {
    color: var(--primary-color);
}

/* 
   ***************************
   * Links
   ***************************
   */

a {
    color: var(--link-color);
    text-decoration: var(--link-decoration);
}

    a:hover {
        color: var(--link-color-hover);
        text-decoration: var(--link-decoration-hover);
    }

/* 
   ***************************
   * Buttons
   ***************************
   */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
}

    .btn-primary:hover,
    .btn-primary:active {
        border-color: var(--primary-darker) !important;
        background-color: var(--primary-darker) !important;
        color: white !important;
    }

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline-primary:hover,
    .btn-outline-primary:active {
        border-color: var(--primary-color) !important;
        background-color: var(--primary-color) !important;
        color: white !important;
    }

.next_btn_Style {
    background-color: var(--primary-color);
    color: white;
}

    .next_btn_Style:hover,
    .next_btn_Style:active {
        border-color: var(--primary-color);
        background-color: var(--primary-color);
        color: white;
    }

.btn_style {
    background-color: var(--primary-color);
    color: white;
}

.hp .btn_style {
    background-color: var(--primary-color);
}

.es .btn_style {
    background-color: var(--primary-color);
}

/* 
   ***************************
   * Main navigation
   ***************************
   */

.navbar {
    padding: 0;
}

    .navbar .btn {
        color: #ededed;
        border-color: var(--secondary-color);
        background-color: var(--secondary-color);
    }

        .navbar .btn:focus,
        .navbar .btn:active {
            color: #2a2a2a !important;
            background-color: var(--secondary-darker) !important;
            border-color: var(--secondary-darker) !important;
        }

        .navbar .btn:hover {
            color: var(--secondary-color) !important;
            background-color: #fff !important;
            border-color: #fff !important;
        }

.navbar-collapse {
    background-color: var(--primary-color);
}

.nav-item .nav-link {
    padding: 0.75rem;
    color: #ededed !important; /*Pasty_White*/
    /* font-weight: bold;  */
    transition: all 0.25s ease-in-out;
}

    .nav-item .nav-link:hover {
        background-color: #fff;
        color: var(--primary-color) !important;
    }

    .nav-item .nav-link:active,
    .nav-item .nav-link:focus {
        color: #fff !important;
    }

.nav-item.active {
    border-bottom: none;
}

    .nav-item.active .nav-link {
        background-color: var(--secondary-color);
        color: #ededed !important;
        font-weight: bold;
    }

.navbar-brand {
    padding: 1.5rem;
    margin-right: 0;
}

@media (min-width: 992px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar-nav {
        width: 100vw;
        justify-content: center;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1rem 1.25rem;
    }
}
/* 
   ***************************
   * Activity feed navigation
   ***************************
   */

.nav-pills > a.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* 
   ***************************
   * Page footer
   ***************************
   */

#Template_Footer {
    padding: 1rem;
    background-color: var(--footer-background);
}

    #Template_Footer a {
        color: var(--navbar-link-color);
    }

        #Template_Footer a:hover {
            color: var(--navbar-link-color-hover);
        }

    /* Lighten eeds logo to account for darker background */
    #Template_Footer img {
        /* filter: invert(1); */
    }

/* 
   ***************************
   * Badges
   ***************************
   */

.badge-success {
    background-color: var(--primary-color);
    font-weight: normal;
}

/* 
   ***************************
   * Clickable DIVs
   ***************************
   */

.nav_hover {
    border: solid 2px white;
}

    .nav_hover:hover {
        border: solid 2px var(--primary-color);
        cursor: pointer;
    }

/* 
   ***************************
   * Description DIVs
   ***************************
   */

#description_content {
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 20px;
    min-height: 400px;
    position: absolute;
    top: 300px;
    left: 310px;
}

.div_description {
    background-color: white; /* White */
    width: 580px;
    display: none;
}

.description_content_hover {
    background-color: white;
    background-image: none;
    border-left: 2px solid var(--primary-color);
}

.link_content_hover {
    margin-top: -2px;
    margin-left: -2px;
    padding-bottom: 0px;
    background-color: white;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.info_nav_hover:hover {
    border: solid 2px var(--primary-color);
    border-right: none;
    cursor: pointer;
}

a.main_link {
    background: none;
    color: black;
    border: none;
}

/* 
   ***************************
   * CME Calendar
   ***************************
   */

#calendar_header_table {
    border-collapse: collapse;
    table-layout: fixed;
    border-color: var(--primary-color);
}

    #calendar_header_table td {
        border-color: var(--primary-color);
        color: white;
        background-color: var(--primary-color);
    }

    #calendar_header_table a {
        color: white;
        background-image: none;
    }

.symposium_calendar_item {
    background-color: #e3d7de;
}

.presentation:hover {
    cursor: pointer;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* 
   ***************************
   * Timeline
   ***************************
   */

#steps_div {
    margin-top: 10px;
    margin-left: 10px;
    clear: both;
}

    #steps_div .step {
        float: left;
        width: 120px;
        text-align: center;
        vertical-align: top;
    }

    #steps_div #title {
        font-size: 16px;
        font-weight: bold;
        text-align: left;
        padding-bottom: 4px;
        color: var(--primary-color);
    }

.page_subtitle {
    color: black;
}

#steps_div .step .text {
    width: 90%;
    color: #cccccc; /*Silver_Grey*/
    margin: 0 auto;
}

#steps_div .step .box {
    width: 90%;
    height: 7px;
    background-color: #cccccc; /*Silver_Grey*/
    margin: 0 auto;
}

#steps_div .step.on .box {
    background-color: var(--primary-color);
}

#steps_div .step.on .text {
    color: var(--primary-color);
    font-weight: bold;
}

/* 
   ***************************
   * Timeline
   ***************************
   */

#minitabs {
    margin: 0;
    padding: 0 0 20px 10px;
    border-bottom: 1px solid #ccc; /* Light_Grey */
}

    #minitabs li {
        margin: 0;
        padding: 0;
        display: inline;
        list-style-type: none;
    }

    #minitabs a:link,
    #minitabs a:visited {
        float: left;
        line-height: 14px;
        font-weight: bold;
        margin: 0 4px 2px 10px;
        padding-bottom: 2px;
        text-decoration: none;
        color: #ccc; /* Light_Grey */
    }

    #minitabs a.active:link,
    #minitabs a.active:visited,
    #minitabs a:hover {
        color: var(--secondary-color);
        border-bottom: 4px solid var(--primary-color);
        padding-bottom: 2px;
        background: #fff;
    }

/* 
   ***************************
   * Portal Mini-SubTabs Navigation
   * (used when there are multiple sponsors)
   ***************************
   */

.minisubtabs_container {
    border: 1px solid var(--primary-color);
    padding: 20px;
    margin: 10px 0 10px 0;
    background: #fff;
}

#minisubtabs {
    margin: 0;
    padding: 15px 0px 0px 0px;
}

    #minisubtabs li {
        margin: 0;
        padding: 0;
        display: inline;
        list-style-type: none;
    }

    #minisubtabs a:link,
    #minisubtabs a:visited {
        float: right;
        line-height: 14px;
        font-weight: bold;
        margin: 0 10px 4px 10px;
        padding-bottom: 2px;
        text-decoration: none;
        color: #ccc; /* Light_Grey */
    }

    #minisubtabs a.active:link,
    #minisubtabs a.active:visited,
    #minisubtabs a:hover {
        border-bottom: 4px solid var(--primary-color);
        padding-bottom: 2px;
        background: #fff;
        color: var(--primary-color);
    }

/* 
   ***************************
   * Portal structure
   ***************************
   */

.Imageless_Text {
    font-size: 20px;
}

#Organization_Logo_Area {
    font-size: 24px;
    margin-top: -30px;
    float: left;
}

#Organization_Address_Area {
    color: #808080; /* Medium_Grey */
    float: right;
}

.vr {
    background-image: url(../images/pixel_grey.jpg);
    background-position: top right;
    background-repeat: repeat-y;
}

/* 
   ***************************
   * Enduring materials page
   ***************************
   */

.Hoverable_Conference_Series {
    border: 2px solid #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

    .Hoverable_Conference_Series:hover {
        border: 2px solid var(--primary-color);
    }

/* 
   ***************************
   * Custom calendar nav
   ***************************
   */

.custom_calendar_button {
    padding: 5px;
    border-bottom: 2px solid #999999;
    font-weight: bold;
    color: #999999 !important;
    font-size: 14px;
    float: right;
    margin-right: 10px;
}

.selected_custom_calendar_button {
    padding: 5px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 14px;
    float: right;
    margin-right: 10px;
}

    .selected_custom_calendar_button:hover {
        text-decoration: none;
    }

.custom_calendar_button:hover {
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
    color: var(--primary-color) !important;
    text-decoration: none;
}
