/*!
Theme Name: wpbox
Theme URI: http://underscores.me/
Author: evgeniy shershnev
Author URI: https://lentafree.ru/
Description: Тема для разработки сайтов любой сложности
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wpbox
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.nav-menu .menu .current-menu-item{
    font-weight: bold;
    color:#fff;
    letter-spacing: .03em;
}

.nav-menu .menu .current-menu-item a{
    text-decoration: underline;
}
.serch-content{
    padding-bottom: 3rem;
}
.content__full--width{
    margin-top: -8rem !important;
}
.entry-content{
    max-width: 998px;
    width: 100%;
    line-height: 130%;
    padding-bottom: 4rem;
}
.entry-content a{
   color:#014887!important;
}
.customizer-edit-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 9999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.list-category{
    position: absolute;
    border: 2px solid #f0f4f8;
    border-radius: 20px;
    min-width: 220px;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0 !important;
    overflow: hidden;
}
.list-category li{
    list-style: none !important;
    margin-bottom: 1rem;
    transition: all .3s ease-in-out;
    padding: 10px 20px;
    display: block;
    width: 100%;

}
.list-category li:last-child{
    margin-bottom: 0;
}
.list-category li:hover{
    background:#014887;
    color: #fff;
}
.customizer-edit-button:hover {
    background: #005c8c;
}
.border-block .download-link{
    display: flex;
    gap: 10px;
}
.border-block .download-link svg{
    width: 17px;
    height: 17px;
    max-width: 17px;
}

.full-content{
    max-width: 70% !important;
    width: 100% !important;
    margin-top: 2rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.full-content .purchasing__showcase--item{
    max-width: 100% !important;
    padding-left: 2rem !important;
}
.nowrap{
    white-space: nowrap;
}
.row-buttons{
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.archive_link{
    margin-top: 12px;
    font-weight: 700;
    font-size: 10px;
    text-align: center;
    border: 1px solid #dc2f3c;
    border-radius: 13px;
    color: #dc2f3c;
    padding: 4px 15px;
    max-width: 100%;
    width: auto;
}
.col-left_part{
    flex: 0 0 60%;
    margin-left: 17%;
}
.col-left_part .breadcrumbs{
    margin-left: 0 !important;
}
.col-rigth_part{
    flex: 0 0 18%;
    margin-top: 11rem;
}

.col-rigth_part .page-nav {
    display: flex;
    flex-direction: column;
    width: 70%;
    max-width: 1200px;
    min-width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.25);
    background: #fff;
    padding: 38px 43px;
    margin-left: 30px;
}

.col-rigth_part .nav-headding {
    font-weight: 700;
    font-size: 22px;
    background: linear-gradient(180deg, #014887 0%, #004078 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.col-rigth_part .page-nav a {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 128%;
    color: #0e0e0e;
}

.col-rigth_part .page-nav a:not(:last-child) {
    margin-bottom: 30px;
}
.page-list{
    border-radius: 13px;
    max-width: 100%;
    width: 100%;
    background: #fff;
    padding: 46px 60px;
    margin-bottom: 4rem;
}
.page-list .documents-section__title{
    margin-top: 28px;
    font-weight: 700;
    font-size: 18px;
    color: #2b2b2b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 32px;
    position: relative;
}

.page-list .documents-section__title.active .js-icon {
    position: absolute;
    top: 50%;
    left: -26px;
    transform: translateY(-17%);
}

.page-list .documents-section__title.active {
    margin-left: calc(3rem - 1vw);
}

.page-list .documents-section__list {
    margin-top: 22px;
    display: none;
    flex-direction: column;
    padding-left: 40px;
}

.page-list .docs-link {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 400;
    font-size: 18px;
    background: linear-gradient(180deg, #014887 0%, #004078 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-list .docs-link img{
    width: 37px;
    height: 37px;
}
.page-list .download-link {
    font-weight: 400;
    font-size: 18px;
    background: linear-gradient(180deg, #014887 0%, #004078 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    column-gap: 11px;
    align-items: center;
}
.page-list .d-flex {
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 28px;
}
@media(max-width: 1780px){
    .col-left_part {
        flex: 0 0 60%;
        margin-left: 5rem;
    }
}

@media(max-width: 998px){
    .col-rigth_part{
        display: none;
    }
    .col-left_part{
        flex:0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }
}
@media (max-width: 768px) {
    .page-list{
        padding: 1rem 18px;
    }
    .page-list .docs-link {
        font-size: 12px;
    }
    .page-list .docs-link img {
        max-width: 20px;
        width: 20px;
        height: 20px;
    }
    .page-list .download-link {
        font-size: 12px;
    }
    .page-list .download-link svg {
        max-width: 11px;
        width: 11px;
        height: 11px;
    }
    .page-list .documents-section__list {
        padding-left: 0;
    }
}

.form__popup{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #000000a3;
    z-index: 100000000;
    display: none;
}
.popup_wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    width: 100%;
    height: 280px;
    max-width: 420px;
    position: absolute;
    top: 50%;
    left: 50%;
    flex-direction: column;
    row-gap: 1rem;
    transform: translate(-50%, -50%);
}

.popup_wrapper h1{
    font-size: 40px;
    font-weight: 900;
}

.popup_wrapper a{
    display: flex;
    column-gap: 10px;
}

.popup_wrapper a img{
    transform: rotate(-180deg);
}

.popup_wrapper .close-form__modal{
    position: absolute;
    top: 10px;
    right: 30px;
}