body {

  background-color: #eeeeee;
/*
  background-image: url(//static.tks.ru/_pics/NY2022/ny22bckg50.png);
  background-repeat: repeat;
  background-size: 25%;
*/
}

header.header {
    z-index: 50;
}

@media (min-width: 1010px) {
    .article-header p {
        margin: 12px 0 0;
    }
}

@media (min-width: 1010px) {
    .header-navbar__logo {
        padding-top: 8px;
    }
}

@media (max-width: 1399px) {
    .right_adv {
        /*display: block;*/
        /*position: fixed;*/
        bottom: 0;
        right: 5px;
        z-index: 50;
        border-left: 5px solid #eeeeee;
        border-top: 5px solid #eeeeee;
        border-bottom: 5px solid #eeeeee;
    }
    .left_adv {
        display: none;
    }
}

@media (max-width: 1009px) {
    .right_adv,
    .left_adv,
    .page-aside__ads,
    #ad_1_1,
    .advertisement.ad_1_2,
    .advertisement.ad_1_4
    {
        display: none;
    }
    .authors-shorts.firms {
        margin-top: 17px;
    }
    #ny_2024 {
        position: absolute;
        left: -11px;
        top: -20px;
        z-index: 1000;
    }

    .ui-dialog {
        width: 95% !important;
/*
        left: 0 !important;
*/
    }
}
@media (min-width: 1010px) {
    .right_adv,
    /*.left_adv,*/
    .page-aside__ads,
    #ad_1_1,
    .advertisement.ad_1_2,
    .advertisement.ad_1_4
    {
        display: block;
    }
    #ny_2024 {
        position: absolute;
        left: -6px;
        top: 38px;
        z-index: 1000;
    }
}

.periodicals-hot__link {
    margin-bottom: 30px;
    cursor: pointer;
}

.header-navbar__logo.logo,
.footer-navbar__logo.logo.logo--sm
{
    width: 74px;
    height: 57px;
}

#ya-site-form0 .ya-site-form__wrap {
    width: 240px !important;
}
#ya-site-form0 .ya-site-form__search-input {
    padding: 0 !important;
}

.header-main-nav__link_simple {
    position: relative;
    display: flex;
    padding-bottom: 11px;
    font-weight: 700;
    font-size: 15px;
    color: #004680;
    text-decoration: none;
}
.header-main-nav__link_simple::after {
    content: "";
    position: absolute;
    bottom: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 4px;
    transition: .3s;
}



.right_adv {
    /*display: block;*/
    width: 160px;
    height: 600px;
    position: fixed;
    margin-top: 5px;
    margin-left: 990px;
    padding: 0;
}

.left_adv {
    /*display: block;*/
    width: 160px;
    height: 600px;
    position: fixed;
    margin-top: 5px;
    margin-left: -190px;
    padding: 0;
    z-index: 50;
}

.page-main .advertisement {
    width: 705px;
}

.header-navbar__secondary-nav {
    width: auto;
}

#secondary-nav__news,
#secondary-nav__jur,
#secondary-nav__nat,
#secondary-nav__soft,
#secondary-nav__db,
#secondary-nav__tnved,
#secondary-nav__online,
#secondary-nav__edu {
    display: none;
}
#secondary-nav__soft {
    display: block;
}


.article-header__info.law {
    padding-top: 14px;
}

.article-header__info.no_image {
    padding-top: 7px;
}

.article-breadcrumb__item--active a {
    color: #006bc5;
}

.article-header__intro.static-page {
    margin-top: 16px;
}


/*.periodicals-main__item-title a,*/
/*.periodicals-main__item-desc a*/
/*{*/
/*    color: #444444;*/
/*}*/
/*.periodicals-main__item-title a:hover {*/
/*    color: #004680;*/
/*}*/
/*.periodicals-main__item-desc a:hover {*/
/*    font-weight: normal;*/
/*}*/
/*.periodicals-main__item-date {*/
/*    color: #989898;*/
/*    font-size: 12px;*/
/*    margin: 0 0 5px 0;*/
/*}*/


.periodicals-hot__item-image {
    padding-top: 7px;
}

.article-header.template {
    padding-top: 33px;
}

.pagination {
    position: relative;
    margin-bottom: 34px;
    text-align: center;
}

@media (max-width: 1010px) {
    .pagination,
    img.periodicals-hot__item-image,
    img.authors-shorts__item-image
    {
        display: none;
    }
}

.pagination a {
    padding: 5px 9px;
    font-size: 14px;
    line-height: normal;
    color: #006bc5;
    border-radius: 2px;
    border: 1px solid #006bc5
}

#ajax_loader {
    text-align: center;
    display: none;
}

.price__set {
    padding-bottom: 25px;
}

.page-aside__links {
    margin-bottom: 15px;
}
.page-aside__links a {
    font-size: 12px;
    display: block;
}

.page-print,
.footer-print
{
    max-width: none;
}

.ui-dialog .ui-dialog-titlebar {
    padding: 11px 17px;
    background-color: #004680;
    color: white;
}

.ui-dialog .ui-dialog-titlebar-close {
    margin-right: 3px !important;
}

.ui-widget-overlay.ui-front {
    background: #aaa;
    opacity: 0.8;
    -ms-filter: Alpha(Opacity=30);
}

.product-list__title,
.tree-list__title
{
    cursor: pointer;
}

.tree-list__title {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
}
.product-list__title.tree {
    grid-template-columns: auto 1fr auto auto;
    gap: 10px;
}

.tree-list__title button.btn,
.product-list__title.tree button.btn
{
    display: none;
    width: 20px;
    height: 20px;
    color: white;
    padding-top: 2px;
    margin-top: 3px;
    background-image: none;
    z-index: 45;
}
.tree-list__title button.btn:hover {
    color: white;
}
.product-list__title.tree button.btn.poyasn,
.tree-list__title button.btn.poyasn {
    display: inline-block;
}
/*.product-list__title.tree button.btn.poyasn {*/
/*    margin-right: 4px;*/
/*}*/

.modal-product {
    padding-bottom: 20px;
}

.modal-product__item.values {
    display: block;
    font-size: 12px;
}

.modal-product__item-title.name {
    display: inline-block;
    width: 30%;
}
.modal-product__item-title.value {
    display: inline-block;
    width: 69%;
}

.modal-product__item-title.value.inside {
    margin-top: 5px;
}

.modal-product__item-desc.inside {
    margin-left: 33%;
    /*margin-top: 5px;*/
    margin-bottom: 0px;
}

.page-search__submit {
    cursor: pointer;
}

.custom-article__search.page-search {
    float: left;
}

.tnved-search__result {
    float: right;
    /*margin-right: 13px;*/
    margin-right: 20%;
}

.modal__close {
    cursor: pointer;
}

.btn--more {
    cursor: pointer;
}


@media (min-width: 756px) {
    #code_info .modal__dialog {
        width: 400px;
        margin: 30px auto;
    }

    #code_info .modal__dialog.dop_code_info {
        width: 600px;
    }

}

#code_info .modal__dialog.base_code_info {
    grid-area: 1/1;
    margin-top: 30px;
    margin-bottom: 30px;
    z-index: 100;
}


#code_info .modal__dialog.dop_code_info {
    grid-area: 1/1;
    margin-top: 40px;
    margin-bottom: 40px;
    z-index: 200;
}

.modal__close__dop_code_info {
    cursor: pointer;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(../img/stack.svg#close);
    border: 0;
}

.modal__dialog.base_code_info .modal__header,
.modal__dialog.dop_code_info .modal__header {
    position: sticky;
    top: 0px;
    z-index: 10;
    box-shadow: 0 3px 6px 0 rgba(48,48,48,.2);
}


.modal__body .product-info {
    border: none;
    padding-bottom: 10px;
}

.modal__close {
    cursor: pointer;
}

.modal-product__item {
    position: relative;
}
.modal-product__item .dop__btn {
    background-color: #f26b5b;
    padding: 0px 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    height: 18px;
    width: 17px;
    position: absolute;
    right: 10px;
    top: 12px;
}

.btn--more.poyasn {
    /*background-color: #7f9db9;*/
    background-color: transparent;
}

.tree-list__item--expanded.tree-list__item--finit .tree-list__section {
    color: #000000;
}
.tree-list__item--expanded.tree-list__item--finit>.tree-list__title::after {
    background-color: #ffffff;
}

button#prev,
button#next
{
    padding: 10px 8px;
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 4px;
    background-color: #004680;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    height: 38px;
}

button#prev:hover,
button#next:hover
{
    background-color: #5794f7;
    border-color: #5794f7
}

button#prev a,
button#next a
{
    color: white;
}
button#prev a:hover,
button#next a:hover
{
    font-weight: normal;
}

.tnved-search__result #current {
    padding-left: 7px;
}
.tnved-search__result #total {
    padding-right: 7px;
}

.tnved-search__result {
    display: none;
}

.custom-article__search-row {
    position: sticky;
    background: white;
    z-index: 99;
    height: 55px;
}

@media (max-width: 1009px) {
    .custom-article__search-row {
        top: 120px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .tnved-search__result {
        margin: 7px 0;
    }
    #tnved-search__input {
        width: 60%;
    }
}
@media (min-width: 1010px) {
    .custom-article__search-row {
        top: 80px;
    }
}
