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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
    box-sizing: border-box;
}

/* /////////////////////////////////////////////// */

:root {
    --base-updown-mar: 20px 0 20px 0;
    --base-updown-mar-small: 10px 0 10px 0;

    --text-color-back: rgb(97, 97, 97);
    --item-a-color: rgb(78, 138, 217);
}

html {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    
}

body {

}

h2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 30px;
}
h3 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
}

input {
    display: block;
    width: 100%;

    padding: 5px 10px;

    border: 1px solid var(--item-a-color);
    border-radius: 3px;
    outline: none;

    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    
}
input:focus {
    
}

.main select, option {
    width: 100%;

    width: 100%;

    padding: 5px 10px;
}

.red {
    background: rgb(218, 92, 103) !important;
}
.green {
    background: rgb(89, 214, 89) !important;
}
.acent {
    background: var(--item-a-color) !important;
}

.white-text {
    color: white !important;
}

#ID {
    font-size: 16px;
    color: rgb(184, 184, 184);
}

.visible {
    display: block !important;
}
.no-visible {
    display: none !important;
}
.no-scroll {
    overflow: hidden;
}

/* //////////////////////////////////////////// */

.main {
    position: relative;
    width: 100%;
    height: 100%;
}

.container {
    position: relative;
    margin: 0 auto;
    margin: 0 60px;
}

.header, .content {
    position: relative;
    width: 100%;
    margin: var(--base-updown-mar);

}

.main button {

    padding: 10px 25px;

    background: var(--item-a-color);
    border: none;
    border-radius: 3px;

    color: white;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 18px;
    transition: .3s;
}
.main button:hover {
    filter: brightness(1.1);
    cursor: pointer; 
} 
.main button:active {
    filter: brightness(1.3);
}



/* header */
.header h2 {
    margin-bottom: 30px;
}

.header__menu {
    display: flex;
    margin: var(--base-updown-mar-small);
}

.header__menu > * {
    margin-right: 10px;
}

.header__menu__sum {
    display: flex;
    align-items: center;
}
.header__menu__sum > *{
    margin-right: 5px;
}
.header__menu__sum p {
    display: flex;
    align-items: center;    
    height: 100%; 
    color: var(--text-color-back);
    font-weight: 400;
    font-size: 24px;
}
.header__menu__sum span {
    font-weight: 500;
    font-size: 24px;
}

/* content */

/* TABLE */

.data-table {
    position: relative;
    width: 100%;
    height: auto;
    table-layout: auto;
}

.data-table table {
    width: 100%;
    height: auto;
    table-layout: auto;  

    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.data-table thead{
    width: 100%;
    height: auto;
    background: var(--item-a-color);

    color: white;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 18px;
    transition: .3s;
}
.data-table tfoot {
    width: 100%;
    height: auto;
    background: var(--item-a-color);

    color: white;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 18px;
    transition: .3s;
}
.total-cos {
    font-weight: 700;
    font-size: 20px;
}

.data-table tbody tr:nth-child(even) {
    background: rgb(236, 240, 241);
}
.data-table th, td {
    position: relative;
    height: auto;
    padding: 10px 20px;
    text-align: start;
    text-wrap: wrap;
    word-wrap: break-word;
    white-space: normal;
    
}

.data-table__action-foot {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    width: 100%;
    min-height: 60px;
    padding: 10px;

    background: rgb(236, 240, 241);
    border: solid 1px var(--item-a-color);
    border-top: none;
}

/* ////////////////////////////////////// pop */

.black__back-create, .black__back-delete, .black__back-edit{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%);

    background: rgba(0, 0, 0, 0.397);
    width: 300vw;
    height: 300vh;
}

.create__sdelka_pop, .edit__sdelka_pop, .delete__sdelka_pop {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);

    padding: 50px;
    padding-top: 30px;

    border-radius: 5px;

    background: var(--item-a-color);
    
    z-index: 10;

    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 18px;
}
.create__sdelka_pop button, .delete__sdelka_pop button, .edit__sdelka_pop button{
    background: white;
    color: rgb(75, 75, 75);
}
.create__sdelka_pop h3, .delete__sdelka_pop h3, .edit__sdelka_pop h3{
    color: white;
    margin-bottom: 20px;
}

