@charset "UTF-8";
html {
  background: #101010;
  color: #fefefe;
  font-family: 'Rosario', sans-serif;
  color: #fefefe; }

header {
  display: flex; }

a {
  color: #7bc6ff;
  text-decoration: none; }

p {
  font-size: 1.1em;
  line-height: 1.6em; }

nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: -15px; }
  nav a {
    padding: 15px;
    text-decoration: none;
    color: #b2b2b2;
    transition: color .2s ease; }
    nav a.active {
      color: #fefefe; }
    nav a:hover {
      color: #fefefe; }

img {
  max-width: 100%; }

footer {
  text-align: center;
  color: #aaa;
  margin: 23px 0; }

.wrap {
  padding: 0 50px; }

header h1 a {
  text-decoration: none;
  color: #fefefe; }

.text-width {
  max-width: 1000px;
  margin: 0 auto; }

.gallery {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px; }
  .gallery li {
    padding: 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    flex: 1 0 300px;
    margin: 10px;
    box-sizing: border-box;
    max-width: 450px; }
    .gallery li:before {
      content: '';
      padding-top: 100%;
      display: block;
      float: left; }
    .gallery li.spacer {
      height: 0;
      margin-top: 0;
      margin-bottom: 0; }
      .gallery li.spacer:before {
        padding: 0; }
    .gallery li a {
      display: block;
      width: 100%;
      height: 100%;
      transition: background .2s ease; }
      .gallery li a:hover {
        background: rgba(255, 255, 255, 0.3); }

.caption {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 100%);
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  margin: 0;
  z-index: 999; }

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 999;
  display: none;
  background: #000; }
  .overlay .close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5em; }
  .overlay .close, .overlay .next, .overlay .prev {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 1px 1px #000;
    z-index: 9999; }
  .overlay .prev, .overlay .next {
    position: absolute;
    top: 50%;
    font-size: 3.5em;
    text-align: center;
    display: none; }
  .overlay .prev {
    left: 30px; }
  .overlay .next {
    right: 30px; }
  .overlay img {
    margin: 0 auto;
    display: block;
    max-height: 100%; }

.cache {
  display: none; }

body.overlay-active {
  overflow: hidden; }
  body.overlay-active .overlay {
    display: block; }

.split-content {
  display: flex;
  flex-wrap: wrap; }
  .split-content .side-content {
    flex: 1 0 300px;
    order: 2;
    display: flex;
    align-items: center; }
    .split-content .side-content p:first-child {
      margin-top: 0; }
  .split-content .side-photo {
    display: flex;
    align-items: center;
    flex: 0 1 400px;
    margin: 0 20px 30px 0; }
    .split-content .side-photo img {
      display: block;
      margin: 0 auto;
      height: 100%; }

form {
  max-width: 600px; }

input, select, textarea {
  border-radius: 6px;
  background: #fff;
  font-family: 'Rosario', sans-serif; }
  input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 2px #fff; }

input[type="submit"] {
  background: #fff;
  cursor: pointer;
  border: 1px solid #666;
  color: #333;
  text-decoration: none;
  padding: 5px 10px;
  display: inline-flex;
  align-items: flex-end;
  margin: 0;
  font-size: .8em; }
  input[type="submit"]:hover {
    background: #7bc6ff; }

input[type="submit"] {
  margin-top: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 1.2em; }

input[type="text"], input[type="email"], textarea {
  display: block;
  width: 100%;
  font-size: 1.1em;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #666;
  resize: none; }

textarea {
  height: 150px; }

label {
  margin: 20px 0 5px 0;
  display: block; }

legend {
  display: none; }

.contain {
  border: 0;
  background: 0;
  padding: 0;
  margin: 0; }
  @media (min-width: 450px) {
    .contain {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between; }
      .contain .split {
        flex: 1;
        margin: 0 10px 0 0; }
        .contain .split + .split {
          margin: 0 0 0 10px; } }

select {
  width: 100%;
  height: 43px;
  background: #fff;
  border-color: rgba(0, 0, 0, 0);
  font-size: 1em; }

.editor-link {
  display: none;
  margin-top: 0;
  border: 0;
  border-radius: 2px;
  box-sizing: border-box;
  text-decoration: none;
  margin: 0;
  cursor: pointer;
  background-color: #f7e064;
  color: #333;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.2); }
  .editor-link:hover {
    background-color: #f4d525;
    color: #333; }

.cms-editor-active .editor-link {
  display: block; }

header {
  display: flex;
  position: fixed;
  left: 46px;
  right: 46px;
  top: 0;
  margin-bottom: auto;
  padding: 10px;
  background: #101010;
  z-index: 998; }

.wrap {
  margin: 100px -8px; }

.item-name {
  position: relative;
  background: #262424c0;
  opacity: 100%;
  color: #fff;
  padding: 10px;
  width: auto;
  height: 5%;
  text-align: center;
  font-size: 1.2em; }

.item-name2 {
  position: relative;
  background: #fff;
  color: #262424c0;
  padding: 10px;
  width: auto;
  height: 10%;
  text-align: center;
  font-size: 1.5em; }

/* start: флекс контейнер для стартовой страницы пока не используется*/
.parent {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  overflow: auto; }

/* конецфл: екс контейнер для стартовой страницы */
.video {
  width: 100%;
  height: 100%;
  background: #282C34; }

/*Вне рамок обычного
Стиль для видео плеера
При помощи продвинутых свойств CSS вы можете создать интересные визуальные эффекты.
Например, с помощью свойства filter, можно дать изображению насыщенность,
 контрастность или даже добавить "сепию"*/
/*Параметры:
sepia() сепия
invert() негатив
grayscale() чёрнобелый
 */
.custom-video-controls {
  filter: grayscale(90%) saturate(3);
  /* Ретростиль всегда в моде */ }
