@import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,600,800&display=swap&subset=cyrillic');
@import url('dashboard-events.css');
@import url('flatpickr.min.css');

* {outline: none;font-family: 'Exo 2', sans-serif;color: #444444;font-weight: 300;}
*, ::after, ::before {box-sizing: border-box;}
footer, header, main, section, nav {display: block;}


a,li,button {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

@font-face {
  font-family: 'font-aw';
  font-style: normal;
  font-weight: 100;
  font-display: auto;
  src: url("fonts/fa-thin-100.ttf") format("truetype"), url("fonts/fa-thin-100.svg#fontawesome") format("svg"); 
}

@font-face {
  font-family: 'font-aw';
  font-style: normal;
  font-weight: 300;
  font-display: auto;
  src: url("fonts/fa-light-300.woff2") format("woff2"), url("fonts/fa-light-300.ttf") format("truetype"); 
}

@font-face {
  font-family: 'font-aw';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url("fonts/fa-regular-400.woff2") format("woff2"), url("fonts/fa-regular-400.ttf") format("truetype"); 
}

@font-face {
  font-family: 'font-aw';
  font-style: normal;
  font-weight: 900;
  font-display: auto;
  src: url("fonts/fa-solid-900.woff2") format("woff2"), url("fonts/fa-solid-900.ttf") format("truetype"); 
}



@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 100;
  font-display: auto;
  src: url("fonts/Exo2-100.otf") format("embedded-opentype"); 
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300;
  font-display: auto;
  src: url("fonts/Exo2-300.otf") format("embedded-opentype"); 
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url("fonts/Exo2-400.otf") format("embedded-opentype"); 
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 500;
  font-display: auto;
  src: url("fonts/Exo2-500.otf") format("embedded-opentype"); 
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 600;
  font-display: auto;
  src: url("fonts/Exo2-600.otf") format("embedded-opentype"); 
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 800;
  font-display: auto;
  src: url("fonts/Exo2-800.otf") format("embedded-opentype"); 
}

.fa {
  font-family: 'font-aw';
  font-weight: 300; 
}


.fa-facebook:before{content:"\f082"}

header {
  position: fixed;
  width: 100%;
  z-index: 100;
}

main {
  padding: 86px 30px 30px 10px;
  position: relative;
}

.off-canvas-content {
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: .2s -webkit-transform;
  transition: .2s transform;
}




a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a#viewSource {
  border-top: 1px solid #999;
  display: block;
  margin: 1.3em 0 0 0;
  padding: 1em 0 0 0;
}

div#links a {
  display: block;
  line-height: 1.3em;
  margin: 0 0 1.5em 0;
}

@media (min-width: 1000px) {
  /* hack! to detect non-touch devices */
  div#links a {
    line-height: 0.8em;
  }
}

h1 a {
  font-weight: 300;
  white-space: nowrap;
}

audio {
  max-width: 100%;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  word-break: break-word;
  padding-bottom: 2em;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: lightgray;
  width: 100%;
  padding: 0.5em 2em 1em 2em;
  font-size: 0.8em;
  max-height: 27px;
  white-space: nowrap;
}

button.error {
  background-color: #d84a38;
}

button.error:active {
  background-color: #cf402f;
}

button.error:hover {
  background-color: #cf402f;
}


button {
  background-color: #43afbf;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  color: white;
  margin: 0 0 1em 0;
  padding: 0.6em;
}

button:active {
  background-color: #6ac8cb;
}

button:hover {
  background-color: #6ac8cb;
}

button[disabled] {
  color: #ccc;
}

button[disabled]:hover {
  background-color: #d84a38;
}

canvas {
  background-color: #ccc;
  max-width: 100%;
  width: 100%;
}

code {
  font-weight: 400;
}

div#container {
  margin: 0 auto 0 auto;
  max-width: 600px;
  padding: 1em 1.5em 1.3em 1.5em;
}

div#highlight {
  background-color: #eee;
  font-size: 1.2em;
  margin: 0 0 50px 0;
  padding: 0.5em 2em;
}

div#links {
  padding: 0.5em 0 0 0;
}

h1 {
  border-bottom: 1px solid #ccc;
  font-weight: 800;
  margin: 0 0 0.8em 0;
  padding: 0 0 0.2em 0;
}

h2 {
  color: #444;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.2em;
  margin: 0 0 0.8em 0;
}

h3 {
  color: #666;
  font-size: 1em;
  font-weight: 600;
  margin: 5px 0 10px 0;
  /*padding: 10px 0 0 0;*/
  white-space: nowrap;
}

h4 {
  margin: 30px 0 10px 0;
  font-weight: 300;
  font-size: 20px;
}

html {
  overflow-y: scroll;
}

img {
  border: none;
  max-width: 100%;
  vertical-align: middle;
}


input {
/*  height: 1.5em;
  padding: 0.4em;*/
}

input[type=radio] {
  position: relative;
  top: -1px;
}

label {
}

ol {
  padding: 0 0 0 20px;
}

p {
  color: #444;
  font-weight: 300;
  line-height: 1.6em;
}

p#data {
  border-top: 1px dotted #666;
  font-family: Courier New, monospace;
  line-height: 1.3em;
  max-height: 1000px;
  overflow-y: auto;
  padding: 1em 0 0 0;
}

p.borderBelow {
  border-bottom: 1px solid #eee;
  padding: 0 0 20px 0;
}

section p:last-of-type {
  margin: 0;
}

section {
  border-bottom: 1px solid #eee;
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
}

section:last-of-type {
  border-bottom: none;
  margin: 0;
  padding: 0 0 1em 0;
}

/*select {
  margin: 0 1em 1em 0;
  position: relative;
  top: -1px;
  height: 2.5em;
}*/

h1 span {
  white-space: nowrap;
}

strong {
  font-weight: 800;
}

ul {
  padding: 0 0 0 20px;
}

video {
  background: #222;
  margin: 0 0 20px 0;
  width: 100%;
}

@media (max-width: 650px) {
  h1 {
    font-size: 24px;
  }
}

@media (max-width: 550px) {
  button:active {
    background-color: darkRed;
  }

  h1 {
    font-size: 22px;
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 20px;
  }
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: 'font-aw' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.icon-users-new:before {content: "\e541"; font-weight: 100}
.icon-users:before {content: "\e216"; font-weight: 100}
.icon-users-my:before {content: "\e216"; font-weight: 900}
.icon-close::before {content: '\f057';}
.icon-chevron-down::before {content: '\f150';}
.icon-plus::before {content: '\f055';}
.icon-calendar-days::before {content: '\f073';}
.icon-calendar-star::before {content: '\f736';}
.icon-calendar::before {content: '\e472';}
.icon-calendar-l::before {content: '\e0d5';}
.icon-calendar-e::before {content: '\e46e';}
.icon-calendars::before {content: '\e0d7';}
.icon-calendar-empty::before {content: '\f133';}
.icon-point::before {content: '\f649';}
.icon-back::before {content: '\f060';}
.icon-event::before {content: '\f63d';}
.icon-certificate::before {content: '\f5f3';}
.icon-organizer:before {content: '\f2b9';}
.icon-address:before {content: '\f3c5';}
.icon-phone:before {content: '\f87b';}
.icon-fav::before {content: '\e0d3';}
.icon-fav-in:before {content: '\f005'; font-weight: 900}
.icon-fav-out:before {content: '\f005'; font-weight: 300}
.icon-play:before {content: '\f04b'; font-weight: 300}
.icon-play-pause:before {content: '\e22f'; font-weight: 300}
.icon-user-card:before {content: '\f7f3'; font-weight: 100}
.icon-file-plus:before {content: '\f319'; font-weight: 100}
.icon-doctor:before {content: '\e458'; font-weight: 900; color: #427eb3}
.icon-military:before {content: '\e54b';}
.icon-user:before {content: '\f007'; font-weight: 900}
.icon-phone:before {content: '\f2a0'; font-weight: 900}
.icon-open:before {content: '\f07c'; font-weight: 300}
.icon-file:before {content: '\f15b'; font-weight: 100; font-size: 60px}
.icon-pdf:before {content: '\f1c1'; font-weight: 100; font-size: 60px}
.icon-select:before {content: '\f058';}
.icon-advice:before {content: '\f7f4';}
.icon-add-icd:before {content: '\e4a3'; font-weight: 100; font-size: 1.4em}
.icon-online::before {content: '\f87a';}
.icon-live::before {content: '\e1b1';}
.icon-magnifying::before {content: '\f002';}


.background-main {
  position: fixed;
  overflow: hidden;
  min-height: 100%;
  min-width: 100%;
  top: 0;
  left: 0;
  z-index: -10;
  display: grid;
  background-color: #e9eded;
  background-image: linear-gradient(170deg, #e9eded, #bce7d8, #4d8c8f);
}

#send-btn {
  padding-left: 2em;
  padding-right: 2em;
}

.login-container {
  display: grid;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.login-box {
  justify-self: center;
  align-self: center;
  width: 80%;
  max-width: 400px;
  display: grid;
}

.login-form-head {

}

.formGrid {
  display: grid;
  grid-template-columns: [labels] auto [controls] 1fr;
  grid-auto-flow: row;
  grid-gap: 1em;
}

.formGrid > label {grid-column: labels;grid-row: auto;font-size: 14px;}
.formGrid > input, .formGrid > select {grid-column: controls;grid-row: auto;padding: 0.3em;height: unset;}
.formGrid > button, .formGridSpan {grid-column: span 2;}

.grid-2 {display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 10px;}
@media screen and (max-width: 768px){
  .grid-mobile-1 {grid-template-columns: 1fr;}
}

.formcell {
  align-self: start;
}

.myForm {
  padding: 1.2em;
  border: 1px #c0c0c0 dashed;
  border-top: none;
  border-radius: 0 0px 10px 10px;
}
.myForm > label {
  white-space: nowrap;
  min-width: 82px;
  width: 30%;
  align-self: center;
  text-align: right;
}
.myForm > input {
  height: 1.8em;
  font-size: 1.2em;
  align-self: center;
  min-width: 120px;
  border: none;
  border-bottom: 1px #c0c0c0 solid;
}
.myForm > button {
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1.1em;
  padding: 0.6em;
  min-width: 120px;
  margin: 0;
  cursor: pointer;
}

.myForm > button:hover, .myForm > button:active{
  background-color: #ada19f;
}

.login-container img {
  width: 400px;
  max-width: 100%;
}

error-message {
  display: grid;
  padding: 20px;
  justify-content: center;
}



.big-menu-elem {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  color: white;
  background-color: lightgray;
  grid-gap: 0.1em;
  position: relative;
  pointer-events: none;
}

.big-menu-elem a {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  white-space: nowrap;
  background-color: #9a9a9a;
  min-height: 66px;
  color: white !important;
  text-decoration: none !important;
  font-size: 0.8em;
  position: relative;
  padding-bottom: 9px;
  border-radius: 2px;
  pointer-events: all;
}

.big-menu-elem a:hover, .big-menu-elem a:active {
  background-color: #797979;
}

.big-menu-elem::after{
  content: '\f139';
  font-family: 'font-aw';
  bottom: -27px;
  position: absolute;
  left: 50%;
  background: #9a9a9a;
  border-radius: 50%;
  padding: 2px;
  font-size: 2em;
  margin-left: -0.6em;
  pointer-events: all;
  cursor: pointer;
  z-index: 100;
}


@media screen and (max-width: 650px){

  .big-menu-elem::after{
    font-size: 1.9em;
  }

}



.big-menu-elem-top {
  height: 0px;
  position: relative;
}


.big-menu-elem-top::after{
  bottom: -1.1em;
  border-radius:50% 50% 0 0 ;
  -ms-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);

}

.big-menu-elem-top>a {
  height: 0px;
  min-height: 0;
  max-height: 0;
  padding: 0;
  overflow: hidden;
}

.big-menu-elem, .big-menu-elem-top{
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}


a[class^="menu-item-"]:before {

  font-family: 'font-aw';
  font-weight: 100;
  font-size: 2em;
  position: absolute;
  top: 20%;
}


a.nav-admin {
  background-color: #dfdfdf;
  color: #444 !important;
  display: none;
}
a.nav-admin-active.nav-admin {
  display: flex;
}

nav.left-nav {
  position: fixed;
  left: 0;
  background-color: lightgrey;
  height: 100%;
  width: 60px;
  overflow: hidden;
  padding: 20px 2px 2px;
  margin-top: -25px;
  display: grid;
  align-content: start;
}

nav.left-nav a {
  display: grid;
  justify-items: center;
  font-size: 9px;
  align-content: start;
  grid-gap: 5px;
  border-bottom: 1px solid #9a9a9a;
  align-self: start;
  padding: 7px 0;
}

nav.left-nav a span {
  font-size: 35px;
  font-weight: 200;
}
.menu-item-file:before {content: "\f56f";}
.menu-item-check:before {content: "\e33c";}
.menu-item-search:before {content: "\f865"; }
.menu-item-calendar:before {content: "\f073";}
.menu-item-calendar-fav:before {content: "\e0d3";}
.menu-item-exit:before {content: "\f52b";}

.menu-item-admin:before {content: "\f7d9";}
.menu-item-stat:before {content: "\f201";}
.menu-item-users:before {content: "\f4fe";}


div.head div input { 
  max-width: 95%;

}



.error404 {
  text-align: left;
  position: relative;
  font-size: 30px;
  max-width: 300px;
  justify-self: center;
  padding-left: 100px;   
}

.error404:before {
  content: "\f57a";
  font-family: 'font-aw';
  position: absolute;
  font-size: 160px;
  top: -30px;
  left: -80px;
  color: #ff8b57;
}


.head-alert {
  color: #ff8b57;
  font-weight: 600;
  margin-bottom: 20px;
}


select#type {
  margin: 0;
  position: inherit;
  top: unset;
  height: unset;
}


.manual-check>input {
  height: 2.7em;
  border: 1px solid #c0c0c0;
}

.back-button404 {
  font-size: 1.4em;
  justify-self: center;
  margin-top: 10vh;
}

.back-button404>a::before  {
  content: "\f30a ";
  font-family: "font-aw";
  color: #ff9869;
}


div.content-pane {
  border-bottom: 1px solid #eee;
}

.ticket-dates-list {
  border-top: 1px solid #eee;
  margin-top: 10px;
  font-size: 0.8em;
  padding: 5px 0;
}

.ticket-dates-list-item {
  padding: 0 0 0 15px;
  margin: 0;
  font-size: 0.9em;
}

.checking-user-now, .checking-user-already {
  margin: 5px;
  padding: 5px;
  background-color: #2b9cff;
  color: #fff;
  border-radius: 2px;
  text-align: center;
}

.checking-user-already {
  background-color: #d04736;
}

span.span-joined-location {
  color: #2b9cff;
  font-weight: 600;
}

.users-search-table {
  display: grid;
  grid-gap: 1px;
  grid-template-columns: 2fr 1fr .5fr .5fr .5fr;
  /*max-width: max-content;*/
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 10px solid #ccc;
}

.users-search-table div{
  border-bottom: 1px dotted;
  padding: 10px;
  cursor: pointer;
}

.content>h3 {
  margin-top: 0px;
}

tr.order-table td {
  max-width: 400px;
  vertical-align: top;
  padding: 5px; 
  border-bottom: 1px solid #ccc;
}

.cell-order-table{
  cursor: pointer;
}

input[name='js-search'] {
  border: none;
  font-size: 1.2em;
  padding: 0.6em;
  background: none;
}
.search-button {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 2px;
  margin-left: 10px;
  padding: 3px 25px 3px 2px;
}
.search-button::after {
  content: "\f002";
  font-family: 'font-aw';
  font-size: 1.3em;
  color: #ccc;
  position: absolute;
  right: 7px;
  top: 2px;
}

.top-button-area {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: dotted 1px #ccc;
}

@media (max-width: 550px) {
  .search-button {
    display: block;
    margin: 0;
  }
  .search-button::after {
    top: unset;
  }
}

button#all-tickets {
  background-color: #ccc;
}

button#join-tickets {
  background-color: #2b9cff;
}

.unapproved-ticket-row {
  color: #ccc;
}

.approved-ticket-row {
  background: #f0f8ff;
}

.download-button {
  display: inline-block;
  padding: 5px 10px 7px 10px;
  background: #b5d6ff;
  margin: 10px 5px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.download-button:hover, .download-button:active{
  background: #5fa6ff;
  color: #fff;
}

.upload-file-area {
  padding: 10px 0;
  margin: 10px 0;
  display: grid;
  grid-gap: 10px;
}

.mailer-box {
  background-color: #e8e8e8;
  margin-bottom: 20px;
  padding: 10px;
  display: grid;
  grid-gap: 10px;
}
.mailer-box-name {
  font-size: 20px;
}

.richText {
  background-color:#FAFAFA;
  border:#EFEFEF solid 1px;
  color:#333;
  height:150px;
  width:100%;
  margin-top: 40px;
  -webkit-box-shadow: 0 0 20px 0 #999;
  -moz-box-shadow: 0 0 20px 0 #999;
  box-shadow: 0 0 20px 0 #999;
}

form#mailer_save_text {
  display: grid;
}



input[type="submit"] {
  justify-self: left;
  width: auto;
  font-size: 16px;
  padding: 3px 10px 5px;
}

.box-preview {
  width: 700px;
  max-height: 500px;
  overflow: hidden;
  background: #fff;
  padding: 30px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 3%), 0 3px 1px -2px rgb(0 0 0 / 3%), 0 1px 5px 0 rgb(0 0 0 / 3%);
  display: none;
  zoom: 0.3;
  -moz-transform: scale(0.3);
}

a:hover + .box-preview, .box-preview:hover {
  display: block;
  position: absolute;
  z-index: 100;
}

a.button {
  padding: 3px 7px 5px 7px;
  border: 1px solid #ccc;
  color: #444;
  background-color: #fcfcfc;
  width: max-content;
  display: inline-block;
}

a.button:hover {
  background-color: #dcdcdc;
}

section#statistic {display: grid;}
.grid-left {justify-self: left;}
#statistic .grid-2 {
  justify-self: left;
  align-content: baseline;
}

stat-main-wrap {
  display: grid;
  margin-left: 60px;
}

.grid-form {
  display: grid;
  grid-template-columns: 200px 100%;
  justify-items: left;
  grid-gap: 10px;
}

a.button.button-open {
  font-size: 20px;
  background-color: #73aba8;
  display: block;
  width: 100%;
  border: none;
  border-radius: 5px 0 0 5px;
  padding-left: 20px;
  color: #fff;
  position: relative;
  right: -20px;
}

a.button.button-open span::before {
  color: #fff;
}

a.button.button-open:hover {
  background: #6ac8cb;
}

/* MODAL *******************/

modal {display: block;position: absolute;}

modal-wrap {
  position: fixed;
  display: grid;
  width: 100%;
  min-height: 100%;
  height: auto;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10000;
  background-color: rgb(44 92 130 / 42%);;
  overflow-y: scroll;
  padding: 10px;
} 


modal-box {

  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 400px;
  display: grid;
/*  margin-left: 15px;*/
position: relative;
}

modal-content{
  display: grid;
  grid-template-columns:1fr;
  grid-auto-flow: row;
  padding: 18px;
  padding-bottom: 24px;
  border: 2px solid #2c5c82;
  border-radius: 20px;
  background-color: #fff;
  min-height: 200px;
  align-content: center;
  align-items: center;

}

modal-close-msg.close-msg {
  position: relative;
  top: -25px;
  font-size: 14px;
  text-align: center;
}

close {
  position: absolute;
  right: 5px;
  top: 5px;
}

close::before {
  content: '\f057';
  display: block;
  top: 5px;
  margin: auto;
  right: 5px;
  cursor: pointer;
  color: #2c5c82;
  font-size: 1.5em;
  vertical-align: sub;
  font-family: 'font-aw';

}




@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



records-data {
  padding: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}

records-data.row-checked {
  background-color: aliceblue;
}

list-records {
  display: grid;
  grid-template-columns: 30px 1fr 1fr 3fr 4fr 1fr;
}

records-data.error-class {
  background-color: rgb(255 0 0 / 23%);
  border-color: rgb(133 91 91 / 34%);
}

records-data.error-class-2 {
  color: red;
}

records-action {padding: 5px;display: grid; justify-content: center;}


button.main-blue {

  background-color: #429eb3;
  font-size: 16px;
  cursor: pointer;
}

button.red {

  background-color: #f17720;
  font-size: 16px;
  cursor: pointer;
}


certificates-parts-wrap {
  display: grid;
  grid-template-columns: 6fr 4fr 7fr 6fr;
  grid-gap: 10px;
  padding: 5px 2px;
  margin: 20px 0;
}

certificates-part input,
certificates-part select {
  width: 100%;
  font-size: 20px;
  border: #ccc solid 1px;
  padding: 4px;
}
@media screen and (max-width: 420px) {
  certificates-part input, certificates-part select {font-size: 12px !important;}
}

.certNoFormElemInputOk {
  border-color: #427fb0;
  background-color: #a8dbf4 !important;
  
}

.elementPointOk {position: relative;}

.elementPointOk::before {
  display: grid;
  content: '\f336';
  font-family: font-aw;
  position: absolute;
  top: -14px;
  font-size: 20px;
  font-weight: 600;
  width: 100%;
  left: 0;
  right: 0;
  justify-content: center;
  color: #00c122;

}



select#year-selector {
  font-size: 20px;
  border: none;
  border-bottom: 1px solid #a1b3c3;
  background-color: #f0f8ff;
  width: max-content;
}


.spec-selector-calendar {
  overflow-y: auto;
  max-height: 300px;
}

button.certificate-new-search {
  display: none;
}

form-rows {
  display: grid;
  grid-gap: 10px;
  padding-bottom: 10px;
}

form-rows textarea {margin: 0;}
form-rows label small {margin: 0;}

search-area, 
certificate-area, 
portfolio-area {
  display: grid;
  padding: 20px 0;
  grid-gap: 15px;
}

button-info.center {
  padding: 20px;
  background-color: #dfebf5;
  border-radius: 20px;
  position: relative;
  top: -14px;
  /* z-index: 1; */
}

.certificates-block {
  display: grid;
  grid-gap: 5px;
  font-size: 16px;
  border: 1px solid #9db0c0;
  background-color: #fcfdff;
  padding: 20px;
  border-radius: 20px;
  position: relative;
}
.certificates-block.certificates-action {
  margin-right: 30px;
}

.certificates-block::after {
  content: '\f02e';
  position: absolute;
  font-family: 'font-aw';
  right: 20px;
  top: -3px;
  font-weight: 900;
  color: #00c122;
  font-size: 20px;
}

.certificates-block-custom::after{color: #ef9278;}

certificate-info-block {
  font-size: 16px;
  margin: 10px 0;
}

certificate-info-block span {
  font-size: 19px;
  font-weight: 500;
}

certificates-action{
  top: 0;
  right: -39px;
  width: 30px;
  height: auto;
  position: absolute;
  display: grid;
  grid-gap: 30px;
}

.certificates-block.reslt-disabled {
  border-color: #ccc;
}

.certificates-head {
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 10px;
}

packet-actions {
  width: 100% !important;
  max-width: 400px;
  display: grid;
  grid-gap: 10px;
  padding: 10px;
  border: 1px solid #818181;
  margin-bottom: 20px;
  border-radius: 20px;
}


section#users {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, max-content);
  margin-top: 30px;
  align-items: center;
}

form.FormADM {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(5, max-content);
}
form.FormNewADM {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, max-content);
}

button.small-button {
  padding: 10px;
  margin: 0;
  font-size: 14px;
}

.new-user-area {
  padding: 20px;
  justify-self: left;
  margin: 10px 0;
  border: 1px solid;
  border-radius: 10px;
  display: none;
}

data-error {
  display: grid;
  margin-bottom: 10px;
  font-weight: 600;
  color: #f17720;
}

button-area {
  display: block;
  margin-bottom: 20px;
}


section#week-stat, section#users-stat, section#years-stat, section#month-stat, #month-event-stat, #specials-stat {
  margin-top: 20px;
  display: grid;
  grid-gap: 10px;
  justify-content: left;
  justify-items: left;
}


section#years-stat {
  grid-template-columns: repeat(3, max-content);
}

stat-item {
  display: block;
  margin-bottom: 5px;
}

block-event-info {
  display: grid;
  grid-gap: 10px;
  margin-bottom: 20px;
}

.cell-error, .cell-error-2 {
  color: #ff0000;
  font-weight: 600;
  background: #bae5d7;
}

block-check {
  display: grid;
  justify-self: left;
  margin: 10px 0;
  font-size: 18px;
}

error {
  padding: 10px;
  border: 1px solid red;
}

noerror {
  padding: 10px;
  border: 1px solid green;
}

.row-edit.cell-error-2.certificate-number {
  background-color: #fdffdf;
  color: #ff7f50;
}

.errors-box {
  margin: 20px 0;
  cursor: pointer;
  padding: 5px;
  border: 1px solid #ccc;
  justify-self: left;
}

modal-content p {
  margin: 0;
  margin-bottom: 10px;
}
.get-provider-data {cursor: pointer;}

calendar-search-area {
    margin: 20px 0;
    display: block;
}

input#event-search {
    font-size: 16px;
    padding: 3px;
    min-width: 50%;
}

event-item.event-item.event-in-fav {
    background-color: #c9e9de;
}