:root {
    --accent-color: #FF9100;
    --dark-color:#3B4A51;
    --white-color:#FFF;
}
fieldset {
    padding: 0;
}
.katalog__popup-basket {
    max-width: 800px;
    width: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    background:var(--white-color);
    padding:16px 15px 12px 15px;
    max-height: 500px;
    overflow: auto;
    height: 100%;
}

.popup-inner.inner-bask{
    max-width: 800px;
}

.add__to-basket {
    border-bottom: 1px solid #CFD0D1;
}
.add__to-basket h2 {
    font-family: 'Raleway';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    margin-left: 11px;
}
.main__block-product-description-wrapper {
    display: flex;
    margin-top: 28px;
    border-bottom: 1px solid #CFD0D1;
}
.product__description-p {
    font-family: 'Raleway';
    font-weight: normal;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #3B4A51;
}
.product__description-p strong {
    margin-right: 10px;
}
.product__description-line {
    height: 107px;
    border: 0.5px solid #CFD0D1;
    margin-bottom: 28px;
}
.project-selection-description-line {
    margin-top: 26px;
    border: 0.5px solid #CFD0D1;
}
.product__description-p > a {
    color: #007AB9;
}
.adress--tb {
    position: relative;
}
.new_tab {
    position: absolute;
    top:0px;
}
.product__description-span-price {
    padding: 5px;
    color:var(--white-color);
    background:var(--accent-color);
    border-radius: 3px;
}
.left__block-product-description-wrapper {
    width: 424.5px;
    padding-left: 20px;
}
.right__block-productproduct-description-wrapper {
    width: 344.5px;
    padding-left: 50px;
}

.left__block-project-selection-wrapper h2 {
    font-family: 'Raleway';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
}
/* tooltip */
.left__block-project-selection-tooltip-wrapper {
    display: flex;
    margin-top: 21px;
    align-items: center;
}
.tooltip {
    margin-left: 12px;
    position: relative;
    display: inline-block;
    background:url('../img/popup_1/info_tooltip.svg') no-repeat;
    width: 13px;
    height: 13px;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #3B4A51;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}
span.tooltiptext {
    font-size: 12px;
}
/* tooltip end */

.main__block-project__selection-wrapper,
.left__block-project-selection-item {
    display: flex;
}
.left__block-project-items-wrapper {
    margin-top: 18px;
}
.left__block-project-selection-item p {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
}
.left__block-project-selection-fp {
    border-bottom:0.5px solid #3B4A51;
    width: 182px;
    margin-right: 1px;
}
.left__block-project-selection-sp {
    width:76px;
    border-bottom:0.5px solid #3B4A51;
    text-align: center;
}
.left__block-project-selection-button-wrapper {
    border-bottom:0.5px solid #3B4A51;
    margin-left: 1px;
}
.left__block-project-selection-item label{
    border-radius: 5px;
    border:none;
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    color:var(--white-color);
    padding: 1px 4px;
    cursor: pointer;
    background: #FF9100;
}


.left__block-project-items-wrapper input{
    display: none;
}

.left__block-project-items-wrapper input:checked + label {
    background: #8A97A4;
}

.show__more-projects,
.show__more-articles {
    margin-top: 8px;
}
.show__more-projects a,
.show__more-articles-a{
    font-weight: 400;
    font-size: 10px;
    line-height: 22px;
    text-decoration-line: underline;
    color: #8A97A4;
}
.show__more-projects a:after,
.show__more-articles a:after {
    background-image: url('../img/popup_1/arrow_down.svg');
    background-repeat: no-repeat;
    width:10px;
    height:5px;
    display: inline-block;  
    content:'';
    margin-left: 5px;
    margin-bottom: -1px;
}
.show__more-projects-a.active:after,
.show__more-articles-a.active-articles::after {
    background-image: url('../img/popup_1/arrow_up.svg');
}
.left__block-project-selection-wrapper {
    width: 423.8px;
    padding-left: 11px;
}
.right__block-project-selection-wrapper {
    display: flex;
    align-items:center;
    width: 344.5px;
    padding-left: 50px;
}
.right__block-project-selection-non-active,
.right__block-project-selection-active {
    background: #F9F9F9;
    border-radius: 15px;
    padding: 12px;
}
.right__block-project-selection-non-active p,
.right__block-project-selection-active p {
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #CFD0D1;
    background: #F1F2F2;
    border-radius: 5px;
    padding: 5px;
}
.right__block-project-selection-active p {
    background: #FF9100;
    font-size: 15px;
    color:var(--white-color);
}
.article__selection-wrapper-non-active,
.article__selection-wrapper-active {
    border-top: 1px solid #CFD0D1;
    margin-top: 21px;
    padding-left: 11px;
}
.article__selection-wrapper-non-active h2,
.article__selection-wrapper-active h2 {
    font-weight: 700;
    font-size: 16px;    
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #3B4A51;
}
.article__selection-wrapper-non-active h2 {
    opacity: 0.3;
}
.article__selection-wrapper-active h2 {
    opacity: 1;
}
.article__selection-tooltip-wrapper {
    display: flex;
    align-items: center;
    margin-top: 21px;
    margin-bottom: 13px;
}
.article__selection-filters-wrapper button {
    background:transparent;
    opacity: 0.3;
    border: 0.5px solid #3B4A51;
    border-radius: 5px;
    padding: 6px 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.05em;
}
.article__selection-wrapper-active > .article__selection-filters-wrapper > button {
    opacity: 1;
}
.article__selection-wrapper-non-active > .article__selection-info {
    margin-top: 47px;
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #3B4A51;
    opacity: 0.3;
    margin-bottom: 26px;
}
.article__selection-info {
    margin-top: 21px;
    margin-bottom: 21px;
    max-height: 210px;
    overflow: auto;
}
/**************TABLE*************************/
table.table__article-selection-info {
    display: grid;
    border-collapse: collapse;
    min-width: 100%;
    grid-template-columns: 
      minmax(38px, 1fr)
      minmax(270px, 1.67fr)
      minmax(62px, 1.67fr)
      minmax(121px, 1.67fr)
      minmax(136px, 3.33fr)
      minmax(111px, 1.67fr);
  }
  
  thead.thead__article-selection-info,
  tbody.tbody__article-selection-info,
  tr.tr__article-selection-info {
    display: contents;
  }
  
  .tr__article-selection-info > th,
  .tr__article-selection-info > td {
    padding: 6px 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #3B4A51;
    text-align: center;
    border-bottom:1px solid var(--dark-color);
    margin-right: 1px;
  }
  
  th.title__article-selection-info {
    position: sticky;
    top: 0;
    text-align: center;
    position: relative;
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color:var(--white-color);
    background: #3B4A51;
    border-radius: 5px;
    margin-right: 1px;
  }
  th.title__article-selection-info:last-child {
    margin-right: 0px;
  }  
  th:last-child {
    border: 0;
  }
  .resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0;
    width: 3px;
    cursor: col-resize;
  }
  .resize-handle:hover,
  /* The following selector is needed so the handle is visible during resize even if the mouse isn't over the handle anymore */
  .header--being-resized .resize-handle {
    opacity: 0.5;
  }
  th:hover .resize-handle {
    opacity: 0.3;
  }
  .title__article-selection-info > td {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  tr.title__article-selection-info:hover > td { 
    background: #F9F9F9;
   }
  .tr__catalog-main-info > td {
    font-size: 12px;
    text-align: center;
    border-bottom: 1px solid var(--dark-color);
  }

.td__article-selection-main-info input{
    display: none;
}

 .td__article-selection-main-info label {
    background:var(--accent-color);
    border-radius: 5px;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    color: #FFFFFF;
    border:0;
    cursor: pointer;
     display: block;
 }

 .table__article-selection-info input:checked + label{
     background:#8A97A4;
 }

 .project__basket {
    padding-left: 11px;
    padding-right: 15px;
    border-top:1px solid #CFD0D1;
 }
 .project__basket-wrapper-form-non-active,
 .project__basket-wrapper-form-active {
    display: flex;
 }
 .project__basket h2 {
    margin-top: 21px;
    margin-bottom: 21px;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
    color: #3B4A51;
 }
 .project__basket-wrapper-form-items:first-child {
    width: 172px;
 }
 .project__basket-wrapper-form-items {
    background: #F9F9F9;
    border-radius: 10px;
    padding: 4px 10px 11px 10px;
    margin-right: 6px;
    width: 195px;
 }
 .project__basket-wrapper-form-items:last-of-type {
    margin-right: 14px;
 }
 .project__basket-wrapper-form-items label {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    color: #3B4A51;
    opacity: 0.3;
 }
 .project__basket-wrapper-form-active > .project__basket-wrapper-form-items label {
    opacity: 1;
 }
 .project__basket-wrapper-form-items input {
    background: #8A97A4;
    opacity: 0.3;
    border-radius: 5px;
    border:none;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    color: var(--white-color);
    padding: 3.5px 10px;
    width: 100%;
 }
 .project__basket-wrapper-form-active > .project__basket-wrapper-form-items input {
    opacity: 1;
    background: var(--accent-color);
 }
 .project__basket-wrapper-form-items input:focus {
    outline: none;
 }

 .project__basket-wrapper-form-active > button{

    border-radius: 10px;
    border:none;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 22px;
    color: var(--white-color);
    opacity: 0.3;
    max-width: 156px;
    width: 100%;
    cursor: default;

 }
 .project__basket-wrapper-form-active > button {
    background: #34A853;
    opacity: 1;
    cursor: pointer;
 }
.project__basket-wrapper-form-active > button:disabled {
    background: #8A97A4;
    cursor: default;
}

 .project__basket-info {
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    color: #000000;
    text-align: center;
    margin-top: 13px;
 }

/*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;
}
.popup-inner,
.popup-inner-success {
    max-width: 800px;
    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;
  }

/* POPUP SUCCESS */
.popup__success-basket {
    width: 800px;
    background: var(--white-color);
    border: 1px solid #FF9100;
    border-radius: 10px;
    padding: 20px 15px;
}
.popup__success-wrapper {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items:center;
    border-top:1px solid #CFD0D1;
    padding-top: 34px;
}
.popup__success-wrapper img {
    width: 62px;
    height: 62px;
}
.popup__success-wrapper h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 22px;
    color: #3B4A51;
    margin-top: 13px;
}
.popup__success-wrapper p {
    margin-top: 16px;
    display: block;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #3B4A51;
}
.popup__success-wrapper-a {
    margin-top: 46px;
    display: flex;
}
.popup__success-wrapper-a a:first-child {
    margin-right: 19px;
}
.popup__success-wrapper-a a {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
    text-decoration-line: underline;
    color: #007AB9;
    margin-bottom: 19px;
}