/* ==== TAB HEADING COLORS ==== */

.vc_tta .vc_tta-tab.vc_active .vc_tta-title-text,
.vc_tta .vc_tta-panel.vc_active
  .vc_tta-panel-title .vc_tta-title-text {
  color: #193b64 !important;
}

.vc_tta-title-text {
  color: #FFFFFF !important;
}


/* ======BORDERLESS TABLES & TABS===== */

table,
table th,
table td,
table thead,
table tbody,
table tfoot,
table tr {
  border: 0 !important;
  box-shadow: none !important;
  border-collapse: collapse;
}
.vc_tta,
.vc_tta-container,
.vc_tta-tabs-container,
.vc_tta-tabs-list,
.vc_tta-panel,
.vc_tta-panel-body,
.vc_tta-panel-heading,
.vc_tta-panel-title {
  border: 0 !important;
  box-shadow: none !important;
}

.vc_tta-tabs-list .vc_tta-tab,
.vc_tta-tabs-list .vc_tta-tab a,
.vc_tta-tabs-list .vc_tta-tab.vc_active a,
.vc_tta-tabs-list .vc_tta-tab a:hover,
.vc_tta-tabs-list .vc_tta-tab a:focus,
.vc_tta-panel-heading a {
  border: 0 !important;
  box-shadow: none !important;
}
.vc_tta-tabs-list .vc_tta-tab a::before,
.vc_tta-tabs-list .vc_tta-tab a::after {
  border: 0 !important;
  box-shadow: none !important;
}




/* ==== SIDEBAR & MOBILE NAVIGATION ==== */

/* Hide website logo on mobile landscape only */
@media screen and (orientation: landscape)
       and (max-height: 500px)
       and (max-width: 1024px) {

  #header-logo {
    display: none !important;
  }

}

/* Center dropdown menu text */
@media screen and (max-width: 1024px) {

  .dock-menu li a,
  #nv-tabs li a {
    text-align: center !important;
  }

  .dock-menu .menutitle,
  #nv-tabs .menutitle {
    display: block;
    text-align: center !important;
  }

}


/* ===== MOBILE LOGO AND HEADER ===== */

@media screen and (max-width: 1024px) {

  #header-logo #logo > a > img {
    width: auto !important;
    height: auto !important;
    max-height: 180px !important;
    max-width: 100% !important;
    object-fit: contain;
  }

  #header-logo {
    margin-bottom: 0 !important;
  }

  #header .header-inner {
    padding-bottom: 0 !important;
  }

  #header {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }

  #primary-wrapper.header_float:not(.fullslider-active) #header-wrap {
    position: relative !important;
  }

}


/* ===== MOBILE — CONTENT WIDTH & PAGE-SPECIFIC FIXES ===== */

@media screen and (max-width: 767px) {

  .main-wrap,
  .main-wrap .content-wrap,
  .main-wrap .content-inwrap,
  .main-wrap #content,
  .main-wrap article .entry {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #wpb-content-root .vc_row,
  #wpb-content-root .vc_column_container,
  #wpb-content-root .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #wpb-content-root .vc_tta-panel-body,
  #wpb-content-root .vc_tta-panels {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}

/* NPC — WPBakery Empty Space: consistent 10px on phone/tablet.
   Previously height:20px and max-height:10px contradicted each other.
   The smaller, actually rendered 10px height is preserved. */
@media screen and (max-width: 1024px) {
    .vc_empty_space {
        height: 10px !important;
        min-height: 0 !important;
        max-height: 10px !important;
    }
}


/* TICKER — 20PX SIDE PADDING ON MOBILE */
@media only screen and (max-width: 767px) {

  body .npc-stats-mobile-no-padding,
  body .npc-stats-mobile-no-padding > .vc_column-inner,
  body .npc-stats-mobile-no-padding > .wpb_wrapper,
  body .npc-stats-mobile-no-padding > .vc_column-inner > .wpb_wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

}


/* ABOUT PAGE — RESPONSIVE DESKTOP INTRO */

@media screen and (min-width: 1025px) {

  body.page .npc-mobile-no-padding {
    padding-left: clamp(20px, 10vw, 200px) !important;
    padding-right: clamp(20px, 10vw, 200px) !important;
    box-sizing: border-box !important;
  }

}


/* ABOUT PAGE — RESPONSIVE DESKTOP TABS */

@media screen and (min-width: 1025px) {

  body .npc-about-tabs {
    width: calc(
      100% - 2 * clamp(20px, 16vw - 156px, 150px)
    ) !important;

    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body .npc-about-tabs .vc_tta-tabs-list {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

}


