@media screen and (max-width: 767px) {
  /* General styles for all menus */
  .cbp-spmenu {
    background-color: var(--black);
    position: fixed;
    overflow-x: auto;
  }
  .cbp-spmenu .main-nav > li > a {
    color: var(--gray-700);
  }
  .site-header .cbp-spmenu-open .nav-btn > a{
    color: var(--black);
  }
  .site-header .cbp-spmenu-open .nav-btn > a:hover{
    border-color: var(--white);
  background-color: var(--white);
    color: var(--black);
  }
  .cbp-spmenu a:active,
  .cbp-spmenu a:hover {
    background: var(--gray-700);
    color: var(--black);
  }
  .cbp-spmenu .main-nav > li > a:hover {
    color: var(--black);
  }
  /* .cbp-spmenu ul.main-nav {
    margin-top: 30px;
  } */
  .cbp-spmenu ul#menu-left {
    margin-top: 80px;
  }
  /* Orientation-dependent styles for the content of the menu */
  .cbp-spmenu-vertical {
    width: 260px;
    height: 100%;
    top: 0;
    z-index: 888;
  }
  /* .cbp-spmenu-vertical a {
        border-bottom: 1px solid #dadada;
    } */
  .cbp-spmenu-horizontal {
    width: 100%;
    height: 150px;
    left: 0;
    z-index: 1000;
    overflow: hidden;
  }
  .cbp-spmenu-horizontal h3 {
    height: 100%;
    width: 20%;
    float: left;
  }
  .cbp-spmenu-horizontal a {
    float: left;
    width: 20%;
    padding: 0.8em;
    border-left: 1px solid #258ecd;
  }
  /* Vertical menu that slides from the left or right */
  .cbp-spmenu-left {
    left: -260px;
  }
  .cbp-spmenu-right {
    right: -260px;
  }
  .cbp-spmenu-left.cbp-spmenu-open {
    left: 0px;
  }
  .cbp-spmenu-right.cbp-spmenu-open {
    right: 0px;
  }
  /* Horizontal menu that slides from the top or bottom */
  .cbp-spmenu-top {
    top: -150px;
  }
  .cbp-spmenu-bottom {
    bottom: -150px;
  }
  .cbp-spmenu-top.cbp-spmenu-open {
    top: 0px;
  }
  .cbp-spmenu-bottom.cbp-spmenu-open {
    bottom: 0px;
  }
  /* Push classes applied to the body */
  .cbp-spmenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
  }
  .cbp-spmenu-push-toright {
    left: 260px;
  }
  .cbp-spmenu-push-toleft {
    left: -260px;
  }
  .cbp-spmenu-push-toleft .header {
    left: -260px;
  }
  /* Transitions */
  .cbp-spmenu,
  .cbp-spmenu-push {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
}

.morphsearch {
  opacity: 0;
  background: #f1f1f1;
  position: absolute;
  z-index: -1;
  top: 50px;
  right: 0;
  left: 0;
  height: 80px;
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transition-property: height, opacity, min-height, width, top;
  transition-property: height, opacity, min-height, width, top;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.morphsearch.open {
  z-index: 10000;
  opacity: 1;
  width: 100%;
  min-height: 112px;
  top: 0px;
  right: 0px;
}

.morphsearch-form {
  width: 100%;
  height: 40px;
  margin: 0 auto;
  position: relative;
  -webkit-transition-property: width, height, -webkit-transform;
  transition-property: width, height, transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.morphsearch.open .morphsearch-form {
  width: 80%;
  height: 80px;
  -webkit-transform: translate3d(0, 0.7em, 0);
  transform: translate3d(0, 0.7em, 0);
}

.morphsearch-input {
  background-color: #f9f9f9;
  border: 1px solid #f9f9f9;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: #3a3a3a;
  width: 100%;
  height: 100%;
  padding: 0 8% 0 10px;
  font-size: 0.8em;
  -webkit-transition: font-size 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  transition: font-size 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.morphsearch-input::-ms-clear {
  /* remove cross in IE */
  display: none;
}

.morphsearch.hideInput .morphsearch-input {
  color: transparent;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.morphsearch.open .morphsearch-input {
  font-size: 1.5em;
}

/* placeholder */

.morphsearch-input::-webkit-input-placeholder {
  color: #c2c2c2;
}

.morphsearch-input:-moz-placeholder {
  color: #c2c2c2;
}

.morphsearch-input::-moz-placeholder {
  color: #c2c2c2;
}

.morphsearch-input:-ms-input-placeholder {
  color: #c2c2c2;
}

/* hide placeholder when active in Chrome */

.gn-search:focus::-webkit-input-placeholder {
  color: transparent;
}

input[type="search"] {
  /* reset normalize */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.morphsearch-input:focus,
.morphsearch-submit:focus {
  outline: none;
}

.morphsearch-submit {
  position: absolute;
  width: 35px;
  height: 35px;
  text-indent: 50px;
  overflow: hidden;
  right: 0;
  top: 50%;
  cursor: pointer;
  background: transparent url("../../images/magnifier.svg") no-repeat center
    center;
  background-size: 100%;
  border: none;
  pointer-events: none;
  transform-origin: 50% 50%;
  opacity: 0;
  -webkit-transform: translate3d(-10px, -50%, 0) scale3d(0, 0, 1);
  transform: translate3d(-10px, -50%, 0) scale3d(0, 0, 1);
}

.morphsearch.open .morphsearch-submit {
  pointer-events: auto;
  opacity: 1;
  -webkit-transform: translate3d(-10px, -50%, 0) scale3d(1, 1, 1);
  transform: translate3d(-10px, -50%, 0) scale3d(1, 1, 1);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.morphsearch-close {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 1em;
  top: 2em;
  overflow: hidden;
  text-indent: 100%;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  -webkit-transform: scale3d(0, 0, 1);
  transform: scale3d(0, 0, 1);
}

.morphsearch.open .morphsearch-close {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.morphsearch-close::before,
.morphsearch-close::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  border-radius: 3px;
  opacity: 0.2;
  background: #000;
}

.morphsearch-close:hover.morphsearch-close::before,
.morphsearch-close:hover.morphsearch-close::after {
  opacity: 1;
}

.morphsearch-close::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.morphsearch-close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.morphsearch-content {
  color: #333;
  margin-top: 4.5em;
  width: 100%;
  height: 0;
  overflow: hidden;
  padding: 0 10.5%;
  background: #f1f1f1;
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.morphsearch.open .morphsearch-content {
  opacity: 1;
  height: auto;
  overflow: visible;
  /* this breaks the transition of the children in FF: https://bugzilla.mozilla.org/show_bug.cgi?id=625289 */
  pointer-events: auto;
  -webkit-transition: opacity 0.3s 0.5s;
  transition: opacity 0.3s 0.5s;
}

@media screen and (max-width: 53.125em) {
  .morphsearch-input {
    padding: 0 25% 0 10px;
  }
  .morphsearch.open .morphsearch-input {
    font-size: 2em;
  }
  .morphsearch.open .morphsearch-submit {
    -webkit-transform: translate3d(0, -50%, 0) scale3d(0.5, 0.5, 1);
    transform: translate3d(0, -50%, 0) scale3d(0.5, 0.5, 1);
  }
}

@media screen and (max-width: 60.625em) {
  .morphsearch {
    width: 80%;
    top: 10%;
    right: 10%;
  }
}
