/*
Theme Name: Galician
Theme URI: http://underscores.me/
Author: LeeBang
Author URI: mailto:13.leebang@gmail.com
Description: тема для сайта "Галицький Кореспондент"
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: galician
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Galician is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0 0 0.67em;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

:focus {outline: none;}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #1c1c1c;
	font-size: 16px;
	font-size: 1.1rem;
	line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 0 0 0.67em;
	font-family: PT Sans Narrow, sans-serif;
}
h1 a, h1 a:visited, h1 a:hover,
h2 a, h2 a:visited, h2 a:hover,
h3 a, h3 a:visited, h3 a:hover,
h4 a, h4 a:visited, h4 a:hover,
h5 a, h5 a:visited, h5 a:hover,
h6 a, h6 a:visited {
	color: #000;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
	outline: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 7px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
	outline: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px 15px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #e21d26;
	text-decoration: none;
}

a:visited {
	color: #8b0305;
}

a:hover,
a:focus,
a:active {
	color: #8b0305;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

#sec-navigation {
	clear: both;
	display: block;
	float: right;
	margin: 17px 30px 0 0;
	font-size: 0.8rem;
	line-height: 1;
}
#sec-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#sec-menu li {
	float: left;
	text-align: center;
	text-transform: uppercase;
}
#sec-menu li:after {
	content: "\\";
	line-height: 1;
	color: #969696;
}
#sec-menu li:last-child:after { content: "";}

#sec-menu li a {
	padding: 0 .5em;
	color: #969696;
	display: inline-block;
	line-height: 2;
}

#sec-menu li:hover a{
	color: #000;
}


#site-navigation,
#bottom-navigation {
	clear: both;
	display: block;
	width: 100%;
}
#site-navigation {
	background: #aa1801;
}

#site-navigation ul,
#bottom-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#site-navigation > div {
	position: relative;
}

#primary-menu li {
	float: left;
	border-left: 1px solid #da191a;
	/*padding: 0 .5em;*/
	text-align: center;
	text-transform: uppercase;
}
#primary-menu > li {
	background: #aa1801;
}

#primary-menu li:hover,
#primary-menu li.current-menu-item,
#primary-menu li.current-menu-parent {
	background: #8b0305;
	border-left: 1px solid #6b0f00;
}

#primary-menu li:last-child {
	border-right: 1px solid #da191a;
}

#primary-menu a {
	display: block;
	text-decoration: none;
	color: #fff;
	font-size: 1.17rem;
    padding: 14px 0;
}

#primary-menu li > ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #f0f0f0;
	border-bottom: 1px solid #ccc;
}

#primary-menu li.current-menu-item > ul.sub-menu,
#primary-menu li.current-menu-parent > ul.sub-menu,
#primary-menu li.current-post-ancestor > ul.sub-menu {
	z-index: 1;
	display: block;
}
#primary-menu:hover > li > ul.sub-menu {
	display: none;
}
#primary-menu:hover > li:hover > ul.sub-menu {
	z-index: 2;
	display: block;
}


#primary-menu li > ul.sub-menu li {
	padding: 0;
	border: none;
	line-height: 1;
}
#primary-menu li > ul.sub-menu li:after {
	content: "|";
	color: #5b5b5b;
	line-height: 1;
}
#primary-menu li > ul.sub-menu li:last-child:after { content: "";}

#primary-menu li > ul.sub-menu li:first-child { margin-left: 10px;}

#primary-menu li > ul.sub-menu a {
	color: #5b5b5b;
	display: inline-block;
	padding: 0 14px;
	font-family: 'PT Sans', sans-serif;
	font-size: 1rem;
	line-height: 2;
	text-transform: none;
}

#primary-menu li > ul.sub-menu li:hover,
#primary-menu li > ul.sub-menu .current-menu-item,
#primary-menu li > ul.sub-menu .current-menu-parent {
	background: none;
}

#primary-menu li > ul.sub-menu li:hover a,
#primary-menu li > ul.sub-menu .current-menu-item a,
#primary-menu li > ul.sub-menu .current-menu-parent a {
	color: #000;
}

#primary-menu li > ul.sub-menu li:hover a { text-decoration:underline;}

#primary-menu:after {
	display: table-cell;
	width: 380px;
	content: "";
}

#primary-menu .only-bottom {display: none}
#bottom-menu .only-top {display: none}

#bottom-menu {
	font-family: 'PT Sans', sans-serif;
}
#bottom-menu > li {
	font-size: 1.25rem;
	text-transform: uppercase;
	float: left;
	display: block;
}
#bottom-menu > li > a {
	display: block;
	margin-bottom: 10px;
	color: #e21d26;
}
#bottom-menu > li > a:hover {color: #8b0305;}
#bottom-menu > li li {line-height: 1.2rem;}
#bottom-menu > li li > a {
	font-size: 1rem;
	color: #000;
	text-transform: none;
}
#bottom-menu > li li > a:hover {
	text-decoration: underline;
}

.lcase a {
	text-transform: none;
	font-size: 1rem;
}

/* Small menu. */
.menu-toggle,
#site-navigation.toggled ul {
	display: block;
}

/*@media screen and (min-width: 37.5em) {*/
	.menu-toggle {
		display: none;
	}
	#site-navigation ul,
	#bottom-navigation ul {
		display: block;
	}
	#site-navigation #primary-menu,
	#bottom-navigation #bottom-menu  {
		display: table;
		width: 100%;
	}

	#primary-menu > li,
	#bottom-menu > li {
		display: table-cell;
		float: none;
	}
/*}*/

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
	padding-right: 10px;
	clear: both;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.hentry:before,
.hentry:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.hentry:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search input[type="submit"],
.widget_search input[type="submit"]:active,
.widget_search input[type="submit"]:focus
.widget_search input[type="submit"]:hover {
	border: none;
  	background: none;
  	box-shadow: none;
	text-shadow: none;
}
.widget_search .fa-search {
	margin: 0 0 0 -30px;
	color: #ccc;
	font-size: 1.15rem;
	line-height: 1.2rem;
}
.widget_search .search-submit {
	width: 100%;
	margin-left: -90%;
	padding: 5px;
}
.widget_search .search-field{
	font-size: 1rem;
	line-height: 1.5;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 23px 0;
}
.page .hentry,
.single .hentry {
	margin: 0 0 10px;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-thumbnail {
	float: left;
}
.entry-data {
	width: 100%;
	position: relative;
	border-bottom: 1px solid #EDEDED;
}
.entry-data {
	float: left;
	padding-left: 310px;
	min-height: 170px;
}
.entry-thumbnail img {
	display: block;
}
.entry-title {
	font-size: 1.4rem;
}
.entry-title a:hover {
	color: #b50a0a;
	/*text-decoration: underline;*/
}
.page .entry-title,
.single .entry-title {
	margin-top: 20px;
	font-size: 2rem;
	color: #222;
}
.entry-meta span {
	font-family: 'PT Sans', sans-serif;
	font-size: 0.85rem;
	color: #818181;
	padding-right: 7px;
	position: relative;
}
.entry-meta .fa {
	margin-right: 5px;
}
.entry-data .entry-content {
	/*margin: -25px 0 10px;*/
}

.entry-data .more-link,
a.read-more {
	position: absolute;
	right: 0;
	bottom: 0;
	background: #EDEDED;
	border-left: 1px solid #FB4834;
	color: #1c1c1c;
	padding: 1px 8px;
}
.entry-data .more-link:hover,
a.read-more:hover {
	background: #FB4834;
	border-left: 1px solid #333333;
	color: #fff;
}
.entry-footer span {
	display: block;
	margin: 5px 0;
}

.list .entry-thumbnail {
	width: 310px;
	margin-right: -310px;
}
.list h4.entry-title {
	margin: 0 0 -0.67em;
}
.grid .hentry {
	float: left;
	padding: 0;
	margin: 10px 0;
}
.grid.col-2 .hentry {
	width: 50%;
}
.grid.col-3 .hentry {
	width: 33.333333333%;
}

.grid.col-2 article:nth-of-type(odd) {
	padding-right: 5px;
}
.grid.col-2 article:nth-of-type(even) {
	padding-left: 5px;
}
.grid.col-3 article {
	padding: 0 10px 0 0;
}

.grid .entry-thumbnail,
.grid .entry-data {
	width: 100%;
	padding: 0;
	margin: 0;
}

.grid h4.entry-title {
	font-size: 1.2rem;
	margin: 0.67em 0 -0.1em;
}
.grid.col-2 h4.entry-title {
	font-size: 1.2rem;
	margin: 1.67em 0 -0.7em;
}
.grid .entry-meta {
	position: absolute;
	left: 0;
	right: 0;
    padding: 0 6px 3px;
}
.grid.col-2 .entry-meta {
	top: 0;
	background: #EDEDED;
}
.grid.col-3 .entry-meta {
	bottom: 0;
	left: 0;
	right: 0;
    border-bottom: 1px solid #EDEDED;
}
.grid .entry-meta span:first-child {
	display: none;
}

.grid .entry-data {
	border: none;
}
.border {
	display: none;
}
.grid.col-2 .border.col-2,
.grid.col-3 .border.col-3 {
	display: block;
}
.grid .border {
	clear: both;
	position: relative;
	border-bottom: 1px solid #EDEDED;
}
.grid .border:before,
.grid .border:after {
	position: absolute;
	content: "";
    display: block;
	border-bottom: 1px solid #fff;
	width: 10px;
	margin-left: -5px;
}
.grid.col-2 .border:before,
.grid.col-2 .border:after {
    left: 50%;
}
.grid.col-3 .border.col-3 {border: none;}
.grid.col-3 .border:before {
    left: 32.77777777%;
}
.grid.col-3 .border:after {
    left: 66.11111111%;
}


.blogery .entry-data {
	/*min-height: 150px;*/
}
.blogery h4.entry-title {
	margin-bottom: 100px;
}
.blogery .entry-header .widget-title {
	margin: 20px 0 0;
}
.blogery .author {
	position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}
.blogery .author img {
	margin: 15px;
	border-radius: 50%;
	display: block;
	float: left;
	box-sizing: border-box;
	border: 1px solid #aa1801;
}
.blogery .author span {
	color: #818181;
	height: 80px;
    display: block;
    padding-top: 31px;
}


#blogers .entry-title {
	margin: 0;
}
#blogers .entry-title a {
	margin: 10px 0 0;
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1;
}
#blogers .entry-data {
	border:none;
	float: left;
	padding: 0 10px;
	min-height: 170px;
	text-align: center;
}



.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/*--------------------------------------------------------------
## All by LeeBang
--------------------------------------------------------------*/

/*
#masthead, #colophon {
	min-width: 1240px;
}
*/

#top-banners,
#head-content,
#site-navigation > div,
#content,
#blogers,
#colophon .site-info,
#bottom-navigation {
	max-width: 1240px;
/*min-width: 1240px;	*/
	margin: 0 auto;
	float: none;
}

#top-banners {
	padding: 29px 0;
	text-align:center;
	height:94px;
	margin-bottom: 30px;
}
#top-banners .widget {
	margin-bottom: 0;
	display: inline-block;
}

#head-content {margin: 15px auto;}

.site-branding a {
	line-height: 0;
	display: block;
}
.site-branding img {
	max-width: 470px;
}

#top-widgets .widget {
	float: left;
	margin: 0 30px 0 0;
}

#top-widgets .textwidget .fa {
	margin: 0 10px;
	font-size: 1.1rem;
	line-height: 2.3rem;
}

.search-form .search-field {
	width: 150px;
}

.sub-menu-simulator {
    height: 29px;
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
}

.head-left {
	margin: 0;
}
.head-right {
	margin: 48px 245px 0 0;
}


#promo {
	margin-right: 315px;
	padding: 10px 10px 10px 0;
}

#promo a {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: rgba(47, 47, 47, 0.8);
	color: #fff;
	padding: 10px;
}

#promo .x1 {
	width: 33.333333%;
	padding-left: 5px;
}
#promo .x2 {
	width: 66.666666%;
	padding-right: 5px;
}

#promo .x1,
#promo .x2,
#promo .promo-date,
#promo .promo-text {
	float: left;
}
#promo .promo-item {
	position: relative;
}
#promo .promo-item h3 {
	margin: 0 0 10px;
}
#promo .x1 .promo-item {
	height: 150px;
	width: 100%;
}
#promo .x2 .promo-item {
	width: 100%;
	height: 300px;
	margin-right: 10px;
}
#promo .promo-text{
	width: 100%;
	margin-left: -80px;
	padding-left: 90px;
}
#promo .promo-date{
	width: 60px;
	border: 1px solid #fff;
	box-sizing: border-box;
	text-align: center;
	margin: 0 10px;
}
#promo .promo-date span {
	display: block;
	width: 100%;
}
#promo .promo-date span:first-child {
	background: #333333;
	font-size: 0.9rem;
}
#promo .promo-date span:last-child {
	background: #fb4834;
	font-size: 2.5rem;
	font-weight: bold;
}
#promo .x1 .promo-text{
	margin-left: -35px;
	padding-left: 45px;
}
#promo .promo-item h4 {
	margin: 0;
}
#promo .x1 .promo-date{
	width: 35px;
	margin: 0;
}
#promo .x1 .promo-date span:first-child {
	font-size: 0.6rem;
}
#promo .x1 .promo-date span:last-child {
	font-size: 1.4rem;
}



#breadcrumbs {
	font-family: 'PT Sans', sans-serif;
	font-size: 0.85rem;
	padding: 11px 0 9px;
	border-bottom: 1px solid #ededed;
}
#breadcrumbs a .fa {
	margin-right: 5px;
}
#breadcrumbs a:visited {
	color: #818181;
}
#breadcrumbs a:hover {
	color: #cc3300;
	text-decoration: underline;
}
/*.single .breadcrumb_last {display: none;}*/


#primary {
	float: left;
	width: 100%;
	padding-right: 315px;
	margin-right: -315px;
}
.home #primary {
	float: left;
	width: 100%;
	padding-left: 315px;
	margin-left: -315px;
}
.home #secondary {
	margin-top: -320px;
}

#secondary,
#left-sidebar {
	float: left;
	width: 315px;
	position: relative;
}
#secondary:after,
#left-sidebar:after {
	content: " ";
	display: block;
	border-bottom: 1px solid #ededed;
}

#main,
#secondary,
#left-sidebar {
	box-sizing: border-box;
}
#secondary {
	padding: 10px 5px 10px 9px;
    border-left: 1px solid #ededed;
    margin-left: -1px;
}
#left-sidebar {
	padding: 10px 9px 10px 5px;
}

#main {
	border-right: 1px solid #ededed;
	padding: 0 9px 20px 0;
}
.grid #main {
	padding: 10px 0 20px;
}
.home #main {
	border-left: 1px solid #ededed;
	padding: 10px 9px 20px;
}


#colophon {
	background: #eaeaea;
	padding: 29px 0 18px;
}
.site-info {
	font-family: PT Sans;
	line-height: 1.2;
}
.site-info .text {
    float: left;
    padding-right: 100px;
    margin-right: -90px;
    width: 100%;
}
.site-info .counter {
	float: left;
}


/* похожие записи */
.read_also{
	overflow:hidden;
	margin:0 auto 20px;
	font-size:16px;
	font-weight:bold;
	border-bottom: 1px solid #ededed;
}
.read_also ul{
	padding: 10px 0;
	margin: 0;
}
.read_also a,
.read_also a:visited {
	color: #222;
}
.read_also a:hover {
	color: #e21d26;
}
.read_also ul li{
	float:left;
	width: 33.33333333%;
	font-size: 1rem;
	font-weight:normal;
	list-style:none;
	height: 60px;
	margin-bottom: 20px;
}
.read_also .wp-post-image{
	float: left;
    margin-right: -60px;
}
.read_also span{
	float: left;
	padding: 5px 15px 10px 70px;
    display: block;
    width: 100%;

	max-height: 56px;
    overflow: hidden;
}

#blogers {
	margin-bottom: 23px;
	padding: 0 5px;
}

#blogers .bloger {
	width: 25%;
	float: left;
}

#blogers img {
	display: block;
	width: 115px;
	margin: 30px auto 10px;
	border-radius: 50%;
}

#blogers .bloger a {
	display: block;
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
	font-family: 'PT Sans', sans-serif;
}

/*==============  ВИДЖЕТЫ  =====================================================*/

.widget {
	color: #000;
	font-size: 1.145rem;
	/*margin: 23px 0;*/
}

.widget-title {
	font-size: 1.3rem;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 12px;
	color: #000;
}

.widget-title .fa {
	color: #e53935;
	margin-right: 7px;
}

.widget-title:before,
.widget-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
}
.widget-title:before {
	width: 100%;
	height: 5px;
	border-top: 1px solid #ededed;
	border-bottom: 1px solid #ededed;
}
.widget-title:after {
	height: 4px;
	width: 126px;
	background: #fb4834;
}

/*виджет "Рекомендуємо №1*/
.widget_gal_rec_1 {
	width: 315px;
	height: 315px;
	background-color: #e7e7e7;
	margin: 0 -10px 24px;
	border-radius: 50%;
	padding: 0 10% 10%;
	text-align: center;
	overflow: hidden;
	z-index: 9999;
	position: inherit;
}
.widget_gal_rec_1:first-of-type {
	margin-top: -154px;
}
.widget_gal_rec_1 .widget-title {
	text-transform: uppercase;
	margin: 0;
	padding-top: 5%;
	padding: 29px 0 8px;
	background: #AA1801;
	color: #fff;
	height: 62px;
}
.widget_gal_rec_1 .widget-title:before,
.widget_gal_rec_1 .widget-title:after {
	display: none;
}
.widget_gal_rec_1 h4 a {
	color: #000;
	font-size: 2rem;
	font-weight: normal;
}
.widget_gal_rec_1 h4 {
	font-size: 1.7rem;
	line-height: 1;
	margin: 10px;
}
.widget_gal_rec_1 .grey-part div {
	font-size: 1.2rem;
	color: #3b3b3b;
}
.widget_gal_rec_1 .grey-part {
	min-height: 200px;
}

/*виджет "Останні статті"*/

.widget_gal_posts_by_category ul {
	margin: 0;
	padding: 0;
}

.widget_gal_posts_by_category li {
	height: 60px;
	text-overflow: ellipsis;
	margin-bottom: 24px;
	list-style: none;
}

.widget_gal_posts_by_category a {color: #000;}
.widget_gal_posts_by_category a:hover {color: #aa1801;}

.widget_gal_posts_by_category img {
	width: 60px;
	height: 60px;
	float: left;
	margin-right: 20px;
}
.widget a.gal-btn {
	background: #fb4834;
	padding: 0 13px;
	text-align: center;
	color: #fff;
	margin-bottom: 24px;
	display: inline-block;
	line-height: 1.25;
}
.widget a.gal-btn:hover {background: #AA1801;}

/*"Новини" на главной*/

#site-news {
	position: relative;
	padding-bottom: 28px;
	margin-bottom: 23px;
	border-bottom: 1px solid #EDEDED;
}
#site-news ul {
	margin: 0;
	padding: 0;
}
#site-news li {
	text-overflow: ellipsis;
	list-style: none;
    padding-bottom: 3px;
	clear: both;
}
#site-news ul a,
#site-news ul a:hover,
#site-news ul a:visited {
	color: #1c1c1c;
}
#site-news ul a:hover{
	text-decoration: underline;
}
#site-news li > span {
	padding: 4px 5px 0 0;
	font-size: 0.8rem;
	color: #7c7c7c;
	width: 32px;
}
#site-news li > span,
#site-news li a {
	display: block;
	float: left;
}
#site-news li a {
	width: 100%;
	padding-left: 32px;
	margin-left: -32px;
}
#site-news .news-date {
	text-transform: uppercase;
	color: #e53935;
	font-weight: bold;
	margin: 10px 0 0;
}

/*"Усі статті" на главной*/

#paper-news .read-more {
	display: none;
}
#paper-news h3.entry-cat-title a {
	text-transform: uppercase;
	color: #e53935;
}
#paper-news h3.entry-cat-title a:hover {
	color: #8b0305;
}

/* виджет "Слайдер превью"*/

.slider-widget li > a {

}
.slider-widget li > a.w100,
.slider-widget li > a.i-height {
	position: relative;
	width: 100%;
	float: left;
	border: 5px solid #fff;
	box-sizing: border-box;
	display: block;
}
.slider-widget li > a.w100 {height: 170px;}
.slider-widget li > a.w50 {width: 50%;}
.slider-widget li > a.w25 {width: 25%;}
.slider-widget li > a.w33 {width: 33.3333333333%;}

.slider-widget li > a.i-height:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}

.slider-widget ul {
	margin: -5px;
}



#page .flexslider {
    border: none;
	margin: 0;
}

.flex-viewport figure {
    margin: 0;
}

.arch-year {
	margin-left: -20px;
	padding-right: 10px;
}
.year-title {
	text-align:center;
}
.arch-month {
	float: left;
	width: 25%;
	padding: 10px;
	height: 170px;
}
.arch-month caption a {
	font-weight: bold;
}
.arch-month th,
.arch-month td {
	text-align: right;
}

body .ssb-share.round {
    display: inline-block;
    margin-top: 40px;
}

.icotitle i{
	color: #e53935;
}
.entry-data .icotitle {
	padding-right: 22px;
}
.entry-data .icotitle i {
    font-size: 17px;
    position: absolute;
    bottom: -1px;
}


body .flex-direction-nav a.flex-next:before {
    content: '\f0da';
    font-family: FontAwesome;
}
body .flex-direction-nav a.flex-prev:before {
    content: '\f0d9';
    font-family: FontAwesome;
}


.date-block,
.title-block {
	display: block;
	float: left;
}
.date-block {
    padding: 8px 0;
    width: 60px;
    height: 60px;
    background: #F9F9F9;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid #EDEDED;
}
.date-block span {
	display: block;
	text-align:center;
}
.date-block .fa {
    font-size: 1.3rem;
    padding-bottom: 3px;
    color: #E53935;
}
.title-block {
	width: 100%;
	padding-left: 80px;
	margin-left: -60px;
}
a:hover .date-block span {
	color: #000;
}

/* Mobile */

@media screen and (max-width: 1239px) {
	.head-left {margin-left: 20px;}
	.head-right {margin-right: 0;}
	#primary-menu:after {width: 300px;}
	.widget_gal_rec_1:first-of-type {margin-top: -101px;}

	#main,
	.grid #main,
	.list #main,
	#bottom-navigation,
	#colophon .site-info {
		padding: 0 10px;
	}
}

@media screen and (max-width: 919px) {
	.site-branding img {max-width: 285px;}
	.head-right, #promo {margin: 0;}

	#top-banners,
	#primary-menu:after,
	#secondary,
	#blogers .bloger:last-child {
		display: none;
	}

	#primary {
		padding-right: 0;
		margin-right: 0;
	}
	#blogers .bloger {width: 33.333333333%;}
	#bottom-menu > li {
		padding: 0 5px;
		display: inherit;
		float: left;
	}
	#bottom-menu > li.only-bottom {
    	float: none;
		padding-left: 20px;
	}
}

@media screen and (min-width: 640px) {
	#primary-menu {
	    display: table!important;
	}
}
@media screen and (max-width: 639px) {
	#left-sidebar,
	#promo .x1,
	#site-navigation #primary-menu,
	#primary-menu .sub-menu,
	#primary-menu li.current-menu-item > ul.sub-menu,
	#primary-menu li.current-menu-parent > ul.sub-menu,
	#primary-menu li.current-post-ancestor > ul.sub-menu,
	#sec-navigation,
	#paper-news,
	#blogers .entry-data,
	#bottom-navigation .sub-menu {
		display: none;
	}

	.head-left, .head-right {
		width: 100%;
		margin: 0;
	}
	.site-branding a, #top-widgets {text-align: center;}
	#top-widgets .widget {
		float: none;
		display: inline-block;
		margin: 10px auto;
	}
	#top-widgets .widget .textwidget .fa {margin: 0 15px;}

	#promo {padding-right: 0;}
	#promo .x2 {
		width: 100%;
		padding-right: 0;
	}

	.home #primary {
		float: none;
		padding: 0;
		margin: 0;
	}

	.sub-menu-simulator {
		border-top: 3px solid #e21d26;
		position: relative;
		height: 39px;
	}
	.sub-menu-simulator:before,
	.sub-menu-simulator:after {
		display: inline-block;
		font-family: FontAwesome;
		text-rendering: auto;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;

		position:absolute;
		width: 100%;
		text-align: center;
	}
	.sub-menu-simulator:before{
		content: "\f0c9";
		padding-top: 1px;
		font-size: 21px;
	    color: #E21D26;
	}
	.sub-menu-simulator:after {
		content: "\f0d7";
		padding-top: 19px;
	}
	.sub-menu-simulator.active:before{
		content: "\f0c9";
		padding-top: 11px;
	}
	.sub-menu-simulator.active:after {
		content: "\f0d8";
		padding-top: 0;
	}


	#primary-menu > li {
    	display: inherit;
		width: 100%;
	}
	#primary-menu > li:last-child {
		border: none;
	}

	#site-news li {
		padding-bottom: 8px;
	}


	.grid.col-3 .hentry {
		width: 100%;
	}
	.grid.col-3 article {
		padding: 0;
	}

	.list .entry-thumbnail {
		width: 100%;
		margin-right: 0;
	}
	.entry-thumbnail img {
	    width: 100%;
	}
	.entry-data {
		padding-left: 0;
	}

	.read_also ul li {
    float: left;
    width: 50%;
	}


	#blogers .bloger {width: 50%;}
	#blogers .bloger:last-child {display: inherit;}

	#bottom-navigation {
		width: 50%;
		float: right;
	}
	#colophon .site-info {
		width: 50%;
		float: left;
	}
	#colophon .site-info .text {
		float: none;
		padding-right: 0;
		margin-right: 0;
		margin-top: -1em;
	}
	#bottom-menu > li {
		float: none;
	}
	#bottom-menu > li.only-bottom {
    	padding-left: 5px;
	}
}
.banner-post{
	margin-left: 20%;
}
li.widget {
	list-style: none;
}
@media screen and (max-width: 640px) {
.banner-post{
margin-left: 0;}
}
/*
@media screen and (min-width: 919px) {
	body {
		background: url('images/sp_branding.jpg') center top no-repeat;
		width: 100%;
		height: 100%;
	}

	#page {
		margin: 199px auto 0;
		position: relative;
		max-width: 1240px;
	}
	#top-banners {
		height: 94px;
		left: 256px;
		padding: 29px 0;
		position: absolute;
		text-align: center;
		top: -168px;
	}

}


*/
.search-form {
	display: flex;
	align-items: center;
}

.no-results-found {
	margin-top: 30px;
}
