@font-face {
    font-family: 'MyCustomFont';
    src: url('Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'MyCustomFont';
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
	background-color: #eee;
}
#call_button{
	display: none;
}
.form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-container {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
	min-height: 300px;
    box-sizing: border-box;
}

.form-item {
    margin-bottom: 15px;
}
input[type="submit"]{
	    background-color: #53a6ff;
		
}
.form-item input[type="text"],
.form-item input[type="password"],
.form-item input[type="submit"],
.form-item select, 
.form-item option,
.form-item textarea
{
    width: 100%;
    padding: 10px;
    margin: 0;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	color: #000;
	outline: 0px;
	transition: 0.3s;
	margin-top: 10px;
}
.form-item input[type="tel"]{
	padding: 10px;
    margin: 0;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	color: #000;
	outline: 0px;
	transition: 0.3s;
}

.form-item input[type="text"]:focus,
.form-item input[type="password"]:focus,
.form-item input[type="tel"]:focus,
textarea:focus {
	  border-color: #111;
	  transition: 0.3s;
}
input[type="submit"], select, option {
    color: #fff;
    border: none;
    cursor: pointer;
	transition: 0.3s;
}
.form-item input[type="submit"]:hover {
    background-color: #0056b3;
	transition: 0.3s;
}
#error{
	background-color: #fc70ab;
	padding: 10px;
	border: 1px solid #f616de;
	border-radius: 4px;
}
#notice{
	background-color: #9af72c;
	padding: 10px;
	border: 1px solid #6bdb2e;
	border-radius: 4px;
}

.table-wrapper {
    overflow-x: auto; /* Allow horizontal scrolling on small screens */
    margin: 20px; /* Margin around the table */
	max-width: 600px;
}
#submit_table{
    width: 900px; /* Full width of the container */
    border-collapse: collapse; /* Collapse borders */
    table-layout: fixed; /* Fixed table layout */
    background-color: #fff; /* Table background color */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Shadow effect */
	margin-bottom: 100px;
}

th, td {
    border: 1px solid #ddd; /* Border style */
    padding: 10px; /* Padding inside cells */
    text-align: left; /* Center text */
	vertical-align: center;
}

#submit_table tr:nth-child(odd){
	background-color: #FAFAFA;
}
#left_column{
	width: 90px;
}
.list_active tr{
	height: 80px;
}
#header{
	margin-top: 20px;
	margin-bottom: 20px;
}
#header a{
	display: inline-block;
	text-decoration: none;
	padding: 10px;
	background-color: #53a6ff;
	color: #000;
	border-radius: 3px;
	border: 1px solid #AAA;
	width: 130px;
	margin-right: 15px;
	transition: 0.3s;
}
#header a:hover, #header .active{
	background-color: #c471f5;
	transition: 0.3s;
}
.table_header{
	display: none;
}
#profile{
	max-width: 700px;
	padding: 10px;
}
#profile a{
	float: right;
}
#search_form input{
    padding: 10px;
    margin: 0;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	color: #000;
	outline: 0px;
	transition: 0.3s;
	margin-top: 10px;
}
#search_form input[type="submit"]:hover{
	background-color: #c471f5;
	transition: 0.3s;
}
/* Responsive styles */

@media (max-width: 700px) {
    #submit_table {
        width: 100%; /* Make table full width on small screens */
        max-width: none; /* Remove max width */
        border-collapse: separate;
		border-spacing: 10px; /* Разстояние между клетките */
    }

    #submit_table td {
        display: block; /* Display table cells as block elements */
        width: 90%; /* Full width for table cells */
		border: 0px;

    }
    #submit_table tr {
		border: 2px solid black;

    }
	td:nth-child(even){
		text-align: center;
	}

	input, select, textarea{
		width: 90%;
		padding: 10px;
	}				
	th{
		display: none;
	}
	#header a{
		margin: 10px;
		display: block;
		width: 70%;
	}
	.table_header{
		display: block;
	}
 #call_button{
	display: inline-block;
	text-decoration: none;
	padding: 14px;
	text-align: center;
	background-color: #53a6ff;
	color: #000;
	border-radius: 3px;
	border: 1px solid #AAA;
	width: 150px;
	margin-right: 15px;
	transition: 0.3s;
	float: right;
	margin-bottom: 10px;
	position: relative;
	top: -10px;
}
}