:root {
    --accent-color: #FF9100;
    --dark-color:#3B4A51;
    --white-color:#FFF;
}
fieldset {
  padding: 0;
}

.katalog__popup-main-wrapper{
    max-width: 623px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:18px 17px 22px 14px;
}
.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;
    display: block;
    margin-bottom: 32px;
} 

/* 
.new_article_popup-inside-wrapper {
    padding-left: 18px;
    padding-right: 14px;
}
.new_article-label_wrapper {
    padding-left: 6px;
    padding-right: 7px;
    display: flex;
    justify-content: space-between;
}
label.new_article-label_title {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
}
input.new_article-input_title {
    max-width: 560px;
    width: 100%;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #D60228;
    border-radius: 10px;
    outline:none;
    padding: 9px 0 9px 16px;
    margin-bottom: 9px;
}
input.new_article-input_title.required {
    border: 1px solid #D60228;
}
input[placeholder].new_article-input_title {
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #E1E1E1;
    color: var(--dark-color);
}
.new_article-p-error {
    font-weight: 300;
    font-size: 9px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #D60228;
}
.new_article-top-inside-wrapper {
    display: flex;
    flex-direction: column;
}
.new_article-top-inside-wrapper > label {
    padding-left: 6px;
}
select.new_article-select_format {
    background: #FFFFFF;
    border: 1px solid #3B4A51;
    border-radius: 10px;
    max-width: 560px;
    width:100%;
    height: 40px;
    outline:none;
    padding: 9px 0 9px 16px;
    margin-bottom: 16px;
}
.new_article-download-wrapper {
    display: flex;
    padding-left: 18px;
    padding-right: 14px;
}
.new_article-download-wrapper-left {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 178px;
    margin-right: 48px;
}
.new_article-input_title-bottom {
    height: 40px;
    max-width: 334px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #3B4A51;
    border-radius: 10px;
    outline:none;
    padding: 9px 0 9px 19px;
}
.new_article-download-wrapper-right > .new_article-label_title {
    padding-left: 6px;
}
.new_article-download-wrapper-left > a {
    display: flex;
    background: var(--accent-color);
    max-width: 178px;
    width: 100%;
    border: 1px solid #FF9100;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    height: 42px;
    padding: 10px 10.5px 10px 13.5px;
    justify-content: space-between;
}
.new_article-download-wrapper-left > h4 {
    padding-left: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
}

.popup_wrapper_bottom_p_button {
    display: flex;
    flex-direction: column;
}
button.button_popup_order_an_article {
    align-self: flex-end;
    margin-right: 14px;
    margin-top: 28px;
    background:var(--accent-color);
    border: 1px solid #FF9100;
    border-radius: 15px;
    max-width: 140px;
    width: 100%;
    height: 42px;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    cursor: pointer;
}

.addproject-p-error {
    font-weight: 300;
    font-size: 9px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #D60228;
}
.insufficient_funds {
    text-align: center;
    margin-top: 17px;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: #3B4A51;
} */

.popup-success-wrapper {
    max-width: 424px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:56px 17px 75px 14px;
    height: 319px;
}
.popup-success-wrapper-inside {
    display: flex;
    flex-direction: column;
    border-top:1px solid #CFD0D1;
    align-items: center;
}
.popup-success-img {
    margin-top: 18px;
}
.popup-success-h4 {
    margin-top: 13px;
    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: 28px; */
    /* padding-right: 28px; */
}
.popup-success-button {
    margin-top: 28px;
    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-btn,
  .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-btn .bar,
  .close-popup-success .bar-success {
    height: 3px;
    background: #333;
    width: 18px;
    transform: rotate(45deg);
    position: absolute;
  }
  
  .close-popup-btn .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;
  }

/*   :root {
    --accent-color: #FF9100;
    --dark-color:#3B4A51;
    --white-color:#FFF;
}
fieldset {
  padding: 0;
}
.katalog__popup-main-wrapper{
    max-width: 623px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:18px 17px 28px 14px;
}
.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;
    display: block;
    margin-bottom: 32px;
} 

 */

.addcomments__popup-inside-wrapper {
    padding: 0 13px 0 18px;
}
.addcomments-label_wrapper {
    display: flex;
    justify-content: space-between;
}
.addcomments-label_article_title {
    padding-left: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
}
textarea.addcomments-textarea-article-title {
    max-width: 561px;
    width: 100%;
    height: 147px;
    background: #FFFFFF;
    border: 1px solid #3B4A51; 
    border-radius: 10px;
    padding: 9px 0 0 16px;
    outline:none;
}
textarea.addcomments-textarea-article-title .requared {
    border: 1px solid #D60228;
}
.addcomments-middle-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}
.addcomments-middle-wrapper > span {
    margin-right: 10px;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #34A853;
    align-items: center;
    justify-content: center;
    display: flex;
}
.addcomments-middle-wrapper > span > img {
    margin-right: 5px;
}
.addcomments-middle-wrapper > button {
    max-width: 140px;
    width: 100%;
    background: var(--accent-color);
    height: 42px;
    border: 1px solid #FF9100;
    border-radius: 15px;
    color:#FFF;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: -0.02em;
}
.addcomments-table-wrapper > h4 {
    padding-left: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #707070;
    margin-bottom: 11px;
}
.addcomments-p-error {
    font-weight: 300;
    font-size: 9px;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: #D60228;
}

 /*popup-1 css*/
.popup_add_comments,
.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-main,
.popup-inner-success {
    max-width: 424px;
    position: relative;
    margin: 50px 0 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;
  }

  /* balance table */
table.addcomments-info-table {
    display: grid;
    border-collapse: collapse;
    min-width: 100%;
    grid-template-columns: 
      minmax(196px, 1fr)
      minmax(78px, 1.67fr)
      minmax(279px, 1.67fr);
  }
  tbody.tbody__addcomments-info,
  tr.tr__addcomments-info {
    display: contents;
  }
  td.td__addcomments-info,
  td.td__addcomments-info_background {
    padding: 8.5px 9px 8.5px 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #3B4A51;
    text-align: left;
    border-top:1px solid var(--dark-color);
    margin-right: 1px;
    line-height: 14px;

  }
  td.td__addcomments-info_background {
    background: #F9F9F9;
  }