/*
 Theme Name:   Cosgrove Child
 Theme URI:    http://themeforest.net/user/VictorThemes
 Description:  Cosgrove Child Theme
 Author:       VictorThemes
 Author URI:   http://themeforest.net/user/VictorThemes/portfolio
 Updates:      Aaron Day with Thrive Web Designs
 Template:     cosgrove
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
 Text Domain:  cosgrove-child
*/

/* General Styles */
p {
    font-size: 16px;
    line-height: 1.4em;
    color: #000;
    padding-bottom: 1.2em;
}
li, ol {
  font-size: 16px;
  font-family: "Helvetica", Arial, sans-serif;
  font-style: normal;
  color: #000;
}
.wpb_text_column ul, .wpb_text_column ol {
    margin-bottom: 2em;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.8rem;
}
.wpb_content_element td {
  text-align: left;
}

@media only screen and (min-width: 768px)
{
    .mt-sm-3
    {
        margin-top: 1.8rem !important;
    }
}

.mt-4 {
  margin-top: 2rem;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.d-none
{
    display: none !important;
}

.color-black {
    color: #000 !important;
}

/* Custom logo and nav bar margin*/
.csgve-logo .retina-logo
{
    width: 100%;
    max-width: 251px;
}

.csgve-nav-bar-section { 
  margin-top: 5px; /* Main Menus */
}

.logo-top-row {
    margin-top: 10px;
}

.utility-nav-rule
{
    border-bottom: 1px solid #13c5dd;
}

.is-sticky .utility-nav-rule
{
    border: none;
}

.csgve-main-wrap #sticky-wrapper
{
    height: auto !important;
}

.utility-nav-container
{
    display: block;
    overflow: hidden;
    transition: max-height 0.3s;
}

.is-sticky .utility-nav-container
{
    max-height: 0;
}

.program-lockup {
    display: block;
    vertical-align: middle;
    margin-top: 1rem;
    margin-left: 3.8vw;
    white-space: normal;
    padding-bottom: 0.5rem;
}

.program-lockup h3,
.program-lockup h4 {
    padding: 0;
    margin: 0;
    line-height: 1.1em;
    font-size: 14px;
}

.program-lockup h3 .program-lockup-link {
    color: #00a1de;
}

.program-lockup h4 {
    color: #222;
    display: inline-block;
    text-transform: uppercase;
    max-width: 250px;
}

.bree-logo {
  max-width: 90px;
  margin: 5px;
}

.header-right .search-link
{
    padding: 0;
    position: absolute;
    bottom: 0;
    right: 2rem;
}

.search-link .search-icon
{
    padding: 1.1rem;
    display: block;
    font-size: 2rem;
}

.search-link .close-icon .fa-times
{
    padding: 1.4rem;
    font-size: 2rem;
}

.csgve-main-wrap .csgve-logo
{
    display: inline-block;
    padding: 0;
    white-space: nowrap;
}

.csgve-main-wrap .mean-container .meanmenu-reveal
{
    top: auto;
    bottom: 0;
    padding: 1.4rem;
    z-index: 999;
    margin-right: 1.2rem;
    right: 0;
    left: auto;
    text-align: center;
    text-indent: 0;
    font-size: 18px;
}

.mean-container .header-right
{
    z-index: 100;
    position: absolute;
    bottom: 0;
    right: 0;
}

.admin-bar .csgve-main-wrap .is-sticky .csgve-header,
.csgve-main-wrap #sticky-wrapper
{
    min-height: 0;
}

.csgve-main-wrap .top-collapsible-menu
{
    border: none;
}

.csgve-main-wrap .mean-container .mean-nav
{
    float: none;
    position: relative;
    top: 250px;
    margin-top: 0;
    display: none;
}

body.main-menu-open .csgve-main-wrap .mean-container .mean-nav {
    display: block;
}

#menu-coap-menu, 
#menu-scoap-menu, 
#menu-main-menu,
#menu-wpsc-menu,
#menu-fhcq-menu {
    text-transform: uppercase;
}

.csgve-navigation .menu-item > a
{
    padding: 1rem;
}

.contact-right {
    position: absolute;
    right: 15px;
}

.fhcq-contactUs {
  border: 0px;
}

.fhcq-contactUs td {
  text-align: left;
  border: 0;
  padding: 0;
  width: 50%;
}

.csgve-page-title {
  background-color: #0063A7; 
}
.mean-container .mean-nav {
    overflow-y: auto;
}

/* Ensure duplicated nav inside mean-nav stays visible */
.mean-container .mean-nav nav,
.mean-container .mean-nav .csgve-navigation {
    display: block !important;
    float: none;
    width: 100%;
}

/* Fix for hamburger menu - ensure menu structure is visible when opened */
/* Don't force display on ul - let meanmenu plugin handle it via slideDown */
.mean-container .mean-nav ul li {
    visibility: visible;
    opacity: 1;
}

.mean-container .mean-nav ul li a {
    visibility: visible;
    opacity: 1;
    display: block;
}
#sticky-wrapper {
    min-height: 190px;
}
.admin-bar .is-sticky .csgve-header {
    min-height: 190px;
}

/* Preloader style */
.csgve-preloader {
  background: #ffffff !important;
}
.preloader-bar {
  background-color: #13c5dd;
}
.preloader-percentage-text, .percentage {
  color: #13c5dd;
}

/* Custom Footer styles */
.csgve-footer, .csgve-copyright {
  background-color: #0063A7;
  color: #ffffff;
}
.csgve-copyright {
  border: none !important;
  font-size: 13px;
}
.footer-box-1, .footer-box-2 {
  font-weight: bold;
  border-right: 1px solid #ffffff;
  padding-top: 25px;
  padding-bottom: 25px;
  height: 420px;
}
.footer-box-3 {
  font-weight: bold;
  font-size: 16px;
  padding: 70px 0px 0px 30px;
}
.footer-box-1 a {
  color: #ffffff;
}
.footer-box-2 a, .footer-box-3 a  {
  display: block;
  padding: 10px 0px 10px 40px;
  word-spacing: 5px;
  color: #ffffff;
}
.footer-links {
  text-align: center;
  padding-bottom: 3em;
  border-bottom: 1px solid #fff;
}

.footer-links ul {
  margin: 0 auto;
  display: inline-block;
    padding: 0;
}

.footer-links li {
    list-style: none;
    display: inline-block;
    margin: 0 2vw;
}

.footer-links a {
    color: #fff;
    font-size: 16px;
}

/* 2nd Level Menu */
.menu li.current_page_item a,
.menu a:hover {
    font-weight: bold;
}

/* Third Level Menu */
.side-menu li,
.wpb-js-composer .vc_tta.vc_tta-spacing-20 li.vc_tta-tab {
    list-style: none;
    text-align: right;
    margin-right: 20px;
    margin-bottom: 0;
    margin-top: 0;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    padding: 14px 18px;
}
.wpb-js-composer .vc_tta.vc_tta-spacing-20 li.vc_tta-tab {
    margin-right: 40px;
}
.side-menu li a,
.wpb-js-composer .vc_tta.vc_tta-spacing-20 li.vc_tta-tab a{
    color: #000 !important;
    text-transform: uppercase;
    font-weight: 600;
    font-family: Gotham Book,Arial,sans;
    font-size: 14px;
    background: none !important;
    padding: 0;
    margin: 0;
    border: none;
}
.side-menu li:last-of-type,
.wpb-js-composer .vc_tta.vc_tta-spacing-20 li.vc_tta-tab:last-of-type {
    border-bottom: 1px solid #000;
}
.side-menu li.current_page_item a,
.wpb-js-composer .vc_tta-color-black.vc_tta-style-outline li.vc_tta-tab.vc_active a {
    font-size: 16px !important;
    background: none !important;
}
.side-menu li.current_page_item a,
.side-menu li a:hover,
.wpb-js-composer .vc_tta-color-black.vc_tta-style-outline li.vc_tta-tab.vc_active > a,
.wpb-js-composer .vc_tta-color-black.vc_tta-style-outline li.vc_tta-tab > a:hover {
    color: #13c5dd !important;
    background: none !important;
}

/* Forms */
.nice-select,
form input, 
form textarea, 
form select {
    border-color: #ccc !important;
}
.nice-select {
    margin-bottom: 0;
}

/* Calendar */
/* No longer using this calendar
.ecwd_theme_calendar .calendar-head .current-month {
    padding: 6px 0 16px;
}
*/
.tribe-bar-submit {
    margin-left: 10%;
}
.nice-select.tribe-bar-views-select {
    display: none;
}

/* Remove Google reCAPTCHA Badge for all pages but not the contact pages */
body:not(.page-id-205) .grecaptcha-badge {
	display: none;
}

/* Contact Form */
input[type="submit"] {
    border: none;
}

/* Hide LogOut Button from Members-Area page */
.pms-account-navigation-link--logout {
  display: none !important;
}
/* Member Area styles */
.pms-account-navigation {
  margin-top: -100px;
  padding: 20px;
}

/* Home Content Blocks */
.container.csgve-content-area h4 {
    margin-bottom: 1em !important;
}
.home-pages-middle-box-content h3 {
  font-size: 24px !important;
  font-weight: 500;
}
.home-pages-middle-box-content p {
  font-size: 16px !important;
}
.home-pages-middle-box-content .csgve-btn {
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}
.button-centered {
    text-align: center;
}

.search-results .trail-items
{
    display: none;
}

.news-style-three .news-meta
{
    display: none;
}

/* General Content */
.wpb_content_element a,
.wpb_content_element li a {
    color: #337ab7;
}
.wpb_content_element a:hover,
.wpb_content_element li a:hover {
    color: #000;
}

#tribe-events-content
{
    margin-top: 4rem;
}

/* SCOAP events page header requires further styling */
.scoap-events-green-header-box {
  height: 180px;
  width: 90%;
}

/* ABOUT WPSC menu - Who We Are piece */
.csgve-main-wrap .about-wpsc-menu {
  margin-top: -15px;
  margin-bottom: 20px;
}

.csgve-main-wrap .about-wpsc-menu .menu-item {
  display: inline-block;
  line-height: 2.5em;
}

.csgve-main-wrap .about-wpsc-menu .menu-item > a {
  color: #ffffff;
  font-size: 16px;
  padding-right: 60px;
  text-transform: uppercase;
}

/* Colored sub menu displayed on WPSC resources */
.tools-resources-nav{
  padding: 5px;
}
.tools-resources-nav-btn{
    width: 700px;
    max-width: 100%;
    height: 73px;
    display: table-cell;
    vertical-align: middle;
}
.tools-resources-nav-btn span{
  padding: 5px;
}

/* vTab selected */
.vc_tta-tab.vc_active > a {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
}

/* Highlights row showed on WPSC home and Members area */
.wpsc-highlights-txt-block {
  height: 180px;
}

/* TOP Bar Sites Menu styles */
.top-collapsible-menu {
  /*border-bottom: 1px solid #13c5dd;*/
  /* box-shadow: 1px 2px 3px rgba(0,0,0,0.2); */
}
.top-collapsible-menu ul {
  display:inline-flex;
  list-style-type: none;
  padding: 0;
}
.top-collapsible-menu a {
  display: block;
  padding: 15px 0px 5px 14px;
  text-decoration: none;
}
.top-collapsible-menu label {
  display: none;
}
.top-menu-content {
  display:inline-flex;
  max-height: 100%;
  overflow: hidden;
  padding: 0;
}
.top-menu-content .menu-item {
    font-size: 15px;
}
#top-bar-site-menu-input {
  display: none;
}
.top-bar-site-active {
  color: #13c5dd;
}

/** AKA main-bar **/
.csgve-header .mean-container .mean-bar
{
    float: none;
    width: auto;
    right: 0;
    bottom: 0;
    left: auto;
    top: auto;
    min-height: 63px;
}

.main-menu-open .csgve-header .mean-container .mean-bar
{
    width: 100%;
}

.members-area-menu {
  width: 90%;
  text-align: right;
  border: 0;
  margin-bottom: 0;
}
.members-area-menu td {
  border: 0;
  padding: 0;
  line-height: 1;
}

.csgve-btn.members-area-menu-btns
{
    color: #00a1de;
    font-size: 14px;
    background: #ffffff;
    border-color: #00a1de;
    min-width: 150px;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    font-weight: 500;
    float: right;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 992px)
{
    .csgve-btn.members-area-menu-btns
    {
        margin-top: 0;
        margin-left: 1rem;
    }
}

.csgve-btn.members-area-menu-btns:hover,
.csgve-btn.members-area-menu-btns:focus,
.csgve-btn.members-area-menu-btns:active
{
    color: #8fa9b3;
    background: #ffffff;
    border-color: #8fa9b3;
}

.members-area-menu-btns-contact {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 25px;
  width: 32px;
  height: 32px;
  background: url(/downloads/icons/contact-us.svg);
  background-size: 32px 32px;
}

.footer-social-links li,
.with-social li {
    margin-right: 0.6em;
    color: #fff;
}
.footer-social-icons-fb,
.footer-social-icons-linked,
.footer-social-icons-twitter {
  display: inline-flex !important;
  vertical-align: -12px;
  margin-left: 0.5em;
  width: 40px;
  height: 40px;
  background-size: 40px 40px !important;
}
.footer-social-icons-fb {
  background: url(/downloads/icons/facebook-icon.png);
}
.footer-social-icons-linked {
  background: url(/downloads/icons/linked-icon.png);
}
.footer-social-icons-twitter {
  background: url(/downloads/icons/twitter-icon.png);
}

@media only screen and (min-width: 1199px) {
    .header-right .search-link
    {
        position: relative;
        bottom: auto;
        right: auto;
    }

    .search-link .search-icon
    {
        font-size: 15px;
    }

    .mean-container .header-right
    {
        margin-right: 0;
    }
}

@media (max-width: 1210px) {
  .home-pages-middle-box-content h3 {
      font-size: 18px !important;
  }
  .home-pages-middle-box-content p {
      font-size: 14px !important;
  }
    .home-pages-middle-box-content .wpb_content_element {
        margin-bottom: 5px;
    }
    .home-pages-middle-box-content .csgve-btn {
        font-size: 12px;
    }
  .fhcq-contactUs td {
    font-size: 13px;
  }

    .container.mean-container {
        height: 50px;
    }
}

@media only screen and (min-width: 992px)
{
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }

    .mean-container .header-right
    {
        margin-right: 60px;
    }
}

@media only screen and (min-width: 768px)
{
    .d-sm-block {
        display: block !important;
    }

    .d-sm-none {
        display: none !important;
    }

    .utility-nav-container
    {
        max-height: 80px;
    }

    .csgve-main-wrap .csgve-logo
    {
        display: inline-block;
        padding-top: 1rem;
    }

    .program-lockup {
        margin-left: 20px;
        border-left: 2px solid #000;
        padding-left: 20px;
        margin-top: 0;
        display: inline-block;
    }

    .program-lockup h3,
    .program-lockup h4 {
        font-size: 14px;
        padding: 0;
        margin: 0;
    }

    .bree-logo {
      display: inline-block;
      max-width: 120px;
      margin-left: 20px;
      border-left: 2px solid #000;
    }
    .bree-logo img {
      margin-left: 20px;
    }
}

@media only screen and (max-width: 991px) {
    .qh-container .container {
        width: 100%;
    }

    .container.mean-container {
        width: 100% !important;
    }

    .contact-right {
        position: inherit !important;
        right: 0;
    }

    .csgve-btn.members-area-menu-btns.btn-members-area-logout,
    .csgve-btn.members-area-menu-btns.btn-members-area-login {
        border: none;
        min-width: 0 !important;
        font-size: 26px !important;
        line-height: 42px;
        padding: 0 0 0 1rem;
    }
}

@media only screen and (max-width: 970px) {
  .home-pages-middle-box-content p {
    display: block !important;
  }
  .home-pages-middle-box-content h3 {
      font-size: 18px !important;
  }
}

/* Container width for tablets */
@media only screen and (max-width: 970px) and (min-width: 768px) {
    .container.csgve-content-area {
        width: 840px !important;
        max-width: 95% !important;
    }

    .mean-container .header-right
    {
        margin-right: 60px;
    }
}

/* Mobile Resolution styles */
@media only screen and (max-width: 767px) {
  /* Header Graphic */
  .header-responsive {
    height: 250px;
  }
  .header-responsive-inner {
    height: 120px;
  }

    .container.mean-container
    {
        height: auto;
    }

  .fhcq-contactUs td {
    font-size: 12px;
  }
  .home-text-block{
    border-bottom: 1px solid #fff;
  }
  .home-text-block.home-1{
    background-color: #92278f;
  }
  .home-text-block.home-2{
    background-color: #003b64;
  }
  .home-text-block.home-3{
    background-color: #0063a7;
  }
  .home-text-block.home-4{
    background-color: #00a6c0;
  }
  .home-text-block.home-5{
    background-color: #91278f;
  }
  .home-text-block.home-6{
    background-color: #00a1de;
  }
  .home-text-block.home-7{
    background-color: #2b5d60;
  }
  .home-text-block.patients{
    background-color: #0063a7;
  }
  .home-text-block.events{
    background-color: #00a6c0;
  }
  .home-text-block.participating{
    background-color: #00a1de;
  }
  .home-pages-middle-box-content h3 {
      font-size: 14px !important;
  }
  .top-collapsible-menu label {
    display: block;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
    padding: 10px 0 10px 50px;
  }
  .top-collapsible-menu ul {
    display:block;
  }
  .top-menu-content {
    display:block;
    max-height: 0;
  }
  #top-bar-site-menu-input {
    display: none;
  }
  #top-bar-site-menu-input:checked ~ .top-menu-content {
    max-height: 100%;
  }
  .top-collapsible-menu a {
    display: block;
    padding: 5px;
  }

    .csgve-header .search-link .search-icon
    {
        padding: 1.1rem;
    }

    .members-area-menu {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .csgve-btn.members-area-menu-btns {
        font-size: 10px;
        min-width: 100px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .csgve-main-wrap .top-collapsible-menu > label
    {
        display: inline-block;
        background-color: #333;
        color: #FFF;
        padding: 1rem 2rem;
        margin-bottom: 0;
        position: relative;
        z-index: 22;
    }

    .utility-nav-toggle
    {
        text-transform: uppercase;
        font-weight: 600;
        font-size: 1rem;
        border-bottom: #FFF solid 2px;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0 0.5rem;
    }

    .top-bar-heading
    {
        position: absolute;
        background-color: #2fa0de;
        height: auto;
        width: 100%;
        top: 0;
        left: 0;
        padding: 1rem 2.4rem 0.9rem;
        font-size: 1.2rem;
        font-weight: 600;
        color: #FFF;
        text-transform: uppercase;
        z-index: 20;
        border-left: #FFF solid 2px;
        text-align: right;
        cursor: pointer;
    }

    .csgve-main-wrap .top-menu-content
    {
        padding: 0;
        position: relative;
        z-index: 99;
        background-color: #FFF;
    }

    .top-menu-content > ul > li
    {
        background-color: #d8d8d8;
        padding: 1rem 2rem;
        margin-top: 4px;
    }

    .top-menu-content .menu-item
    {
        color: #2fa0de;
        font-weight: bold;
        padding: 0;
    }

    .top-menu-content .menu-item-sub
    {
        display: block;
        text-transform: uppercase;
        color: #000;
        font-size: 1.4rem;
        font-weight: 600;
    }
    #top-menu-collapse {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 50;
        background-color: #FFF;
        display: block;
        cursor: pointer;
    }

    #top-menu-collapse::after {
        content: '\f106';
        display: block;
        font-size: 5rem;
        line-height: 5rem;
        font-family: 'FontAwesome';
        font-weight:900;
        color: #000;
        padding: 0.8rem 1.5rem;
    }
    .tools-resources-nav-btn{
        width: 100%;
        height: auto;
        display: block;
        vertical-align: inherit;
    }

  .footer-box-1, .footer-box-2 {
    display: none;
  }
}

@media only screen and (min-width: 768px)
{
    .d-sm-none
    {
        display: none !important
    }

    .text-sm-right
    {
        text-align: right !important;
    }

    .px-sm-25
    {
        padding-left: 25px;
        padding-right: 25px;
    }
}
input.cleanlogin-field[type="submit"], .cleanlogin-form-pwd-link {
  text-transform: uppercase;
}

