/* grid */
.maxwidth-theme-1700 {
    --content-width: 1700px;
}

.maxwidth-theme-1500 {
    --content-width: 1500px;
}

.maxwidth-theme-1348 {
    --content-width: 1348px;
}

.maxwidth-theme-1200 {
    --content-width: 1200px;
}

.maxwidth-theme {
    max-width: 1348px;
    /* if no support for custom properties */
    max-width: var(--content-width, 1348px);
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.maxwidth-theme:after,
.maxwidth-theme:before {
    content: "";
    display: block;
    clear: both;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

@media (max-width: 767px) {
    .maxwidth-theme {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* text */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 30px;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 38px;
    line-height: 45px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    font-size: 15px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 30px;
        line-height: normal;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }
}

/* simplebar styles */
.simplebar-scrollbar {
    width: 3px;
}

.simplebar-scrollbar::before {
    background-color: #c4c4c4;
}

/* 404 */
.page404 {
    margin: 100px 0;
}

.page404>div {
    text-align: center;
}

.page404-title {
    margin-top: 90px;
    font-size: 38px;
    line-height: 46px;
    font-weight: bold;
    color: #333333;
}

.page404-text {
    margin-top: 25px;
    font-size: 15px;
    line-height: 27px;
    color: #666666;
}

.page404-btn {
    margin-top: 32px;
}

.page404-image {
    height: 360px;
}

.page404-image svg {
    width: 100%;
    max-width: 650px;
    height: 100%;
}

@media (max-width: 767px) {
    .page404 {
        margin: 50px 0;
    }

    .page404-image {
        height: 150px;
    }
}

/* breadcrumb */
.breadcrumb {
    padding: 0;
    margin: 0 0 7px;
    list-style: none;
    background: none;
}

.breadcrumb>li,
.breadcrumb .active,
.breadcrumb a,
.breadcrumb>* {
    margin: 0;
    text-decoration: none;
    color: #bbbbbb;
}

.breadcrumb>li {
    text-shadow: none;
    padding: 0;
    font-size: 0.8667em;
}

.breadcrumb>li:before {
    display: none;
}

.breadcrumb>li:after {
    content: "\2014";
    margin: 0;
    padding: 0 11px;
    vertical-align: middle;
    color: #dddddd;
    display: inline-block;
    position: static;
    background: none;
    width: auto;
    height: auto;
}

.breadcrumb>li:last-of-type:after {
    display: none;
}

@media (max-width: 767px) {
    .breadcrumb {
        margin: 0;
    }
}




.page404__wrp {
    display: flex;
    justify-content: space-around;
    min-height: 50vh;
    align-items: center;
}

.page404 {
    display: flex;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    flex-direction: column;
    color: #282828;
    font-size: 16px;
}

.page404 a {
    color: #2e5c6d;
    text-transform: uppercase;
    text-decoration: underline;
}

.page404 a:hover {
    text-decoration: none;
}

.page404__not_page {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    width: 500px;
}

.page404__error_img {
    max-width: 100%;
    margin: 0 auto;
}

.page404__error_header {
    font-size: 24px;
    font-weight: 600;
    margin: 30px auto;
}

.page404__no_search_link {
    font-size: 14px;
    text-transform: uppercase;
    margin: 15px auto 0;
}

.page404__btn {
    width: 230px;
    background: #4c7f50;
    text-align: center;
    display: block;
    text-decoration: none !important;
    font-size: 24px;
    font-weight: 600;
    color: #fff !important;
    height: 56px;
    line-height: 56px;
    border-radius: 150px;
    -webkit-transition: background-color 0.3s, color 0.3s;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.page404__btn.button--inverted {
    background: #4c7f50;
    color: #fff !important;
}

.page404__btn::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    bottom: -20px;
    right: -20px;
    background: inherit;
    border-radius: 50px;
    z-index: -1;
    opacity: 0.4;
    -webkit-transform: scale3d(0.8, 0.5, 1);
    transform: scale3d(0.8, 0.5, 1);
}

.page404__btn:hover {
    -webkit-transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
    transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
    -webkit-animation: anim-moema-1 0.3s forwards;
    animation: anim-moema-1 0.3s forwards;
    color: #fff !important;
}

.page404__btn.button--inverted:hover {
    color: #fff !important;

}

.page404__btn:hover::before {
    -webkit-animation: anim-moema-2 0.3s 0.3s forwards;
    animation: anim-moema-2 0.3s 0.3s forwards;
}

@-webkit-keyframes anim-moema-1 {
    60% {
        -webkit-transform: scale3d(0.8, 0.8, 1);
        transform: scale3d(0.8, 0.8, 1);
    }

    85% {
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes anim-moema-1 {
    60% {
        -webkit-transform: scale3d(0.8, 0.8, 1);
        transform: scale3d(0.8, 0.8, 1);
    }

    85% {
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes anim-moema-2 {
    to {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes anim-moema-2 {
    to {
        opacity: 0;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@media screen and (max-width: 747px) {
    .page404 {
        width: 80%;
    }

    .page404__not_page {
        margin-bottom: 40px;
        width: 100%;
        text-align: center;
    }

    .page404__error_header {
        text-align: center;
    }
}

@media screen and (max-width: 470px) {
    .page404__error_header {
        font-size: 20px;
    }
}

#uSocial .uscl-bar.uscl-style2 .uscl-slide-open,
.uSocial-Share .uscl-bar.uscl-style2 .uscl-slide-open {
    color: #57915c !important;
}

.zag1pr {
    font-size: 1.2em !important;
}

/* Улучшение читаемости текста на фоне картинок (Landing) */
div.block-title.block1-3-align-content {
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 40px !important;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}

div.block-title.block1-3-align-content .block-cattitle,
div.block-title.block1-3-align-content .block-title-text,
div.block-title.block1-3-align-content .block-subtitle,
div.block-title.block1-3-align-content .block-subtitle p,
div.block-title.block1-3-align-content .ulli li {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
}

div.block-title.block1-3-align-content .ulli {
    background: transparent !important;
    padding-left: 20px !important;
    box-shadow: none !important;
}
/* Force center alignment for Certificates block */
div#block_256 .col-lg-12 .block-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Force center alignment for Certificates block (Block 10-3 Gallery) */
.block10-3-gallery .row.block10-3-items {
    justify-content: center;
}
