/*
Theme Name: PentHouse Green
Theme URI: https://leonid-svetlana.ru/
Author: Port from DLE PentHouseGreen
Description: Точная копия шаблона PentHouseGreen (DLE) для WordPress. Строительный портал.
Version: 1.2.2
Text Domain: penthouse
*/

/* ==========================================================================
   Исправления поверх оригинального style.css
   ========================================================================== */

/* Фон body */
body {
	background: #f5f5f5 url(images/mainbg.jpg) !important;
	background-color: #f5f5f5 !important;
	background-repeat: repeat !important;
	font-family: Arial, Tahoma, sans-serif !important;
	font-size: 12px !important;
	color: #505050 !important;
	margin: 0 !important;
	padding: 0 !important;
	/* критично: body.date / body.archive НЕ должны получать float */
	float: none !important;
	width: auto !important;
}

#container {
	width: 1000px !important;
	margin: 0 auto !important;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	background: #fff;
	float: none !important;
}

/* --- .date только внутри full-info, НЕ на body.date --- */
body.date,
body.archive,
body.category,
body.tag,
body.search,
body.blog,
body.home,
body.single,
body.page {
	float: none !important;
	width: auto !important;
	display: block !important;
}

div.date,
.full-info .date {
	float: left;
	margin: 0 10px 0 0;
	font-size: 11px;
}

/* --- Кнопка Поиск картинкой (sprite) --- */
.searchblock {
	width: 400px;
	height: 32px;
	margin: 15px 20px;
	float: left;
}
.searchblock ul {
	height: 30px;
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
}
.searchblock li {
	float: left;
	position: relative;
	border: 0;
	display: block;
	height: 30px;
	list-style: none;
	padding-left: 5px;
}
.searchform {
	color: #909090;
	width: 300px;
	height: 18px;
	line-height: 18px;
	padding: 5px;
	border: 1px solid #ccc;
	border-right: 0;
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
	border-radius: 3px 0 0 3px;
	font-size: 13px;
	background: transparent;
	overflow: hidden;
}
.searchbt {
	width: 60px;
	height: 30px;
}
.searchbt input,
.searchbt input[type="image"] {
	width: 60px !important;
	height: 30px !important;
	padding: 0 !important;
	margin: 0 0 0 -1px !important;
	border: 0 !important;
	border-radius: 0 3px 3px 0 !important;
	background: url(images/sprite_icons.png) 0 0 no-repeat !important;
	cursor: pointer;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	vertical-align: top;
}

/* --- Иконка печати --- */
a.print,
span.print,
.print {
	background: url(images/print.png) no-repeat left center !important;
	padding-left: 22px !important;
	margin: 0 10px 0 0 !important;
	float: left !important;
	display: inline-block !important;
	height: 16px !important;
	line-height: 16px !important;
	width: auto !important;
	min-width: 16px;
	font-size: 11px;
	color: #505050;
	text-decoration: underline;
}
a.print:hover {
	color: #6da600;
	text-decoration: none;
}

/* --- Миниатюры shortstory --- */
.shortstory img.alignleft,
.shortstory .alignleft,
.shortstory img[align="left"] {
	float: left !important;
	margin: 0 15px 10px 0 !important;
	max-width: 200px !important;
	height: auto !important;
}

.shortstory a.more-link {
	color: #6da600;
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
	white-space: nowrap;
}
.shortstory a.more-link:hover {
	color: #303030;
	text-decoration: none;
}

/* --- Архивы WP без маркеров, как latest-posts --- */
ul.wp-block-archives-list,
ul.wp-block-archives,
.wp-block-archives-list,
.wp-block-archives {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
}
ul.wp-block-archives-list li,
ul.wp-block-archives li,
.wp-block-archives-list li,
.wp-block-archives li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 4px 0;
	padding: 0;
	background: none;
}

/* latest-posts — тот же отступ (эталон) */
ul.wp-block-latest-posts__list,
ul.wp-block-latest-posts,
.wp-block-latest-posts__list,
.wp-block-latest-posts {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
ul.wp-block-latest-posts__list li,
ul.wp-block-latest-posts li {
	list-style: none !important;
	margin: 0 0 4px 0;
	padding: 0;
}

/* Категории в сайдбаре тоже без маркеров */
ul.wp-block-categories-list,
ul.wp-block-categories {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
ul.wp-block-categories-list li,
ul.wp-block-categories li {
	list-style: none !important;
	margin: 0 0 4px 0;
	padding: 0;
}

/* --- Gutenberg / wp-block-group --- */
.wp-block-group,
.wp-block-group__inner-container {
	margin: 0 0 15px 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	font-family: Arial, Tahoma, sans-serif;
	font-size: 12px;
	color: #505050;
	line-height: 1.5;
}

.wp-block-group h1,
.wp-block-group h2,
.wp-block-group h3,
.wp-block-group h4,
.fstory h1, .fstory h2, .fstory h3, .fstory h4 {
	font-family: Arial, Tahoma, sans-serif;
	font-weight: normal;
	color: #303030;
	margin: 10px 0 8px;
}

.wp-block-group a,
.fstory a {
	color: #505050;
	text-decoration: underline;
}
.wp-block-group a:hover,
.fstory a:hover {
	color: #6da600;
	text-decoration: none;
}

.wp-block-group ul,
.fstory ul,
.full-story ul {
	list-style: disc outside;
	margin: 8px 0 12px 20px;
	padding: 0;
}
.wp-block-group ol,
.fstory ol,
.full-story ol {
	list-style: decimal outside;
	margin: 8px 0 12px 20px;
	padding: 0;
}

.wp-block-button .wp-block-button__link,
.wp-element-button {
	background: #6da600 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 16px !important;
	padding: 6px 18px !important;
	font-family: Arial, Tahoma, sans-serif !important;
	font-size: 13px !important;
	font-weight: bold !important;
	text-decoration: none !important;
	text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
	cursor: pointer;
	display: inline-block;
}

.wp-block-quote,
.fstory blockquote {
	border-left: 3px solid #6da600;
	margin: 10px 0;
	padding: 5px 15px;
	color: #606060;
	font-style: italic;
}

.wp-block-separator {
	border-color: #eee;
	border-width: 2px 0 0;
}

/* socialb */
.socialb a {
	background: none !important;
	width: auto !important;
	height: auto !important;
	display: inline !important;
	text-indent: 0 !important;
	font-size: 12px;
	color: #505050;
	text-decoration: underline;
}
.socialb a:hover {
	color: #6da600;
}

.speedbar {
	margin: 0 0 15px 20px;
	font-size: 11px;
	color: #808080;
}
.speedbar a {
	color: #505050;
	text-decoration: underline;
}
.speedbar a:hover {
	color: #6da600;
	text-decoration: none;
}

.loginbox {
	display: none !important;
}

.header-right {
	float: right;
	padding-top: 5px;
}

.block_links_icnt {
	list-style-type: none;
}

