html, body { 
	font-family: 'Arial';
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

a {
	color: #0059b2;
	text-decoration: none;
}
a:hover {
	color: #CC0000;
	text-decoration: underline;
}

.clear {clear: both;}

ul.mainmenu {
	display: flex;
	list-style: none;
	background: #3F4137;
	height: 60px;
	margin: 0;
	padding: 0;
	color: #fdc073;
	font-size: 20px;
	overflow: hidden;
}

ul.mainmenu a{
	color: #fdc073;
	text-decoration: none;
	display: flex;
	justify-content: right;

}

ul.mainmenu div{
	background-color: #3F4137;
	flex: 1;
	text-align: center;
	line-height: 60px;
	width: 200px;
	margin: 5px;
	justify-content: center;

}

ul.mainmenu a:hover {
	color: #FDA83D;
} 

div.content {
	margin: 10px;
}

.login_form label {
	display: inline-block; 
	min-width: 80px;
}
.login_form p {margin: 10px 0 10px 0;}
.login_form input[type=submit], textarea {
	font-size: 16px;
}

.flash {padding: 10px;}
.flash.success {
	border: 1px solid #21DB56;
	background: #AEFFC5;
}
.flash.error {
	border: 1px solid #FF4343;
	background: #FF9C9C;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8f8f8;
	position: relative;
}

.hamburger {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	order: 1;
}

.nav {
	display: flex;
	gap: 20px;
}

.nav a {
	text-decoration: none;
	color: #333;
}

.parent {
    display: flex;
    flex-direction: column;

}

.children {
 
    margin-bottom: 20px;
    width: 850px;
}

img {
    width: 850px;
}

footer {
    background-color: #A9A9A9;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
}

.custom-form {
  max-width: 400px; /* Ограничение ширины */
  margin: 20px auto; /* Центрирование */
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px; /* Скругление */
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.form-group {
  margin-bottom: 15px; /* Отступ между полями */
}

.custom-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.custom-form input {
  width: 100%; /* Поле на всю ширину */
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box; /* Учет padding в ширине */
}

/* Стилизация при фокусе */
.custom-form input:focus {
  border-color: #007bff;
  outline: none;
}

.custom-form button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.custom-form button:hover {
  background-color: #0056b3;
}

.form_logout {
	max-width: 400px;
	/* Ограничение ширины */
	margin: 20px auto;
	/* Центрирование */
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 8px;
	/* Скругление */
	background-color: #f9f9f9;
	font-family: Arial, sans-serif;
}

.btn_profile {
  /* width: 100%; */
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.btn_profile:hover {
  background-color: #0056b3;
}

.form-group a:hover{
	text-decoration: none;
}



@media screen and (max-width: 600px) {

	ul.mainmenu {
		flex-direction: column;
		background-color: white;
		justify-content: center;
		height: auto;
	}

	.header{
		padding: 5px;
	}


	.hamburger {
		display: block;
		z-index: 1001;
	}

	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		height: 100vh;
		background: #f8f8f8;
		transition: right 0.3s;
		z-index: 1000;
		padding-top: 60px;
		flex-direction: column;
		gap: 15px;
		padding: 60px 20px 20px;
	}

	.nav.active {
		right: 0;
	}

	.nav a {
		padding: 10px;
	}

	.parent{
		padding: 5px;
	}

	.children {
    /* margin: 5px; */
    width: 100%;
    }
    img{
        width: 100%;
    }

	.custom-form{

		width: 100%;
		padding: 0px;
		margin: 0px;
	}

	.custom-form input{
		height: 50px;
	}
	.custom-form label{
		font-size: 25px;
	}
	.custom-form button{
		padding: 20px;
	}
	.form_logout{
		width: 100%;
		padding: 0px;
		margin: 0px;
		margin-top: 50px;
	}
	.date_filter {

		height: 30px;
	}

	.date_child {
	height: 100%;
	}

}