/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
:root {
  --main_font_size: 13px;
  --СлабыйСерыйЦвет: #d6d9df7e;
  --ОсновнойФон: #ebf1f4;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

a {
  text-decoration: none;
  font-size: var(--main_font_size);
  color: #607080;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
body {
  font-family: Verdana, sans-serif;
  font-size: var(--main_font_size);
  color: #607080;
}
.container {
  width: 1170px;
  background-color: var(--ОсновнойФон);
  margin: auto;

  border-left: solid 2px #9cacbb;
  border-right: solid 2px #9cacbb;

  border-bottom: solid 2px #9cacbb;

  padding: 20px;
}

table {
  width: 100%;
  text-align: left;
  column-width: auto;
  margin-top: 15px;
  font-size: var(--main_font_size);
  border-spacing: 0;
  border: 1px solid #9cacbb;
  border-collapse: collapse;
  box-shadow: 0 5px 5px -7px rgba(34, 60, 80, 0.6);
  tr:nth-child(even) {
    background-color: #d6d9df7e;
  }
  th {
    font-size: var(--main_font_size);
    color: #607080;
    font-weight: bold;
    padding-bottom: 7px;
    padding-top: 7px;
    border: 1px solid #738699;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
    padding-left: 5px;
    padding-right: 5px;
    &.ИнНоменклатура {
      display: none;
    }
  }
  td {
    padding-top: 4px;
    padding-bottom: 4px;
    border-left: 1px solid #9cacbb;
    padding-left: 4px;
    padding-right: 4px;
    &.Количество {
      text-align: right;
    }
    &.Цена {
      text-align: right;
    }
    &.НДСПроцент {
      text-align: right;
    }
    &.ИнНоменклатура {
      display: none;
      text-align: right;
    }

    &.NomerStroki {
      text-align: center;
    }
  }
  th {
    background: url(/img/bg-linear-main.svg);
  }
  td::first-child {
    background-color: #0083fd;
  }
}

.H2 {
  margin-bottom: 25px;
}

.button {
  img {
    height: 15px;
  }
  text-align: center;
  display: flex;
  gap: 5px;
  padding-left: 10px;
  font-size: normal;
  font-weight: 700;
  padding-right: 10px;
  text-transform: none;
  line-height: normal;
  text-rendering: auto;
  appearance: auto;
  padding-top: 3px;
  padding-bottom: 3px;
  text-decoration: none;
  color: #607080;
  border: 1px solid #738699;
  background: url(/img/bg-linear-main.svg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.top-menu {
  width: 1210px;
  background-color: #ebf1f4;
  margin: auto;
  font-family: Verdana, sans-serif;
  color: #607080;
  border: solid 2px #9cacbb;
  background: url(/img/bg-linear-main.svg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);

  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.table-menu {
  display: flex;
  justify-content: end;
  gap: 10px;
}

.ItogoPoTovaram {
  text-align: end;
  margin-top: 20px;
}

.topmenu-left {
  display: flex;
  button {
    img {
      height: 15px;
    }
    height: 100%;
    display: flex;
    border: none;
    border-right: 1px solid #738699;
    gap: 5px;
    font-size: var(--main_font_size);
    font-weight: bold;
    text-transform: none;
    line-height: normal;
    text-rendering: auto;
    appearance: auto;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 20px;
    padding-right: 20px;
    text-decoration: none;
    color: #607080;
    background: url(/img/bg-linear-main.svg);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  }
}

.topmenu-right {
  display: flex;
  button {
    img {
      height: 15px;
    }
    height: 100%;
    border: none;
    border-left: 1px solid #738699;
    display: flex;
    gap: 5px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: var(--main_font_size);
    font-weight: bold;
    text-transform: none;
    line-height: normal;
    text-rendering: auto;
    appearance: auto;
    padding-top: 3px;
    padding-bottom: 3px;
    text-decoration: none;
    color: #607080;
    background: url(/img/bg-linear-main.svg);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  }
}
.ндс {
  word-wrap: none;
}
.dropdown-menu {
  .dropdown-menu-ul {
    margin-top: 1px;
    margin-left: -1px;
    display: none;
    flex-direction: column;
    border-top: 1px solid #9cacbb;
    border-left: 1px solid #738699;
    border-right: 1px solid #738699;
    border-bottom: 1px solid #738699;
    text-shadow: none;
    background-color: white;
    position: absolute;
    width: fit-content;

    li {
      padding-left: 20px;
      padding-right: 20px;

      padding-bottom: 6px;
      padding-top: 6px;
      &:hover {
        background-color: #607080;
      }

      a {
        &:hover {
          color: white;
        }
      }
    }
  }
}
.dropdown-menu:hover .dropdown-menu-ul {
  display: flex;
}

.dropdown_list{
  display: none;
  box-sizing: border-box;
  position: absolute;
  width: inherit;
  top: anchor(bottom);
  left: anchor(left);
  background-color: white;
  border: 1px solid #9cacbb;
  border-top:none;
   li {
      padding-left: 5px;
      padding-right: 5px;

      padding-bottom: 5px;
      padding-top: 5px;
      &:hover {
        background-color: #607080;
        color: white;
      }

}
