footer {
    text-align: center;
}

body{
    margin: 0;
}
a {
    text-decoration: none;
}
a:focus {
  border-bottom: 1px solid;
  background: #bae498;
}
a:hover {
  border-bottom: 1px solid;
  background: #cdfeaa;
}

a:active {
  background: #265301;
  color: #cdfeaa;
}
.article{
    margin-top:30px;
    margin-bottom:30px;
}
.ic_edit {
    background-image: url(edit.svg);
}
.icon {
    margin: 0;
    margin-left: 0.3em;
    padding: 0 !important;
    width: 16px;
    height: 16px;
}
.wrapper {
  display: flex;
}
.sticker {
    line-height: normal;
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    display: flex;
    width: 58mm;
    height: 38mm;
    overflow: hidden;
    font-size: 9px;
    margin:5px;
}
.block {
  display: inline-block;
    width:50%;
  border: 1px dashed #aaaaaa;
        padding-left: 10px;
    padding-right: 10px;
}

.left {
  float: left;
  width: 75%; 
     padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
}
.right {
  width: 25%;
     padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
}
.stickerleft {
  float: left;
  width: 90%; 
}
.stickerright {
  width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.eacimg {
  width: 20px;
}
.blank_date {
  text-align: right;
width:100%;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
}
.blank_summ {
  text-align: left;
width:100%;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
}
.summ {
    font-size: 16px;
}
.blank_title {
  text-align: center;
    font-weight: 700;
    width:100%;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
}
.fixwidth{
    max-width: 18em;
    text-overflow: ellipsis; 
    overflow: hidden;
}
.admin-table{
    width:100%;
    border: 1px solid #aaaaaa;
}
.admin-table th{
    background: #efefef;
    border: 1px solid #aaaaaa;
    padding-left: 5px;
    padding-right: 5px;
    
}
.admin-table td{
    border: 1px solid #aaaaaa;
    padding-left: 5px;
    padding-right: 5px;
}

.print-table{
    width:100%;
    border: 1px solid #aaaaaa;

}
.print-table th{
    border: 1px solid #aaaaaa;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}
.print-table td{
    border: 1px solid #aaaaaa;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}
.to_print{
    display:none;
  /* Правила для печати */
}
.pb-before, .pb-after, .pb-inside { /* стили, определённые ранее */ }
}
/* Добавляем разрыв перед элементом */
.pb-before { page-break-before: always; }

/* Добавляем разрыв после элемента */
.pb-after { page-break-after: always; }

/* Предотвращаем разрыв внутри элемента */
.pb-inside { page-break-inside: avoid; }

@media (max-width:1399px){
    .main-table{
    font-size: 12px;
    }
}
.rotate90{
        white-space: nowrap !important;
        vertical-align: bottom;
        text-align: center;
        font-size:1rem;
        writing-mode: vertical-lr;
        transform:rotate(180deg);
    }
@media (max-width:991px){
    .rotate-sm-90{
        white-space: nowrap !important;
        vertical-align: bottom;
        text-align: center;
        font-size:1rem;
        writing-mode: vertical-lr;
        transform:rotate(180deg);
    }
    .mymodal-content {
      width: 100%; /* Could be more or less, depending on screen size */
    }
}
@media print {
    body {
      font-size: 12px;
    }
    .to_print {
    display: initial;
    }
    .container-lg {
    display: none;
    }
    .no_print {
    display: none;
    }
    .py-2{
    display: none;
    }
}

/* Full-width input fields */
.mycontainer input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Set a style for all buttons */
.mycontainer button {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.mycontainer button:hover {
  opacity: 0.8;
}

.mycontainer {
  padding: 16px;
}

.mycontainer span.psw {
  float: right;
  padding-top: 16px;
}

/* The Modal (background) */
.mymodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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 */
  padding-top: 60px;
}

/* Modal Content/Box */
.mymodal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 500px; /* Could be more or less, depending on screen size */
}
/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 0px 0 12px 0;
  position: relative;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

@media screen and (max-width: 700px) {
      span.psw {
         display: block;
         float: none;
      }
    .mymodal-content {
          width: 100%; /* Could be more or less, depending on screen size */
    }
}
@font-face {
	font-family: 'EanGnivc';
	src: url("fonts/EanGnivc.ttf"); 
}
 
#barcode {
	font-family: 'EanGnivc';
	font-size: 48px;
}