/*
Theme Name: Шучинск — центр соцуслуг (dom)
Theme URI: 
Author: ported from the Joomla template "dom" by Studia Gala
Description: WordPress-порт дизайна Joomla-шаблона "dom" (Бурабай ауданы / Щучинск, арнайы әлеуметтік қызметтер көрсету орталығы). Основной CSS лежит в assets/css/template.css и сохранён максимально близко к оригиналу.
Version: 1.0.0
Text Domain: shch-dom
*/

/* ------------------------------------------------------------------
   Основная вёрстка берётся из assets/css/template.css (оригинальный файл
   Joomla-шаблона). Здесь — только то, чего в нём не было.
   ------------------------------------------------------------------ */

/* подписи к сгенерированным WP-классам, чтобы стили Joomla совпадали */
.topmenu .menu-item.active > a,
.moduletable_rightmenu .menu-item.active > a {
	background: #009ace;
	color: #ffffff;
}

/* логотип, выведенный через WP */
.head .head-img {
	width: 170px;
	float: left;
	padding-top: 10px;
	padding-bottom: 10px;
}
.head .head-img img {
	max-width: 100%;
	height: auto;
}

/* ссылка «Экран Диктора» в верхней строке */
#datebox a {
	margin-left: 20px;
	color: #004258;
	text-decoration: underline;
}
#datebox a:hover {
	color: #000000;
}

/* виджеты, заголовок модуля и текст (совместимо с Joomla-разметкой) */
.moduletable h3 {
	font-size: 18px;
	margin: 0 0 8px;
	color: #004061;
}
.moduletable .textwidget img {
	max-width: 100%;
	height: auto;
}

/* поиск (searchform.php) */
div.seach_box .inputbox,
div.seach_box input[type="search"],
div.seach_box input[type="text"] {
	background: #40b5f2;
	background: rgba(0, 0, 0, 0.05);
	border: none;
	color: #004258;
	font-size: 90%;
	float: left;
	margin: 0;
	padding: 0 5px 0 10px;
	height: 30px;
	width: 180px;
}
div.seach_box button,
div.seach_box input[type="submit"] {
	background: url("../images/icon-search.png") no-repeat scroll center center #00bfff;
	border: none;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	text-indent: -999em;
	width: 32px;
	height: 30px;
	cursor: pointer;
}

/* список последних новостей в нижнем блоке */
.contentbottom .news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.contentbottom .news-item {
	clear: both;
	padding: 12px 0;
	border-bottom: 1px solid #e2e2e2;
	overflow: hidden;
}
.contentbottom .news-item:last-child {
	border-bottom: none;
}
.contentbottom .news-thumb {
	float: left;
	width: 170px;
	margin: 0 15px 5px 0;
}
.contentbottom .news-thumb img {
	max-width: 100%;
	height: auto;
	border: 1px solid #e2e2e2;
	padding: 2px;
	background: #ffffff;
}
.contentbottom .news-title {
	font-size: 17px;
	line-height: 1.25;
	margin: 0 0 4px;
}
.contentbottom .news-title a {
	color: #0275c9;
	text-decoration: none;
}
.contentbottom .news-title a:hover {
	color: #004061;
	text-decoration: underline;
}
.contentbottom .news-date {
	color: #8a8a8a;
	font-size: 13px;
	margin: 0 0 6px;
}
.contentbottom .news-intro {
	font-size: 15px;
	line-height: 1.45;
	color: #444444;
	margin: 0;
}
.contentbottom .all-news {
	text-align: right;
	font-size: 16px;
	background: #f2f2f2;
	padding: 4px 10px 6px;
	margin: 10px 0 0;
}

/* формы и контент внутри .contentbox */
.contentbox img {
	max-width: 100%;
	height: auto;
}
.contentbox .welcome-title {
	text-align: center;
}
