.bx-theme-rp a {
    color: #12442e;
}
.rpoint-R a {
    color: #ddd;
}
body.bx-theme-rp {
    background-attachment: fixed;
    background-size: cover;
    font-family: "Montserrat", Arial, sans-serif;
    background-color: #F5F5F5;
    font-size: 16px;
}
#pagetitle { margin-bottom: 35px; }

h1,h2,h3,h4,h5 {
    font-family:  "Montserrat", Arial, sans-serif;;
    font-weight: 400;
}
.bx-theme-rp h1 {
    font-size: 40px;
}
.bx-theme-rp h2 {
    margin: 30px auto 40px;
    font-size: 32px;
}
.bx-theme-rp h3 {
    font-size: 24px;
}
.bx-theme-rp h4 {
    font-size: 20px;
}
.bx-theme-rp h5 {
    font-size: 18px;
}
.top-block-rp2 {

}
.header-rp-1 {
    flex: 0 0 800px;
    display: flex;
    align-items: center;
    justify-content: start;
}
.header-rp-2 {
    flex: 1 0 200px;
    display: flex;
    align-items: center;
    justify-content: end;
}
img {
    max-width: 100%;
}
.sect1-1 {
    width: 65%;
    flex: 1 0 65%;
    position: relative;
}
.sect1-1 img {
    width: 650px;
    position: absolute;
    left: 0;
    bottom: 0;
}
.sec1-desc {
    position: absolute;
    bottom: 0;
    right: 50px;
    font-size: 20px;
    font-weight: 500;
}
.sect1-2 p {
    font-size: 20px;
    line-height: 24px;
}
.search-top {
    flex: 1 0 210px;
    border: #d0d0d0 solid 1px;
    border-radius: 25px;
    max-width: 360px;
}
#title-search form {
    display: flex;
}
#title-search-input {
    width: 100%;
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 10px 15px;
}
button.search-btn {
    background: #fff;
    border: none;
    padding-right: 15px;
    border-radius: 0 25px 25px 0;
    color: #13452f;
}
.personal-cab a {
    color: #13452f;
    font-size: 18px;
}
.personal-cab a .bi{
    font-size: 34px;
    margin: 10px;
    border: #12442e solid 1px;
    border-radius: 25px;
    width: 46px;
    height: 46px;
    display: block;
    text-align: center;
    line-height: 46px;
    box-shadow: #12442e 0 5px 10px -3px;
}
.white_hr {
    background: #fff;
    opacity: 1;
    margin-bottom: 30px;
}
@media (min-width: 1600px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1500px !important;
    }
    .bx-theme-rp h1 {
        font-size: 46px;
    }
}
footer.bx-footer {
    background-color: #12442e;
    padding-bottom: 25px;
}
footer .bx-footer-main-section a {
    color:#fff;
    text-decoration: none;

}
.partner-card {
    padding: 10px 16px;
}

.section1 {
    background-image: url("/include/home-page/Union1.jpg");
    min-height: 740px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    background-color: #ffffff;
    border-radius: 30px;
    padding: 30px;
    position: relative;
    display: flex;
    box-shadow: #12442e 0 5px 10px -3px;
}
.section2 {

}
.section2 h2 {

}
.sect2 {

}
.sect2-1 {
    display: flex;
    flex-wrap: wrap;
    height: 285px;
    justify-content: space-between;
    align-items: center;
}
.rp-sect2-1 {
    flex: 0 0 18%;
}
.rp-sect2-1 a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.rp-sect2-1 span {
    position: absolute;
    color: #eee;
    font-size: 30px;
    text-align: center;
    z-index: 1;
    padding: 10px;
}
.rp-sect2-1 i.bi-arrow-up-right-circle {
    position: absolute;
    right: 5px;
    bottom: 5px;
    line-height: 0;
    font-size: 60px;
    color: #13452f;
}
.sect2-1-1 {
order: 1;
}
.sect2-1-1 a{

}
.sect2-1-1 img{

}
.sect2-1-1 span {

}
.sect2-1-2 {

    flex: 0 0 60%;
    order: 2;
}
.sect2-1-2 img{
    border-radius: 30px;
    border: #dde1df solid 1px;
}
.sect2-1-3 {
    order: 3;
}
.sect2-1-3 span {

}
.sect2-2-1 {
    flex: 0 0 18%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sect2-2-1 span {
    height: 270px;
    display: flex;
    color: #eee;
    background-color: #13452f;
    text-align: center;
    padding: 15px;
    align-items: center;
    border-radius: 30px;
}
.rpoint-R {
    font-size: 14px;
}
.glass_w {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.glass_b {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.section3 {

}
.section h2 {
    text-align: center;
}
p.h-desc {
    display: block;
    width: 600px;
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
}
.sec3-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.sect3-item {
    padding: 40px;
    background: #ffffff;
    flex: 0 0 30%;
    min-width: 280px;
    border-radius: 30px;
    box-shadow: #555 0 5px 8px -4px, inset #555 2px -2px 2px -2px;
    margin-bottom: 15px;
}
.sect3-item i.bi {
    background: #13452f;
    color: #eee;
    display: block;
    padding: 2px;
    height: 60px;
    width: 60px;
    text-align: center;
    border-radius: 7px;
    font-size: 40px;
}
.sect3-item h4 {
    margin: 15px 0;
    min-height: 50px;
}
.sect3-item p {

}
.sect4-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.sect4-item {
    flex: 0 0 48%;
    padding: 40px;
    background: #ffffff;
    min-width: 280px;
    border-radius: 30px;
    box-shadow: #555 0 5px 8px -4px, inset #555 2px -2px 2px -2px;
    margin-bottom: 15px;
}
.s4-element {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    align-items: center;

}
.sec4-name {

}
.dotter {
        flex: 1;
        border-bottom: 2px dotted #d9d9d9;
        margin: 0 10px;
        height: 1px;
        align-self: center;
}
.sect5-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    align-items: center;
    justify-content: space-between;
}
.s5-element {
    padding: 40px;
    background: #ffffff;
    min-width: 280px;
    border-radius: 30px;
    box-shadow: #555 0 5px 8px -4px, inset #555 2px -2px 2px -2px;
    margin-bottom: 15px;
    height: 100%;
}
.s5-element h4 {
    text-align: center;
}
.s5-element .h-desc {
    margin: 5px auto 10px;
}
.s5-element ul {
    min-height: 160px;
    padding-left: 5px;
}
.s5-price {
    font-size: 32px;
    text-align: center;
    color: #13452f;
}
.s5-element ul li {
    line-height: 30px;
    list-style: none;
}
.s5-element ul li i.bi {
    color: #13452f;
    margin-right: 8px;
    font-size: 18px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}
.contact-grid-item {
    padding: 20px;
    background: #ffffff;
    min-width: 220px;
    border-radius: 30px;
    box-shadow: #555 0 5px 8px -4px, inset #555 2px -2px 2px -2px;
    margin-bottom: 15px;
    height: 100%;
    text-align: center;
}
.contact-grid-item i.bi {
    background: #13452F;
    width: 76px;
    height: 76px;
    display: block;
    color: #ffffff;
    margin: 0 auto;
    padding: 14px 18px;
    font-size: 34px;
    border-radius: 50%;
}
.contact-grid-item h3 {
    margin: 20px;
}
.contact-grid-item p {
    font-weight: 500;
}
.feedback-section {
    background-image: url('/imgs/fon_form.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.flex-section {
    display: flex;
    justify-content: space-around;
    flex-wrap:wrap;
}
.formtpl {
    padding: 20px 16%;
}

.feedback-form {
    padding: 15px;
    margin: 30px 5px;
    width: 50%;
    max-width: 100%;
    font-size: 18px;
    border: #000000 solid 1px;
    border-radius: 20px;
    background: #0000009a;
    backdrop-filter: blur(2px);
    flex: 0 0 50%;
}

.formtpl label {
    min-width: 80px;
    font-weight: normal;
    text-align: left;
    margin-right: 10px;
    color: #fff;
}

.formtpl input {
    line-height: 31px;
    border: #dedede solid 1px;
    border-radius: 4px;
    padding: 5px;
}

.formtpl div {
    margin: 15px 0;
}

.feedback-form h3{
    text-align: center;
    color: #fff;
}

.formtpl input[type=submit] {
    background: #2285c4;
    width: 250px;
    color: #fff;
    margin: 0 auto;
    display: block;
}
.feedback-form .inputfile {
    color: #fff;
}
.feedback-form {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: all 0.8s ease-out;
}

.feedback-form.animate1 {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Анимация для элементов внутри формы с задержкой */
.feedback-form.animate1 > * {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.formtpl p {
    color:#fff;
    font-size: 14px;
}

.soglasie {
    display: flex;
}
.soglasie label {
    text-align:left;
    margin-left: 10px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact-block {
    background: #2285c4;
    padding: 20px;
    color: #fff;
    margin: auto 20px;
    line-height: 47px;
    font-size: 24px;
    border-radius: 20px;
    flex: 0 0 45%;
}

.contact-block h3 {
    font-size: 30px;
}
.error-form {
    text-align: center;
}
.error-form p {
    font-size: 22px;
    background: #ffffff;
    line-height: 16px;
    padding: 19px;
    border-radius: 15px;
}
.error-form .errortext {
    font-size: 14px;
}

.formtpl textarea {
    width: 100%;
}
.bx-footer-main-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    padding: 30px;
}
.footer-block {
    padding: 20px;
    min-width: 280px;
    margin-bottom: 15px;
    height: 100%;
}
.footer-block img.footer-logo {
    margin-bottom: 20px;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#block21290 .element .name {
    font-size: 24px;
    line-height: 30px;
    min-height: 32px;
    font-weight: 600;
}


#block21290 .element .text {
    font-size: 20px;
    line-height: 26px;
    margin-top: 18px;
}

@media (max-width: 767px) {

    .formtpl {
        padding: 20px 0%;
    }
    .formtpl label {
        text-align: left;
    }
    .formtpl .inputfile {
        font-size: 14px;
    }
    .flex-section {
        justify-content: center;
    }
    .contact-block {
        flex: 0 0 100%;
    }
    .feedback-form {
        flex: 0 0 100%;
        width:100%;
    }
    .footer-block {
        padding: 10px;
        margin-bottom: 0;
    }
}
@media (max-width: 1600px) {
    .sect1-1 {
        width: 66%;
        flex: 0 0 66%;
    }
    .section1 {
        min-height: 650px;
    }
        .sect1-1 img {
        width: 550px;
    }
    .sect2-2-1 span {
        height: 233px;
    }
}
@media (max-width: 1400px) {
    .bx-theme-rp h1 {
        font-size: 30px;
    }
    .bx-theme-rp h3 {
        font-size: 20px;
    }
    .section1 {
        min-height: 560px;
    }
    .sect1-2 p {
        font-size: 16px;
        line-height: 20px;
    }
    .sec1-desc {
        right: 40px;
        font-size: 18px;
    }
    .sect1-1 img {
        width: 500px;
    }
    .rp-sect2-1 span {
        font-size: 24px;
    }
    .sect2-1 {
        height: 250px;
    }
    .sect2-2-1 span {
        height: 200px;
    }
    .bx-footer-main-section {
        gap: 20px;
        padding: 30px;
    }
    .footer-block {
        padding: 10px;
        min-width: 250px;
        margin-bottom: 10px;
    }
    .contact-grid {
        gap: 15px;
    }
    .contact-grid-item {
        padding: 15px;
    }
}
@media (max-width: 1200px) {
    .sect1-1 {
        width: 64%;
        flex: 0 0 64%;
    }
    .bx-theme-rp h1 {
        font-size: 28px;
    }
    .section1 {
        min-height: 500px;
    }
    .sect1-2 p {
        font-size: 16px;
        line-height: 20px;
    }
    .sec1-desc {
        right: 40px;
        font-size: 16px;
    }
    .sect1-1 img {
        width: 380px;
    }
    .header-rp-1 {
        flex: 0 0 100%;
    }
    .header-rp-2 {
        flex: 0 0 100%;
    }
    .search-top {
        max-width: 100%;
    }
    .rp-sect2-1 span {
        font-size: 22px;
        line-height: 22px;
    }
    .rp-sect2-1 i.bi-arrow-up-right-circle {
        font-size: 44px;
    }
    .sect2-1 {
        height: 230px;
    }
    .sect2-2-1 span {
        height: 174px;
        font-size: 14px;
    }
    .sec4-name {
        flex: 1 0 180px;
    }
    .sect4-item {
        min-height: 370px;
    }
    .bx-footer-main-section {
        gap: 10px;
        padding: 30px 10px;
    }
    .footer-block {
        padding: 5px;
        min-width: 220px;
        margin-bottom: 10px;
    }
    .contact-grid {
        gap: 15px;
    }
    .contact-grid-item {
        padding: 15px;
    }
}
@media (max-width: 992px) {
    .rp-sect2-1 span {
        font-size: 18px;
        line-height: 18px;
    }
    .rp-sect2-1 i.bi-arrow-up-right-circle {
        font-size: 32px;
    }
    .bx-logo-block-mobile {
        width: 200px;
    }
    .sect4-item {
        flex: 0 0 100%;
    }
    .sect4-item {
        min-height: unset;
    }
    .sect5-main {
        grid-template-columns: repeat(2, 1fr);
    }
    .bx-footer-main-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid-item {
        min-width: 190px;
    }
}
@media (max-width: 960px) {
    .sect1-1 {
        width: 60%;
        flex: 0 0 60%;
    }
    .bx-theme-rp h1 {
        font-size: 28px;
    }
    .section1 {
        min-height: 400px;
        padding: 15px;
    }
    .sect1-2 p {
        font-size: 14px;
        line-height: 20px;
    }
    .bx-theme-rp h3 {
        font-size: 16px;
    }
    .sec1-desc {
        right: 40px;
        font-size: 14px;
    }
    .sect1-1 img {
        width: 260px;
    }
    .sect2-2-1 {
        display: none;
    }
    .sect3-item {
        padding: 20px;
        flex: 0 0 48%;
        min-width: 240px;
    }

}
@media (max-width: 767px) {
    .bx-theme-rp h3 {
        font-size: 18px;
        text-align: center;
        margin: 20px;
    }
    .sect1-1 {
        width: 100%;
        flex: 0 0 100%;
    }
    .sect1-1 img {
        position: relative;
        width: 300px;
        margin: 0 auto;
        display: block;
    }
    .section1 {
        flex-wrap: wrap;
        background: #fff!important;
    }
    .sec1-desc {
        display: none;
    }
    .sect1-2 p {
        font-size: 16px;
        line-height: 22px;
        margin: 15px;
    }
    header {
        background-color: #12442e;
    }
    .personal-cab a {
        color: #fff;
    }
    .personal-cab a .bi {
        border: #ffffff solid 1px;
    }
    .bx-header .bx-header-logo {
        width: 300px;
    }
    /*mobile button */

    .animated-icon1 {
        width: 30px;
        height: 20px;
        position: relative;
        margin: 0px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    .animated-icon1 span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .75s ease-in-out;
        -moz-transition: .75s ease-in-out;
        -o-transition: .75s ease-in-out;
        transition: .75s ease-in-out;
    }

    .animated-icon1 span {
        background: #ffffff;
    }



    .animated-icon1 span:nth-child(1) {
        top: 0px;
    }

    .animated-icon1 span:nth-child(2) {
        top: 10px;
    }

    .animated-icon1 span:nth-child(3) {
        top: 20px;
    }

    .animated-icon1.open span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .animated-icon1.open span:nth-child(2) {
        opacity: 0;
        left: -120px;
    }

    .animated-icon1.open span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .menu-button {
        top: 5px;
        position: absolute;
        right: 0px;
        left:inherit;
        width: 60px;
        outline: none!important;
        z-index: 10000;
    }
    .menu-button .navbar-toggler:focus {
        box-shadow: none;
    }
    .bx-aside-nav .bx-nav-1-lvl-link-text {

        color: #eee;
    }
    .sect2-1-2 {
        flex: 0 0 100%;
        order: 4;
    }
    .rp-sect2-1 {
        flex: 0 0 45%;
    }
    .rp-sect2-1 span {
        font-size: 4vw;
        line-height: 4vw;
    }
    .rp-sect2-1 i.bi-arrow-up-right-circle {
        font-size: 8.5vw;
    }
    .sect2-1 {
        height: 100%;
    }
    .bx-theme-rp h2 {
        margin: 24px auto 20px;
        font-size: 24px;
    }
    .sect2-2-1 {
        display: inline-flex;
        flex: 0 0 48%;
    }
    .sect2-2-1 span {
        height: 225px;
        font-size: 16px;
    }
}
@media (max-width: 600px) {
    .rp-sect2-1 span {
        font-size: 5vw;
        line-height: 5vw;
    }
    .rp-sect2-1 i.bi-arrow-up-right-circle {
        font-size: 9.5vw;
    }
    .sect2-2-1 span {
        height: 38vw;
        font-size: 14px;
    }
    .sect3-item {
        padding: 20px;
        flex: 0 0 100%;
        min-width: 240px;
    }
    .bx-footer-main-section {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}
@media (max-width: 415px) {
    .sect2-2-1 span {
        height: 38vw;
        font-size: 12px;
    }
    .s4-element {
        flex-wrap: wrap;
        border-bottom: #eee solid 1px;
    }
    .dotter {
        display: none;
    }
    .sec4-name {
        font-size: 14px;
    }
    .contact-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}