/*-----------------------------------------------------------------*/
/*  Header
/*-----------------------------------------------------------------*/

header nav.navbar {
    padding: 0;
}
 
main {
    margin-top: 110px;
}

header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9;
  padding: 10px 0;
  background: #FFF;
}

.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

header .nav-link, header .menu-item a {
  color: #0d587a;
  font-family:"proxima-nova";
  font-size: 15px;
  font-weight: 700;
  margin: 0px 20px;
  position: relative;
  text-decoration: none;
}

header .navbar-nav .dropdown.dropdown a:before, header .navbar-nav .menu-item-has-children a:before {
  content: "";
  position: absolute;
  right: -16px;
  top: 5px;
  display: block;
  width: 10px;
  height: 10px;
  background: url(../images/icons/drop-down-arrow.svg) no-repeat;
}

.right-cta-inner .btn {
    padding: 13px 20px;
    font-size: 15px;
    white-space: nowrap;
}

header .btn, header .top-btn a:hover {
  color: #FFF !important;
}

header a.nav-link.dropdown-toggle {
  margin-right: 20px;
  position: relative;
}

.top-btn a:after, ul.sub-menu a:after {
  display: none;
}

header .nav-link:hover, header .nav-link:focus, header .menu-item a:hover {
  color: #0d587a!important;
}

header li.nav-item.top-search {
  margin-left: 21px;
}

.sub-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  top: 130%;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  width: 287px;
  padding: 11px 30px;
  border: 0;
  left: -39px;
  background: #F7F6F3;
  border-radius: 4px;
  z-index: 99;
  box-shadow: 0px 3px 6px #0000000D;
}

.sub-menu li {
  list-style: none;
}

header .navbar-nav .dropdown.dropdown li a:before, header .navbar-nav .sub-menu li a:before, .sub-menu li a:before {
  content: "";
  width: 9px;
  height: 9px;
  left: 0;
  top: 16px;
  position: absolute;
  background: url(../images/icons/sub-menu-icon.svg) no-repeat;
  background-size: contain;
  display: block;
}

ul.dropdown-menu:before, ul.sub-menu:before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  margin-left: 0;
  width: 0;
  height: 0;
  border-bottom: solid 7px #ffffff;
  border-left: solid 7px transparent;
  border-right: solid 7px transparent;
  display:none;
}

header .navbar-nav .dropdown.dropdown li a, .sub-menu li a, .top-item .sub-menu li a {
  position: relative;
  padding: 7px 10px 7px 33px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: #6E757B;
  font-weight: 300;
  display: block;
  margin: 0 !important;
}

header.fixed {
  position: fixed;
  left: 0;
  right: 0;
  background: #FFF;
  z-index: 999;
  padding: 2px 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,.11);
}

header.fixed .nav-link, header.fixed .menu-item a {
  color: #000;
}

header.fixed .nav-link:hover, header.fixed .nav-link:focus, header.fixed .menu-item a {
  color: #000;
}

header.fixed .btn, header.fixed .top-btn a {
  background: #fdd90c;
  color: #000 !important;
  display: inline-block;
}

header.fixed .searc-icon-dark {
  display: inline-block !important;
}

header .navbar-nav .dropdown.dropdown li a:hover, .sub-menu li a:hover {
  background: transparent;
  color: #EE1C25;
}

header.fixed img.searc-icon-light {
  display: none;
}

header.fixed img.logo-light {
  display: none;
}

.navbar-nav li {
  position: relative;
}

header.fixed .logo-dark {
  display: inline-block !important;
}

.search-open-header .search-form-main-header {
  display: block !important;
  display: inline-block !important;
  position: absolute;
  right: 10px;
  z-index: 99;
  min-width: 600px;
  top: 69px;
  background: #FFF;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, .11);
  border-radius: 4px;
}

.menu-item-has-children {
  margin-right: 10px;
}

.navbar-expand-lg .navbar-nav {
  position: relative;
}

header span.input-group-btn .btn {
  padding: 18px 21px !important;
}

header span.input-group-btn .btn:hover, header span.input-group-btn .btn:focus {
  background: #17782f !important;
}

header.fixed span.input-group-btn .btn img {
  filter: invert(69%) sepia(87%) saturate(88%) hue-rotate(191deg) brightness(-75%) contrast(105%);
}

header.fixed span.input-group-btn .btn:hover, header.fixed span.input-group-btn .btn:focus {
  background: #fdd90c !important;
}

.search-top a::after {
  display: none;
}

header.fixed .current-menu-item .sub-menu li:not(.current-menu-item) a {
  color: #212529!important;
}

header.fixed .current-menu-item .sub-menu li:not(.current-menu-item) a:hover {
  color: #17782f !important;
}

.right-cta-inner .btn {
    margin: 0px 5px;
}

.search-top {
    margin-left: 10px;
}

.right-head {
    margin-left: 14px;
}


/*Mega menu*/


#mega-menu-wrap-primary #mega-menu-primary {
    background: transparent !important;
}

#mega-menu-wrap-primary {
    background: transparent !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #0d587a !important;
    font-family: "proxima-nova";
    font-size: 16px;
    font-weight: 700;
    margin: 0px 5px;
    position: relative;
    text-decoration: none;
    background: transparent !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
    background: transparent !important;
    color: #0d587a;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    background: transparent;
    color: #0d587a;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    content: "";
    position: absolute;
    right: -16px;
    top: -10px;
    display: block;
    width: 10px;
    height: 10px;
    background: url(../images/icons/drop-down-arrow.svg) no-repeat;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    background: #F7F6F3 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #0000000D;
    padding: 30px;
    min-width: 287px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    background: transparent !important;
    font-size: 16px;
    font-weight: 300 !important;
    position: relative;
    padding-left: 22px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:before {
    content: "";
    width: 9px;
    height: 9px;
    left: 0;
    top: 12px;
    position: absolute;
    background: url(../images/icons/sub-menu-icon.svg) no-repeat;
    background-size: contain;
    display: block;
}
#mega-menu-wrap-primary  ul.mega-sub-menu li  + li  {
    margin-top: 5px !important;
}
#mega-menu-wrap-primary  .practitioner-menu ul.mega-sub-menu {
    min-width: 316px !important;
}

.navbar-expand-lg .navbar-collapse,
#mega-menu-wrap-primary,
#mega-menu-wrap-primary #mega-menu-primary{
    position: static;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    box-shadow: 0px 15px 20px #00000010;
    min-height: 70vh;
    background: #F7F6F3;
    max-height: 85vh;
    overflow-y: auto;
    padding-bottom: 46px;
}

.mega-head-row {
    display: grid;
    grid-template-columns: 26% auto 200px;
}

.mega-grid-main {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 45px;
}

.mega-box-media img {
    min-height: 256px;
    max-height: 256px;
    object-fit: cover;
    width: 100%;
    border-radius: 6px;
}

.mega-title h3 {
    font-size: 22px;
}
.mega-title h3 a {
  color: #0d587a;  
}
.mega-services-col a {
    text-decoration: none;
}

.mega-box-media {
    margin-bottom: 29px;
}

.mega-box-inner p {
    color: #6E757B;
    font-size: 16px;
    line-height: 28px;
}

.mega-title {
    display: flex;
    justify-content: space-between;
    margin: 34px 0px 12px;
}

ul.mega-list-style   li, ul.mega-list-style  li a {
    color: #6E757B;
     font-size: 16px;
    line-height: 28px;
}

 

.mega-info-col p {
     color: #6E757B;
    font-size: 16px;
    line-height: 28px;
}

.mega-btn {
    text-align: right;
}

.mega-info-col p {
    max-width: 600px;
}
 
.btn-btn-outline-primary {
    color: #0d587a;
    font-size: 16px;
    font-family: "proxima-nova";
    text-decoration: none;
    border: 1px solid #56C2C2;
    border-radius: 4px;
    min-width: 142px;
    display: inline-block;
    text-align: center;
    padding: 17px 20px;
    line-height: 20px;
}

.mega-grid-main.mega-three-col {
    grid-template-columns: repeat(3, 1fr);
}

.mega-head-row-menu {
    display: grid;
    grid-template-columns: 33% 67%;
}
.mega-btn-right {
    display: flex;
    align-items: center;
    justify-content: end;
}
.mega-grid-main.mega-three-col .mega-box-media img {
    min-height: 334px;
    max-height: 334px;
}
.mega-btn-right  p {
    margin: 0px 20px 0px !important;
    font-size: 16px;
    line-height: 28px;
}
 
.view-btn {
    margin-top: 20px;
}

span.view-text {
    color: #0d587a;
    font-size: 16px;
    font-weight: bold;
    position:relative;
}
 .view-text:before{
 content: "";
 position: absolute;
 height: 7px;
 width: 7px;
 border: 2px solid #56C2C2;
 border-left: 0;
 border-bottom: 0;
 transform: rotate(45deg);
 top: 9px;
 right: -29px;
}

ul.mega-list-style li {
    position: relative;
    list-style: none;
    padding-left:18px;
}

ul.mega-list-style {
    margin: 0px;
    padding: 0px;
}

ul.mega-list-style li:before {
    content: "";
    position: absolute;
    height: 6px;
    width: 6px;
    border: 1px solid #56C2C2;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    top:10px;
    left: 0;
}
.mega-head-row-menu,
.mega-head-row {
    margin:30px 0px 40px;
}
 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    top: 75px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    top: 100px;
}
 
.mega-head-col-menu h2,
.mega-head-col h2{
    margin: 0;
}


@media (min-width:1200px) and (max-width:1500px){
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    top: 65px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    top: 80px;
}	
}


@media (min-width:1200px) and (max-width:1344px){
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    margin: 0px 3px;
}
}

@media (min-width:1341px) and (max-width:1666px){
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    margin: 0px 5px;
}
}


@media (min-width:1667px) and (max-width:1700px){
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    margin: 0px 11px;
}
}



@media (min-width: 992px) {
  .navbar-nav {
    align-items: center;
  }

  .dropdown:hover .dropdown-menu, .menu-item-has-children:hover .sub-menu {
    visibility: visible !important;
    top: 100%;
    opacity: 1;
    display: block;
  }

  .sub-menu {
      position: absolute;
  }

  header .current-menu-item a {
      opacity: 0.8;
  }

  header .navbar-nav .sub-menu li.current-menu-item a {
      opacity: 0.6;
  }

  header.fixed .current-menu-item a {
      opacity: 1;
      color: #17782f !important;
  }

  header .navbar-nav .sub-menu li a:hover {
      opacity: 1 !important;
  }

  header .sub-menu li.current-menu-item a {
      color: #212529 !important;
      opacity: 0.8;
  }

  header .sub-menu li.current-menu-item a:before {
      background: #fdd90c;
  }
}

/* Responsive CSS for Header */

@media (min-width:1200px) and (max-width:1300px){
  .right-cta-inner .btn {
      padding: 13px 16px;
      margin: 0px 7px;
      font-size: 13px;
  }

  header .nav-link, header .menu-item a {
      margin: 0px 13px;
      font-size: 13px;
  }

  .navbar-brand img {
      max-width: 172px;
  }

  main {
      margin-top: 89px;
  }

  .right-head {
      margin-left: 0;
  }
}

@media (min-width:1301px) and (max-width:1500px){
  .right-cta-inner .btn {
      padding: 13px 18px;
      margin: 0px 7px;
      font-size: 15px;
  }

  header .nav-link, header .menu-item a {
      margin: 0px 10px;
      font-size: 15px;
  }

  .navbar-brand img {
      max-width: 172px;
  }

  main {
      margin-top: 89px;
  }

  .right-head {
      margin-left: 0;
  }

  .menu-item-has-children {
      margin-right: 10px;
  }
}

@media (min-width:1501px) and (max-width:1660px){
  header .nav-link, header .menu-item a {
      margin: 0px 7px;
  }

  .right-cta-inner .btn {
      margin: 0px 10px;
  }

  .right-head {
      margin-left: 2px;
  }

  .menu-item-has-children {
      margin-right: 22px;
  }
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
  main {
      margin-top: 80px;
  }

  header {
      padding: 15px 0;
  }

  .navbar-brand img {
      max-width: 60%;
      height: auto;
  }

  .container-fluid {
      padding-left: 15px;
      padding-right: 15px;
  }

  /* Offcanvas Menu Styles */
  .offcanvas {
      max-width: 350px;
      background: #0d587a !important;
  }

  .offcanvas-header {
      padding: 20px 25px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-body {
      padding: 20px 25px;
  }

  .offcanvas-body .navbar-nav {
      width: 100%;
  }

  /* Mobile Menu Items */
  .offcanvas-body .navbar-nav .nav-item,
  .offcanvas-body .navbar-nav .menu-item {
      width: 100%;
      margin: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-body .navbar-nav .nav-item:last-child,
  .offcanvas-body .navbar-nav .menu-item:last-child {
      border-bottom: none;
  }

  /* Mobile Menu Links */
  .offcanvas-body .nav-link,
  .offcanvas-body .menu-item a {
      color: #FFFFFF !important;
      font-size: 16px;
      font-weight: 600;
      padding: 15px 0;
      margin: 0 !important;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      position: relative;
  }

  .offcanvas-body .nav-link:hover,
  .offcanvas-body .menu-item a:hover {
      color: #56C2C2 !important;
  }

  /* Mobile Dropdown Toggle Arrow */
  .offcanvas-body .menu-item-has-children {
      position: relative;
  }

  .offcanvas-body .menu-item-has-children > a {
      padding-right: 40px;
  }

  .offcanvas-body .menu-item-has-children > a:after {
      content: "";
      width: 10px;
      height: 10px;
      border-right: 2px solid #FFFFFF;
      border-bottom: 2px solid #FFFFFF;
      transform: rotate(45deg);
      position: absolute;
      right: 10px;
      top: 50%;
      margin-top: -7px;
      background: none;
      transition: transform 0.3s ease;
      display: block;
  }

  .offcanvas-body .menu-item-has-children.active > a:after {
      transform: rotate(-135deg);
      margin-top: -2px;
  }

  .offcanvas-body .menu-item-has-children > a:before {
      display: none !important;
  }

  /* Mobile Submenu */
  .offcanvas-body .sub-menu {
      display: none;
      position: static;
      width: 100%;
      background: rgba(0, 0, 0, 0.2);
      padding: 10px 0 10px 20px;
      margin-top: 10px;
      border-radius: 4px;
      opacity: 1;
      visibility: visible;
  }

  .offcanvas-body .menu-item-has-children.active .sub-menu {
      display: block;
  }

  .offcanvas-body .sub-menu li {
      border-bottom: none;
      margin: 0;
  }

  .offcanvas-body .sub-menu li a {
      padding: 10px 0 10px 25px;
      font-size: 14px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.9) !important;
  }

  .offcanvas-body .sub-menu li a:before {
      left: 0;
      top: 14px;
      background: url(../images/icons/sub-menu-icon.svg) no-repeat;
      filter: brightness(0) invert(1);
  }

  .offcanvas-body .sub-menu li a:hover {
      color: #FFFFFF !important;
      padding-left: 30px;
  }

  /* Mobile Buttons Container */
  .offcanvas-body .right-cta-inner {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      margin-top: 30px;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-body .right-cta-inner .btn {
      width: 100%;
      margin: 0 0 15px 0 !important;
      padding: 16px 30px;
      font-size: 16px;
      text-align: center;
      border-radius: 8px;
  }

  .offcanvas-body .right-cta-inner .btn:last-child {
      margin-bottom: 0 !important;
  }

  .offcanvas-body .search-top {
      width: 100%;
      margin: 15px 0 0 0;
  }

  .offcanvas-body .search-top a {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      transition: background 0.3s ease;
  }

  .offcanvas-body .search-top a:hover {
      background: rgba(255, 255, 255, 0.2);
  }

  /* Hide desktop right header on mobile */
  .right-head {
      display: none;
  }

  /* Navbar Toggler */
  .navbar-toggler {
      border: none;
      padding: 5px;
      box-shadow: none;
  }

  .navbar-toggler:focus {
      box-shadow: none;
      outline: none;
  }

  .navbar-toggler-icon img {
      width: 28px;
      height: 28px;
  }

  /* Close Button */
  .btn-close {
      filter: brightness(0) invert(1);
      opacity: 1;
  }

  .btn-close:focus {
      box-shadow: none;
      outline: none;
  }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-brand img {
      max-width: 50%;
  }

  .offcanvas {
      max-width: 380px;
  }

  .offcanvas-body {
      padding: 40px 35px;
  }

  .offcanvas-body .nav-link,
  .offcanvas-body .menu-item a {
      font-size: 18px;
      padding: 18px 0;
  }

  .offcanvas-body .right-cta-inner .btn {
      padding: 18px 35px;
      font-size: 17px;
  }
}