/*!
Theme Name: potolki-design
Theme URI: http://underscores.me/
Author: cupok
Author URI: http://cupok2009@gmail.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: potolki-design
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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.

potolki-design is based on Underscores https://underscores.me/, (C) 2012-2017 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 https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin-top: 0;
	margin-bottom: 0;
}

p{
	margin: 0;
}
.hentry p {
	margin-bottom: .8em;
}
.hentry h1, 
.hentry h2, 
.hentry h3, 
.hentry h4, 
.hentry h5, 
.hentry h6{
	margin: .67em 0;
	color: #242424;
	line-height: 1.2;
}


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 https://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. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.hentry ul, 
.hentry ol {
	margin: 0 0 1.5em 3em;
}

.hentry ul {
	list-style-type: none;
	margin: 0;
	margin-bottom: 30px;
}
.hentry ul li{
	position: relative;
	padding-left: 20px;
	margin-bottom: .5em;
}
.hentry ul li:before{
	content: "";
	width: 8px;
	height: 8px;
	background-color: #b20000;
	position: absolute;
	top: 8px;
	left: 0;
}
.hentry ol{
	margin-left: 1em;
}
.hentry ol li{
	position: relative;
	margin-bottom: .5em;
}


.hentry ol {
	list-style: decimal;
}

.hentry li > ul,
.hentry 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. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	width: 100%;
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 5px 10px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #b20000;
	text-decoration: none;
}

a:hover{
	color: #b20000;
	text-decoration: underline;
}

a:focus,
a:active{

}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.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 {
	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: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# 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,
.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;
	table-layout: fixed;
}

.clear: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%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	/*margin: 0 0 1.5em;*/
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	/*margin: 1.5em 0 0;*/
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## 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,
.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%;
	border: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
## common
--------------------------------------------------------------*/
body{
	font-family: 'Exo 2';
	color: #787878;
}
.wrapper{
	width: 100%;
	max-width: 1030px;
	padding-right: 15px;
	padding-left: 15px;
	margin: 0 auto;
}
.popup{
	display: none;
}
.site-content{
	min-height: calc(100vh - (130px + 258px));
}
.site-content-container{
	margin: 30px 0;
}
.site-content-container .inner{
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
}
.content-area{
	width: 100%;
	max-width: 670px;
}
.widget-area{
	width: 300px;
	margin-left: 30px;
	flex-shrink: 0;
	border: 1px solid #eceaeb;
	padding: 15px;
}

.slick-arrow{
	font-size: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
  height: 40px;
  background-color: rgba(179, 0, 0, 0.5);
  z-index: 1;
  transition: .2s ease-in-out;
  cursor: pointer;
}
.slick-arrow:after{
	content: "";
	background-image: url(img/next-arrow.png);
	width: 23px;
	height: 23px;
	position: absolute;
}
.slick-arrow:hover{
	background-color: #920000;
}
.slick-prev{
	left: 15px;
}
.slick-prev:after{
	transform: translate(-50%, -50%) rotate(180deg);
	margin-left: -1px;
}
.slick-next{
	right: 15px;
	transform: translateY(-50%);
}
.slick-next:after{
	transform: translate(-50%, -50%);
	margin-left: 1px;
}
ul.slick-dots{
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.slick-dots li{
	margin: 0 5px;
	line-height: 0;
	padding-left: 0;
}
.slick-dots li:before{
	display: none;
}
.slick-dots li button{
	font-size: 0;
	width: 10px;
	height: 10px;
	background-color: #fff;
	border-color: #fff;
	border-radius: 0;
}
.slick-dots li.slick-active button{
	background-color: rgba(179, 0, 0, 0.5);
}
.slick-slide img{
	width: 100%;
}
.wide-slider-item img {
    display: none;
}
.wide-slider-item.slick-slide img {
    display: block;
}
.btn,
form input[type="submit"],
form button{
	display: inline-flex;
	align-items: center;
	justify-content: center;
  padding: 12px 16px;
  background-color: #b20000;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: .2s ease-in-out;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  line-height: 1;
}
.btn-small{
	padding: 8px 16px;
  font-size: 14px;
  max-width: 150px;
}
.btn:hover{
	text-decoration: none;
	color: #fff;
	background-color: #920000;
}
.btn:disabled{
	background-color: grey;
}
.btn:disabled:hover{
	background-color: grey;
}
a{
	transition: .2s ease-in-out;
}
a:active,
a:focus{
	outline: none;
}
.hentry .section-title{
	color: #787878;
}

/*--------------------------------------------------------------
## content
--------------------------------------------------------------*/
.wp-block-quote{
	background-color: #333;
  border-left: 15px solid #555;
  padding: 10px 15px 15px;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 1em;
  position: relative;
}
.wp-block-quote p{
	font-size: 22px;
	color: #fff;
	margin: 0;
}
.wp-block-quote.papper{
	border: 0;
	background-color: #fff;
	box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.3);
}
.wp-block-quote.papper p{
	color: #787878;
	font-size: 16px;
}
.wp-block-quote.quoted{
	border: 0;
	background-color: #fff;
	padding-left: 60px;
}
.wp-block-quote.quoted:before{
	content: "";
	background-image: url(img/postquote.png);
	width: 48px;
	height: 30px;
	position: absolute;
	top: 0;
	left: 0;
}
.wp-block-quote.quoted p{
	color: #B20000;
	font-style: italic;
	font-size: 18px;
}
.wp-block-quote.small{
	text-align: center;
}
.wp-block-quote.small p{
	font-size: 18px;
}

/*--------------------------------------------------------------
## header
--------------------------------------------------------------*/
.header{
	background-image: url(img/header-bg.jpg);
	background-position: center;
	background-size: cover;
}
.header .inner{
	height: 130px;
	display: flex;
	align-items: center;
}
.header-logo{
	margin-right: 30px;
	flex-shrink: 0;
}
.header-right{
	width: 100%;
	margin-left: auto;
}
.header-info{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.header-phones{
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
.header-phones-item:first-of-type{
	margin-right: 30px;
}
.header-phones-item p{
	color: #fff;
	font-size: 14px;
	text-align: center;
}
.header-phones-item a{
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	text-decoration: none;
}
.header-phones-item a:hover{
	text-decoration: underline;
}
.header-callback{
	margin-left: 30px;
}
.header-menu{
	display: flex;
	justify-content: flex-end;
}
.header-menu ul{
	display: flex;
}
.header-menu li{

}
.header-menu a{
	text-transform: uppercase;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	padding: 5px 10px;
}
.header-menu a:hover,
.header-menu li.current-menu-item a{
	background-color: #b20000;
}

/*--------------------------------------------------------------
## front-page
--------------------------------------------------------------*/
.special{
	background-color: #b20000;
	color: #fff;
	padding: 5px 10px;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}
.front-slider{
	margin-bottom: 30px;
}
.home .entry-title{
	display: none;
}

/*--------------------------------------------------------------
## wp-blocks fix
--------------------------------------------------------------*/
.wp-block-cover, .wp-block-cover-image{
	min-height: 200px;
}
.wp-block-column:last-child{
	margin-right: 0;
}
.wp-block-embed__wrapper{
	line-height: 0;
}
.wp-block-embed-youtube iframe{
	width: 100%;
	max-height: 400px;
}

/*--------------------------------------------------------------
## preview-blocks
--------------------------------------------------------------*/
.preview-blocks{
	margin: 0 -7.5px;
	margin-bottom: 15px;
	display: flex;
	flex-wrap: wrap;
}
.preview-blocks-item{
	width: calc(100% / 3 - 15px);
	min-height: 150px;
	margin: 0 7.5px;
	margin-bottom: 15px;
	text-align: center;
	color: #fff;
	position: relative;
	background-color: #3085a3;
	overflow: hidden;
	display: block;
}
.col-2 .preview-blocks-item{
	width: calc(100% / 2 - 15px);
}
.big .preview-blocks-item{
	height: 180px;
}
.preview-blocks-item:hover{
	color: #fff;
}
.preview-blocks-item-img{
	background-position: center;
	background-size: cover;
	background-color: transparent;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: auto;
	opacity: .8;
	transition: .35s ease-in-out;
	margin: 0;
}
.preview-blocks-item:hover .preview-blocks-item-img{
	transform: scale(1.1);
}
.preview-blocks-item-img:after{
	content: "";
	background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgba(72,76,97,0.8) 75%);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transform: translateY(50%);
	opacity: 0;
	transition: .35s ease-in-out;
}
.preview-blocks-item:hover .preview-blocks-item-img:after{
	transform: translateY(0);
	opacity: 1;
}
.preview-blocks-item-text{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
p.preview-blocks-item-title{
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 100%;
	padding: 0 15px;
	transition: .35s ease-in-out;
	margin: 0;
	color: #fff;
}
.preview-blocks-item:hover .preview-blocks-item-title{
	transform: translateY(-50px);
}
p.preview-blocks-item-desc{
	font-size: 16px;
	line-height: 1.2;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 30px 15px;
	opacity: 0;
	transform: translateY(10px);
	transition: .35s ease-in-out;
	margin: 0;
	color: #fff;
}
.preview-blocks-item:hover .preview-blocks-item-desc{
	opacity: 1;
	transform: translateY(0px);
}

/*--------------------------------------------------------------
## persentage-text
--------------------------------------------------------------*/
.persentage-text{
  background-color: #353535;
  border: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 30px 0;
}
.persentage-text p{
  font-size: 16px;
  padding: 15px;
  color: #fff;
  margin: 0;
}
.persentage-text .pt-bar{
	width: 75%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
	background-color: rgba(178, 0, 0, .8);
}
.pt-percent:after{
	content: "%";
}

/*--------------------------------------------------------------
## slider-youtube
--------------------------------------------------------------*/
.slider-youtube{
	margin-bottom: 30px;
}
.slider-youtube .slider-item{
	background-position: center;
	background-size: cover;
	display: block;
	height: 400px;
	position: relative;
}
.slider-youtube .slider-item:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.3);
	transition: .35s ease-in-out;
}
.slider-youtube .slider-item:hover:before{
	background-color: rgba(0,0,0,0);
}
.slider-youtube .slider-item:after{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: url(img/play-button.svg);
	background-position: center;
	background-size: cover;
	width: 50px;
	height: 50px;
}
.slider-youtube .slider-item img{
	display: none;
}

/*--------------------------------------------------------------
## carousel
--------------------------------------------------------------*/
.wp-block-lazyblock-carousel{
	margin-top: 30px;
}
.carousel{
	margin: 0 -7.5px;
}
.carousel-item{
	margin: 0 7.5px;
}
.carousel-item a{
	display: block;
	height: 130px;
	background-position: center;
	background-size: cover;
}

/*--------------------------------------------------------------
## wide-carousel
--------------------------------------------------------------*/
.wide-carousel{
	margin: 0 -5px;
}
.wide-carousel-item{
  border: 3px solid #787878;
  padding: 5px;
  margin: 5px;
}
.wide-carousel-item img{
	height: 110px;
}
.wide-carousel .slick-arrow{
	opacity: 0;
}
.wide-carousel:hover .slick-arrow{
	opacity: 1;
}
.slick-slide:active,
.slick-slide:focus{
	outline: none;
}

/*--------------------------------------------------------------
## wide-slider
--------------------------------------------------------------*/
.wide-slider-item a{
	display: block;
	background-position: center;
	background-size: cover;
	pointer-events: none;
}

/*--------------------------------------------------------------
## wp-block-gallery
--------------------------------------------------------------*/
ul.wp-block-gallery{
	padding: 0;
	margin: 15px 0;
	list-style-type: none;
}
ul.wp-block-gallery li{
	padding-left: 0;
}
ul.wp-block-gallery li:before{
	display: none;
}
/*.blocks-gallery-item img{
	max-height: 150px;
}*/
.wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{
	flex-grow: 0;
}

/*--------------------------------------------------------------
## forms
--------------------------------------------------------------*/
.popup .wpcf7{
	max-width: 380px;
}
.popup .form-title{
  width: calc(100% + 60px);
  background: #353535;
  padding: 5px;
  margin: 0;
  margin-left: -30px;
  margin-bottom: 20px;
  padding: 8px 30px;
  color: #fff;
  line-height: 1.5;
}
.wpcf7-form-control-wrap{
	display: block;
	margin-bottom: 15px;
}
.wpcf7-textarea{
	height: 100px;
}
.popup .wpcf7 .btn{
	margin: 0 auto;
	display: block;
}
div.wpcf7 .ajax-loader{
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(5px);
}
div.wpcf7-response-output{
	margin: 0;
	margin-top: 15px;
	padding: 10px 15px;
}
.form-aggreement{
	margin-bottom: 15px;
}
.form-aggreement p{
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}
.wpcf7-form > label p{
	margin-bottom: 2px;
}

/*--------------------------------------------------------------
## styled checkbox
--------------------------------------------------------------*/
.styled-checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.styled-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 18px;
  width: 18px;
  top: 2px;
  left: 0;
  margin: 0;
}
.styled-checkbox .checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
	border: 1px solid #dadada;
	background-color: #ffffff;
}
.styled-checkbox:hover input ~ .checkmark {
  /*background-color: #ccc;*/
}
.styled-checkbox input:checked ~ .checkmark {
  /*background-color: #2196F3;*/
}
.styled-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.styled-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.styled-checkbox .checkmark:after {
	content: "";
  left: 3px;
  top: 3px;
  width: 10px;
  height: 10px;
  background-color: #920000;
}

/*--------------------------------------------------------------
## popups
--------------------------------------------------------------*/
.popup{
	font-family: "Exo 2";
}
.fancybox-content{
	padding: 30px;
	padding-top: 0;
}
.fancybox-button{
	color: #fff;
}
.fancybox-button svg{
	opacity: 1;
	transition: .2s ease-in-out;
	color: #fff;
}
.fancybox-button:hover svg{
	color: #b20000;
}


/*--------------------------------------------------------------
## footer
--------------------------------------------------------------*/
.footer{
	background: #F7F7F7;
  border-top: 5px solid #EDEDED;
  padding: 30px;
}
.footer-topline{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}
.footer-topline-left{
	margin-right: 15px;
	min-width: 290px;
}
.footer-advantages{
	display: flex;
	align-items: center;
}
.footer-advantages-item{
	text-align: center;
	padding: 0 24px;
	border-right: 5px solid #EDEDED;
}
.footer-advantages-item:last-of-type{
	border-right: 0;
	padding-right: 0;
}
.footer-advantages-item p{
	font-size: 14px;
}
.footer-desc p{
	font-size: 14px;
	line-height: 1.3;
}
.footer-bottomline{
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 5px solid #ededed;
	padding-top: 15px;
}
.footer-copy{
	font-size: 14px;
  line-height: 1.3;
}

/*--------------------------------------------------------------
## page or post view
--------------------------------------------------------------*/
.entry-title,
.page-title{
	margin: .67em 0;	
}
.post-thumbnail{
	line-height: 0;
	margin: 1em 0;
	display: block;
	/*box-shadow: 0 0 5px rgba(0, 0, 0, .5);*/
	opacity: 1;
	overflow: hidden;
	transition: .4s ease-in-out;
}
.post-thumbnail:hover{
	opacity: .5;
}
.post-thumbnail:hover img{
	transform: scale(1.05);
}
.post-thumbnail img{
	width: 100%;
	transition: .4s ease-in-out;
}
.entry-more{
	display: flex;
	justify-content: flex-end;
}

.table-wrapper{
	overflow-x: auto;
}
.wp-block-table td{
	padding: 10px;
	line-height: 1.2;
}
.wp-block-table.is-style-stripes{
	text-align: center;
	margin: 0 -2px;
	margin-bottom: 30px;
	border: 0;
}
.wp-block-table.is-style-stripes td{
	font-weight: bold;
	border: 2px solid #fff;
}
.wp-block-table.is-style-stripes tr td:nth-child(odd){
	background: #e3e3e3;
}
.wp-block-table.is-style-stripes tr td:nth-child(even){
  background: #f2f2f2;
}
.wp-block-table.is-style-stripes tr td:first-of-type{
	width: 270px;
}

/*--------------------------------------------------------------
## sale-for-call
--------------------------------------------------------------*/
.sale-for-call{
	background-color: #353535;
	padding: 15px;
	text-align: center;
}
.sale-for-call-title{
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
	border-bottom: 1px dashed #fff;
	padding-bottom: 15px;
	margin-bottom: 15px;
	text-transform: uppercase;
  font-weight: bold;
}
.sale-for-call .btn{
	width: 100%;
}

/*--------------------------------------------------------------
## sidebar
--------------------------------------------------------------*/
.widget-title{
	font-size: 20px;
	padding: 15px;
	border-bottom: 1px solid #EDEDED;
	line-height: 1.2;
	text-transform: uppercase;
}
.sidebar-menu li.menu-item{
	position: relative;
	line-height: 1.2;
}
.sidebar-menu > ul > li.menu-item{
	padding-left: 0;
}
.sidebar-menu li.menu-item:before{
	content: "- ";
	position: absolute;
	top: 0;
	left: 15px;
}
.sidebar-menu > ul > li.menu-item:before{
	display: none;
}
.sidebar-menu > ul > li.menu-item:after{
	content: "";
	width: 5px;
	height: 5px;
	position: absolute;
	top: 19px;
	right: 0;
	background-color: #b20000;
}
.sidebar-menu > ul > li > a{
  color: #B20000;
  font-size: 16px;
  padding: 10px 15px;
}
.sidebar-menu > ul > li.menu-item-has-children > a{
	pointer-events: none;
}
.sidebar-menu > ul > li.menu-item-3097 > a,
.sidebar-menu > ul > li.menu-item-5953 > a{
	pointer-events: all;
}
.sidebar-menu a{
	color: #242424;
  font-size: 14px;
  padding: 5px;
	border-bottom: 1px solid #EDEDED;
	display: block;
}
.sidebar-menu ul.sub-menu li.menu-item a{
	padding-left: 30px;
}
.sidebar-menu li.menu-item a:hover,
.sidebar-menu li.current-menu-item a{
  color: #B20000;
  text-decoration: underline;
}

.sidebar-banner{
	margin-top: 15px;
  background-color: #353535;
  padding: 15px;
}
.sidebar-banner a{
	line-height: 0;
	display: block;
}
.sidebar-banner img{
	width: 100%;
}

/*--------------------------------------------------------------
## breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs{
	margin-bottom: 15px;
}
.breadcrumbs span{

}

/*--------------------------------------------------------------
## archive.php
--------------------------------------------------------------*/
.category article.post{
	margin-bottom: 30px;
	border-bottom: 2px dashed rgb(236, 234, 235);
  padding-bottom: 30px;
}

/*--------------------------------------------------------------
## news-widget
--------------------------------------------------------------*/
.nws-item{
}
.nws-item .post-thumbnail{
	box-shadow: none;
}
.nws-item .post-thumbnail img{
	max-height: 150px;
}
.news-widget ul.slick-dots{
	position: static;
	transform: none;
	margin-top: 15px;
}
.news-widget .slick-dots li button{
	border-color: #bdbdbd;
}
.nws-item-title{
	font-size: 14px;
	line-height: 1.3;
	display: block;
	color: #272727;
}

/*--------------------------------------------------------------
## social-widget
--------------------------------------------------------------*/
.social-widget{
	
}
.social-widget-items{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 15px;
}
.social-widget-items a{
	width: calc(100% / 2 - 7.5px);
}
.social-widget-items a:hover{
	opacity: .8;
}

/*--------------------------------------------------------------
## reward-widget
--------------------------------------------------------------*/
.reward-widget{
	
}
.reward-widget-items{
	margin-top: 15px;
}
.reward-widget-items img{
	margin: 0 auto;
	display: block;
	margin-bottom: 15px;
}
.reward-widget-items img:last-of-type{
	margin-bottom: 0;
}

/*--------------------------------------------------------------
## cert-widget
--------------------------------------------------------------*/
.cert-widget-items{
	margin-top: 10px;
}
.cert-widget-item:nth-child(n+2){
	display: none;
}

/*--------------------------------------------------------------
## pagination
--------------------------------------------------------------*/
.posts-navigation{
	display: none;
}
.pgntn-page-pagination-intro, 
.pgntn-page-pagination a, 
.pgntn-page-pagination .current{
	padding: 0.1rem 0.5rem;
}
.pgntn-page-pagination a:hover{
	background: #BBB !important;
  color: #FFF !important;
}

/*--------------------------------------------------------------
## price btn
--------------------------------------------------------------*/
.wp-block-file.price-btn{
	display: flex;
	align-items: center;
	justify-content: center;
}
.wp-block-file.price-btn a{
	font-size: 0;
}
.wp-block-file.price-btn .wp-block-file__button{
	font-size: 0;
	background-image: url(img/price-dileram.png);
	width: 300px;
	height: 103px;
	background-position: center;
	background-size: cover;
	background-color: transparent;
}

/*--------------------------------------------------------------
## accordeon
--------------------------------------------------------------*/
.accordeon-item{
	border: 1px solid #e5e5e5;
	margin-bottom: 5px;
}
p.accordeon-item-title{
	padding: 10px 15px;
	color: #b20000;
	cursor: pointer;
	margin-bottom: 0;
	line-height: 1.3;
}
p.accordeon-item-title:hover,
.accordeon-item.active .accordeon-item-title{
	background-color: #eee;
  color: #242424;
}
.accordeon-item-content{
	display: none;
	padding: 15px;
}
.wp-block-table.price-table tr:first-of-type td{
	background-color: #b20000;
	color: #fff;
}
.accordeon-item-content *:last-child{
	margin-bottom: 0;
}

/*--------------------------------------------------------------
## comments
--------------------------------------------------------------*/
.testimonial-success{
	margin-top: 30px;
	border: 2px solid green;
}
.testimonial-success p{
	font-size: 18px;
  text-align: center;
}
.testimonial-content{
	border-left: 3px solid #b20000;
  padding-left: 20px;
}
.testimonial-content iframe{
	height: 350px;
}
.strong-view ul.simplePagerNav{
	list-style-type: none;
}
.strong-view ul.simplePagerNav li:before{
	display: none;
}
.strong-view ul.simplePagerNav li a{
	color: #787878;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  margin-left: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  padding: 0.3rem 0.5rem !important;
  display: inline-block;
}
.strong-view ul.simplePagerNav li.currentPage a{
	background-color: #b20000 !important;
  color: #ffffff !important;
}
.strong-form .form-field{
	margin-bottom: 0 !important;
}
.strong-form .form-field.wpmtst-submit{
	margin-top: 1em !important;
}
.strong-form .strong-form-inner{
	padding: 0;
}
.strong-view.strong-form{
	margin-bottom: 30px;
}

/*--------------------------------------------------------------
## wp-block-image
--------------------------------------------------------------*/
.wp-block-image figcaption{
	font-size: 15px;
}
@media (min-width: 600px){
	.wp-block-columns .wp-block-column{
		flex-basis: calc(50% - 15px);
	}
	.wp-block-columns .wp-block-column:not(:last-child) {
	  margin-right: 7.5px;
	}
	.wp-block-columns .wp-block-column:not(:first-child) {
	  margin-left: 7.5px;
	}
	.wp-block-columns .wp-block-column:nth-child(even) {
	  margin-left: 7.5px;
	}
}

/*--------------------------------------------------------------
## template-print.php
--------------------------------------------------------------*/
.print-preview{
	margin-bottom: 30px;
}
.print-nav ul{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	max-height: 120px;
}

/*--------------------------------------------------------------
## branch preview
--------------------------------------------------------------*/
.branch-preview{
	margin-bottom: 30px;
}
.branch-nav ul{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	max-height: 320px;
}

/*--------------------------------------------------------------
## mobile
--------------------------------------------------------------*/
/* .mobile-panel */
.mobile-panel-btn{
  display: none;
}
.mobile-panel{
  display: none;
}
.body-wrapper.m-panel:after,
.body-wrapper.m-panel .header-center:after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.5);
  z-index: 1;
}
/* /.mobile-panel */

.wpmtst-captcha{
	display: none;
}