@import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,600,800&display=swap&subset=cyrillic');
@import url('jquery-ui.css');
@import url('jquery-confirm.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: 66px 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;
}

nav.left-nav {
  position: fixed;
  left: 0;
  background-color: lightgrey;
  height: 100%;
  width: 60px;
  overflow: hidden;
  padding: 20px 2px 2px;
}

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 {
  background-color: #d84a38;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 0.8em;
  margin: 0 0 1em 0;
  padding: 0.6em;
}

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

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

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 {
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9em;
  font-weight: 600;
  margin: 20px 0 10px 0;
  padding: 10px 0 0 0;
  white-space: nowrap;
}

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-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}


.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);
}

#video_cont {
  position: relative;
}

#qr_border {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
  width: 200px;
  height: 200px;
  max-width: 80%;
  background-image: url(../img/border.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#qr-canvas {display: none;}

.manual-check {
  font-size: 1.2em;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.ticket-error {
  font-weight: 600;
  color: red;
}

.ticket-okey {
  color: #0079ff;
}

#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 {
  background: #e4e4e4c0;
  border-radius: 10px 10px 0 0;
}

.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 {
  max-width: 200px;
  margin: 1em;
}

.big-menu-elem {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 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-cases, a.nav-admin {
    background-color: #dfdfdf;
    color: #444 !important;
    display: none;
}
a.nav-cases-active.nav-cases, a.nav-admin-active.nav-admin {
  display: flex;
}

a.nav-cases:hover {
    background-color: #f0f8ff;
}

a.nav-cases.nav-active {
  color: #0091bf !important;
  background-color: #f0f8ff;
}

.menu-item-cases:before {content: "\f7f3";}
.menu-item-cases-new:before {content: "\e133";}
.menu-item-cases-my:before {content: "\f46d"; }
.menu-item-cases-check:before {content: "\f46c"; }
.menu-item-exit:before {content: "\f52b";}

.menu-item-admin:before {content: "\f7d9";}

.menu-item-stat:before {content: "\f201";}
.menu-item-orders:before {content: "\f291";}
.menu-item-doctors:before {content: "\f0f0";}
.menu-item-patients:before {content: "\f80d";}
.menu-item-users:before {content: "\f4fe";}


.menu-item-mail:before {content: "\f674";}
.menu-item-form:before {content: "\e1e6";}
.menu-item-tasks:before {content: "\e479";}
.menu-item-messages:before {content: "\e1e7";}*/



.table-body {
  display: grid;
  grid-template-columns: repeat(6, auto);
  grid-gap: 1px;
}

.table-body-tickets {
  grid-template-columns: repeat(3, auto);
}

.table-body > div  {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px;
  border-left: 1px dotted gray;
  border-bottom: 1px dotted gray;
  font-size: 0.8em;
}

.table-body > div >p {
  line-height: 1;
  color: inherit;
  padding: 0;
  margin: 0 0 0.3em 0;
}

#new-member {display: inline;}

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

}

.order-approved {
  background-color: #f0f8ff;
}
.order-processing {
  color: #2b9cff;
}

.order-notapproved {
  color: #8f8f8f;
}

.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;
}
.event-create-area {display: grid;}
.new-create-container, .new-resend-container {
  /*width: 300px;*/
  max-width: 100%;
  display: none;
  justify-self: left;
}

a.event-title-link {
  background: lightgray;
  padding: .2em .4em;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
  display: inline-grid;
  margin: 0 3px 3px 0;
}

a.event-title-link:hover {
  background-color: #eaeaea;
}

.event-info-block > div {
  line-height: 1.6;
}

.promo-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(28px, 1fr));
  grid-gap: 10px;
}

.promo-table>div {
  white-space: nowrap;
}


a.dell-promo {
  position: relative;
}
a.dell-promo::before {
  content: "\f2ed";
  font-family: "font-aw";
  position: absolute;
  font-size: 20px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #ff8b57;

}

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


button#create-event::after {
  content: "\f5ff";
  font-family: "font-aw";
  padding-left: 10px;
  font-size: 1.2em;
}

button#resend-ticket::after {
  content: "\f14d";
  font-family: "font-aw";
  padding-left: 10px;
  font-size: 1.2em;
}



.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;
}

.event-info-icon, .event-layer-icon {
  font-size: 1.6em
}

.event-info-icon::before  {
  content: "\f30f";
  font-family: "font-aw";
  padding-right: 5px;
}

.event-option-icon::before  {
  content: "\f085";
  font-family: "font-aw";
  padding-right: 5px;
}

.event-layer-icon::before  {
  content: "\f5fd";
  font-family: "font-aw";
  padding-right: 5px;
}


/***************************************/

.ui-icon-circle-triangle-w::before,
.ui-icon-circle-triangle-e::before  {
  font-family: 'font-aw';
  font-size: 1.1em;
  color: #fff;
  cursor: pointer;
}

.ui-icon-circle-triangle-w::before {content: "\f33a"}
.ui-icon-circle-triangle-e::before {content: "\f33b"}

.ui-datepicker-week-end > a,
.ui-datepicker-week-end > span

{
  font-weight: 600;
}

.event-title {
  display: inline-block;
}

.event-info-block {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  grid-gap: 20px;
}

.option-table {
  display: grid;
  grid-template-columns: minmax(100px, 100%) minmax(10px, max-content) minmax(10px, max-content) minmax(10px, max-content) minmax(10px, max-content) minmax(10px, max-content);
  grid-gap: 5px;
}

.event-options-head {
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.7em;
}

.event-options {
  border-bottom: 1px solid #eee;
  white-space: nowrap;
  overflow: hidden;
  align-self: end;
}

.event-options-curr{
  font-size: 0.5em
}
.event-options-code{
  font-size: 0.8em  
}

@media (max-width: 650px) {
  .event-info-block {
  grid-template-columns: 1fr;
  }
  .event-options {
  font-size: 0.9em
  }
  .event-options-code{
  font-size: 0.7em  
  }
}



a.event-option-icon {
  border: 1px solid #666;
  border-radius: 2px;
  padding: 3px 5px;
}
a.event-option-icon:hover {
  background-color: #f1f1f1;
}
.link-event-options {
  margin-top: 10px;
}

.grid-event-options {
  display: grid;
  grid-template-columns: repeat(7, auto);
  font-size: 1em;
  grid-gap: 0.5em;
}

.grid-event-options>div {
  overflow: hidden;
  white-space: nowrap;
}


@media (max-width: 550px) {
  .grid-event-options {
  font-size: 0.75em;
  }
}


.ticket-item {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;

}

.event-option-unselect {
  display: inline-block;
  padding: 5px;
  border: #ccc 1px solid;
  margin-right: 10px;
  cursor: pointer;
}

.event-option-active {
  border-color: #cf402f;
  background-color: #eee;
}

.event-option-message {
  margin-top: 10px;
  color: #d84a38;
  font-size: 0.9em;
  font-weight: 400;
}

.option-set {
  margin-top: 10px;
}
.add-ticket {
  cursor: pointer;
}


.add-ticket::before{
  content: "\f0fe";
  font-family: 'font-aw';
  font-size: 1.5em;
  color: #6b6b6b;
}


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;
}


.quiz-headers-list {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1.5fr repeat(4, .8fr);
}

.quiz-headers-list * {
  justify-self: left;
  align-self: center;
}

.quiz-headers-list h4 {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.btn-grey {
  background-color: #ccc
}
.content-area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
}
.speaker-details img {
  max-width: 100%;
}

.info-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;

}

.info-data input, .info-data textarea, .info-data select {
  width: 100%;
  font-size: 16px;
  padding: 5px;
  display: block;
  margin-bottom: 10px;
}

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

img.gr, img.igr:hover{
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%); 
  -o-filter: grayscale(100%); 
  -ms-filter: grayscale(100%); 
  filter: grayscale(100%); 
}

img.igr, img.gr:hover{
  -webkit-filter: grayscale(0%); 
  -moz-filter: grayscale(0%); 
  -o-filter: grayscale(0%); 
  -ms-filter: grayscale(0%); 
  filter: grayscale(0%);
}

.speker-selected, .speker-unselected {
  min-width: 150px;
}

.speakers-list img{
  width: 100px;
  height: auto;
  cursor: pointer;
}

.event-menu {
  margin: 2px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0px, max-content));
  white-space: nowrap;
  grid-gap: 1px;
}

.event-menu a {
  background-color: lightgrey;
  padding: 5px 10px;
}

.content-speaker-select {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-gap: 30px;
}
.speaker-position input {
  width: 50px;
}
.speakers-list {
  display: grid;
  grid-gap: 10px;
}

.speaker-details, .partner-details {
  border: 2px solid #ccc;
  padding: 5px;
}

.partner-group-select {margin-top: 10px}


ul#pakets-change-menu {
  list-style-type: none;
}

ul#pakets-change-menu li {
  margin-bottom: 10px;
  position: relative;
}

ul#pakets-change-menu li:hover {
  font-weight: 600;
}

li.event-paket-selected {font-weight: 600;}

ul#pakets-change-menu li::before {
  content: '\f0c8';
  position: absolute;
  left: -20px;
  font-family: "font-aw";
  font-size: 20px;
  color: #35a9e0;
}

li.event-paket-selected::before {
  content: '\f14a' !important;
}

.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;
}

.mail-header-list>a:hover {
  background: #cbd9df;
}
.mail-header-list>a {
  line-height: 1.5;
  border: 1px solid #d3d3d3;
  color: #444;
  margin: 5px 0;
  padding: 5px;
  background: #dcdcdc;
  display: block;
}

.user-info-id {font-size: 14px;}
.user-info-paket {
  padding: 5px;
  border: 1px solid #ccc;
  display: inline-block;
  margin: 10px 0;
}

.user-info-company {margin: 10px 0;}

.user-chat-block {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
}

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


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

textarea.form-bot-text {
  width: 600px;
  max-width: 100%;
  min-height: 150px;

}

select.form-specials {
  margin: 0;
  position: initial;
  height: auto;
  width: 100%;
}


nav.left-nav ul {
  padding: 0;
  margin: 0;
  display: grid;
  grid-gap: 10px;
}

li.nav-point {
  list-style-type: none;
  padding: 0;
  margin: 0;
   
  font-size: 10px;
}

li.nav-point a { 
  display: grid;
  grid-gap: 5px;
  text-align: center;
}

li.nav-point a span {
  font-size: 26px;
  font-weight: 300;
}


.mesaagesList {

  display: grid;
  grid-template-columns: max-content 100px 1fr;
  justify-items: left;
  grid-gap: 10px;
}

.qu-button {
  display: inline-block;
  padding: 4px;
  border: 1px solid;
  margin: 4px;
  background-color: #f0f8ff;
}

span.status-active {
  color: red;
}

.users-message-wrap {
  display: grid;
  margin-bottom: 20px;
}

.users-message-author {
  justify-self: left;
  padding: 5px;
  background-color: #ccc;
}

.users-message-text {
  border: 2px solid #ccc;
  justify-self: left;
}


.case-data,.user-data {
  display: inline-grid;
  position: relative;
  margin: 10px;
  max-width: 100%;
  width: 100%;  
  background-color: #f1f5f8;
  box-shadow: 1px 1px 20px rgb(0 0 0 / 7%);
  border-radius: 20px;
  z-index: 10;
  overflow: hidden;
}

.user-data {
  width: 300px;
  overflow: hidden;
  cursor: pointer;
}

.case-status-bar, .case-data-bar {
    background-color: #ccc;
    letter-spacing: 5px;
    font-size: 14px;
    padding: 5px;
    text-align: center;
}

.case-status-bar {
    margin-left: -20px;
    margin-right: -20px;
    position: relative;
    top: -10px;
    
}


.case-execute {
    background-color: #008b8b;
    color: #fff;
}

.case-inprogress {
    background-color: #a3e9e8;
}

.user-data-name {
  font-size: 20px;
  margin-bottom: 10px;


}

.user-data-test {
  margin: 10px 0;
}

button.button-blue {
  background-color: #43afbf;
  color: #fff;
  font-size: 18px;
}

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

.qu-grid {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 1fr;
}

.user-user {
  background-color: #ebebeb;
  padding: 10px;
  margin: 10px 0;
  display: grid;
  grid-template-columns: .2fr 1.8fr;
  grid-gap: 10px;
}

.icon-user-card {font-size: 50px}

a.case-report-file span {
  font-size: 30px;
}

.cases-table {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.buttons-area {
  display: grid;
  margin: 10px;
}

.case-info {
  display: grid;
  padding: 10px 20px;
}

.caseholder-info {
  padding: 10px 20px;  
  font-size: 18px;
}

.user-data-date {
	background-color: #a3e9e8;
	padding: 5px 10px;
	margin-bottom: 20px;
	border-radius: 5px;
}

.advice-target {
  margin-bottom: 30px;
  padding: 10px;
  background-color: cornsilk;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.advice-target-type {
  font-weight: 600;
  margin-bottom: 10px;
}

.case-data-header-info {
  display: grid;
  justify-content: left;
  font-size: 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin: 20px 0;
  grid-gap: 2px;
}

.case-data-header {
  padding: 20px;
  display: grid;
  grid-template-columns: .1fr 1.9fr;
  grid-gap: 10px;
}

.case-data-header-info>div {
  padding: 10px;
  background-color: #ddd;
}

.advice-target-info {
  display: grid;
  grid-template-columns: .1fr 9fr;
  grid-gap: 5px;
}

.advice-target-info .icon-doctor {font-size: 21px;}
.advice-target-info .icon-user {font-size: 21px;color: #4f8d00;}

.case-data-info, .case-buttons {
  padding: 20px;
}

.case-buttons{
  font-size: 20px;
  display: inline-block;
  padding: 20px;
}

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;
}

#ShowImage {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  overflow: auto;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
}

#image-container {
  max-width: 100%;
  max-height: 100%;
/*  overflow: auto;*/
}

#file-image {
  display: block;
  margin: 0 auto;
  overflow: auto;
  max-width: unset;
  vertical-align: unset;
  min-width: 100%;
  min-height: 100%;

}

div.modal-close-button {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  background: rgb(240 248 255 / 48%);
  z-index: 1000;
  cursor: pointer;
  border-radius: 0 0 10px 10px;
  padding: 5px;
  font-size: 25px;
}

.case-files {
  display: grid;
  padding: 20px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 10px;
}

.case-title {
  padding: 20px;
  padding-bottom: 10px;
  background-color: #73aba8;
  color: #efefef;
  font-size: 18px;
}

.qu-grid > div {
  border-bottom: 1px dotted #ccc;
  padding: 10px 10px 0 10px;
}

a.case-file-icon {
  display: block;
  text-align: center;
}

section.consultation {
	background: rgb(235 235 235 / 78%);
	margin: 0 10px;
	padding: 50px 20px 20px 20px;
	width: 100%;
	display: grid;
	position: relative;
	top: -40px;
	border-radius: 0 0 20px 20px;
}

.consultation form {
	display: grid;
	grid-gap: 10px;
	width: 100%;
}

.consultation textarea.form-bot-text {
	width: 100%;
	max-width: 100%;
	min-height: 150px;
}


.consultation button {
	color: #f0f8ff;
}

.consultation button {
  background-color: #43afbf;
  color: #fff;
  font-size: 18px;
}

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

.consultation-area {
	display: grid;
	border-radius: 10px;
	background-color: rgb(221 221 221 / 73%);
}

.consultation-header {
	background-color: #43afbf !important;
	border-radius: 5px 5px 0 0;
	font-size: 18px;
	margin-bottom: 20px;
}

.consultation-container {
	display: none;
	padding: 10px 20px 20px 20px;
}

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

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


button.icd-add, button.treatment-add {
	color: inherit;
	background-color: #a3e9e8;
	padding: 5px;
	margin-top: 5px;
}


#modal-area {
	display: none;
/*	z-index: 1000;*/
/*	animation: fadeIn 0.5s ease;*/
}
.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(0 0 0 / 63%);;
	overflow-y: scroll;
	padding: 10px;
	animation: fadeIn 0.7s ease;

}
.modal-box {
	justify-self: center;
	align-self: start;
	width: 95%;
	min-height: 400px;
	display: grid;
	margin-left: 15px;
	position: relative;
	background-color: #fff;
	border-radius: 20px;
	padding: 20px;
  padding-right: 40px;
	animation: fadeIn 0.5s ease;
}

.modal-close {
  position: absolute;
  top: -5;
  right: 5px;
  z-index: 1001;
  cursor: pointer;
  padding: 5px;
  font-size: 25px;
}


.modal-close span {
  font-weight: 100;
  font-size: 22px;
}

.select-form select {
  width: 100%;
}

span.icd-code, .treatment-row {
    display: inline-block;
    position: relative;
    padding: 5px 10px 5px 5px;
    padding-right: 11px;
    margin: 5px;
    font-size: 20px;
    background-color: #dfd2ff;
    cursor: pointer;
}

span.treatment-row {
    font-size: 16px;
/*    background-color: #a4fffe;*/
    background: unset;
    padding: unset;

}

span.treatment-row::before {
    content: "\f484";    
    font-family: "font-aw";
    display: inline-block;
    padding-right: 10px;
    font-size: 20px;
}


span.del-button {position: relative;}
span.del-button::after {
  content: '';
  font-family: "font-aw";
    color: #ff0202;
    position: absolute;
    font-weight: 400;
    top: 1px;
    right: -14spx;
    font-size: 11px;
}

span.del-button:hover:after {
  content: "\f057";
}


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

.case-table-wrap {
  display: table;
  width: 100%;
}

.case-table-wrap .user-data {
  display: table-row;
  width: 100%;
  background-color: #f1f5f8;
  
}

.case-table-wrap .case-title {width: 180px;}
.case-table-wrap .caseholder {}
.case-table-wrap .user-data-test {width: 50px}
.case-table-wrap .case-card-ICD {width: 100px}
.case-table-wrap .caseholder-phone {width: 200px}

.case-table-wrap .user-data:nth-child(odd) {
  background-color: #ccc;

}
.case-table-wrap .user-data > div{
  display: table-cell !important;
  font-size: 18px;
  background-color: unset;
  color: unset;
}

.user-data-header {
    position: fixed;
    z-index: 12;
    width: calc(100% - 40px);
}
.user-data-header div{
  color: #fff;
  background-color: #9a9a9a !important;
}

.case-table-content {
  margin-top: 60px;
}

treatment-area-wrap, treatment-area, treatment-area-data {
  display: block;
}

treatment-area-wrap {
    margin-bottom: 20px;
    background-color: rgb(240 248 255 / 80%);
    padding: 10px;
}