/* navigation 
================================================== */

/* navigation 
================================================== */

.navigation {
  width: 100%;
  height: auto;
  display: table;
  position: relative;

}

.navigation * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.navigation-portrait {
  height: 48px;
}

.navigation-fixed-wrapper {
  width: 100%;
  left: 0;
  z-index: 19998;
  will-change: opacity;
}

.navigation-fixed-wrapper.fixed {
  position: fixed !important;
  -webkit-animation: fade .50s;
  animation: fade .50s;
}

@keyframes fade {
  from {
    opacity: 0.999;
  }
  to {
    opacity: 1;
  }
}

.navigation-fixed-wrapper .navigation {
  margin-right: auto;
  margin-left: auto;
}

.navigation-fixed-placeholder {
  width: 100%;
  display: none;
}

.navigation-fixed-placeholder.navigation-fixed-placeholder.visible {
  display: block;
}

.navigation-hidden {
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  top: -9999px;
}

.align-to-right {
  float: right;
}

.nav-header {
  float: left;
}

.navigation-hidden .nav-header {
  display: none;
}

.nav-brand {
  line-height: 70px;
  padding: 0 15px;
  color: #70798b;
  font-size: 24px;
  text-decoration: none !important;
}

.nav-brand:hover, .nav-brand:focus {
  color: #70798b;
}

.navigation-portrait .nav-brand {
  font-size: 18px;
  line-height: 48px;
}

.nav-logo > img {
  height: 50px;
  margin: 8px auto;
  padding: 0 15px 0 0;
  float: left;
  -ms-interpolation-mode: bicubic;
}

.nav-logo:focus > img {
  outline: initial;
}

.navigation-portrait .nav-logo > img {
  height: 40px;
  margin: 0 ;
  padding: 5px 0 0 5px;
}

.nav-toggle {
  width: 30px;
  height: 30px;
  padding: 6px 2px 0;
  position: absolute;
  top: 50%;
  margin-top: -14px;
  right: 15px;
  display: none;
  cursor: pointer;
}

.nav-toggle:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 0 0.5em 0 0 #FFF, 0 1em 0 0 #FFF;
}

.header.active .nav-toggle:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 0.5em 0 0 #000, 0 1em 0 0 #000;
}

.header-interior .nav-toggle:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 0.5em 0 0 #000, 0 1em 0 0 #000;
}


.header-interior.active .nav-toggle:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 0.5em 0 0 #000, 0 1em 0 0 #000;
}


.navigation-portrait .nav-toggle {
  display: block;
}

.navigation-portrait .nav-menus-wrapper {
  width: 320px;
  height: 100%;
  top: 0;
  left: -400px;
  position: fixed;
  background-color: #FFF;
  z-index: 20000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transition-duration: .8s;
  transition-duration: .8s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}

.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right {
  left: auto;
  right: -400px;
}

.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open {
  left: 0;
}

.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right.nav-menus-wrapper-open {
  left: auto;
  right: 0;
}

.nav-menus-wrapper-close-button {
  width: 30px;
  height: 40px;
  margin: 10px 7px;
  display: none;
  float: right;
  color: #000;
  font-size: 26px;
  cursor: pointer;
}

.navigation-portrait .nav-menus-wrapper-close-button {
  display: block;
}

ul.nav-menu {margin-top:0px}

.nav-menu {
  margin: 0 0 0 0;
  padding: 0;
  list-style: none;
  line-height: normal;
  font-size: 0;

}

.navigation-portrait .nav-menu {
  width: 100%;
}

.nav-menu.nav-menu-centered {
  text-align: center;
}

.nav-menu.nav-menu-centered > li {
  float: none;
}



.nav-menu > li {
  display: inline-block;
  float: left;
  text-align: left;
margin-bottom:10px;
}





.navigation-portrait .nav-menu > li {
  width: 100%;
  position: relative;
  border-top: solid 1px #eee;
   margin:0;
  padding:0
}

.navigation-portrait .nav-menu > li:last-child {
  border-bottom: solid 1px #eee;
}

.nav-menu + .nav-menu > li:first-child {
  border-top: none;
}

.nav-menu > li > a {
  height: auto;
  padding: 0.5rem 22px;
  display: inline-block;
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: color 0.3s, background 0.3s;
  transition: color 0.3s, background 0.3s;
}








.nav-menu > li > a:hover {
color: #821F1D }







.nav-menu > li > a.active {
color: #2C2C2C}

.nav-menu > li > a.active:hover {
color: #821F1D}

.header-interior .nav-menu > li > a {
color: #2C2C2C}

.header-interior .nav-menu > li > a.active {
color: #2C2C2C}

.header-interior  .nav-menu > li > a:hover {
color: #821F1D }

.header-interior  .nav-menu > li > a.active:hover {
color: #821F1D }


.header-abstract-hero .nav-menu > li > a {
color: #FFF}

.header-abstract-hero .nav-menu > li > a.active {
color: #3f515f}

.header-abstract-hero  .nav-menu > li > a:hover {
color: #821F1D}

.header-abstract-hero  .nav-menu > li > a.active:hover {
color: #821F1D }


.navigation-portrait .nav-menu > li > a {
	font-size: 18px;
  width: 100%;
  height: auto;
  padding: 12px 15px 12px 15px;
  color:#000
}



.header .nav-menu > li.phone-number a {color:#821F1D; font-weight: 600; font-size:18px;}


.header .nav-menu > li.contact-button a {background:#821F1D;color:#FFF; border: 1px solid #821F1D; border-radius: 0px; font-size: 14px; text-transform: uppercase}
.header .nav-menu > li.contact-button a:hover {background:#FFF; color:#000; border: 1px solid #821F1D}
.header .nav-menu > li.contact-button a.active {background:#821F1D;color:#FFF; border: 1px solid #821F1D}
.header .nav-menu > li.contact-button a.active:hover {background:#FFF;color:#000; border: 1px solid #821F1D}

.header-interior .nav-menu > li.contact-button a {background:#821F1D;color:#FFF; border: 1px solid #821F1D; border-radius: 4px; font-size: 14px; text-transform: uppercase}
.header-interior .nav-menu > li.contact-button a:hover {background:#FFF; color:#000; border: 1px solid #821F1D}
.header-interior .nav-menu > li.contact-button a.active {background:#821F1D;color:#FFF; border: 1px solid #821F1D}
.header-interior .nav-menu > li.contact-button a.active:hover {background:#FFF;color:#000; border: 1px solid #821F1D}



.navigation-portrait .nav-menu > li > a.active {
color: #000}

.navigation-portrait .nav-menu > li > a.active:hover {
color: #455564 }


.nav-menu > li > a > i,
.nav-menu > li > a > [class*="ion-"] {
  width: 18px;
  height: 16px;
  line-height: 16px;
  -webkit-transform: scale(1.4);
  -ms-transform: scale(1.4);
  transform: scale(1.4);
}

.nav-menu > li > a > [class*="ion-"] {
  width: 16px;
  display: inline-block;
  -webkit-transform: scale(1.8);
  -ms-transform: scale(1.8);
  transform: scale(1.8);
}

.navigation-portrait .nav-menu.nav-menu-social {
  width: 100%;
  text-align: center;
}

.nav-menu.nav-menu-social > li {
  text-align: center;
  float: none;
  border: none !important;
}

.navigation-portrait .nav-menu.nav-menu-social > li {
  width: auto;
}

.nav-menu.nav-menu-social > li > a > [class*="ion-"] {
  font-size: 12px;
}

.nav-menu.nav-menu-social > li > a > .fa {
  font-size: 14px;
}

.navigation-portrait .nav-menu.nav-menu-social > li > a {
  padding: 15px;
}

.submenu-indicator {
  margin-left: 6px;
  margin-top: 5px;
  float: right;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.header .submenu-indicator-chevron {
 height: 6px;
  width: 6px;
  display: block;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: transparent #FFF #FFF transparent;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}

.header.active .submenu-indicator-chevron {
 height: 6px;
  width: 6px;
  display: block;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: transparent #821F1D #821F1D transparent;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}

.header-interior .submenu-indicator-chevron {
 height: 6px;
  width: 6px;
  display: block;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: transparent #821F1D #821F1D transparent;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}

.header-interior.active .submenu-indicator-chevron {
 height: 6px;
  width: 6px;
  display: block;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: transparent #821F1D #821F1D transparent;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}

.navigation-portrait .submenu-indicator {
  width: 54px;
  height: 44px;
  margin-top: 0;
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  z-index: 20000;
  color:#821F1D
}

.navigation-portrait .header-interior .submenu-indicator-chevron {
 height: 6px;
  width: 6px;
  display: block;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: transparent #821F1D #821F1D transparent;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}

.submenu-indicator-chevron {
  height: 6px;
  width: 6px;
  display: block;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: transparent #821F1D #821F1D transparent;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
}

.navigation-portrait .submenu-indicator-chevron {
  position: absolute;
  top: 18px;
  left: 24px;
}



.navigation-portrait .submenu-indicator.submenu-indicator-up {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.nav-overlay-panel {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: none;
  z-index: 19999;
}

.no-scroll {
  touch-action: none;
  overflow-x: hidden;
}

/* SEARCH ICON (In Navigation Section) */
.nav-search {
  float: right;
  height: auto;
  z-index: 19998;
  position: relative; /* Ensures the icon stays within the navigation */
  background: none; /* No background for the button in the navigation */
}

.nav-search-button {
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 12px;
  margin-left:12px; 
  border-radius: 10px;
  line-height: 15px;
  text-align: center;
  cursor: pointer;
  padding: 8px 6px 8px 8px;
  color: #000;
}

.nav-search-button i {
  color: #FFF; 
}

.nav-search-button.active i {
  color: #222; 
}

.nav-search-button:hover i {
  color: #821F1D; 
}

/* Search Overlay */
.nav-search-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-search-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.nav-search-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.nav-search-inner .search-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 20px;
}

.nav-search-inner label {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* Search Form */
.nav-search-overlay form {
  width: 500px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
}

.nav-search-overlay input[type="text"] {
  width: 100%;
  height: 50px;
  margin: 15px 0;
  padding: 0 15px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-search-overlay input[type="text"]:focus {
  border-color: #0066cc;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  outline: none;
}

.nav-search-overlay input[type="submit"] {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background-color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.nav-search-overlay input[type="submit"]:hover {
  background-color: #821F1D;
  box-shadow: 0 4px 10px rgba(141,116,168,0.3);
  transform: scale(1.02);
}

/* Close Button */
.nav-search-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

.nav-search-close-button span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.nav-search-close-button:hover span {
  transform: rotate(360deg);
}
.nav-search-close-button:hover {
  color: #821F1D;
}

/* Responsive Search */
@media (max-width: 768px) {
  .nav-search-overlay form {
    width: 90%;
    padding: 20px;
  }

  .nav-search-overlay input[type="text"],
  .nav-search-overlay input[type="submit"] {
    font-size: 16px;
  }
}


/* NAVIGATION BUTTON */
.nav-button {
  margin: 18px 15px 0;
  padding: 8px 14px;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  background-color: #8CC152;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.nav-button:hover, .nav-button:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.navigation-portrait .nav-button {
  width: calc(100% - 52px);
  margin: 17px 26px;
}

/* NAVIGATION TEXT */
.nav-text {
  margin: 25px 15px;
  display: inline-block;
  color: #000;
  font-size: 14px;
}

.navigation-portrait .nav-text {
  width: calc(100% - 52px);
  margin: 12px 26px 0;
}

.navigation-portrait .nav-text + ul {
  margin-top: 15px;
}

/* DROPDOWN EXTENSION */
.nav-dropdown {
  min-width: 180px;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  list-style: none;
  z-index: 98;
  padding: 8px;
  white-space: nowrap;
  background-color: #fff; /* Set background color for the dropdown */
  border-radius: 10px; /* Apply 10px border radius to the entire dropdown menu */
  overflow: hidden; /* Ensures the items do not extend beyond the border radius */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
}

.navigation-portrait .nav-dropdown {
  width: 100%;
  position: static;
  left: 0;
  border-radius: 10px; /* 10px border radius for mobile view */
}

.nav-dropdown .nav-dropdown {
  left: 100%;
  border-radius: 10px; /* 10px border radius for nested dropdown */
}

.nav-dropdown > li {
  width: 100%;
  float: left;
  clear: both;
  position: relative;
  text-align: left;
  margin: 0;
  padding: 0;
  border-bottom: 0px solid #EEE;
}

.nav-dropdown > li:last-child {
  border-bottom: none; /* Remove border from last item for a cleaner look */
}

.nav-dropdown > li > a {
  width: 100%;
  padding: 8px 15px;
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  background-color: transparent; /* Set background transparent so container color shows */
  margin: 0;
  transition: color 0.3s, background 0.3s, transform 0.3s ease;
    border-radius: 10px; 
}

.nav-dropdown > li:hover > a,
.nav-dropdown > li.focus > a {
  background-color: #821F1D;
  color: white;
  border-radius: 10px; 
}

.navigation-portrait .nav-dropdown > li:hover > a,
.navigation-portrait .nav-dropdown > li.focus > a {
  background-color: #FFF;
  color: #821F1D;
  border-radius: 10px; 
}


