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

* {outline: none;font-family: 'Exo 2', sans-serif;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"); 
}

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


/*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-family: 'Exo 2', sans-serif;
  font-weight: 300;
  color: #444444;
  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: #00bbc6;
  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;
}

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


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

.login-container {
  display: grid;
  height: 100%;
  min-height: fit-content;
  width: 100%;
  min-width: fit-content;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../img/background-main.jpg);
    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}



.login-box {
    justify-self: center;
    align-self: center;
    width: 80%;
    max-width: 600px;
    display: inline-block;
    border-radius: 4px;
    background: #ffffffd9;
    margin-bottom: 2em;
}

.login-form-head {

}

.contact-email:before {
  content: "\f0e0";
  font-family: "font-aw";
  font-size: 1.2em;
  padding-right: 10px;
  vertical-align: -2px;
}

.login-box>div {
  padding: 1em;
  text-align: center;
}

.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;}
.formGrid > input, .formGrid > select {grid-column: controls;grid-row: auto;padding: 0.3em;height: unset;}
.formGrid > button {grid-column: span 2;}

.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: 368px;
  width: 100%;
}

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

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

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

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-promocode:before {content: "\f646";}
#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-exit:before {content: "\f52b";}


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

.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 {
  color: #000;
  font-weight: 400;

}
.order-processing {
  color: #003eff;
}

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

.new-create-container {
  max-width: 300px;
  display: none;
}

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: inline-grid;
  grid-template-columns: repeat(4, minmax(28px, 65px));
  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;
}

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





.blur3>* {
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}


.blur0 {
  filter: blur(0);
}












/*.page-inner {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    width: 100%;
}
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 75rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.box {
    max-width: 26em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #fff;
    padding: 1em;
}
@media (min-width: 48em) {.box {padding: 2em;}}

.box-head {
    background-color: #ccc;
    color: #fff;
    margin-top: 2em;
    -webkit-border-radius: 0.2em 0.2em 0 0;
    border-radius: 0.2em 0.2em 0 0;
    padding: 0;
}

.logo-login {
    max-width: 26em;
    margin-left: auto;
    margin-right: auto;
}

.logo-login img {
    max-width: 100%;
}

*/


/* Example 1 */

#slider-top .sp-thumbnail {
  width: 100%;
  padding: 8px;
  background-color: #F0F0F0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}

#slider-top .sp-thumbnail-title {
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #333;
}

#slider-top .sp-thumbnail-description {
  font-size: 14px;
  color: #333;
}

@media (max-width: 860px) {
  #slider-top .hide-medium-screen {
    display: none;
  }
}

@media (max-width: 640px) {
  #example1 .sp-layer {
    font-size: 12px;
  }

  #example1 .hide-small-screen {
    display: none;
  }
}

@media (max-width: 500px) {
  #example1 .sp-thumbnail {
    text-align: center;
  }

  #slider-top .sp-thumbnail-title {
    font-size: 12px;
    text-transform: uppercase;
  }

  #slider-top .sp-thumbnail-description {
    display: none;
  }
}

.sp-thumbnails-container {max-width: 1200px !important}

.sp-img300 img {max-width: 300px;}
.sp-img200 img {max-width: 200px;}
.sp-img500 img {max-width: 450px;}

.sp-img500, .sp-img200 {text-align: right;}
.sp-layer {max-width: 1200px !important;}
p.sp-main-text {font-size: 1.4em !important;}


@media (max-width: 404px) {
  .sp-img500 {bottom: -136px !important;}
}
@media (max-width: 320px) {
  .sp-img500 {bottom: -100px !important;}
  .sp-img200 img {max-width: 150px;}
}

a.sp-contacts {
    display: block;
    white-space: nowrap;
}
a.sp-contacts::before {
    right: 5px;
    color: #00BCC6;
    font-size: 1.5em;
    vertical-align: sub;
    font-family: 'font-aw';
    padding-right: 10px;
}

a.sp-phone::before{content: '\f3ce';}
a.sp-email::before{content: '\f0e0';}


.sp-navy {
    color: #FFF;
    background: rgba(0,188,198);
}

@media (max-width: 991px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }

  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .collapse.in{
      display:block !important;
  }
}

.end-off {
    height: 26px;
}

/*CAlendar*/
.calendar-row {
    display: grid;
    grid-template-columns: minmax(10px, 101px) 1fr;
    grid-gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e4e4e4;
    text-align: left;
}


.calendar-row-open {
    border-bottom: none;
}

@media (max-width: 768px) {
  .calendar-row-open {
      border-bottom: none;
      grid-template-columns: minmax(auto, 1fr);
  }
}



.calendar-date {
    text-align: center;
    max-width: 101px;
}

.calendar-month {
    font-size: 0.8em;
    padding: 2px;
    background: #00bbc6;
    color: #fff;
}

.calendar-day {
    background: #f0f0f0;
    font-size: 1.6em;
    padding: 5px;
}

.curr-date .calendar-day {
    background: #00bbc67a;
}

.calendar-week {
    font-size: 0.5em;
    font-weight: 800;
    color: #676767;
    background: #d9d9d9;
}

.calendar-event-open::first-letter, .calendar-event::first-letter {
    font-size: 1.2em;
    color: #00bbc6;
}

.calendar-event {
    background: #f0f0f0;
    margin-bottom: 5px;
    padding: 3px 10px;
    border-bottom: 4px solid #d9d9d9;
}

.calendar-event-open {
    background: #fff;
    background: #ffffffc4;
    padding: 20px;
    font-size: 1.2em;
}


.calendar-event-link-head {
    margin: 20px 0 10px;
    font-weight: 600;
    color: #00bbc6;
    font-size: 0.8em;
    border-bottom: 1px solid #00bbc6;
}

.calendar-link-row {border-bottom: 1px solid #ccc;}
.calendar-link-row::before {
  font-family: 'font-aw';
  color: #00bbc6;
  font-size: 1.6em;
  padding-right: 10px; 
}
.cal-class-doc::before {content: '\f1c2';}
.cal-class-vid::before {content: '\f1c8';}
.cal-class-pdf::before {content: '\f1c1';}
.cal-class-ppt::before {content: '\f1c4';}
.cal-class-unk::before {content: '\f15b';}



/*Preload*/
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: #fff;
  z-index: 1001;
}

.preloader__image {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  animation: preloader-rotate 2s infinite linear;
}

@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}

/*video*/

.embed-video-project {
    border: 2px solid #00bbc6;
    background: #00bbc6;
    color: #fff;
    margin: 5px;
}

.embed-video-project-desc {
    padding: 5px;
    font-size: 1.2em;
}

.embed-video-project-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.embed-video-project iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.sp-layer-text {font-size: 18px !important;}
.sp-layer-text1 {font-size: 24px !important;}

@media (max-width: 768px) {
.sp-layer-text{font-size: 14px !important;}
}


.hp-cust-row {text-align: center;}

.hp-cust-row h3 {color: #ccc;}

.hp-cust {
    display: inline;
    padding: 5px;
    border-right: 1px solid #00bbc6;
    white-space: nowrap;
}


section#thanks .container {
    overflow: hidden;
}

.form-answer {
    color: #323232;
    font-size: 1.2em;
    padding: 0;
    margin: -13px 0 13px 0;
}

#autorize {
    height: 100%;
    min-height: 100%;
    padding: 15rem 0 20rem 0;
    background-color: #565656;
    background-color: rgba(0,0,0,.7);
    border-radius: 10px !important;
}

form#calendar-autorize input {
    background: #fff !important;
    color: #444 !important;
    border: 1px solid #00bcc6;
    padding: 5px;
    font-size: 1.3em;
    height: auto;
    max-width: 200px;
}

#calendar h2 {
    background: #fff;
    border-color: #00bcc6;
    color: #00bcc6;
    font-size: 1.3em;
}

#calendar button {line-height: unset;margin: 0px;padding: 7px;border: 1px solid #d93a26;}

form#calendar-autorize {
    display: inline-grid;
    grid-template-columns: minmax(170px, 1fr) minmax(50px, 100px);
    grid-gap: 10px;
    padding: 10px;
}
.body-calendar {
  background: url(../img/calendar-bg.jpg);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.grecaptcha-badge {
    display: none !important;
}

.autorize_error {
    font-size: 1.2em;
    color: aliceblue;
}

section#anounce {
    padding-top: 20px;
}

h2.head-anounce {
    border: none;
    border-bottom: solid 1px #797979;
    display: block;
    font-size: 20px;
    text-align: left;
    padding-top: 0;
}

.image-cropper{
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50% !important;
    padding: 0;
    margin: 0 10px;
    display: inline-block;
}

img.promo-img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .promo-event-content { text-align: left !important; }
}



section#events {
  background-image: url('../img/bg3.jpg');
  background-size: cover;
  background-position: center;
  padding-bottom: 30px;
}

.event-block-img-w {
  padding:100% 0 0 0;
  position:relative;
}

.event-block-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
}

.block-events {
  display: grid;
  grid-template-columns:0.5fr 1fr;
  grid-gap: 15px;
}

.event-block-date {
  display: grid;
  grid-template-columns: 101px 1fr;
  grid-gap: 20px;
}

h3.events-title {
  margin: 10px 0;
  padding: 0;
}

.event-time::before {
  content: "\f017";
  font-family: 'font-aw';
  padding-right: 10px;
}

.events-description, .event-block-time {
  background: rgb(255 255 255 / 70%);
  padding: 0 10px;
}

.events-description{
  margin: 20px 0;
  padding: 15px;
  font-size: 1.2em;
}

@media screen and (min-width: 900px) {
  h3.events-title {font-size: 1.1em;}
}


.grid-col-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}


@media screen and (max-width: 650px) {
  .block-events {grid-template-columns: 1fr;}
  .grid-col-mob-1{
    display: grid;
    grid-template-columns: 1fr;
  }
}

/*.calendar-date {
  text-align: center;
  max-width: 101px;
}

.calendar-month {
  font-size: 0.8em;
  padding: 2px;
  background: #336e8a;
  color: #fff;
}

.calendar-day {
  background: #f0f0f0;
  font-size: 1.6em;
  padding: 5px;
}
.calendar-week {
  font-size: 0.5em;
  font-weight: 800;
  color: #676767;
  background: #d9d9d9;*/
}