@charset "utf-8";
/* CSS Document - MOBILE VERSION (FINAL) */

/* === БАЗОВЫЕ НАСТРОЙКИ === */
body {
	width: 480px;
	background-image: none;
}
#enter_pan {
	display: none;
}
table#foot TR TD.foot_c {
	display: none;
}
table#foot TR TD.foot_cc #foot_content {
	display: none;
}
table#foot TR TD.foot_cc {
	border: none;
	display: block;
	background-image: none;
	width: 480px;
}
TD.body_lc {
	display: none;
}
TD.body_rc {
	display: none;
}
TD.head_bg_td {
	display: none;
}
#cright {
	display: inline-block;
	vertical-align: top;
	margin-top: 40px;
	width: 220px;
	margin-left: 40px;
}
div.lastss {
	vertical-align: top;
	display: inline-block;
	width: 100px;
	margin-top: 40px;
	margin-left: 20px;
}
div.lastss IMG {
	display: block;
	margin-left: 8px;
	margin-top: 2px;
}

/* === КОНТЕНТ И ШРИФТЫ === */
TABLE#content_table TR TD.cc {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	font-size: 16px !important;
	overflow-y: visible !important;
	height: auto !important;
}
TABLE#content_table TR TD.cc H1 {
	margin-left: -20px;
	font-size: 22px !important;
	margin: 15px 0;
}
TABLE#content_table TR TD.cc H2 {
	margin-left: -20px;
	font-size: 19px !important;
	margin: 12px 0;
}
TABLE#content_table TR TD.cc H3 {
	margin-left: -20px;
	font-size: 17px !important;
	margin: 10px 0;
}
TABLE#content_table TR TD.cc .article_mcard IMG {
	width: 400px;
}
TD.cc UL, TD.cc OL {
    font-size: 16px !important;
    padding-left: 20px;
}
TD.cc A {
    font-size: 16px !important;
}

/* === МЕНЮ === */
#topnavi {
	display: block;
	width: 60px;
	height: 60px;
	background-image: none;
	background-color: #fff;
	position: absolute;
	top: 60px;
	right: 40px;
	padding: 0px;
	background-image: url('../pics/navi_m.png');
	background-repeat: no-repeat;
	background-position: center center;
}
#topnavi UL {
	display: none;
	position: absolute;
	top: 60px;
	left: -380px;
	width: 480px;
	background-image: none;
	background-color: #fff;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
#topnavi UL LI {
	display: block;
	background-image: none;
	border-top: solid 1px #f4f4f4;
	border-bottom: solid 1px #f4f4f4;
	line-height: 50px;
	padding-left: 40px;
	padding-right: 40px;
	margin-top: -1px;
}
#topnavi UL LI A {
	display: block;
	font-size: 15px;
}
#topnavi UL LI.this {
	display: block;
	background-image: url('../pics/topnavi_item_this_m.png');
	background-repeat: no-repeat;
	background-position: left top;
	border-top: solid 1px #7d909a;
	border-bottom: solid 1px #5c7684;
	line-height: 50px;
}
#topnavi UL.topsubnavi {
	display: block;
	position: relative;
	top: 0px;
	left: 0px;
	width: 480px;
	background-image: none;
	background-color: #fff;
	box-shadow: none;
}
#topnavi UL.topsubnavi LI {
	display: block;
	background-image: none;
	border-top: solid 1px #f4f4f4;
	border-bottom: solid 1px #f4f4f4;
	line-height: 50px;
	padding-left: 70px;
	padding-right: 40px;
	margin-top: -1px;
	background-image: url('../pics/subtopnavi_item_m.png');
	background-repeat: no-repeat;
	background-position: left top;
}
#topnavi UL.topsubnavi LI A {
	display: block;
}
#topnavi UL.topsubnavi LI.this {
	display: block;
	background-image: url('../pics/subtopnavi_item_this_m.png');
	background-repeat: no-repeat;
	background-position: left top;
	border-top: solid 1px #7d909a;
	border-bottom: solid 1px #5c7684;
	line-height: 50px;
}

/* === ХЛЕБНЫЕ КРОШКИ === */
#pathway {
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 15px;
	color: #1f99c6;
	font-size: 14px !important;
	line-height: 1.4;
}
#pathway A {
	color: #1f99c6;
	font-size: 14px !important;
	text-decoration: none;
}
#pathway A:hover {
	text-decoration: underline;
}
#pathway IMG {
	display: inline-block;
	vertical-align: middle;
	margin: 0 5px;
}

/* === СПИСКИ НОВОСТЕЙ (ОБЪЕДИНЕНО) === */
TABLE.news_listing {
	display: block !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	background-image: url(../pics/grey_dot_2_1.gif);
	background-repeat: repeat-x;
	background-position: left top;
}
TABLE.news_listing TR TD {
	display: block !important;
	width: 100% !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	background-image: url(../pics/grey_dot_2_1.gif);
	background-repeat: repeat-x;
	background-position: left bottom;
}
TABLE.news_listing TR TD P.header {
	margin-left: 0 !important;
	margin-right: 0 !important;
	font-size: 17px !important;
	line-height: 1.4;
}
TABLE.news_listing TR TD P.header A {
	font-size: 17px !important;
}
TABLE.news_listing TR TD P.date {
	margin-left: 0 !important;
	font-size: 15px !important;
	line-height: 1.4;
}
TABLE.news_listing TR TD P.anchor {
	margin-left: 0 !important;
	margin-right: 0 !important;
	font-size: 16px !important;
	line-height: 1.6;
}

/* === АРХИВ НОВОСТЕЙ (ОБЪЕДИНЕНО) === */
DIV.news_archive_column,
TD.news_archive_column {
	width: 100% !important;
	max-width: 440px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 20px !important;
	box-sizing: border-box !important;
	border-top: 1px solid #eee !important;
	float: none !important;
}
DIV.news_archive_column #arch_years {
	width: 100px !important;
	float: left !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	color: #95a3b1;
	font-size: 15px !important;
	line-height: 30px;
}
DIV.news_archive_column #arch_years A {
	font-size: 15px !important;
}
DIV.news_archive_column #arch_years I {
	color: #455463;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
}
DIV.news_archive_column #arch_years B {
	color: #990000;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
}
DIV.news_archive_column UL {
	width: 300px !important;
	float: left !important;
	margin-left: 10px !important;
	padding-left: 0 !important;
	padding: 0px;
	margin: 0px;
}
DIV.news_archive_column UL LI {
	margin: 0px;
	line-height: 25px;
	list-style-type: none;
	padding-left: 20px;
	color: #455463;
}
DIV.news_archive_column UL LI A {
	color: #455463;
	text-decoration: none;
}
DIV.news_archive_column UL LI A:hover {
	color: #455463;
	text-decoration: underline;
}
DIV.news_archive_column UL LI I {
	font-style: normal;
	color: #A5B5BC;
	font-size: 11px;
}
DIV.news_archive_column UL LI.this {
	line-height: 31px;
	background-image: url(../pics/news_arch_month_bg.png);
	background-repeat: no-repeat;
	background-position: left center;
	list-style-type: none;
	padding-left: 20px;
}
DIV.news_archive_column UL LI.this A {
	color: #efefef;
	text-decoration: none;
}
DIV.news_archive_column UL LI.this A:hover {
	color: #efefef;
	text-decoration: underline;
}
DIV.news_archive_column UL LI.this I {
	font-style: normal;
	color: #b6c3c9;
	font-size: 11px;
}
DIV.news_archive_column::after {
	content: "";
	display: table;
	clear: both;
}

/* === ПОЛНЫЕ НОВОСТИ (ДОБАВЛЕНО) === */
#news_body,
#news_body P {
	font-size: 16px !important;
	line-height: 1.6;
}
#news_body H1 {
	font-size: 22px !important;
	margin-left: 0 !important;
	padding-left: 20px !important;
}
#news_body H2 {
	font-size: 19px !important;
	margin-left: 0 !important;
	padding-left: 20px !important;
}
#news_body H3 {
	font-size: 17px !important;
	margin-left: 0 !important;
	padding-left: 20px !important;
}
#news_body A {
	font-size: 16px !important;
}
#news_body UL,
#news_body OL {
	font-size: 16px !important;
	padding-left: 25px;
}
#news_body IMG {
	max-width: calc(100% - 40px) !important;
	width: auto !important;
	height: auto !important;
	display: block !important;
	margin-left: 20px !important;
	margin-right: 20px !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
}
P.news_date {
	font-size: 15px !important;
	margin-left: 0 !important;
}
P.news_date SPAN B {
	font-size: 18px !important;
}
#news_body P.source {
	font-size: 14px !important;
	color: #999;
	margin-top: 20px;
}

/* === СТАТЬИ И БИБЛИОТЕКА === */
TABLE.articles_listing {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}
TABLE.articles_listing TR TD {
	padding-left: 15px !important;
	padding-right: 15px !important;
}
TABLE.videos_listing {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}
TABLE.videos_listing TR TD {
	padding-left: 15px !important;
	padding-right: 15px !important;
}
TABLE.videos_listing TR TD P.anchor {
	display: none;
}
TABLE.videos_listing TR TD P.header {
	margin-left: 0 !important;
}
TABLE.geldstrafe {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}

/* === ПАГИНАЦИЯ === */
#paging {
	width: 440px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	background-image: none;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 15px;
}
#paging A {
	display: inline-block;
	vertical-align: top;
	line-height: 30px;
	height: 30px;
	text-align: center;
	width: 30px;
	padding: 0px;
}
#paging B {
	display: inline-block;
	vertical-align: top;
	line-height: 30px;
	height: 30px;
	text-align: center;
	width: 30px;
	padding: 0px;
	background-color: #000;
	color: #fff;
}

/* === РЕЙТИНГИ И БЛОКИ === */
#onmain_rating_area {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	border-left: none;
	border-right: none;
}
#onmain_rating_area_block_header {
	padding-top: 20px;
	margin-left: 20px !important;
	padding-left: 20px;
}
#onmain_rating_area_block_item {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-right: 20px;
}
#onmain_news_area {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	border-left: none;
	border-right: none;
}
#onmain_news_area TABLE.news_listing_onmain {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
#onmain_news_area_block_archive {
	display: none;
}
#onmain_text_nonheader_area {
	margin-left: 0 !important;
	padding-left: 20px !important;
	padding-right: 0 !important;
}
h2 {
	margin-left: -20px !important;
}
h2.clean {
	margin-left: -20px !important;
}

/* === ФИЛЬТРЫ === */
#filter_area {
	height: auto;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	border-left: none;
	border-right: none;
}
#filter_area FORM {
	padding: 10px 20px 20px 20px;
}
#filter_area FORM SELECT {
	font-size: 14px;
	padding: 10px;
}
#filter_area FORM INPUT {
	font-size: 14px;
	padding: 10px;
}
#filter_area FORM INPUT.button {
	font-size: 14px;
	padding: 10px;
	color: #333;
	background-color: #ffffff;
	background-image: url(../pics/filter_button.gif);
	background-repeat: repeat-x;
	background-position: left bottom;
}
#filter_area FORM SPAN {
	display: inline-block;
	vertical-align: top;
	text-align: center;
	width: 50px;
	padding-bottom: 10px;
}

/* === ШКОЛЫ И ИНСТРУКТОРЫ === */
#listing_school_item {
	width: 100% !important;
	max-width: 440px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
#listing_school_item A.header_link {
	margin-left: 0 !important;
}
#listing_instructor_item {
	width: 100% !important;
	max-width: 440px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
#listing_instructor_item A.header_link {
	margin-left: 0 !important;
}
#school_news_block_header {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: 440px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}
#school_offices_block_header {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: 440px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}
#school_office_block_item {
	margin-left: 0 !important;
	padding-left: 20px !important;
}
#school_office_block_item I {
	font-size: 14px;
}

/* === ВСТАВКИ И ОПИНИИ === */
#inserts_area {
	padding-left: 0 !important;
	width: 100% !important;
	max-width: 440px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
#insert_body {
	padding-bottom: 20px;
	font-size: 16px !important;
}
#H2_imit {
	margin-left: -20px !important;
}
#opinion_item {
	font-size: 14px;
}
#opinion_item I {
	font-size: 14px;
}

/* === ПДД === */
#pdd_ticket_card {
	padding-left: 14px;
	padding-right: 14px;
	background-repeat: repeat-x;
	background-image: url('../pics/pdd_ticket_card_m.gif');
}
.pdd_question_line A {
	display: inline-block;
	vertical-align: baseline;
}
.pdd_question_line A SPAN {
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}
.pdd_question_line A I {
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}
.pdd_question_line A B {
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}
#pdd_subheader A {
	margin-left: 0 !important;
}
.pdd_send_answer_button {
	margin-left: 0 !important;
	font-size: 14px;
	width: 120px;
	height: 50px;
	background-image: url('../pics/pdd_send_answer_button_m.gif');
}
#pdd_examination_timer {
	margin-left: 0 !important;
}
.pdd_question_header {
	font-size: 20px !important;
}
.pdd_question_line {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* === КАРТИНКИ В ПДД === */
.cc > img[src*="/pdd_tickets/"],
.cc IMG[src*="/pdd_tickets/"] {
	width: auto !important;
	max-width: 400px !important;
	height: auto !important;
	display: block !important;
	margin-left: 20px !important;
	margin-right: 20px !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
	float: none !important;
}

/* === ПРОКРУТКА ТАБЛИЦ === */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	max-width: 440px;
	margin: 15px 0;
	box-sizing: border-box;
}
.table-scroll table {
	border-collapse: collapse;
	width: 650px;
	display: block;
	font-size: 15px !important;
}
.table-scroll th,
.table-scroll td {
	white-space: nowrap;
	padding: 10px 12px;
	border: 1px solid #ddd;
}

/* === ПОДВАЛ И МЕНЮ === */
#foot_content, #topnavi UL LI A {
	font-size: 15px !important;
}
/* === ФИНАЛЬНЫЙ ФИКС АРХИВА — ПЕРЕБИВАЕТ PAGES.CSS === */
@media (max-width: 480px) {
    DIV.news_archive_column,
    TD.news_archive_column {
        float: none !important;
        clear: both !important;
    }
    
    DIV.news_archive_column #arch_years {
        float: left !important;
        display: inline-block !important;
        vertical-align: top !important;
        width: 95px !important;
        margin-right: 5px !important;
    }
    
    DIV.news_archive_column UL {
        float: left !important;
        display: inline-block !important;
        vertical-align: top !important;
        width: 270px !important;
        margin-left: 0 !important;
    }
    
    DIV.news_archive_column #arch_years I,
    DIV.news_archive_column #arch_years B,
    DIV.news_archive_column UL LI A,
    DIV.news_archive_column UL LI I {
        display: inline !important;
        white-space: nowrap !important;
    }
}