.text-style p {
    color: var(--accent);
}

.servises-block h1 {
    margin-left: 30px;
    margin-bottom: 0;
}

.button-selection {
    width: 270px;
    height: 50px;

    margin-left: 15px;
    margin-top: 15px;
    padding-left: 15px;

    border-radius: var(--br-md);
    border: none;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    transition: 0.3s all;

    background: none;
}

.button-selection svg {
    margin-right: 10px;
}

.button-selection:active svg>path {
    fill: white;
}

.button-selection:hover {
    background-color: #EBF5FE;
}

.button-selection:active {
    background: #479FF8;
}

.button-selection p {
    transition: 0.3s all;
    font-size: var(--font-md);
}

.button-selection:active p {
    color: white;
    fill: white;
}

.service-wrapper {
    width: 100%;
    justify-content: space-between;
}

.servises-block {
    width: 308px;
    height: 301px;
    border-radius: var(--br-xl);
    top: 120px;
    position: sticky;
    background: var(--main);
}

.aboutCompany {
    width: 982px;
    margin-left: var(--m-5xl);
}

.aboutCompany p {
    color: var(--main-text);
}

.icon-border {
    border-radius: var(--br-md);
}

.under-header {
    width: 100%;
    height: 300px;
    position: relative;
    align-items: center;
}

figure.sixteen-nine-img {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding-top: 56.25%;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;

    background: linear-gradient(288.75deg, #595959 2.2%, #3C3C3C 78.38%);
    border-radius: var(--br-xl);
}

figure.sixteen-nine-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.employee_avatar {
    width: 256px;
    height: 256px;

    background: linear-gradient(288.75deg, #595959 2.2%, #3C3C3C 78.38%);
    border-radius: var(--br-xl);

    overflow: hidden;
}

.employees{
    gap: 42px;
}

.w-100{
    width: 100%;
}
.substrate{
    width: 900px;
    height: 150px;
    border-radius: 15px;

    background-color: var(--main);
}
.substrate-text{
    margin-left: 25px;
}
.adaptive-img-none{
    position: absolute;
    right: 0;
    bottom: 0;
}
@media screen and (max-width: 1340px) {
    .aboutCompany {
        width: 738px;
    }
    .substrate{
        width: 550px;
    }
    .employee_avatar {
        width: 218px;
        height: 218px;
        display: flex;
        justify-content: center;
    }

}
@media screen and (max-width: 1100px) {
    .aboutCompany {
        width: 550px;
    }
    .substrate{
        width: 550px;
        position: absolute;
        z-index: 1;
    }
    .adaptive-img-none{
        width: 500px;
    }
    .employees{
        overflow-x: auto;
    }
}
@media screen and (max-width: 992px) {
    .aboutCompany {
        width: 400px;
        margin-left: 0;
    }
    .servises-block{
        width: 100%;
        height: 94px;
        margin-bottom: 25px;
        
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        
        position: static;
        
        overflow: auto;
    }
    .substrate{
        width: 400px;
        height: 200px;
    }
    .adaptive-img-none{
        position: absolute;
        right: 0;
        width: 420px;
    }
    .service-wrapper{
        flex-direction: column;
    }
    .aboutCompany {
        width: 100%;
        margin-left: 0;
    }
    .servises-block button {
        flex-shrink: 0;
    }
    .servises-block h1 {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 768px) {
    .servises-block h1 {
        margin-bottom: 0;
    }
    .new-font-size{
        font-size: var(--font-rt);
    }
    .adaptive-img-none{
        display: none;
    }
    .servises-block{
        width: 100%;
        height: 94px;
        margin-bottom: 25px;
        
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        
        position: static;
        
        overflow: auto;
    }

    .service-wrapper{
        flex-direction: column;
    }
    .aboutCompany{
        width: 100%;
        margin-left: 0;
    }
    .employees{
        overflow-x: scroll;
    }
    .substrate{
        background: none;
        width: 100%;
    }
    .under-header {
        height: 150px;
        margin-top: 25px;
        margin-bottom: 50px;
        color: #EBF5FE;
        background: linear-gradient(to left, #479FF8, #0081FF);
        border-radius: 15px;
    }
}


.data{
    margin-right: 10px;
}
.map{
    border-radius: var(--br-xl);
    height: 310px;
}
.main-input{
    width: 100%;
    height: 40px;
    border-radius: var(--br-sm);
    padding-left: 10px;
    background: var(--main);
    border: none;
}
.email-margin{
    margin-right: 25px;
}
.second-input{
    width: 99%;
    height: 130px;
    background: var(--main);
    border: solid 1px var(--input-border);
    padding-top: 0;
}
.contacts-data{
    width: 585px;
    margin-left: 60px;
    padding-top: 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.send{
    margin-top: 30px;
}
.footer{
    margin-top: 100px;
}
.comment-input{
    max-width: 100%;
}
.deranged-data{
    width: 700px;
}

@media screen and (max-width: 992px) {
    .contacts-data{
        margin: 0;
    }
    .contacts-text{
        width: 100%;
    }
    .deranged-data{
        width: 100%;
    }
    .contacts-data{
        width: 100%;
    }
    .map{
        width: 100%;
    }
}

.background-popup{
    width: 100%;
    height: 100vh;

    left: 0;
    top: 0;

    background-color: rgba(0, 0, 0, 0.205);

    display: flex;
    align-items: center;
    justify-content: center;
    
    position: fixed;

    z-index: 100;
}
.table-popup{
    width: 400px;
    min-height: 400px;

    padding: 25px;

    position: relative;

    background-color: var(--main);

    border-radius: 10px;
}
.proposalPopup{
    
}
.redCross{
    position: absolute;
    right: 30px;
    top: 30px;
}
.first-proposal{
    position: relative;
}

.Service{
    margin-right: 400px;
    padding-left: 60px;
    white-space: nowrap;
    vertical-align: top;
}
.active-table {
    /* border: 1px solid var(--accent); */
    border-radius: 10px;
    /* position: absolute;
    bottom: 0; */
}
.active-table1  {
    border: 1px solid var(--accent);
    border-radius: 10px;
    /* position: absolute;
    bottom: 0; */
}
.clarification {
    color: var(--second-text);
}
.numbers{
    vertical-align: top;
}

.information-table{
    margin-top: 50px;
    margin-bottom: 50px;

    cursor: pointer;
}
.information-table p {
    font-weight: 400;
    font-size: 16px;
}
.tabular-line{
    width: 100%;
    border-radius: var(--br-md);
    border: 1px solid var(--bg);
    transition: 0.3s all;
}
.modal-table{
    min-width: 400px;
    border-radius: 10px;
    padding: 25px;
    position: fixed;
    margin: auto;
    z-index: 1;
    background-color: var(--main);
}
.tabular-line:hover{
    border: 1px solid var(--accent);
}
.information-table :nth-child(1):hover{
    border: 1px solid var(--bg);
}
.tabular-line >*:nth-child(1){
    width: 88px;
    display: flex;
    justify-content: center;
}
.tabular-line >*:nth-child(2){
    width: 168px;
}
.tabular-line >*:nth-child(3){
    width: 932px;
}
.tabular-line >*:nth-child(4){
    width: 146px;
    display: flex;
    align-items: center;
}
.tabular-line >*:nth-child(5){
    width: 146px;
    display: flex;
    align-items: center;
}
@media screen and (max-width: 1200px) {
    .tabular-line > *:nth-child(3) {
        width: 697px;
    }
}

@media screen and (max-width: 992px) {
    .tabular-line > *:nth-child(3) {
        width: 488px;
    }
}

@media screen and (max-width: 768px) {
    .tabular-line > *:nth-child(3) {
        width: 265px;
    }
}
@media screen and (max-width: 576px) {
    .tabular-line > *:nth-child(3) {
        width: 144px;
        margin: 0;
    }
}
