@font-face {
  font-family: "Digital";
  src: url("../fonts/digital-7.woff") format("woff");
  font-weight: 1;
  font-style: normal;
}
@font-face {
  font-family: "Arimo-Regular";
  src: url("../fonts/Arimo-Regular.woff2") format("woff2")
    url("../fonts/Arimo-Regular.woff") format("woff");
  font-weight: 1;
  font-style: normal;
}
@font-face {
  font-family: "Arimo-Italic";
  src: url("../fonts/Arimo-Italic.woff2") format("woff2")
    url("../fonts/Arimo-Italic.woff") format("woff");
  font-weight: 1;
  font-style: italic;
}
@font-face {
  font-family: "Arimo-Medium";
  src: url("../fonts/Arimo-Medium.woff2") format("woff2")
    url("../fonts/Arimo-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Arimo-MediumItalic";
  src: url("../fonts/Arimo-MediumItalic.woff2") format("woff2")
    url("../fonts/Arimo-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Arimo-SemiBold";
  src: url("../fonts/Arimo-SemiBold.woff2") format("woff2")
    url("../fonts/Arimo-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Arimo-SemiBoldItalic";
  src: url("../fonts/Arimo-SemiBoldItalic.woff2") format("woff2")
    url("../fonts/Arimo-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: "Arimo-Bold";
  src: url("../fonts/Arimo-Bold.woff2") format("woff2")
    url("../fonts/Arimo-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Arimo-BoldItalic";
  src: url("../fonts/Arimo-BoldItalic.woff2") format("woff2")
    url("../fonts/Arimo-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

/*h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}*/

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

/*button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}*/

input:focus,
input:active,
textarea:focus,
textarea:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}
body {
  background-image: url(../img/main-background.svg);
  font-family: "Arimo-Regular", sans-serif;
}
header {
 /* height: 50px;*/
  background-image: url(../img/metall-background.svg);
 /* display: flex;*/
  /*justify-content: space-between;*/
  box-shadow: 5px 8px 10px rgb(0 0 0 / 65%);
}
.logo {
  position: relative;
  width: 127px;
  height: 46px;
  background-image: url(../img/logo.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 2px 8px;
}
.logo a {
  display: block;
  width: 100%;
  height: 100%;
}
.personal-wrapper {
  display: flex;
  padding: 0 20px;
}
.personal {
  position: relative;
  width: 41px;
  height: 38px;
  margin: 6px 15px;
  background-image: url(../img/personal.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.personal a {
  display: block;
  width: 100%;
  height: 100%;
}
.exit {
  position: relative;
  width: 41px;
  height: 38px;
  margin: 6px 15px;
  background-image: url(../img/exit.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.exit a {
  display: block;
  width: 100%;
  height: 100%;
}
main {
    display: grid;
    /*    grid-template-columns: 175px 2fr 1fr;*/
    /*grid-template-columns: 175px 2fr;*/
    margin-top: 15px;
    height: 90vh;
}
#left-menu .menu-section {
  position: relative;
  width: 90px;
  height: 130px;
  background-color: #ffffff;
  border: 2px solid #8a8b8f;
  border-radius: 16px;
  margin: 0 auto 20px;
  box-shadow: 8px 8px 12px rgb(0 0 0 / 75%);
}

#left-menu .menu-section a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #8a8b8f;
  font-size: 14px;
}

#left-menu .menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#left-menu .menu-icon {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#left-menu .menu-text {
  text-align: center;
  padding-top: 10px;
}

#left-menu .active {
  background-image: url(../img/metall-background.svg);
}

#left-menu .active a {
  color: #ffffff;
}

#left-menu .menu-section .icon-monitor {
  width: 53px;
  height: 53px;
  background-image: url(../img/monitor.svg);
}

#left-menu .menu-section .icon-birzha {
  width: 44px;
  height: 61px;
  background-image: url(../img/birzha.svg);
}

#left-menu .menu-section .icon-work-app {
  width: 54px;
  height: 60px;
  margin-left: 10px;
  background-image: url(../img/work.svg);
}

#left-menu .menu-section .icon-app {
  width: 38px;
  height: 56px;
  background-image: url(../img/app.svg);
}

#left-menu .menu-section .icon-available {
  width: 55px;
  height: 46px;
  background-image: url(../img/available.svg);
}

#left-menu .menu-section .icon-telegram {
  width: 55px;
  height: 46px;
  background-image: url(../img/telegram.svg);
}

#left-menu .active .icon-monitor {
  width: 53px;
  height: 53px;
  background-image: url(../img/monitor-white.svg);
}

#left-menu .active .icon-birzha {
  width: 44px;
  height: 61px;
  background-image: url(../img/birzha-white.svg);
}



#left-menu .icon-home {
    width: 44px;
    height: 61px;
    background-image: url(../img/home.svg);
}

#left-menu .icon-service {
    width: 44px;
    height: 61px;
    background-image: url(../img/service.svg);
}

#left-menu .icon-zapchasty {
    width: 44px;
    height: 61px;
    background-image: url(../img/zapchasty.svg);
}

#left-menu .icon-fuel {
    width: 44px;
    height: 61px;
    background-image: url(../img/fuel.svg);
}




#left-menu .active .icon-work-app {
  width: 54px;
  height: 60px;
  margin-left: 10px;
  background-image: url(../img/work-white.svg);
}

#left-menu .active .icon-app {
  width: 38px;
  height: 56px;
  background-image: url(../img/app-white.svg);
}

#left-menu .active .icon-available {
  width: 55px;
  height: 46px;
  background-image: url(../img/available-white.svg);
}

#left-menu .active .icon-telegram {
  width: 55px;
  height: 46px;
  background-image: url(../img/telegram-white.svg);
}

.table-container {
    width: 100%;
    max-height: 82vh;
    overflow: auto;
    border: 3px solid #8a8b8f;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 8px 10px 10px rgb(0 0 0 / 55%);
}
.table-container table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
}
.table-container table th {
  position: sticky;
  top: 0;
  background: #fff;
  /*color: #61799f;*/
  font-weight: bold;
  text-align: left;
  border: 1px solid grey;
}
    .table-container table tr td {
        border: 1px solid grey;
    }
    .table-container .tab tbody tr:nth-child(2n + 1) {
        background: lightgray;
    }
.table-container table th:focus-visible {
  outline: none;
}
.table-container table td,
th {
  padding: 10px;
  text-align: left;
  font-size: 20px;
/*  cursor: pointer;*/
}
.table-container::-webkit-scrollbar {
  width: 8px;
}
.table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(
    -83deg,
    rgba(120, 144, 183, 1) 0%,
    rgba(51, 94, 164, 1) 100%
  );
  border-radius: 3px;
}
.table-container::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.table-container table tr:has(> td[colspan]) {
  color: #fff;
  background-color: #61799f;
}

.table-container table .parent {
  background: #d6e2f3;
}

.table-container table .parent td:first-child::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  background: url(../img/hidden.svg) no-repeat;
}

.table-container table .hidden-icon td:first-child::before {
  transform: rotate(180deg);
}

.table-container table .child td:first-child {
  padding-left: 45px;
}

.table-container table .hidden {
  display: none;
}

.tab-btns {
  display: flex;
}

.tab-btn {
    background-color: #8a8b8f;
    color: #fff;
    float: left;
    font-size: 20px;
    border-top: 3px solid #8a8b8f;
    border-right: 3px solid #8a8b8f;
    border-bottom: 3px solid #8a8b8f;
    outline: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: background-color 0.3s;
    border-radius: 0;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7);
}

.tab-btn1 {
    background-color: #8a8b8f;
    color: #fff;
    float: left;
    font-size: 20px;
    border-top: 3px solid #8a8b8f;
    border-right: 3px solid #8a8b8f;
    border-bottom: 3px solid #8a8b8f;
    outline: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: background-color 0.3s;
    border-radius: 0;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7);
}

.tab-btn:first-child {
    border-left: 2px solid #8a8b8f;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.tab-btn:last-child {
    border-right: 2px solid #8a8b8f;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.tab-btn.active,
.tab-btn:hover {
  background-color: #fff;
  color: #000000;
}
#burse,
#maps {
/*  width: 100%;
  height: 70%;
  background-color: #fff;
  border: 4px solid #61799f;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 30px;*/
}

#telegram {
  padding: 0 40px;
}
#telegram iframe {
  width: 100%;
  height: 100%;
  border: 4px solid #61799f;
  border-radius: 15px;
}
.main-top {
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}
.main-top__left {
    display: flex;
    gap: 20px;
}
.search label {
  position: relative;
}
.search input {
    width: 400px;
    height: 48px;
    border: 4px solid #8a8b8f;
    background-color: #ffffff;
    border-radius: 15px;
    font-size: 20px;
    padding: 17px 12px 17px 48px;
    position: relative;
}
.search label:before {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  left: 22px;
  z-index: 10;
  display: block;
  width: 24px;
  height: 24px;
  background: url(../img/search.svg) no-repeat;
}
.btn-search {
    border: none;
    width: 113px;
    height: 48px;
    background-color: #8a8b8f;
    color: #ffffff;
    font-size: 20px;
    border-radius: 15px;
    margin-left: 20px;
    cursor: pointer;
    box-shadow: 8px 10px 10px rgb(0 0 0 / 55%);
}
.wrapper {
  width: 100%;
  height: 100%;
}



/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}