header {
  width: 100%;
  height: 200px;
  background: url(https://vapk26.ru/lib/pkp/templates/images/fon.png) center center no-repeat;
  background-size: cover;
  position: relative;
}

.pkp_site_name .is_text {
    color: rgb(255 255 255 / 100%);
    font-size: 37px;
    text-decoration: none;
}

.pkp_site_name {
    position: absolute;
    left: -1rem;
    right: 0;
    margin-top: 25px;
    margin-bottom: 0;
    padding-left: .714rem;
    text-align: left;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.84);
    font-family: "Noto Serif", serif;
    font-size: .93rem;
}

.pkp_site_name .is_text:focus {
    text-decoration: none;
}

@media (min-width: 992px) {
    .pkp_navigation_user>li>a:focus {
        outline: 0;
        background: #ffffff;
        color: #3c8bb0;
    }
}

li.profile {
    background: #ffffff;
    border-radius: 5px;
    padding: 3px;
}
@media (min-width: 992px) {
    .pkp_navigation_user>li:last-child>a {
        margin-right: -0.286rem;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_user ul {
        width: 12em;
    }
}

.pkp_site_nav_menu {
    /* position: absolute; */
    width: 100%;
    /* top: 100%; */
    background: #558d30;
    /* left: 0; */
    /* padding: .714rem; */
    /* z-index: 9999; */
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a {
        margin: .357rem .5em 0;
        padding: .357rem .5em calc(.714rem - 2px);
        border-bottom: 2px solid transparent;
       /* color: rgb(255 255 255 / 84%); */
       color: #558d30;
        text-decoration: none;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
       /* color: rgba(0, 0, 0, 0.84); */
       color: #558d30;
        outline: 0;
        /* border-color: rgba(0, 0, 0, 0.84); */
        border-color: #558d30;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
        /* background: rgb(255 255 255 / 20%); */
        background: #558d30;
        color: #ffffff;
        outline: 0;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgba(0, 0, 0, 0.84); */
       /* color: #c6f2c5; */
       color: #558d30;
        outline: 0;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgb(255 255 255 / 50%); */
        background: #558d30;
        color: #ffffff;
        outline: 0;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
    background: #558d30;
    color: #558d30;
        /* background: rgb(255 255 255 / 50%); */
        /* color: #ffffff; */
        outline: 0;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
    background: #558d30;
    color: #558d30;
        /* background: rgb(139 139 139 / 84%); */
        /* color: #c6f2c5; */
        outline: 0;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
    background: #558d30;
    color: #558d30;
        background: rgb(255 255 255 / 20%);
        color: #ffffff;
        outline: 0;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
    
        /* color: rgba(0, 0, 0, 0.84); */
        /* outline: 0; */
        /*border-color: rgba(0, 0, 0, 0.84);*/
        border-color: 558d30;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li:last-child a {
        margin-right: -0.5em;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgba(0, 0, 0, 0.84); */
        /* color: #c6f2c5; */
        outline: 0;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
        /* color: rgba(0, 0, 0, 0.84); */
        /* outline: 0; */
        border-color: 558d30;
    }
}
@media (min-width: 992px) {
    .pkp_nav_list a:hover, .pkp_nav_list a:focus {
        text-decoration: none;
        border-color: #558d30;
    }
}
.pkp_site_nav_menu a:hover, .pkp_site_nav_menu a:focus {
    /* color: rgba(0, 0, 0, 0.84); */
    /* text-decoration: underline; */
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a {
        margin: .357rem .5em 0;
        padding: .357rem .5em calc(.714rem - 2px);
        border-bottom: 2px solid transparent;
        color: rgb(255 255 255 / 84%);
        text-decoration: none;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a {
        margin: .357rem .5em 0;
        padding: .357rem .5em calc(.714rem - 2px);
        border-bottom: 2px solid transparent;
        /* color: rgba(0, 0, 0, 0.84); */
        text-decoration: none;
    }
}
@media (min-width: 992px) {
    .pkp_nav_list a {
        display: inline-block;
        padding-left: .714rem;
        padding-right: .714rem;
        text-decoration: none;
        padding-top: .357rem;
        padding-bottom: .357rem;
        border-color: #558d30;
    }
}

.pkp_nav_list a {
    display: inline-block;
    padding: .125rem 0;
    /* color: rgba(0, 0, 0, 0.84); */
    text-decoration: none;
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
        /* color: rgba(0, 0, 0, 0.84); */
        /* outline: 0; */
        border-color: #ffffff;
    }
}


@media (min-width: 992px) {
    .pkp_navigation_primary>li:hover ul {
        left: 0rem;
    }
}
@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgba(0, 0, 0, 0.84); */
        color: #558d30;
        outline: 0;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgba(0, 0, 0, 0.84); */
        color: #c6f2c5;
        outline: 0;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgba(0, 0, 0, 0.84); */
        color: #c6f2c5;
        outline: 0;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:focus {
        /* background: rgb(255 255 255 / 0%); */
        color: white;
        outline: 0;
    }
}

.pkp_site_nav_menu a {
    display: inline-block;
    padding: 0.150rem 17px;
    /* color: rgba(0, 0, 0, 0.84); */
    text-decoration: none;
}

@media (min-width: 992px) {
    .pkp_navigation_search_wrapper a {
        margin: .357rem .5em 0;
        padding: .357rem .5em calc(.714rem - 2px);
        border-bottom: 2px solid transparent;
        /* color: rgba(0, 0, 0, 0.84); */
        text-decoration: none;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_search_wrapper a:focus {
        /* background: rgba(0, 0, 0, 0.84); */
        color: #c6f2c5;
        outline: 0;
        text-decoration: none;
    }
}

a.pkp_search.pkp_search_desktop {
    color: #fff;
}

@media (min-width: 992px) {
    .pkp_navigation_primary>li>a:hover {
        /* color: rgba(0, 0, 0, 0.84); */
        /* outline: 0; */
        /*border-color: #1b7eff;*/
        border-color: #ffffff;
    }
}

.pkp_site_nav_menu .pkp_nav_list {
    padding-left: 0;
    margin-left: 0;
    font-weight: bold;
    border-color: #558d30;
}
@media (min-width: 992px) {
    .pkp_navigation_user>li:last-child>a {
        margin-right: 0.104rem;
    }
}

@media (min-width: 992px) {
    .pkp_navigation_user ul {
        width: 14em;
    }
}

#headerNavigationContainer {
    margin: 0; /*    */
    padding: 0; /*    */
}

.pkp_head_wrapper {
    display: flex; /*  Flexbox   */
    flex-direction: column; /*   */
}

.pkp_site_nav_menu {
    margin-top: 0; /*    */
}

.pkp_site_nav_menu {
    margin-top: 140px;
}

@media (min-width: 320px) and  (max-width :412px) {
.pkp_site_nav_toggle {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 2.857rem;
    height: 2.857rem;
    border: 0;
    background: none;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2), -1px 0 0 rgba(255, 255, 255, 0.2);
    z-index: 999;
}

    .pkp_site_name {
        display: block;
        /* justify-content: flex-start; */
        /* align-items: center; */
        top: 20px;
        left: 10px;
    }

    .pkp_site_name .is_text {
        color: rgb(255 255 255 / 100%);
        font-size: 25px;
        text-decoration: none;
    }
    
    a.is_text {
    white-space: pre-wrap;
}

li.profile {
    background: #ffffff;
    border-radius: 5px;
    padding: 0px 0px;
    margin: 15px;
}
}

@media (min-width: 667px) and  (max-width :992px) {
.pkp_site_name {
    position: absolute;
    left: 0rem;
    right: 0px;
    margin-top: 5rem;
    margin-bottom: 0;
    padding-left: .714rem;
    text-align: left;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.84);
    font-family: "Noto Serif", serif;
    font-size: .93rem;
}

.pkp_site_name .is_text {
    color: rgb(255 255 255 / 100%);
    font-size: 25px;
    text-decoration: none;
}

li.profile {
    background: #ffffff;
    border-radius: 5px;
    padding: 0px 0px;
    margin: 15px;
}

}

a.pkp_search.pkp_search_desktop:hover {
    color: #ffffff;
    background-color: rgb(255 255 255 / 20%);
    border-radius: 12%;
    border-bottom: #000000;
}

.pkp_navigation_primary>li>a:focus{
color: #c6f2c5;
}

@media (min-width: 992px) {
    .pkp_navigation_search_wrapper a:focus {
        background: rgb(255 255 255 / 20%);
        color: #c6f2c5;
        outline: 0;
        text-decoration: none;
    }
}

.pkp_navigation_primary .dropdown-menu a{
    color: #558d30;
}

.pkp_navigation_primary .dropdown-menu a:hover{
    color: #558d30;
    border-color: #558d30;
}

.cmp_breadcrumbs ol {
    margin-bottom: 0.143rem;
    padding: 2.357rem 0;
    line-height: 1.43rem;
    font-size: .93rem;
}

@media (min-width: 320px) and (max-width: 698px) {
    .pkp_site_name {
    position: absolute;
    left: -1rem;
    right: 0;
    margin-top: 70px;
    margin-bottom: 0;
    padding-left: 0.714rem;
    text-align: center;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: normal;
    color: rgba(0, 0, 0, 0.84);
    font-family: "Noto Serif", serif;
    font-size: .93rem;
}
}
