.header_v3{
  background: #F4F5FA;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.02);
  z-index: 2;
}
.header_v3_content{
  max-width: 1160px;
  height: 70px;
  margin-left: auto;
  margin-right: auto;

  font-family: 'SF Pro Display', sans-serif!important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header_logo{
  height: 22px;
}
.header-logo a{
  display: flex;
}
.header_menu{
  display: flex;
  gap: 25px;
}
.header_menu_item{
  display: flex;
}
.header_menu a{
  color: var(--black, #2D2952);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  text-decoration: none;
  padding-top: 27px;
  padding-bottom: 26px;
  transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
  position: relative;
}
.header_menu a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px; /* Толщина границы */
  background-color: #0078E7; /* Цвет границы */
  border-radius: 0px 0px 0 0; /* Изменяем радиус только нижних углов */
  transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
}
.header_menu a:hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px; /* Толщина границы */
  background-color: #0078E7; /* Цвет границы */
  border-radius: 3px 3px 0 0; /* Изменяем радиус только нижних углов */
}
.header_menu a:hover{
  color: var(--blue, #0078E7);
  padding-bottom: 23px;
}
.header_psy_block{
  position: relative;
  margin-right: 40px;
  transition: color 0.2s, background 0.2s, border 0.2s, opacity 0.2s, z-index 0.2s;
}
.header_psy_block_title{
  color: var(--black, #2D2952);
  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;

  padding-top: 27px;
  padding-bottom: 26px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_psy_block_title:hover{
  color: #0078E7;

}
.header_psy_block:hover .header_psy_dop_block{
  opacity: 1;
  transition: opacity 0.2s;
  z-index: 1;
}
.header_psy_dop_block{
  opacity: 0;
  z-index: -1;
  border-radius: 6px;
  background: var(--white, #FFF);
  box-shadow: 0px 4px 60px 0px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  flex-flow: column;
  gap: 15px;
  position: absolute;
  top: 60px;
  width: 115px;
}
.header_psy_dop_item{
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_psy_dop_block a, .header_psy_dop_block div {
  cursor: pointer;
  text-decoration: none;
}
.header_psy_dop_block a{
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_psy_dop_block a:hover .header_psy_dop_item{
  color: #0078E7;
}
.header_buttons{
  display: flex;
  align-items: center;
  gap: 10px;
}
.header_buttons a{
  text-decoration: none;
}
.header_button_login{
  padding: 16px 20px 16px 40px;
  background: #F4F5FA url('/wp-content/themes/psypsy/images/header_button_login.svg');
  background-repeat: no-repeat;
  background-position-x: 20px;
  background-position-y: center;
  color: var(--blue, #0078E7);
  border-radius: 6px;

  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_button_login:hover{
  background-color: #fff;
  color: var(--blue, #0078E7);
}
.header_button_rocket{
  background: #0078E7;
  color: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_button_rocket:hover{
  background: #fff;
  color: #0078E7;
}
.header_mob_menu_button{
  display: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  background: url('/wp-content/themes/psypsy/images/header_mob_menu_button.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.header_mob_menu_button.active{
  width: 18px;
  height: 18px;
  background: url('/wp-content/themes/psypsy/images/header_mob_menu_button_close.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.header_v3_content_mob{
  display: none;
}
.header_padding{
  height: 70px;
}
.city-button{
  color: var(--black, #2D2952);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.28px;
  text-decoration: none;
  padding-top: 27px;
  padding-bottom: 26px;
  transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
  position: relative;
  cursor: pointer;
  flex-flow: column;
  align-items: center;
}
.header_menu .city-button:hover {
  color: var(--blue, #0078E7);
  padding-bottom: 23px;
}
.header_menu .city-button:hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0078E7;
  border-radius: 3px 3px 0 0;
}
.city-button-menu{
  box-shadow: 0px 4px 60px 0px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  background: var(--grey-background, #FAFAFA);
  padding: 15px;
  position: absolute;
  top: 60px;
  box-sizing: border-box;
  display: none;
  flex-flow: column;
  gap: 10px;
  width: max-content;
  max-height: 500px;
  overflow: auto;
  z-index: 1;
}
.header_menu .city-button-menu a{
  padding: 0;
}
.header_menu .city-button-menu a:hover::before {
  content: none;
}
.city-button:hover .city-button-menu{
  display: flex;
}


@media(max-width:1200px){
  .header_padding{
    height: 50px;
  }
  .header_menu{
    display: none;
  }
  .header_buttons a:nth-child(1){
    display: none;
  }
  .header_v3_content{
    max-width: 100%;
    margin-left: 18px;
    margin-right: 18px;
    height: 50px;
  }
  .header_mob_menu_button{
    display: flex;
  }
  .header-logo a{
    width: 95px;
    height: 19px;
  }
  .header_button_rocket{
    font-size: 12px;
    letter-spacing: -0.24px;
    padding: 10px 14px;
  }
  .header_v3_content_mob{
    max-width: 100%;
    margin-left: 18px;
    margin-right: 18px;
    height: calc(100vh - 50px);
    flex-flow: column;
    justify-content: space-between;
  }
  .header_v3_content_mob .header_menu{
    display: flex;
    flex-flow: column;
    width: 100%;
    gap: 0;
    margin-top: 30px;
  }
  .header_v3_content_mob .header_menu a{
    padding-top: 14px;
    padding-bottom: 14px;

    font-size: 16px;
    font-style: normal;
    font-weight: 510;
    line-height: 155%; /* 24.8px */
    letter-spacing: -0.48px;
  }
  .header_v3_content_mob .city-button-title{
    padding-top: 14px;
    padding-bottom: 14px;

    font-size: 16px;
    font-style: normal;
    font-weight: 510;
    line-height: 155%; /* 24.8px */
    letter-spacing: -0.48px;
  }
  .city-button{
    padding: 0;
  }
  .header_menu .city-button:hover{
    padding: 0;
  }
  .city-button-menu{
    max-height: 400px;
  }
  .header_v3_content_mob .header_menu .city-button-menu a {
    padding: 0;
  }
    .header_v3_content_mob .header_menu_item{
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  }
  .header_v3_content_mob .header_menu_item:last-child{
    border-bottom: 0;
  }
  .header_content_mob_bottom{
    margin-bottom: 20px;
  }
  .header_v3_content_mob .footer_social_items{
    margin: 0 0 40px;
  }
  .header_v3_content_mob .header_buttons a{
    display: flex;
    width: 100%;
  }
  .header_v3_content_mob .header_buttons{
    flex-flow: column;
    align-items: flex-start;
  }
  .header_v3_content_mob .header_button_login{
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--blue, #0078E7);
    font-size: 12px;
    letter-spacing: -0.24px;
    padding: 15px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .header_v3_content_mob .header_button_login:hover{
    color: #fff;
    background: #0078E7;
  }
  .header_button_login_img{
    width: 13px;
    height: 13px;
    background: url('/wp-content/themes/psypsy/images/header_button_login.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }
  .header_v3_content_mob .header_button_login:hover .header_button_login_img{
    width: 13px;
    height: 13px;
    background: url('/wp-content/themes/psypsy/images/header_button_login_2.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }
  .header_v3_content_mob .header_button_rocket{
    padding: 15px 14px;
    width: 100%;
    text-align: center;
  }
}


@media(max-width:320px){
  .header-logo a {
      width: 75px;
      height: 15px;
  }
  .header_button_rocket{
    padding: 10px;
  }
}
