#saleQueryForm {
    display: none
}
#saleQueryForm .firstStageForm,
#saleQueryForm .lastStageForm {
    flex-direction: column;
}

#saleQueryForm .modalWinContent {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 5px;
    background: var(--White, #FFF);
}

#saleQueryForm.active {
    display: block;
}
#saleQueryForm .headinForm {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

#saleQueryForm .fieldBlock {
    height: 78px;
    padding-top: 15px;
}

#saleQueryForm .fieldBlock.active {
    padding-top: 0;
}

#saleQueryForm .fieldBlock .fieldBlock__title {
    display: none;
}
#saleQueryForm .fieldBlock.active .fieldBlock__title {
    display: block;
    color: var(--text-color-50);
    font-size: 12px;
    font-weight: 500;
    padding-left: 10px;
}
#saleQueryForm .fieldBlock .fieldForm  {
    height: 50px;
    border-radius: 5px;
    border: 1px solid rgba(42, 42, 42, 0.20);
    background-color: #fff;
}
#saleQueryForm .fieldBlock.error_status .fieldForm  {
    border-color: #F91155;
}

#saleQueryForm .fieldBlock .fieldForm:focus {   
    border-color: #F7BC58;
}

#saleQueryForm .fieldBlock.active.error_status .fieldForm:focus {
    border-color: #F91155;
}

@media(min-width: 768px) {
    #saleQueryForm .fieldBlock .fieldForm:hover {
        border-color: #F7BC58;
    }
    #saleQueryForm .fieldBlock.error_status .fieldForm:hover {
        border-color: #F91155;
    }
}

#saleQueryForm .textForm {
    display: grid;
    gap: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 135%;
    margin-bottom: 20px;
}
#saleQueryForm .product_info {
    display: grid;
    gap: 5px;
    background: #F2F3F5;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 135%;
}
#saleQueryForm .priceAdetaBlock {
    display: flex;
    justify-content: space-between;
}
#saleQueryForm form.saleQuery {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
#saleQueryForm input[type="text"], #saleQueryForm input[type="number"], #saleQueryForm input[type="tel"], #saleQueryForm input[type="email"] {
    display: block;
    width: 100%;
    height: 40px;
    padding: 10px 15px;
    background: 0 0;
    border: 1px solid #bfbfbf;
    border-radius: 0;
    color: #000;
    font-weight: 400;
    font-size: 14px;
}
#saleQueryForm form.saleQuery {
    margin: 20px 0;
}
#saleQueryForm .rowSaleProcent {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin: 8px 0 25px 0;
}
#saleQueryForm .radioProcent:hover {
    background: #78A6F3;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
#saleQueryForm .radioProcent.active {
    background: #78A6F3;
    color: #fff;
	overflow: hidden;
    border-radius: 5px;
}
#saleQueryForm .textProcent {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.32px;
    background: rgba(120, 166, 243, 0.35);
    border-radius: 5px;
    width: 100px;
    height: 45px;
}
#saleQueryForm input.saleProcent {
    display: none;
}
#saleQueryForm .messageField {
    display: none;
}
#saleQueryForm .messageField.active {
    display: block;
    padding: 4px 0 0 10px;
    margin: 0;
    color: #F91155;
    font-size: 12px;
    font-weight: 500;
}

#saleQueryForm .submitBut {
    font-size: 18px;
    height: 50px;
    width: 100%;
    font-weight: 600;
}

#saleQueryForm .butExit {
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background-size: 24px;
    background-position: center;
}

#saleQueryForm .lastStageForm__header div {
    display: flex;
    justify-content: center;
}

#saleQueryForm .lastStageForm__header p {
    margin-top: 10px;
    line-height: 18px;
    color: var( --blue-color );
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.15px;
}
#saleQueryForm .lastStageForm__text {
    margin-top: 45px;
    text-align: center;
    color: var(  --text-color );
}

#saleQueryForm .lastStageForm__text__h1 {
    font-size: 20px;
    font-weight: 600;
}
#saleQueryForm .lastStageForm__text__h2 {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 400;
    line-height: 135%
}
#saleQueryForm .lastStageForm__img {
    margin-top: 60px;
    width: 100%;
}

#saleQueryForm  .lastStageForm__btn {
    display: none;
}

@media( max-width: 768px ) {
    #saleQueryForm .modalWinContent {
        padding:20px;
        height: 100%;
        width: 100%;
        margin: 0 auto;
    }
    #saleQueryForm .headinForm {
        margin: 20px 0 15px 0;
    }
    #saleQueryForm .textForm {
        margin-bottom: 15px;
        font-size: 14px;
    }

    #saleQueryForm .product_info {
        font-size: 12px;
    }
    #saleQueryForm form.saleQuery {
        margin: 10px 0 0 0;

    }
    #saleQueryForm .lastStageForm__header {
        margin-top: 10px;
    }
    #saleQueryForm .lastStageForm__img {
        width: 220px;
        order: 0;
        margin: 30px auto 0;
    }
    #saleQueryForm .lastStageForm__text {
        margin-top: 35px;
        order: 1;
    }
    #saleQueryForm .lastStageForm__text__h2 {
        margin-top: 15px;
        font-size: 16px;
    }

    #saleQueryForm  .lastStageForm__btn {
        margin-top: 25px;
        display: block;
        order: 2;
        height: 50px;
        background-color: var(--blue-color);
        border: none;
        border-radius: 5px;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }
}