/* ------------------------------------------------------------------
   Дополнения для классов, которые генерирует WordPress
   (основной дизайн — assets/css/template.css из Joomla-шаблона)
   ------------------------------------------------------------------ */

/* список новостей в нижнем блоке контента */
.contentbottom .news-list,
.shch-post {
	clear: both;
	overflow: hidden;
}
.shch-post {
	padding: 12px 0;
	border-bottom: 1px solid #e2e2e2;
}
.shch-post .news-thumb,
.contentbottom .news-thumb {
	float: left;
	width: 170px;
	margin: 0 15px 5px 0;
}
.shch-post .news-thumb img,
.contentbottom .news-thumb img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e2e2e2;
	padding: 2px;
	background: #ffffff;
}
.shch-post .news-title,
.contentbottom .news-title {
	font-size: 17px;
	line-height: 1.25;
	margin: 0 0 4px;
}
.shch-post .news-title a,
.contentbottom .news-title a {
	color: #0275c9;
	text-decoration: none;
}
.shch-post .news-title a:hover,
.contentbottom .news-title a:hover {
	color: #004061;
	text-decoration: underline;
}
.shch-post .news-date,
.contentbottom .news-date {
	color: #8a8a8a;
	font-size: 13px;
	margin: 0 0 6px;
}
.shch-post p {
	font-size: 15px;
	line-height: 1.45;
}
.contentbottom .all-news {
	text-align: right;
	font-size: 16px;
	background: #f2f2f2;
	padding: 4px 10px 6px;
	margin: 10px 0 0;
}

/* пагинация */
.shch-pagination {
	margin: 20px 0;
	text-align: center;
}
.shch-pagination .page-numbers {
	display: inline-block;
	padding: 4px 10px;
	margin: 0 2px;
	background: #00bfff;
	color: #ffffff;
	text-decoration: none;
	border-radius: 3px;
}
.shch-pagination .page-numbers.current,
.shch-pagination .page-numbers:hover {
	background: #009ace;
	color: #ffffff;
}

/* блоки виджетов: картинки не выходят за пределы колонки */
.moduletable img {
	max-width: 100%;
	height: auto;
}
.shch-area iframe {
	max-width: 100%;
}

/* отладочная сетка отключена */

/* ------------------------------------------------------------------
   Меню в левом сайдбаре: убираем маркеры и делаем пункты как в Joomla
   ------------------------------------------------------------------ */
.moduletable ul,
.moduletable ul.menu,
.moduletable_rightmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.moduletable ul li {
	list-style: none;
}
.moduletable_rightmenu ul li {
	margin: 0;
	padding: 0;
	border: none;
}
.moduletable_rightmenu ul li a {
	display: block;
	width: 100%;
	text-decoration: none;
}
.moduletable_rightmenu > ul > li:first-child > a {
	border-top: none;
}
.moduletable_rightmenu ul li ul {
	margin: 0;
	padding: 0 0 0 10px;
}
.moduletable_rightmenu ul li ul li a {
	font-size: 15px;
	border-bottom: none;
}

/* логотип в шапке и «Экран Диктора» */
.head .head-img img {
	width: 100%;
	max-width: 150px;
	height: auto;
}
#datebox a {
	white-space: nowrap;
}

/* текст новостей/страниц внутри .contentbox */
.contentbox .text1,
.contentbox .text2 {
	font-size: 15px;
	line-height: 1.45;
}

/* Переключатель языков: правила из Joomla media/mod_languages/css/template.css,
   которые в оригинале убирали маркеры списка у <ul class="lang-inline">. */
.lang ul.lang-inline {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lang ul.lang-inline li {
	list-style: none;
}

/* Подменю главного меню: вид в свёрнутом (мобильном) меню.
   Для экранов >=768px правила выпадающего списка приходят из template.css
   (.topmenu ul li ul / :hover), здесь — только мобильный случай. */
@media (max-width: 767px) {
	.topmenu ul li ul {
		position: static;
		width: auto;
		margin: 0 0 5px;
		padding: 0 0 0 15px;
		list-style: none;
		background: transparent;
	}
	.topmenu ul li ul li a,
	.topmenu ul li ul li span {
		color: #ffffff;
		font-size: 15px;
		font-weight: 300;
		letter-spacing: 0;
		text-transform: none;
		padding: 4px 15px;
	}
}

