.wavy {
    background-image: url('/bitrix/templates/oxygen/resources/icons/waves123b.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 100%;
    height: 540px;
}
.slidein {
    box-shadow: 0px 0px 20px 10px rgba(255, 255, 255, 0.25);
}
.wavy h1 {
    font-size: 40pt;
    font-weight: 700;
    color: white;
}
.wavy a {
    color: white;
    font-weight: 400;
    font-size: 21pt;
    display: block;
    padding-top: 20px;
}
.wavy i{
    padding-right: 10px;
}
#lheader {
    height: 200px;
    padding-top: 370px;
    position: relative;
}
#lheader img {
    display: block;
    position: absolute;
    right: 0;
    bottom: 60px;
    image-rendering: -webkit-optimize-contrast;
}
.title1 {
    color: #828282;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    padding-bottom: 0;
    font-size: 32pt;
	letter-spacing: 3px;
    margin-top: 30px;
}


.mp-wb-subtitle {
    color: var(--grey);
}
/* .rgallery:first-of-type {
    margin-right: 50px;
} */
.old-subtext {

    line-height: 35px;
    font-size: 18pt;
    text-align: left;
    display: block;
    color: #828282;
}
.pref .flexer {
    justify-content: center;
    padding-top: 20px;
}
.pref img {
    height: 150px;
}
.pref span {
    display: block;
    padding-top: 40px;
    text-transform: uppercase;
    font-size: 13pt;
}
.pref .block {
    width: 100%;
    text-align: center;
    padding-top: 20px;
}
.pref h1, .pref h2 {
    font-weight: 600;
    font-size: 24pt;
}
.pref .subtext, .subtextformal {
    font-size: 18pt;
    line-height: 35px;
    /* max-width: 1400px; */

    text-transform: none;
}
.rgallery {
    width: 570px;
    margin-right: 70px;
    display: block;
    height: auto;
    margin-top: 30px;
}

.greytext {
    color: var(--grey);
}
.whitetext {
    color: white;
}


@media screen and (max-width: 1600px) {
    .flexer > img, .flexer > span > img {
        max-width: 27vw;
        padding-right: 5vw;
    }
}

@media screen and (max-width: 550px) {
    .title1 {
        font-size: 17pt !important;
        line-height: 30px !important;
    }

    .title1sub, .subtitle {
        font-size: 14pt !important;
        line-height: 20px;
    }
    .pref .subtext {
        font-size: 17pt;
        line-height: 30px;
    }
    .pref h1 {
        font-size: 18pt;
        text-align: center;
    }
    .wavy {
        height: 650px;
    }
    .imgwrap {
        flex-wrap: wrap;
        margin-top: -20px;
        justify-content: space-evenly;
    }
    .imgwrap > img {
        width: 27vw;   
        margin-top: 20px;

        max-width: fit-content;
        min-width: 180px;
    }
    .wavy a {
        font-size: 16pt;
    }
    .wavy span {
        font-size: 29pt;
    }
    #lheader {
        padding-top: 130px;
        display: flex;
        flex-direction: column;
    }
    #lheader img {
        position: relative;
        /* order: 1; */
        box-shadow: none;
        margin-top: 90px;
        max-width: 85vw;
        padding-right: 0;
    }
    #lheader > div {
        padding-left: 20px;
    }

    #pdftext {
        margin-left: 0 !important;
      }
    
      .mp-pdf-cert-icon {
        margin-right: 0 !important;
        padding-right: 0 !important;
        max-width: 13vw !important;
      }
    
      .wavy {
        height: 690px;
      }

    #lheader {
        padding-top: 115px !important;
        align-items: center;
    }

    .remheight {
        width: 27vw !important;
        height: auto !important;
    }
    .ord1 {
        order: 1;
    }
    .cusheight {
        height: 290px !important;
    }

    .imgvert > img {
        width: auto;
        max-width: 191px;
        min-width: 119px;
        height: 117px;
    }

    #rukppm415 {
        max-width: 85vw;
        align-items: center;
    }
    .mp-pdf-title {
        font-size: 14pt !important;
        margin-left: 40px;
        line-height: 20px;
    }
    #pdfic11 {
        height: 60px !important;
    }
    .nopadd123 {
        padding-right: 0 !important;
    }
    #moblamp {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    #lheader img {
        margin-left: 0 !important;
    }
    #headertextssss {
        margin-top: -30px;
    }
    #pdfnomrg {
        margin-right: 0 !important;
    }
}
