/* Header critical CSS extracted from style.css, ashish.css, custom.css, responsive.css */
:root {
  --header-height: 72px;
  --sub-head-height: 40px;
  --banner-top-space: calc(var(--sub-head-height) + var(--header-height) + 40px) ;
  --pricing-head-height: 0px;
}

:root.ace-header-scrolled {
  --banner-top-space: var(--header-height);
}

@media (min-width: 992px) {
  .ace-top-menu {
    position: absolute;
    z-index: 201;
    top: 0;
    background-color: #fff;
    box-shadow: 0 0 250px 0 rgba(18, 38, 100, 0.05);
    width: 100%;
    left: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
  }
  .ace-bann-sec,
  .ace-cs-banner-sec {
    padding-top: var(--banner-top-space) !important;
  }

  body:has(.ace-top-menu.fixed) .ace-bann-sec,
  body:has(.ace-top-menu.fixed) .ace-cs-banner-sec {
    padding-top: calc(var(--header-height) + var(--banner-top-space)) !important;
  }

  :root.ace-header-ready .ace-bann-sec,
  :root.ace-header-ready .ace-cs-banner-sec {
    transition: none;
  }
}



:root.ace-header-ready .ace-top-menu {
  /* transition: top 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease; */
}

.ace-top-menu.fixed {
  position: sticky;
  top: 0 !important;
  z-index: 202;
}

.ace-wrap {
  padding-left: 0;
  padding-right: 0;
}

.ace-top-menu-elem {
  justify-content: space-between;
}

.top-right-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-right-menu ul li {
  display: inline-flex;
  padding: 0.5rem 1rem;
}

.top-right-menu ul li:last-child {
  padding-right: 0;
}

.top-right-menu ul li a:not(.ace-btn-nav) {
  color: var(--primary-color);
  transition: all 0.3s;
}

.top-right-menu ul li a:not(.ace-btn-nav) img {
  max-width: 18px;
}

.ace-top-bar-part {
  color: #fff;
  text-align: center;
}

.ace-winter-bar.ace-top-bar-part {
  background-image: url("../img/acefone/christmas-banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ace-winter-bar.ace-top-bar-part .ace-top-bar {
  position: relative;
  z-index: 1;
}

.ace-sub-head-part {
  border-bottom: 1px solid #d4d8f3;
  background-color: #fff;
}

ul.primary-menu,
ul.primary-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.primary-menu > li {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  position: relative;
}

ul.primary-menu > li a,
ul.primary-menu > li a:not([href]):not([class]) {
  color: var(--primary-color);
}

ul.primary-menu > li > a {
  font-weight: 500;
  display: inline-block;
  position: relative;
}

ul.primary-menu > li.menu-item-has-children > a:after {
  content: "";
  position: absolute;
  height: 100%;
}

ul.primary-menu > li .sub-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

ul.primary-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  display: block;
}

.ace-top-menu:not(.fixed) .ace-nav-num-btn,
.ace-top-menu.fixed .ace-nav-frst-btn,
.ace-top-menu:not(.fixed) .ace-nav-scnd-btn {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.ace-top-menu.fixed .ace-nav-num-btn,
.ace-top-menu:not(.fixed) .ace-nav-frst-btn,
.ace-top-menu.fixed .ace-nav-scnd-btn {
  opacity: 1;
  visibility: visible;
}

.ace-bar-scroll {
  width: 100%;
  height: 2px;
}

.ace-bar-scroll .ace-bar {
  height: 2px;
  background: var(--blue-color);
  width: 0%;
}

body.ace-no-bar-scroll .ace-bar-scroll {
  display: none;
}

.ace-bann-sec {
  position: relative;
}

.ace-cs-banner-sec .ace-cs-img {
  position: relative;
  background-color: #fff;
  border-radius: 3rem;
}

@media only screen and (min-width: 992px) {
  .ace-top-menu.fixed {
    position: fixed;
  }

  .ace-winter-bar.ace-top-bar-part {
    padding: 1.5rem 2rem;
  }

  .ace-sub-head-part {
    position: absolute;
    z-index: 202;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    border-bottom: 0;
  }

  .ace-sub-head-part > .container {
    background: linear-gradient(180deg, rgba(211, 218, 245, 0.88) -10.97%, rgba(244, 246, 255, 0.88) 127.58%);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }

  .ace-top-menu {
    position: absolute;
    background-color: transparent;
    box-shadow: none;
  }

  .ace-top-menu > .container {
    background: #fff;
    box-shadow: 0 4px 21px 0 rgba(77, 82, 102, 0.14);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  .ace-top-menu-elem {
    padding: 0 1rem;
  }

  .ace-top-bar-part,
  .ace-sub-head-part {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .ace-top-bar-part {
    overflow: hidden;
  }
}

@media only screen and (min-width: 1200px) {
  .ace-top-menu-elem .ace-primary-menu-container {
    margin: auto;
  }

  .ace-top-menu .ace-top-menu-elem {
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ace-top-menu-elem .top-right-menu {
    padding: 0.5rem 0;
  }

  .ace-top-menu-elem .ace-primary-menu-container,
  .ace-top-menu-elem ul.primary-menu,
  ul.primary-menu > li > a {
    height: 100%;
  }

  ul.primary-menu > li {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ace-top-menu-elem > .nav-logo,
  ul.primary-menu > li > a {
    place-content: center;
  }

  ul.primary-menu > li,
  ul.primary-menu .sub-menu li {
    position: static;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
  .ace-top-menu .ace-top-menu-elem {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ace-top-menu-elem .top-right-menu {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }
}

@media (max-width: 991px) {
  .nav-logo img {
    max-height: 35px;
  }

  .ace-top-bar-part {
    font-size: 16px;
    padding: 1rem;
    padding-right: 2rem;
  }

  .ace-sub-head-part {
    display: none;
  }

  .top-right-menu > ul {
    display: flex;
    flex-direction: row;
  }

  .top-right-menu > ul > li {
    padding: 0;
  }

  .top-right-menu > ul > li a:not(.ace-btn-nav) > span.ace-link-inner-text,
  .top-right-menu > ul > li a:not(.ace-btn-nav) > span.ace-btn-inner-text {
    display: none;
  }

  .top-right-menu > ul > li a:not(.ace-btn-nav) {
    background-color: rgba(45, 91, 231, 0.1);
    border: none;
    padding: 0;
  }

  .top-right-menu ul li a:not(.ace-btn-nav) img.hide-xs {
    display: none;
  }

  .top-right-menu ul li a:not(.ace-btn-nav) img {
    max-width: 18px;
  }

  .ace-top-menu:not(.fixed) .ace-nav-num-btn,
  .ace-top-menu.fixed .ace-nav-num-btn {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .ace-top-menu:not(.fixed) .ace-nav-frst-btn,
  .ace-top-menu.fixed .ace-nav-frst-btn {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .ace-top-menu .ace-nav-scnd-btn {
    padding: 0.25rem 0.5rem;
    font-size: 14px;
  }

  .ace-top-menu .ace-nav-scnd-btn img {
    max-width: 10px;
  }

  .ace-top-menu:not(.fixed) .ace-nav-scnd-btn {
    display: flex;
  }

  .ace-top-menu .navbar-toggler {
    padding-left: 0;
    padding-right: 0;
    outline: none;
  }

  .ace-top-menu .navbar-toggler-icon {
    height: 3px;
    max-width: 70%;
    background-color: var(--primary-color);
  }

  .ace-top-menu .navbar-toggler-icon:before,
  .ace-top-menu .navbar-toggler-icon:after {
    content: "";
    position: absolute;
    right: 0;
  }

  .ace-top-menu .navbar-toggler-icon:before {
    width: 70%;
    top: -8px;
  }

  .ace-top-menu .navbar-toggler-icon:after {
    width: 50%;
    bottom: -8px;
  }

  .ace-primary-menu {
    position: absolute;
    background: #fff;
    width: 100vw;
  }

  ul.primary-menu > li {
    border-bottom: 1px solid #ebebeb;
    padding: 1rem 1.25rem;
  }

  ul.primary-menu > li.menu-item-has-children > a:after {
    display: none;
  }

  ul.primary-menu > li:not(.ace-mob-menu-open) > .sub-menu {
    opacity: 0;
    visibility: hidden;
    display: none;
  }

  ul.primary-menu li.ace-mob-menu-open .sub-menu {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  ul.primary-menu > li .sub-menu {
    position: relative;
    box-shadow: none;
    padding-left: 0;
  }

  .primary-menu .sub-menu li .sub-menu {
    top: unset;
    left: unset;
    padding-left: 1rem;
  }

  .ace-cs-banner-sec .ace-cs-img {
    padding: 1rem 1rem 0;
    border-radius: 1.5rem;
    border-width: 3px;
  }
}

@media only screen and (min-width: 1600px) {
  .ace-cs-banner-sec .ace-cs-img {
    padding: 3rem 3rem 0;
  }
}

