html, body {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}

img {
	border-style: none;
}

a {
	color: #0000CC;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:visited {
	color: #7878EE;
}

div.clear {
	clear: both;
}

.main_table {
	text-align: left;
	margin-top: 30px;
	min-width: 800px;
}

.main_title {
	text-align: center;
	font: normal normal 400 36px/normal Tahoma, Arial;
	color: #303030;
	margin: 0px;
}
.main_title.small_size {
	font-size: 20px;
}

.main_content {
	text-align: left;
	margin-top: 50px;
	width: 800px;
}
.main_content h3 {
	font: normal normal 400 18px/normal Tahoma, Arial;
}
.main_content ul {
	list-style: circle;
}

.vspace20 {
	height: 20px;
}

.align_justify {
	text-align: justify;
}

.lib_header {
	background: #fff;
}

.lib_title {
	font: normal normal 400 20px/normal Tahoma, Arial;
	color: #303030;
	width: 300px;
	text-align: right;
}

.lib_title a {
	color: #505050;
	font: normal normal 400 20px/normal Tahoma, Arial;
	text-decoration: none;
}
.lib_title a:hover {
	color: #303030;
}

.ya-site-form {
	width: 600px;
}

.table_content {
	min-width: 900px;
	width: 100%;
}

.table_book_page {
	width: 800px;
}
.table_book_page img {
	border:1px solid #000;
	margin: 0 10px 0 0;
}
.table_book_page h2 {
	font: normal normal 400 20px/normal Tahoma, Arial;
	margin: 0;
	padding: 5px 0 10px 0;
}
.table_book_page h3 {
	font: normal normal 400 20px/normal Tahoma, Arial;
	padding: 0px;
	margin: 0 0 10px 0;
}
.table_book_page ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.page_ctrl {
	margin: 0 0 0 20px;	
	width: 100%;
	max-width: 800px;
}
.page_ctrl.top {
	border-bottom: 1px solid #000;
}
.page_ctrl.bottom {
	border-top: 1px solid #000;
}

.page_ctrl a {
	color: #777;
	text-decoration: none;
}
.page_ctrl a:hover {
	color: #303030;
}

.book_menu {
	display: inline-block;
	padding: 5px 100px 5px 15px;
	margin: 15px 0 10px 0;
	background: #eeeeee;
	background: -moz-linear-gradient(left, #eeeeee 0%, #ffffff 100%);
	background: -webkit-linear-gradient(left, #eeeeee 0%, #ffffff 100%);
	background: -o-linear-gradient(left, #eeeeee 0%, #ffffff 100%);
	background: linear-gradient(left, #eeeeee 0%, #ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=1);
}

.book_menu a {
	color: #000;
	text-decoration: none;
}

.book_menu a:hover {
	color: #505050;
	text-decoration: underline;
}

#page_select {
	width: 800px;
	margin: 10px 0 20px 20px;
	display: flex;
	/*align-items: center;*/
}

#pages_roll {
	white-space: nowrap;
	height: 70px;
	overflow: auto;
	overflow-y: hidden;
	outline: none;
}

.page_number {
	font: normal normal 400 16px/normal Tahoma Arial;
	background: #fff;
	padding: 0 2px 16px 2px;
	text-align: center;
}

.page_line_number {
	width: 100%;
	text-align: center;
	background: url('../images/scroll-track.png') repeat-x 0 3px;
	margin-bottom: 5px;
}

.page_num_input {
	border: 1px solid #797B81;
	width: 35px;
	padding: 0 5px 0 5px;
	margin: 0px;
	font: normal normal 700 16px/normal Tahoma Arial;
}

.page_sheet_old {
	background: #fff;
	cursor: pointer;
	display: inline-block;
	border: 1px solid #a0a0a0;
	height: 10px;
	width: 30px;
	text-align: center;
	padding: 10px 5px 20px 5px;
	margin: 2px;
	font: normal normal 400 16px/normal Tahoma Arial;
}
.page_sheet {
	color: #000;
	cursor: pointer;
	display: inline-block;
	height: 10px;
	width: 30px;
	font: normal normal 700 16px/normal Tahoma Arial;
	padding: 10px 5px 20px 5px;
}

.pages_roll_back {
	position: absolute;
	background: #fff;
	padding: 0 5px 0 0;
}

.page_sheet:hover {
	background: #e0e0e0;
}

.page_sheet.selected {
	border: 1px solid #a0a0a0;
}

.page_img {
	text-align: center;
	min-width: 700px;
	min-height: 500px;
	margin: 10px;
}

.page_img_sheet {
	height: 100%;
}

.page_prev_btn {
	cursor: pointer;
	width: 50px;
	height: 600px;
	background: #f7f7f7;
}
.page_prev_btn_vertical {
	padding-top: 275px;
}
.page_prev_btn:hover {
	background: #e0e0e0;
}

.chapters {
	font-size: 14px;
	width: 300px;
}
.content {
	text-align: left;
}

.chapters_div {
	margin: 0;
	text-align: left;
	border-left: 1px solid #e0e0e0;
}
.chapters_list {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
.chapters_list li {
	margin-bottom: 5px;
	padding: 0 10px 0 10px;
}
.chapters_list li.selected {
	color: #dd4b39;
	font-weight: bold;
	border-left: 2px solid #dd4b39;
}

.chapters_list a {
	color: #0000CC;
	text-decoration: none;
}

.chapters_list a:hover {
	text-decoration: underline;
}
.chapters_list a:visited {
	color: #7878EE;
}

.chapters_topic {
	font-family: Tahoma, Arial;
	color: #000;
	padding: 0px 0 20px 10px;
	margin-top: 20px;
	font-size: 18px;
}

.page_maket {
	margin: 30px 0 0 20px;
	text-align: left;
	width: 800px;
}

.page_maket_topic {
	font-family: Tahoma, Arial;
	color: #aaa;
	padding: 20px 0 0px 10px;
	font-size: 12px;
	font-weight: bold;
	text-align: right;
}

div.page_out {
	cursor:pointer; 
	border:1px solid #a0a0a0; 
	padding:5px 5px 5px 5px;
	margin: 0 0 5px 10px;
	background:#fff;
	text-align: left;
}

div.page_out a:visited {
	color: #0000CC;
}

.footer {
	margin: 10px 0 0 0;
	border-top: 1px solid #c5c8d0;
	width: 100%;
	text-align: right;
}
.footer p {
	margin: 0px;
	padding: 0px;
}
.footer_text {
	font-size: 12px;
	color: #777;
	font-family: Arial;
	padding: 10px;
}

.book_auth {
	background-color: #fff6c3;
	border: 2px solid #fe8;
	border-radius: 0.3em;
	-moz-border-radius: 0.3em;
	box-shadow: 0.25em 0.25em 0.4em #aaa;
	-moz-box-shadow: 0.25em 0.25em 0.4em #aaa;
	-webkit-box-shadow: 0.25em 0.25em 0.4em #aaa;
	padding: 0.62em 0.769em 0.62em 0.62em;
}
.book_auth p {
	margin: 0 0 5px 0;
	padding: 0px;
}

menu.categories {
	width: 100%;
	margin: 0 0 50px 0;
	font-size: 24px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
menu.categories li {
	display: block;
	padding: 10px;
}
menu.categories li.selected {
	border: 1px solid #CC0000;
}
menu.categories li a {
	display: block;
	text-decoration: none;
	text-align: center;
	color: #000;
}

menu.categories li a:hover {
	text-decoration: none;
	animation-name: pulse;
	animation-duration: 1s;
	animation-fill-mode: both;
	color: #CC0000;
	text-decoration: none;
}

.list-topic-books h3 {
	margin: 0 0 0 20px;
}
.topic-books {
	font-size: 24px;
	border-top: 1px solid #445c73;
}
.topic-books .topic-title {
	display: inline-block;
	margin: -16px 0 0 10px;
	color: #bb0000;
	padding: 0 10px 0 10px;
	background: #fff;
}

.video_list {
	overflow: auto;
	overflow-y: hidden;
	white-space: nowrap;
	max-width: 400px;
}
.video_list.course {
	white-space: normal;
}

@media (min-width: 600px) {
	iframe {
		width: 640;
	}

	iframe#adv_kod_frame { width: 100% !important; }

	.video_list {max-width: 600px;}
}

@media (min-width: 800px) {
	.video_list {max-width: 800px;}
}

.video_list .video_item {
	display: inline-block;
	margin: 5px;
	width: 200px;
	text-align: center;
	white-space: normal;
}
.video_list .video_item_title {
	overflow: hidden;
	width: 200px;
	height: 60px;
}
.video_item img {
	width: 150px;
}

.video_title {
	padding-left: 20px;
	font: normal normal 400 18px/normal Tahoma;
}

.video_list_vert {
	overflow: auto;
	overflow-x: hidden;
	height: 100%;
	white-space: nowrap;
	max-height: 1400px;
	width: 260px;
}
.video_list_vert .video_item {
	margin: 5px;
	width: 230px;
	text-align: left;
	white-space: normal;
	border-bottom: 1px solid #ccc;
}
.video_list_vert .video_item_title {
	background: url('../images/video32.png') 0 center no-repeat;
	padding: 0 0 0 36px;
	overflow: hidden;
	width: 200px;
	height: 40px;
}

.list-topic-books {
	display:  none;
}
div[id*="yandex_rtb_"] {
	max-width: calc(100vw - 350px);
}
html {
	overflow-x: hidden;
}
.mline {
	background: #242424;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 10px;
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	z-index: 9998;
	display: none;
}
.mline,
.mline *,
.mob-menu,
.mob-menu * {
	box-sizing: border-box;
}
.mline-links {
	display: flex;
	margin: 0;
	padding: 0;
}
.mline-links > li {
	margin: 0 30px 0 0;
	padding: 0;
	list-style: none;
}
.mline-links > li:last-child {
	margin: 0;
}
.mline-links > li > a {
	color: #fff;
}
.mob-open {
    cursor: pointer;
    z-index: 5;
    width: 34px;
    height: 34px;
    display: none;
    position: relative;
}
.mob-open:before,
.mob-open:after {
    content: '';
    background: #fff;
    transition: 300ms;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
}
.mob-open:before {
    top: 10px;
}
.mob-open:after {
    bottom: 10px;
}
.mob-open.active:before {
    top: 16px;
    transform: rotate(-45deg);
}
.mob-open.active:after {
    bottom: 16px;
    transform: rotate(45deg);
}
.mob-menu {
    position: fixed;
    height: 100%;
    overflow: auto;
    width: 280px;
    top: 0;
    left: -110%;
    transition: 300ms;
    background: #f2f2f2;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.17);
    z-index: 99999;
    padding: 50px 15px 20px 15px;
}
.mob-menu.active {
    left: 0;
}
.mob-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    filter: invert(1) contrast(0.05);
}
.mob-menu-close svg {
    width: 25px;
}
.mob-menu-close svg path {
    fill: #bbb;
}
.mob-menu-list,
.mob-menu-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mob-menu-list li {
    border-bottom: 1px solid #dcdcdc;
}
.mob-menu-list li > a {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    padding: 9px 0;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
}
.mob-menu-phone,
.mob-menu-address {
    font-size: 22px;
    font-weight: 500;
    margin-top: 30px;
    color: #000;
}
.mob-menu-phone a,
.mob-menu-address a {
    text-decoration: none;
    color: #000;
}
.mob-menu-address {
    font-size: 18px;
}
.blured {
    filter: blur(5px);
}
.overflow {
    overflow: hidden;
}
@media(max-width: 1100px) {
	.table_content {
		min-width: auto!important;
	}
	.page_img {
		min-width: auto!important;
	}
	td.content {
		width: calc(100vw - 320px);
	}
	#img_scans img {
		max-width: 100%;
	}
	.table_content,
	.table_content > tbody,
	.table_content > tbody > tr,
	.table_content > tbody > tr > td {
		width: 100%;
		display: block!important;
	}
	.chapters_list + div {
		height: 30px!important;
	}
	.page_maket {
		width: auto!important;
		margin: 0!important;
		padding-right: 10px;
	}
	#page_select {
		width: calc(100vw - 30px)!important;
		margin-left: 10px!important;
	}
	.page_ctrl.bottom {
		display: none!important;
	}
	.page_prev_btn {
		height: 1px;
	}
	.page_prev_btn,
	.pprev {
		display: none!important;
	}
	.ya-site-form {
		width: auto!important;
	}
	.page_ctrl {
		width: calc(100% - 20px);
		margin: 0 10px!important;
	}
	.main_table {
		min-width: 1px;
		margin-top: 0;
	}
	.main_content {
		width: auto;
	}
	.main_title.small_size {
		margin-top: 7px;
	}
	.categories {
		padding: 0;
	}
	.table_book_page {
		width: 100%;
	}
}
@media(max-width: 650px) {
	.topmenu {
		display: none!important;
	}
	.lib_header table,
	.lib_header > table > tbody,
	.lib_header > table > tbody > tr,
	.lib_header > table > tbody > tr > td {
		display: block;
	}
	.lib_title {
		text-align: center;
		margin-bottom: 10px;
		width: auto;
	}
	.v_topmenu_space {
		height: 15px!important;
	}
	.ya-site-form__search {
		display: flex!important;
		justify-content: center;
	}
	.ya-site-form__wrap,
	.ya-site-form__wrap > tbody,
	.ya-site-form__wrap > tbody > tr,
	.ya-site-form__wrap > tbody > tr > td,
	.ya-site-form__search,
	.ya-site-form__search > tbody,
	.ya-site-form__search > tbody > tr,
	.ya-site-form__search > tbody > tr > td {
		display: block;
	}
	.book_menu {
		margin-top: 0!important;
	}
	.page_ctrl.top,
	.page_ctrl > tbody {
		display: block;
	}
	.page_ctrl > tbody > tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.page_ctrl .plink a span {
		display: none;
	}
	.page_ctrl .soc {
		order: 1;
		width: 100%;
		display: flex;
		justify-content: center;
		margin-bottom: 3px;
	}
	.page_ctrl .plink-1 {
		order: 2;
	}
	.page_ctrl .plink-2 {
		order: 3;
	}
	.page_img {
		min-height: 1px;
	}
	.page_img_sheet,
	.page_img_sheet > tbody,
	.page_img_sheet > tbody > tr,
	.page_img_sheet > tbody > tr > td {
		display: block;
	}
	.page_img_sheet {
		height: auto!important;
	}
	.categories {
		padding: 0 10px;
		box-sizing: border-box;
	}
	.categories > li {
		width: 100%;
	}
	.main_content {
		margin-top: 20px;
	}
	.table_book_page {
		margin: 0!important;
		padding:0 10px;
		box-sizing: border-box;
	}
	.table_book_page,
	.table_book_page table,
	.table_book_page tbody,
	.table_book_page tr,
	.table_book_page td {
		display: block!important;
		width: 100%;
	}
	/*.table_book_page table td img {
		display: block;
		margin:0 auto;
	}*/
	.mline {
		display: flex;
	}
	.mob-open {
		display: block;
	}
	body {
		margin-top: 54px!important;
	}
	div[id*="yandex_rtb_"] {
		max-width: 100%;
	}
}

td.side-td {
	display: none;
}
@media(min-width: 1400px) {
	td.side-td {
		display: table-cell;
	}
	div[id*="yandex_rtb_"] {
		max-width: calc(100vw - 650px);
	}
}
#pages_roll {
	width: calc(100% - 110px - 24px)!important;
	margin: 0 12px;
}
.xarrow {
	width: auto;
	line-height: 40px;
	height: 40px;
	background: #f2f2f2;
	padding: 0 8px;
	cursor: pointer;
}
.xarrow:hover {
	background: #dcdcdc;
}
#pages_roll .percentPointerClass {
	display: none!important;
}
.bookimage {
	max-width: 207px;
	box-sizing: border-box;
}
.table_content img {
	max-width: 773px;
	box-sizing: border-box;
}
@media(max-width: 991px) {
	.table_content img {
		max-width: 100%;
	}
}
.bwarn {
	background: #f2f2f2;
	padding: 15px;
	font-size: 15px;
	line-height: 1.5;
	margin: 13px 0;
	border: 1px dotted #dd4b39;
}