@font-face{
	font-family: 'MyWebFont';
	src: url('../fonts/8291.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

* { outline: none; }
 
body, html {
  width:100%;
  height:100%;
  margin: 0;
  padding: 0; 
  /* font-family: helvetica;
  font-weight: 100; */
  font-family: 'MyWebFont';
  overflow-x:none;
  background:#fafafa;
  
}

input,select,textarea { padding:5px; }
input[type=button], input[type=submit] { padding:5px 15px 5px 15px; }
img { max-width:100%; height:auto; }
ul li { list-style:none; }

@media only screen and (max-width: 1000px) { 
	
	h1,h2,h5, .h1 { font-size:120%; padding:0 15px 0 15px; }
	.m-w-100 { width:100%; margin:0; padding:0; }
	.m-plr-15 { padding:0 15px 0 15px; }
	.m-p-0 { padding:0; }
	.m-m-0 { margin:0; }
	
	.container { width:100%; margin:0; padding:0; }
}

ul.inline li { display:inline-block; }

.size-100 { font-size:100%; }
.cursor { cursor:pointer; color:blue; text-decoration:underline; }
.cursor:hover { color:red; text-decoration:none; }

.line-height-1 { line-height: 2px; }
.max-w-600 { max-width:600px; }
.h-100p { height:100px; }
.overflow { overflow:hidden; }
.footer { background:#fff; }
.bg-image { background-size:cover; background-position:center center; }

.masthead {
  height: 100vh;
  min-height: 500px;    
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

.scroll-to-top-mobile {
   /*
	opacity: 0.95;
	filter: alpha(Opacity=95);
	*/
	color:#333;
	position: fixed; /* Фиксированное размещение кнопки в окне, позиция не меняется относительно окна во время прокрутки страницы */
	right:0;
	bottom: 0; /* Прижимаем к нижнему краю окна */
	z-index: 9999; /* Поднимаем кнопку над всеми элементами страницы */
	padding:15px;
	margin:15px;
	text-align: center;
	display: none; /* Изначально кнопку не видно */
	cursor: pointer;
   
}

.bg-0 { background:none; background-color:none; background-image: none; }

.bg-com { background:#d4e2b6; }
.bg-answer { background:#f3e4cb; }
 
.rounded-10 { 
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 10px;
}

.box {

-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
 
}







 .preloader-bg {
position: fixed;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
z-index: 1000;
}

#preloader {
position: fixed;
display: table;
table-layout: fixed;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
z-index: 1000;
}

#preloader-status {
display: table-cell;
vertical-align: middle;
}

.preloader-position {
position: relative;
margin: 0 auto;
text-align: center;
-webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
     -o-box-sizing: border-box;
        box-sizing: border-box;
}

.loader {
position: relative;
width: 45px;
height: 45px;
left: 50%;
top: 50%;
margin-left: -22px;
margin-top: 2px;
-webkit-animation: rotate 1s infinite linear;
   -moz-animation: rotate 1s infinite linear;
    -ms-animation: rotate 1s infinite linear;
     -o-animation: rotate 1s infinite linear;
        animation: rotate 1s infinite linear;
border: 3px solid rgba(255, 255, 255, .15);
-webkit-border-radius: 50%;
   -moz-border-radius: 50%;
    -ms-border-radius: 50%;
     -o-border-radius: 50%;
        border-radius: 50%;
}

.loader span {
position: absolute;
width: 45px;
height: 45px;
top: -3px;
left: -3px;
border: 3px solid transparent;
border-top: 3px solid rgba(255, 255, 255, .75);
-webkit-border-radius: 50%;
   -moz-border-radius: 50%;
    -ms-border-radius: 50%;
     -o-border-radius: 50%;
        border-radius: 50%;
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



.opacity { opacity:0.7; }
.opacity:hover { opacity:1; }
.bg-opacity { background-color:#fff; opacity:0.5; }

.animate:hover img {
	-webkit-transform: scale(1.8);
	transform: scale(1.8);
	-moz-transform: scale(1.8);
}
.animate img {
	-webkit-transition-duration: 500ms;
	transition-duration: 500ms;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	transform: translateZ(0);
}

.rating-box {
	margin:auto;
	width: 60px;
	height: 10px;
	font-size: 0;
	line-height: 0;
	background: url(../images/bkg_rating.png) 0 0 repeat-x;
	text-indent: -999em;
	overflow: hidden;
}
.rating-box .rating {
	float:left;
	height: 9px;
	background: url(../images/bkg_rating.png) 0 100% repeat-x;
}

.w-10 { width:10%; }
.w-100p { width:100px; }

.line-bg { height:3px;  }
.bg-red { background:red; }
.bg-gray { background:gray; }
.bg-black { background:#151515; }
.text-gray { color:gray;  }
.align-top { vertical-align:top; }

.images  img { max-height:200px; margin:5px; }

@media(max-width:600px){ 
	.images img { max-height:none; margin:0; width:100%; }
}


.video-box { position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;right:0 }
.video-box .video-box-play{ display:inline-block; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center }
.video-box .video-box-inner { position:absolute; width:100%; bottom:10px; text-align:center; color:white; }

.text-box-overlay a{ color:#fff; transition:.3s ease-in-out; }
.text-box-overlay a:hover{ color:#d81a24}

.size-80 { font-size:80%; }
@media(max-width:600px){ 
	.m-size-80 { font-size:80%; }
	.m-center { text-align:center; }
}

.cls001 { border-right:2px solid #000; padding-right:35px; }
.cls002 { padding-left:35px; }
@media(max-width:600px){ 
	.cls001 { padding-right:15px; }
	.cls002 { padding-left:15px; }
}













/* 8. Lity v2.2.2 */
/*! Lity - v2.2.2 - 2016-12-14
* http://sorgalla.com/lity/
* Copyright (c) 2015-2016 Jan Sorgalla; Licensed MIT */
.lity {
  z-index: 99999;
  cursor: crosshair;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: none;
  background: rgba(0, 0, 0, 0.55);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity.lity-opened {
  opacity: 1;
}
.lity.lity-closed {
  opacity: 0;
}
.lity * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.lity-wrap {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
}
.lity-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
.lity-loader {
  z-index: 9991;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.8em;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
  opacity: 1;
}
.lity-container {
  z-index: 9992;
  cursor: auto;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  outline: none !important;
}
.lity-content {
  z-index: 9993;
  width: 100%;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
       -o-transform: scale(0.8);
          transform: scale(0.8);
}
.lity-content:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.lity-close {
  z-index: 9994;
  width: 35px;
  height: 35px;
  position: fixed;
  top: 40px;
  left: 40px;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
@media only screen and (max-width: 1200px) {
  .lity-close {
    top: 25px;
    left: 25px;
  }
}
@media only screen and (max-width: 640px) {
  .lity-close {
    top: 15px;
    left: 15px;
  }
}
.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close:active {
  top: 40px;
}
@media only screen and (max-width: 1200px) {
  .lity-close:active {
  top: 15px;
}
}
/* Image */
.lity-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0;
}
/* iFrame */
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
  width: 100%;
  max-width: 964px;
}
.lity-iframe-container {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: auto;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}
.lity-iframe-container iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}
.lity-hide {
  display: none;
}







