:root {
    --accent-color: #FF9100;
    --dark-color:#3B4A51;
    --white-color:#FFF;
}
fieldset {
  padding: 0;
}

.katalog__popup-main-wrapper{
    max-width: 632px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:18px 17px 15px 14px;
    /* padding: 18px 0 15px 0; */
}
.katalog__popup-main-wrapper > h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #CFD0D1;
    padding-bottom: 16px;
    margin-bottom: 32px;
    padding-left: 12px;

}
.katalog__popup-inside-wrapper {
    max-width: 561px;
    width: 100%;
    /* border:1px solid red; */
    display: flex;
    align-self: center;
    margin: 0 13px 0 14px;
    display: flex;
    flex-direction: column;
    margin-bottom: 33px;
}
p.p-error {
    font-weight: 300;
    font-size: 9px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #D60228;
}
.label_article_title {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
}

.label_wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0 10px 0 6px;
}
.top-inside-wrapper {
    margin-bottom: 9px;
}
.top-inside-wrapper:last-child {
    margin-bottom: 0;
}
.top-inside-wrapper > input[placeholder],
.top-inside-wrapper > textarea[placeholder] {
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #E1E1E1;
    color: var(--dark-color);
}
.top-inside-wrapper > input {
    width: 100%;
    padding: 9px 16px;
    border: 1px solid #3B4A51;
    border-radius: 10px;
    outline: none;
    color: var(--dark-color);
}

.top-inside-wrapper > input.required,
.top-inside-wrapper > textarea.required {
    border: 1px solid #D60228;
}
.top-inside-wrapper > textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #3B4A51;
    outline: none;
    padding: 9px 16px;
    height: 147px;

}
.inside-wrapper-bottom {
    margin: 0 13px 40px 14px;
    display: flex;
}
.inside-wrapper-left-block {
    display: flex;
    flex-direction: column;
    /* background: grey; */
    /* width:50%; */
    border-right: 1px solid #CFD0D1;
    max-width: 308px;
    width:100%;
    padding-right: 58px;
    padding-top: 5px;
}
.inside-wrapper-left-block > label {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
    padding-left: 6px;
}
.inside-wrapper-left-block > select {
    max-width: 249px;
    width: 100%;
    height: 40px;
    background: #fff;
    border: 1px solid #3B4A51;
    border-radius: 10px;    
    outline:none;
    color: #707070;
    padding: 9px 16px;
    margin-bottom: 9px;
}
.inside-wrapper-right-block {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    /* padding: 9px 16px; */
    padding-right: 12px;
    padding-top: 5px;

}
.line_center {
    height: 137px;
    width: 1px;
    background: red;
}
.service_cost_wrapper {
    max-width: 195px;
    width: 100%;
    background: #F9F9F9;
    /* background: green; */
    border-radius: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 9.38px 21px 12.56px 21px;
}
.service_cost_wrapper > h4 {
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #8A97A4;
}
.service_cost_wrapper h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #3B4A51;
    margin-top: 27px;
    margin-bottom: 25px;
    white-space: nowrap;
}
.button_popup_order_an_article.flexal-none{
    align-self: auto;
}

.service_cost_wrapper p {
    font-weight: 400;
    font-size: 10px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #8A97A4;
}
.popup_wrapper_bottom_p_button {
    width: 100%;
    /* background: yellow; */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.popup_wrapper_bottom_p_button > button {
    max-width: 140px;
    width: 100%;
    border: 1px solid #DBDBDB;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #FFF;
    cursor: pointer;
    height: 42px;
    outline:none;
}
.popup_wrapper_bottom_p_button > button.not-active {
    background: #8A97A4;
    opacity: 0.3;
}
.popup_wrapper_bottom_p_button > button.active {
    background: #FF9100;
    border: 1px solid #FF9100;
    opacity: 1;
}

.insufficient_funds {
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    /* text-align: center; */
    color: #3B4A51;
    /* margin-bottom: 15px; */
}
.popup-success-wrapper {
    max-width: 632px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:56px 17px 75px 14px;
    height: 442px;
}
.popup-success-wrapper-inside {
    display: flex;
    flex-direction: column;
    border-top:1px solid #CFD0D1;
    align-items: center;
}
.popup-success-img {
    margin-top: 44px;
}
.popup-success-h4 {
    margin-top: 23px;
    font-weight: 700;
    font-size: 22px;
    line-height: 22px;
    color: #3B4A51;
}
.popup-success-p {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    padding-left: 53px;
    padding-right: 49px;
    /* text-align: center; */
/* color: #3B4A51; */

}
.popup-success-button {
    margin-top: 58px;
    max-width: 140px;
    width: 100%;
    height: 42px;
    background: #FF9100;
    border: 1px solid #FF9100;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    cursor: pointer;
}










 /*popup-1 css*/
.popup,
.popup-success {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 999;
    display: none;
    /* overflow: scroll; */
}
.popup-inner,
.popup-inner-success {
    max-width: 623px;
    position: relative;
    margin: 50px 0;
    left: 50%;
    transform: translateX(-50%) rotate(0);
    -webkit-transform: translateX(-50%) rotate(0);
    -moz-transform: translateX(-50%) rotate(0);
    -ms-transform: translateX(-50%) rotate(0);
    -o-transform: translateX(-50%) rotate(0);
  }
  
  .close-popup,
  .close-popup-success {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .close-popup .bar,
  .close-popup-success .bar-success {
    height: 3px;
    background: #333;
    width: 18px;
    transform: rotate(45deg);
    position: absolute;
  }
  
  .close-popup .bar:nth-child(1),
  .close-popup-success .bar-success:nth-child(1) {
    transform: rotate(-45deg);
  }
  
  body.popup-active {
    overflow: hidden;
  }
  
  body.popup-active .popup {
    overflow-y: scroll;
  }

