body {
	margin: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-image: url(../img/fon-1.jpg);
	background-size: 550px;
	background-repeat: repeat-x;
	font-family: tahoma;
	font-size: 0.9em;
} 
.telo {
	display: inline;
	box-shadow: 0px 0px 10px 1px;
	margin-top: 15vh;
	width: 80%;
	transition: all 3s ease;
}
a {
	color: inherit;
	text-decoration: none;
}


/*head*/
header {
	width: 100%;
	padding-block: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #5b5f71;
	color: #ffffff;
}
header span {
	margin-left: 10px;
	display: flex;
	align-items: center;
	font-size: 0.9em;
	transition: all 1.5s ease-out;
}
header span:hover {
	color: #8fd7ef;
	transition: all 1.5s ease-out;
	text-shadow: 0px 0px 4px #ffffff;
	cursor: pointer;
}
header span img {
	height: 20px;
	width: 20px;
	transition: all 1.5s ease-out;
	transform: rotate(-45deg);
}
header span img:hover {
	filter: drop-shadow(0px 0px 10px gold);
	transition: all 1.5s ease-out;
	cursor: pointer;
}
.lang img {
	height: 12px;
	width: 20px;
	transform: translate(0px, 1px);
}
.lang {
	display: inline-block;
	height: 15px;
	padding-right: 4px;
	transform: translate(0px, -1px);
	font-size: 0.8em;
}
#ru {
	margin-right: 10px;
	padding-left: 5px;
	border-left: 1px solid;
}


/*underhead*/
#underhead {
	width: 100%;
	padding-block: 5px;
	display: flex;
	justify-content: center;
}
#under {
	width: 90%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#underhead img {
	width: 330px;
	display: inline-block;
	transition: all 5s ease-in-out ; 
}
#underhead img:hover {
	/* animation: bounce 5s infinite alternate ease-in; */
	transform: scale(1.1);

}
/* @keyframes bounce{
	to {
		transform: scale(1.1);
	}
} */
#ministr {
	display: inline-block;
	width: 200px;
	font-size: 1.1em;

}
#ministr span {
	color: #21a3ce;
	font-weight: bold;
}
#bagname {
	margin: 0 5px 0 0;
}

/*body*/
#body {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
main {
	width: 100%;
	background-color: #ffffff;
	margin-bottom: 40px;
	padding-bottom: 50px;
	min-height: 60vh;
	position: relative;
}

/*#cont {
	width: 90%;
}*/
.searchs, .entsearchs {
	display: inline-block;
	background-color: #21a3ce;
	color: #ffffff;
	padding: 6px 14px 7px 14px;
	border: none;
	margin-left: 10px;
	transition: .4s;
	font-size: 14px;
}
.searchs:hover, .entsearchs:hover {
	background-color: #b9c0c3;
	color: dimgray;
	cursor: pointer;
	transition: .4s;
}
.but {
	width: 90%;
	display: flex;
	/*justify-content: space-between;*/
	align-items: center;
	padding-block: 20px;
}
.but-body {
	background-color: rgb(209, 209, 209);
	width: 100%;
	display: flex;
	justify-content: center;
}



#table {
	display: block;
	width: 90%;	
}
table {
	background-color: lightgray;
	width: 100%;
	border: 1px solid #727475;
	border-collapse: collapse;
	margin-top: 20px;
	font-size: 0.9em;
	letter-spacing: 0.8px;
}
td {
	border: 1px solid #727475;
	padding: 5px 10px;
}
thead {
	max-width: 100%;
	background-color: #5b5f71;
	color: #ffffff;
	height: 40px;
}
th {
	border-right: 1px solid #a09f9f;
}
tr {
	height: 30px;
	border: 1px solid #727475;

}
tbody {
	max-width: 100%;
}
#table thead, .minitable th {
	background-image: url(../img/uz1.png);
	background-color: #5b5f71;
	background-size: 200px;
	color: #ffffff;
}
.num::-webkit-outer-spin-button,
.num::-webkit-inner-spin-button {
    -webkit-appearance: none; 
}
.num {
	border: none;
	text-align: center;
}
.num:focus {
	outline: none;
}




.search-button {
	width: 600px;
}
.searchsoff {
	background-color: #21a3ce;
	color: #ffffff;
	border: none;
	display: none;
	transition: .4s;
}
.searchsoff:hover {
	background-color: #b9c0c3;
	color: dimgray;
	cursor: pointer;
	transition: .4s;
}
#search {
	display: inline-block;
	width: 70%;
	padding: 6.5px;
	border: rgb(255, 255, 255) 1px solid;
	margin-bottom: 5px;
}
#search:focus {
	outline: none;
}	
.button {
	background-color: #21a3ce;
	border: none;
	color: #ffffff;
	padding: 7px 14px;
	transition: .4s;
	font-size: 14px;
}
.button:hover {
	background-color: #b9c0c3;
	color: dimgray;
	transition: .4s;
	cursor: pointer;
}
.dark {
	transition: .3s;
	background-color: #b9c0c3;
}
.light {
	transition: .3s;
	background-color: #ffffff;
}





/*footer*/
footer {
	width: 100%;
	padding-block: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #5b5f71;
	background-image: url(../img/uz1.png);
	background-size: 200px;
}
footer span {
	margin-inline: 15px;
	font-size: 0.9em;
	color: #ffffff;
}
.fon-2 {
	width: 100%;
	height: 80px;
	position: relative;
	z-index: -1;
	/* transform: translate(0px, -30px); */
	background-image: url(../img/fon-2.jpg);
	background-repeat: repeat-x;
	background-size: 600px;
}
.openModal {
	width: 32px;
	height: 32px;
	cursor: pointer;
}




/* modal-window*/
.entryes {
	position: fixed;
	top: -250px;
	background-color: #ffffff;
	width: 300px;
	height: 200px;
	border: solid 1px;
	border-radius: 10px;
	box-shadow: 0px 0px 5px 1px;
	visibility: visible;
}
.entryes::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url(../img/u.png);
	background-size: 280px ;
	background-position: top;
	opacity: 30%;
	z-index: -10;
}
.entryes input {
	background: none;
	resize: none;
	border: 1px solid #727475;
	height: 20px;
/*	box-shadow: 0px 0px 4px 1px gray inset;*/;
}
.entryes input:focus{
	outline: none;
}
.entryes div, .entryes button {
	position: relative;
	left: 20%;
	top: 10%;
	margin-block: 5px;
}
input[type='radio'] {
	appearance: none;
	width: 12px;
	height: 12px;
	border: solid 1px;
	border-radius: 4px;
	background-color: #ffffff;
	cursor: pointer;
}
input[type='radio']:checked{
	background-color: #21a3ce;
	border: double;
}
.entryes label {
	cursor: pointer;
	margin-right: 10px;
}
.entryes form {
	margin-top: 10px;
}
.entlabel {
	padding-bottom: 10px;
}
.entryes.show {
	animation: slide 1s ease-out forwards;
	visibility: visible;
}
.entryes.hide {
	animation: offslide 1s ease-out forwards;

}
@keyframes slide {
	from{
		top: -200px;
	}
	to{
		top: 10px;
	}
}
@keyframes offslide {
	from{
		top: 10px;
		opacity: 1;
	}
	to{
		top: -200px;
		opacity: 0;
	}
}





body.modal-cont {
	overflow: hidden;
}
.modal-cont{
	position: fixed;
	width: 80%;
   	height: 85vh;
	background-color: #ffffff;
	top: 50%;
	z-index: 100;
	left: 50%;
	overflow: hidden;
	transform: translate(-50%, -50%);
	box-shadow: 0px 0px 15px 1500px rgba(38, 98, 141, 0.6);
	letter-spacing: 0.8px;
	line-height: 25px;
	padding-top: 25px;
}
.modal {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 99;
	top: 0;
}
.modaluzor {
	width: 100%;
	height: 70px;
	background-color: #5b5f71;
	margin-bottom: 10px;
	background-image: url(../img/uz1.png);
	background-size: 200px;
	overflow: hidden;
	margin-top: -25px;
	padding-right: 20px;
	display: flex;
	align-items: center;
	justify-content: end;
}
.modalBody {
	width: 98%;
	height: 80%;
	position: relative;
	top: 10px;
	overflow-y: scroll;
	overflow-x: hidden;
	font-size: 1em;
	border: 1px solid #5b5f714d;
	padding: 10px;
	box-sizing: border-box;
	margin-inline: 1%;
}
.modalBody::before {
	content: "";
	display: block;
	width: 98%;
	height: 200%;
	position: absolute;
	background-image: url(../img/u.png);
	background-size: 200px ;
	background-position: top ;
	opacity: 10%;
	z-index: -10;
}
.modalBody td {
	text-align: center;
}
.modalBody thead {
	position: relative;
	z-index: 10;
	height: auto;
}
.modalBody thead::before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	background-image: url(../img/uz1.png);
	background-size: 200px;
	z-index: -10;
	opacity: 20%;
}
.modalBody table {
	margin-bottom: 50px;
	width: 50%;
}
.modalBody h2 {
	font-weight: 100;
}
.modalBody::-webkit-scrollbar {
    width: 5px; 
}
.modalBody::-webkit-scrollbar-track {
	background-color: #21a3ce85;
}
.modalBody::-webkit-scrollbar-thumb {
    background-color: #21a3ce; 
    /* border-radius: 20px;  */
    /* border: 3px solid #176415;  */
}
#closeBtn {
	width: 50px;
	transition: all .5s;
	position: absolute;
}
#closeBtn:hover {
	filter: drop-shadow(0px 0px 2px #000000);
	cursor: pointer;
}

.infirst {
	display: inline-block;
	width: 100%;
	font-weight: bold;
}
.intext {
	display: inline-block;
	font-weight: normal;
}
#pdf, #pdf2 {
	display: inline-block;
	color:  #21a3ce;
	border: 1px solid;
	padding: 5px;
	cursor: pointer;
	margin-left: 20px;
}
#pdf img, #pdf2 img{
	width: 24px;
	transition: .4s;
	margin-right: 5px;
}
#pdf:hover, #pdf2:hover {
	transition: .4s;
	color:  #b9c0c3;
}
#mini_body {
	width: 90%;
}
.minitable {
	display: none;
	width: 100%;
	margin-top: 3vh;
	border: none;
	background-color: #ffffff;
}
.minitable td {
	padding-left: 5px;
}
.minitable th {
	width: 20%;
	max-width: 150px;
}


/*adaptive*/
@media(min-width:1400px){
	#ministr {
		width: auto;
		font-size: 1.2em;
	}
	#under img {
		width: 370px;
	}
}
@media(max-width: 1100px){
	#ministr{
		width: 200px;
	}
}
@media (max-width: 1092px) {
	.searchs {
		display: none;
	}
	.button  {
		padding: 5px;
		display: inline-block;
		font-size: 13px;
		margin-right: 5px;
		margin-bottom: 5px;
	}
	#search {
		width: 100%;
	}
	.searchsoff {
		display: inline-block;
		padding: 4px 5px 5px 5px;
		font-size: 13px;
	}
	.search-button {
		width: 100%;
		overflow: hidden;
	}
}
@media (max-width: 1020px) {
	#table {
		display: none;
	}
	.minitable {
		display: block;
	}
}
@media (max-width: 900px) {
	#search {
		width: 100%;
	}
	.search-button button {
		margin-top: 5px;
	}
	#under {
		flex-wrap: wrap;
	}
	#ministr {
		width: auto;
	}

}
@media(max-width: 731px) {
	footer span {
		font-size: 0.8em;
	}
	
}
@media(max-width: 703px) {
	/* #ministr {
		font-size: 0.9em;
	} */
}
@media(max-width: 628px) {
	/* #ministr {
		font-size: 0.8em;
	} */
	footer span {
		font-size: 0.7em;
	}
	footer {
		position: relative;
		bottom: 0;
	}
	
}
@media(max-width: 572px) {	
	[value] {
		font-size: 0.7em;
	}

}
@media(max-width: 502px){
	.telo {
		width: 100%;
	}
	.modal-cont {
		width: 90%;
		height: 75vh;
	}
	footer {
		font-size: 0.8em;
	}
}
@media(max-width: 408px) {
	#under img {
		width: 250px;
	}
}


.pagination-controls {
	position: absolute;
	bottom: 0;
	display: flex;
	align-content: flex-end;
}
.pagination-controls button {
	background-color: #21a3ce;
	color: aliceblue;
	margin-inline: 2px;
	padding-inline: 25px;
	border: none;
	display: flex;
	align-items: center;
	gap: 5px;
}
#pag-first-btn-img, #pag-last-btn-img {
	width: 15px;
	transform: rotate(90deg);
	margin-block: 5px;
	filter: brightness(0) invert(1);

}
.pagination-controls button:hover {
	background-color: #b9c0c3;
	color: dimgray;
	transition: .4s;
}
#pag-last-btn-img {
	transform: rotate(-90deg);
}
.active-page {
    background-color: #b9c0c3 !important; 
    color: dimgray !important;
    font-weight: bold;
    border-radius: 5px;
}

.modal-error-message {
	position: fixed;
	padding: 30px 50px;
	margin-top: 20px;
	border-radius: 10px;
	box-shadow: 0px 0px 5px 1px;
	background: linear-gradient(to bottom, #ff4d4f, #8b0000);
	z-index: 1000;
	display: none;
}
.modal-error-message p {
	font-size: larger;
	background: linear-gradient(to right, #ffffff, #eeeeee);
  	background-clip: text;
  	-webkit-text-fill-color: transparent;

}
