.modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 72px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.4)
}

.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	margin-top: 40px;
	width: 90%;
	max-width: 1200px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: .4s;
	animation-name: animatetop;
	animation-duration: .4s;
	max-height: calc(100vh - 210px);
	overflow-y: auto
}

@-webkit-keyframes animatetop {
	from {
		top: -300px;
		opacity: 0
	}
	to {
		top: 0;
		opacity: 1
	}
}

@keyframes animatetop {
	from {
		top: -300px;
		opacity: 0
	}
	to {
		top: 0;
		opacity: 1
	}
}

.close-btn {
	color: white;
	background-color: #d83b01;
	float: right;
	font-size: 3rem;
	line-height: 2.6rem;
}

.close-btn:hover,
.close:focus {
	text-decoration: none;
	cursor: pointer;
	background-color: #a50900
}

.modal-body {
	padding: 20px 16px
}

/*стиль для табличек форматов*/

.formats,
.formats th {
	font-size: 1rem;
	font-weight: normal;
}

.formats2 {
	border-right: 1px solid #59727F;
	border-top: 1px solid #59727F;
}

.formats2 td {
	border-bottom: 1px solid #59727F;
	padding-top: 2px;
	padding-bottom: 2px;
}

.program1 {
	text-align: left;
	background: #EFEFF7;
	border-left: 1px solid #59727F;
	border-bottom: 1px solid #59727F;
	height: 46px;
	padding-left: 7px;
}

.version2 {
	color: #325364;
	background: #EFEFF7;
	border-left: 1px solid #59727F;
	padding-left: 7px;
	height: 30px;
}

.yes {
	color: #004586;
	text-align: center;
	line-height: 12px;
	height: 30px;
}

.yes1 {
	color: #004586;
	text-align: center;
	line-height: 12px;
	background: #EFEFF7;
	height: 30px;
}

.no {
	color: #CC3300;
	text-align: center;
	line-height: 12px;
	height: 30px;
}

.no1 {
	color: #CC3300;
	text-align: center;
	line-height: 12px;
	background: #EFEFF7;
	height: 30px;
}

.rem {
	color: #FF7F00;
	text-align: center;
}

.rem1 {
	color: #FF7F00;
	text-align: center;
	background: #EFEFF7;
}

.legend {
	text-align: center;
	color: #325364;
	border-bottom: 1px solid #59727F;
	padding-top: 2px;
	padding-bottom: 2px;
	border-left: 1px solid #59727F;
	font-size: 0.8rem;
}


/*::КОНЕЦ::стиль для табличек форматов*/

