@font-face {
    font-family: SegoePrint;
    src: url(../fonts/Segoe_Print.ttf);
}

@font-face {
    font-family: SegoeScript;
    src: url(../fonts/Segoe_Script.ttf);
}

.master__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    background: url('../images/t_bg.png') no-repeat;
    background-size: cover;
    padding: 0;
    position: relative;
}
.master__wrap .heading-9 {
    display: block;
    width: 100%;
    text-align: center;
    /*margin: 0 0 100px 0;*/
    margin: 10px 0 10px 0;
    font-family: 'SegoePrint';
    font-size: 32px;

    position: absolute;
    top: 0;
}
.master__block{
    width: 50%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    max-height: 587px;
    height: 587px;
}
.master__text{
    width: 50%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    padding-top: 50px;
}
.master__text .paragraph-19{
    width: 100%;
    margin: 0;
    padding: 20px 10px;
    font-size: 23px;
}
.master__img{
    width: 40%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    -ms-flex-item-align: end;
    align-self: flex-end;
}
.master__block img{
    width: 100%;
}


.master__left .master__img{
    -ms-flex-item-align: end;
    align-self: flex-end;
    position: relative;
    right: -50px;
}
.master__text .paragraph-19.master__name-roma{
    padding: 20px 0 20px 60px;
}
.master__right .master__img{
    position: relative;
    left: 10px;
}
.master__quote.master__quote-roma{
    width: 100%;
    padding-left: 60px;
}
.master__quote.master__quote-pavel{
    width: 110%;
    position: relative;
    left: 10px;
}


/*.master__block {*/
    /*width: 49%;*/
    /*display: flex;*/
    /*flex-flow: row;*/
    /*align-items: flex-start;*/
    /*justify-content: flex-end;*/
    /*position: relative;*/
/*}*/

/*.master__text p {*/
    /*font-family: "SegoeScript";*/
    /*margin-left: 0;*/
    /*margin-right: 0;*/
/*}*/

.master__name {
    font-family: 'SegoePrint';
}

/*.master__left {*/
    /*justify-content: flex-start;*/
/*}*/

/*.master__left .master__text {*/
    /*text-align: left;*/
    /*display: flex;*/
    /*flex-flow: column;*/
    /*width: 60%*/
/*}*/

/*.master__left .master__img {*/
    /*position: absolute;*/
    /*right: 0;*/
    /*bottom: 0;*/
/*}*/

/*.master__left img {*/
    /*width: 280px;*/
/*}*/

/*.master__right .master__text {*/
    /*order: 1;*/
    /*display: flex;*/
    /*flex-flow: column;*/
    /*align-items: flex-end;*/
    /*width: 60%;*/
/*}*/

/*.master__right .master__img {*/
    /*order: 0;*/
    /*position: absolute;*/
    /*bottom: 0;*/
    /*left: 0;*/
/*}*/

/*.master__right img {*/
    /*!*width: 233px;*!*/
    /*width: 270px;*/
/*}*/

/*.paragraph-19 {*/
    /*width: 100%;*/
    /*padding-bottom: 30px;*/
/*}*/

/*.master__name {*/
    /*font-size: 24px;*/
    /*font-weight: 600;*/
    /*margin-bottom: 10px;*/
/*}*/

/*@media screen and (max-width: 1024px) {*/
    /*.master__wrap {*/
        /*flex-flow: column;*/
        /*align-items: center;*/
        /*justify-content: center;*/
    /*}*/

    /*.master__block {*/
        /*width: 100%;*/
    /*}*/

    /*.master__left {*/
        /*margin-bottom: 50px*/
    /*}*/

    /*.master__wrap .heading-9 {*/
        /*margin: 20px 0 30px 0;*/
    /*}*/
    /*.master__text {*/
        /*box-sizing: border-box;*/
        /*padding: 10px;*/
        /*margin: 10px 5px;*/
    /*}*/
/*}*/

/*@media screen and (max-width: 550px) {*/
    /*.master__block {*/
        /*flex-flow: column;*/
        /*align-items: center;*/
    /*}*/

    /*.master__wrap .heading-9 {*/

    /*}*/

    /*.paragraph-19 {*/
        /*width: 90%;*/
        /*padding-bottom: 0;*/
        /*padding-left: 15px;*/
    /*}*/

    /*.master__left {*/
        /*margin-bottom: 0px;*/
    /*}*/

    /*.master__img {*/
        /*margin-bottom: 15px;*/
    /*}*/

    /*.master__left .master__text {*/
        /*order: 2;*/
        /*width: 95%;*/
        /*align-items: flex-start;*/
    /*}*/

    /*.master__left .master__img {*/
        /*position: static;*/
        /*order: 1;*/
    /*}*/

    /*.master__right .master__text {*/
        /*order: 2;*/
        /*width: 95%;*/
        /*align-items: flex-start;*/
    /*}*/

    /*.master__right .master__img {*/
        /*position: static;*/
        /*order: 1;*/
    /*}*/
/*}*/


@media screen and (min-width: 2100px){
    .master__block{
        max-height: 29vw;
        height: 29vw;
    }
    .master__img {
    width: 40%;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    }
    .master__quote.master__quote-roma,
    .master__quote.master__quote-pavel {
    width: 110%;
    }
}
@media screen and (min-width: 1900px)  and (max-width: 2100px) {
    .master__block{
        max-height: 32vw;
        height: 32vw;
    }
}
@media screen and (min-width: 1500px)  and (max-width: 1900px) {
    .master__block{
        max-height: 34vw;
        height: 34vw;
    }
}
@media screen and (min-width: 1200px)  and (max-width: 1500px) {
    .master__block{
        max-height: 35vw;
        height: 35vw;
    }
}
@media screen and (min-width: 1200px){
    .master__text .paragraph-19.master__name-pasha{
        padding: 1.5vw 0.5vw;
        font-size: 1.5vw;
    }
    .master__text .paragraph-19.master__name-roma{
        padding: 1.5vw 0.5vw 1.5vw 4vw; /*padding: 1.5vw 0.5vw 1.5vw 2.5vw;*/
        font-size: 1.5vw;
    }
}
@media screen and (max-width: 1200px) {
    .master__block {
        max-height: 420px;
        height: 420px;
    }
}
@media screen and (max-width: 1100px) {
    .master__block {
        max-height: 400px;
        height: 400px;
    }
}
@media only screen and (max-width: 1045px){
    .block_four .in_block_two_mobile {
        width: 315px;
    }
}
@media screen and (max-width: 1024px) {
    .master__block {
        /*max-height: 400px;*/
        /*height: 400px;*/
        max-height: 37vw;
        height: 37vw;

    }
}
@media screen and (max-width: 900px) {
    .master__wrap{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }
    .master__wrap .heading-9{
        position: static;
    }
    .master__text{
        padding: 0;
    }


    .master__block{
        max-height: none;
        height: auto;
        width: 100%;
        -ms-flex-pack: distribute;
        justify-content: space-around;
         flex: auto;
         align-items: center;
        margin-bottom: 0;
    }
    .master__text{
        max-width: 300px;
    }
    .master__quote.master__quote-pavel{
        width: 100%;
    }
    .master__quote.master__quote-roma{
        width: 90%;
    }
    .master__img{
        max-width: 250px;
    }
    .master__left .master__img{
        align-self: center;
        position: static;
    }
    .master__right .master__img{
        position: static;
    }
    .master__img {
        -ms-flex-item-align: normal;
        -ms-grid-row-align: normal;
        align-self: normal;
    }
}

@media screen and (max-width: 600px) {
    .master__text{
        max-width: 250px;
    }
    .master__img{
        max-width: 220px;
    }

}

@media screen and (max-width: 550px) {
    .master__block.master__left{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: baseline;
        -ms-flex-pack: baseline;
        justify-content: baseline;
        min-height: 630px;
        height: 630px;
    }
    .master__quote.master__quote-pavel,
    .master__quote.master__quote-roma {
        position: static;
    }
    .master__left .master__text{
        max-width: none;
        width: 90%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    .master__left .master__img{
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
        width: 200px;
    }
    .master__block.master__right{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: baseline;
        -ms-flex-pack: baseline;
        justify-content: baseline;
        min-height: 710px;
        height: 710px;
    }
    .master__img{
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
        width: 230px;
    }
    .master__text{
        max-width: none;
        width: 90%;
    }
    .master__quote.master__quote-roma {
         padding-left: 0;
    }
    .master__text .paragraph-19.master__name-roma {
        padding: 20px 0 20px 10px;
    }
    .master__block {
         margin-bottom: 0;
    }
}

@media screen and (max-width: 475px) {
    .master__block {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 425px) {
    .master__block.master__left {
        /*min-height: 680px;*/
    }
    .master__block.master__left{
        min-height: 550px;
        height: 550px;
    }
    .master__block.master__right{
        min-height: 630px;
        height: 630px;
    }
    .master__text .paragraph-19{
        padding: 20px 5px;
    }

}

