*{
	padding: 0;
	margin: 0;
	border: 0;
}

*,*:before,*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

:focus,:active{outline: none;}
a:focus,a:active{outline: none;}

nav,header,aside{display: block;}

html,body{
	height: 100%;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	font-size: 14px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

input,button,textarea{font-family: inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding: 0;border: 0;}
a,a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

h1,h2,h3,h4,h5,h6{font-size:18px inherit;font-weight: 400;}

/*__________________________*/
@font-face {
    font-family: 'Alternates';
    src: url('../fonts/20806.ttf') format("truetype");
}

body {
    background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);    font-family: 'Alternates';
    background-image: url(../images/kletka1.png);
    background-repeat: repeat;
    background-size: cover;

}



.incontainer {
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	background-color: #edf1f7;
	border-radius: 30px;
	padding-top: 10px;

}
.incontainer2 {
    max-width: 1200px;
    margin: 30px auto;
    background-color: #b8dcd0;
    box-shadow: 0px -20px 23px 26px rgba(29, 60, 84, 0.16);
    border-radius: 10px;
    background-image: url(../images/koleso.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;

}
#about {
  padding: 20px;
}
.incontainer3 {
    padding: 10px;
}
.blocks {
    max-width: 500px;
	margin: 0 10px 35px 0;
	text-align: inherit;
}

.image_block {
	position: relative;
	background-color: red;
	top: -50%;
	right: -50%;

}

.intro {
	width: 100%;
	height: 100%;
    padding-bottom: 5px;
}

.intro__image {
	width: 250px;
	height: 150px;
	position: absolute;
	right: 20%;
	z-index: 10;
}

.intro__title {
	font-size: 50px;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.5;
	max-width: 400px;
	color: #e2e3e3;
	padding: 15px;

}

.intro__subtitle {
	font-size: 20px;
	color: #4c5152;
	line-height: 1.5;
	max-width: 400px;
	padding: 15px;

}

.info {
	width: 800px;
	max-width: 800px;
	background-color: #2f3637;
	border-radius: 0 30px 30px 0;
    text-align: center; /* Выравнивание по центру (если необходимо) */

}

.info-img {
    width: 100%;
	max-width: 800px;
	border-radius: 0 30px 30px 0;
    box-shadow: 10px 5px 20px 5px rgb(75 130 112 / 81%);


/* Устанавливаем ширину изображения на 100% от родительского блока */
}
.header {
	padding-top: 30px;

	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;

}

.header__inner {
	display: flex;
	justify-content: space-between;
	margin: 0 10px;
}


.logo {
	font-weight: 700;
	color: #f6ac2f;
    max-width: 130px;



}
.logotip {
    max-width: 200px;
}
a.link-logo:visited {
  /* Цвет посещённой ссылки */
  color: #f6ac2f;
}
.nav {
	text-transform: uppercase;
	font-size: 14px;
}

.nav__menu {
	display: inline-block;
	font-size: 24px;
	vertical-align: top;
	margin: 0 15px;
	color: #4a494a;
	text-decoration: none;
	transition: color 0.1s linear;
	position: relative;
}

.nav__menu:hover{
	color: #40ab87;
}

.nav__menu:after{
	content: "";
	display: none;
	width: 100%;
	height: 2px;
	background-color: #40ab87;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;

}

.nav__menu:hover:after{
	display: block;
}

.login {
   font-size: 20px;
}
.login p {
    font-size: 24px;

}
.login a {
    font-size: 20px;
    margin-bottom:20px;

}

.errorlist {
    font-size: 10px;
    color: red;
}
.admin_panel {
    padding: 0 0 0 0;
}

.class-btn {
	display: inline-block;
	box-sizing: border-box;
	padding: 0 15px;
	margin: 0 0 10px 0  ;
	outline: none;
	border: none;
	border-radius: 4px;
	height: 36px;
	line-height: 36px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: #fff;
	background-color: #1a73e8;
	position: relative;
	overflow:hidden;
	vertical-align: top;
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;
	transition: background-color 0.3s, box-shadow 0.3s;
}
.class-btn span{
	position: absolute;
	background: #fff;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	pointer-events: none;
	animation: btn_ripples 0.6s linear infinite;
}
@keyframes class-btn_ripples {
	0% {
		width: 0px;
		height: 0px;
		opacity: 0.5;
	}
	100% {
		width: 1000px;
		height: 1000px;
		opacity: 0;
	}
}
.class-btn:hover {
	box-shadow: 0 1px 2px 0 rgb(26 115 232 / 45%), 0 1px 3px 1px rgb(26 115 232 / 30%);
	background-color: #297be6;
}
.class-btn:active {
	box-shadow: 0 1px 2px 0 rgb(26 115 232 / 45%), 0 2px 6px 2px rgb(26 115 232 / 30%);
	background-color: #1a73e8 !important;
}
.class-btn:focus-visible {
	box-shadow: 0 0 0 3px lightskyblue;
}
.class-btn:disabled {
	pointer-events: none;
	opacity: 0.65;
}


.day-btn {
	display: inline-block;
	box-sizing: border-box;
	padding: 0 20px;
	margin: 0 15px 15px 0;
	outline: none;
	border: none;
	border-radius: 6px;
	height: 40px;
	line-height: 40px;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	color: #385898;
	background-color: #e7f3ff;
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;
}
.day-btn:focus-visible {
	box-shadow: 0 0 0 2px #666;
}
.day-btn:hover {
	background-color: #DBE7F2;
}
.day-btn:active {
	transform: scale(0.96);
}
.day-btn:disabled {
	pointer-events: none;
	opacity: 0.65;
}


.week-btn {
  margin: 1em 0 0 0;
  display: inline-block;
  text-decoration: none;
  padding: 1em;
  outline: none;
  border-radius: 1px;
  background: #2c2f33;
  color: white;

}
.week-btn:hover {
  background-image:
   radial-gradient(1px 45% at 0% 50%, rgba(255,155,0,.6), transparent),
   radial-gradient(1px 45% at 100% 50%, rgba(255,155,0,.6), transparent);
}
.week-btn:active {
  background-image:
   radial-gradient(2px 80% at 0% 50%, rgba(255,155,0,.6), transparent),
   radial-gradient(2px 80% at 100% 50%, rgba(255,155,0,.6), transparent);
}

.schedulediv-btn {
  margin: 1em 0 0 7px;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  padding: 0;
  background: #2c2f33;
}
a.schedule-btn:visited {
  /* Цвет посещённой ссылки */
  color: #efb046;
}
a.schedule-btn:link {
	color: #efb046;
    font-weight: bold;

}
a.schedule-btn:hover {
  /* Цвет посещённой ссылки */
  color: #f6ac2f;
}


/* Стиль кнопки "Сохранить" */
button[type="submit"] {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Стиль полей формы */
input, select, textarea {
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    max-width: 500px;
}
.activeclass {
  background-color: #233860;
}

.activeday {
  background-color: #9bcdff;
}
.activeweek {
  background-image:
   radial-gradient(2px 80% at 0% 50%, rgba(255,155,0,.6), transparent),
   radial-gradient(2px 80% at 100% 50%, rgba(255,155,0,.6), transparent);
  color: rgba(255,155,0);

}

.parent {
  display: flex;
  height: 100%;

}
.left_column {
  max-width: 150px;
  background: #2c2f33;
  padding: 10px;

  /* Just so it's visible */
}
.right_column {

  flex: 1;
  /* Grow to rest of container */
  padding: 10px;
  overflow-y: auto; /* Включаем горизонтальную прокрутку */
  overflow-x: auto; /* Включаем горизонтальную прокрутку */

  background-repeat: repeat; /* Отключаем повторение фоновой картинки */
  background-size: cover;
}
p {
  margin-bottom: 3px;
}

.right_column h3, h2, h1 {
  color: #ff9b00;

}
.schedule {
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.schedule_subject {
    display: inline-block;
    padding: 10px 0px 55px 0px;
    width: 250px;
    font-family: 'Arial';
    margin: 0 10px 10px 0; /* Добавляем отступ снизу, равный высоте кнопки */
    position: relative; /* Установка позиции в родительском блоке */
    background-color:rgba(240, 240, 240, 0.8);

}


.btn_subscribe {
    font-family: 'Alternates';
    margin: 30px 0 10px 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 90%;
    font-weight: 700;
    color: #edf1f7;
    text-decoration: none;
    text-shadow: 0 -1px 2px rgb(0 0 0 / 26%);
    padding: .5em 1em;
    outline: none;
    border-radius: 3px;
    background: linear-gradient(#4CAF50, #0b7a10) #4caf53;
    box-shadow: 0 1px rgb(255 255 255 / 31%) inset, 0 3px 5px #0c480fdb, 0 0 1px 1px #1a801e7d;
    transition: .2s ease-in-out;
}

.btn_subscribe:disabled {
    background: linear-gradient(#85a787, #5f80614d) #87b589;
    box-shadow: 0 1px rgb(255 255 255 / 0%) inset, 0 3px 5px #f2f2f200, 0 0 1px 1px #f4f4f400;
    opacity: 70%;

}


.btn_edit{
  margin: 5px 0 0 0;
  color: #B03F35;
}

a.btn_edit:visited {
  /* Цвет посещённой ссылки */
  color: #B03F35;
}
a.btn_edit:hover {
  /* Цвет посещённой ссылки */
  color: #ff1722;
}

.subject_img {
    max-width: 130px;
    max-height: 120px;
}
.day {
    display: inline-block;
    padding: 0 10px 0 0;
}


/* Делает форму по центру */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container form {
    width: 100%;
}

.form-container form .form-row {
    margin-bottom: 20px;
}

.form-container form label {
    display: block;
    margin-bottom: 5px;
}

.form-container form input,
.form-container form textarea,
.form-container form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
/* Делает форму по центру */

.description {
    font-style: italic;
}
.subject_name {
    font-size: 20px;
    font-weight: 900;

}
.student_len {
    opacity: .4;
    font-style: italic;
}

.schedule_subject_student {
    margin: 5px 0;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Выравнивание по вертикали, если нужно */
  overflow-x: auto;
}

.schedule-container {
  flex: 1; /* Расширить этот блок на всю доступную ширину */
}


.schedule-img img {
  max-width: 600px; /* Устанавливаем максимальную ширину для изображения */
  height: auto; /* Поддерживаем соотношение сторон */
  /* Проверка высоты изображения */
  @media (min-height: 700px) {
    max-height: 600px; /* Устанавливаем максимальную высоту для изображения */
    width: auto; /* Поддерживаем соотношение сторон */
  }
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
}

/* slider */
.schedule-img {
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    max-width: 50vh;
    display: flex;
    justify-content: center; /* Горизонтальное выравнивание по центру */
    align-items: center; /* Вертикальное выравнивание по центру */
}

button.prev, button.next {
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 10px; /* Добавляем немного отступа для кнопок */
}
button.prev:hover, button.next:hover {
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 10px; /* Добавляем немного отступа для кнопок */
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Для блока на главной О нас*/
/* Обновленные стили для .incontainer2 и .about-us */
.incontainer4 {
  display: flex; /* Делаем блоки дочерними элементами flex-контейнера */
  justify-content: space-between; /* Распределяем элементы по горизонтали */
  align-items: flex-start; /* Выравниваем элементы по вертикали вверху */
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  background-color: #edf1f7;
  box-shadow: 0px -20px 23px 26px rgba(29, 60, 84, 0.16);
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}

.about-us {
  width: 100%;
  max-width: 500px; /* Максимальная ширина блока */
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 50px 0 50px 20px; /* Отступ между блоками */
  box-sizing: border-box;
}

.text-about {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 10px; /* Отступ между текстами */
}

/* Стилизация блока с изображением */
.image-block {
  text-align: center; /* Центрирование изображения по горизонтали */
  margin-left: 20px; /* Отступ слева между текстом и изображением */

}

.image-block img {
  max-width: 100%; /* Изображение не будет превышать ширину блока */
  height: auto; /* Автоматическое вычисление высоты */
  max-height: 600px; /* Максимальная высота изображения */
  margin: 50px 20px 0 0; /* Отступ сверху между текстом и изображением */
}

/* Для мобильных устройств */
@media screen and (max-width: 768px) {
  .schedule-menu {
    display: flex;
  }
  .schedulediv-btn2 {
  margin: 1em 0 0 8em;
  }
  .incontainer4 {
  display: flex; /* Делаем блоки дочерними элементами flex-контейнера */
  justify-content: space-between; /* Распределяем элементы по горизонтали */
  align-items: flex-start; /* Выравниваем элементы по вертикали вверху */
  flex-direction: column;
  }
  .image-block {
  margin: 0 0 50px 0; /* Отступ слева между текстом и изображением */
  }
  .image-blog img {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .about-us {
    margin: 50px 0 0px 0px;
  }
  .parent {
    flex-direction: column; /* Мобильное расположение: столбец */
  }

  .left_column {
    max-width: 100%; /* Максимальная ширина всего экрана */
    padding: 10px;
    text-align: center; /* Центрирование текста */
    display: flex;
	flex-direction: column;
    justify-content: start;
    align-items: center; /* Выравнивание по вертикали, если нужно */

  }

  .right_column {
    flex: 1;
    padding: 10px;
    overflow-x: auto; /* Включаем горизонтальную прокрутку */
    overflow-y: auto; /* Включаем горизонтальную прокрутку */
    /*background-image: url("../images/fon15.png"); Замените 'your-image.jpg' на путь к вашей картинке */
    background-repeat:no-repeat;
    background-size: cover;
    background-position: 14%;
  }


.content {
    align-items: flex-start;

  }

  /* Увеличиваем шрифт и отступы в текстовых элементах */
  h1, h2, h3, p{
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  /* Увеличиваем размер кнопок */
  .week-btn, .class-btn, .day-btn, .btn_edit, .btn_subscribe {
    font-size: 1.2rem;
  }

  .schedule_subject_student {
    font-size: 1.2rem;

  }

  .schedule-block{
    min-width: 120px;

  }

  /* Увеличиваем размер кнопок "Предыдущая неделя" и "Следующая неделя" */
  .week-btn {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  /* Увеличиваем размер кнопок выбора класса */
  .class-btn {
    font-size: 1.2rem;
  }

  /* Увеличиваем размер кнопок выбора дня недели */
  .day-btn {
    font-size: 1.3rem;
  }
  .schedule4{
    display: flex;
  }
  /* Увеличиваем ширину .schedule_subject */
  .schedule_subject {

    min-width: 240px; /* Измените на желаемую ширину */

  }

  .blocks {
    text-align: inherit;
    max-width: 60%;

  }

  .info {
	width: 100%;
	max-width: 800px;
	background-color: #2f3637;
	border-radius: 0 30px 30px 0;
  }
  .incontainer2 {
    background-image: url(../images/koleso_mobile.png);
    flex-direction: column;
    height: 95vh;
    background-position: 73% top;

  }

  .header__inner {
    margin-top: 10px;
  }


  .nav__menu {
    margin: 5px 10px 0 0;
    font-size: 24px;
  }
  .logo {
    max-width: 14vh;
    display: flex;
    align-items: center;
    justify-content: center;;

  }
  .block_p{
    font-size:1.2rem;
  }
  .admin_panel {
    margin: 0 2rem 0 0;
  }
  .description {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 1241px) {
.content {
        display: flex;
        flex-direction: column; /* Отображение блоков один под другим */
        align-items: flex-start;

  }

  .schedule {
        margin-bottom: 20px; /* Добавляем отступ между блоками */
  }

}


.footer-distributed{
	background: #666;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	width: 100%;
	text-align: left;
	font: bold 16px sans-serif;
	padding: 10px 50px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
	display: inline-block;
	vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left{
	width: 40%;
}

/* The company logo */

.footer-distributed h3{
	color:  #ffffff;
	font: normal 36px 'Open Sans', cursive;
	margin: 0;
}

.footer-distributed h3 span{
	color:  lightseagreen;
}

/* Footer links */

.footer-distributed .footer-links{
	color:  #ffffff;
	margin: 5px 0 12px;
	padding: 0;
}

.footer-distributed .footer-links a{
	display:inline-block;
	line-height: 1.8;
  font-weight:400;
	text-decoration: none;
	color:  inherit;
}

.footer-distributed .footer-company-name{
	color:  #222;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center{
	width: 35%;
}

.footer-distributed .footer-center i{
	background-color:  #33383b;
	color: #ffffff;
	font-size: 20px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	text-align: center;
	line-height: 42px;
	margin: 10px 15px;
	vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope{
	font-size: 17px;
	line-height: 38px;
}

.footer-distributed .footer-center p{
	display: inline-block;
	color: #ffffff;
  font-weight:400;
	vertical-align: middle;
	margin:0;
}

.footer-distributed .footer-center p span{
	display:block;
	font-weight: normal;
	font-size:14px;
	line-height:2;
}

.footer-distributed .footer-center p a{
	color:  lightseagreen;
	text-decoration: none;;
}
.footer-distributed .footer-left .documents a{
	color:  #2f353b;
	text-decoration: none;;
}

.footer-distributed .footer-left .documents a:hover{
	color:  #a5a5a5;

}

.footer-distributed .footer-links a:before {
  content: "|";
  font-weight:300;
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

/* Footer Right */

.footer-distributed .footer-right{
	width: 20%;
}

.footer-distributed .footer-company-about{
	line-height: 20px;
	color:  #92999f;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
}

.footer-distributed .footer-company-about span{
	display: block;
	color:  #ffffff;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}

.footer-distributed .footer-icons{
	margin-top: 25px;
}

.footer-distributed .footer-icons a{
	display: inline-block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	background-color:  #33383b;
	border-radius: 2px;

	font-size: 20px;
	color: #ffffff;
	text-align: center;
	line-height: 35px;

	margin-right: 3px;
	margin-bottom: 5px;
}

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 880px) {

	.footer-distributed{
		font: bold 14px sans-serif;
	}

	.footer-distributed .footer-left,
	.footer-distributed .footer-center,
	.footer-distributed .footer-right{
		display: block;
		width: 100%;
		margin-bottom: 40px;
		text-align: center;
	}

	.footer-distributed .footer-center i{
		margin-left: 0;
	}

}





