body>header {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.top_header {
    background-color: rgb(75, 75, 75);
    width: 100%;
    height: 72px;
    z-index: 280;
    text-align: center;
    color: #f3f3f3;
}

.top_head_container {
    width: 100%;
    max-width: 980px;
    margin: auto;
    height: 100%;
    display: flex;
}

.top_head_container>div {
    display: inline-block;
    vertical-align: top;
    height: 100%;
    width: inherit;
    box-sizing: border-box;
}

.top_head_container>div>a {
    text-decoration: none;
    color: inherit;
}

.add_service_header>div>a{
    display: inline-block;
    line-height: 14px;
    font-size: 15px;
}

.add_service_header>div>img{
    display: inline-block;
    height: 40px;


    animation-duration: 1s;
    animation-name: add_service_header_img_invertion;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

.top_head_container>div>a>span {
    color: rgb(176, 16, 27);
}

.top_head_container>div:nth-child(1) {
    font-size: 40px;
    padding: 12px 0 0 60px;
    text-align: left;
}

.top_head_container>div:nth-child(2) {
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    padding-top: 18px;
    text-align: right;
    padding: 13px 85px 0 0;
    line-height: 1.3;
}

.top_head_container>div:nth-child(2)>div {
    display: inline-block;
}

.top_head_container>div:nth-child(2)>div:nth-child(2) {
    display: inline-block;
    vertical-align: top;
    padding-top: 10px;
    margin-left: 20px;
    font-size: 1.2em;
    font-weight: 900;
}

.top_head_container>div:nth-child(2)>div:nth-child(2)>a {
    text-decoration: none;
}

.top_head_container a {
    color: inherit;
}

@media (max-width:860px) {
    .top_header {
        height: unset !important;
    }
    .top_head_container {
        display: block !important;
    }
    .top_head_container>div {
        display: block !important;
        padding: 0 !important;
        text-align: center !important;
        height: unset !important;
        padding: 10px 0 !important;
    }
}

.bottom_header {
    width: 100%;
    max-width: 980px;
    margin: auto;
    height: 240px;
    /*background: url(../../img/header.webp); Перенесено во внутренний стиль объекта для оптимизации загрузки*/
    background-position: center;
}

.page_header_title {
    font-family: 'Times New Roman';
    color: #f3f3f3;
    margin: 0;
    font-size: 51px;
    padding-left: 110px;
    padding-top: 28px;
    font-weight: 100;
    line-height: 1.6;
}

@media (max-width:860px) {
    .page_header_title {
        padding-left: 10px !important;
    }
}

@media (max-width:760px) {
    .page_header_title {
        padding-left: 10px !important;
    }
}

@media (max-width:740px) {
    .page_header_title {
        line-height: 1.1 !important;
        text-align: center;
    }
}

@media (max-width:580px) {
    .top_head_container>div:nth-child(1) {
        font-size: 36px;
    }
    .bottom_header {
        height: 50vw;
    }
    .page_header_title {
        padding-top: 15px !important;
        font-size: 9vw !important;
    }
}
.add_service_header{
    text-align: center;
    padding: 2px;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(0deg, #b0101b, #8ca8c8);

    animation-duration: 3s;
    animation-name: add_service_header_rotation;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.add_service_header>div{
    background-color: #4b4b4b;
    border-radius: 9px;
    padding: 1px 18px;
}

@keyframes add_service_header_rotation {
  0% {
    background: linear-gradient(0deg, #b0101b, #8ca8c8);
  }
  5% {
    background: linear-gradient(18deg, #b0101b, #8ca8c8);
  }
  10% {
    background: linear-gradient(36deg, #b0101b, #8ca8c8);
  }
  15% {
    background: linear-gradient(54deg, #b0101b, #8ca8c8);
  }
  20% {
    background: linear-gradient(72deg, #b0101b, #8ca8c8);
  }
  25% {
    background: linear-gradient(90deg, #b0101b, #8ca8c8);
  }
  30% {
    background: linear-gradient(108deg, #b0101b, #8ca8c8);
  }
  35% {
    background: linear-gradient(126deg, #b0101b, #8ca8c8);
  }
  40% {
    background: linear-gradient(144deg, #b0101b, #8ca8c8);
  }
  45% {
    background: linear-gradient(162deg, #b0101b, #8ca8c8);
  }
  50% {
    background: linear-gradient(180deg, #b0101b, #8ca8c8);
  }
  55% {
    background: linear-gradient(198deg, #b0101b, #8ca8c8);
  }
  60% {
    background: linear-gradient(216deg, #b0101b, #8ca8c8);
  }
  65% {
    background: linear-gradient(234deg, #b0101b, #8ca8c8);
  }
  70% {
    background: linear-gradient(252deg, #b0101b, #8ca8c8);
  }
  75% {
    background: linear-gradient(270deg, #b0101b, #8ca8c8);
  }
  80% {
    background: linear-gradient(288deg, #b0101b, #8ca8c8);
  }
  85% {
    background: linear-gradient(306deg, #b0101b, #8ca8c8);
  }
  90% {
    background: linear-gradient(324deg, #b0101b, #8ca8c8);
  }
  95% {
    background: linear-gradient(342deg, #b0101b, #8ca8c8);
  }
  100% {
    background: linear-gradient(360deg, #b0101b, #8ca8c8);
  }
}
@keyframes add_service_header_img_invertion{
    0%{
        filter: invert(0);
    }
    100%{
        filter: invert(1);
    }
}