:root {
  --the-green: #009652;
  --the-white: #fff;
  --the-black: #000;
  --the-light-green: #6ec051;
  --the-grey: #f9f9fa;
}

.cont-wrapper {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  max-width: 90%;
}

.header-wrapper {
  position: absolute;
  top: 30px;
  width: 100%;
  z-index: 999;
}

.logo-wrapper .logo img {
  width: 120px;
}

.top-links .container {
  max-width: 100%;
}

.top-bar {
	background: rgba(255, 255, 255, 0.55);
	border-radius: 10px 10px 10px 10px;
}

.top-links {
  padding: 10px 0;
}

.top-bar .top-links a {
  color: var(--the-black);
  margin-right: 10px;
}

ul#menu-top-menu {
  display: flex;
  gap: 5px;
  margin: 0;
}

ul#menu-top-menu li a {
  color: var(--the-black);
}

.main-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: var(--the-white);
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
}

.menu-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

.search .icon-iconmonstr-magnifier-lined {
  font-size: 25px;
}

@media (min-width: 768px) {
  /* div#mega-menu-wrap-primary {
    border-right: 1px solid var(--the-grey);
  } */
}

/*--------Search-----------*/
.srch {
  position: relative;
}
.srch::before {
  content: "";
  position: absolute;
  left: 12px;
  border-left: 1px solid #ddd;
  height: 40px;
  top: -8px;
}
@media screen and (max-width: 575px) {
  .main-nav-container {
    top: -63px;
  }
}

@media screen and (max-width: 999px) and (min-width: 576px) {
  .main-nav-container {
    top: -50px;
  }
}

@media screen and (max-width: 1200px) and (min-width: 767px) {
  .main-nav-container {
    top: 25px;
    right: -120px;
  }
}

@media screen and (max-width: 1200px) {
  .the-search {
    display: inline-block;
    float: right;
    position: absolute;
    top: 0;
    right: 38px;
  }

  .fa.fa-bars {
    position: absolute;
    right: 0;
  }

  /* .main-nav-container {
          top: -55px;
      } */
}
/* @media (max-width: 900px) {
  #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
    background: var(--the-white);
    padding: 0px 0px 0px 0px;
    display: none;
    position: absolute;
    width: 100vw !important;
    z-index: 9999999;
    top: 50px;
    padding: 20px;
  }
} */
@media only screen and (max-width: 580px) {
  .search-trigger {
    position: relative;
    display: block;
    width: 111px;
    height: 74px;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
    z-index: 10;
    top: -28px !important;
    background: transparent;
    right: 10px !important;
    margin-bottom: -51px !important;
  }

  .fa.fa-bars {
    position: absolute;
    right: 13px;
    top: 0em;
  }

  input[type="search"].search-field {
    top: -49px !important;
  }
  /* #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
    background: var(--the-green) !important;
    position: relative;
    width: 326px !important;
    top: 313px;
    padding: 20px;
  } */
}

@media screen and (max-width: 766px) and (min-width: 581px) {
  .search-trigger {
    top: 3.2em !important;
    right: 30px !important;
  }

  .fa.fa-bars {
    position: absolute;
    top: 6px !important;
    right: 12px !important;
  }

  input[type="search"].search-field {
    top: -1.2em !important;
  }
}

@media screen and (max-width: 991px) and (min-width: 767px) {
  .search-trigger {
    top: -1.5em !important;
    /* right: -99px !important; */
  }

  .fa.fa-bars {
    position: absolute;
    right: -123px !important;
  }

  input[type="search"].search-field {
    top: -0.8em !important;
  }
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  #menu-primary-menu li {
    margin-right: 2px;
  }

  .menu-primary-menu-container {
    top: -25px;
  }

  .the-search {
    top: -98px !important;
    right: -138px !important;
  }

  input[type="search"].search-field {
    top: -3.1em !important;
  }
}

@media only screen and (min-width: 1201px) {
  .the-search {
    top: 0;
    right: -210px;
    position: relative;
  }
}
@media (min-width: 900px) {
  .search-trigger {
    position: relative;
    top: -16px !important;
  }
}
.search-trigger {
  position: relative;
  display: block;
  width: 111px;
  height: 74px;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
  z-index: 10;
  /* top: -10px !important; */
  background: transparent;
  right: -13px;
  margin-bottom: -51px;
}
@media (max-width: 760px) {
  .search-trigger {
    position: relative;
    top: -14px !important;
    right: -50px !important;
  }
  .srch::before {
    content: "";
    position: absolute;
    left: 40px;
    display: none;
  }
  #mega-menu-wrap-primary {
    position: absolute;
    right: 58px;
    z-index: 99999999999;
  }
}
.search-trigger::before,
.search-trigger::after {
  content: "";
  position: absolute;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.search-trigger::before {
  top: 0px;
  left: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid transparent;
  font-family: "pncicons";
  content: "\e80a";
  color: var(--the-black);
  text-indent: 11px;
  font-size: 1.4em;
  background: transparent;
  padding: 5px 0px;
}

.search-trigger::after {
  height: 15px;
  width: 3px;
  /*    background: var(--black);*/
  bottom: 20px;
  right: 159px;
  -webkit-transform: rotate(-40deg);
  -moz-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  -o-transform: rotate(-40deg);
  transform: rotate(-40deg);
}

.search-trigger span {
  position: absolute;
  height: 100%;
  width: 100%;
  top: -10px;
  left: 0px;
}

.search-trigger span::before,
.search-trigger span::after {
  content: "";
  position: absolute;
  display: inline-block;
  height: 3px;
  width: 35px;
  top: 50%;
  margin-top: -2px;
  left: 45%;
  margin-left: -11px;
  background: var(--the-black);
  opacity: 0;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
}

.search-trigger span::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.search-trigger span::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.search-trigger.search-is-visible::before,
.search-trigger.search-is-visible::after {
  opacity: 0;
}

.search-trigger.search-is-visible span::before,
.search-trigger.search-is-visible span::after {
  opacity: 1;
}

.search-trigger.search-is-visible span::before {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.search-trigger.search-is-visible span::after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

input[type="search"].search-field {
  padding: 20px;
  margin: 49px 0px;
  /* border: 1px solid var(--the-black); */
  position: absolute;
  top: 114px !important;
  border-radius: 0 0 0px 0px;
  width: 100%;
  /* left: 14px; */
  z-index: 9;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 7px 7px 7px 7px;
}
.search form {
  height: 100%;
  width: 100%;
}
.search .ms-caption h2 {
  color: var(--the-white);
}
.search {
  position: absolute;
  height: 70px;
  width: 100%;
  left: 0px !important;
  z-index: 3;
  /* opacity: 0; */
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.search.search-results,
.search.search-no-results {
  position: absolute;
  height: 100%;
  width: 100%;
  /* top: 0px; */
  /* left: 0; */
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.search form {
  height: 100%;
  width: 100%;
  display: inline;
}

.search input {
  border-radius: 0;
  border: none;
  background: var(--the-gray);
  height: 113%;
  width: 100%;
  padding: 0 5%;
  box-shadow: inset 0 1px 0 #e2e3df, 0 3px 6px rgba(0, 0, 0, 0.05);
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: absolute;
  top: 25px;
  color: var(--the-black);
}

.search input {
  border-radius: 0;
  border: none;
  background: var(--the-gray);
  height: 113%;
  width: 100%;
  padding: 0 5%;
  box-shadow: inset 0 1px 0 #e2e3df, 0 3px 6px rgba(0, 0, 0, 0.05);
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: absolute;
  top: 25px;
  color: var(--the-black);
}

.search input::-webkit-input-placeholder,
.search input::-moz-placeholder,
.search input:-moz-placeholder,
.search input:-ms-input-placeholder {
  color: #c9cbc4;
}

.search input:focus {
  outline: none;
}
.srch {
  position: relative;
}
.search.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.the-search {
  display: inline-block;
  float: right;
}

/* Results */

.the-results {
  padding: 10px 0;
  border-bottom: 1px solid;
  margin-bottom: 20px;
}

.the-results h3 {
  color: var(--the-green);
}

.the-results p {
  color: var(--the-black);
}

/* 
.the-search-section {
	background: var(--the-light-green);
	height: 100vh;
	display: flex;
	align-items: center;
} */
.container.srchh {
  position: relative;
}
#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open::after {
  display: none;
}
