.topmenuline .line{
    display: block;
    margin-top: 0;
}

.textbox{
    width: 920px;
    height: fit-content;
    padding-bottom: 100px;
}

.textbox a{
    color: #6F2DA8;
}
.textbox a:hover{
    color: #A964D7;
}

.textbox p{
    font-size: 18px;
    line-height: 1.7;
    color: #000000;
}
.texth2{
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    margin: 40px 0;
    text-align: center;
}
.texth2 span{
    color: #9559BD;
}

.textimg img{
    width: 100%;
    height: 537px;
    /*background: url('../img/textimg.jpg') center/cover no-repeat;*/
    border-radius: 10px;
    margin-top: 24px;
}

.contactsbox{
    margin: 36px 0 0 22px;
}
.contactsbox p{
    margin-top: 24px;
}

.agrtext .texth3{
    font-size: 22px;
    margin-top: 24px;
}
.agrtext p{
    margin-top: 24px;
}

@media only screen and (max-width: 1700px){
    .textbox{
        width: 928px;
    }

    .textbox p{
        font-size: 16px;
    }
    .texth2{
        font-size: 26px;
        margin: 32px 0;
    }

    .textimg img{
        height: 541px;
        margin-top: 32px;
    }

    .contactsbox{
        margin: 26px 0 0 18px;
    }
    .contactsbox p{
        margin-top: 16px;
    }

    .agrtext .texth3{
        font-size: 18px;
        margin-top: 16px;
    }
    .agrtext p{
        margin-top: 16px;
    }
}


@media only screen and (max-width: 1140px){
    .textbox{
        width: calc(100% - 48px);
        padding: 0 24px 40px 24px;
    }
    
    .texth2{
        margin: 40px 0;
    }

    .textimg img{
        height: 191px;
        border-radius: 5px;
        margin-top: 24px;
    }
}