body {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0px auto;
}

.header{
  position: fixed;
  height:70px;
  width: 100%;
  z-index: 351;
  background-color: #0039A6;
  background: linear-gradient(90deg, #0039A6, #C5DDE8);
  color:#fff;
}

.overmenu{
  width: 210px;
  position: relative;
  float: left;
  font-size: 50px;
  padding-left: 10px;
}

.nameportal{
  font-size: 25px;
  font-weight: 600;
}

.overmain{
  width: calc(100% - 315px);
  position: relative;
  float: left;
}

.headlogin{
  margin-left: auto;
  margin-right: auto;
  width: 600px;
}
.odinimg{
  margin-top: 3px;
  height: 65px;
}

.img{
  position: relative;
  float: left;
  width: 60px;
}
.leftmenu {
  top:70px;
  position: relative;
  float: left;
  width: 210px;
  border: 1px solid #111111;
  visibility: hidden;
}
.main {
  top: 90px;
  padding-left: 5px;
  position: relative;
  float: left;
  /* width: calc(100% - 210px); */
  width: 100%;
  padding-top: 10px;
}

h3{  
  scroll-margin-top: 115px;
}

#detier{
  scroll-margin-top: 115px;
}

.lm {
  top:70px;
  position: fixed;
  z-index: 10;
  width: auto;
  font-size: 14pt;
  color: #fff;
  background-color: #0039A6;
  height: 100vh;
  z-index: 151;
  width: 210px;
  transition-property: width;
  transition-duration: 0.5s;
  visibility: hidden;
}

.leftbox {
  padding: 5px;
  border: 1px solid rgb(126, 124, 124);
  cursor: pointer;
  margin: 3px;
  width: 204px;
  transition-property: width;
  transition-duration: 0.5s;
  background-color:#0039A6;
  white-space: nowrap;
  overflow: hidden;
  font-size: 17px;
}

.leftboxs{
  padding: 5px;
  border: 1px solid rgb(126, 124, 124);
  cursor: pointer;
  margin: 3px;
  width: 204px;
  transition-property: width;
  transition-duration: 0.5s;
  background-color:#0039A6;
  white-space: nowrap;
  overflow: hidden;
}

.leftbox:hover {
  border: 1px solid rgb(255, 255, 255);
}
.leftbox:active {
  border: 1px solid rgb(255, 255, 255);
  background-color:#fff;
  color: #0039A6;
}

.leftbox:hover .annotation {
  visibility: unset;
  position: unset;
  font-weight:600;
}

.qestions{
  width: 99%;  
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mb-4{
  border: 1px solid #0039A6;
  border-radius: 10px;
  padding: 15px;
}

.form-label{
  font-weight:600;
}

.xyz {
  background-size: auto;
  text-align: center;
  padding-top: 100px;
}

.btn-circle.btn-md {
  width:50px;
  height:50px;
  padding: 7px 10px;
  border-radius: 25px;
  font-size: 20px;
  text-align: center;
  font-weight:600;
}  

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 10px;
  background: #0039A6;
  background: linear-gradient(90deg, #0039A6, #C5DDE8);
  color: #fff;
  width: 100%;
}

.qr{
width: 100%;
text-align: center;
}
.imgqr{
  width: 200px;  
  margin-left: auto;
  margin-right: auto;
}

.anchors{
  position:fixed;
  margin-top: 70px;
  /* margin-left: 210px; */
  /* width: calc(100% - 210px); */
  width: 100%;
  border-bottom-width: 4px;
  border-bottom-style: solid;
  border-image: linear-gradient(to right, #0039A6, #C5DDE8) 1;
  background: #fff;
  z-index: 999;
}
.anchor{
  height: 25px;
  width: 25%;
  position: relative;
  float: left;
  text-align: center;
  color:  #0039A6;
  cursor: pointer;
}




@media screen and (max-width: 938px) {
  .main {
    top: 135px;
  }
  h3{  
    scroll-margin-top: 140px;
  }
  .anchor{
    height: 50px;
  }
}

table {
  font-size: 10pt;
  table-layout: auto;
}
td {
  word-wrap:break-word;
}

div.container {
  overflow: scroll;
}




table {
  border-collapse: separate;
  border-spacing: 0;
}

.thead {
  position: sticky;
  top: 5em;
  z-index: 20;
  background:#f2f2f2;
}

th, td {
  border-bottom: var(--border);
}

.tbody tr:last-child td {
  border-bottom: 0;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  margin: 0;
}

table {
  width: 100%;
}

th{
  text-align: left;
  background-color: #f1f3f5;
  border: 2px solid #dee2e6;
}

th, td {
  padding: 3px 5px;
}


/* .horizont{
  position:fixed;
} */


.fixed{
  position: fixed;
  left: 300px;
}

.histl{
  position:relative;
  float: left; 
}

.histr{
  position:relative;
  float: right; 
}

.inf{
  height: 45px;
}

.content{
  padding: 0 10px 0 10px ;
}

.msg {
  color:rgb(0, 152, 179);
  border: 2px solid #00ad0e;
  font-weight: bold;
  padding: 5px;
}

red{
  color: red;
}

.ok{
  color: #00ad0e;
}


[data-title]:hover:after {
  opacity: 1;
  transition: all 0.1s ease 0.5s;
  visibility: visible;
}
[data-title]:after {
  content: attr(data-title);
  background: linear-gradient(90deg, #0039A6, rgb(0, 152, 179));
  color: #ffffff;
  font-size: 100%;
  position: absolute;
  padding: 1px 5px 2px 5px;
  bottom: -1.6em;
  left:0;
  /* white-space: nowrap; */
  box-shadow: 1px 1px 3px #222222;
  opacity: 0;
  border: 1px solid #111111;
  z-index: 99999;
  visibility: hidden;
  width: 410px;
  white-space: pre-line;
}
[data-title] {
  position: relative;
}

.srchl{
  position:relative;
  float: left; 
}

.srchr{
  position:relative;
  float: right; 
}

.search{
  margin-top: -18px;
}

.del{
  cursor: pointer;
}

.overmenu{
  cursor: pointer;
}

.chart_wrap{
  
}


.horizont:nth-child(2) {
  position: sticky;
  left: 0px;
  z-index: 2;
  background-color: #f2f2f2;
}

.selectst{
  width: 160px;
}

.option{
  font-size: 16px;
}


#container {
  height: 400px;
}

.highcharts-figure,
.highcharts-data-table table {
  min-width: 310px;
  max-width: 800px;
  margin: 1em auto;
}

#datatable {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

#datatable caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

#datatable th {
  font-weight: 600;
  padding: 0.5em;
}

#datatable td,
#datatable th,
#datatable caption {
  padding: 0.5em;
}

#datatable thead tr,
#datatable tr:nth-child(even) {
  background: #f8f8f8;
}

#datatable tr:hover {
  background: #f1f7ff;
}


/*  */
/* #0039A6, #C5DDE8 */
.ring
{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  background:transparent;
  border-radius:50%;
  text-align:center;
  line-height:150px;
  font-family:sans-serif;
  font-size:20px;
  color:#0039A6;
  letter-spacing:4px;
  text-transform:uppercase;
  text-shadow:0 0 10px #0039A6;
  z-index: 1000;
}
.ring:before
{
  content:'';
  position:fixed;
  top:-3px;
  left:-3px;
  width:100%;
  height:100%;
  border:3px solid transparent;
  border-top:3px solid #0039A6;
  border-right:3px solid #0039A6;
  border-radius:50%;
  animation:animateC 2s linear infinite;
  z-index: 1000;
}

@keyframes animateC
{
  0%
  {
    transform:rotate(0deg);
  }
  100%
  {
    transform:rotate(360deg);
  }
}
@keyframes animate
{
  0%
  {
    transform:rotate(45deg);
  }
  100%
  {
    transform:rotate(405deg);
  }
}


.deti35{
  position: relative;
  float: left;
  width: 35%;
}


.deti50{
  position: relative;
  float: left;
  width: 50%;
}

.deti65{
  position: relative;
  float: left;
  width: 65%;
}

.deti100{
  position: relative;
  float: left;
  width: 100%;
}

.contin p{
  cursor: pointer;
}



.releftbox{
  position: relative;
  float: left; 
  padding: 5px 5px 5px 5px;
}

.releft{
  position: relative;
  float: left;
}



.relefttext{
  position: relative;
  float: left;
  padding: 5px 5px 5px 5px;
  font-size: 12pt;
}

@media screen and (max-width: 758px) {
  .locportal {
    visibility: hidden;
  }
}

.message{
    color:rgb(81, 179, 0);
    border: 1px solid #0039A6;
    border-radius: 10px;
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

.cardid{
  width: 100px;
  margin-top: 5px;
}

td {
  border: 1px solid #ccc;
  padding: 5px;
}
.editable-cell.editing {
  border: 2px solid blue;
}

.current-page {
  font-weight: bold;
  color: blue;
}


.page-link {
    border: 1px solid #000;
    padding: 5px 10px;
    margin-right: 5px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.current-page {
    border: 1px solid #000;
    padding: 5px 10px;
    margin-right: 5px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
}


.pagination {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    justify-content: center;
    align-items: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.pagination .current-page {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}

.pagination .disabled {
    pointer-events: none;
    opacity: 0.5;
}

.sort-arrow {
  margin-left: 5px;
}
.sort-arrow:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  vertical-align: middle;
  margin-right: 5px;
}
.sort-arrow.asc:before {
  border-width: 0 4px 6px 4px;
  border-color: transparent transparent #000000 transparent;
}
.sort-arrow.desc:before {
  border-width: 6px 4px 0 4px;
  border-color: #000000 transparent transparent transparent;
}

#slider {
  width: 300px;
  margin-bottom: 20px;
}

#sliderValue {
  font-size: 18px;
}

.colored-red {
  background-color: #FF0000; 
}

.colored-green {
  background-color: #92D050; 
}

.colored-orange {
  background-color: #ffae00; 
}

input{
    min-width: 100px;
}

/* календарь */
.calendar {
  display: flex;
  flex-wrap: wrap;
}

.calendar-year {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.calendar-row {
  display: flex;
  justify-content: space-between;
}

.calendar-day {
  cursor: pointer;
}

.calendar-month {
  flex: 0 0 calc(33.33% - 10px);
  margin: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.non-working-day {
  color: red;
  background-color: #f8d7da;
  /* Цвет фона для выходных дней */
}

.calendar-main{
  width: 99%;  
  max-width: 734px;
  margin-left: auto;
  margin-right: auto;
}

.today {
  border-color: rgb(20, 3, 255);
  border-width: 3px
}

.locked {
  position: fixed;
  top: 110;
}
/* Конец календарь */

th {
  position: sticky;
  top: 65px;
}

.c-red {
  background: red;
}

.c-orange {
  background: orange;
}

.c-yellow {
  background: yellow;
}

.c-green {
  background: green;
}