@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap');

@font-face {
  font-family: 'centurygothic';
  src: url("/fonts/centurygothic.ttf");
}

::-webkit-scrollbar {
  width: 0;
}

/* Меню боковой панели */
.sidenav {
  height: 470px; /* Высота сайдбара */
  width: 100px; /* Установите ширину боковой панели */
  padding-top: 15px;
  position: fixed; /* Фиксированная боковая панель (оставайтесь на месте при прокрутке) */
  z-index: 1; /* Оставайтесь с верху */
  top: 20%; /* Отступ сверху */
  vertical-align: middle;
  left: 0;
  background-color: #fff; /* Цвет фона панели */
  overflow-x: hidden; /* Отключить горизонтальную прокрутку */
  border-radius: 0px 5px 5px 0px; /* Закругление углов по правой стороне */
  text-align: center;  /* Центрирование */
  text-transform: uppercase;
  color: #000; /* Цвет текста */
  font-family: 'centurygothic';
  padding-bottom: 10px;
  box-shadow: 5px 5px 15px 0px #a9a7a7;
  font-size: 14px;
  font-weight: 400;
}

/* Свойства картинок */
.sidenav img {
  margin: 0px 3px 15px 3px;
  width: 93%;
  height: auto;
  
}

/* Стиль содержимого страницы */
.main {
  margin-left: 160px; /* То же, что и ширина боковой панели */
  padding: 0px 10px;
  vertical-align: middle;
}

/* На небольших экранах, где высота меньше 1000px, измените стиль боковой панели (меньше отступов и меньший размер шрифта) */
@media screen and (max-height: 1000px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
/* Отключение кликабельности виджета погоды */
.disabled-link{
        cursor: default;
        pointer-events: none;        
        text-decoration: none;
}
.break-size {
  width: fit-content !important;
  text-align: center;
  font-size: 1.3rem;
}
.table-heading-row {
  font-size: 1.1rem;
}

/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul,
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

header{
    position: sticky;
    top: 0;
    z-index:5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}


html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #eee;
}

#clock{
    /* padding:15px 10px; */
    color:black;
    display: flex;
    align-items: center;
    font-family: "centurygothic";
}

.clock-date {
  font-size: 21px;
  padding: 0px 5px;
  color: #fff;
  opacity: 0.7;
  line-height: 0.9 !important;
}

#clock span{
    color: #fff;
    font-size: 50px;
    margin-right: 1rem;
}

main {
  flex: 1 0 auto;
  padding-bottom: 150px;
}

.content {
  max-width: 90%;
  margin: 0 auto;
}

#auth-block {
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  height: 100%;
}

#auth-form {
  margin: 30px 15px;
  font-family: 'Allerta Stencil', sans-serif;
  width: 600px;
  background-color: rgba(146,192,32,0.7);
  border-radius: 8px;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

#auth-form>form {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
}

#auth-form>h3 {
  text-align: center;
  font-size: 25px;
  padding-top: 20px;
}

#auth-form label {
  font-size: 18px;
}

#passReminder {
  color: black;
}

#auth-form button {
  width: 150px;
  font-size: 18px;
}

#auth-button, #reg-button, #edit-button, #new-password-button {
  text-align: center;
}

.navbar-nav>li {
  background: rgba(119, 66, 110, 0.5);
  border: 2px solid white;
  border-radius: 5px;
  margin-right: 20px;
  transition: .2s linear;
}

.nav-link{
    transition: none !important; 
}

.navbar-nav>li:hover {
  color: white;
  background: rgba(73, 47, 69, 0.5);
}

.footer-link, .navbar-nav>li>a {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.8px;
  color: #fff
}

.navbar {
  padding: 0;
}

.navbar-toggler {
  padding: .20rem .50rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid white
}

.nav-link {
  height: 50px !important;
  min-width: 220px;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem !important;
}

.nav-link:not(.tabs) {
  color: #fff !important;
}

.wrapper {
  width: 100%;
  position: absolute;
  height: 100%;
  background-color: #92c020;
  clip-path: polygon(81% 0, 100% 0, 100% 50%, 100% 100%, 71% 100%);
  transition: 1s all;
}

.logout {
  margin-bottom: 0;
}

.navbar-brand {
  color: #fff;
  font-family: 'Allerta Stencil', sans-serif;
  margin-bottom: 4px;
  font-size: 27px;
  width: 50px;
  margin-right: 2rem;
}

@media (max-width: 900px) {
  .mobile-header {
    justify-content: center !important;
  }
}

@media (max-width: 1330px) {
  .navbar-brand {
    margin-right: 10px;
  }
  .clock-date {
    font-size: 16px !important;
    padding: 0px 5px;
    color: #fff;
    opacity: 0.7;
    line-height: 0.9 !important;
    min-width: 110px;
  } 
  #clock span{
    color: #fff;
    font-size: 40px;
    margin-right: .8rem;
}
.nav-link {
  font-size: 16px !important;
  height: 80px !important;
  letter-spacing: 1.2px;
  width: 240px;
  text-align:center;
  padding: .5rem !important;
}
#navbarSupportedContent {
  margin-left: 10px;
}
.footer-link {
  font-size: 12px !important;
  height: 40px !important;
  letter-spacing: 1.2px;
  min-width: 190px !important;
}
.navbar-nav>li {
  margin: 10px 15px 10px 0px;
}
.footer-menu a:nth-child(2) {
  margin-right: 10px !important;
  margin-left: 10px !important;
}
}

.navbar-red:hover .wrapper {
  clip-path: polygon(81% 0, 100% 0, 100% 50%, 100% 100%, 65% 100%)
}

.navbar-brand:hover {
  color: #fff
}

.navbar-red {
  background-color: #a54d97;
  color: #fff;
}

.all-show {
  z-index: 10;
}

#but1{
  font-family: 'Microsoft Sans Serif', sans-serif;
  height:40px;
}

footer{
  background-color: #a54d97;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.elem{
  height:350px;
  margin-bottom:20px;
  color:white;
  border-radius: 10px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}
  
#content1{
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#content1 .row {
  width: 100%;
  margin: 30px 0 20px;
}

#content1 .h3{
  width:100%;
  height:110px;
  background-color: rgba(0, 0, 0, 0.466);
  border-radius: 0 0 10px 10px;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#content1 form {
  margin: 0 auto;
}

#content1 .type-button {
  text-align: center;
}

.height {
  min-height: 75px;
}

.type-button button, .build-groups button, .group-button button {
  border: none;
  background-color: transparent;
}

#content1 a{
  color:white;
  text-align:center;
}
  
#content1 a{
  text-decoration:none;
}
  
/*#content1 a:hover{*/
/*  border-bottom: 2px solid white;*/
/*  cursor:pointer;*/
/*}*/
  
  
.var1{
  background-image: url("../img/spo.jpg");
  background-position: center;
  background-size: cover;
}
  
.var3{
  background-image: url("../img/college.jpg");
  background-position: center;
  background-size: cover;
}
  
.var2{
  background-image: url("../img/1234.png");
  background-position: center;
  background-size: cover;
}


.buildingsBlock {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.buildingsBlock h2{
  text-align: center;
}
.buildings{
  width: 100%;
  margin: 30px auto;
}
.buildings .elem{
  background-color: #92c020;
  height: 200px;
}
.buildings .row {
  width: 100%;

}
.buildings .h3{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0 !important;
}
.buildings h3{
  color:white;
  text-align:center;
}
.buildings a{
  text-decoration: none;
}
/*.buildings h3:hover{*/
/*  border-bottom: 2px solid white;*/
/*  cursor:pointer;*/
/*}*/
  

#add-form {
  max-width: 800px;
  margin: 20px auto;
}

#add-form h3 {
  margin-bottom: 10px;
  text-align: center;
}
  
  
.video {
  width: 100%;
  padding-top: 56.30%;
  position: relative;
}

.video iframe {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.buttons{
  text-align: center;
  margin: 10px;
}

.call_schedule{
  display: block;
  margin-top: 2rem;
}
#groupsBlock{
  display: block;
  margin-top: 2rem;
}
#groupsBlock .row {
  width: 100%;
}

#groupsBlock .groupBlock {
  height: 100px;
  margin: 10px 0;
  color:white;
  border-radius: 10px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#groupsBlock a{
  text-decoration: none !important;
}

  
#groupsBlock .groupBlock h3{
  text-align: center;
  color: #fff;
  
}
/*#groupsBlock .groupBlock h3:hover{*/
/*  border-bottom: 2px solid white;*/
/*  cursor:pointer;*/
/*}*/

.table-row {
    font-size: 1.4rem;
}

.del-new {
    width:100px;
    height:40px; 
    position:absolute; 
    bottom: 1px; 
    right:1px;
}

.red-new {
     width:140px;
    height:40px; 
    position:absolute; 
    bottom: 1px; 
    right:120px;
    border: 1px #92c020 solid;
    color: #92c020;
}

.del-new, .del-call-row, .user-btn {
    border: 1px #a34797 solid;
    color: #a34797;
}

.red-new:hover{
    background-color: #92c020;
    color: white;
    transition: .3s;
}

.text-size {
    width: 100px !important;
    text-align: center;
}

.del-new:hover, .del-call-row:hover, .user-btn:hover {
    background-color: #a34797;
    color: white;
    transition: .3s;
}



.card-body{
    display:flex;
    justify-content:space-between;
}

.card-body>div {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.card-body>div>form {
    margin-left: 10px;
    padding: 5px 0;
}

.visible{
  display: block;
}
.unvisible{
  display: none;
}

.newImg{
    object-fit: cover;
    min-width: 300px;
    max-width: 300px;
}

.footer-menu {
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
}
.footer-menu a {
  text-decoration: none;
  background: rgba(119, 66, 110, 0.5);
  border: 2px solid white;
  border-radius: 5px;
  font-size: 16px;
  height: 50px;
  min-width: 220px;
  display: flex;
  align-items: center;
  padding: 1rem;
    transition: .2s linear;
    justify-content: center;
}
.footer-menu a:hover {
  color: white;
  background: rgba(73, 47, 69, 0.5);
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 5px;
  font-weight: 100 !important;
}

.footer-menu a:nth-child(2) {
  margin-right: 20px;
  margin-left: 20px;
  
}
footer p {
  margin-bottom: 1px;
}
.cardImage-text{
      overflow:hidden;
      height:125px;
  }
  .flers{
      flex-direction: row;
  }
  a.ww-widget-adaptive.ww-width-320-700 {
    height: auto !important;
  }
  .right-block {
    width: 60%;
    align-items: center;
  }
  .weather-block {
    width: 100%;
    margin-left: 0;
  }
  .ww-widget-adaptive {
    width: inherit !important;
  }
  .ww-widget-adaptive-now-city ,.ww-widget-adaptive-now-temp {
    flex-grow: 0 !important;
  }
  .ww-widget-adaptive-now-box {
    justify-content: center;
    height: auto !important;
  }
  .ww-widget-adaptive-now {
    margin-bottom: 1rem;
  }

/*медиа-запросы*/
@media screen and (max-width: 1500px) {
  .flers{
    flex-direction: column !important;
}
  .right-block {
    align-items: center;
    width: 80%;
    margin: 30px auto 0 !important;
  }
  .ww-widget-adaptive-now {
    width: fit-content !important;
    padding-left: 0 !important;
  }
  .ww-widget-adaptive-now-temp {
    font-size: 30px !important;
  }
  .ww-widget-adaptive-week {
    width: auto !important;
    top: 0 !important;
    height: 100% !important;
  }
  .ww-widget-adaptive-now-box {
    flex-direction: column;
    overflow: visible !important;
  }
  .ww-widget-adaptive-now-icon>svg.i-svg {
    width: 50px !important;
    margin-bottom: 10px !important;
  }
  .ww-widget-adaptive-day-week-short {
    font-size: 16px !important;
  }
  .ww-widget-adaptive-day-temp {
    font-size: 16px !important;
    top: -5px !important;
  }
  .ww-widget-adaptive-day-icon>svg.i-svg {
    width: 40px;
  }
  .ww-widget-adaptive-day-icon {
    display: block !important;
  }
}

@media screen and (max-width: 920px) { /*при ширине экрана меньше 920 пикселей*/
  .nav-link{
      height:80px !important;
  }
  .cardImage-text{
      overflow:hidden;
      height:95px;
  }
}

@media screen and (max-width: 800px) { /*при ширине экрана меньше 800 пикселей*/
  
}

@media screen and (max-width: 650px) { /*при ширине экрана меньше 650 пикселей*/
  
}