table form { /*необходимо если есть кнопка в таблице*/
    display: block;
    margin-top: 0em;
    margin-block-end: 0em;
}

table {
    width: 100%;
    padding: 0;
    /*margin: 1px;*/
    font-size: 16px;
    border: 1px solid #797979;
    border-top: none;
    border-spacing: 0;
    border-collapse: separate;
    /*-webkit-border-radius: 5px;*/
    /*-moz-border-radius: 5px;*/
    /*border-radius: 5px;*/
    /*background-color: #24221c;*/
    /*font-size: 12px;*/
    /*color: white;*/
}

table th, table td {
    padding: 5px;
    /*line-height: 18px;*/
    text-align: center;
}

table th {
    /*padding-top: 9px;*/
    font-weight: bolder;
    vertical-align: middle;
    color: #fff;
    background-color: #404040;
    border-right: 1px solid #797979;
}

table td {
    margin: 0;
    vertical-align: top;
    border-top: 1px solid #797979;
}

.tdgood { /*товар*/
    text-align: left;
    font-weight: bold;
}

/*чётные не чётные*/
table tbody tr:nth-child(odd) .backlight {
    background-color: rgba(99, 107, 95, 0.7);
}


/*
table tbody tr:hover td {
    background-color: rgba(206, 167, 217, 0.4);
    cursor: pointer;
}
*/
/*
table tbody tr:hover td:first-child {
    background-color: rgba(206, 167, 217, 0.4);
    cursor: pointer;
}*/

table tbody tr:hover .backlight {
    background-color: rgba(96, 107, 91, 0.9);
    cursor: pointer;
    color: white;
}

/*------*/
td {
    border-top: 1px solid #797979;
}

td {
    border-right: 1px solid #797979;
}

td:last-child {
    border-right: 0px solid #797979;
}

th {
  position: sticky;
  top: 46px;
  /*background: white;*/
  z-index: 2;
}


/*хинт*/
.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 450px;
    background-color: rgba(150, 150, 150, 0.9);
    color: #dbffaf;
    text-align: center;
    border-radius: 3px;
    padding: 5px 0;
    font-weight: lighter;
    font-style: italic;
    position: absolute;
    z-index: 15;
    top: -15px;
    right: 105%;
    z-index: 10;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    z-index: 10;
}

/* Style the tab */
.tab {
    /*min-width: 1000px;*/
    /*width: 100%;*/
    /*display: flex;*/
    /*justify-content: flex-start;*/
    height: 44px;
    position: sticky;
    top: 0;
    z-index: 3;
    overflow: hidden;
    border: 1px solid #797979;
    background-color: #404040;
}

/* Style the buttons inside the tab */
.tab button {
    /*min-width: 300px;*/
    /*display: block;*/
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    color: #5cff17;
    background-color: #404040;
}

.tab button:hover {
    color: white;
    background-color: #585858;
}

.tab button.active {
    background-color: #585858;
    color: #5cff17;
}

.tabcontent {
    display: none;
    /*padding: 6px 12px;*/
    border: none;
}

.inp2 {
    color: #dbffaf;
    float: right;
    /*float: none;*/
    /*display: block;*/
    text-align: left;
    /*width: 100%;*/
    padding: 8px;
    padding-left: 20px;
    margin: 4px;
    margin-left: 40px;
    outline: none;
    font-size: 17px;
    border: none;
    border-radius: 4px;
    background-color: #585858;
}

.inp2:focus{
    box-shadow: 0 0 5px rgba(219, 255, 175, 1);
}

#download {
    margin: 0;
    float: right;
/*    text-align: left;
    padding: 8px;
    padding-left: 20px;
    margin: 4px;
    margin-left: 40px;
    outline: none;
    font-size: 17px;
    border: none;
    border-radius: 4px;
*/
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
/*    padding: 14px 16px;*/
    transition: 0.3s;
/*    font-size: 17px;*/
    color: #dbffaf;
    background-color: rgba(206, 167, 217, 1);

}


#tab2 {
    /*overflow: hidden;*/
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
    margin-left: auto;
    margin-right: auto;
    width: 600px;
}


