.header-nav {
  background: var(--color-site);
  padding: 0 3rem;
  height: 10rem;
  width: 100%;

}

.fixed .header-nav {
  height: 6rem;
}


 
.sr_burger_botton {
  height: 4rem;
}

.sr_burger_botton button>span {
  color: var(--White);
  font-family: "Bebas Neue";
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.burger-icon {
  width: 3rem;
  height: 2rem;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.header-nav_menu {
  height: 100%;
}

.burger-icon span {
  display: block;
  position: absolute;
  height: 0.3rem;
  width: 0.3rem;
  border-radius: 0.9rem;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.burger-icon span {
  background: #ffffff;
}

.burger-icon span:nth-child(1) {
  top: 0px;
}

.burger-icon span:nth-child(2) {
  top: 1rem;
}

.burger-icon span:nth-child(3) {
  top: 2rem;
}

.burger-icon.open span:nth-child(1) {
  top: 1.1rem;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.burger-icon.open span:nth-child(2) {
  opacity: 0;
  left: -6rem;
}

.burger-icon.open span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.header-nav .container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-right: 0;
  padding-left: 0;
}

.header-nav--menu-wrap {
  /* padding-right: 28px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1; */
  height: 100%;
}

.sr_header-nav--menu { 
  justify-content: center; 
  gap: 4rem;
  height: 9rem;
  margin-bottom: 0;
  padding-left: 0;
  width: fit-content;
  height: 100%;
} 
.header-nav__item-link {
  position: relative; 
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal; 
  -webkit-transition: color 0.25s;
  -o-transition: color 0.25s;
  transition: color 0.25s;
  text-decoration: none;
  color: #F9F9F9;
  font-size: 1.4rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

}

.fixed .header-nav__item-link {
  padding: 1rem 1rem;
  font-size: 1.2rem;
} 

/* .header-nav__item-link::before,
.header-nav__item-link::after {
  position: absolute;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  width: 0;
  height: 0;
  content: "";
  border: 0.2rem solid transparent;
}

.header-nav__item-link::before {
  top: 0;
  left: 0;
}

.header-nav__item-link::after {
  right: 0;
  bottom: 0;
}

.header-nav__item-link:hover::before,
.header-nav__item-link:hover::after {
  width: 100%;
  height: 100%;
}

.header-nav__item-link:hover::before {
  -webkit-transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
  -o-transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
  transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
  border-top-color: var(--color-green);
  border-right-color: var(--color-green);
}

.header-nav__item-link:hover::after {
  -webkit-transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
  -o-transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
  transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
  border-bottom-color: var(--color-green);
  border-left-color: var(--color-green);
} */

.header-nav__item-link-text {
  position: relative;
  color: #FFF;
  font-family: "Bebas Neue";
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 90%;
  text-transform: uppercase;
  transition: color 0.3s;
  text-wrap: nowrap;
  transition:var(--animation-time);
}

.header-nav__item-link-text::before {
  /* position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 0.2rem;
  content: "";
  -webkit-transition: all 0.3s ease-out 0.2s;
  -o-transition: all 0.3s ease-out 0.2s;
  transition: all 0.3s ease-out 0.2s;
  -webkit-transform: translate(-100%);
  -ms-transform: translate(-100%);
  transform: translate(-100%);
  background-color: transparent; */
}

.header-nav__item-sub-text {
  color: #FFF;
  font-size: 1.4rem;
  line-height: 100%;
  margin-top: 0.7rem;
  transition: color 0.3s;
  text-wrap: nowrap;
  transition:var(--animation-time);
}

.fixed .header-nav__item-sub-text {
  display: none;
}

.header-nav--menu_button {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-nav--menu_button_exit path {
  transition: stroke 0.5s;
}

.header-nav--menu_button_basket path {
  transition: stroke 0.5s;
}

.header-nav--menu_button_exit:hover path {
  stroke: var(--color-hover);
  transition: stroke 0.3s;
}

.header-nav--menu_button_basket:hover path {
  stroke: var(--color-hover);
  transition: stroke 0.3s;
}


.header-nav__item-link:hover .header-nav__item-sub-text {
 opacity: var(--hover-opacity);
 transition:var(--animation-time);
}

.header-nav__item-link:hover .header-nav__item-link-text {
  opacity: var(--hover-opacity);
   transition:var(--animation-time);
}

.header-nav__item-sub-text::before {
  /* position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 0.2rem;
  content: "";
  -webkit-transition: all 0.3s ease-out 0.2s;
  -o-transition: all 0.3s ease-out 0.2s;
  transition: all 0.3s ease-out 0.2s;
  -webkit-transform: translate(100%);
  -ms-transform: translate(100%);
  transform: translate(100%);
  background-color: transparent; */
}

.header-nav--submenu {
  display: none;
  margin-bottom: 0;
  padding-left: 0;
  background: #454444;
}

.header-nav--submenu a {
  display: block;
  padding-left: 50px;
  font-size: 1.4rem;
  font-weight: bold;
}

.header-nav--submenu li {
  position: relative;
}

li:hover>.header-nav--submenu {
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.header-nav--logo {
  position: relative;
  display: block;
  width: 13.7rem;
  height: 9rem;
  background: url("/local/templates/tm_seorobotic_bs2/img/svg/sr-logo-b.svg") no-repeat 0 0/cover;
}

.fixed .header-nav--logo {
  width: 10.4rem;
  height: 6rem;
}

/* .header-nav--logo::before {
  position: absolute;
  top: 0;
  right: 146px;
  display: block;
  width: 1000px;
  height: 100%;
  content: "";
  background: #89AF2D;
} */

.fixed .header-nav--logo::before {
  right: 11.4rem;
}

.text-logo {
  overflow: hidden;
}

.text-logo__top {
  display: block;
  -webkit-transform: scaleX(1.74) translateX(17px);
  -ms-transform: scaleX(1.74) translateX(17px);
  transform: scaleX(1.74) translateX(17px);
  text-transform: uppercase;
  color: #89AF2D;
  font-size: 1.8rem;
}

.text-logo__bottom {
  position: relative;
  top: -0.3rem;
  display: block;
  padding-left: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #FFFFFF;
  font-size: 10px;
}

.header-contacts {
  overflow: hidden;
  min-width: 20rem;
  max-height: 9rem;
  padding-top: 1.6rem;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  text-align: right;
  color: #89AF2D;
}

.fixed .header-contacts {
  max-height: 6rem;
  padding-top: 0.3rem;
}

.header-contacts--phone {
  white-space: nowrap;
  font-size: 2rem;
  font-weight: bold;
}

.header-contacts__bottom-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.header-contacts .contacts__worktime {
  margin-bottom: 0;
}

.header-contacts .contacts__worktime span {
  display: inline-block;
  -webkit-transform: scaleX(1.35) translateX(28px);
  -ms-transform: scaleX(1.35) translateX(28px);
  transform: scaleX(1.35) translateX(28px);
}

.header-contacts .contacts__worktime svg {
  position: relative;
  top: 0.4rem;
  left: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  fill: #A2A2A2;
}

 
.header-user-bar--item {
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  color: #111111;
  font-size: 1.4rem;
}

.header-user-bar--item span {
  display: flex;
}

.header-user-bar--item+.header-user-bar--item {
  margin-left: 1rem;
}
.glyphicon-log-out svg path{ 
  transition:all var(--animation-time);
}
.glyphicon-log-out:hover svg path{
  opacity:  var(--hover-opacity);
  transition:all var(--animation-time);
}
/* .header-user-bar--item:hover {
  color: #F37920;
} */

.header-contacts--enter {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 1.4rem;
}

.header-contacts--enter:hover {
  text-decoration: none;
}

.navbar-collapse { 
  height: 100%;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
}
.navbar-collapse:before{
  content: none;
}
.navbar-collapse::after{
  content: none;
}
.navbar-collapse .navbar-collapse-link svg  path { 
  transition:  opacity var(--animation-time);
}
.navbar-collapse .navbar-collapse-link svg:hover path {
  opacity: var(--hover-opacity);
  transition:  opacity var(--animation-time);
}

.sr_burger_botton {
  display: none;
}

@media (max-width: 1200px) {
  .header-nav--menu-wrap {}
}

@media (max-width: 991px) {
  .header-nav__item-link-text {
    letter-spacing: 0;
  }

  .header-nav__item-sub-text {}

  .header-nav--logo {
    margin-left: 1.3rem;
  }

  .header-contacts--phone {
    font-size: 1.4rem;
  }

  .header-contacts {
    min-width: 13.6rem;
    padding-top: 2.4rem;
  }

  .fixed .header-contacts {
    padding-top: 1rem;
  }

  .header-contacts .contacts__phone-link svg {
    left: 0;
    width: 1.4rem;
    height: 1.4rem;
  }

  .header-contacts .contacts__worktime {
    font-size: 1.2rem;
  }

  .header-contacts .contacts__worktime span {
    display: inline-block;
    -webkit-transform: scaleX(1) translateX(9px);
    -ms-transform: scaleX(1) translateX(9px);
    transform: scaleX(1) translateX(9px);
  }

  .header-user-bar {
    padding-top: 0.1rem;
  }

  .header-contacts .contacts__worktime svg {
    top: 0.3rem;
    left: 0.6rem;
    width: 1.4rem;
    height: 1.4rem;
  }
}

@media (max-width: 767px) {
  .navbar-toggler {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .line {
    height: 0.2rem;
    width: 100%;
    background-color: var(--White);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .navbar-toggler.active .line1 {
    transform: rotate(45deg) translate(1rem, 0.59rem);
  }

  .navbar-toggler.active .line2 {
    opacity: 0;
  }

  .navbar-toggler.active .line3 {
    transform: rotate(-45deg) translate(1rem, -0.55rem);
  }

  .header-nav {
    padding: 0 2.5rem;
  }

  .navbar-collapse>a svg {
    width: 7.5rem;
    height: 4rem;
  }

  .sr_burger_botton {
    display: flex;
    align-items: center;
    width: 4rem;
  }
 

  .sr_header-nav--menu li {
    flex-grow: 0;
    height: fit-content;
  }

  .fixed .header-nav {
    height: 5.5rem;
  }

  .navbar-collapse-link {
    margin-right: 1.5rem;
  }

  .header-nav--menu-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 0px;
  }

  .sr_header-nav--menu {
    display: none;
    position: absolute;
    top: 8.8rem;
    z-index: 1000000;
    background-color: #404040;
    height: 32rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    overflow: hidden;
    box-shadow: 0px 0px 0px 8px #fff;
  }

  .sr_header-nav--menu.show {
    display: block;
  }

  .header-nav__item {
    background-color: #404040;
  }

  .header-nav__item-link {
    width: 100%;
    padding: 0;
  }

  .fixed .header-nav__item-link {
    padding: 1rem;
    font-size: 1.4rem;
  }

  .header-nav--logo {
    position: absolute;
    top: 0;
    left: 6.5rem;
    overflow: hidden;
    width: 100px;
    height: 5.4rem;
    margin-left: 0;
    background: url("images/logotip_seo_robotic_mobile.svg") no-repeat center center;
    background-size: contain;
  }

  .header-nav--logo::before {
    display: none;
  }

  .fixed .header-nav--logo {
    top: 1rem;
    width: 8rem;
    height: 3.7rem;
  }

  .navbar-collapse.collapse.in,
  .navbar-collapse.collapsing {
    position: absolute;
    z-index: 9999;
    top: 107%;
    left: 0;
    display: block;
    width: 100%;
    background-color: #404040;
  }


  .sr_header-nav--menuli {
    display: block;
    background-color: #404040;
  }

  .header-nav--submenu {
    z-index: 9999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }

  .header-nav--submenu a {
    padding-left: 0;
    font-weight: normal;
  }

  li:hover>.header-nav--submenu {
    position: static;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }

  .header-nav .navbar-toggle {
    position: relative;
    top: 1rem;
    right: 100%;
    float: right;
    width: 3.6rem;
    height: 3.6rem;
    margin: 0;
    margin-right: -4rem;
    padding: 0;
    color: #FFFFFF;
    border-radius: 0.4rem;
    background-color: transparent;
    font-size: 1.4rem;
  }

  .header-contacts {
    padding-top: 0.8rem;
    padding-right: 1rem;
  }

  .header-nav {
    height: 8rem;
    position: relative;
  }


  .header-nav--menu {
    height: auto;

  }

  .sr_header-nav--menu {}
}

@media (min-width: 768px) and (max-width: 991px) {
  .header-nav__item-link {
    padding: 1.4rem 0.3rem;
    font-size: 1rem;
    font-weight: normal;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .header-nav__item-link {
    padding: 1.4rem 0.3rem;
    font-size: 1.2rem;
    font-weight: normal;
  }
}

@media (min-width: 768px) {
  .header-nav--submenu li:before {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 0;
    display: block;
    width: 5rem;
    height: 5rem;
    margin-top: -2.5rem;
    content: "";
    background: url(images/icons-top-menu.png) no-repeat 0 0;
  }

  .header-nav--submenu li:nth-child(1):before {
    background-position: 0 0;
  }

  .header-nav--submenu li:nth-child(2):before {
    background-position: 0 -5.5rem;
  }

  .header-nav--submenu li:nth-child(3):before {
    background-position: 0 -11rem;
  }


}