/*
Theme Name:zBench
Theme URI:http://zww.me/archives/25131
Description:It is a simply WordPress theme without any plugins needed (support plugin WP-PageNavi, WP Page Numbers, WP-PostViews, wp-utf8-excerpt, Related Posts of Simple Tags, WP-RecentComments), little images, custom-menu, widgets, threaded-comments. For WordPress version 3.0+
Version:1.2.1
Author:zwwooooo
Author URI:http://zww.me/
Tags:custom-menu, threaded-comments, two-columns, fixed-width, right-sidebar, theme-options

License:GNU General Public License, v2 (or newer)
License URI:http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

UPDATE!
*/

/* RESET */
* {
	margin: 0;
	padding: 0;
}
html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input {
	margin: 0;
	padding: 0;
}

/* BASIC */
abbr[title], acronym[title] {
	border-bottom: thin solid;
	cursor: help;
}
html {
	min-height: 100%;
}
body {
	direction: rtl;
	background: #f7f7f7;
	font-size: 12px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	color: #333;
	text-align: right;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}
h1 {
	font-size: 24px;
	line-height: 30px;
}
h2 {
	font-size: 20px;
	line-height: 26px;
}
h3 {
	font-size: 16px;
	line-height: 24px;
}
h4 {
	font-size: 14px;
	line-height: 20px;
}
h5 {
	font-size: 14px;
	line-height: 20px;
}
h6 {
	font-size: 14px;
	line-height: 20px;
}
small {
	font-size: 10px;
	line-height: 16px;
}
dl {
	font-size: 12px;
}
dt {
	width: 120px;
	font-weight: bold;
}
a {
	color: #047;
	text-decoration: none;
	outline: none;
}
a:hover {
	color: #4a630f;
	text-decoration: none;
}
fieldset, img {
	border: none;
}
hr {
	display: none;
}
.clear {
	clear: both;
	margin: 0;
	padding: 0;
}

/* radius */
#search, #sidebar-border, #sidebar, .sticky, #commentform textarea, .page-title, .page-title h1, #header_image, #header_image_border {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
#author, #email, #url, #submit {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
#menus a {
	-moz-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
	-webkit-border-radius: 6px 6px 0 0;
}
#menus ul ul a {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}

/* #nav */
#nav {
	z-index: 5;
	position: relative;
	height: auto;
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto;
	padding-top: 20px;
	clear: both;
	background: #454546;
	overflow: visible;
}
#nav:before, #nav:after {
	content: "";
	display: table;
}
#nav:after {
	clear: both;
}
.mobile-menu-checkbox,
.mobile-menu-button {
	display: none;
}
#menus {
	width: 100%;/* height: 62px; */
	margin: 0 auto;
	font-size: 16px;
	text-shadow: 0 1px 0 #000;
}
#menus a {
	border: 1px solid #555;
	/*border-bottom: none;*/
	color: #abaaaa;
	display: block;
	line-height: 30px;
	background: #333;
	padding: 0 10px;
}
#menus ul {
	list-style: none;
	margin: 0;
	float: right;
	width: 100%;
}
#menus li {
	float: right;
	position: relative;
	/*margin-right: 8px;*/
}

/* Smartphones (portrait and landscape) ----------- */
@media screen and (max-width:520px) {
	#top_image {
		text-align: center !important;
	}
	
	#menus {
		width: 100%;
	}
	
	/* Styles */
	#menus li {
		float: none;
		position: relative;
		/*margin-right: 8px; */
		padding-bottom: 0px;
	}
	
	#menus a {
		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
		border-radius: 0px;		
		line-height: 48px;
	}
	
	#wrapper {
		padding: 0 20px !important;
	}
	
	.sub-menu {
		visibility: hidden;
	}
}

/* #menus a:hover {
	background: #222;
	color: #fff;
} */

#menus li:hover > a {
	background: #222;
	color: #fff;
}
#menus ul li.current_page_item > a, #menus ul li.current-menu-ancestor > a, #menus ul li.current-menu-item > a, #menus ul li.current-menu-parent > a {
	background: #f7f7f7;
	color: #333;
	text-shadow: 0 1px 0 #fff;
}
#menus ul li.current_page_item:hover > a, #menus ul li.current-menu-ancestor:hover > a, #menus ul li.current-menu-item:hover > a, #menus ul li.current-menu-parent:hover > a {
	background: #222;
	color: #fff;
	text-shadow: 0 1px 0 #000;
}
#menus ul li:hover > ul {
	display: block;
}
#menus ul ul a {
	background: #222;
	width: 160px;
	height: auto;
}
#menus ul ul {
	display: none;
	position: absolute;
	top: 31px;
	right: -7px;
	float: left;
	width: 150px;
	z-index: 99999;
}
#menus ul ul li {
	min-width: 150px;
}
#menus ul ul ul {
	left: 100%;
	top: 0;
}
#top_image {
	margin: 0 auto;
	padding-top: 10px; /* padding-left:10px; */
	background: #454546;
	position: relative;
	width: 100%;
	display: block;
	text-align: left;/* overflow: hidden; */
}

/* #search */
#search {
	display: none;
	box-shadow: 2px 2px 5px #777;
	-moz-box-shadow: 2px 2px 5px #777;
	-webkit-box-shadow: 2px 2px 5px #777;
	position: absolute;
	background: #565657;
	right: 50%;
	margin-right: -450px;
	bottom: -14px;
	width: 230px;
	height: 26px;
	overflow: hidden;
	border: 1px solid #999;
}
#search form {
	padding: 0;
}
#search input#s {
	width: 190px;
	height: 14px;
	background: transparent;
	border: none;
	color: #ddd;
	padding: 6px;
	font-size: 12px;
}
#search form input#searchsubmit {
	cursor: pointer;
	position: absolute;
	right: 2px;
	top: 0;
	width: 30px;
	height: 26px;
	padding-left: 30px;
	background: #565657 url('images/search-input-bg.gif') no-repeat right 0;
	border: none;
	border-left: 1px solid #999;
	text-indent: -9999px;
}

/* #wrapper */
#wrapper {
	flex: 1 0 auto;
	box-sizing: border-box;
	margin: 0 auto;
	width: 90%;
	max-width: 1230px;
	float: none;
	padding: 0 50px;
}

/* #header */
#header {
	overflow: hidden;
	z-index: 1;
	position: relative;
	margin: 30px auto;
	display: none;
}
#header h1,
#header .site-title {
	float: left;
	padding: 0 0 0 10px;
	text-shadow: 1px 1px 1px #999;
	font-size: 28px;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#header h1 a,
#header .site-title a {
	color: #222;
	line-height: 30px;
}
#header h2,
#header .site-tagline {
	float: left;
	height: 20px;
	overflow: hidden;
	line-height: 18px;
	padding: 10px 0 0 20px;
	color: #222;
	font-size: 12px;
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
}
#header_image {
	width: 952px;
	height: 182px;
	margin: 30px 0 0;
	padding: 3px;
	border: 1px solid #ccc;
}
#header_image_border {
	overflow: hidden;
	width: 950px;
	height: 180px;
	background: #565657;
	border: 1px solid #fff;
}

/* #content */
#content {
	overflow: hidden;
	float: none;
	box-sizing: border-box;
	width: 100%;
	padding: 0;
	margin: 10px 0 0;
}
.page-title {
	margin: 0 0 20px;
	background: #eee;
	border: 1px solid #ccc;
}
.page-title h1 {
	font-size: 18px;
	height: 30px;
	line-height: 30px;
	padding: 5px 10px;
	border: 1px solid #fff;
}

/* #post */
.post {
	position: relative;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
}
div.post-single {
	margin: 0;
}
div.post-page {
	margin: 0;
	border-bottom: 1px solid #fff;
}
h1.title,
h2.title {
	border-bottom: 1px solid #fff;
	font-size: 19px;
	text-shadow: 1px 1px 3px #aaa;
	margin: 0;
	padding: 2px 10px;
}
h1.title a,
h2.title a {
	color: #345;
}
h1.title a:hover,
h2.title a:hover {
	color: #4a630f;
}
h1.title-single,
h2.title-single {
	color: #345;
}
.entry {
	font-size: 14px;
	overflow: hidden;
	padding: 0 10px;
}
.entry ul, .entry ol {
	margin: 0 30px 18px;
}
.entry li {
	line-height: 18px;
}
.entry hr {
	display: block;
}
.entry p {
	line-height: 18px;
	margin: 0 0 18px 0;
}
.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {
	margin: 0 0 18px 0;
	color: #555;
}
.entry a {
	color: #333;
	text-decoration: underline;
}
.entry a:hover {
	color: #4a630f;
	text-decoration: none;
}
.entry img {
	background: #fff;
	border: 1px solid #ddd;
	padding: 5px;
}
.entry img.wp-smiley {
	background: #fff;
	border: none;
	padding: 0;
}
.entry table {
	background: #fff;
	border: 1px solid #ccc;
	border-width: 2px;
	border-collapse: collapse;
	margin: 5px 0 10px;
}
.entry th, .entry td {
	border: 1px solid #ccc;
	padding: 3px 10px;
	text-align: right;
	vertical-align: top;
}
.entry .entry tr.even td {
	background: #f7f7f7;
}
.entry th {
	background: #edeff0;
}
.entry blockquote {
	color: #555;
	padding: 10px;
	margin: 0 0 20px;
	border: 1px solid #ddd;
	background: #eee;
}
.entry code {
	background: #333;
	color: #ddd;
}
.entry pre {
	overflow: auto;
	width: 95%;
	line-height: 16px;
	margin: 0 0 20px;
	padding: 0 5px 16px;
	color: #555;
	font-family: "Courier New", FixedSys;
	font-size: 12px;
	background: #fafafa;
	border: 1px solid #ccc;
	border-left: 15px solid #ccc;
}
.post-info-top {
	border-top: 1px solid #ddd;
	line-height: 18px;
	height: 2px;
	position: relative;
	color: #999;
	margin: 0 0 5px;
	padding: 2px 10px;
	overflow: hidden;
	display: block;
}
.post-info-bottom {
	border-bottom: 1px solid #fff;
	line-height: 24px;
	position: relative;
	color: #999;
	margin: 0;
	padding: 2px 10px;
	overflow: hidden;
	display: none;
}
.post-info-top a, .post-info-bottom a {
	color: #999;
}
.post-info-top a:hover, .post-info-bottom a:hover {
	color: #4a630f;
	text-decoration: underline;
}
.entry p.read-more a, .entry p a.more-link, .post-info-date, .post-info-category, .post-info-tags, #gotocomments, #addcomment {
	display: block;
	padding-left: 20px;
	background: url("images/icons.gif") no-repeat scroll 0 0;
}
.post-info-date {
	display: none;
	float: left;
	background-position: 0 -40px;
}
.post-info-category {
	display: none;
	background-position: -35px -60px;
}
.post-info-tags {
	display: none;
	background-position: -20px -240px;
	margin-left: 10px;
}
#gotocomments {
	float: right;
	background-position: 0 -100px;
	margin-right: 10px;
	display: none;
}
#addcomment {
	float: right;
	background-position: 0 -120px;
	display: none;
}
.entry p.read-more a, .entry p a.more-link {
	display: inline;
	font-weight: bold;
	color: #4a630f;
	text-decoration: none;
	background-position: 0 -20px;
}
.entry p a.more-link {
	display: block;
	margin-top: 18px;
}
.entry p.read-more a:hover, .entry p a.more-link:hover {
	color: #345;
}
.sticky {
	width: 638px;
	background: #f2f2f2;
	border: 1px solid #ccc;
}
h2.sticky-h2 a {
	color: #ff4e00;
}
.page_link {
	clear: both;
	padding: 10px 0 18px;
}
.add-info {
	padding: 0 10px;
}
.add-info h3 {
	line-height: 16px;
	font-size: 12px;
	color: #4a630f;
	margin-bottom: 5px;
	background: #e5e5e5;
}
.add-info ul {
	list-style: square;
}

/* #sidebar-border */
#sidebar-border {
	display: none;
	position: relative;
	float: left;
	width: 298px;
	background: #f2f2f2;
	border: 1px solid #ccc;
}

/* #rss */
#rss {
	position: absolute;
	top: -10px;
	right: 120px;
}
#rss a {
	background: url("images/icons.gif") no-repeat 0 0;
	display: block;
	width: 66px;
	height: 20px;
	text-indent: -9999em;
}
#twitter {
	position: absolute;
	top: -10px;
	right: 95px;
}
#twitter a {
	background: url("images/icons.gif") no-repeat -70px 0;
	display: block;
	width: 20px;
	height: 20px;
	text-indent: -9999em;
}
#facebook {
	position: absolute;
	top: -10px;
	right: 191px;
}
#facebook a {
	background: url("images/icons.gif") no-repeat -95px 0;
	display: block;
	width: 20px;
	height: 20px;
	text-indent: -9999em;
}

/* #sidebar */
#sidebar {
	overflow: hidden;
	width: 276px;
	border: 1px solid #fff;
	padding: 20px 10px 10px;
}
#sidebar a {
	color: #555;
	text-shadow: 0 1px 0 #fafafa;
}
#sidebar a:hover {
	color: #999;
}
#sidebar h3, #sidebar h2 {
	text-shadow: 1px 1px 3px #aaa;
	color: #345;
	font-size: 16px;
	margin: 0;
	padding: 0 5px;
	line-height: 30px;
	border-bottom: 1px solid #fff;
}
#sidebar li {
	line-height: 20px;
}
#sidebar .widget {
	margin-bottom: 10px;
}
#sidebar .widget div {
	padding: 8px 5px;
	border-top: 1px solid #ddd;
}
#sidebar .widget div div {
	padding: 0;
	border-top: none;
}
#sidebar .widget div.clear {
	padding: 0;
	margin: 0;
	border: none;
}
#sidebar ul {
	list-style: none;
	padding: 8px 5px;
	border-top: 1px solid #ddd;
}
#sidebar ul li {
	padding-left: 15px;
	background: url("images/icons.gif") no-repeat 0 -280px;
}
#sidebar ul li:hover {
	background: url("images/icons.gif") no-repeat -10px -260px;
}
#sidebar ul ul {
	padding: 0;
	border-top: none;
}

/* widget */
#sidebar .widget input#s {
	width: 190px;
	height: 22px;
	line-height: 22px;
	padding: 0 5px;
}
#sidebar .widget input#searchsubmit {
	width: 65px;
}

/* WP-RecentComments */
#sidebar ul li.rc-item, #sidebar ul li.rc-navi {
	background: none;
	padding: 0;
	margin: 3px 0;
}
#sidebar ul li.rc-item div {
	padding: 0;
	border: none;
}
#sidebar ul li.rc-item .rc-avatar img {
	border: 1px solid #ddd;
}

/* #comments */
#comments-div {
	border-top: 1px solid #ddd;
	position: relative;
	line-height: 24px;
	height: 24px;
	text-shadow: 1px 1px 1px #999;
	text-align: right;
	margin: 0 0 30px;
	padding: 2px 10px;
	display: none;
}
h2#comments {
	line-height: 24px;
	font-size: 12px;
	font-weight: normal;
	width: 300px;
	float: right;
}
span#comments-addcomment {
	position: absolute;
	left: 10px;
	top: 2px;
	padding-left: 20px;
	background: url("images/icons.gif") no-repeat 0 -115px;
}
span#comments-addcomment a {
	color: #047;
	text-decoration: none;
}
span#comments-addcomment a:hover {
	color: #4a630f;
	text-decoration: none;
}

/* comments list style */
ol.commentlist li {
	position: relative;
	list-style: none;
	height: 1%;
	margin: 0 20px;
	padding-bottom: 20px;
	display: none;
}
ol.commentlist li div em.approved {
	margin-left: 55px;
	color: #ff0000;
}
ol.commentlist li div.comment-author {
	margin: 0;
	padding: 0;
	line-height: 16px;
	height: 16px;
	border-bottom: 1px solid #ddd;
	display: block;
}
ol.commentlist li div.vcard img.avatar {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	background: #fff;
	padding: 2px;
	border: 1px solid #ddd;
}
ol.commentlist li div.vcard cite.fn {
	margin-left: 55px;
	font-style: normal;
	font-weight: bold;
}
ol.commentlist li div.vcard cite.fn a.url {
	color: #047;
}
ol.commentlist li.bypostauthor div.vcard cite.fn a.url {
	text-shadow: 1px 1px 1px #777;
}
ol.commentlist li.bypostauthor div.vcard cite.fn a.url:hover {
	color: #000;
}
ol.commentlist li div.vcard cite.fn a.url:hover {
	color: #aaa;
}
ol.commentlist li span.comment-meta {
}
ol.commentlist li span.comment-meta a {
	color: #aaa;
}
ol.commentlist li span.comment-meta a:hover {
	color: #555;
}
ol.commentlist li div.comment-text {
	border-top: 1px solid #fff;
	margin: 0 0 10px;
	padding-top: 10px;
}
ol.commentlist li.bypostauthor div.comment-text {
	color: #777;
}
ol.commentlist li p, ol.commentlist li blockquote {
	margin: 0 50px 0 55px;
	padding-bottom: 10px;
}
ol.commentlist li blockquote {
	padding: 5px;
	border: 1px dotted #ddd;
	color: #999;
	background: #fafafa;
}
ol.commentlist li blockquote p {
	margin-left: 0;
}
ol.commentlist li code {
	margin-bottom: 10px;
	padding: 2px;
	background: #777;
	color: #ddd;
}
ol.commentlist li div.reply {
	position: absolute;
	right: 0;
	top: 8px;
}
ol.commentlist li div.reply a {
	display: block;
	width: 30px;
	text-align: center;
	color: #aaa;
	padding: 0 5px;
	background: #fafafa;
	border: 1px solid #dfdfdf;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
}
ol.commentlist li div.reply a:hover {
	background: #f2f2f2;
}
ol.commentlist li ul.children li {
	margin: 0 0 0 30px;
	padding-bottom: 0;
	border-bottom: none;
	color: #555;
}
ol.commentlist li ul.children li.depth-2 {
	margin: 0 0 0 55px;
}
ol.commentlist li ul.children li div {
	border-top: 1px solid #dfdfdf;
}
ol.commentlist li ul.children li div div {
	border-top: none;
}
ol.commentlist li ul.children li div.comment-author {
	border-top: 1px solid #fff;
	border-bottom: none;
}
ol.commentlist li ul.children li div.vcard img.avatar {
	top: -8px;
	width: 24px;
	height: 24px;
}
ol.commentlist li ul.children li div.vcard cite.fn {
	margin-left: 40px;
}
ol.commentlist li ul.children li p, ol.commentlist li ul.children li blockquote {
	margin: 0 0 0 40px;
}
ol.commentlist li ul.children li blockquote p {
	margin-left: 0;
}
ol.commentlist li ul.children li div.reply {
	top: -8px;
}
ol.commentlist li ul.children li div.reply a {
	background: #f2f2f2;
}
ol.commentlist li ul.children li div.reply a:hover {
	background: #fafafa;
}

/* navigation */
#pagination, #nav-below {
	display: block;
	width: 620px;
	line-height: 18px;
	margin: 0;
	padding: 2px 10px;
	border-top: 1px solid #ddd;
}
.navigation {
	border-bottom: 1px solid #fff;
	text-align: right;
	line-height: 24px;
	margin: 0;
	padding: 2px 10px;
}
#nav-below {
	display: none;
	padding: 20px 10px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #fff;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	width: 50%;
	text-align: right;
}

/* #respond */
#respond {
	margin: 0 0 20px 0;
	padding: 20px 0 0 55px;
	border-top: 1px solid #ddd;
	display: none;
}
#respond small {
	font-size: 12px;
}
#respond h2, #respond h3 {
	text-shadow: 1px 1px 1px #999;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 10px;
}
#respond a#cancel-comment-reply-link {
	color: #920017;
	text-shadow: none;
}
#respond a#cancel-comment-reply-link:hover {
	color: #ff4e00;
}
#commentform {
	margin: 0 55px 0 0;
	padding: 0;
}
#commentform p {
	margin: 0 0 10px;
	padding: 0;
}
#commentform p.smilies {
	margin: 0 0 3px;
	padding: 0 3px;
}
#commentform p.comment-notes {
	margin: 10px 0;
	color: #999;
}
#commentform textarea {
	padding: 3px;
	background: #fff;
	border: 1px solid #ddd;
}
#commentform .comment-form-comment label {
	display: none;
}
#author, #email, #url {
	height: 16px;
	margin-right: 5px;
	padding: 3px;
	border: 1px solid #ddd;
	background: #fff;
}
#comment {
	width: 80%;
	height: 125px;
}
#submit {
	background: #222;
	font-weight: bold;
	color: #ccc;
	height: 25px;
	padding: 2px 10px;
	border: 1px solid #555;
}
#submit:hover {
	color: #fff;
}

/* trackbacks-pingbacks */
.trackbacks-pingbacks h3 {
	font-weight: bold;
	margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
	color: #555;
	padding: 3px 0;
}
.trackbacks-pingbacks ul {
	margin: 5px 20px 15px;
	list-style-type: circle;
}
.trackbacks-pingbacks ul li {
	margin-bottom: 4px;
}

/* Home page layout */
.home .post {
	border-top: 1px solid #ddd;
	padding-top: 10px;
}
.home h2.title {
	margin-bottom: 12px;
	padding-right: 0;
	padding-left: 0;
}
.home .entry {
	display: flow-root;
	font-size: 15px;
	line-height: 1.6;
}
.home .entry h1 {
	font-size: 28px;
	line-height: 1.25;
	margin-bottom: 14px;
}
.home .entry h2 {
	font-size: 22px;
	line-height: 1.3;
	margin: 24px 0 12px;
}
.home .entry p {
	line-height: 1.6;
	margin-bottom: 20px;
}
.home .entry ul {
	margin: 0 30px 18px 0;
}
.home .entry li {
	line-height: 1.45;
}
.home .entry img.alignleft {
	box-sizing: border-box;
	max-width: 42%;
	height: auto;
	margin: 0 0 24px 48px;
	padding: 8px;
}

/* #footer */
#footer {
	flex: 0 0 auto;
	width: 100%;
	margin: 35px auto 0;
	background: #454546;
	min-height: 70px;
	font-size: 15px;
}
#footer-inside {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 10px 0px 10px 0;
	color: #fff;
	text-align: center;
}
#footer-inside a {
	border-bottom: 1px dashed #fff;
	color: #fff;
}
#footer-inside #back-to-top {
	position: absolute;
	top: 5px;
	right: 150px;
	color: #f2f2f2;
	font-size: 14px;
}
#footer-inside #back-to-top a {
	border: none;
	color: #fff;
}

@media screen and (max-width: 780px) {
	#top_image {
		padding: 12px 0 14px;
	}
	#top_image img {
		max-width: 82%;
		height: auto;
	}
	#nav {
		padding-top: 0;
		background: #343435;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
		overflow: hidden;
	}
	.mobile-menu-checkbox {
		display: block;
		position: absolute;
		top: 18px;
		right: 18px;
		width: 44px;
		height: 44px;
		opacity: 0;
	}
	.mobile-menu-button {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 12px;
		box-sizing: border-box;
		width: 100%;
		min-height: 52px;
		padding: 0 18px;
		background: linear-gradient(180deg, #444445, #303031);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		border-bottom: 1px solid rgba(0, 0, 0, 0.55);
		color: #f7f7f7;
		cursor: pointer;
		font-size: 17px;
		font-weight: bold;
		text-shadow: 0 1px 0 #000;
	}
	.mobile-menu-checkbox:focus-visible + .mobile-menu-button {
		outline: 2px solid #cfe7e2;
		outline-offset: -4px;
	}
	.menu-icon,
	.menu-icon:before,
	.menu-icon:after {
		display: block;
		width: 24px;
		height: 3px;
		background: #cfe7e2;
		border-radius: 3px;
		transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
	}
	.menu-icon {
		position: relative;
	}
	.menu-icon:before,
	.menu-icon:after {
		content: "";
		position: absolute;
		right: 0;
	}
	.menu-icon:before {
		top: -8px;
	}
	.menu-icon:after {
		top: 8px;
	}
	.mobile-menu-checkbox:checked + .mobile-menu-button .menu-icon {
		background: transparent;
	}
	.mobile-menu-checkbox:checked + .mobile-menu-button .menu-icon:before {
		transform: translateY(8px) rotate(45deg);
	}
	.mobile-menu-checkbox:checked + .mobile-menu-button .menu-icon:after {
		transform: translateY(-8px) rotate(-45deg);
	}
	#menus {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
		font-size: 17px;
		text-shadow: none;
	}
	.mobile-menu-checkbox:checked ~ #menus {
		max-height: 420px;
	}
	#menus ul {
		float: none;
		width: 100%;
	}
	#menus li {
		float: none;
		border-top: 1px solid rgba(255, 255, 255, 0.07);
	}
	#menus a {
		border: 0;
		border-radius: 0;
		background: #2f2f30;
		color: #e4e4e4;
		line-height: 52px;
		padding: 0 22px;
	}
	#menus li:nth-child(even) a {
		background: #363637;
	}
	#menus li:hover > a,
	#menus ul li.current_page_item > a,
	#menus ul li.current-menu-ancestor > a,
	#menus ul li.current-menu-item > a,
	#menus ul li.current-menu-parent > a {
		background: #f7f7f7;
		color: #333;
		text-shadow: none;
	}
	#wrapper {
		width: 100%;
		padding: 0 20px;
	}
	.home .entry img.alignleft {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 auto 24px;
	}
	#footer {
		font-size: 14px;
	}
}

/* Other */
.aligncenter, div.aligncenter {
	display: block;
	margin: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.wp-caption {
	text-align: center;
	padding-top: 4px;
	margin: 10px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 12px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* calendar START */
.widget_calendar h3 {
	display: none;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar #today {
	background: #e6e6e6;
}
#wp-calendar tbody a {
	font-weight: bolder;
}
#wp-calendar caption {
	font-family: Arial;
	font-weight: bolder;
	letter-spacing: -0.05em;
	font-size: 150%;
	text-align: left;
	padding-bottom: 5px;
}
#wp-calendar th, #wp-calendar td {
	text-align: center;
}
#wp-calendar tbody td {
	border: 1px solid #ccc;
}
#wp-calendar tbody td.pad {
	border: 0 none;
}
#wp-calendar th {
	background: #999;
	color: #fff;
}
#wp-calendar td#prev {
	text-align: left;
	padding-top: 5px;
}
#wp-calendar td#next {
	text-align: right;
	padding-top: 5px;
}

/* .gallery-caption */
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.fb-like {
	float: left;
}

.grecaptcha-badge {
	visibility: hidden;
}

.wpcf7-submit {
	padding: 8px;
	cursor: pointer;
	font-weight: bold;
}

/* Modern industrial refresh: keeps zBench's metal-shop character while improving clarity. */
:root {
	--metal-950: #292a2b;
	--metal-900: #343536;
	--metal-800: #444647;
	--metal-700: #5a5d5f;
	--paper-100: #f7f7f5;
	--paper-200: #efefec;
	--panel: #ffffff;
	--line: #d8d8d2;
	--ink: #303438;
	--muted: #62686b;
	--accent: #cfe7df;
	--accent-strong: #9fc8bd;
	--link: #1e5963;
	--shadow-soft: 0 18px 45px rgba(35, 37, 38, 0.08);
}

html {
	background: var(--paper-100);
	overflow-x: hidden;
}

body {
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html,
	body {
		overflow-x: clip;
	}
}

body {
	background:
		radial-gradient(circle at 12% 14%, rgba(207, 231, 223, 0.22), transparent 22rem),
		linear-gradient(180deg, #fbfbfa 0, var(--paper-100) 34rem, #f1f1ee 100%);
	color: var(--ink);
	font-family: Arial, "Noto Sans Hebrew", "Rubik", Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: var(--link);
	text-underline-offset: 0.18em;
}

a:hover {
	color: #2d6f30;
}

#top_image {
	box-sizing: border-box;
	padding: 24px clamp(20px, 6vw, 84px) 14px;
	background:
		linear-gradient(135deg, rgba(207, 231, 223, 0.08), transparent 32%),
		linear-gradient(180deg, var(--metal-800), var(--metal-900));
	border-bottom: 0;
	text-align: left;
}

#top_image img {
	width: min(258px, 44vw);
	height: auto;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

#nav {
	padding: 0 clamp(20px, 6vw, 84px);
	background: linear-gradient(180deg, var(--metal-900), var(--metal-950));
	border-bottom: 1px solid rgba(0, 0, 0, 0.32);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

#menus {
	max-width: 1240px;
	font-size: 15px;
	text-shadow: none;
}

#menus ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	float: none;
	justify-content: flex-start;
}

#menus li {
	float: none;
}

#menus a {
	padding: 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 0;
	background: rgba(255, 255, 255, 0.05);
	color: #dcdddd;
	line-height: 42px;
	text-shadow: none;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#menus li:hover > a {
	background: rgba(207, 231, 223, 0.12);
	color: #fff;
	transform: translateY(-1px);
}

#menus ul li.current_page_item > a,
#menus ul li.current-menu-ancestor > a,
#menus ul li.current-menu-item > a,
#menus ul li.current-menu-parent > a {
	background: var(--paper-100);
	color: var(--ink);
	text-shadow: none;
}

#menus ul ul {
	top: 42px;
	right: 0;
	box-sizing: border-box;
	width: max-content;
	min-width: 230px;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: var(--metal-950);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

#menus ul ul li {
	width: 100%;
	min-width: 0;
}

#menus ul ul a {
	box-sizing: border-box;
	width: 100%;
	min-width: 214px;
	padding: 0 14px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #eceeed;
	line-height: 40px;
	white-space: nowrap;
}

#menus ul ul li:hover > a,
#menus ul ul li.current_page_item > a,
#menus ul ul li.current-menu-ancestor > a,
#menus ul ul li.current-menu-item > a,
#menus ul ul li.current-menu-parent > a,
#menus ul ul li.current_page_item:hover > a,
#menus ul ul li.current-menu-ancestor:hover > a,
#menus ul ul li.current-menu-item:hover > a,
#menus ul ul li.current-menu-parent:hover > a {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-shadow: none;
	transform: none;
}

#wrapper {
	width: min(100%, 1240px);
	max-width: none;
	padding: 30px clamp(18px, 4vw, 56px) 36px;
}

#content {
	margin-top: 0;
}

.post {
	margin-bottom: 26px;
}

h1.title,
h2.title,
.entry h1.title,
.home .entry h1.title {
	position: relative;
	margin: 0 0 22px;
	padding: 0 0 12px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	box-shadow: none;
	color: #344553;
	font-size: clamp(30px, 3vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.03em;
	text-shadow: none;
}

h1.title:after,
h2.title:after,
.entry h1.title:after,
.home .entry h1.title:after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 74px;
	height: 3px;
	background: var(--accent-strong);
}

h1.title a,
h2.title a,
.entry h1.title a,
.home .entry h1.title a {
	color: inherit;
}

.home .post,
.post-page {
	border-top: 0;
	border-bottom: 0;
	padding-top: 0;
}

.post-info-top-nocomment {
	display: none;
}

.entry {
	padding: 0;
	overflow: visible;
	font-size: 17px;
	line-height: 1.75;
}

.entry p {
	line-height: 1.75;
	margin-bottom: 20px;
}

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	color: #4a4d4f;
	text-shadow: none;
}

.entry h1 {
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.entry h2 {
	margin: 30px 0 12px;
	font-size: clamp(24px, 2.6vw, 31px);
	line-height: 1.22;
}

.entry h3 {
	font-size: 21px;
}

.entry ul,
.entry ol {
	margin: 0 28px 22px 0;
}

.entry li {
	line-height: 1.7;
	margin: 3px 0;
}

.entry a {
	color: var(--link);
	text-decoration-thickness: 1px;
}

.entry img {
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
	padding: 8px;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, #fff, #f8f8f5);
	box-shadow: var(--shadow-soft);
}

.home h2.title {
	font-size: 20px;
}

.home .entry {
	min-height: 560px;
	font-size: 17.5px;
}

.home .entry h1 {
	margin-bottom: 16px;
	color: #4d5153;
}

.home .entry h1 + p {
	font-size: 18.5px;
	font-weight: 700;
	color: #373b3d;
}

.home .entry img.alignleft {
	float: left;
	display: block;
	width: min(34%, 360px);
	max-width: 360px;
	height: auto;
	margin: 0 38px 24px 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
	mask-composite: intersect;
}

.home .entry h2 {
	clear: none;
	margin-top: 24px;
	padding-right: 0;
	border-right: 0;
}

.home .entry ul {
	max-width: none;
	margin: 0 28px 22px 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.page-list.subpages-page-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(160px, 1fr));
	gap: 16px;
	margin: 22px 0 80px;
}

.entry .page-list.subpages-page-list {
	padding: 0;
}

.page-list.subpages-page-list li {
	list-style: none;
	margin: 0;
}

.page-list.subpages-page-list a {
	position: relative;
	display: flex;
	min-height: 122px;
	align-items: flex-end;
	box-sizing: border-box;
	padding: 22px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(207, 231, 223, 0.34), transparent 42%),
		linear-gradient(180deg, #fff, #f4f4f0);
	box-shadow: var(--shadow-soft);
	color: var(--ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.page-list.subpages-page-list a:before {
	content: "⚙";
	position: absolute;
	top: 12px;
	left: 16px;
	color: rgba(90, 93, 95, 0.2);
	font-size: 46px;
	line-height: 1;
}

.page-list.subpages-page-list a:after {
	content: "לצפייה בדגמים";
	position: absolute;
	right: 22px;
	bottom: 16px;
	color: var(--link);
	font-size: 13px;
	font-weight: 700;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-list.subpages-page-list a:hover {
	border-color: var(--accent-strong);
	color: var(--link);
	transform: translateY(-2px);
}

.page-list.subpages-page-list a:hover:after {
	opacity: 1;
	transform: translateY(0);
}

.entry table {
	width: min(100%, 860px) !important;
	margin: 20px auto 30px;
	border: 1px solid #cfcfca;
	border-radius: 8px;
	border-spacing: 0;
	border-collapse: separate;
	overflow: hidden;
	background: var(--panel);
	box-shadow: var(--shadow-soft);
}

.entry th,
.entry td {
	padding: 9px 13px;
	border: 0;
	border-bottom: 1px solid #d9d9d4;
	border-left: 1px solid #d9d9d4;
	text-align: center;
	vertical-align: middle;
}

.entry tr:last-child th,
.entry tr:last-child td {
	border-bottom: 0;
}

.entry th:last-child,
.entry td:last-child {
	border-left: 0;
}

.entry th {
	background: #e7e8e6;
	color: #3e4244;
	font-weight: 800;
}

.entry tr:nth-child(even) td {
	background: #fbfbf9;
}

.entry table h2 {
	margin: 0;
	font-size: 23px;
}

body #content .entry .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	align-items: end;
	margin: 22px auto;
}

body #content .entry .gallery .gallery-item {
	display: flex;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	align-items: center;
	flex-direction: column;
}

body #content .entry .gallery img {
	width: auto;
	max-height: 330px;
	object-fit: contain;
	border: 1px solid var(--line) !important;
	border-radius: 6px;
}

#content .gallery .gallery-caption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

#footer {
	margin-top: 0;
	min-height: 0;
	border-top: 3px solid var(--accent-strong);
	background: linear-gradient(180deg, var(--metal-800), var(--metal-900));
	font-size: 16px;
}

#footer-inside {
	box-sizing: border-box;
	max-width: 1240px;
	padding: 18px clamp(20px, 6vw, 84px);
	line-height: 1.55;
}

#footer-inside a {
	font-weight: 800;
	text-decoration: none;
}

.wpcf7-submit,
#submit {
	border-radius: 6px;
	background: var(--metal-900);
	color: #fff;
}

@media screen and (max-width: 900px) {
	#menus a {
		padding: 0 11px;
		font-size: 14px;
	}

	.page-list.subpages-page-list {
		grid-template-columns: repeat(2, minmax(180px, 1fr));
	}
}

@media screen and (max-width: 780px) {
	body {
		font-size: 16px;
	}

	#top_image {
		padding: 18px 18px 16px;
		text-align: center !important;
	}

	#top_image img {
		width: min(258px, 76vw);
		max-width: 100%;
	}

	#nav {
		padding: 0;
		box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
	}

	.mobile-menu-button {
		min-height: 54px;
		padding: 0 20px;
		background: linear-gradient(180deg, var(--metal-800), var(--metal-950));
		font-size: 17px;
	}

	.menu-icon,
	.menu-icon:before,
	.menu-icon:after {
		background: var(--accent);
	}

	#menus {
		font-size: 16px;
	}

	#menus ul {
		display: block;
	}

	#menus a {
		padding: 0 22px;
		border-radius: 0;
		line-height: 52px;
		transform: none;
	}

	#wrapper {
		width: 100%;
		padding: 24px 20px 30px;
	}

	h1.title,
	h2.title,
	.entry h1.title,
	.home .entry h1.title {
		font-size: 29px;
		margin-bottom: 20px;
	}

	.entry {
		font-size: 16.5px;
		line-height: 1.7;
	}

	.entry p {
		line-height: 1.7;
	}

	.entry h1 {
		font-size: 31px;
	}

	.entry h2 {
		font-size: 25px;
	}

	.home .entry {
		min-height: 0;
	}

	.home .entry img.alignleft {
		float: none;
		display: block;
		width: 100%;
		max-width: 100%;
		margin: 0 auto 24px;
		padding: 0;
	}

	.home .entry h1 + p {
		font-size: 17px;
	}

	.home .entry ul {
		max-width: none;
		margin-right: 0;
	}

	.page-list.subpages-page-list {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 36px;
	}

	.page-list.subpages-page-list a {
		min-height: 96px;
		font-size: 19px;
	}

	.entry table {
		display: table;
		width: 100% !important;
		max-width: 100%;
		table-layout: fixed;
		white-space: normal;
		font-size: 13px;
	}

	.entry th,
	.entry td {
		padding: 8px 5px;
		overflow-wrap: anywhere;
	}

	.entry table h2 {
		font-size: 18px;
	}

	body #content .entry .gallery {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	#footer {
		font-size: 15px;
	}

	#footer-inside {
		padding: 16px 20px;
	}
}

@media screen and (max-width: 520px) {
	#wrapper {
		padding: 22px 18px 28px !important;
	}

	.entry h1 {
		font-size: 29px;
	}

	.entry h2 {
		font-size: 23px;
	}

	.home .entry ul,
	.entry ul,
	.entry ol {
		margin-right: 20px;
	}
}

