.navigator_up {
  width: 100%;
  padding: 20px 15px;
  box-sizing: border-box;
  color: white;
  font-size: 25px;
  display: none;
}

.version_mobile {
    visibility: hidden;
    display: none;  
}

@media (max-width: 768px) {
  .version_pc {
   visibility: hidden;
    display: none;  
  }
  .version_mobile {
    visibility: visible;
    display: inline;  
  }
  .navigator_up {
  display: block;
  }
  .menu_up {
  display: block;
  }
  ul {
  width: 100%;
  display: none;
  }

  ul li {
  display: block;
  text-align: center;
  }
   
}
.navbar {
    background-color: #262c3a;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.navbar a {
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

nav {
  width: 100%;
  background: #252525;
}
ul {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0px;
  text-align: center;
}

ul li {
  list-style: none;
  display: inline-block;
  padding: 10px;
}

ul li:hover {
}

ul li a{
  color: #1d1d1d;
  text-decoration: none;
  padding: 10px;
}

.menu_up {
  width: 100%;
  box-sizing: border-box;
  display: none;
}

/* Таб для переключения */
.tab {
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 8px;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}


/* Календарь */
.calendar-item {
	width: 200px;
	display: contents;
	font: 14px / 0.5 KanitCyrillic;
}
.calendar-head {
	text-align: center;
	padding: 16px;
}
.calendar-item table {
	border-collapse: collapse;
	width: 100%;
}
.calendar-item th {
	font-size: 12px;
	text-align: center;
	color: #888;
	font-weight: normal;
}
.calendar-item td {
	font-size: 13px;
	padding: 6px 4px;
	text-align: center;
}
.calendar-item tr th:nth-child(6), .calendar-item tr th:nth-child(7),
.calendar-item tr td:nth-child(6), .calendar-item tr td:nth-child(7)  {
	color: #980000;
}	
.calendar-day.last {
	color: #999 !important;
}	
.calendar-day.today {
	font-weight: bold;
	color: #ff5300;
}
.calendar-day.event {
	background: #ff5300;
	border-radius: 5px;
    position: relative;
    cursor: pointer;
    color: white;
    font-weight: bold;
}
.calendar-day.event:hover .calendar-popup {
	display: block;
}
.calendar-popup {
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	min-width: max-content;
	padding: 15px;
	background: #141414;
	text-align: left;
	font-size: 13px;
	z-index: 100;
	box-shadow: 0 0 10px rgb(20 20 20);
	color: #ff5300;
    border-radius: 8px;
}
.calendar-popup:before {
	content: ""; 
	border: solid transparent;
	position: absolute;    
	left: 8px;    
	bottom: 100%;
	border-bottom-color: #141414;
	border-width: 9px;
	margin-left: 0;
}

.panel_title {
    background: #252525;padding: 10px;border-radius: 8px;margin-bottom: 10px; 
}

.panel_form {
    padding: 10px;border-radius: 8px;cursor: pointer;margin-bottom: 10px;border: 2px solid #1c1c1c;
}
.panel_form:hover {
    background: #252525;
}

.panel_forms {
    background: #252525;padding: 10px;border-radius: 0px 0px 8px 8px;
}

/* В анкетах подпункт */
.text_abbriviat_v {
    margin-left: 10px;font-weight: 500;    
}
.text_abbriviat_n {
    margin-left: 10px;margin-top: 10px;font-size: small;    
}

/* Вывод успеха */
.session-note {
    color: red;text-align: -webkit-center;
}

/* цитаты */
.quote {
    background-color: #252525;
    border-left: 4px solid #f26818;
    border-radius: 3px 6px 6px 3px;
    padding: 20px; 
}

/* еррор доступ */
.error-access {
    color: #ffffff;
    background-color: #252525;
    border-left: 4px solid #f26818;
    border-radius: 3px 6px 6px 3px;
    padding: 20px; 
}

/* Таймер обратного отсчета */
.timer__items {
      display: flex;
      font-size: 20px;
    }

    .timer__item {
      position: relative;
      min-width: 60px;
      margin-right: 10px;
      padding-bottom: 15px;
      text-align: center;
    }

    .timer__item::before {
      content: attr(data-title);
      display: block;
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      font-size: 14px;
    }

    .timer__item:not(:last-child)::after {
      content: ':';
      position: absolute;
      right: -7px;
    }

/* Раздел обновления */

.base_update {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.base_update::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.container_update {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.container_update::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #252525;
    border: 4px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left_update {
    left: 0;
}

.right_update {
    left: 50%;
}

.left_update::before {
    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 31px;
    border: medium solid #252525;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #252525;
}

.right_update::before {
    content: '';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 31px;
    border: medium solid #252525;
    border-width: 10px 10px 10px 0;
    border-color: transparent #252525 transparent transparent;
}

.right_update::after {
    left: -13px;
}

.content_update {
    padding: 20px 30px;
    background-color: #252525;
    position: relative;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .base_update::after {
    left: 31px;
  }
  
  .container_update {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .container_update::before {
    left: 61px;
    border: medium solid #252525;
    border-width: 10px 10px 10px 0;
    border-color: transparent #252525 transparent transparent;
  }

  .left_update::after, .right_update::after {
    left: 18px;
  }
  
  .right_update {
    left: 0%;
  }
}

.title_update {
    padding: 5px 0px;
    font-size: 40px;
}

/* МЕНЮ ДЛЯ МОБИЛКИ*/
.menu-title-mobi {
    color: #8794a1;font-weight: bold;text-transform: uppercase;font-size: 10px;padding: 16px 12px 2px;letter-spacing: .2rem;
}

/* Блеск кнопок */
  @keyframes slideme {
    0% {
        left: -30px;
        margin-left: 0px;
    }
    30% {
        left: 110%;
        margin-left: 80px;
    }
    100% {
        left: 110%;
        margin-left: 80px;
    }
}

.shine {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.shine:after {
    content: "";
    position: absolute;
    top: 0;
    left: -200px;
    width: 60px;
    height: 100px;
    background-color: #ffffff;
    filter: blur(30px);
   /* transform: skewX(30deg) translateZ(0); */ 
    transition: 1s;
    animation-name: slideme;
    animation-duration: 5s;
    animation-delay: 0.05s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}
	

/* Текст по центру страницы */
.text-center {
    text-align: -webkit-center;
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

/* Портфолио */
.portfolio-photos-feed-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.portfolio-photos-feed {
  flex-shrink: 0; 
  width: 200px; 
  height: 100%;
  margin-right: 10px; 
}
.portfolio-lenta-photos {
    float: left;
    position: relative;
    width: 30%;
    padding-bottom: 30%;
    margin: 1.66%;     
    flex-shrink: 0;
}
.portfolio-lenta-photos:hover {
    opacity: .5;
}
.portfolio-lenta-imges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    object-fit: cover;
}

/* Новостной блог */
.news-feed-container {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.news-feed {
  flex-shrink: 0; 
  width: 144px; 
  height: 144px;
  margin-right: 10px; 
  font-size: 11px;
  background: #252525;
  padding: 5px;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}
.news-feed:hover {
  background: #3d3d3d;
}


.topic {
    color: #f26818;background-color: #f2681824;padding: 5px;border-radius: 8px;font-size: 12px;vertical-align: middle;
}

/* фон для авы*/
 
@keyframes gradglavAvatar {
	0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* салют */
.firework {
    background-repeat: repeat-x;
    background-position: top -10px center;
    background-image: url("data:image/svg+xml,%3Csvg width='600' height='90' viewBox='0 0 600 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='42' y='-10' width='6' height='10'/%3E%3Crect x='84' y='-10' width='6' height='10'/%3E%3Crect x='126' y='-13' width='5' height='13'/%3E%3Crect x='168' y='-13' width='5' height='13'/%3E%3Crect x='210' y='-10' width='6' height='10'/%3E%3Crect x='252' y='-13' width='5' height='13'/%3E%3Crect x='294' y='-10' width='6' height='10'/%3E%3Crect x='336' y='-13' width='5' height='13'/%3E%3Crect x='378' y='-13' width='5' height='13'/%3E%3Crect x='420' y='-10' width='6' height='10'/%3E%3Crect x='462' y='-10' width='6' height='10'/%3E%3Crect x='504' y='-13' width='5' height='13'/%3E%3Crect x='546' y='-10' width='6' height='10'/%3E%3Cstyle type='text/css'%3E rect %7B opacity: 0; %7D rect:nth-child(1) %7B transform-origin: 45px 5px; transform: rotate(-145deg); animation: blast 700ms infinite ease-out; animation-delay: 88ms; animation-duration: 631ms; %7D rect:nth-child(2) %7B transform-origin: 87px 5px; transform: rotate(164deg); animation: blast 700ms infinite ease-out; animation-delay: 131ms; animation-duration: 442ms; %7D rect:nth-child(3) %7B transform-origin: 128px 6px; transform: rotate(4deg); animation: blast 700ms infinite ease-out; animation-delay: 92ms; animation-duration: 662ms; %7D rect:nth-child(4) %7B transform-origin: 170px 6px; transform: rotate(-175deg); animation: blast 700ms infinite ease-out; animation-delay: 17ms; animation-duration: 593ms; %7D rect:nth-child(5) %7B transform-origin: 213px 5px; transform: rotate(-97deg); animation: blast 700ms infinite ease-out; animation-delay: 122ms; animation-duration: 476ms; %7D rect:nth-child(6) %7B transform-origin: 255px 6px; transform: rotate(57deg); animation: blast 700ms infinite ease-out; animation-delay: 271ms; animation-duration: 381ms; %7D rect:nth-child(7) %7B transform-origin: 297px 5px; transform: rotate(-46deg); animation: blast 700ms infinite ease-out; animation-delay: 131ms; animation-duration: 619ms; %7D rect:nth-child(8) %7B transform-origin: 338px 6px; transform: rotate(-65deg); animation: blast 700ms infinite ease-out; animation-delay: 85ms; animation-duration: 668ms; %7D rect:nth-child(9) %7B transform-origin: 380px 6px; transform: rotate(13deg); animation: blast 700ms infinite ease-out; animation-delay: 128ms; animation-duration: 377ms; %7D rect:nth-child(10) %7B transform-origin: 423px 5px; transform: rotate(176deg); animation: blast 700ms infinite ease-out; animation-delay: 311ms; animation-duration: 508ms; %7D rect:nth-child(11) %7B transform-origin: 465px 5px; transform: rotate(108deg); animation: blast 700ms infinite ease-out; animation-delay: 108ms; animation-duration: 595ms; %7D rect:nth-child(12) %7B transform-origin: 506px 6px; transform: rotate(62deg); animation: blast 700ms infinite ease-out; animation-delay: 105ms; animation-duration: 375ms; %7D rect:nth-child(13) %7B transform-origin: 549px 5px; transform: rotate(16deg); animation: blast 700ms infinite ease-out; animation-delay: 149ms; animation-duration: 491ms; %7D rect:nth-child(odd) %7B fill: %2365BB5C; %7D rect:nth-child(even) %7B z-index: 1; fill: %2333AAFF; %7D rect:nth-child(4n) %7B animation-duration: 1400ms; fill: %23F23B14; %7D rect:nth-child(3n) %7B animation-duration: 1750ms; animation-delay: 700ms; %7D rect:nth-child(4n-7) %7B fill: %232A2F6A; %7D rect:nth-child(6n) %7B fill: %23FBBA23; %7D @keyframes blast %7B from %7B opacity: 0; %7D 20%25 %7B opacity: 1; %7D to %7B transform: translateY(90px); %7D %7D %3C/style%3E%3C/svg%3E%0A");

    @media (prefers-reduced-motion) {
        background-image: url("data:image/svg+xml,%3Csvg width='574' height='60' viewBox='0 0 574 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect opacity='0.8' x='27.1224' y='20.0458' width='5' height='13' transform='rotate(-139 27.1224 20.0458)' fill='%23F23B14'/%3E%3Crect opacity='0.8' x='118.478' y='7.00201' width='5' height='13' transform='rotate(-38.8114 118.478 7.00201)' fill='%23FBBA23'/%3E%3Crect opacity='0.8' x='504.616' y='25.4479' width='5' height='13' transform='rotate(-60.2734 504.616 25.4479)' fill='%23F23B14'/%3E%3Crect opacity='0.6' x='538.983' y='45.555' width='5' height='13' transform='rotate(16.7826 538.983 45.555)' fill='%232A2F6A'/%3E%3Crect opacity='0.3' x='470.322' y='2.63625' width='5' height='13' transform='rotate(11.295 470.322 2.63625)' fill='%2333AAFF'/%3E%3Crect opacity='0.3' x='190.295' y='4.58138' width='5' height='13' transform='rotate(27.5954 190.295 4.58138)' fill='%23F23B14'/%3E%3Crect opacity='0.8' x='234.303' y='16.3233' width='5' height='13' transform='rotate(-41.8233 234.303 16.3233)' fill='%2365BB5C'/%3E%3Crect opacity='0.6' x='369.702' y='40.9875' width='5' height='13' transform='rotate(-56.419 369.702 40.9875)' fill='%2333AAFF'/%3E%3Crect opacity='0.3' x='402.121' y='31.0848' width='5' height='13' transform='rotate(-17.9234 402.121 31.0848)' fill='%23F23B14'/%3E%3Crect opacity='0.6' x='200.316' y='31.9328' width='5' height='13' transform='rotate(-15.8896 200.316 31.9328)' fill='%232A2F6A'/%3E%3Crect opacity='0.6' x='69.6745' y='23.4725' width='6' height='10' transform='rotate(70.0266 69.6745 23.4725)' fill='%2365BB5C'/%3E%3Crect opacity='0.6' x='291.945' y='7.16931' width='6' height='10' transform='rotate(30.4258 291.945 7.16931)' fill='%23FBBA23'/%3E%3Crect opacity='0.3' x='33.7754' y='38.2208' width='6' height='10' transform='rotate(38.6056 33.7754 38.2208)' fill='%23FBBA23'/%3E%3Crect opacity='0.8' x='109.752' y='31.1743' width='6' height='10' transform='rotate(28.5296 109.752 31.1743)' fill='%2333AAFF'/%3E%3Crect opacity='0.3' x='278.081' y='37.8695' width='6' height='10' transform='rotate(-26.5651 278.081 37.8695)' fill='%23F23B14'/%3E%3Crect opacity='0.8' x='416.294' y='11.5573' width='6' height='10' transform='rotate(-22.8498 416.294 11.5573)' fill='%23FBBA23'/%3E%3Crect opacity='0.3' x='354.667' y='9.32341' width='6' height='10' transform='rotate(17.7506 354.667 9.32341)' fill='%232A2F6A'/%3E%3Crect opacity='0.8' x='532.404' y='16.6372' width='6' height='10' transform='rotate(-75.3432 532.404 16.6372)' fill='%23FBBA23'/%3E%3Crect opacity='0.6' x='460.463' y='39.3557' width='6' height='10' transform='rotate(45.4982 460.463 39.3557)' fill='%2365BB5C'/%3E%3C/svg%3E");
    }
}