#lessons-4igi {
	margin: 0 auto;
	/*color: #343a40;*/
	max-width: 900px;
}

#lessons-4igi img,
#lessons-4igi video,
#lessons-4igi audio {
	max-width: 100%;
	margin-bottom: 2em;
    display: inline-block;
}

#lessons-4igi p img {
	margin-bottom: 0;
}

#lessons-4igi audio {
    width: 500px;
	margin-bottom: 2em;
}

#lessons-4igi img.small {
	width: auto;
}

#lessons-4igi img.small-x {
	width: 400px;
}

#lessons-4igi img.p10 {
	width: 10px;
}

#lessons-4igi img.p20 {
	width: 20px;
}

#lessons-4igi img.p30 {
	width: 30px;
}

#lessons-4igi img.p40 {
	width: 40px;
}

#lessons-4igi img.p50 {
	width: 50px;
}

#lessons-4igi img.p60 {
	width: 60px;
}

#lessons-4igi img.p70 {
	width: 70px;
}

#lessons-4igi img.p80 {
	width: 80px;
}

#lessons-4igi img.p90 {
	width: 90px;
}

#lessons-4igi img.p100 {
	width: 100px;
}

#lessons-4igi img.p150 {
	width: 150px;
}

#lessons-4igi img.p200 {
	width: 200px;
}

#lessons-4igi img.p250 {
	width: 250px;
}

#lessons-4igi img.p300 {
	width: 300px;
}

#lessons-4igi img.p350 {
	width: 350px;
}

#lessons-4igi img.p400 {
	width: 400px;
}

#lessons-4igi img.p450 {
	width: 450px;
}

#lessons-4igi img.p500 {
	width: 500px;
}

#lessons-4igi h1,
#lessons-4igi h2,
#lessons-4igi h3,
#lessons-4igi h4,
#lessons-4igi h5,
#lessons-4igi h6 {
	font-weight: bold;
	font-family: serif;
}

#lessons-4igi h1 {
	/*font-size: 200%;*/
	margin-bottom: 1rem;

	/*color: black;*/
}

#lessons-4igi h2 {
	/*font-size: 150%;*/
	clear: both;
	margin-bottom: 1rem;
	margin-top: 2rem;
	/*color: black;*/
}

#lessons-4igi h3,
#lessons-4igi h4 {
	clear: both;
	/*margin-bottom: 1em;*/
	/*margin-top: 2em;*/
	/*color: black;*/

}

#lessons-4igi h3 {
	/*font-size: 120%;*/
}

#lessons-4igi h4 {
	font-size: 110%;
}

#lessons-4igi b {
	/*color: black;*/
}

#lessons-4igi p {
	margin-bottom: 1rem;
	border: none;
	background: none;
}

#lessons-4igi .red {
	color: red;
}

#lessons-4igi p.da,
#lessons-4igi p.net,
#lessons-4igi p.caption {
	font-weight: bold;
	font-family: serif;
	margin-bottom: 0.2em;
}

#lessons-4igi p.da {
	color: green;
}

#lessons-4igi p.net {
	color: red;
}

#lessons-4igi p.caption {
	/*color: black;*/
}

#lessons-4igi .center {
	text-align: center;
}

#lessons-4igi .tab {
	margin-left: 20px;
}

#lessons-4igi .big {
	font-size: 125%;
	font-weight: bold;
}

#lessons-4igi .description {
	font-size: 75%;
}

#lessons-4igi .termin {
	font-weight: bold;
	color: maroon;
}

#lessons-4igi .pravilo {
	font-style: italic;
	font-weight: bold;
	margin-left: 2em;
	border-left: solid red 3px;
	padding-left: 1em;
}

#lessons-4igi .vopros {
	padding-left: 20px;
	font-style: italic;
}

#lessons-4igi .ypr {
	margin: 0 auto;
	border: solid 2px grey;
	padding: 1em;
	margin-bottom: 3em;
	padding-bottom: 2em;
	background-color: #F8F8F8;
}

#lessons-4igi .ill {
	text-align: center;
	margin-bottom: 1em;
	vertical-align: middle;
}

iframe {
    max-width: 100%;
}

/* Упражнения-тесты */

#lessons-4igi .test, #lessons-4igi .test-hide {
	height: 200px;
	border: solid;
	text-align: center;
}

#lessons-4igi .variant {
height: 50px;
width: 30%;
border: solid;
}

#lessons-4igi .test-hide {
	display: none;
}

#lessons-4igi p.pravilno, #lessons-4igi p.nepravilno{
	font-weight: bold;
	font-size: 125%;
	display: none;
}

#lessons-4igi p.pravilno {
	color: green;
}

#lessons-4igi p.nepravilno {
	color: red;
}

#lessons-4igi #result-test {
	width:100%;
	text-align:center;
}

#lessons-4igi #result-test td {
	width: 10%;
}

#lessons-4igi #result-test td.da {
	background-color: green;
	color: white;
}

#lessons-4igi #result-test td.net  {
	background-color: red;
	color: white;
}

/* Упражнения-тесты */

#lessons-4igi .ill audio {
	margin-bottom: 0;
	position: relative;
	top: -1.5em;
}

#lessons-4igi table audio {
	width: 90%;
}

#lessons-4igi .ypr h2 {
	margin-top: 1em;
	margin-bottom: 2em;
	text-align: center;
}

#lessons-4igi .ypr h3 {
	margin-top: 1em;
	text-align: center;
}
#lessons-4igi .ypr h4 {
	margin-top: 2em;
	margin-bottom: 1em;
	text-align: center;
}

#lessons-4igi .ypr table {
	margin: 0 auto;
}

#lessons-4igi .ypr table td.razdelitel {
	width: 1em;
}
#lessons-4igi .ypr table tr.razdelitel {
	height: 5px;
}

#lessons-4igi .ypr table .caption {
	text-align: center;
	font-weight: bold;
	font-family: serif;
	/*color: black;*/
	margin-bottom: 0.2em;
	border-bottom: solid 2px grey;

}


#lessons-4igi table {
	margin-bottom: 1em;
	border: none;
}



#lessons-4igi td {
	vertical-align: top;
}

#lessons-4igi td.w50 {
	width: 50%;
}

#lessons-4igi td.bottom {
	vertical-align: bottom;
}

#lessons-4igi td.center {
	text-align: center;
}

#lessons-4igi td.mid {
	vertical-align: middle;
}

#lessons-4igi td.mid img {
	margin-bottom: 0;
}

 #lessons-4igi ol {
    list-style-type: none; /* Убираем исходные маркеры */
    counter-reset: num; /* Задаём имя счетчика */
   }
   #lessons-4igi ol li::before {
    content: counter(num) '. '; /* Выводим число */
    counter-increment: num; /* Увеличиваем значение счётчика */
    /*color: black;*/
	font-weight: bold;
	font-size: 110%;
   }

#lessons-4igi li {
	margin-bottom: 1em;
}

#lessons-4igi .shift {
	padding-left: 2em;
}

