/*
Theme Name: Кузнецкий Рабочий
Theme URI: http://kuzrab.ru
Description: Basic empty template for start new website
Version: 1.0
Author: Denis Lomovtsev
Author URI: https://denis-lomovtsev.ru
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.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 !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* GLOBAL */
body {background: #f3f3f3; background: #f3f3f3; font-family: "Arial", sans-serif;
      font-size: 14px; line-height: 1.2; }
.container-fluid { max-width: 1040px; }
.clearfix { clear:both; }
a h1, a h2, a h3, a h4, a h5, a h6 {color: #28251f;text-decoration: none;}
a:hover h1, a:hover h2, a:hover h3, a:hover h4, a:hover h5, a:hover h6 {text-decoration: underline;}
h2, h3, h4, h5, h6 {color: #28251f;}
p { color: #28251f; }
a {color: #900000;text-decoration: none;}
a:hover {text-decoration: underline;}
a.button {
	display: inline-block;
	box-sizing: border-box;
	text-decoration: none;
	border: none;
	padding: 3px 15px;
	background: #423d34;
	font-size: 14px;
	color: #f1f1f0;
	outline: none;
}
a.button:hover {
	background: #5c5548;
	color: #ffffff;
	cursor: pointer;
}
input[type=button],
input[type=submit],
input[type=reset] {
	border: none;
	padding: 3px 15px;
	background: #423d34;
	font-size: 14px;
	color: #f1f1f0;
	outline: none;
}
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
	background: #5c5548;
	color: #ffffff;
	cursor: pointer;
}

.page .content p, .single .content p { font-size: 16px; line-height: 1.5rem; margin-bottom: 2rem; }

@media (min-width: 34em) {
    .card-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 48em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}



/* USER MENU */
.menu-user {
	background: #28251f;
	color: #f1f1f0;
	white-space: nowrap;
}

.menu-user a {
	color: inherit;
	text-decoration: none;
}

.menu-user .wrapper-cell {
	height: 40px;
	padding-top: 10px;
	vertical-align: top;
}

.menu-user .auth .username {
	font-size: 16px;
	font-weight: bold;
	color: #e0e0e0;
}

.menu-user .auth .username a:hover {
	color: #fff;
}

.menu-user .auth .button.logout {
	height: 20px;
	margin: 0 5px;
	vertical-align: -1px;
}

.menu-user .new-items {
	text-align: right;
}

.menu-user .new-items a:hover {
	color: #fff;
}

.menu-user .new-items .text {
	vertical-align: -1px;
	font-size: 14px;
	color: #ddd;
}

.menu-user .new-items a:hover .text {
	color: #fff;
}

.menu-user .new-items .text.zero {
	vertical-align: -15px;
}

.menu-user .new-items .badge {
	display: inline-block;
	box-sizing: border-box;
	height: 19px;
	vertical-align: -1px;
	padding: 0 3px 0 2px;
	font-weight: bold;
	background: #ed0000;
}

.menu-user .new-items a:hover .badge {
	background: #ff0000;
}

.menu-user .new-items .badge.zero {
	display: none;
}



.menu-user .search {
	text-align: right;
}

.menu-user .search form {
	padding-top: 1px;
	vertical-align: inherit;
}

.menu-user .search form input.search-text {
	width: 270px;
	height: 14px;
	margin: 0 5px;
	padding: 3px;
	vertical-align: inherit;
	border: none;
	background: #c4c5c4;
	font-size: 14px;
	line-height: 14px;
	transition: width 0.1s;
}

.menu-user .search form input.search-text::-moz-placeholder {
	line-height: 16px;
	color: #000;
}

.menu-user .search form input.search-text::-webkit-input-placeholder {
	line-height: 16px;
	color: #000;
}

.menu-user .search form input.search-text:focus {
	vertical-align: inherit;
	width: 330px;
	background: #fff;
	outline: none;
	font-size: 16px;
	line-height: 16px;
}

.menu-user .search form input.button {
	height: 20px;
	vertical-align: inherit;
	border: none;
	outline: none;
	line-height: 16px;
}
.menu-user hr {
	margin: 0;
	width: 100%;
	height: 2px;
	border: none;
	background: #f1f1f0;
}

.new_news, .new_comments { display: inline-block; margin: 12px 20px 0 0; }

.head_search { margin-top: 10px; position: relative; height:22px; }
.head_search .search-text { height:22px; line-height: 22px; display: block; 
              width: 100%; padding: 0 70px 0 5px; border:0; }
.head_search .button {position: absolute; top: 0; right: 0; height:22px; }

/* NAVBAR */
.navbar { background: #6c0000!important; }
.navbar a { color: #fff!important; opacity: 1!important; }
.navbar .dropdown-menu { background: #423d34!important; border-radius: 0; }
.navbar .dropdown-menu a:hover { background: #5c5548!important; }
.navbar .dropdown-menu .dropdown-divider {border-color: #5c5548; }

/* HEADER */
.header {
	width: 100%;
	height: 200px;
}

.header-container {
	width: 100%;
	position: relative;
}

.header-container div {
	position: absolute;
	font-family: "PT Serif", "Times New Roman", serif;
	font-style: italic;
	font-size: 16px;
	color: #28251f;
}

.header .logo {
	/*top: 33px;*/
	top: 20px;
	left: 0;
	width: 1000px;
	height: 128px;
	background: url("/images/new/header-logo1.png");
}

.header .logo-image {
	top: 20px;
	left: 0;
	width: 143px;
	height: 128px;
	background: url("/images/new/header-logo8-image.png");
}

.header .logo-title {
	top: 30px;
	left: 157px;
	width: 843px;
	height: 87px;
	background: url("/images/new/header-logo1-title.png");
}

.header .lines {
	/*top: 200px;*/
	top: 160px;
	left: 0;
	width: 1000px;
	height: 17px;
	background: url("/images/new/header-lines.gif");
}

.header .badge-ussr {
	/*top: 153px;*/
	/*left: 565px;*/
	top: 118px;
	left: 470px;
	width: 66px;
	height: 84px;
	background: url("/images/new/header-badge-ussr.png");
}

.header .badge-press {
	/*top: 153px;*/
	/*left: 640px;*/
	top: 120px;
	left: 540px;
	width: 83px;
	height: 83px;
	background: url("/images/new/header-badge-press.png");
}

.header .description {
	top: 24px;
	left: 490px;
}

.header .date {
	/*top: 170px;*/
	top: 130px;
	left: 157px;
}

.header .since {
	/*top: 170px;*/
	top: 130px;
	left: 770px;
	width: 230px;
	text-align: right;
}

/* SIDEBAR */
.sidebar .block {
    margin-top: 50px;
}
.sidebar .block-name.right {
    text-align: right;
}
.sidebar .block-name.right span {
    border-left: 5px solid #f2f2f1;
}
.sidebar .block-name:first-of-type {
    margin-top: 0;
}
.sidebar .block-name {
    height: 14px;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid #28251f;
}
.sidebar .block-name span {
    padding: 0 2px;
    font-family: "PT Sans Caption", "Arial", sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #f1f1f0;
    background: #6c0000;
}
.sidebar .uptolike-buttons {
    float: right;
    margin: 5px 0;
}
.sidebar p {
    margin: 5px 0 0 0;
}
.sidebar .popular-news, .sidebar .last-comments,.sidebar .weather, 
.sidebar .social-links, .sidebar .site-voting {
    background-color: rgba(40, 37, 31, 0.05);
    padding: 15px;
}
.sidebar .block:first-of-type {
    margin-top: 0;
}

/* FOOTER */
.footer-push {
	height: 50px; /* высота должна быть равна отрицательному нижнему отступу wrapper-a + отсуп футера (50) */
	margin: 0;
	padding: 0;
	clear: both;
}
.footer {
	min-height: 200px; /* высота должна быть равна отрицательному нижнему отступу wrapper-a */
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	border-top: 15px solid #6c0000;
	background: #28251f;
	color: #d0d0cf;
}

.footer hr {
	margin: 0;
	width: 100%;
	height: 2px;
	border: none;
	background: #f1f1f0;
}

.footer a,
.footer p,
.footer h3 {
	color: inherit;
}

.footer .links {
	
}

.footer .text {
	margin-top: 10px;
	margin-bottom: 0;
	font-size: 12px;
}

/* ETC STYLES */
.attention { width: 100%; padding: 10px 0; text-align: center; color: #fff; background: #222; font-weight: 500; }
.all_news { margin: 0 0 30px; text-align: center; }
.all_news a { display: block; padding: 5px 0; background: #ddd; border: 1px solid #999; box-sizing: border-box; }
.all_news a:hover { background: #ccc; }
.pagination { display: block; margin: 0 0 2rem; }
.pagination h2 { font-size: 1rem; color:#6c0000; font-weight: 600;}
.pagination .nav-links .page-numbers { font-size: 1.1rem; display: inline-block; padding: 0 5px; 
               border: 1px solid #6c0000; text-align: center; min-width: 40px; line-height: 1.8rem; }
.pagination .nav-links .page-numbers.current,
.pagination .nav-links .page-numbers:hover { color: #fff; background: #6c0000; }
.pagination .nav-links .page-numbers.dots{border:0;}
.pagination .nav-links .page-numbers.dots:hover{border:0;background:none;color:inherit;}

.link_block { padding: 10px; border: 1px solid #e4e4e4; margin: 2rem 0; font-size: 16px; }
.link_block_info { margin-bottom: 10px; color: #777; font-weight: 500; font-size: 14px; }


.cookie { display: none; background: #6c0000; color: #fff; padding: 10px; font-size: 12px; 
         position: fixed; bottom: 0; left: 0; width: 100%; z-index: 99; }
.cookie_links { display: inline-block; }
.cookie_links a { margin: 0 5px; background: #fff; padding: 0 5px; }

/* CALEND */
.calend_desc { font-weight: 300;  font-family: 'Open Sans',sans-serif; margin-bottom: 40px; }

.all_calends a { color: #000; display: inline-block; font-weight: 600; padding: 3px 5px; text-decoration: none; }
.all_calends a.current {background: #6c0000;color: #fff;}


.all_calends a:hover { color: #000; text-decoration: none; background: #e4e4e4;}

.kvartal { margin: 3rem 0 5rem; font-family: 'Open Sans',sans-serif; }
.kvartal_head { font-weight: 300; border-bottom: 1px solid #b3b3b3; padding-bottom: 1rem; 
               font-family: 'Open Sans',sans-serif; color: #000;}
.kvartal_head h2 { color: #000;}
.calend_content { font-size: 18px; font-weight: 300; font-family: 'Open Sans',sans-serif;}
.month { width: 100%; text-align: right; font-size: 22px; font-weight: 300; 
        font-family: 'Open Sans',sans-serif; margin-bottom: 50px; }
.month th.month_name { text-align: left; font-weight: 500; font-family: 'Open Sans',sans-serif;}
.month th { text-align: center; font-weight: 300; font-family: 'Open Sans',sans-serif;}
.month td { font-weight: 300; width: calc(100% / 7); padding: 4px 0 4px 8px; font-family: 'Open Sans',sans-serif;}
.holiday { background: #6c0000; color: #fff; display: block; padding: 0 4px; cursor: pointer; 
          font-family: 'Open Sans',sans-serif; }
.pre_holiday { background: #ffeeba; display: block; padding: 0 4px; cursor: pointer; font-family: 'Open Sans',sans-serif; }

.kvartal_head .calend_list { margin-bottom: 0px; }
.calend_list { margin-bottom: 40px; }
.calend_list_item {display: flex;flex-direction: row;flex-wrap: nowrap;font-size:14px;
                   line-height: 1.5; font-family: 'Open Sans',sans-serif;
    justify-content: space-between;align-items: stretch;align-content: stretch; color: #000;
    border-bottom: 1px dotted #555; 
}
.calend_list_item span { margin-bottom: -5px; background: #f3f3f3; padding: 0 2px; }

.norms_block { border-bottom: 1px solid #b6b6b6; }


.table_day_norms { width: 100%; font-weight: 300; font-size: 18px; font-family: 'Open Sans',sans-serif;
                  margin: 20px 0;}

.table_day_norms td { width: calc(100% / 4); font-family: 'Open Sans',sans-serif;}

.table_hours_norms { width: 100%; font-weight: 300; font-size: 18px; font-family: 'Open Sans',sans-serif;
margin: 20px 0;}

.table_hours_norms td { width: calc(100% / 4); font-family: 'Open Sans',sans-serif;}

.norms_head { height: 50px; line-height: 1.2;}

.table_day_norms thead th, 
.table_hours_norms thead th{ font-weight: 300; font-family: 'Open Sans',sans-serif;}

.tooltip { display: inline-block; font-size: 14px; padding: 10px;
          box-shadow: 0 0 13px rgba(0,0,0,0.25); width: auto; max-width: length;
          background: #fff!important; color: #000!important; opacity: 1;
}
.tooltip .arrow { display: none; }
.tooltip-inner {background: #fff!important; color: #000!important; width: auto; max-width: max-content; }

.calend_ps { margin-bottom: 40px; }
.calend_ps span { display: inline-block; vertical-align: middle; font-weight:300; }
.calend_ps_item_red { line-height: 36px; margin-bottom: 5px; }
.calend_ps_item_red:before { vertical-align: middle;  display: inline-block; content:""; width: 50px; height: 36px; background: #ffbad0;}
.calend_ps_item_yellow { line-height: 36px;}
.calend_ps_item_yellow:before {  vertical-align: middle;  display: inline-block; content:""; width: 50px; height: 36px; background: #fff0ba;}


.single_comments {}
.single_comments h3 { font-size: 1.25rem; margin-bottom: 1rem;}
.single_comments .commentlist { list-style: none; padding: 1rem 0 1rem;
              margin-bottom: 1rem; border-top: 1px solid #aaa; }
.single_comments .commentlist .comment { border: 1px solid #ccc; padding: 10px; background: #f5f5f5; margin-bottom: 1rem; }
.single_comments .commentlist .comment .comment-author { display: inline-block; font-size: 14px; }
.single_comments .commentlist .comment .comment-meta { display: inline-block; font-size: 14px;}
.single_comments .commentlist .comment p { font-size: 16px; margin: 1rem 0; color: #000;}

.single_comments .comment-respond {margin: 1rem 0; border-top: 1px solid #aaa; padding-top: 1rem;}
.single_comments .comment-respond h3 { padding: 0;}
.single_comments .comment-respond p { margin: 10px 0;}
.single_comments .comment-respond textarea { display: block; width: 100%; }
.single_comments .comment-respond input[type="text"] { display: block; width: 100%; }


