/**
 * Table of Contents
 *
 * 1.0 - Reset
 * 2.0 - Typography
 * 3.0 - Elements
 * 4.0 - Forms
 * 5.0 - Links
 * 6.0 - Alignments
 * 7.0 - Media
 *    7.1 - Captions
 *    7.2 - Galleries
 */


/** 1.0 - Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

a, input, select, textarea{vertical-align:top; outline:none !important;}
textarea{resize: noservice_itemne;}

html{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after{
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body{
	background: #eaeaea;
}

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

ol,
ul{
	list-style: none;
}

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

caption,
th,
td{
	font-weight: normal;
	text-align: left;
}

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

blockquote,
q{
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a{
	color:#333;
	-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
			transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:focus,
a:hover,
a:active{
	outline: 0 !important;
	text-decoration: none;
}

.contentarea p a:hover,
.single-post-content p a:hover{
	text-decoration:underline;
}

a img{
	border: 0;
}


/** 2.0 Typography */

body{
	line-height:26px;
	font-size:14px;
}
button,
input,
select,
textarea{
	color: #333;
	font-size: 16px;
	line-height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6{
	clear: both;
	margin:0 0 20px;
	text-transform:none;
	font-weight: 400;
	line-height:1.5;
	color:#333;
	letter-spacing:0;
}

h4,
h5,
h6{
	font-weight: 600;
}

.contentarea h1,
.single-post-content h1,
.contentarea h2,
.single-post-content h2,
.contentarea h3,
.single-post-content h3,
.contentarea h4,
.single-post-content h4,
.contentarea h5,
.single-post-content h5,
.contentarea h6,
.single-post-content h6{
	font-weight:300;
}

p{
	margin-bottom: 30px;
}

b,
strong{
	font-weight: 700;
}

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


blockquote{
	position:relative;
	margin:0 0 30px;
	padding:30px;
	font-weight:400;
	line-height:40px;
	font-size:28px;
}
blockquote p{margin-bottom: 1.6667em;}
blockquote > p:last-child{margin-bottom: 0;}

blockquote cite,
blockquote small{
	padding:3px 0 0;
	text-transform:uppercase;
	font-style:normal;
	font-weight:400;
	color: #333;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.6;
}
blockquote small:before{
	display:none;
}

blockquote em,
blockquote i,
blockquote cite{
	font-style: normal;
}

blockquote strong,
blockquote b{
	font-weight: 400;
}

address{
	font-style: italic;
	margin: 0 0 1.6em;
}

code,
kbd,
tt,
var,
samp,
pre{
	font-family: Inconsolata, monospace;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre{
	background-color: transparent;
	background-color: rgba(0, 0, 0, 0.01);
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, 0.1);
	line-height: 1.2;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 0.8em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

abbr[title]{
	border-bottom: 1px dotted #eaeaea;
	border-bottom: 1px dotted rgba(51, 51, 51, 0.1);
	cursor: help;
}

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

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

sup{
	bottom: 1ex;
}

sub{
	top: .5ex;
}

small{
	font-size: 75%;
}

big{
	font-size: 125%;
}


/* Dropcap */
span.dropcap{
	float:left;
	display:block;
	padding-right:6px;
	font-weight:400;
	line-height:60px;
	font-size:48px;
	color:#333;
}



/** 3.0 Elements */

hr{
	background-color: #eaeaea;
	background-color: rgba(51, 51, 51, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 1.6em;
}

ul,
ol{
	margin: 0 0 1.6em 1.3333em;
}

ul{
	list-style: disc;
}

ol{
	list-style: decimal;
}

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

.contentarea ul,
.single-post-content ul{
	list-style:none;
}
.contentarea ul > li,
.single-post-content ul > li{
	position:relative;
}
.contentarea ul > li:before,
.single-post-content ul > li:before{
	content:'';
	position:absolute;
	left:-20px;
	top:14px;
	width:10px;
	height:3px;
}

.contentarea ol,
.single-post-content ol{
    counter-reset:li;
	list-style:none;
}
.contentarea ol > li,
.single-post-content ol > li{
    position:relative;
}
.contentarea ol > li:before,
.single-post-content ol > li:before {
    content:counter(li) '.';
    counter-increment:li;
    position:absolute;
    top:0;
    left:-20px;
	font-weight:700;
}

dl{
	margin-bottom: 1.6em;
}

dt{
	font-weight: bold;
}

dd{
	margin-bottom: 1.6em;
}

table,
th,
td{
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, 0.1);
}

table{
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.6em;
	table-layout: fixed; /* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td{
	font-weight: normal;
	text-align: left;
}

th{
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td{
	border-width: 0 1px 1px 0;
}

th, td{
	padding: 0.4em;
}

img{
	-ms-interpolation-mode: bicubic;
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: top;
	outline:0 !important;
	border:0;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

figure{
	margin: 0;
}

del{
	opacity: 0.8;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder{ opacity:1 !important;}
:-moz-placeholder{opacity:1 !important;}
::-moz-placeholder{ opacity:1 !important;}
:-ms-input-placeholder{ opacity:1 !important;}


.sticky{}
.commentlist .bypostauthor { }



/** 4.0 Forms */

button,
input,
select,
textarea{
	background-color: #f7f7f7;
	border-radius: 0;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

select{
	height:40px;
	border:0;
	background-color:#f5f5f5;
}

label{
	padding-bottom:5px;
}

button,
input{
	line-height: normal;
}

input,
textarea{
	padding:9px 10px;
	line-height:30px;
	font-size:14px;
	color:#333;
	border:1px solid #ededed;
	box-shadow:none;
	background:#fff;
	transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

input:focus,
textarea:focus{
	background: #fff;
	color: #333;
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled]{
	cursor: default;
	opacity: .5;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"]{
	-webkit-appearance: button;
	border: 0;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	padding: 20px 10px;
	letter-spacing:2px;
	background-color:#5d3c2d;
	-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
			transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus{
	outline: 0;
	color:#fff;
}

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

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

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

textarea{
	overflow: auto;
	vertical-align: top;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus{
	outline: 0;
}

.post-password-form{
	position: relative;
}

.post-password-form label{
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: inline-block;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
	text-transform: uppercase;
}

.post-password-form input[type="submit"]{
	padding: 9px 10px;
}

input[type="checkbox"],
input[type="radio"]{
	padding: 0;
}



/** 6.0 Alignments */

.alignleft{
	display: inline;
	float: left;
}

.alignright{
	display: inline;
	float: right;
}

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

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft{
	margin: 1.3em 0.65em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright{
	margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter{
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter{
	margin-bottom: 1.9em;
}


/** 7.0 Media */

.site .avatar{
	border-radius: 50%;
}

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

audio,
canvas{
	display: inline-block;
}

embed,
iframe,
object,
video{
	margin-bottom: 1.6em;
	max-width: 100%;
	vertical-align: middle;
	border:0;
}

p > embed,
p > iframe,
p > object,
p > video{
	margin-bottom: 0;
}

.wp-audio-shortcode,
.wp-video,
.wp-playlist.wp-audio-playlist{
	font-size: 15px;
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 1.6em;
}

.wp-playlist.wp-playlist{
	padding-bottom: 0;
}

.wp-playlist .wp-playlist-tracks{
	margin-top: 0;
}

.wp-playlist-item .wp-playlist-caption{
	border-bottom: 0;
	padding: 10px 0;
}

.wp-playlist-item .wp-playlist-item-length{
	top: 10px;
}


/** 7.1 Captions */

.wp-caption{
	margin-bottom: 1.6em;
	max-width: 100%;
}

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

.wp-caption-text{
	color: #707070;
	color: rgba(51, 51, 51, 0.5);
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 20px;
	padding: 5px 0;
}


/** 7.2 Galleries */
.gallery:after {
	display: table;
	content: "";
	clear: both;
}
.single-post-content .gallery{
	margin-left:-15px;
	margin-right:-15px;
}
.gallery-item{
	position:relative;
	display: inline-block;
	padding: 0 15px 30px;
	text-align: center;
	vertical-align: top;
	width: 100%;
	
	float: left; /* без этого не поехала */
}
.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-icon img{margin: 0 auto;}

@media only screen and (max-width: 768px) {
	.gallery-columns-2 .gallery-item{max-width: 100%;}
}

.gallery-columns-2 .gallery-item:nth-child(2n+1){
	clear: both;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption{
	display: none;
}

.gallery-item .heading_font {
	margin-bottom: 10px;
	text-align: center;
}
.gallery-item p {
	text-align: left;
}



/* Custom styles */
.phone-numbers {
	position: fixed;
	right: -45px;
	width: 90px;
	z-index: 1000;
}
.phone-numbers span {
	position: relative;
	display: block;
	height: 90px;
	cursor: pointer;
	line-height: 90px;
	color: #fff;
	background: rgba(222,48,48,1);
	z-index: 1001;
	
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
			border-radius: 50%;
	
	-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
			transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.phone-numbers.open span,
.phone-numbers span:hover {
	background: rgba(204,22,9,1);
}
.phone-numbers i {
	font-size: 35px;
	margin-left: 12px;
	margin-top: 30px;
}
.phone-numbers .dropdown-menu {
	right: 60px;
	left: auto;
	top: 65%;
}
.dropdown-menu>li>a {
	font-weight: bold;
	font-size: 16px;
}
.dropdown-menu>li>a.call_me {
	margin: 0 2px;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 13px;
	color: #fff;
	background-color: rgba(62,117,2,.6);
}
.dropdown-menu>li>a.call_me:hover {
	background: rgba(62,117,2,1);
}
/*
.phone-number {
	position: absolute;
	top: 20px;
	right: 5px;
	width: 57px;
	height: 57px;
	background-image: url(../images/icon-callme.png);
	background-position: center;
	background-repeat: no-repeat;
	font-size: 30px;
	line-height: 40px;
	color: #f00;
	text-align: center;
	text-decoration: none;
	border: 2px solid #f00;
	
	-webkit-box-shadow: 0 0 0 #000;
	   -moz-box-shadow: 0 0 0 #000;
			box-shadow: 0 0 0 #000;
	
	-webkit-border-radius: 50px;
	   -moz-border-radius: 50px;
			border-radius: 50px;
	
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
			transition: all 0.2s linear;
}*/
/*
.phone-number:active,
.phone-number:focus {
	color: #f00;
}
.phone-number:hover {
	width: 50px;
	height: 50px;
	top: 5px;
	right: 0;
	line-height: 50px;
	color: #0f0;
	border-color: #0f0;
	
	-webkit-box-shadow: 0 0 10px #000;
	   -moz-box-shadow: 0 0 10px #000;
			box-shadow: 0 0 10px #000;
}*/

#header_mobile_wrap .phone-number {
	right: 70px;
	top: -13px;
}
/*
#header_mobile_wrap .phone-number:hover,
#header_mobile_wrap .phone-number:active {
	top: -10px;
	right: 65px;
}*/


.descr_content_top {
	margin-bottom: -200px;
	margin-top: -300px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	float: none;
	background-color: #fff;
}

.descr_content_top .post-content {
	padding-left: 8.33333333%;
	padding-right: 8.33333333%;
	padding-bottom: 30px;
}

#blog_list.blog_list_style_masonry_top_image .descr_content_top .post-title {
	margin-left: 0;
	margin-right: 0;
	padding-left: 8.33333333%;
	padding-right: 8.33333333%;
	border-color: #397201 !important;
}


/* contacts block on the main page */
.contacts_block {
	background-color: #e9eef4;
}
.contacts_block .page_title h2 {
	text-transform: uppercase;
	color: #005aab;
	padding-bottom: 80px;
	padding-top: 200px;
}

.border_btn {
	font-size: 18px;
	color: #8a8e92;
	border: 3px solid #005aab;
	background: none;
}
.border_btn:hover,
.border_btn:focus {
	background: none;
}

.map {
	margin-top: 35px;
	margin-bottom: 35px;
}


/* modal form for call me */
.recaptcha {
	cursor: pointer;
}
.modalCallMe p {
	margin: 0 0 10px;
}
.modalCallMe input[type="text"],
.modalCallMe input[type="email"],
.modalCallMe textarea {
	width: 100%;
}
.modalCallMe input.antispam {
	width: 100px;
	padding: 0 10px;
	text-align: center;
}
.modalCallMe input[type="submit"] {
	padding: 10px 30px;
}



/* Filters */
.prop_item {
	margin-bottom: 10px;
	color: #666666;
}
.prop_item .name {
	display: block;
	font-weight: bold;
	padding: 0;
	border-bottom: 1px solid #E9E9E9;
}
.prop_item .prop {
	display: inline-block;
	margin-right: 20px;
}
.prop_item .prop label {
	padding-left: 10px;
	padding-bottom: 0;
	margin-bottom: 0;
	font-size: 13px;
}

button.default,
input[type="button"].default,
input[type="submit"].default {
	display: block;
	width: 100%;
	height: 50px;
	line-height: 50px;
	padding: 0 20px;
}
button.blue,
input[type="button"].blue,
input[type="submit"].blue {
	color: #fff;
	background-color: #397201;
}
button.blue:hover,
input[type="button"].blue:hover,
input[type="submit"].blue:hover {
	color: #fff;
	background-color: #5d3c2d;
}

.btn_center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* slick slider */
.pull-left .slider-for,
.pull-left .slider-nav,

.gallery-block .slider-for-photo,
.gallery-block .slider-nav-photo {
	margin-bottom: 20px;
}
.pull-left .slider-for .slick-slide img,
.gallery-block .slider-for-photo .slick-slide img {
	width: auto;
	margin: auto;
}
.pull-left .slider-nav .slick-slide .bg,
.gallery-block .slider-nav-photo .slick-slide .bg {
	overflow: hidden;
	margin: 0 8px;
	border: 1px solid #e9e9e9;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.pull-left .slider-nav .slick-slide img,
.gallery-block .slider-nav-photo .slick-slide img {
	width: auto;
	margin: auto;
	cursor: pointer;
}

@media only screen and (max-width:991px){
	.gallery-block {
		width: 100%;
	}
}


/* Хлебные крошки */
#pway,
#pway a {
	font-size: 11px;
	color: #999;
}



.description {
	font-size: 13px;
	line-height: 18px;
	color: #666666;
}



.row.cms_pages.pagination {
	display: block;
	clear: both;
	padding-bottom:20px;
}
@media only screen and (max-width: 991px) {
	#blog_list.blog_list_style_masonry_top_image > .row,
	#blog_list.blog_list_style_masonry_top_image .col-md-9 .row{
		margin-bottom: 20px;
	}
}


/* форма в сайдбаре */
aside.widget input {
	padding: 0 20px;
}

aside.widget .img-antispam:after {
	display: table;
	clear: both;
	content: "";
}
aside.widget .img-antispam a,
aside.widget .img-antispam img,
aside.widget .img-antispam input {
	display: inline-block;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
aside.widget .img-antispam input {
	width: 142px;
	margin-right: 0;
	padding: 0 10px;
	text-align: center;
}

aside.widget input::-webkit-input-placeholder{opacity:.6 !important;}
aside.widget input:-ms-input-placeholder{opacity:.6 !important;}
aside.widget input::-moz-placeholder{opacity:.6 !important;}
aside.widget input:-moz-placeholder{opacity:.6 !important;}

aside.widget textarea::-webkit-textarea-placeholder{opacity:.6 !important;}
aside.widget textarea:-ms-textarea-placeholder{opacity:.6 !important;}
aside.widget textarea::-moz-placeholder{opacity:.6 !important;}
aside.widget textarea:-moz-placeholder{opacity:.6 !important;}




/* кастом для главной странницы */
#blog_list.main_page,
#blog_list.main_page article.post,
#blog_list.main_page .descr_content_top {
	margin-bottom: 0;
}
.main_page #posts_carousel > .container {
	padding-top: 0;
}



/* форма в контентной области */
.column {
	float: left;
	width: 100%;
}
.pull-left form {}
.pull-left form textarea {
	width: 100%;
	height: 74px;
	resize: none;
}


/* футер */
footer {
	position: relative;
	margin-top: 40px;
	font-size: 14px;
	line-height: 18px;
	font-family: Open Sans, Arial, Helvetica, sans-serif;
}
/*footer:before {
	position: absolute;
	display: block;
	content: "Красиво";
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	font-size: 200px;
	line-height: 200px;
	font-weight: bold;
	color: rgba(255,255,255,.3);
}*/
footer p,
footer a,
footer span,
footer .heading_font,
footer .copyright {
	color: #fff;
	font-size: 16px;
	line-height: 20px;
	font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif
}
footer a {
	text-decoration: none;
}
footer a:hover,
footer a:hover span {
	color: #6daf2e;
}
footer .container .row > div {
	border-left: 1px solid rgba(51,51,51,.1);
}
footer .container .row > div:first-child {
	border-width: 0;
}
@media only screen and (max-width: 991px) {
	footer .container .row > div:first-child {
		border-width: 1px;
	}
}
footer #block_44 p {
	font-size: 24px;
	line-height: 30px;
	font-weight: bold;
	/*color: rgba(51,51,51,.6);*/
}

footer #sitemap a {
	font-size: 13px ;
}


.modal-header {
	border: none;
}
.modal-header .widget-title {
	margin-bottom: 0;
}