/*
Theme Name: studioline
Author: Leonid Mokryy

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/
@font-face {
    font-family: 'vijayaregular';
    src: url('vijaya-webfont.eot');
    src: url('vijaya-webfont.eot?#iefix') format('embedded-opentype'),
         url('vijaya-webfont.woff2') format('woff2'),
         url('vijaya-webfont.woff') format('woff'),
         url('vijaya-webfont.ttf') format('truetype'),
         url('vijaya-webfont.svg#vijayaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/

* { margin: 0; padding: 0; }

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
margin: 0;
}

article {
padding:0;
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;
}


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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	text-align:center;
	padding: 0;
	margin: 1.5% 0 1% 0;
	font: 1.55em Tahoma, serif;
	color: #ab9c7d;
	font-style: italic;
}

h2.comments-title {
	text-align:center;
	padding: 0;
	margin: 1.5% 0 4% 0;
	font: 1.25em Tahoma, serif;
	color: #ab9c7d;
	font-style: italic;
	text-decoration:underline;
}


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;
}

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;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

body { 
font: 1em Tahoma, serif;
background: white;
line-height: 1.5;
color: #404040;
 }

button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}


#main-content p, div.aiowps-captcha-equation strong {
text-align:justify;
margin-top: 1%;
padding: 0 1% 0 1%;
}

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%;
}

/*--------------------------------------------------------------
3.0 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;
}


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%;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
input[type="file"].wpcf7-file {
background:#fff;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="file"] {
	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);
}

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

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

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

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

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/

a {outline:none;}
a:link {color:#737677}      /* unvisited link */
a:visited {color:#737677}
/* a:visited {color:#9a9ea0} */  /* visited link */
a:hover {color:#000000}  /* mouse over link */
a:active {color:#000000}  /* selected link */
a.post-edit-link {display:block; float: right; margin:1%}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle {
	display: none;
}

/* @media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
} */

.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%;
}

/*--------------------------------------------------------------
6.0 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:hover,
.screen-reader-text:active,
.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. */
}

/*--------------------------------------------------------------
7.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;
}

/*--------------------------------------------------------------
8.0 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;
}

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

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

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

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

#main-content {
margin: 0 auto;
padding: 10px 0 0 0;
width: 100%;
border-top: 1px solid #ab9c7d;
border-bottom: 1px solid #ab9c7d;
font: 0.84em Arial, Tahoma, serif;
min-height: 100%;
overflow: hidden;
}

div.wpcf7 {
margin: 0 auto;
width: 80%;
}

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

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

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

.page-content,
.entry-content,
.entry-summary {

}

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

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

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

/* .bypostauthor {
	display: block;
} */

/*--------------------------------------------------------------
11.0 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;
}

/*--------------------------------------------------------------
12.0 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%;
}

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

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
	border: 1px solid #fff;
    border-radius: 10px;
}

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

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

/*--------------------------------------------------------------
12.2 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;
}


/* clearfix */
.edit-link:after { 
content: " ";
clear: both;
display: block; }
/* END clearfix */



#top-menu, header, footer, #main-content {
clear: both;
}

/* Shadow */
 #menu-topmenu li.current-menu-item a   {
 color: #7f6c44;
 box-shadow: 0 10px 10px -10px rgba(127, 108, 68, 0.5);  
 }

#menu-topmenu a {
  white-space: nowrap;
  padding: 5px;
  display: inline-block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
  color: #ab9c7d;
}
#menu-topmenu a:hover, #menu-topmenu a:focus, #menu-topmenu a:active {
  box-shadow: 0 10px 10px -10px rgba(127, 108, 68, 0.5);
  color: #7f6c44;
}


#page-wrap {
margin: 5px auto 10px;
max-width: 1000px;
min-width: 680px;
width: 74%;
background: white;
}

#masthead{
position:relative;
margin: 0 auto;
width: 100%;
border-bottom: 1px solid #ab9c7d;
padding-bottom: 0;
}

#logo {
text-align: center;
margin: 0 auto;
width: 100%;
}

#translation {
position: absolute;
right: 10px;
bottom: 25px;
width: 100%;
text-align: right;
}

#social {
position: absolute;
left: 10px;
bottom: 10px;
width: 100%;
text-align: left;
z-index:2;
}


nav ul {
margin: 0; /* Обнуляем значение отступов */
padding: 0;
width: 100%;
}

nav ul li {
margin: 0;
padding: 0;
width: 12.5%;
display: inline-block; /* Отображать как блочный элемент */
text-align: center;
float: left;
font: 0.75em 'Tahoma Regular', Tahoma, serif;
color: #9a9ea0;
text-transform: uppercase;
}

.entry-content p img.wp-image-122{
border: 1px solid #ab9c7d;
width:49%!important;
margin: 1.5%;
border-radius: 10px;
float: right;
}

.entry-content p img{
border: 1px solid #fff;
border-radius: 10px;
}


#colophon {
text-align: center;
font: 0.75em Tahoma, serif;
padding-top: 5px;
}

#main-content p#submit_form {
text-align:center;
padding-left:20px;
}

#main-content img.ajax-loader {
float:none;
padding: 0;
margin: 0 0 0 4px;
}

#post-2 h1.entry-title, #post-26 h1.entry-title, #post-2294 h1.entry-title {
display:none;
}

article#post-2 {
margin-top: 2.5%;
}

#our-contacs {
float: right;
width: 50%;
padding-left: 10%;
padding-top: 6.2%;
}

#our-contacs p{
text-align: left;
}

#ask-form {
float: left;
width: 50%;
}

#contacts {
padding: 0 0.52% 0 0.52%;
}

#contacts p{
padding: 0;
margin-bottom: 3.5%;
}

p#submit_form {
margin-bottom: 1%;
}

input.wpcf7-text {
width: 90%;
height: 30px;
} 

article#post-26 #metaslider_container_46, 
article#post-160 #metaslider_container_106, 
article#post-154 #metaslider_container_107, 
article#post-158 #metaslider_container_108,
article#post-148 #metaslider_container_109,
article#post-152 #metaslider_container_110,
article#post-162 #metaslider_container_111{
width: 80%;
margin: 1% auto 2%;
}

article#post-26, 
article#post-160, 
article#post-154, 
article#post-158,
article#post-148,
article#post-152,
article#post-162,
article#post-824,
article#post-943{
width: 100%;
margin: 1% auto 0;
padding-bottom: 0;
}

article#post-6, article#post-733 {
width: 95%;
margin: 0 auto;
}

#post-6 h1 {
text-align:center;
padding: 2% 0 2% 0;
margin: 0;
/* font: 2.4em 'vijayaregular', Tahoma, serif; */
font: 1.9em Times New Roman, Tahoma, serif;
font-style:italic;
color: #ab9c7d;
}

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

ul.hr li {
display: table-cell;
margin: 0;
padding: 5px;
width: 12.5%;
text-align: center;
border-top: 1px solid #ab9c7d;
height: 100%;
vertical-align:middle;
}

#active a{
color: #7f6c44;
text-decoration: underline;
}

ul.hr li a {
text-decoration: none;
color: #ab9c7d;
font-weight: bold;
}

ul.hr li a:hover, ul.hr li a:focus, ul.hr li a:active {
color: #7f6c44;
}

article {
padding-bottom: 2%;
margin-bottom: 2%;
}

#footleft {
margin-top: 0.8%;
padding-left: 3%;
display:block;
float:left;
text-align:left;
/* min-width:607px; */
}

#footright {
margin-top: 0.8%;
padding-right: 3%;
display:block;
float:right;
}

#submitcontact {
clear: both;
}

p.slidedesc {
width: 80%;
margin: 0 auto 1.5%;
}

body.blog div#secondary,
body.single-post div#secondary,
body.category div#secondary,
body.archive div#secondary,
body.tag div#secondary
{
float: left;
width: 25%;
padding: 1%;
padding-top: 1.5%;
}

body.blog div#primary,
body.single-post div#primary,
body.category div#primary,
body.archive div#primary,
body.tag div#primary 
{
float: right;
width: 75%;
border-left: 1px solid #ab9c7d;
padding: 1%;
margin-bottom: 1%;
}

h1.widget-title {
padding-bottom:6%;
}

article.post h1.entry-title {
padding-bottom:1%;
}

aside.widget {
padding-bottom: 4%;
}

span.tags-links {
display:block;
padding: 0.5%;
}

span.comments-link {
display:block;
padding: 0.5%;
}

span.cat-links {
display:block;
padding: 0.5%;
}

span.posted-on {
display: block;
/* padding: 0.7%;
margin: 0.7%; */
height: 100%;
}

span.byline {
display: block;
/* padding: 0.7%;
margin: 0.7%; */
height: 100%;
}

div.entry-meta {
padding:1%;
float:right;
text-align:left;
border: 1px solid #ededed;
margin-bottom: 1%;
border-radius:5px;
}

a.more-link {
display: block;
float: right;
margin: 1%;
}

article.post {
border-bottom: 1px solid #ab9c7d;
}

div.entry-content {
clear:both;
}

aside.widget {
border-bottom: 1px solid #ab9c7d;
}

article.post footer.entry-footer {
border: 1px solid #ededed;
border-radius:5px;
margin: 0;
padding: 1%;
}

ol.comment-list, ol.children{
list-style:none;
}

ol.comment-list {
margin: 0;
padding: 0;
}

div.comment-content {
margin: 0 auto;
padding: 0;
width: 90%;
background-color: #f9f9f9;
min-height: 30px;
border-radius:15px;
}

#main-content div.comment-content p {
padding:1.5%;
margin:0;
}

div.comment-metadata {
display:block;
float: left;
padding-top:3%;
padding-left:2%;
}

div.reply {
text-align:right;
width: 80%;
margin: 0 auto;
}

div.group-comments {
margin: 0 auto;
width: 90%;
}

article.comment-body footer.comment-meta {
margin-left:10%;
margin-bottom:1.5%;
height:100%;
overflow:hidden;
}

div.comment-author{
display:block;
float:left;
}

div#respond {
width:85%;
margin:auto;
margin-top:4.5%;
margin-bottom:4.5%;
}

div#respond h3{
text-align:center;
margin-bottom:4%;
color: #ab9c7d;
}

h3#reply-title a#cancel-comment-reply-link:before {
content: '\A';
white-space: pre;
}

h3#reply-title a#cancel-comment-reply-link {
font-size:0.95em;
}

ul.nostyle {
padding: 0;
margin: 1% 0 5% 0;
}

h1.entry-title a {
color: #ab9c7d;
}

h1.entry-title a:hover,
h1.entry-title a:focus {
color:  #7f6c44;
}

#main-content p.form-submit {
text-align: center;
}

span.required {
color: red;
}

div.comment-metadata time{
color: #ab9c7d;
}

p.comment-form-author,p.comment-form-email,p.comment-form-url {
overflow:hidden;
}

p.comment-form-author label,p.comment-form-email label,p.comment-form-url label{
float:left;
width: 13%;
text-align:left;
margin-right:0.6em;
padding-top:0.3em;
}

#main-content p.comment-notes {
padding-bottom:2%;
}

#main-content p.comment-form-comment {
padding-top:2%;
}

div.service-text {
width: 50%;
float:left;
}

article#post-1395 div.service-text {
width: 36%;
}

#main-content div.service-text p{
margin-top:2%;
}

div.service-menu {
margin-top:1%;
width: 49%;
float:right;
border-left: 1px solid #ab9c7d;
box-sizing: content-box;
}

article#post-1395 div.service-menu {
padding-left:2%;
width: 61%;
}

article#post-1411 div.service-menu {
border-left:none;
width: 100%;
}

article#post-1411 div.vert {
height:100%;
float:right;
width:45%;
text-align:center;
}

article#post-1411 div.vert1 {
height:100%;
float:left;
width:50.5%;
text-align:center;
border-right: 1px dashed #ab9c7d;
}

img#door-cat {
width: 210px;
height:210px;
}

article#post-355,
article#post-432,
article#post-449,
article#post-458,
article#post-452,
article#post-455,
article#post-1395,
article#post-1411,
article#post-2294{
width: 95%;
margin: 0 auto;
}

div.service-menu ul {
padding: 0;
margin: 0;
list-style-type: none;
}

div.service-menu ul li {
margin-top:1.5%;
overflow:hidden;
display:block;
width:100%;
height:100%;
}

div.service-menu ul li img{
width:35%;
margin-left:5%;
}

div.vert {
width:50%;
text-align:left;
float:right;
padding: 11% 0 9% 0;
margin-left:2%;
}

div#slider {
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
width: 85%;
margin: auto;
}

div.service-menu a {
font: 1em "Tahoma Regular",Tahoma,serif;
color: #ab9c7d;
text-decoration:none;
}

div.service-menu a:hover,div.service-menu a:focus,div.service-menu a:active {
color: #7f6c44;
}

#cur-service div.vert {
color: #7f6c44;
text-decoration:underline;
}

div#tit-port {
width: 85%;
margin: auto;
}

#plan {
width: 75%;
}

input.wpcf7-file[type="file"] {
width: 120%;
height: 30px;
margin: 0;
padding: 0;
}

select.wpcf7-select {
font: 0.9em Arial,Tahoma,serif;
}

section.error-404{
text-align: center;
}

#banners {
display: block;
float: left;
margin-top: 15px;
}

p.aiowps-captcha label {
display: block;
padding-top: 2%;
}
div#ngg-gallery-1396-1 {
margin-top:0px;
}

div#ngg-gallery-1396-1  .ngg-gallery-thumbnail img:hover{
background-color:#ab9c7d;
}

div#ngg-gallery-1396-1  .ngg-gallery-thumbnail img {
padding:2px;
}

.ngg-album-gallery-image-counter {
display: none;
}

article#post-2294 div.entry-content p{
background: #f7f6f6;
text-align: left;
}

div.wpcf7-validation-errors {
border: 1px solid #f00!important;
}

/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/
@media only screen and (max-width : 1090px)                          {

#footright {
margin-top: 3.8%; /* изменение */
padding-right: 3%;
display:block;
float:right;
}

#footleft {
margin-top: 1.8%; /* изменение */
padding-left: 3%;
display:block;
float:left;
text-align:left;
/* min-width:607px; */
}

#banners {
display: none; /* изменение */
float: left;
margin-top: 15px;
}
                                                                    }

@media only screen and (max-width : 1024px)							{

nav ul li {
margin: 0;
padding: 14px; /* изменение */
width: 25%; /* изменение */
display: inline-block; /* Отображать как блочный элемент */
text-align: center;
float: left;
font: 0.75em 'Tahoma Regular', Tahoma, serif;
color: #9a9ea0;
text-transform: uppercase;
}

#menu-topmenu li.current-menu-item a   {
color: #7f6c44;
box-shadow: none; /* изменение */
text-shadow: 3px 3px 1px rgba(150, 150, 150, 0.5); /* изменение */
 }
 
#menu-topmenu a:hover, #menu-topmenu a:focus, #menu-topmenu a:active {
box-shadow: none; /* изменение */ 
color: #7f6c44;
text-shadow: 3px 3px 1px rgba(150, 150, 150, 0.5); /* изменение */
}
	
                                                                    }										

@media only screen and (max-width : 680px)                          {

h1 {
margin: 1.5% 0 2% 0;
}

#page-wrap {
min-width: 100%;
overflow:hidden;
}

ul.hr li {
display: inline-block;
width: 24%;
border-top: none;
padding:0px;
padding-top:2%;
padding-bottom:2%;
margin:0px;
}


#social {
position: relative; /* изменение */
left: 10px;
top: 10px;
margin-bottom: 30px; /* изменение */
width: 100%;
text-align: left;
}

#social a {
margin-right:17px; /* изменение */
}

div#secondary {
display:none;
}

body.blog div#primary, body.single-post div#primary, body.category div#primary, body.archive div#primary, body.tag div#primary{
width: 100%;
border-left: none;
}

div.pgntn-page-pagination-intro, .pgntn-page-pagination a.page-numbers {
display:none;
}

.pgntn-page-pagination a.next {
display: inline-block;
}

.ngg-album-compact {
    height: auto;
    margin: 0px 0 0 0px !important;
    max-width: 50% !important; /* изменение */
    width: 50% !important; /* изменение */
    padding: 0px !important;
    background-color: #ffffff !important;
    float: left;
}

.ngg-gallery-thumbnail-box {
    height: auto;
    margin: 0px 0 0 0px !important;
    max-width: 50% !important; /* изменение */
    width: 50% !important; /* изменение */
    padding: 0px !important;
    background-color: #ffffff !important;
    float: left;
}
                                                                    }

@media only screen and (max-width : 500px)                          {
div.vert {
overflow: hidden;
text-overflow: ellipsis;
}

div#slider {
width: 100%;
}                                                                    
																	}

@media only screen and (max-width : 420px)                          {
ul.hr li {
width: 49%;
}                                                                  
																	}																		
																	
@media only screen and (max-width : 400px)                          {

#our-contacs {
display:none;
}

#ask-form {
float: none;
width: 100%;
}

textarea.wpcf7-form-control {
height:100px;
}

article#post-177 #our-contacs {
display:block;
float:none;
width:100%;
padding-left:0;
padding-top:0;
}

#our-contacs p {
text-align:justify;
}


                                                                    }

@media only screen and (max-width : 375px)                          {

nav ul li {
margin: 0;
/* padding: 14px; */
width: 50%; /* изменение */
display: inline-block; /* Отображать как блочный элемент */
text-align: center;
float: left;
font: 0.75em 'Tahoma Regular', Tahoma, serif;
color: #9a9ea0;
text-transform: uppercase;
}

#footright {
margin-top: 5.8%; /* изменение */
padding-right: 3%;
display:block;
float:right;
}

.ngg-album-compact {
    height: auto;
    margin: 0px 0 0 0px !important;
    max-width: 100% !important; /* изменение */
    width: 100% !important; /* изменение */
    padding: 0px !important;
    background-color: #ffffff !important;
    float: left;
}

.ngg-gallery-thumbnail-box {
    height: auto;
    margin: 0px 0 0 0px !important;
    max-width: 100% !important; /* изменение */
    width: 100% !important; /* изменение */
    padding: 0px !important;
    background-color: #ffffff !important;
    float: left;
}

#fancybox-wrap {
width: 100%!important;
padding:0px!important;
margin:0px!important;
height: auto!important;
left: 0px!important;
right: 0px!important;
}

#fancybox-content {
width: 100%!important;
padding:0px!important;
margin:0px!important;
height: auto!important;
border-width: 0px!important;
overflow:hidden!important;
}

#fancybox-title {
width: 100%!important;
padding:0px!important;
margin:0px!important;
height: auto!important;
}

#fancybox-close{
right:0px!important;
}

#fancybox-img{
height: auto!important;
}

#fancybox-bg-ne {
right: 0px!important;
}

#fancybox-bg-e {
right: 0px!important;
}

#fancybox-bg-se {
right: 0px!important;
}

#fancybox-title-inside {
padding:1%!important;
}

div.service-text {
width: 100%;
float: none;
margin-bottom:4%;
padding-bottom:2%;
border-bottom: 1px solid #ab9c7d;
}

div.service-menu {
width: 100%;
float: none;
border-left: none;
}

ul.hr li {
padding-bottom:5%;
}

div#slider {
width: 100%;
}  
                                                                   } 