/*
Theme Name: TAMHSC Vital Record Theme
Theme URI: https://vitalrecord.tamu.edu/
Description: A news publication of Texas A&M Health, Vital Record offers insight on the latest in health, medicine and scientific discovery from experts across our five colleges and numerous centers and institutes.
Author: Inventive
Author URI: https://inventive.io/
Template: Total
Version: 1.0
*/


/* SVG Logo */
body {
    #site-logo {
        display: block !important;
        height: 86px;

        a {
            height: 86px;
        }

        img {
            height: 86px;
             max-height: 86px;
             display: inline;
        }
    }

    #site-logo-inner {
        display: block !important;
        height: 86px;
    }
}
 
 /* Page Title Header */
 .page-header.default-page-header {
     margin-bottom: 0;	
 }
 
 .page-header-title {
     font-weight: 600;
 }
 
 
 /* Main Menu */
 #site-header #site-navigation .dropdown-menu ul.sub-menu {
     border-bottom: 1px solid #f00;

     >li.menu-item.current-menu-item >a {
        color: #FFF!important;
    }
 }
 
 #site-navigation-wrap .main-navigation-ul>li.menu-button {
     margin-left: 1.25em;
     margin-right: 0;
 }
 
 @media only screen and (min-width: 960px) {
     .wpex-dropdown-style-minimal-sq #site-navigation .dropdown-menu ul.sub-menu {
         top: 152px!important;
         width: 100%;
         text-align: center;
         position: fixed;
         transition: all 0s linear;
     }
     .sticky-header-shrunk.wpex-dropdown-style-minimal-sq #site-navigation .dropdown-menu ul.sub-menu {
         top: 117px!important;
         transition: all .4s linear;
     }
     .admin-bar .wpex-dropdown-style-minimal-sq #site-navigation .dropdown-menu ul.sub-menu {
         top: 184px!important;
     }
     .admin-bar .sticky-header-shrunk.wpex-dropdown-style-minimal-sq #site-navigation .dropdown-menu ul.sub-menu {
         top: 149px!important;
     }
     .wpex-dropdown-style-minimal-sq #site-navigation .dropdown-menu ul.sub-menu li {
         display: inline-block;
     }
     #site-navigation-wrap.has-menu-underline {
        .main-navigation-ul>li.menu-item-has-children {
            >a>.link-inner::before {
                background: none;
                position: absolute;
                background-color: transparent;
                display: block;
                left: 50%;
                  transform: translateX(-50%);
                content: "";
                width: 0;
                height: 0;
                top: 45px;
                margin: 0 auto;
                border-style: solid;
                border-width: 0 10px 12px 10px;
                border-color: transparent transparent #500000 transparent;
                opacity: 0;
                transition: all 0s ease;
            }
        }

        &.sfHover>a>.link-inner::before {
            opacity: 1;
        }

        &.sfHover>a>.link-inner::after {
            transition: all 0s ease;
            opacity: 0;
        }
     }     
 }
 
 @media only screen and (min-width: 960px) and (max-width: 1200px) {
     #site-navigation-wrap.has-menu-underline.navbar-style-one .main-navigation-ul>li:not(:first-child) {
         margin-left: 1.6vw;
     }
     .header-one #site-logo {
         width: 24%;
     }
 }
 

 /* Main Menu - Press & Media */
 #site-header #site-navigation #menu-item-47817 .sub-menu {
     display: flex;
     justify-content: center;

     #menu-item-48590 {
        width: 1200px;
        max-width: 90%;

        a {
            float: right;
            margin-right: 170px;
        }
    }
 }

  /* Main Menu Button */
  #menu-item-47369  {
    float: right;
}
 
 
/* Row Defaults */
.wpex-vc-row-stretched .wpb_row.vc_inner {
    max-width: 1200px;
    margin: 0px auto;
}
 
/* Page Content */
#content-wrap {
    border-top: 0;
}
 
/* Buttons */
.menu-button .link-inner {
    padding: 10px 20px;
}
 
/* Social Share */
.wpex-social-share.style-flat .wpex-email a {
    background-color: #505050;
}
 
/* Sidebar */
#sidebar,
.vr-sidebar {
    p,
    li {
        font-size: 16px;
        color: #000 !important;

        a {
            color: #500000;
            &:hover {
                text-decoration: underline;
            }
        }

        &.theme-button {
            color: #fff;
        }
    }

    ul {
        list-style: disc;
        margin-left: 40px !important;
        color: #000;
   
        &ul.vc_tta-tabs-list {
           margin-left: 0 !important;
       }
    }

    .subscribe-widget p {
        font-size: 16px;
        color: #000 !important;
    }

    .wpb_widgetised_column .wpb_wrapper > div {
        margin-bottom: 40px;
    }

    .widget-title {
        font-size: 1.5em;
        line-height: 1.6em;
        font-weight: 600;
        text-transform: none;
        margin-top: 10px;
        color: #000 !important;
    }

    .vc_tta-container {
        h2 {
            font-size: 1.5em;
            line-height: 1.6em;
            font-weight: 600;
            text-transform: none;
            margin-top: 10px;
            color: #000 !important;
        }
    }

    .wpex-bordered-list li {
        color: #4F4F4F;
    }

    .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab>a {
        color: #000;
    }

    #related-pages {
        color: #535353;
    
        a {
            color: #500000;
        }
    
        ul {
            list-style: disc;
            margin: 0 0 20px 30px;
        }
    }

    .sidebar-ad {
        text-align: left;
        margin-bottom: 40px;

        h2 {
            font-size: 3rem;
            letter-spacing: 0.11rem;
            text-transform: uppercase;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            color: #fff;

            em,
            strong {
                display: block;
            }

            em {
                letter-spacing: 0rem;
            }

            strong {
                font-weight: 400;
                letter-spacing: 1.9rem;
                position: relative;
                left: 10px;
                color: #00FFFF;
            }
        }

        .vcex-callout-caption h2:first-of-type {
            font-weight: 400; 
        }

        .vcex-callout-button a {
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            border: 2px solid transparent;
            transition: all 0.2s;
            -webkit-transition: all 0.2s;

            &:hover {
                text-decoration: none;
                border-color: #fff;
            }

            .ticon-caret-right:before {
                font-size: 5rem;
                color: #f00;
            }
        }
    }
}

#public-health-sidebar .sidebar-ad h2:after {
    content: ' ';
    height: 3px; 
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
    background-color: #500000;
} 
 
/* CTA Block */
.vr-cta-block {
    background-color: transparent;

    .vcex-callout-caption h2:first-of-type {
        font-size: 2.462em;
        line-height: 1.4em;
        font-weight: 400;
        text-transform: uppercase;
        color: #fff;
    }
}

.vr-cta-block-left{
    text-align:left;
    margin-bottom:40px;
}
 
 
 /* Single Post */
 .single {
    .author-bio {
        display: none;
   
        .author-bio-avatar {
           display: none;
       }
    }

    .meta .meta-category {
        display: none;
    }

    .post-subhead {
        font-size: 1.25em;
        font-style: italic;
        margin-bottom: 20px;
    }

    .vcex-post-content {
        #post-media {
            margin-bottom: 0;
        }

        .shared-counts-wrap {
            display: none;
        }
    }

    .featured-img-caption {
        margin-top: -8px;
        background-color: #f7f7f7;
        color: #000;
        border-left: 1rem solid #fce300;

        /* Hide the image caption container if it has no caption */
        .image-caption.no-caption {
            display: none;
        }
    }

     /* Single Post - Point of View */
     &.post-in-category-pov .author-bio {
        display: block;
    }
}
 
 
/* Related Posts */
.related-posts .related-post-excerpt {
    display: none;
}
 
/* Subscribe Widget */
.subscribe-widget {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    color: #333 !important;

    p {
        font-size: 16px;
    }

    a.theme-button {
        text-align: left;
        width: max-content;
        padding: 10px 20px;
    }
}
 
 
 /* Search Results */
.search-results {
    #content-wrap {
        margin-top: 40px;
    }

    .page-header-title {
        font-weight: 600;
    }
}
 
/* Category Pages */
.category .page-header.default-page-header {
    margin-bottom: 0px;	
}
  
/* Upcoming Events */
.u-uppercase {text-transform:uppercase;}
.u-font-bold {font-weight:bold;}
.u-txt-align-left {text-align:left;}
.u-txt-align-center {text-align:center;}
.u-txt-align-right {text-align:right;}

.upcoming-events {
    a {
        border-bottom: 1px dotted;
        text-decoration: none;
    } 

    &:hover {
        color: #e4002b !important;
        border-bottom: 1px solid;
    }
}
 
.c-cal-event-card_grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    grid-gap: 20px;
    align-items: stretch;
}
 
.c-cal-event-card_item {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
 
.c-cal-event-card_date {
    max-width: 50%;
}
 
.cal_date_month {
    color: #500000;
    font-weight: normal;
    font-size: 20px;  
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
}

.cal_date_day {
    color: #500000;
    font-weight: 600;
    font-size: 42px;  
    text-align: center;
    line-height: 0.8;
}

.c-cal-event-card_top {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.c-cal-event-card_date {
    float: left;
    margin-right: 10px;
    border-right: 3px solid #e4002b;
    padding-right: 15px;
}

.c-cal-event-card_time-location {
    display: flex;
    flex-direction: column;
    width: 70%;
    font-family: "Open sans", Arial, sans-serif;
    justify-content: center;
    color: #3e3e3e;
}

.c-cal-event-card_time {
    font-size: x-small;
    text-transform: uppercase;
}

.c-cal-event-card_location {
    font-weight: bold;
}

.c-cal-event-card_title a {
    color: #500000;
    font-size: large;
}
 
/* Post Cards */
.wpex-post-cards {
    a:hover {
        text-decoration: underline;

        .vcex-heading-inner {
            text-decoration: underline;
        }
    }
} 
 
 /* Hero */
 .vr-card-hero .wpex-post-cards-entry {
    margin-bottom: 0;
 }
 
 .vr-card-hero .post-primary-cat li {
     font-family: "Oswald", sans-serif;
 }
  
 .vr-card-hero .vcex-page-title__heading:after {
     content: '';
     height: 1px;
     width: 100%;
     background-color: #f00;
     position: relative;
     display: block;
     max-width: 600px;
     margin: 0px auto;
     top: 20px;
 }
  

/* Custom Card Stories */
.custom-card-stories .vc_row .vc_column_container .vc_column-inner .wpb_wrapper {
    background-color: #fff;
    border-style: none;
    box-shadow: var(--wpex-shadow-lg);
}

/* Featured Stories*/
.custom-card-featured-stories {
    .vc_row .vc_column_container .vc_column-inner .wpb_wrapper {
        min-height: 465px;
    }

    .vcex-button.theme-txt-link {
        color: var(--wpex-link-color, var(--wpex-accent));
        text-decoration-line: var(--wpex-link-decoration-line);
        text-decoration-color: var(--wpex-link-decoration-color);
        text-decoration-style: var(--wpex-link-decoration-style);
        text-decoration-thickness: var(--wpex-link-decoration-thickness);
        text-underline-offset: var(--wpex-link-underline-offset);

        &:hover {
            color: #E4002B;
            text-decoration: underline;
        }
    }
}
 
 /* Recent Stories */
 .custom-card-recent-stories .vc_row .vc_column_container .vc_column-inner .wpb_wrapper {
    min-height: 450px;
 }

 /* Recent Stores - In The News */
 .custom-card-recent-stories-news .vc_row .vc_column_container .vc_column-inner .wpb_wrapper {
    min-height: 225px;
 }

 /* Updates */
 .custom-card-updates > .vc_column_container > .vc_column-inner {
    padding-left: 0;
    padding-right: 0;
 }

 .custom-card-updates .vc_row .vc_column_container .vc_column-inner .wpb_wrapper {
    min-height: 480px;
 }

/* Post List */
.custom-card-post-list {
    .vcex-heading {
        a:hover {
            .vcex-heading-inner {
                color: #000;
                text-decoration: underline;    
            }
        }
    }
}
 
 /* Trending Stories */
.custom-card-trending-stories .featured-img-col > .vc_column-inner{
    padding: 0;
}
 
 /* Post List */
 .wpex-card-post-list .post-list .wpex-card-title {
     font-family: "Open Sans", sans-serif;
 }
 
/* Category Card */
.category-cards {
    .vcex-terms-grid-entry {
        padding: 0;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    }

    .vcex-terms-grid-entry-image {
        margin-bottom: 0;
    }

    .entry-title {
        margin: 25px;
    }

    @media (min-width: 768px) {
        .vcex-terms-grid-entry {
            margin: 0 1.5% 3%;
            width: 47%;
        }
    }
}

/* Widgets */
.widget-headline.wpex-mb-10 {
    margin-bottom: 10px;
}

/* JSON Feeds */
.json-feed.wpb_text_column .wpex-post-cards-recent-stories .wpex-post-cards-grid .wpex-post-cards-entry:last-child {
    margin-bottom: 20px !important;
}

/* Gravity Forms */
.gform_wrapper {
ul.gform_fields li.gfield {
    padding-right: 0;
}

.top_label .gfield_label {
    font-weight: 600;
} 
}

/* Explore Header */
.explore-header .theme-button-wrap {
    display: none;
} 

/* Schools Cards */
.wpex-card-inner.schools:hover .wpex-card-details .wpex-heading a {
    text-decoration: underline;
    color: #500000;
}
 
 
/* Footer */
.footer-logo img {
    width: 100%;
}

.footer-box .widget_wpex_simple_menu {
    margin-top: 40px;
}
@media (max-width: 767px) {
    .footer-links .wpex-list-item {
        text-align: center;
    }
    .footer-links .wpex-list-item a {
        float: none;
    }
} 
 
 /* Copyright */
 #footer-bottom {
    a:hover {
        text-decoration: underline;
    }

    #copyright {
        ul {
            list-style: none;

            li {
                display: inline;

                &:after {
                    content: '·';
                    padding-left: 6px;
                    padding-right: 3px;
                }

                &:last-child:after {
                    content: '';
                }
            }
        }
    }
 }