.app-coupon {
  display: none;
  height: 133px;
}

@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hide {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.header {
  position: relative;
  background: #4c75e6;
  height: 13.3rem;
  display: flex;
  justify-content: center;
}
.tag header.header,
.category header.header,
.single-post header.header,
.page-template-archive-blog header.header {
  background-color: #fff;
  background: #fff;
}

header.fixed {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  top: 0;
}
header.fixed-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.header-wrap {
  transition: top 1s ease-in-out;
  margin: 0 7.3rem;
  display: flex;
  justify-content: space-between;
  width: calc(100vw - 14.6rem);
  background: #4c75e6;
  border-radius: 0 0 1.6rem 1.6rem;
  color: #fff;
  padding: 0rem 4rem;
  /* box-shadow: 0 2rem 2rem 0 rgba(22, 75, 225, 0.6); */
  position: fixed;
  height: 13.3rem;
  top: 0;
  z-index: 4;
}

.header__company {
  display: flex;
  align-items: flex-end;
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 2.4rem;
  letter-spacing: 0em;
  padding-bottom: 4.7rem;
  padding-right: 5.7rem;
}
.header__logo {
  width: 4.3rem;
  height: 4.8rem;
  margin-right: 1rem;
}
.header__logo--mightycall {
  width: 11.9rem;
  height: 2.1rem;
}
.logo-block {
  display: flex;
}
.header__nav {
  display: flex;
  align-items: flex-end;
}
.header__nav-link,
.header__nav-link--active {
  margin: 0 2rem;
  text-decoration: none;
  font-family: "Kanit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0em;
  color: #fff;
  padding: 0 0 41px;
}
.header__nav-link:hover,
.header__nav-link--active:hover {
  color: #cdfb3e;
}
.header__nav-link--active {
  color: #cdfb3e;
}
.header__nav-link--submenu {
  margin: 0;
  display: block;
  padding-bottom: 8px;
}
.header__nav-list-button {
  position: relative;
  cursor: pointer;
}
.header__nav--list {
  position: absolute;
  display: none;
  flex-direction: column;
  background-color: #4c75e6;
  transition: all 0.4s ease;
  /* opacity: 0;
  visibility: hidden; */
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0px 20px 20px -10px rgba(22, 75, 225, 0.6);
  border-radius: 0px 0px 16px 16px;
}
.header__nav--list--wrapper {
  box-shadow: 0px 30px 20px -10px rgba(22, 75, 225, 0.6) inset;
  padding: 30px 44px 20px;
  border-radius: 0px 0px 16px 16px;
  width: max-content;
  display: flex;
  flex-direction: column;
}
.header__nav-list-button:hover .header__nav--list {
  display: flex;
  top: 73px;
  left: -44px;
  z-index: 0;
}

.header__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 1.4rem;
}
.header__icons {
  display: flex;
}
.header__button {
  margin: 0 1rem;
  font-weight: 400;
  padding: 17px 31.1px;
  letter-spacing: 0px;
  font-family: "Kanit", sans-serif;
  border-radius: 8px;
}

.header__button--free {
  margin-right: 42px;
}
.header__icons--phone--button,
.header__icons--support-button {
  padding-right: 26px;
  display: flex;
  transition: all 2s ease;
  position: relative;
  cursor: pointer;
  align-items: center;
  z-index: 0;
}
.header__icons--login-link,
.header__icons--phone-link,
.header__icons--support-link {
  /* display: none; */
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #cdfb3e;
  text-decoration: none;
  align-items: center;
  transition: all 1s ease;
}
.header__icons--phone-link,
.header__icons--support-link {
  display: none;
  padding-right: 8px;
  text-decoration: none;
}
.header__icons--support-hover,
.header__icons--phone-hover {
  background-color: #4c75e6;
  z-index: 1;
  text-decoration: none;
}
.header__buttons svg,
.header__buttons svg path {
  stroke: none;
  stroke-width: 0px;
  fill: white;
  transition: all 0.3s ease;
}
.header__icons--phone--button:hover svg path,
.header__icons--support-button:hover svg path {
  /* stroke: #cdfb3e; */
  fill: #cdfb3e;
  /* stroke-width: 0px; */
}
.header__icons--phone--button:hover .header__icons--phone-link,
.header__icons--support-button:hover .header__icons--support-link {
  display: flex;

  color: #cdfb3e;
  animation: showhelpbuttons 0.5s ease 0s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

@keyframes showhelpbuttons {
  from {
    display: none;
    transform: translateX(20px);
  }
  to {
    display: flex;
    transform: translateX(0px);
  }
}

.header__icons--login-link {
  display: flex;
  padding-right: 3px;
}
.header__icons--login-link:hover {
  color: #cdfb3e;
  cursor: pointer;
}
.header__icons--login-img {
  padding-left: 9px;
}
.mobile-menu-block {
  display: none;
}

.mobile-menu-btn {
  display: none;
}
@media screen and (max-width: 1675px) {
  .header {
    height: 11rem;
  }
  .header-wrap {
    height: 11rem;
    margin: 0 auto;
  }
  .header__logo--mightycall {
    display: none;
  }
  .header__company {
    padding-bottom: 3rem;
    padding-right: 1.5rem;
  }
  .header__nav-link,
  .header__nav-link--active {
    margin: 0 1.25rem;
    padding: 0 0 38px;
  }
  .header__nav-list-button:hover .header__nav--list {
    top: 70px;
  }
  .header__nav-link--submenu {
    margin: 0;
    padding-bottom: 8px;
  }
  .header__icons--login-img {
    padding-left: 0px;
  }
  .header__buttons {
    padding-top: 0;
  }
  .header__button {
    font-size: 18px;
    line-height: 16px;
  }
  .header__button--free {
    margin-right: 32px;
  }
}
@media screen and (max-width: 1325px) {
  .header {
    height: 7rem;
  }
  .header-wrap {
    height: 7rem;
    padding: 0rem 2rem;
    margin: 0 auto;
  }
  .header__nav-link {
    display: none;
  }
  .header__buttons {
    display: none;
  }
  .header__company {
    padding-bottom: 1.1rem;
  }

  .mobile-menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    background-color: #4c75e6;
    font-family: "Kanit", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 32px;
    color: #cdfb3e;
  }
  .mobile-menu-block {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    overflow: auto;
    background-color: #4c75e6;
    z-index: 4;
    flex-direction: column;

    overflow: hidden;
    visibility: hidden;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
  }
  .mobile-menu__close-block {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    text-align: right;
    padding-right: 15px;
    padding-top: 15px;
  }
  .menu-mobile__links,
  .menu-mobile__buttons,
  .menu-mobile {
    display: flex;
    flex-direction: column;
    /* padding-top: 20px; */
  }
  .mobile-menu__close-btn {
    display: flex;
    justify-content: flex-end;
    font-family: "Source Serif Pro";
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 32px;
    color: #cdfb3e;
    border: none;
    outline: none;
    background-color: #4c75e6;
  }
  .menu-mobile__link {
    font-family: "Source Serif Pro", serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
  }
  .menu-mobile__help-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 41px 41px;
  }
  .menu-mobile__help-buttons a {
    text-decoration: none;
    font-family: "Source Serif Pro", serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
  }
  .menu-mobile__help-buttons--login {
    color: #cdfb3e;
  }
  .menu-mobile__button {
    border: none;
    outline: none;
    width: fit-content;
    padding: 1.2rem 2.4rem;
    font-size: 16px;
    line-height: 16px;
  }

  .menu-mobile__link {
    margin-bottom: 20px;
    cursor: pointer;
  }
  .menu-mobile__link:hover {
    color: #fff;
  }
  .menu-mobile__link:active {
    color: #cdfb3e;
  }
  .menu-mobile__links {
    align-items: center;
  }
  .header__nav-link--submenu {
    display: block;
    padding: 0;
  }
  .menu-mobile__link--list {
    display: none;
    padding: 34px 16px 16px;
    width: 179px;
    position: relative;
    z-index: 0;
    margin: -14px 0 0;
    padding: 1px;
    background-color: #cdfb3e;
    /* Single pixel data uri image http://jsfiddle.net/LPxrT/
    /* background-image: gold, gold, white */
    background-image: url("/wp-content/themes/mightycall2021/img/front-page/pixel-green.png"),
      url("/wp-content/themes/mightycall2021/img/front-page/pixel-green.png"),
      url("/wp-content/themes/mightycall2021/img/front-page/pixel-blue.png");
    background-repeat: no-repeat;
    background-size: 0 1px, 0 100%, 0% 1px;
    background-position: top center, top center, bottom center;
    /* -webkit-animation: drawBorderFromCenter 5s; */
    /* animation: drawBorderFromCenter 5s; */
    animation-timing-function: ease;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
  }
  /* .active-list {
    display: block;
    animation-name: drawBorderFromCenter;
  } */
  .menu-mobile__link--list ul {
    margin: 0;
    background: #4c75e6;
    padding: 34px 16px 16px;
    text-align: center;
    text-transform: uppercase;
  }
  .menu-mobile__link--list ul li {
    list-style-type: none;
    text-transform: capitalize;
  }
  @keyframes showlist {
    from {
      display: none;
      transform: translateY(-70px);
    }
    to {
      display: flex;
      transform: translateY(0px);
    }
  }
  @keyframes hidelist {
    from {
      display: flex;
      transform: translateY(0px);
    }
    to {
      display: none;
      transform: translateY(-70px);
    }
  }

  /* Chrome, Safari, Opera */
  @keyframes drawBorderFromCenter {
    0% {
      background-size: 0 1px, 0 0, 100% 100%;
    }
    20% {
      background-size: 100% 1px, 100% 0, 100% 100%;
    }
    66% {
      background-size: 100% 1px, 100% 99%, 100% 100%;
    }
    99% {
      background-size: 100% 1px, 100% 98%, 0 1px;
    }
    100% {
      background-size: 100% 1px, 100% 98%, 0 1px;
    }
  }

  .menu-mobile__link-name {
    display: inline-block;
    background-color: #4c75e6;
    padding: 0 8px;
    position: relative;
    z-index: 1;
  }
  .menu-mobile__link-collapsed--marker {
    display: inline-block;
    font-family: "Source Serif Pro", serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #cdfb3e;
  }

  .menu-mobile__buttons {
    padding-top: 42px;
    align-items: center;
  }
  .menu-mobile__button.main__button--trial {
    margin-top: 3.2rem;
  }
}
@media screen and (max-width: 799px) {
  .header-wrap {
    margin: 0 auto;
    width: 95%;
  }
  /* .header__nav-link {
    display: none;
  } */

  .header__buttons {
    display: none;
  }
  .menu-mobile__help-buttons a {
    font-size: 18px;
    line-height: 20px;
  }
  .menu-mobile__help-buttons {
    padding: 0 20px 26px;
    flex-wrap: wrap;
  }
}

/*Coupon Styles*/

#modalapp {
  background: #f1f3f6;
  position: relative;
  width: 100%;
  height: 114px;
  top: 0;
  z-index: 9999;
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.03em;
  color: #333;
  display: none;
  justify-content: center;
  align-items: center;
}
.androidapp,
.iosapp {
  display: none;
}
.app-btn {
  position: absolute;
  width: 122px;
  height: 32px;
  top: 54px;
  background: linear-gradient(180deg, #b1afff 0%, #4c75e6 100%);
  box-shadow: 0px 15px 10px -10px rgb(24 63 168 / 50%);
  border-radius: 16px;
  left: 146px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.app-btn img {
  margin-left: 12px;
}
.app-btn span {
  margin-left: 6px;
}
#modalapp.androidview,
#modalapp.iosview {
  display: flex;
}
#modalapp.androidview.dontshow,
#modalapp.iosview.dontshow {
  display: none;
}
.modalapp-body {
  position: relative;
  width: 420px;
  height: 100%;
}
#close-modalapp {
  position: absolute;
  right: 0;
  top: 36px;
  z-index: 9999;
}
.app-logo {
  background: #4c75e6;
  box-shadow: 0px 10px 10px -10px rgba(24, 63, 168, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 24px;
  margin-left: 42px;
  margin-top: 22px;
}
.app-title {
  left: 145px;
  position: absolute;
  top: 21px;
  letter-spacing: 0px;
  font-family: "Source Serif Pro", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #333333;
}
.app-logo img {
  max-width: 100%;
  height: 40px;
  width: 36px;
}
#modalapp.androidview .androidapp {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #ffffff;
  letter-spacing: 0;
}
#modalapp.iosview .iosapp {
  display: block;
}
@media screen and (max-width: 419.5px) {
  #modalapp {
    width: 100%;
  }
  .modalapp-body {
    width: 100%;
  }
  .app-logo {
    margin-left: 19px;
    margin-top: 16px;
    font-size: 18px;
  }
  .app-title {
    left: 119px;
  }
  .app-btn {
    left: 119px;
  }
}

@media (max-height: 550px) {
  .mobile-menu-block {
    overflow: scroll;
  }
  .mobile-menu__close-block {
    padding-bottom: 50px;
  }
  .menu-mobile__help-buttons {
    padding: 50px 41px 41px;
  }
}
