/*!
Theme Name: Genesis
Author: Николай
Author URI: 
Version: 1.0.0
*/

.is-style-stripes thead, .is-style-stripes tbody, .is-style-stripes tbody tr, .is-style-stripes tbody tr td {
    padding: 10px;
}

.copy-bottoom {
    font-size: 16px;
    margin: 7px auto 0 auto;
    display: block;
    padding: 5px;
}

.logo-slogan {
    font-weight: bolder;
    font-size: 34px;
    padding: 50px;
    display: block;
    color: #ffffff;
    background: #000000ad;
    margin: 20px;
}
.logo-slogan p {
        font-size: 24px;
}

.retoy {
        margin-bottom: 50px;
}

h2, h1 {
    margin-bottom: 50px;
}
h4 {
    margin: 10px 0 25px 0;
}
.wp-block-columns p {
    font-weight: bolder;
    margin: 0 0 5px 0;
}
.wp-block-columns p a {
    text-decoration: underline;
    text-decoration-color: #9f9f9f;
}
.dfhout p {
        margin: 10px 0 25px 0;
}
header .btn-outline-blu {
    padding: 0 10px;
    font-weight: 600;
}

.btn-outline {
    font-size: 13px;
    line-height: 30px;
    font-weight: 600;
    position: relative;
    padding: 0 40px;
    height: 30px;
    border: 1px solid #FF6A6A;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    -webkit-transition-duration: 300ms;
    -moz-transition-duration: 300ms;
    -ms-transition-duration: 300ms;
    -o-transition-duration: 300ms;
    transition-duration: 300ms;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    text-transform: uppercase;
    color: #FF6A6A;
    text-align: center;
    width: 100%;
}

.btn-outline-blu {
    font-size: 13px;
    line-height: 30px;
    font-weight: 600;
    position: relative;
    padding: 0 40px;
    height: 30px;
    border: 1px solid #24345D;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    -webkit-transition-duration: 300ms;
    -moz-transition-duration: 300ms;
    -ms-transition-duration: 300ms;
    -o-transition-duration: 300ms;
    transition-duration: 300ms;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    text-transform: uppercase;
    color: #24345D;
    text-align: center;
    width: 100%;
}

.fas {
        color: #24345D;
}
.contact-logo {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    font-family: Arial;
    padding-left: 35px;
}
@font-face {
	font-family: housem; 
	src: url(https://genesis-snab.ru/wp-content/themes/mebel/fonts/housem_d_.ttf); 
}

.heared-fon {
/*     background-image: url(/wp-content/themes/mebel/img/prom-zdaniya.jpg);
 */    /* background-image: url(/wp-content/themes/mebel/img/salnik_nab_1.jpg); */
 background-image: url(/wp-content/themes/mebel/img/135_original.jpg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: bottom;
    background-attachment: fixed;
    background-color: #cbcbcb;
    height: 300px;
    position: relative;
    top: -20px;
    border-radius: 0 0 18px 18px;
}

.wp-block-separator {
    border-top: 1px solid;
    MARGIN: 50PX;
    border-color: #b7b7b7;
    border-bottom:0px;
}

.background-white {
        background: white;
}

a.bootom-card {
    color: #000 !important;
}

.bootom-card {
    background: #fbbe08;
    padding: 10px;
    border-radius: 2px;
    margin: 5px 0;
}

a.bootom-card {
color: #000;
}

table {
    color: #000000;
    background-color: #ffffff;
}

.widget-title {
    display: -webkit-inline-box;
}

.maddiv a {
}

.logo-telefon a {
        color: #000000;
}

.white-fon, .widget-area  {
    background: #fff;
    color: #000000;
}

.widget_nav_menu .menu li {
    display: block;
    padding: 4px 4px;
    font-size: 14px;
    background: #e0e0e0;
    margin: 4px 0;
}

.widget-area ul{
    text-align: left;
    padding: 6px;
}

.widget-area li a{
    text-align: left;
}
.is-style-regular  {
    border:1px solid;
}

.is-style-regular td {
    border: 1px solid #6d5cfb;
    padding: 5px;
    font-weight: bold;
}

.is-style-regular th {
    padding: 10px 5px;
}

.img-responsive-cdek {
    max-width: 20%;
    display: block;
    margin: 0 auto;
}
.wp-block-image img {
    height: auto;
}

.entry-content p {
    margin: 0 0 20px 0;
}

.maddiv .img-responsive {
    border-radius: 3px;
    height: 16.1em;
    width: 100%;
    object-fit: cover;
}

/* Адапнивная вставка видео с Youtube */
.thumb-wrap {
  position: relative;
  padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
  height: 0;
  overflow: hidden;
}
.thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-width: 0;
  outline-width: 0;
}
/* Адапнивная вставка видео с Youtube END*/

/* Аккардион */
.ac-container{
    max-width: 650px;
    margin: 10px auto 30px auto;
}

.ac-container label{
    padding: 12px;
    position: relative;
    z-index: 20;
    display: block;
    cursor: pointer;
    font-size: 18px;
    font-weight: 300;
    background: #f7f7f7;
    box-shadow: 
        0px 0px 0px 1px rgba(155,155,155,0.3), 
        1px 0px 0px 0px rgba(255,255,255,0.9) inset, 
        0px 2px 2px rgba(0,0,0,0.1);
}

.ac-container label:hover{
    background: #fff;
}

.ac-container input:checked + label,
.ac-container input:checked + label:hover{
    background: #c6e1ec;
    text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
    box-shadow: 
        0px 0px 0px 1px rgba(155,155,155,0.3), 
        0px 2px 2px rgba(0,0,0,0.1);
}

.ac-container label:hover:after,
.ac-container input:checked + label:hover:after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 13px;
    top: 7px;
}

.ac-container input{
    display: none;
}

.ac-container article{
    background: rgba(255, 255, 255, 0.5);
    margin-top: -1px;
    overflow: hidden;
    height: 0px;
    position: relative;
    z-index: 10;
    -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}
.ac-container input:checked ~ article {
     -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
    min-height: 100px;
}

.ac-container article p{
    font-style: italic;
    color: #777;
    line-height: 23px;
    font-size: 14px;
    padding: 20px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}
/* Аккардион END*/
 
/* Фикс для квиза */
form p {
    text-align: center !important;
}
span.input-label.radio-label.img-thumbnail {
    white-space: pre;
}

/* Эфект появления полоски */
a {
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding: 0 0 5px 0;
  color: #008dc5;
}

a:hover {
      text-decoration: none;
}

a:after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  left: 0;
  bottom: 0;
  visibility: hidden;
  background-color: #444a59;
  -webkit-transition: all .1s ease;
  transition: all 0.3s ease; 
  -webkit-transition: all 0.3s ease; 
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
}

a:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
} 

.battom a:hover, .battom-s a:hover {
  text-decoration: underline;
}

.contact {
        text-align: right;
}
.contact a {
            margin: 0 10px;
            font-size: 21px;
            color: #ffffff;
}

/* Стили вывода записей на главной странице */
.titleport {
    text-align: center;
    margin: 0;
}

.titleport a {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.price {
    text-align: center;
    color: #c3c3c3;
    font-size: 12px;
}
.maddiv {
/*     padding: 0 0 19px 0;
 */    border: 1px solid #b7b7b7;
    border-radius: 2px;
}
/* Стили вывода записей на главной странице END*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=PT+Sans');

@font-face {
    font-family: 'Noto Serif';
    src: local('Noto Serif'), local('NotoSerif'), url('notoserif.woff2') format('woff2'), url('notoserif.woff') format('woff'), url('notoserif.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Serif';
    src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url('notoserifitalic.woff2') format('woff2'), url('notoserifitalic.woff') format('woff'), url('notoserifitalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Noto Serif';
    src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url('notoserifbold.woff2') format('woff2'), url('notoserifbold.woff') format('woff'), url('notoserifbold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Serif';
    src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url('notoserifbolditalic.woff2') format('woff2'), url('notoserifbolditalic.woff') format('woff'), url('notoserifbolditalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

.battom-m {
    text-align: center;
    text-decoration: underline;
    margin: 0 0 15px 0;
    font-weight: bold;
    font-size: 20px;
}

div.wpcf7 .ajax-loader {
    width: 0px;
}

.entry-content p, .text-blog span p{
    font-size: 16px;
        /* margin: 0 0 20px 0; */
}

.blok-blog h1{
    font-weight: 700;
    padding: 0 0 34px 0;
    }

.tel span {
    font-size:18px;
    display: block;
}

h1.entry-title {
    text-align: center;
    font-weight: 700;
    padding: 0 0 34px 0;
}

.ngg-albumoverview.default-view .ngg-album-compact h4 .ngg-album-desc {
    font-size: 22px !important;
}

.margin-block {
    margin: 0 0 60px;
}

.footer2 {
        background: -webkit-linear-gradient(90deg, #43225e,#131111);
    background: linear-gradient(90deg, #43225e,#131111);
        padding: 40px 20px;
}

.footer span {
    color: #d6d6d6;
    line-height: 29px;
    letter-spacing: 1px;
    font-size: 15px;
}
.footer h3 {
    font-size: 33px;
    font-weight: bolder;
    color: #fff;
}
.footer {
    text-align: center;
    padding: 60px 0;
    color: #ffffff;
    background: -webkit-linear-gradient(90deg, #131111,#43225e);
    background: linear-gradient(90deg, #131111,#43225e);
}
.tel {
    text-align: center;
    font-weight: bolder;
    font-size: 36px;
    margin: 50px 0;
    color: #000;
}
.battom-s a{
    color: #000;
    font-size: 20px;
    padding: 11px 21px;
    background: #fff;
    text-align: center;
    border: 3px solid #000;
    display: block;
    margin: 70px auto;
    width: 287px;
}

.left-img {
    height: auto;
    width: 100%;
    margin: 0px 0 60px 0;
}
.right-img{
    width: 100%;
}
.forma {    
    background: #ffffffe8;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}
.wpcf7-form-control-wrap {
    margin: 0 auto;
    width: 300px;
}
.wpcf7-form-control.wpcf7-submit {
    color: #000;
    font-size: 25px;
    padding: 7px 26px;
    background: #fff;
    border: 3px solid #000;
    width: auto;
}

.rtyi {
    font-size: 24px;
    padding: 30px 0 60px 0;
    display: block;
}
.rtyi1 {
    font-size: 27px;
    display: block;
    text-align: center;
    margin: 80px 0;
    color: #000;
}
input, textarea {
    border: 1px solid #bdbdbd;
    width: 100%;
    border-radius: 2px;
    font-weight: 100;
    margin: 2px;
}

.block-forma {
    background-image: url();
    background-size: cover;
    background-attachment: fixed;
}
.kuhny-text {
    font-size: 20px;
    padding: 85px 0 0 0;
}
.kuhny-text-text {
    font-size: 30px;
    font-weight: bolder;
    padding: 0 0 12px 0;
    text-align: center;
    margin: 30px 0 0 0;
}
.massiv {
     background-image: url(DSC_0040-resize.jpg);
}
.kraska {
      background-image: url(foto0235-resize.jpg);
}
.plenka {
    background-image: url(mdf-plenka.jpg);
}

.block-grey {
    background: #616a7b;
    padding: 20px 0 40px 0;
}

.kuhny {
    text-align: center;
    background-size: cover;
    background-position: center center;
    margin: 5px 0 5px 0;
}

.logo {
    margin: 0 0 60px 0;
    font-family: housem;
    font-size: 80px;
    color: #090724;
    float: left;
}

.logo-name {
    font-size: 25px;
    font-weight: bolder;
    letter-spacing: 2px;
    color: #000000;
    margin: 0 0 3px 0;
}
.city {
    margin: 0;
}

.logo-telefon {
    display: block;
    text-align: right;
    font-size: 20px;
    font-weight: bolder;
    margin: 0;
    font-family: monospace;
}
.logo-master {
    text-transform: uppercase;
    text-align: right;
    margin: 0;
    display: block;
    font-family: monospace;
}

.fon {
    background-image: url(img/fon.jpg);
    padding: 0 0 30px 0;
    background-position: center center;
    background-color: #3c3c3c;
    background-size: cover;
}

.fon_ofis {
    background-image: url(img/ofis.jpg);
    padding: 0 0 30px 0;
    background-position: center center;
    background-color: #3c3c3c;
}

.slogan {
    color: #fff;
    padding: 24px 0 38px 0;
    letter-spacing: 1px;
    font-size: 52px;
    font-weight: bolder;
    margin: 100px 0 0 0;
}

/* Кнопки "Вызвать на замер" "Расчет стоимости" */
.battom a {
    color: #000000;
    background-color: #fdf740;
    padding: 20px 60px;
    font-size: 20px;
    border-radius: 2px;
    float: left;
    margin: 0 20px 0 0;
}

.battom-rast a {
    padding: 18px 58px;
    font-size: 20px;
    border-radius: 2px;
    float: left;
    border: 2px #1F5BFF solid;
}

.battom-rast a:hover {
    text-decoration: underline;
}
/* Кнопки "Вызвать на замер" "Расчет стоимости" END*/

.deviz {
    font-size: 25px;
    font-weight: 300;
    margin: 0 0 63px 0;
}

.h22{
    font-size: 40px;
    text-align: center;
    font-weight: bolder;
    margin: 70px 0 70px 0;
}

.h22-white {
    font-size: 40px;
    text-align: center;
    color: #ffffff;
    font-weight: bolder;
    margin: 70px 0 70px 0;
}

.h44 {
    font-size: 25px;
    font-weight: bold;
    margin: 32px 0 10px 0;
}

.text-blok span {
    margin: 0;
    font-size: 17px;
}


#bottomNav {
    z-index: 9999999;
    top: 10px;
    text-align: center;
    position: absolute;
    right: 20px;
    padding: 10px;
}

#titleText {
    font-size: 19px;
    line-height: 30px;
    font-family: roboto, arial;
}

#imageData #imageDetails {
    width: 100%;
}

#lightbox a img {
    border: none;
    width: 80px;
    height: auto;
}
/* #outerImageContainer, #imageDataContainer {
    background-color: #fff0;
} */



html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	transition: all 0.2s linear;
}

body {
	margin: 0;
	background: #fff;
	font-size:16px;
	color:#000;
    font-family: 'arial';     -webkit-font-smoothing: antialiased !important;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
/*   font-family: 'PT Sans', sans-serif;
 */}

a {
    color: #000000;
    text-decoration: none;
}

a:focus, a:hover {
    text-decoration: none;
}

/* span {
    margin: 0 10px;
} */

/* .fa {
    margin: 0 5px 0 0;
} */
p {
    margin: 0;
}
/* Блог */
.margin-blog {
    margin: 0 0 20px 0;
}

.min-height {
        min-height: 460px;
}

.blok-blog, .comments-area {
    margin: 25px 0px 0px 0px;
}

/* .img-blog {
    float: left;
    margin: 0 10px;
} */

.entry-info {
    font-size: 13px;
    line-height: 25px;
    text-align: left;
    color: #444;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
    /* font-family: 'Roboto Condensed',sans-serif; */
}

.bottom-dalee {
    display: block;
    float: left;
    width: 100%;
}

.bottom-dalee a {
    float: right;
    padding: 5px 15px;
    background: #33363b;
    color: #fff;
    margin: 0 17px 0 0;
	transition: all 0.1s linear;
}

.bottom-dalee a:hover, .tagcloud a:hover {
    background: #859e28;
    text-decoration: none;
    color: #fff;
    transition: all 0.1s linear;
}

.tags {
    font-size: 13px;
    color: #444;
    padding: 10px 0 10px 0;
    border-top: 1px solid #eaeaea;
/*     font-family: 'Roboto Condensed',sans-serif;
 */    margin: 10px 10px 0 10px;
}

.tagcloud a {
    background: #333;
    color: #fff;
    padding: 3px 13px;
    line-height: 28px;
    font-size: 14px !important;
    transition: all 0.1s linear;
    margin: 0 0 2px 0;
}

/* Блог END*/

/* Комментарии */
.comment-metadata {
    font-size: 13px;
    line-height: 25px;
    color: #444;
/*     font-family: 'Roboto Condensed',sans-serif;
 */}

.comment-body {
        margin: 21px 0;
            border-bottom: 1px solid #cecece;
}

.reply a {
    display: block;
    font-size: 14px;
    margin: 15px 0 10px 0;
    text-decoration: underline;
}

.comment {}
/* Комментарии END*/ 


/* Галерея */
#info {
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;				
	background:#fcf8e3;
	border:1px solid  #fbeed5;
	width:95%;
	max-width:900px;
	margin:0 auto 40px auto;
/*     font-family:roboto;
 */	font-size:12px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}

	#info .info-wrapper {
		padding:10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;

	}
	
	#info a {
		color:#c09853;
		text-decoration:none;
	}
	
	#info p {
		margin:5px 0 0 0;
	}

 
#filters {
	padding:0;
	list-style:none;
	font-size: 20px;
}

.gal {
    background:#ffffff;
}

	#filters li {
		float:left;
	}
	
	#filters li span {
    display: block;
    margin: 5px 20px 0 0;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease-out;
    border: 1px dotted;
    padding: 2px 8px;
	}
	
	#filters span{
	    margin:0;
	}
	
	
	#filters li span.active {
    color: #000;
    transition: all 0.2s ease-out;
    border: 1px solid;
	}
 
#filters li span:hover {
		color:#000;
		transition: all 0.2s ease-out;
        border: 1px solid;
}
 
#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:23%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
}

	.portfolio-wrapper {
    overflow: hidden;
    position: relative !important;
    cursor: pointer;
    padding: 10px;
	}

	.portfolio img {
	position: relative;
	top:0;
    -webkit-transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);		
	}
	
	.portfolio .label {
		position: absolute;
		width: 100%;
		height:40px;
		bottom:-40px;
    -webkit-transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
	}

		.portfolio .label-bg {
			background: #e95a44;
			width: 100%;
			height:100%;
			position: absolute;
			top:0;
			left:0;
		}
	
		.portfolio .label-text {
			color:#fff;
			position: relative;
			z-index:500;
			padding:5px 8px;
		}
			
			.portfolio .text-category {
				display:block;
				font-size:9px;
			}
	
	.portfolio:hover .label {
    bottom:0;
  }
	.portfolio:hover img {
        transform: scale(1.1);
  }  

	
@media only screen and (max-width: 767px) {
	
	#portfoliolist .portfolio {
		width:48%;
		margin:1%;
	}		

	#ads {
		display:none;
	}
	.slogan {
    padding: 0 0 15px 0;
    font-size: 40px;
    margin: 50px 0 0 0;
}

.deviz {
    font-size: 18px;
}
.battom a, .battom-rast a {
    font-size: 13px;
    margin: 10px 0 0 10px;
}

}
/* Галерея END*/




/*--------------------------------------------------------------
## Меню
--------------------------------------------------------------*/

.main-icon {
    display: none !important;
}

.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 99;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
    background: #24345D;
    border-radius: 18px;
}

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

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.2s linear;
    padding: 10px 15px 10px 15px;
    font-weight: normal;
}

.main-navigation a:hover {
    transition: all 0.2s ease-out;
    text-decoration: none;
}

.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 a {
	width: 200px;
}

.main-navigation ul ul li {
background: #24345D;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

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

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

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

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
	border-bottom: 1px solid;
}




@media screen and (min-width: 500px) {
	.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%;
}


/* ставим меню по центру */
.menu, .menu ul {
text-align: center;}
.menu li {
display: inline-block;
float: none;}

.menu-toggle {
		position: fixed;
		top: 0px;
		z-index: 10000;
		border: 0;
		width: 100%;
		border-bottom: 1px solid #000;
/*         background: url(menu-icon.png) #fff;
 */		background-position: left top;
		background-size: auto;
		background-repeat: no-repeat;
		transition: all 0.2s linear;
		color: #000;
		height: 38px;
		text-align: left;
		    font-size: 22px;
}

/*--------------------------------------------------------------
# 
--------------------------------------------------------------*/
@media screen and (max-width: 768px) { 
    .block-grey {
    clip-path: polygon(0% 3%, 100% 0, 100% 97%, 0 100%);
}

.titleport a {
    font-size: 16px;
}

}



@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
    }
    
    #filters {
    font-size: 12px;
}

.logo-name, .logo-master, .logo-telefon {
    text-align: center;
}
.city {
    text-align: center;
    display: block;
}

.tel {
    font-size: 28px;
}
.logo-name {
    margin: 58px 0 3px 0;
}
.logo-telefon {
    margin: 20px 0 0 0;
}


/* .maddiv {
    min-height: 390px;
} */
.kuhny-text-text {
    font-size: 25px;
}
.battom-m {
    font-size: 16px;
}

.forma {
    padding: 10px;
}
.h22 {
    margin: 25px 0;
    font-size: 28px;
}
.forma {
    margin: 15px 0;
}
}

/* Адаптивная верстка для экранов шириной 500*/
@media screen and (max-width: 500px) {
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
    background: #ffffff;
    font-weight: bold;
    position: fixed;
    top: 36px;
    z-index: 99999999999;
}

.main-icon {
    display: block !important;
    float: left;
    font-size: 32px !important;
}

.img-blog {
    float: none;
    text-align: center;
    margin:0;
}

.entry-info {
    font-size: 10px;
}
.menu-item {
        float: left;
    width: 100%;
}

.h44 {
    font-size: 20px;
}

.text-blok span {
    font-size: 15px;
}
.titleport a {
    font-size: 3vw;
}

.logo {
    margin: 60px auto 0;
}

}
/*------------------------*/

/* Адаптивная верстка для экранов шириной 375*/
@media screen and (max-width: 375px) {
img {
    width: 100%;
}

.h1, h1 {
    font-size: 25px;
}
/* .h22 {
    font-size: 27px;
} */
.text-blog span p {
    font-size: 13px;
}

.wpcf7-form-control.wpcf7-submit {
    font-size: 22px;
}
}
/*------------------------*/