/* ============================================================
   old-web.com - мобильная версия
   Стиль смартфонного веба примерно 2010 года: глянцевые градиентные
   бары, скруглённые белые блоки на сером фоне, крупные тап-цели.
   Без фреймворков и без JS - только CSS, который понимали браузеры
   iOS 3-4 и Android 2.x (-webkit-gradient, -webkit-border-radius).
   ============================================================ */

body {
	margin: 0;
	padding: 0;
	background: #dcdcdc;
	color: #222;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 15px;
	-webkit-text-size-adjust: none;
}

img { border: 0; }

a { color: #0E72A3; }

/* ===== Шапка ===== */

.m-header {
	background: #0E72A3;
	background: -webkit-gradient(linear, left top, left bottom, from(#3a9fd0), to(#0a5f8b));
	background: -webkit-linear-gradient(top, #3a9fd0, #0a5f8b);
	background: linear-gradient(top, #3a9fd0, #0a5f8b);
	border-bottom: 1px solid #084b6e;
	padding: 8px 10px;
	color: #fff;
}

.m-header .m-logo {
	display: block;
	color: #fff;
	font-size: 19px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.45);
}

.m-header .m-tagline {
	display: block;
	font-size: 11px;
	color: #cfe7f4;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
}

/* кнопка "назад"/"ФАК" в шапке — справа, как в приложениях тех лет */
.m-header-bar { width: 100%; }
.m-header-bar td { vertical-align: middle; }

.m-hbtn {
	display: block;
	white-space: nowrap;
	padding: 7px 12px;
	min-height: 16px;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.45);
	border: 1px solid #084b6e;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #0b658f;
	background: -webkit-gradient(linear, left top, left bottom, from(#2e93c5), to(#075a84));
	background: -webkit-linear-gradient(top, #2e93c5, #075a84);
	background: linear-gradient(top, #2e93c5, #075a84);
}
.m-hbtn:active { background: #06557d; }

/* ===== Пятицветная полоска — общий знак сайта, как на десктопе ===== */

.m-strip { width: 100%; border-collapse: collapse; }
.m-strip td { height: 5px; font-size: 1px; line-height: 5px; }

/* ===== Таб-бар разделов ===== */

.m-tabs {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #7a7a7a;
}
.m-tabs td { padding: 0; }
.m-tabs a {
	display: block;
	padding: 13px 2px;
	text-align: center;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
	border-right: 1px solid rgba(0,0,0,0.25);
}
.m-tabs td.last a { border-right: 0; }
.m-tabs a.t1 { background: #0E72A3; background: -webkit-linear-gradient(top, #2a92c3, #0a5f8b); background: linear-gradient(top, #2a92c3, #0a5f8b); }
.m-tabs a.t2 { background: #00A2A5; background: -webkit-linear-gradient(top, #23c0c3, #018487); background: linear-gradient(top, #23c0c3, #018487); }
.m-tabs a.t3 { background: #22980C; background: -webkit-linear-gradient(top, #45b62e, #1a7b09); background: linear-gradient(top, #45b62e, #1a7b09); }
.m-tabs a.t4 { background: #F9B900; background: -webkit-linear-gradient(top, #ffd34d, #e0a600); background: linear-gradient(top, #ffd34d, #e0a600); color: #4a3600; text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
.m-tabs a.t5 { background: #FF0066; background: -webkit-linear-gradient(top, #ff3d8b, #d60055); background: linear-gradient(top, #ff3d8b, #d60055); }
.m-tabs a:active { opacity: 0.75; }

/* ===== Секции контента ===== */

.m-page { padding: 10px 10px 20px 10px; }

.m-sect-title {
	margin: 14px 4px 6px 4px;
	font-size: 13px;
	font-weight: bold;
	color: #4a4a4a;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #fff;
}
.m-sect-title.first { margin-top: 4px; }

.m-box {
	background: #fff;
	border: 1px solid #b3b3b3;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 10px;
	margin-bottom: 4px;
}

/* ===== Формы ===== */

.m-label {
	display: block;
	font-size: 12px;
	font-weight: bold;
	color: #555;
	margin: 6px 0 3px 2px;
}

.m-input {
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	padding: 9px 8px;
	border: 1px solid #a8a8a8;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: #fff;
	-webkit-appearance: none;
	color: #222;
}

.m-btn {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin-top: 10px;
	padding: 12px 10px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.45);
	border: 1px solid #084b6e;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: #0E72A3;
	background: -webkit-gradient(linear, left top, left bottom, from(#3a9fd0), to(#0a5f8b));
	background: -webkit-linear-gradient(top, #3a9fd0, #0a5f8b);
	background: linear-gradient(top, #3a9fd0, #0a5f8b);
	-webkit-appearance: none;
	cursor: pointer;
}
.m-btn:active { background: #0a5f8b; }

/* переключатель "по сайтам / по картинкам" — два радио как сегменты */
.m-radios { margin-top: 8px; }
.m-radios label {
	display: inline-block;
	margin-right: 14px;
	font-size: 14px;
	padding: 6px 0;
}

.m-check { font-size: 14px; }
.m-check input { margin-right: 6px; }

/* ===== Списки-ссылки ===== */

.m-list {
	background: #fff;
	border: 1px solid #b3b3b3;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 4px;
}
.m-list a {
	display: block;
	padding: 13px 26px 13px 12px;
	color: #222;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid #dcdcdc;
}
.m-list a .m-chev { float: right; color: #9a9a9a; font-weight: bold; }
.m-list a.last, .m-list a:last-child { border-bottom: 0; }
.m-list a:active { background-color: #0E72A3; color: #fff; }

/* ===== Новости на мобильном ===== */

.news-item {
	width: 100%;
	background: #fff;
	border: 1px solid #b3b3b3;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border-collapse: separate;
	margin-bottom: 8px;
}
.news-item td { padding: 10px; vertical-align: top; }
.news-item td.thumb { width: 100px; padding-right: 0; }
.news-item img { display: block; }
.news-title {
	font-size: 16px;
	font-weight: bold;
	color: #0E72A3;
	text-decoration: none;
	line-height: 1.25;
}
.news-date { display: block; font-size: 11px; color: #8a8a8a; margin: 3px 0 5px 0; }
.news-excerpt { font-size: 13px; color: #444; line-height: 1.45; }
.news-more { display: inline-block; margin-top: 6px; font-size: 13px; }

.news-post-date { font-size: 12px; color: #8a8a8a; margin-bottom: 10px; }
.news-post-body { font-size: 15px; line-height: 1.55; }
.news-post-body img { max-width: 100%; height: auto; }

.pagination {
	margin: 10px 0 0 0;
	font-size: 13px;
	color: #555;
	text-align: center;
}
.pagination a {
	display: inline-block;
	padding: 9px 14px;
	margin: 0 4px;
	border: 1px solid #a8a8a8;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: #fff;
	background: -webkit-linear-gradient(top, #ffffff, #e4e4e4);
	background: linear-gradient(top, #ffffff, #e4e4e4);
	text-decoration: none;
}

/* ===== Голосование ===== */

.poll-widget {
	background: #fff;
	border: 1px solid #b3b3b3;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 4px;
}
.poll-widget h3 { margin: 0 0 8px 0; font-size: 15px; }
.poll-option { display: block; padding: 8px 0; font-size: 15px; }
.poll-option input { margin-right: 8px; }
.poll-form input[type="submit"] {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin-top: 8px;
	padding: 11px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.45);
	border: 1px solid #084b6e;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: #0E72A3;
	background: -webkit-linear-gradient(top, #3a9fd0, #0a5f8b);
	background: linear-gradient(top, #3a9fd0, #0a5f8b);
	-webkit-appearance: none;
}
.poll-result-row { margin-bottom: 8px; }
.poll-result-label { display: block; font-size: 13px; margin-bottom: 3px; }
.poll-result-bar {
	display: block;
	background: #e0e0e0;
	height: 14px;
	width: 100%;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	overflow: hidden;
}
.poll-result-fill {
	display: block;
	height: 14px;
	background: #0E72A3;
	background: -webkit-linear-gradient(top, #3a9fd0, #0a5f8b);
	background: linear-gradient(top, #3a9fd0, #0a5f8b);
}
.poll-result-pct { font-size: 11px; color: #777; }
.poll-total { font-size: 11px; color: #999; margin: 8px 0 0 0; }
.poll-change-link { font-size: 13px; margin: 6px 0 0 0; }

/* ===== Подвал ===== */

.m-footer {
	padding: 16px 10px 24px 10px;
	text-align: center;
	font-size: 11px;
	color: #777;
	text-shadow: 0 1px 0 #fff;
}
.m-footer a { color: #666; }

/* ===== ЧАВО ===== */

.faq .faq-q {
	font-size: 15px;
	font-weight: bold;
	color: #0E72A3;
	margin: 12px 0 4px 0;
	line-height: 1.3;
}
.faq .faq-q:first-child { margin-top: 0; }

.faq .faq-a {
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
}
.faq .faq-a:last-child { border-bottom: 0; padding-bottom: 0; }

.m-header .m-logo { text-decoration: none; }
