.body_main {
	background-position: center center;
	background-attachment: fixed;
	background-image: url("background.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	font-family: monospace;	
}

.body_main2 {
	background-image: url("background.png");
	background-repeat: repeat;
	font-family: monospace;
	margin:0;
}

.div_center_login {
	margin: 200px auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.div_login_block {
	background: rgba(133, 128, 95, 0.8);
	display: flex;
	height: 230px;
	width: 220px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.div_logo span.fa {
	margin: 1rem 0 0 0;
	font-size: 3em;
}

.div_login_line {
	margin: 1rem 0 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.input_login_line {
	width: 80%;
	padding: 5px;
	border-radius: 10px;
	border: 1px solid white;
	background: rgba(255, 255, 255, 0.8);
}

.div_login_button {
	margin: 1rem 0 1rem 0;
	display: flex;
	justify-content: space-between;
	align-item: center;
}

.div_login_button span.fa {
	margin: 8px 8px 0 0;
}

.input_submit_line {
	width: 90%;
	color: black;
	font-weight: 600;
	padding: 5px;
	border-radius: 10px;
	border-color: rgba(232, 211, 164, 0.67);
	background: rgba(232, 211, 164, 0.67);
	border: 1px solid rgba(232, 211, 164, 0.67);
}

.input_submit_line:hover {
	background: rgba(232, 211, 164, 1);
	color: white;
}

input[type=submit]:active, input[type=submit]:focus, input[type=button]:active {
	outline: none;
}

input[type=text]:active, input[type=text]:focus, input[type=password]:active, input[type=password]:focus, input[type=button]:focus {
	outline: none;
	background: rgba(255, 255, 255, 1);
}

/* ----------- error ------- */

.div_error_login {
	margin: 200px auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.div_error_block {
	background: rgba(133, 128, 95, 0.8);
	display: flex;
	height: 200px;
	width: 300px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.div_error_logo span.fa {
	margin: 1rem 0 0 0;
	font-size: 3em;
}

.div_error_mess {
	margin: 1rem 0 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.h1_type {
	margin: 1px 0 0 1rem;
	color: #000;
	font-size: 14px;
}

.div_error_button {
	margin: 1rem 0 1rem 0;
	display: flex;
	justify-content: center;
	align-item: center;
}

.error_submit_line {
	width: 100%;
	color: black;
	font-weight: 600;
	padding: 5px;
	border-radius: 10px;
	border-color: rgba(232, 211, 164, 0.67);
	border: rgba(232, 211, 164, 0.67);
	background: rgba(232, 211, 164, 0.67);
}

.error_submit_line:hover {
	background: rgba(232, 211, 164, 1);
	color: white;
}

/* ----------------- menu ------------------- */

.menu_header {
	position: fixed;
	width:100%;
}

.menu_footer {
	position: fixed;
	width: 100%;
    bottom: 0;
    height: 100px;
}
.div_menu {
	background: rgba(133, 128, 95, 0.8);
	border-radius: 10px;
	margin:20px 16px 0 16px;
	padding:0 16px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content:flex-start;
	box-sizing: border-box;
}

.menu_ul {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
}

.menu_ul li {
	display: inline-flex;
	padding: 5px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 20px 10px 20px 0;
	background: rgba(232, 211, 164, 0.67);
	border-radius: 10px;
	box-shadow:  0px 10px 20px 0px rgba(0, 0, 0, 0.3);
	transition: background-color 2s ease, color .2s linear, border-color 2s ease;
}

.menu_ul li:hover {
	background: white;
}

.menu_ul li a {
	color: black;
	text-decoration: none;
	font-weight: bold;
}

/* ---------------- left menu --------------- */
.main_div {
	padding: 120px 16px 20px 16px;/* padding top right botto left */
	display: flex;
	flex-direction: row;
	align-items: start;
}

.div_menu_1_col {
	background: rgba(133, 128, 95, 0.8);
	border-radius: 10px;
	min-width: 180px;
	width: 180px;
	height: 160px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	display: flex;
}

.div_menu_1_col_2 {
	background: rgba(133, 128, 95, 0.8);
	border-radius: 10px;
	min-width: 180px;
	width: 180px;
	height: 160px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	display: flex;
}

.div_menu_1_col_3 {
	background: rgba(133, 128, 95, 0.8);
	border-radius: 10px;
	min-width: 180px;
	width: 180px;
	height: 120px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	display: flex;
}

.div_menu_line {
	margin: 1rem 0 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 150px;
}

.div_menu_line_2 {
	margin: 1rem 0 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 150px;
}

.div_menu_button {
	margin: 1rem 0 1rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 150px;
}

.div_menu_button_2 {
	margin: 1rem 0 1rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 150px;
}

.menu_input_select_line {
	width: 80%;
	color: black;
	font-weight: bold;
	padding: 5px;
	padding-left: 32px;
	border-radius: 10px;
	border-color: rgba(232, 211, 164, 0.67);
	background: rgba(232, 211, 164, 0.67);
	border: 1px solid rgba(232, 211, 164, 0.67);
	-webkit-box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    transition: background-color 2s ease, color .2s linear, border-color 2s ease;
}

.menu_input_select_line:hover {
	background: white;
	}
select.menu_input_select_line:focus, select.menu_input_select_line:active{/* что бы убрать голубое выделение*/
	outline:none

}
.menu_input_submit_line {
	width: 80%;
	color: black;
	font-weight: bold;
	padding: 5px;
	border-radius: 10px;
	border-color: rgba(232, 211, 164, 0.67);
	background: rgba(232, 211, 164, 0.67);
	border: 1px solid rgba(232, 211, 164, 0.67);
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	transition: background-color 2s ease, color .2s linear, border-color 2s ease;
}

.menu_input_submit_line:hover {
	background: white;
}

.menu_input_submit_line_2 {
	width: 90%;
	color: black;
	font-weight: bold;
	padding: 5px;
	border-radius: 10px;
	border-color: rgba(232, 211, 164, 0.67);
	background: rgba(232, 211, 164, 0.67);
	border: 1px solid rgba(232, 211, 164, 0.67);
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	transition: background-color 2s ease, color .2s linear, border-color 2s ease;
}

.menu_input_submit_line_2:hover {
	background: white;
}

/* ---------------------- right information ------------------------- */

.div_menu_2_col {
	padding:0 16px 0 26px;
	justify-content: center;
	/* align-items: center;*/
	display: flex;
	width: 80%;
	height: 650px;
    overflow: auto; 
    overflow-y: auto; 
    overflow-x: hidden; 
}

.table_menu_2 {
	overflow: hidden;
	border: 1px solid grey;
	border-radius: 10px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	width: 90%;
	max-width: 1015px;
}

.table_menu_2_th {
	margin:0;
	background-color: #3b5998;
	color: white;
	height: 20px;
	white-space: nowrap;
}
.table_menu_2_td {
	background-color:#eeeeee;
	white-space: nowrap;
}

.table_menu_2_td_info {
	background-color:#eeeeee;
	padding-left: 20px;
}

.table_menu_2_td_info span.fa {
	font-weight: 600px;
	font-size: 16px;
}

em {
	font-size: 10px;
	font-weight: bold;
	font-style: normal;
	padding-left: 20px;
}

.table_menu_2_button {
	width: 40%;
	color: black;
	background: rgba(217, 217, 217, 1);
	font-weight: bold;
	font-size: 12px;
	border-radius: 10px;
	border-color: rgba(217, 217, 217, 1);
	border: 1px solid rgba(217, 217, 217, 1);
	transition: background-color 2s ease, color .2s linear, border-color 2s ease;
}

.table_menu_2_button:hover {
	background: grey;
}

.table_login_line {
	width: 75%;
	padding: 5px;
	border-radius: 10px;
	border: 1px solid white;
	background: rgba(255, 255, 255, 0.8);
}

/*------------------- footer menu ----------------------------------- */

.div_footer_menu {
	background: rgba(133, 128, 95, 0.8);
	border-radius: 10px;
	margin:20px 16px 0 16px;
	padding:0 16px;
	box-shadow: 2px 5px 5px 5px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content:center;
	box-sizing: border-box;
	color: black;
	font-size:12px;
	font-weight: bold;
}

@media only screen and (max-height:800px) {
	.menu_footer {
		position: fixed;
		width:100%;
		bottom: 0;
		margin-bottom: 20px;
		height: auto;
	}
}

@media only screen and (max-width:1440px) {
	.div_menu_2_col {
		padding:0 0 0 12px;
		justify-content: flex-start;
		/* align-items: center;*/
		display: flex;
		width: 100%;
		height: 650px;
		overflow: auto; 
		overflow-y: auto; 
		overflow-x: hidden; 
	}
}

@media only screen and (max-width:950px) {
	.main_div {
		display: flex;
		flex-direction: column;
		padding-top: 110px;
	}
	
	.div_menu_2_col {
		justify-content: flex-start;
		padding: 20px 0 0 0;
		margin-top: 10px;
		display: flex;
		width: 100%;
	}
	
	.menu_footer {
		position: fixed;
		width:100%;
		bottom: 0;
		margin-bottom: 20px;
		height: auto;
	}
	
	.table_menu_2 {
		width: 100%;
	}
}

@media only screen and (max-width:500px) {
	.div_menu {
		margin:20px 6px 0 6px;
	}
	
	.menu_ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
	}
	
	.menu_ul li {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.main_div {
		padding: 110px 6px 20px 6px;
	}
	
	.menu_footer {
		position: fixed;
		width:100%;
		bottom: 0;
		margin-bottom: 20px;
		height: auto;
	}
	
	.div_footer_menu {
		margin:20px 6px 0 6px;
	}
	
	.table_menu_2_td_info {
		padding-left: 20px;
	}
	
	.table_menu_2_td_info span.fa {
		display: none;
	}
}

@media only screen and (max-width:399px) {
	.menu_ul li {
		padding-left: 5px;
		padding-right: 5px;
	}
}
