/*
Theme Name: Lausanne
Theme URI: https://lsvd.ru/
Description: Modern WordPress theme for lsvd.ru - "О Лозанне по-русски". Built from scratch with WordPress 6.x API, PHP 8.1+ compatibility, and pixel-perfect visual match to the original Deep Silent theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
Author: AAG
Author URI: https://lsvd.ru/
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lausanne
Tags: two-columns, fixed-width, right-sidebar, custom-header, custom-menu, translation-ready
*/

/* ==========================================================================
   Reset
   ========================================================================== */

* {
	margin: 0;
	padding: 0;
	outline: none;
}

/* ==========================================================================
   Typography & Colors
   ========================================================================== */

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Helvetica, sans-serif;
	background: #8f3a3e;
	color: #333;
	text-align: center;
	width: 100%;
}

a {
	color: #000;
	text-decoration: underline;
}

a img {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	margin-bottom: 5px;
	padding: 5px;
}

blockquote {
	border-left: 15px solid #cecbbb;
	padding-left: 10px;
	color: #726835;
	font-style: italic;
}

h3 {
	font-size: 14px;
}

/* ==========================================================================
   Layout Structure
   ========================================================================== */

#bg-light {
	text-align: center;
	width: 100%;
	padding-top: 30px;
}

#page-top {
	background-image: url(images/bg_page_top.png);
	background-repeat: no-repeat;
	height: 5px;
	width: 1020px;
	margin-left: auto;
	margin-right: auto;
}

#content,
#header {
	background-image: url(images/bg_page.png);
	background-repeat: repeat-y;
	width: 1020px;
	margin-left: auto;
	margin-right: auto;
}

.content-inside {
	background-image: url(images/bg_page_inside.png);
	background-repeat: repeat-y;
	display: flex;
	flex-wrap: nowrap;
}

.site-main {
	flex: 1;
	min-width: 0;
	vertical-align: top;
	text-align: left;
}

.site-sidebar {
	flex: 0 0 178px;
	vertical-align: top;
	text-align: left;
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */

#navmenu-bg {
	background-image: url(images/bg_page.png);
	background-repeat: repeat-y;
	width: 1020px;
	height: 35px;
	margin-left: auto;
	margin-right: auto;
}

.nav-container {
	padding-left: 36px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

#navmenu {
	height: 35px;
	font-size: 10px;
	float: left;
	padding-left: 10px;
}

#navmenu ul {
	list-style: none;
}

#navmenu ul li {
	float: left;
}

#navmenu ul li a {
	padding-left: 11px;
	padding-right: 11px;
	padding-top: 7px;
	padding-bottom: 7px;
	text-transform: uppercase;
	font-weight: bold;
	color: #000;
	display: block;
}

#navmenu ul li a:hover {
	background-color: #820000;
	color: #fff;
}

/* Drop Down */
#navmenu li {
	float: left;
	display: block;
	position: relative;
}

#navmenu ul ul {
	display: none;
	position: absolute;
	top: 26px;
	left: 0;
	width: 160px;
	background: #f4f3ee;
	border: 0 solid #ccc;
	border-width: 0 1px 1px 1px;
}

#navmenu ul ul ul {
	left: 100%;
	top: -1px;
}

#navmenu ul li li {
	float: none;
	border-width: 1px 1px 0 1px;
	text-align: left;
}

#navmenu a {
	font-size: 10px;
}

#navmenu li {
	font-size: 0;
}

#navmenu ul li:hover ul ul,
#navmenu ul li:hover ul li:hover ul ul {
	display: none;
}

#navmenu ul li:hover ul,
#navmenu ul li:hover ul li:hover ul,
#navmenu ul li:hover ul li:hover ul li:hover ul {
	display: block;
}

/* ==========================================================================
   Header Search
   ========================================================================== */

.header-search {
	float: right;
	padding-right: 50px;
	width: 250px;
}

#searchform {
	float: left;
	width: 250px;
}

#searchsubmit {
	background: none;
	background-image: url(images/search.png);
	background-repeat: no-repeat;
	width: 77px;
	height: 28px;
	border: none;
	color: #fff;
	font-size: 11px;
	text-transform: lowercase;
	font-weight: bold;
	line-height: 20px;
	padding-bottom: 2px;
	letter-spacing: 1px;
	margin: 0;
	float: right;
}

#s {
	height: 15px;
	margin: 4px 0 0 0;
	float: left;
	width: 160px;
}

/* ==========================================================================
   Header / Logo
   ========================================================================== */

#header {
	clear: both;
	height: 295px;
}

#headerimg {
	width: 746px;
	height: 221px;
	margin-left: auto;
	margin-right: auto;
	border: 3px solid black;
}

.sitename {
	text-align: center;
	padding: 5px 0;
}

.sitename h1 {
	font-size: 22px;
	color: #990300;
	letter-spacing: 1px;
}

/* ==========================================================================
   Posts
   ========================================================================== */

.post {
	font-size: 11px;
	color: #44402e;
	padding-left: 10px;
	padding-right: 20px;
	text-align: left;
	margin-bottom: 10px;
	width: 830px;
	box-sizing: border-box;
}

.post h3 {
	color: #44402e;
}

.post small {
	font-size: 11px;
}

.post small a:hover,
.postmetadata a:hover {
	text-decoration: underline;
}

.pagetitle {
	text-align: left;
	color: #990300;
	font-size: 16px;
	margin-left: 30px;
	text-decoration: none;
	padding-top: 20px;
	border-bottom: 1px solid #767155;
	margin-bottom: 10px;
	margin-right: 17px;
}

.post h2,
.post h3 {
	width: auto;
	margin-left: -10px;
	margin-right: -20px;
	box-sizing: border-box;
	text-align: left;
	color: #990300;
	font-size: 14px;
	background-image: url(images/bg_post_title.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	padding-bottom: 8px;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 15px;
	margin-bottom: 5px;
}

.post > small {
	display: block;
	padding-left: 20px;
	font-size: 11px;
}

.post h2 a {
	color: #990300;
	font-size: 26px;
	padding-right: 50px;
}

.search-content {
	padding-left: 30px;
}

/* ==========================================================================
   Entry Content
   ========================================================================== */

.entry {
	padding: 10px 10px 10px 20px;
	font-size: 12px;
	color: #47401a;
}

.entry img {
	max-width: 100%;
	height: auto;
	box-sizing: border-box;
}

.entry .entry {
	padding: 0;
}

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	background: none;
	line-height: normal;
	padding: 0;
	margin: 0;
	color: #322b06;
}

.entry pre {
	overflow: auto;
}

.entry table {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	margin-bottom: 5px;
	padding: 5px;
}

.entry table tr td,
.entry table tr th {
	padding: 5px;
}

.entry table tr th {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
}

.entry table .even {
	background-color: #ebe9e4;
}

.entry p {
	margin: 0 0 10px 0;
}

.entry a {
	color: #000;
}

.bbn {
	border-bottom: none;
}

.entry a:hover {
	color: #990300;
}

.entry ul,
.entry ol {
	margin-left: 40px;
}

/* ==========================================================================
   Post Metadata
   ========================================================================== */

.postmetadata {
	width: auto;
	margin-left: -10px;
	margin-right: -20px;
	background-color: #dedbcb;
	padding-top: 5px;
	padding-bottom: 10px;
	background-image: url(images/bg_post_title.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}

.postmetadata p {
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 20px;
	border-bottom: 1px solid #bebaa4;
	border-top: 1px solid #f0eee4;
}

.nocomments,
.site-main p a.post-edit-link {
	padding: 10px 40px;
}

.site-main .postmetadata p a.post-edit-link {
	padding: 0;
}

/* ==========================================================================
   Navigation (Older/Newer)
   ========================================================================== */

.navigation {
	background-image: url(images/bg_back_next.gif);
	background-position: bottom;
	width: 830px;
	height: 62px;
	margin-left: 0;
	margin-bottom: 5px;
}

.alignleft {
	float: left;
	width: 150px;
}

.alignright {
	float: right;
	width: 200px;
}

.alignleft .backnext {
	float: left;
}

.alignright .backnext {
	float: right;
}

.alignleft .backnext,
.alignright .backnext {
	font-size: 12px;
	color: #57533d;
	padding: 20px 10px 0 10px;
	cursor: pointer;
	display: block;
}

.alignleft a:hover .backnext,
.alignright a:hover .backnext {
	color: #a10000;
}

.back,
.next {
	background-image: url(images/back_next.png);
	cursor: pointer;
	display: block;
}

.back {
	height: 62px;
	width: 41px;
	float: left;
}

a .back {
	background-position: 0 0;
}

a:hover .back {
	background-position: 0 62px;
}

.next {
	height: 62px;
	width: 41px;
	float: right;
}

a .next {
	background-position: 41px 0;
}

a:hover .next {
	background-position: 41px 62px;
}

/* Single Post Navigation */
.navigation-single {
	background-color: #a5a18e;
	padding-left: 30px;
	padding-right: 20px;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 10px;
	margin-left: 30px;
	margin-right: 20px;
	border: 1px solid;
	border-color: #fff #6f6534 #6f6534 #fff;
}

.alignleft-single a,
.alignright-single a,
.alignleft-single,
.alignright-single {
	color: #fff;
}

.alignleft-single {
	border-bottom: 1px solid #7c775e;
	padding-bottom: 5px;
}

.alignright-single {
	border-top: 1px solid #cdcabb;
	padding-top: 5px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

#sidebar {
	width: 168px;
	text-align: left;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 10px;
	padding-top: 50px;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

#sidebar h2 {
	color: #990300;
	font-size: 16px;
	text-decoration: none;
	letter-spacing: 1px;
	border-bottom: 1px solid #767155;
	padding-bottom: 3px;
	margin-bottom: 0;
}

.widgettitle {
	border-bottom: 1px solid #767155;
}

#sidebar ul {
	background-image: none;
	list-style: none;
}

#sidebar ul li ul li ul {
	background-image: none;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	border: none;
}

#sidebar ul li ul {
	background-image: url(images/bg_li_bottom.gif);
	background-repeat: repeat-x;
	background-position: bottom left;
	padding-bottom: 10px;
	margin-bottom: 20px;
	padding-top: 5px;
	border-top: none;
}

#calendar_wrap {
	background-image: url(images/bg_li_bottom.gif);
	background-repeat: repeat-x;
	background-position: bottom left;
	padding-bottom: 10px;
	margin-bottom: 20px;
	padding-top: 5px;
	border-top: 1px solid #767155;
}

#sidebar ul li ul li a {
	color: #000;
	display: block;
	padding: 0 5px 0 15px;
	font-size: 12px;
	line-height: 23px;
}

#sidebar ul li ul li a:hover {
	background-color: #870000;
	color: #fff;
}

#sidebar ul li ul li {
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
	background-image: url(images/bg_footer.png);
	background-repeat: no-repeat;
	height: 105px;
	width: 1020px;
	margin-left: auto;
	margin-right: auto;
	font-size: 10px;
}

#footernavmenu {
	height: 35px;
	margin-left: auto;
	margin-right: auto;
	width: 920px;
}

#footernavmenu ul {
	list-style: none;
	padding-left: 20px;
	padding-top: 17px;
}

#footernavmenu ul li {
	float: left;
}

.strip {
	background-color: #cecbbb;
	float: right;
	height: 22px;
	width: 580px;
	margin-top: 7px;
	margin-right: 18px;
}

#footernavmenu ul li a {
	padding: 0 10px;
	color: #6d6643;
	text-transform: lowercase;
	border-right: 1px solid #6d6643;
}

#footernavmenu ul li a:hover {
	color: #a50000;
}

.copyright {
	margin-left: auto;
	margin-right: auto;
	width: 920px;
	text-align: left;
}

.copyright a img {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
}

.copyright p {
	padding-left: 30px;
	padding-top: 4px;
	clear: both;
	float: left;
}

/* ==========================================================================
   Comments
   ========================================================================== */

#respond,
#commentform {
	padding-left: 20px;
	margin-top: 10px;
	clear: both;
}

#author,
#email,
#url,
#comment {
	width: 385px;
	background-color: #ebe9e0;
	border: 1px solid;
	border-color: #a29c7d #fff #fff #a29c7d;
	line-height: 20px;
	padding: 2px 0 2px 5px;
	margin-bottom: 5px;
}

#author,
#email,
#url {
	height: 16px;
}

#comment {
	height: 180px;
}

#submit {
	background: none;
	background-image: url(images/submit.png);
	width: 137px;
	height: 30px;
	border: none;
	color: #fff;
	font-size: 11px;
	text-transform: lowercase;
	font-weight: bold;
	line-height: 30px;
	padding-bottom: 2px;
	letter-spacing: 1px;
}

select,
input,
textarea {
	padding: 2px;
	background-color: #ebe9e0;
	border-color: #a29c7d #fff #fff #a29c7d;
	border-style: solid;
	border-width: 1px;
}

input.button {
	padding: 2px 4px;
	border-color: #fff #a29c7d #a29c7d #fff;
	border-style: solid;
	border-width: 1px;
}

select optgroup {
	color: #322b06;
	font-style: normal;
	text-transform: uppercase;
	font-size: 11px;
}

select option {
	padding-left: 10px;
	color: #47401a;
	text-transform: none;
	font-size: 12px;
}

.comments-label {
	width: 150px;
	float: left;
	text-align: right;
	padding-right: 20px;
	border: 1px solid;
	border-color: #fff #a29c7d #a29c7d #fff;
	margin-right: 5px;
}

.comments {
	height: 180px;
}

.comments-label small {
	line-height: 21px;
	font-size: 11px;
	color: #645d35;
	font-weight: bold;
}

#comments {
	padding-left: 30px;
	padding-top: 10px;
	padding-bottom: 5px;
	color: #990300;
}

.commentlist {
	margin-left: 70px;
	margin-right: 30px;
	font-size: 12px;
	color: #5d5842;
}

.commentlist a {
	color: #322d19;
}

.commentlist p {
	margin-bottom: 10px;
}

.commentlist li {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	margin-bottom: 5px;
	padding: 5px;
	list-style: none;
}

.comment-author,
.comment-text {
	background-color: #ebeae4;
	border-top: 1px #a29c7d solid;
	border-right: 1px #fff solid;
	border-bottom: 1px #fff solid;
	border-left: 1px #a29c7d solid;
	padding: 5px;
}

.comment-author {
	padding: 5px 5px 7px 5px;
}

.comment-page-numbers {
	padding: 5px 10px;
	margin: 0 20px 5px 30px;
	border-color: #fff #a29c7d #a29c7d #fff;
	border-style: solid;
	border-width: 1px;
	color: #645d35;
	font-size: 11px;
	font-weight: bold;
	line-height: 21px;
}

.comment-page-numbers a {
	padding: 3px 8px;
	background-color: #fafaf7;
	border-color: #fff #a29c7d #a29c7d #fff;
	border-style: solid;
	border-width: 1px;
	color: #645d35;
}

.current-comment-page,
.comment-page-numbers a:hover {
	padding: 3px 8px;
	background-color: #ebeae4;
	border-color: #a29c7d #fff #fff #a29c7d;
	border-style: solid;
	border-width: 1px;
}

.clear {
	clear: both;
	font-size: 1px;
}

.left-avat {
	width: 58px;
	height: 58px;
	float: left;
}

.avatar {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	padding: 5px;
}

.comment-author a {
	font-weight: bold;
	font-size: 14px;
	color: #6e684a;
}

.comment-author a:hover {
	color: #423e28;
}

.comment-author .fn {
	display: block;
	float: left;
	line-height: 20px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-top: 18px;
	width: 420px;
}

.comment-data {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	clear: both;
}

/* ==========================================================================
   Calendar Widget
   ========================================================================== */

#wp-calendar {
	width: 250px;
	height: 150px;
}

#wp-calendar caption {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	font-weight: bold;
	line-height: 20px;
	font-size: 12px;
}

#wp-calendar tr td {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	text-align: center;
	padding: 1px;
}

#wp-calendar tr td a {
	background-color: #dedbcb;
	display: block;
	height: 100%;
	width: 100%;
}

#wp-calendar thead tr th {
	background-color: #f8f7f3;
	border-top: 1px #fff solid;
	border-right: 1px #a29c7d solid;
	border-bottom: 1px #a29c7d solid;
	border-left: 1px #fff solid;
	text-align: center;
	font-weight: bold;
	color: #990300;
	padding: 1px;
}

/* ==========================================================================
   WordPress Alignment & Captions
   ========================================================================== */

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd,
.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* ==========================================================================
   Disqus (if used)
   ========================================================================== */

#disqus_thread {
	margin-right: 20px;
	margin-left: 20px;
}

/* ==========================================================================
   Screen Reader Text (Accessibility)
   ========================================================================== */

.comment-form-field {
	margin-bottom: 5px;
	overflow: hidden;
}

/* ==========================================================================
   Screen Reader Text (Accessibility)
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
