body{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 100px auto;
}
header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background: #333333ee;
    box-shadow: 0 0 10px #000;
    padding: 0 20px;
    gap: 20px;
    color: #ffffff;
}
#site-name{
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#site-title{
    font-size: 16px;
    line-height: 1;
    letter-spacing: 2px;
    font-weight: 300;
}
#top-logo{
    height: 80px;
}
#search-form{
    width: 100%
}
#search-form input{
    width: 100%;
}
.layout{
    display: grid;
    grid-template-columns: 350px auto;
}
body.popup{
    display: block;
}
body.popup .layout{
    display: block;
}
body.popup main{
    padding: 10px;
}
aside{
    background: #c4c4c4aa;
    padding: 40px 0;
    overflow: auto;
}
main{
    padding: 40px 40px;
    overflow: auto;
    line-height: 1.4;
}
.layout aside ul,
.layout aside li{
    width: 100%;
}
.layout aside ul{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
.layout aside>nav>ul>li>ul{
    margin-bottom: 10px;
}
.layout aside ul li{
    margin: 0;
    padding: 0;
    font-weight: 500;
}
.layout aside ul a{
    font-size: 17px;
    line-height: 2;
    padding: 0 20px;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.layout aside ul a:hover{
    text-decoration: underline;
}
.layout aside ul ul{

}
.layout aside ul ul a{
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
}
.layout aside ul ul ul{
    display: none;
}
.layout aside .active>a{
    background: #77777733;
}
#breadcrumbs{
    margin: 0 0 0px 0;
}
#breadcrumbs ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}
#breadcrumbs li{
    margin: 0;
    padding: 0;
}
#breadcrumbs li:before{
    content: "/";
    margin: 0 5px;
}
#breadcrumbs li:first-child:before{
    display: none;
}

.step{
    margin: 0 0 20px 0;
}
.step .step-title{
    font-weight: 600;
    margin: 0 0 10px 0;
}
.layout img{
    max-width: 600px;
    margin: 20px 0;
}
#popup-container{
    display: none;
}
body.popup-active{
    overflow-y: hidden;
}
body.popup-active #popup-container{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
body.popup-active #popup-container .popup-background{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #00000033;
}
body.popup-active #popup-container #popup{
    position: relative;
    width: 1150px;
    height: 700px;
    max-width: 80%;
    max-height: 80%;
    border: none;
}
input{
    min-height: auto;
}
.gsc-input{
    font-size: initial;
}
.gsib_a{
    padding: 0 4px !important;
}
.gsc-search-button-v2{
    font-size: 16px !important;
    line-height: 16px !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#search-form input{
    font-size: 16px !important;
    line-height: 16px !important;
    min-height: auto;
    padding: 8px 5px !important;
}

@media (max-width: 450px){
    body, .layout{
        display: block;
    }
    aside{
        display: block;
    }
}