/*
Theme Name: On Principles
Theme URL: http://www.honolulublogtemplates.net
Description: On Principles theme.
Version: 1.0
Author: Honolulublogtemplates
Author URI: http://www.honolulublogtemplates.net/
Tags: brown, fixed width, two columns, left sidebar, threaded comments, widget ready, pagenavi, social bookmarking, valid xhtml, valid css
*/

/* Global */
body {
	color: #000;
	background: #5f5b59 url(images/bg.jpg);
	font-family: Verdana, Geneva, sans-serif;
}
a, .post a {
	text-decoration: none;
	color: #000;
}
a:hover, .post a:hover {
	color: #900;
	text-decoration: none;
}
#blog_title ,.post-title ,h1 ,h2 ,h3 ,h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
blockquote, code {
	color: #333;
	font-family: Verdana, Geneva, sans-serif;
	border: 1px dashed #999;	
}
blockquote {
	background: #F8F4AB;
}
code {
	background: #F5D582;
}

/* Layout */
#wrapper {
	min-width: 998px; /* not working in IE6 */
	overflow: hidden;
	background: url(images/container_bg.jpg) center top repeat-y;
}
#bottom_frame {
	padding: 0 0 5px 0;
	background: url(images/bottom_frame.jpg) no-repeat center bottom;
}
#top_frame {
	background: url(images/top_frame.jpg) no-repeat center top;
}
#top_container {
	margin: 0 auto;
	background: url(images/top_container.jpg) no-repeat center 197px;
}
#header , #container , #footer {
	width: 998px;
}
#header {
	height: 200px;
	margin-top: -155px;
}
#container {
	min-height: 200px;
	padding: 0px 0 100px 0;
}
#footer {
	clear: both;
	height: 96px;
	position: relative;
}
/* Footer */
.credit {
	font-size: 1.1em;
	text-align: center;
	padding: 0px 164px 0px 373px;
}
.credit, .credit a, .credit a:hover {
	color: #fff;
}
/* Header */
#header #blog_title {
	font-size: 36px; /* Blog title */
	padding: 20px 187px 0 380px;
	text-align: left;
	color: #fff;
	text-shadow: 2px 2px 1px #000;
}
#header #blog_title a {
	color: #fff;
}
#header h2 {
	color: #fff;
	font-size: 1.4em; /* Blog Description */
	text-align: left;
	padding: 0px 187px 0 380px;
}
/* menu */
#menu {
	width: 414px;
	height: 26px;
	position: absolute;
	left: 387px;
	top: 156px;
	overflow: hidden;
}
#menu ul li {
	padding: 0 12px;
	font-size: 1.4em; /* menu Font Size */
	font-weight: bold;
	text-align: center;
	float: left;
}
#menu ul li a {
	padding: 0px 0 0px 0px;
	line-height: 2;
	color: #632d10;
}
#menu ul li a:hover {
	color:#999900;
}
#menu ul ul li {
	font-size: 1em;
}

/* searchform */
#searchform {
	overflow: hidden;
	position: absolute;
	right: 0px;
	top: 36px;
}
.searchtext {
	width: 176px;
	color: #fff;
	border: 0;
	font-size: 1.2em;
	background: url(images/spacer.gif);
	padding: 0;
	margin: 11px 4px 0 0;
	float: left;
}
#searchsubmit {
	border: 0;
	margin: 0 0 0px 0;
	width: 34px;
	height: 34px;
	float: left;
}
#rss {
	position: absolute;
	right:0px;
	top:32px;
}
#rss img {
	width: 68px;
	height: 57px;
}

/* Content */
#content {
	width: 522px;
	padding: 0px 0px 0 0px;
	display: inline;
	margin: 0px 103px 0px 0px;
	float: right;
}
#content h2{
	font-size: 22px;
}
#content h3{
	font-size: 16px;
}
.post {
	padding: 0px 0 0px 0;
	margin: 0px 0 30px 0px;
	position: relative;
}
.post .post-title {
	margin: 0px 5px 0 0px;
	padding: 10px 10px 15px 50px;
	font-size: 1.4em; /* Post title */
	background: url(images/post_icon.png) no-repeat;
	background-size: contain;
}
.post .post-title a {
	color: #4b1406;
}
.post .post-title a:hover {
	color: #900;
}
.post_path {
	font-size: 1.1em;
	margin: 0 0 0 22px;
	padding: 7px 7px 12px 15px;
	background: url(images/arrow.gif) left 10px no-repeat;
}
.post_path span {
	color: #706ED6;	
}
.post_path a:hover {
	text-decoration: underline;
}
.edit_post {
	width: 83%;
	margin: 0 auto;
	margin-top: 10px;
	padding: 5px 10px;
	background: #ffc;
	border: 1px dashed #999;
}
.edit_post a {
	font-style: italic;
	color: #33C;
}
.edit_post a.post-edit-link {
	margin-right: 15px;
	font-style: normal;
	color: #E5631C;
	text-decoration: underline;
}
.edit_post a:hover.post-edit-link {
	color: #33c;
}
.entry {
	width: 480px;
	overflow: hidden;
	margin: 0 auto;
	padding: 10px 2px;
	font-size: 1.2em;
}
.entry a {
	color: #1f85da;
	text-decoration: underline;
}
.postmetadata {
	padding: 2px 22px 0 22px;
	text-align: right;
	font-size: 1.1em;
}
.postmetadata a {
	text-decoration: underline;
}
.tags, .tags a, .postmetadata, .postmetadata a {
	color: #c86b47;
}
.tags {
	font-size: 1.2em;
	margin: 10px 30px 0 22px;
}
.tags a {
	text-decoration: underline;
}
.notfound {
	margin: 100px auto;
	text-align:center;
	font-size: 4em;
	font-weight: bold;
	color: #7e2d17;
}
.read_comments {
	margin: 0px 18px 0 0px;
	text-align: right;
	font-weight: bold;
	padding: 10px 10px 10px 22px;
}
.read_comments a {
	font-size: 1.2em;
	color: #6332bc;
	padding: 10px 0px 10px 30px;
	background:url(images/read_bg.jpg) no-repeat left;
}
.read_comments a:hover {
	color: #000;	
}
.bookmark {
	margin: 18px 0 0 22px;
}
.wp-pagenavi {
	padding: 5px 36px 5px 22px;
	line-height:20px;
}

/* welcome */
#welcome {
	font-weight: bold;
	padding: 135px 0 55px 0;
	font-size: 20px;
	text-align: left;
	color: #ad8d64;
	text-shadow: 1px 1px 1px #373938
}
#welcome p {
	width: 201px;
	height: 122px;
	padding: 0px 0 0px 28px;
	overflow: hidden;
}

/* Sidebar */
#sidebar {
	width: 239px;
	display: inline;
	padding: 0px 0px 30px 0px;
	margin: 0px 0px 0 84px;
	overflow: hidden;
	float: left;
	position: relative;
	color: #ccc;
}
#sidebar_main {
	padding: 0px 0 0px 0;
	margin: 0px 0 0 0;
}
#sidebar_main h2 {
	padding: 36px 20px 8px 48px;
	font-size: 18px;
	color: #494109;
	position: relative;
	background: url(images/sidebar_header_bg.gif) no-repeat left top;
	margin-left:10px; 
}
#sidebar_main ul li {
	overflow: hidden;
	font-size: 1.2em;
	padding: 3px 0px 3px 0px;
}
#sidebar_main ul li a {
	color: #fff;
}
#sidebar_main ul li a:hover {
	color: #fc0;
}
#sidebar_main ul ul {
	/*padding: 0 0 0 40px;*/
	background: none;
}
#sidebar_main ul ul li {
	font-size: 1em;
	border: none;
	padding: 6px 0 6px 15px;
	background: url(images/sidebar_li.jpg) no-repeat left 10px;
	position: relative;
	/*width:130px;*/
}
#sidebar_main ul ul ul {
	padding: 0;
	margin: 0;
}
#sidebar_main ul ul li li {
	font-size: 1em;
	padding: 6px 0 0px 20px;
	width: 80%;
}
#sidebar_main .textwidget {
	margin: 7px 0;
	width:160px;
	overflow:hidden;
	position:relative;
}
#sidebar select {
	font-size: 1em;
	margin: 7px 0 7px 30px;
	width: 75%;
}
#sidebar ul li div ,#sidebar_ul li object {
	padding: 0 25px;
}
#sidebar ul li div div {
	padding: 0;
}

/* PageNavi*/

.wp-pagenavi a {
	padding: 2px 4px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #06c;
	color: #06c;
	background-color: #fff;
}
.wp-pagenavi a:hover {
	border: 1px solid #000;
	color: #000;
}
.wp-pagenavi span.pages, .wp-pagenavi span.current, .wp-pagenavi span.extend {
	padding: 2px 4px;
	margin: 2px;
	border: 1px solid #000;
	color: #000;
	background-color: #fff;
}

/* Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 90%;
}
#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	font-size: 11px;
}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	font-size: 11px;
}
#wp-calendar a {
	display: block;
	font-weight: bold;
	text-decoration: none;
}
#wp-calendar a:hover {
	background: #ccc;
	color: #fff;
}
#wp-calendar caption {
	text-align: center;
	width: 100%;
	font: bold 13px Verdana, Arial, Sans-Serif;
}
#wp-calendar td {
	text-align: center;
	padding: 3px 0;
	font-size: 12px;
	text-align: center;
}
#wp-calendar th {
	text-align: center;
	font-style: normal;
	font-size: 12px;
	text-transform: capitalize;
}
/* Social Bookmarking */
.bookmark ul {
	display: inline;
}
.bookmark ul li {
	background: none;
	display: inline;
	list-style-type: none;
}
.bookmark_line img {
	border: 0;
}

/* Comments */
h3#comments {
	padding: 0 0 0 46px;
}
h3#comments, #respond h3 {
	padding-top: 10px;
	font-size: 1.4em;
	color: #333;
}
#commentform {
	margin: 5px 0 0 0px;
}
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
#commentform textarea {
	width: 98%;
	padding: 2px;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
#commentform p {
	margin: 5px 0;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
}
#respond {
	width: 85%;
	padding: 0 0 0 10px;
	color: #333;
	margin: 0 auto;
}
#respond:after {
	content: "."; 
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.commentlist {
	padding: 0 0 0 0px;
	margin: 0 auto;
	width: 85%;
}
.commentlist li {
	margin: 15px 0 0px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	font-weight: bold;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
	font-size: 1em;
}
.commentlist p {
	margin: 10px 5px 10px 0;
	font-weight: normal;
	line-height: 1.5em;
	font-size: 1.2em;
	text-transform: none;
}
.commentlist li .avatar { 
	float: right;
	border: 1px solid #333;
	padding: 2px;
	background: #fff;
}
.commentlist li a {
	color: #000;
}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.2em;
}
#content .comment-body p a {
	text-decoration: underline;
}
.nocomments {
	text-align: center;
}
.commentmetadata {
	font-size: 1.2em;
	display: block;
	font-weight: normal;
}
.thread-alt {
	background-color: #dcbea4;
}

.thread-even {
	background-color: #e3cbb3;
}
.depth-1 {
	border: 1px solid #000;
}
.alt { 
	border-left: 1px solid #666; /* odd page */
	background-color: #C29581; 
	padding: 10px;
}
.even {
	border-left: 1px solid #666; /* even page */
	background-color: #D0AD9E;
}
.edit_post { color: #666; }
.sidebar_c {width: 91%; margin: 0 auto; color: #fff; }
.sidebar_c a {color: #fff; }


.accordion {
	max-width: 700px;
	margin: 20px auto;
	border-radius: 6px;
	font-family: sans-serif;
}

.accordion-item {
	border-bottom: 1px solid #ddd;
}

.accordion-header {
	width: 100%;
	background: #f3f3f3;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 15px 50px 15px 38px;
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	position: relative;
	transition: background 0.3s;
}

/* стрелка (закрыто) ↓ */
.accordion-header::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSIwLDAgNiw4IDEyLDAiIHN0eWxlPSJmaWxsOiM2NjY7Ii8+PC9zdmc+");	background-size: contain;
	background-repeat: no-repeat;
}

/* стрелка (открыто) ↑ */
.accordion-header.active::after {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSIwLDggNiwgMCAxMiA4IiBzdHlsZT0iZmlsbDojNjY2OyIvPjwvc3ZnPg==");}
.accordion-header:hover {
	background: #e5e5e5;
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	padding: 0 15px;
	background: white;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.accordion-content p {
	margin: 15px 0;
}

#sidebar_main ul li a {
	font-size: 15px;
}

a:hover, .post a:hover {
	color: #b58c29;
}


.menu-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	padding: 10px 0;
}

a.menu-card {
	background: #ffffff;
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	text-decoration: none;
	color: #222;
	font-family: system-ui, sans-serif;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transition: 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.menu-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.menu-card .icon {
	font-size: 38px;
	margin-bottom: 10px;
}

.menu-card .title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

/* Адаптивность */
@media (max-width: 900px) {
	.menu-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.menu-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}




.b_gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	max-width: 1100px;
	margin: 0 auto;
}

.b_gallery__tile {
	background: #fff;
	border-radius: 10px;
	padding: 10px;
	text-decoration: none;
	color: #000;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	transition: 0.2s;
}

.b_gallery__tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.b_gallery__tile img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
}

.b_gallery__title {
	margin-top: 8px;
	font-size: 10px;
	text-align: center;
}




#toTop {
	position: fixed;
	bottom: 13px;
	right: 18px;
	padding: 12px 16px;
	font-size: 18px;
	border-radius: 8px;
	cursor: pointer;
	background: #000;
	color: #fff;
	display: none;
	z-index: 999;
	width: 40px;
	text-align: center;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid;
}
#toTop:hover {
	background: #888;
}

.boxed{
	background: #b696691f;
	border-radius: 6px;
	margin-bottom: 40px;
	padding: 10px 20px 20px 20px;
}
.boxed h1{
	color: #000;
	font-size: 27px;
}



.score_oge__container {
	max-width: 1200px;
	margin: 0 auto;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	padding: 30px;
}

.score_oge__title {
	font-size: 20px;
	margin-top: 0;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 15px;
}

.score_oge__section-title {
	background-color: #1a5fb4;
	color: white;
	padding: 12px 20px;
	border-radius: 6px;
	margin-top: 30px;
	margin-bottom: 20px;
}

.score_oge__table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.score_oge__table th {
	background-color: #e8f0fe;
	color: #1a5fb4;
	font-weight: 600;
	text-align: left;
	padding: 15px;
	border-bottom: 2px solid #d0d0d0;
}

.score_oge__table td {
	padding: 12px 15px;
	border-bottom: 1px solid #eaeaea;
}

.score_oge__table tr:hover {
	background-color: #f8fafd;
}

.score_oge__highlight {
	background-color: #f0f7ff;
	font-weight: 600;
}

.score_oge__summary {
	background-color: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	border-left: 5px solid #1a5fb4;
	margin: 25px 0;
}

.score_oge__total-score {
	font-size: 1.2em;
	font-weight: bold;
	color: #1a5fb4;
}

.score_oge__grades-info {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 25px 0;
}

.score_oge__grade-box {
	flex: 1;
	min-width: 200px;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.score_oge__grade-z {
	background-color: #ffebee;
	border-top: 5px solid #f44336;
}

.score_oge__grade-a {
	background-color: #fff8e1;
	border-top: 5px solid #ffc107;
}

.score_oge__grade-b {
	background-color: #e8f5e9;
	border-top: 5px solid #4caf50;
}

.score_oge__max-score {
	background-color: #e3f2fd;
	border-top: 5px solid #2196f3;
}

.score_oge__recommendation {
	background-color: #e8f5e9;
	padding: 15px;
	border-radius: 8px;
	margin-top: 20px;
	border-left: 5px solid #4caf50;
}

.score_oge__bold-text {
	font-weight: 600;
}

.score_oge__part-title {
	font-size: 1.1em;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	.score_oge__container {
		padding: 15px;
	}

	.score_oge__table {
		font-size: 0.9em;
	}

	.score_oge__table th,
	.score_oge__table td {
		padding: 8px 10px;
	}

	.score_oge__grade-box {
		min-width: 100%;
	}
}


/* Подсветка выбранной задачи */
.problems__item.is-selected .problems__problem-number {
	background: #d4edda;
	color: #155724;
	font-weight: 600;
	border-radius: 4px;
	padding: 2px 8px;
	transition: all 0.2s ease;
}

.problems__item.is-selected .problems__problem-number:hover {
	background: #c3e6cb;
}

/* Анимация при удалении */
.problems__item:not(.is-selected) .problems__problem-number {
	background: transparent;
	transition: background 0.2s ease;
}

.problems__item:not(.is-selected) .problems__problem-number:hover {
	background: #f8f9fa;
}