body{line-height:1;}
ol, ul{list-style:none;}
blockquote, q{quotes:none;}
blockquote:before, blockquote:after,
q:before, q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}

/* General styles for all menus */
.cbp-spmenu {
/	background: #f22d3a;
background: rgba(0, 0, 0, 0.8);
	position: fixed;
}


.cbp-spmenu a {
	display: block;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
    margin: 20px 0;
	text-decoration: none;
}

nav .company{
margin-top:60px;
}

.cbp-spmenu .company a {
	display: block;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
    margin: 15px 0;
	text-decoration: none;
}

.cbp-spmenu a:hover {
color:#f22d3a;
}

.cbp-spmenu a:active {
	color: #f22d3a;
}

/* Orientation-dependent styles for the content of the menu */

.cbp-spmenu-vertical {
	width: 400px;
	height: 100%;
	top: 0;
	z-index: 1000;
padding-top:90px;
font-size: 20px;
}

.cbp-spmenu-vertical a {
	padding: 10px 0 0 20px;
}

.cbp-spmenu-horizontal {
	width: 100%;
	height: 150px;
	left: 0;
	z-index: 1000;
	overflow: hidden;
}

.cbp-spmenu-horizontal h3 {
	height: 100%;
	width: 20%;
	float: left;
}

.cbp-spmenu-horizontal a {
	float: left;
	width: 20%;
	padding: 0.8em;
	border-left: 1px solid #f22d3a;
}

/* Vertical menu that slides from the left or right */

.cbp-spmenu-left {
	left: -400px;
}

.cbp-spmenu-right {
	right: -240px;
}

.cbp-spmenu-left.cbp-spmenu-open {
	left: 0px;
}

.cbp-spmenu-right.cbp-spmenu-open {
	right: 0px;
}

/* Horizontal menu that slides from the top or bottom */

.cbp-spmenu-top {
	top: -150px;
}

.cbp-spmenu-bottom {
	bottom: -150px;
}

.cbp-spmenu-top.cbp-spmenu-open {
	top: 0px;
}

.cbp-spmenu-bottom.cbp-spmenu-open {
	bottom: 0px;
}

/* Push classes applied to the body */

.cbp-spmenu-push {
	overflow-x: hidden;
	position: relative;
	left: 0;
}

.cbp-spmenu-push-toright {
	left: 240px;
}

.cbp-spmenu-push-toleft {
	left: -240px;
}

/* Transitions */

.cbp-spmenu,
.cbp-spmenu-push {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

@media screen and (max-width: 800px){
.cbp-spmenu-vertical {
    width: 300px;
}

.cbp-spmenu a {
    font-size: 20px;
    margin: 12px 0;
}

.cbp-spmenu .company a {
    font-size: 15px;
    margin: 10px 0;
}
}


/* Example media queries */

@media screen and (max-width: 55.1875em){

	.cbp-spmenu-horizontal {
		font-size: 75%;
		height: 110px;
	}

	.cbp-spmenu-top {
		top: -110px;
	}

	.cbp-spmenu-bottom {
		bottom: -110px;
	}

}

@media screen and (max-height: 26.375em){

	.cbp-spmenu-vertical {
		font-size: 90%;
		width: 190px;
	}

	.cbp-spmenu-left,
	.cbp-spmenu-push-toleft {
		left: -190px;
	}

	.cbp-spmenu-right {
		right: -190px;
	}

	.cbp-spmenu-push-toright {
		left: 190px;
	}
}









*, *:before, *:after {
  box-sizing: border-box;
}

.hamburglar {
    float: left;
  -webkit-transform: scale(0.7);
          transform: scale(0.7);
  position: fixed;
  display: block;
margin-top: -80px;
  width: 68px;
  height: 68px;
	margin-left:20px;
/    margin-top: -77px;
/  background: #999;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
    z-index: 100000;
}

.path-burger {
  position: absolute;
  top: 0;
  left: 0;
  height: 68px;
  width: 68px;
  -webkit-mask: url(#mask);
          mask: url(#mask);
  -webkit-mask-box-image: url(https://raygun.io/upload/mask.svg);
}

.animate-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 68px;
}

.path-rotation {
  height: 34px;
  width: 34px;
  margin: 34px 34px 0 0;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transform-origin: 100% 0;
          transform-origin: 100% 0;
}
.path-rotation:before {
  content: '';
  display: block;
  width: 30px;
  height: 34px;
  margin: 0 4px 0 0;
  background: #fff;
}

@-webkit-keyframes rotate-out {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  40% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate-out {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  40% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@-webkit-keyframes rotate-in {
  0% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
  40% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@keyframes rotate-in {
  0% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
  40% {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
.hamburglar.is-open .path {
  -webkit-animation: dash-in 0.6s linear normal;
          animation: dash-in 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.hamburglar.is-open .animate-path {
  -webkit-animation: rotate-in 0.6s linear normal;
          animation: rotate-in 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.hamburglar.is-closed .path {
  -webkit-animation: dash-out 0.6s linear normal;
          animation: dash-out 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}
.hamburglar.is-closed .animate-path {
  -webkit-animation: rotate-out 0.6s linear normal;
          animation: rotate-out 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  stroke-linejoin: round;
}

@-webkit-keyframes dash-in {
  0% {
    stroke-dashoffset: 240;
  }
  40% {
    stroke-dashoffset: 240;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes dash-in {
  0% {
    stroke-dashoffset: 240;
  }
  40% {
    stroke-dashoffset: 240;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes dash-out {
  0% {
    stroke-dashoffset: 0;
  }
  40% {
    stroke-dashoffset: 240;
  }
  100% {
    stroke-dashoffset: 240;
  }
}
@keyframes dash-out {
  0% {
    stroke-dashoffset: 0;
  }
  40% {
    stroke-dashoffset: 240;
  }
  100% {
    stroke-dashoffset: 240;
  }
}
.burger-icon {
  position: absolute;
  padding: 20px 16px;
  height: 68px;
  width: 68px;
}

.burger-container {
  position: relative;
  height: 28px;
  width: 36px;
}

.burger-bun-top,
.burger-bun-bot,
.burger-filling {
  position: absolute;
  display: block;
  height: 4px;
  width: 36px;
  border-radius: 2px;
  background: #000;
}

.burger-bun-top {
  top: 0;
  -webkit-transform-origin: 34px 2px;
          transform-origin: 34px 2px;
}

.burger-bun-bot {
  bottom: 0;
  -webkit-transform-origin: 34px 2px;
          transform-origin: 34px 2px;
}

.burger-filling {
  top: 12px;
}

.burger-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 68px;
}

.svg-ring {
  width: 68px;
  height: 68px;
}

.hamburglar.is-open .burger-bun-top {
  -webkit-animation: bun-top-out 0.6s linear normal;
          animation: bun-top-out 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  background: #fff;
}
.hamburglar.is-open .burger-bun-bot {
  -webkit-animation: bun-bot-out 0.6s linear normal;
          animation: bun-bot-out 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  background: #fff;
}

.hamburglar.is-closed .burger-bun-top {
  -webkit-animation: bun-top-in 0.6s linear normal;
          animation: bun-top-in 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  background: #fff;
}
.hamburglar.is-closed .burger-bun-bot {
  -webkit-animation: bun-bot-in 0.6s linear normal;
          animation: bun-bot-in 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  background: #fff;
}

@-webkit-keyframes bun-top-out {
  0% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  20% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
  80% {
    left: -5px;
    top: 0;
    -webkit-transform: rotate(-60deg);
            transform: rotate(-60deg);
  }
  100% {
    left: -5px;
    top: 1px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}

@keyframes bun-top-out {
  0% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  20% {
    left: 0;
    top: 0;
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
  80% {
    left: -5px;
    top: 0;
    -webkit-transform: rotate(-60deg);
            transform: rotate(-60deg);
  }
  100% {
    left: -5px;
    top: 1px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}
@-webkit-keyframes bun-bot-out {
  0% {
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  20% {
    left: 0;
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  80% {
    left: -5px;
    -webkit-transform: rotate(60deg);
            transform: rotate(60deg);
  }
  100% {
    left: -5px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
}
@keyframes bun-bot-out {
  0% {
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  20% {
    left: 0;
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  80% {
    left: -5px;
    -webkit-transform: rotate(60deg);
            transform: rotate(60deg);
  }
  100% {
    left: -5px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
}
@-webkit-keyframes bun-top-in {
  0% {
    left: -5px;
    bot: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  20% {
    left: -5px;
    bot: 0;
    -webkit-transform: rotate(-60deg);
            transform: rotate(-60deg);
  }
  80% {
    left: 0;
    bot: 0;
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
  100% {
    left: 0;
    bot: 1px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@keyframes bun-top-in {
  0% {
    left: -5px;
    bot: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  20% {
    left: -5px;
    bot: 0;
    -webkit-transform: rotate(-60deg);
            transform: rotate(-60deg);
  }
  80% {
    left: 0;
    bot: 0;
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
  100% {
    left: 0;
    bot: 1px;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@-webkit-keyframes bun-bot-in {
  0% {
    left: -5px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  20% {
    left: -5px;
    bot: 0;
    -webkit-transform: rotate(60deg);
            transform: rotate(60deg);
  }
  80% {
    left: 0;
    bot: 0;
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  100% {
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@keyframes bun-bot-in {
  0% {
    left: -5px;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  20% {
    left: -5px;
    bot: 0;
    -webkit-transform: rotate(60deg);
            transform: rotate(60deg);
  }
  80% {
    left: 0;
    bot: 0;
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  100% {
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
.hamburglar.is-open .burger-filling {
  -webkit-animation: burger-fill-out 0.6s linear normal;
          animation: burger-fill-out 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.hamburglar.is-closed .burger-filling {
  -webkit-animation: burger-fill-in 0.6s linear normal;
          animation: burger-fill-in 0.6s linear normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  background: #fff;
}

@-webkit-keyframes burger-fill-in {
  0% {
    width: 0;
    left: 36px;
  }
  40% {
    width: 0;
    left: 40px;
  }
  80% {
    width: 36px;
    left: -6px;
  }
  100% {
    width: 36px;
    left: 0px;
  }
}

@keyframes burger-fill-in {
  0% {
    width: 0;
    left: 36px;
  }
  40% {
    width: 0;
    left: 40px;
  }
  80% {
    width: 36px;
    left: -6px;
  }
  100% {
    width: 36px;
    left: 0px;
  }
}
@-webkit-keyframes burger-fill-out {
  0% {
    width: 36px;
    left: 0px;
  }
  20% {
    width: 42px;
    left: -6px;
  }
  40% {
    width: 0;
    left: 40px;
  }
  100% {
    width: 0;
    left: 36px;
  }
}
@keyframes burger-fill-out {
  0% {
    width: 36px;
    left: 0px;
  }
  20% {
    width: 42px;
    left: -6px;
  }
  40% {
    width: 0;
    left: 40px;
  }
  100% {
    width: 0;
    left: 36px;
  }
}









.ei-slider{
	position: relative;
	width: 100%;
	max-width: 1920px;
/	height: 590px;
	height: 565px;
	margin: 0px auto 0 auto;
}

.ei-slider ul, 
.ei-slider ul li{
margin:0;
padding:0;
}

.ei-slider-loading{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index:999;
	background: rgba(0,0,0,0.9);
	color: #fff;
	text-align: center;
/	line-height: 400px;
}
.ei-slider-large{
	height: 100%;
	width: 100%;
	position:relative;
	overflow: hidden;
}
.ei-slider-large li{
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
	height: 100%;
	width: 100%;
}
.ei-slider-large li img{
	width: auto !important;
/	margin-left:0px !important;
/    margin-top: 0px !important;
/    margin-top: -24px !important;
/	height: 670px !important;
}

@media screen and (max-width: 1900px) {
.ei-slider-large li img {
/    margin-top: -24px !important;
}
}

.h-500{
	height: 500px !important;
}

.h-500 img{
	height: 500px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.ei-slider-large li .ei-title h2 img{
	width: auto !important;
    margin-top: 0px !important;
	height: 670px !important;
}

.ei-title{
position: absolute;
    top: 0;
    width: 100%;
}

.inside .ei-title{
position: absolute;
    top: 0;
    margin: 40px auto;
    width: 100%;
}
.ei-title h2, .ei-title h3{
	text-align: left;
    margin: 0;
}

.ei-slider-large .content{
    margin: 40px auto;
    width: 90%;
    max-width: 1360px;
}

.ei-title .header{
    font-size: 36px;
    text-transform: inherit;
    font-weight: 900;
    line-height: 1.5;
    color: #fff;
font-size: 36px;
    text-transform: inherit;
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
    opacity: 1 !important;
    width: 30%;
    margin: 60px 0;
}

.ei-title h3{
	font-size: 70px;
	line-height: 70px;
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform: uppercase;
	color: #000;
}
.ei-slider-thumbs{
	height: 13px;
	margin: 20px auto !important;
	position: relative;
}
.ei-slider-thumbs li{
	position: relative;
	float: left;
	height: 100%;
    list-style: none;
}
.ei-slider-thumbs li.ei-slider-element{
	top: 0px;
	left: 0px;
	position: absolute;
	height: 100%;
	z-index: 10;
	text-indent: -9000px;
	background: #f22d3a;
/	background: rgba(0,0,0,0.9);
    list-style: none;
}
.ei-slider-thumbs li a{
	display: block;
	text-indent: -9000px;
	background: #ba9698;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	-moz-box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	-webkit-transition: background 0.2s ease;
    -moz-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    transition: background 0.2s ease;
}
.ei-slider-thumbs li a:hover{
	background-color: #f0f0f0;
}
.ei-slider-thumbs li img{
	position: absolute;
	bottom: 50px;
	opacity: 0;
	z-index: 999;
	max-width: 100%;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
	-webkit-box-reflect: 
        below 0px -webkit-gradient(
            linear, 
            left top, 
            left bottom, 
            from(transparent), 
            color-stop(50%, transparent), 
            to(rgba(255,255,255,0.3))
            );
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.ei-slider-thumbs li:hover img{
	opacity: 1;
	bottom: 13px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.thumbs-none{
display: none !important;
}

@media screen and (max-width: 830px) {
	.ei-title{
/		position: absolute;
/		right: 0px;
/		margin-right: 0px;
/		width: 100%;
/		text-align: center;
/		top: auto;
/		bottom: 10px;
/		background: #fff;
/		background: rgba(255,255,255,0.9);
/		padding: 5px 0;
	}

.ei-title {
    position: absolute;
    right: 20%;
    margin-right: 0;
    top: 0;
}

	.ei-title h2, .ei-title h3{
		text-align: center;
	}
	.ei-title h2{
		font-size: 20px;
		line-height: 24px;
	}
	.ei-title h3{
		font-size: 30px;
		line-height: 40px;
	}
}


@media screen and (max-width: 600px) {
.ei-slider {
    height: 472px;
}

.ei-slider-large li img {
    height: 472px !important;
}

.ei-slider-large li .ei-title h2 img {
    height: 472px !important;
}
}




/* GRID Портфолио */

.grid {
	overflow: hidden;
	margin: 0;
	padding: 0 0 0 0;
	width: 100%;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
    width: 24.95%;
    margin: -0.02%;
	background:#f22d3a;
	text-align: center;
	cursor: pointer;
    float: left;
	margin:0;
}

.grid figure img {
	position: relative;
	display: block;
/	min-height: 100%;
	opacity: 0.8;
	width: 100%;
}

.grid figure figcaption {
	padding: 1em;
	color: #fff;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	font-size: 13px;
line-height: 1.5;
}

.grid figure p span{
	font-size: 22px;
	font-weight: bold;
display:block;
padding-bottom:20px;
margin-bottom: 20px;
/border-bottom: 1px solid #fff;
background: url(/bitrix/templates/main/img/kapriz.jpg)no-repeat bottom center;


}


@media screen and (max-width: 1380px) {
	.grid figure {
		width: 25%;
	}	

	.grid figure figcaption {
		font-size: 90%;
	}
}



@media screen and (max-width: 1120px) {
	.grid figure {
		width: 33.333%;
	}	

	.grid figure figcaption {
		font-size: 90%;
	}
}



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

	.grid figure {
		width: 50%;
	}
}

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

	.grid figure {
		width: 100%;
	}
}





/* GRID Главная */

.grid-home {
	overflow: hidden;
	margin: 0;
	padding: 0 0 0 0;
	width: 100%;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid-home figure {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	width: 33%;
	background:#f22d3a;
	text-align: center;
	cursor: pointer;
    float: left;
	margin:0;
}

/*
.grid-home figure:nth-child(1) {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	width: 50%;
	background: #f22d3a;
	text-align: center;
	cursor: pointer;
    float: left;
}



.grid-home figure:nth-child(1) p span {
	font-size: 60px;
}
.grid-home figure:nth-child(1) p {
	font-size: 20px;
}

@media only screen and (max-height: 1100px) {
.grid-home figure:nth-child(1) p span {
	font-size: 29px;
}
.grid-home figure:nth-child(1) p {
	font-size: 13px;
}
}

*/

.grid-home figure img {
	position: relative;
	display: block;
/	min-height: 100%;
	opacity: 0.8;
	width: 100%;
}

.grid-home figure figcaption {
	padding: 1em;
    color: #fff;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

	.grid-home figure:nth-child(n+5) {
/		display:none;
	}	

.grid-home figure figcaption::before,
.grid-home figure figcaption::after {
	pointer-events: none;
}

.grid-home figure figcaption,
.grid-home figure a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid-home figure a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid-home figure h2 {
	word-spacing: -0.15em;
	
	font-weight: 300;
}

.grid-home figure h2 span {
	font-weight: 800;
}

.grid-home figure h2,
.grid-home figure p {
	margin: 0;
}

.grid-home figure p {
	font-size: 13px;
}

.grid-home figure p span{
	font-size: 29px;
	font-weight: bold;
display:block;
padding-bottom:20px;
margin-bottom: 20px;
/border-bottom: 1px solid #fff;
background: url(/bitrix/templates/main/img/kapriz.jpg)no-repeat bottom center;
}



@media screen and (max-width: 1380px) {
	.grid-home figure {
/		width: 25%;
	}	

	.grid-home figure figcaption {
		font-size: 90%;
	}
}



@media screen and (max-width: 1120px) {
	.grid-home figure {
		width: 50%;
	}	

	.grid-home figure figcaption {
		font-size: 90%;
	}

	.grid-home figure:nth-child(n+5) {
/		display:none;
	}	
}



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

	.grid-home figure {
		width: 50%;
	}
}

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

	.grid-home figure,
.grid-home figure:nth-child(1) {
		width: 100%;
	}
}

/*---------------*/
/***** Ruby *****/
/*---------------*/

figure.effect-ruby {
	background-color: #f22d3a;
}

figure.effect-ruby img {
	opacity: 1;
	-webkit-transition: opacity 0.95s, -webkit-transform 0.95s;
	transition: opacity 0.95s, transform 0.95s;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-ruby:hover img {
	opacity: 0.1;
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

figure.effect-ruby h2 {
	margin-top: 20%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-ruby p {
	margin:0;
    margin-top: 20%;
/	padding: 3em;
/	border: 1px solid #fff;
text-align:center;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0) scale(1.1);
	transform: translate3d(0,20px,0) scale(1.1);
} 

figure.effect-ruby:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-ruby:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0) scale(1);
	transform: translate3d(0,0,0) scale(1);
}

@media screen and (max-width: 1380px) {
	.grid figure {
		width: 25%;
	}	

	.grid figure figcaption {
		font-size: 90%;
	}
}



@media screen and (max-width: 1120px) {
	.grid figure {
		width: 33.333%;
	}	

	.grid figure figcaption {
		font-size: 90%;
	}
}



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

	.grid figure {
		width: 50%;
	}
}

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

	.grid figure {
		width: 100%;
	}
}

  /* Портфолио на внутренних страницах */

@media screen and (max-width: 1380px) {
.grid-inside figure:nth-child(n+13) {
    display: none;
}

#grid-portfolio figure:nth-child(n+6) {
/    display: none;
}
}

@media screen and (max-width: 1120px) {
.grid-inside figure:nth-child(n+10) {
    display: none;
}
}


@media screen and (max-width: 840px) {
.grid-inside figure:nth-child(n+7) {
    display: none;
}
}




.go-up,
.go-down {
  display:none;
  position: fixed; /*позиционируем*/
  right: 5px; /*указываем положение, если слева - left*/
  z-index: 9999; /*показываем поверх все элементов на странице*/
  background: #4F4F4F;
  border: 2px solid #ccc; /*толщина, стиль, цвет рамки*/
  box-shadow: 0 10px 0.3em -0.1em rgba(0,0,6,0.5); /*тень*/
  border-radius: 10px;
  cursor: pointer;
  color: #fff; /*цвет стрелок*/
  text-align: center; /*выравнивание*/
  font-size: 42px; /*размер стралок*/
  text-shadow: 0 1px 2px #000, 0 0 10px #E0F1FF;
  opacity: .7; /*прозрачность*/
  padding: 0 3px 5px 3px; /*отступы внутри*/
  margin-bottom: 5px; /*отступ снизу (можно не указывать)*/
  width: 48px; /*ширина кнопки*/
  height: 48px; /*высота кнопки*/
}
.go-up {
  bottom: 70px; /*положение от низа окна браузера*/
}
.go-down {
  bottom: 10px;
}
/*стили при наведении курсора*/
.go-down:hover,
.go-up:hover {
  opacity: 1;
}



.scroll-to-top-button{
background: url(/bitrix/templates/2018/img/top.png) center center no-repeat;
    width: 32px;
    height: 32px;
    color: #fff;
    font-family: verdana;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    cursor: pointer;
    padding: 15px;
    margin: 20px;
}
.top-slider-arrows{
	position: absolute;
	top : 40%;
	z-index: 50;
	cursor: pointer;
}
.slider-arrow-left{
	left: 10px;
}
.slider-arrow-right{
	right: 10px;
}



.sections_block {
	width: 100%;
	position: relative;
	display: block;
	margin: 50px 0px;
	padding: 0px 50px;
}
.sections_block ul {
	list-style: none;
	position: relative;
}
.sections_block ul li {
	display: inline-block;
	margin-right: 20px;
}
.sections_block ul li a {
	text-decoration: none;
	text-transform: uppercase;
	color: #191a1c;
}
.sections_block ul li a.selected, .sections_block ul li a:hover {
	font-weight: bold;
color:#f22d3a;
}

/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}
/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}
/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}
/* End: Recommended Isotope styles */
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}


.seeall{
    margin: 50px auto;
    display: block;
    width: 300px;
    background: #fff;
    border: 1px solid #242426;
    color: #242426;
    padding: 20px;
    text-align: center;
    text-decoration: none;
}
.seeall:hover{
    margin: 50px auto;
    display: block;
    width: 300px;
    background: #fff;
    border: 1px solid #f22d3a;
    color: #f22d3a;
    padding: 20px;
    text-align: center;
    text-decoration: none;
}


.ei-slider-button {
/    position: absolute;
/    width: 100%;
/    height: auto;
    float: left;
/    left: 50%;
    opacity: 1 !important;
}
.ei-slider-button .button {
    position: relative;
    bottom: 20px;
    float: left;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 50px;
    background-color: #f22d3a;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
}
.ei-slider-button .button :hover {
    position: relative;
    bottom: 20px;
    left: 50%;
    float: left;
    transform: translateX(-50%);
    padding: 18px 50px;
    background-color: #242426;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
}
.ei-slider-button .button li{
    position: relative;
    bottom: 20px;
    float: left;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 50px;
    background-color: #f22d3a;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
}



.container {
/  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
/  width: 300px;
 width: 100%;
  -webkit-overflow-scrolling: touch; /* для плавной прокрутки на мобильных устройствах */
}
.slide {
  flex: none;
  scroll-snap-align: start;
  width: 300px;
  text-align: center;
}

header {
  background: #191a1c;
}

header .header_wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0px auto;
}
header .header_wrapper .logo {
  order: 1;
  margin: unset;
  height: 82px;
  line-height: 82px;
  align-self: flex-start;
}
header .header_wrapper .logo a {
  line-height: 82px;
  height: 82px;
}
header .header_wrapper .logo a img {
  margin: 14px 0px;
}
header .header_wrapper .top_menu {
  display: flex;
  order: 2;
}
header .header_wrapper .top_menu ul {
  list-style: none;
  display: flex;
  margin: 0px 0px;
}
header .header_wrapper .top_menu ul li {
  list-style: none;
  margin-right: 40px;
  height: 82px;
  line-height: 82px;
}
header .header_wrapper .top_menu ul li a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-weight: 16px;
  position: relative;
  display: block;
}
header .header_wrapper .top_menu ul li:nth-child(1) a:after {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  content: '';
  top: 35px;
  right: -14px;
  background: url('./img/red-arrow.png');
}

header .header_wrapper .top_menu ul li .submenu_block {
  display: none;
}

header .header_wrapper .top_menu ul li:nth-child(1):hover .submenu_block {
  position: absolute;
  display: block;
  top: 82px;
  left: 0px;
  z-index: 30;
  background: #242426;
  width: 100%;
}
header .header_wrapper .top_menu .submenu_block ul li {
  height: auto;
  line-height: unset;
}
header .header_wrapper .top_menu .submenu_block a:after {
  display: none;
}
header .header_wrapper .top_menu .submenu_block a {
  text-transform: none;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper {
  margin: 40px auto 0px;
  width: 900px;
  display: flex;
  flex-direction: row;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .submenu_element {
  position: relative;
  display: block;
  margin-bottom: 40px;
  line-height: 16px;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_title {
  margin-bottom: 25px;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_title a {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  line-height: 20px;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_title a:after {
  display: none;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_items {
  width: 100%;
  position: relative;
  display: block;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_items ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  flex-direction: column;
  height: auto;
  line-height: unset;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_items ul li {
  list-style: none;
  width: 100%;
  margin-bottom: 15px;
  height: 16px;
  line-height: 16px;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_items ul li a {
  font-weight: normal;
  color: b5b5b5;
  font-size: 14px;
}
header .header_wrapper .top_menu .submenu_block .submenu_wrapper .menu_column .menu_items ul li a:after {
  display: none;
}
header .header_wrapper .phone {
  order: 3;
  align-self: flex-end;
  margin: unset;
  height: 82px;
}
header .header_wrapper .phone a {
  margin: 24px 0px 30px;
  display: block;
  position: relative;
  padding: 0px;
}
header .header_wrapper .phone img {
  padding-right: 8px;
}
