/**
 * Florida PEMF — header / navigation (ttm-header-style-01, all pages)
 */

/* ========== Desktop (horizontal nav) ========== */
@media (min-width: 1200px) {
  .ttm-header-style-01 .site-navigation {
    align-items: center;
    min-height: 82px;
    flex-wrap: nowrap;
  }

  .ttm-header-style-01 .site-navigation > .d-flex:first-child {
    flex: 1 1 auto;
    min-width: auto;
    align-items: center;
    flex-wrap: nowrap;
  }

  .ttm-header-style-01 .site-navigation .site-menubar {
    flex: 0 1 auto;
    min-width: auto;
    padding-left: 12px;
  }

  .ttm-header-style-01 .site-navigation nav.main-menu {
    height: 82px;
    line-height: 82px;
    display: block;
    position: static;
  }

  .ttm-header-style-01 .site-navigation nav.main-menu ul.menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 82px;
    margin: 0;
  }

  .ttm-header-style-01 .site-navigation nav.main-menu ul.menu > li {
    display: block;
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .ttm-header-style-01 .site-navigation nav.main-menu ul.menu > li > a {
    display: block;
    white-space: nowrap;
    line-height: 82px;
    height: 82px;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .ttm-header-style-01 .header_extra {
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: 12px;
  }

  .ttm-header-style-01 .header_extra .widget_info {
    display: flex !important;
    visibility: visible !important;
    flex-direction: row;
    flex-shrink: 0;
    align-items: center;
    padding: 6px 14px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_icon {
    flex-shrink: 0;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content {
    flex-shrink: 0;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content h3,
  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc,
  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc a {
    white-space: nowrap;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content h3 {
    font-size: 14px;
    line-height: 1.2;
    padding-left: 10px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc {
    margin: 0;
    line-height: 1.2;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc a {
    font-size: 14px;
    line-height: 1.2;
    padding-left: 10px;
  }

  .ttm-header-style-01 .header_extra .widget_info:before {
    top: 0;
    height: 82px;
  }

  header.ttm-header-style-01 .ttm-stickable-header.fixed-header .header_extra .widget_info:before {
    top: 50%;
    transform: translateY(-50%);
    height: 82px;
  }

  .ttm-header-style-01 .site-header-menu .site-header-menu-inner {
    padding: 0 20px;
  }

  .ttm-header-style-01 .site-navigation .site-branding {
    padding-right: 20px;
  }

  .ttm-header-style-01 .site-navigation .header_extra .widget_info:last-child {
    display: flex !important;
    visibility: visible !important;
  }

  .ttm-header-style-01 .site-navigation nav.main-menu ul.menu > li > a {
    padding: 0 10px;
    font-size: 12px;
  }

  .ttm-header-style-01 .header_extra .widget_info {
    padding: 6px 12px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_icon i {
    font-size: 30px;
    line-height: 30px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content h3,
  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc a {
    font-size: 13px;
  }

  .ttm-header-style-01 .btn-show-menu-mobile {
    display: none !important;
  }
}

@media (min-width: 1681px) {
  .ttm-header-style-01 .site-navigation nav.main-menu ul.menu > li > a {
    padding: 0 14px;
    font-size: 13px;
  }

  .ttm-header-style-01 .header_extra .widget_info {
    padding: 6px 16px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content h3,
  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc a {
    font-size: 14px;
  }
}

@media (max-width: 1420px) and (min-width: 1200px) {
  .ttm-header-style-01 .site-navigation nav.main-menu ul.menu > li > a {
    padding: 0 7px;
    font-size: 11px;
  }

  .ttm-header-style-01 .header_extra .widget_info {
    padding: 6px 8px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_icon i {
    font-size: 26px;
    line-height: 26px;
  }

  .ttm-header-style-01 .header_extra .widget_info .widget_content h3,
  .ttm-header-style-01 .header_extra .widget_info .widget_content .widget_desc a {
    font-size: 12px;
  }
}

@media (max-width: 1240px) and (min-width: 1200px) {
  .ttm-header-style-01 .site-navigation .header_extra .widget_info:last-child {
    display: none !important;
  }
}

/* ========== Mobile / tablet (hamburger menu, ≤1199px) ========== */
@media (max-width: 1199px) {
  .ttm-header-style-01 .site-header-menu {
    position: relative;
    z-index: 200;
  }

  .ttm-header-style-01 .site-header-menu .site-header-menu-inner {
    padding: 0 16px !important;
    background-color: #033859 !important;
  }

  .ttm-header-style-01 .site-navigation {
    position: relative;
    min-height: 80px;
    height: 80px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .ttm-header-style-01 .site-navigation > .d-flex:first-child {
    flex: 1 1 auto;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
  }

  .ttm-header-style-01 .site-branding {
    flex: 0 0 auto;
    text-align: left;
    padding: 0 !important;
  }

  .ttm-header-style-01 .site-navigation .site-menubar {
    flex: 0 0 auto;
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 0 !important;
    margin-left: auto;
    min-height: 80px;
    width: auto;
  }

  .ttm-header-style-01 .btn-show-menu-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    right: auto;
    top: auto;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    z-index: 12;
  }

  .ttm-header-style-01 .menubar-inner,
  .ttm-header-style-01 .menubar-inner:after,
  .ttm-header-style-01 .menubar-inner:before {
    background-color: #fff !important;
  }

  .ttm-header-style-01 nav.main-menu.menu-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    line-height: normal;
    max-height: min(70vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-top: 3px solid #0047ab;
    z-index: 150;
  }

  .ttm-header-style-01 nav.main-menu.menu-mobile.show {
    display: block;
  }

  .ttm-header-style-01 nav.main-menu ul.menu {
    display: block !important;
    height: auto !important;
    flex-wrap: wrap !important;
    margin: 0;
    padding: 0;
  }

  .ttm-header-style-01 nav.main-menu ul.menu > li {
    display: block !important;
    width: 100%;
    border-top: 1px solid #e8e8e8;
  }

  .ttm-header-style-01 nav.main-menu ul.menu > li:first-child {
    border-top: none;
  }

  .ttm-header-style-01 nav.main-menu ul.menu > li > a {
    display: block;
    height: auto !important;
    line-height: 1.35 !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 600;
    color: #2f2f2f !important;
    white-space: normal;
    text-transform: capitalize;
  }

  .ttm-header-style-01 nav.main-menu ul.menu > li > a:hover,
  .ttm-header-style-01 nav.main-menu ul.menu > li.active > a {
    color: #0047ab !important;
    background: #f5f8fc;
  }

  /* Services dropdown */
  .ttm-header-style-01 nav.main-menu li.mega-menu-item > a.mega-menu-link {
    position: relative;
    padding-right: 44px !important;
  }

  .ttm-header-style-01 nav.main-menu li.mega-menu-item > a.mega-menu-link:after {
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    float: none;
    font-size: 16px;
    color: #757575;
  }

  .ttm-header-style-01 nav.main-menu li.mega-menu-item.on > a.mega-menu-link:after,
  .ttm-header-style-01 nav.main-menu li.mega-menu-item > a.mega-menu-link.active:after {
    content: "\f107";
  }

  .ttm-header-style-01 nav.main-menu ul.menu li ul.mega-submenu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid #eee !important;
    background: #fafafa !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ttm-header-style-01 nav.main-menu ul.menu li ul.mega-submenu.active {
    display: block !important;
  }

  .ttm-header-style-01 nav.main-menu ul.menu li ul.mega-submenu li a {
    padding: 12px 20px 12px 28px !important;
    font-size: 14px !important;
    font-weight: 500;
    color: #444 !important;
    line-height: 1.4 !important;
  }

  .ttm-header-style-01 nav.main-menu ul.menu li ul.mega-submenu li a:hover {
    background: #eef4fb !important;
    color: #0047ab !important;
  }

  /* Quick contact strip at bottom of mobile menu */
  .ttm-header-style-01 nav.main-menu.menu-mobile.show::after {
    content: "";
    display: block;
    height: 0;
  }

  .ttm-header-style-01 .header_extra {
    display: none !important;
  }

  header.ttm-header-style-01 ~ .ttm-page-title-row2 .ttm-page-title-row-inner {
    padding-top: 96px;
    padding-bottom: 72px;
  }

  body.florida-mobile-nav-open {
    overflow: hidden;
  }
}
