@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: 300;
  font-display: auto;
  src: url("fonts/fa-light-300.eot");
  src: url("fonts/fa-light-300.eot?#iefix") format("embedded-opentype"), url("fonts/fa-light-300.woff") format("woff"), url("fonts/fa-light-300.ttf") format("truetype"), url("fonts/fa-light-300.svg#fontawesome") format("svg"); 
}

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


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

main {padding: 1em;}

.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 {
  background-color: #d84a38;
  border: none;
  border-radius: 2px;
  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;
  }
}

#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;width: 100%;}
.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: 100px;
  margin: 1em;
}

.big-menu-elem {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 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: 80px;
  color: white !important;
  text-decoration: none !important;
  font-size: 0.8em;
  position: relative;
  padding-bottom: 1em;
  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: -0.7em;
  position: absolute;
  left: 50%;
  background: #9a9a9a;
  border-radius: 50%;
  padding: 2px;
  font-size: 1.3em;
  margin-left: -0.6em;
  pointer-events: all;
  cursor: pointer;

}


@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[id^="menu-item-"]:before {

  font-family: 'font-aw';
  font-size: 2.5em;
  position: absolute;
  top: 20%;

}

#menu-item-scaner:before {content: "\f029";}
#menu-item-speakers:before {content: "\f8cb";}
#menu-item-tests:before {content: "\f733";}
#menu-item-promocode:before {content: "\f646";}
#menu-item-interaction:before {content: "\e068";}
#menu-item-events:before {content: "\f63d";}
#menu-item-orders:before {content: "\f291";}
#menu-item-tickets:before {content: "\f543";}
#menu-item-users:before {content: "\f830";}
#menu-item-partners:before {content: "\f2b5";}
#menu-item-exit:before {content: "\f52b";}
#menu-item-sert:before {content: "\f5f3";}


.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: aliceblue;
}
.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: 1fr 1fr 1fr 1fr;
  max-width: max-content;
  margin: 20px 0;
}

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

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



dt.user-name.sert-uncheked::before {
    content: '\f111';
    font-family: 'font-aw';
    padding-right: 10px;
    color: cornflowerblue;
}

dt.user-name.sert-cheked::before {
    content: '\f058';
    font-family: 'font-aw';
    padding-right: 10px;
    color: cornflowerblue;
}


