html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
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;
}

html {
			height: 100%
}

/* Povtoryauschiysia fon */

	body 
		{
			background-image:url('Images/vita.jpg');
			background-size: 10% auto;
			font-family: Philosopher;
			font-size: 110%;
			height: 100%;

		}


/*Produkty

/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.my_container ul {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  clear: both;
}

.my_container ul .block {
  width: 20%;
  height: auto;
  position: relative;
  float: left;
  margin: 0 0 0 0;
  padding: 0 0 20% 0;
  transition: 0.8s ease;
}
.my_container ul .block:hover span {
  height: 50%;
}
@media screen and (max-width: 1280px) {
  .my_container ul .block {
    width: 25%;
    padding-bottom: 25%;
  }
}
@media screen and (max-width: 1024px) {
  .my_container ul .block {
    width: 33.33%;
    padding-bottom: 33.33%;
  }
}
@media screen and (max-width: 600px) {
  .my_container ul .block {
    width: 50%;
    padding-bottom: 50%;
  }
}
@media screen and (max-width: 360px) {
  .my_container ul .block {
    width: 100%;
    padding-bottom: 100%;
  }
}
.my_container ul .block img {
  max-width: none;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.my_container ul .block span {
  width: 100%;
  height: 3rem;
  line-height: 2.3rem;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 1rem;
  font-size: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.8s ease;
  overflow: hidden;
}
/* Produkty */
.floats
{
/* Компенсируем отступы между float-блоками, чтобы они занимали все доступное пространство */
	margin: -3em 0 0 1em;

/* Эти правила для IE */
	position: relative;
	display: inline-block;
	clear: both;
}
.floats:after
{
	content: '';
	display: block;
	clear: both;
}
.floats .left
{
	position: relative;
	float: left;

/* Убираем удвоение отступов в IE */
	display: inline;

/* Прячем все, что вдруг вылезло за наши ограничения */
	overflow: hidden;

/* Отсупы между float-блоками */
	margin: 3em 0 0 -1em;

/* Задаем минимальную ширину по картинке и тексту */
	width: 17em;
	min-width: 300px;
}
.floats .left .r
{
	position: absolute;
	top: 0;
	left: 0;
	width: 65%;
}
.floats .left .min
{
/* Задаем минимальную высоту по картинке */
	margin: 0 0 170px 0;

/* Задаем минимальную высоту по тексту */
	height: 4em;

/* Дублируем значение минимальной ширины по картинке для IE */
	width: 170px;
}

/*Galereya*/
*{box-sizing:border-box}
label[for]{cursor:pointer}input[type="checkbox"]{display:none}body{background-color:#000}.lightbox,.grid{width:100%;position:fixed;top:0;left:0;}
.lightbox{
		z-index:6;
		min-height:100%;
		overflow:auto;
		-webkit-transform:scale(0);
		-ms-transform:scale(0);
		transform:scale(0);
		-webkit-transition:-webkit-transform .5s ease-out;
		transition:transform .5s ease-out
}
.lightbox img{
		position:fixed;
		top:50%;
		left:50%;
		max-width:76%;
		max-height:76%;
		-webkit-transform:translate(-50%,-50%);
		-ms-transform:translate(-50%,-50);
		transform:translate(-50%,-50%);
		box-shadow:0 2px 8px rgba(0,0,0,.25)}input[type="checkbox"]:checked+.lightbox{-webkit-transform:scale(1.3);
		-ms-transform:scale(1.3);
		transform:scale(1.3)
	}
input[type="checkbox"]:checked ~ .grid {opacity:.125}
.grid{
		display:-webkit-box;
		display:-webkit-flex;
		display:-ms-flexbox;
		display:flex;
		-webkit-flex-wrap:wrap;
		-ms-flex-wrap:wrap;
		flex-wrap:wrap;
		-webkit-box-align:start;
		-webkit-align-items:flex-start;
		-ms-flex-align:start;
		align-items:flex-start;
		-webkit-align-content:flex-start;
		-ms-flex-line-pack:start;
		align-content:flex-start;
		z-index:5;height:100%;
		padding:16px;
		overflow:auto;
		background-color:#fff;
		text-align:center;
		-webkit-transition:opacity .75s;
		transition:opacity .75s
	}
.grid .grid-item{
			display:inline-block;width:25%;padding:16px;
			opacity:.75;
			-webkit-transition:opacity .5s;transition:opacity .5s
		}
.grid .grid-item:hover{opacity:1}@media screen and (max-width:1024px){.grid .grid-item{width:50%}}@media screen and (max-width:480px){.grid .grid-item{width:100%}}
.grid img{
		max-width:100%;max-height:100%;
		box-shadow:0 2px 8px rgba(0,0,0,.25)
	 }

/*| Navigation |*/
nav{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.55);
	-moz-box-shadow: 0px 0px 12px #C0C0C0;
	-webkit-box-shadow: 0px 0px 12px #C0C0C0;
	box-shadow: 0px 0px 12px #C0C0C0;
	border: 1px solid rgba(0,0,0,.1);
	z-index: 1;
}
  nav ul{
    list-style: none;
    position: relative;
    float: right;
    margin-right: 150px;
    display: inline-table;
  }
    nav ul li{
      float: left;
      -webkit-transition: all .2s ease-in-out;
      -moz-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
    }

    nav ul li:hover{position: relative; background: rgba(0,0,0,.15); z-index: 2;}
    nav ul li:hover > ul{display: block;}
    nav ul li{
      float: left;
      -webkit-transition: all .2s ease-in-out;
      -moz-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
    }
      nav ul li a{
        display: block; 
        padding: 10px 20px;
        color: #222; 
        font-size: .9em;
        letter-spacing: 1px;
        text-decoration: none;
        text-transform: uppercase;
      }
      nav ul ul{
        display: none;
          background-color: rgba(255, 255, 255, 0.9);
        position: absolute; 
        top: 100%;
        box-shadow: 0px 2px 10px 2px rgba(0,0,0,.1);
        border: 1px solid rgba(0,0,0,.1);
      }
        nav ul ul li{float: none; position: relative;}
          nav ul ul li a {
            padding: 10px 30px; 
            border-bottom: 1px solid rgba(0,0,0,.05);
          }
          nav ul ul ul {
            position: absolute; 
            left: 100%; 
            top: 0;
          }

/*Ramka s teniami*/

	div.page-blok	{
					margin: 0 auto;
					max-width: 90%;
					min-width: 760px;
					padding: 20px;
					-moz-border-radius: 17px;
					-webkit-border-radius: 17px;
					border-radius: 17px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
					-moz-box-shadow: 0px 0px 12px #C0C0C0;
					-webkit-box-shadow: 0px 0px 12px #C0C0C0;
					box-shadow: 0px 0px 12px #C0C0C0;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
					-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 70);
/*-ms-filter must come before filter*/
					filter: alpha(opacity = 70);
					background-color: rgba(255, 255, 255, 0.55);
					color: black;

			}

/*Ramka s teniami y skrollom*/

	div.page-blok-scroll	{
					margin: 0 auto;
					max-width: 90%;
					min-width: 760px;
					padding: 20px;
					overflow-x: none;
					overflow-y: auto;
					overflow: hidden;
					/* высота секции равна высоте области просмотра */
					height: calc(99vh - 50px);
					-moz-border-radius: 17px;
					-webkit-border-radius: 17px;
					border-radius: 17px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
					-moz-box-shadow: 0px 0px 12px #C0C0C0;
					-webkit-box-shadow: 0px 0px 12px #C0C0C0;
					box-shadow: 0px 0px 12px #C0C0C0;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
					-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 70);
/*-ms-filter must come before filter*/
					filter: alpha(opacity = 70);
					background-color: rgba(255, 255, 255, 0.55);
					color: black;

			}

/* Nevidimiy blok */

	div.page-blok-na-ves-ekran	{
					position: relative;
					left: 0;
					margin: 0 auto;
					max-width: 100%;
					min-width: 760px;
					padding: 0 0 0 0;
					height: 100vh;
					overflow: hidden;

					-moz-border-radius: 0px;
					-webkit-border-radius: 0px;
					border-radius: 0px;

			}

/* Custom font*/

	@font-face	{
				font-family: Philosopher;
				src: local("Philosopher"), /* проверяем наличие шрифта в ОС пользователя */
				url(Fonts/Philosopher.otf); /* если шрифт не установлен, тогда загружаем его по указанному пути */
			}

/*Obtekanie foto*/

.limg	{
		float:left; /* Выравнивание по левому краю */
		margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
	}
.rimg	{
		float: right; /* Выравнивание по правому краю  */ 
		margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
	}

/* Footer*/

   #footer {
    position: fixed; /* Фиксированное положение */
    left: 0; bottom: 0; /* Левый нижний угол */
    padding: 10px; /* Поля вокруг текста */
    width: 100%; /* Ширина слоя */
    height: 130px;
    overflow: hidden;
   }

/* Thin Footer*/

   #footer-thin {
    position: fixed; /* Фиксированное положение */
    left: 0; bottom: 0; /* Левый нижний угол */
    padding: 10px; /* Поля вокруг текста */
    width: 100%; /* Ширина слоя */
    height: 107px;
    overflow: hidden;
   }

/*Scale photo */

.hovergallery img{
-webkit-transform:scale(1.05); /*Webkit: уменьшаем размер до 0.8*/
-moz-transform:scale(1.05); /*Mozilla: масштабирование*/
-o-transform:scale(1.05); /*Opera: масштабирование*/
-webkit-transition-duration: 0.5s; /*Webkit: длительность анимации*/
-moz-transition-duration: 0.5s; /*Mozilla: длительность анимации*/
-o-transition-duration: 0.5s; /*Opera: длительность анимации*/
opacity: 1; /*Начальная прозрачность изображений*/
margin: 0 10px 5px 0; /*Интервалы между изображениями*/
}

.hovergallery img:hover{
position: relative;
-webkit-transform:scale(1.9); /*Webkit: увеличиваем размер до 1.2x*/
-moz-transform:scale(1.9); /*Mozilla: масштабирование*/
-o-transform:scale(1.9); /*Opera: масштабирование*/
box-shadow:0px 0px 30px gray; /*CSS3 тени: 30px размытая тень вокруг всего изображения*/
-webkit-box-shadow:0px 0px 30px gray; /*Webkit: тени*/
-moz-box-shadow:0px 0px 30px gray; /*Mozilla: тени*/
opacity: 1;
z-index: 2;
}

/*Modal window*/

/* Контейнер */
.modal {

/* Слой перекрытия */
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 10000;

/* Трансформации прозрачности при открытии  */
-webkit-transition: opacity 500ms ease-in;
-moz-transition: opacity 500ms ease-in;
transition: opacity 500ms ease-in;

/* Скрываем изначально */
opacity: 0;
pointer-events: none;
}

/* Показываем модальное окно */
.modal:target {
opacity: 1;
pointer-events: auto;
}

/* Содержание */
.modal > div {
width: 600px;
background: #ffffff;
position: relative;
margin: 10% auto;

/* По умолчанию минимизируем анимацию */
-webkit-animation: minimise 500ms linear;

/* Придаем хороший вид */
padding: 30px;
-moz-border-radius: 7px;
border-radius: 7px;
-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
-moz-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
box-shadow: 0 3px 20px rgba(0,0,0,0.9);
text-shadow: 0 1px 0 #fff;
}

/* Изменяем анимацию при открытии модального окна*/
.modal:target > div {
-webkit-animation-name: bounce;
}

.modal h2 {
font-size: 36px;
padding: 0 0 20px;
}

@-webkit-keyframes bounce {
  0% {
  	-webkit-transform: scale3d(0.1,0.1,1);
  	-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
  55% {
  	-webkit-transform: scale3d(1.08,1.08,1);
  	-webkit-box-shadow: 0 10px 20px rgba(0,0,0,0);
  }
  75% {
  	-webkit-transform: scale3d(0.95,0.95,1);
  	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.9);
  }
  100% {
  	-webkit-transform: scale3d(1,1,1);
  	-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
}

@-webkit-keyframes minimise {
  0% {
  	-webkit-transform: scale3d(1,1,1);
  }
  100% {
  	-webkit-transform: scale3d(0.1,0.1,1);
  }
}

/* Ссылка на кнопку Закрыть */
.modal a[href="#close"] {
position: absolute;
right: 0;
top: 0;
color: transparent;
}

/* Сбрасываем изменения */
.modal a[href="#close"]:focus {
outline: none;
}

/* Создаем кнопку Закрыть */
.modal a[href="#close"]:after {
content: 'X';
display: block;

/* Позиционируем */
position: absolute;
right: -10px;
top: -10px;
width: 20px;
padding: 1px 1px 1px 2px;

/* Стили */
text-decoration: none;
text-shadow: none;
text-align: center;
font-weight: bold;
background: #000;
color: #ffffff;
border: 3px solid #ffffff;
-moz-border-radius: 20px;
border-radius: 20px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modal a[href="#close"]:focus:after,
.modal a[href="#close"]:hover:after {
-webkit-transform: scale(1.1,1.1);
-moz-transform: scale(1.1,1.1);
}

.modal a[href="#close"]:focus:after {
outline: 0px solid #000;
}

/* Открываем модальное окно */
a.openModal {

}

a.openModal:hover,
a.openModal:focus {
}

.modal .modal_title {
	display: block;
	text-align: center;
	font-size: 220pt;
}

#wrapperliquid {
	height: auto;
	margin: 20px auto 0 auto;
	text-align: center;
	width: 610px;
}

/* Image Box Style */
#wrapperliquid .box {
	border: 5px solid #fff;
	cursor: pointer;
	height: 600px;
	float: left;
	margin: 5px;
	position: relative;
	overflow: hidden;
	width: 600px;
		-webkit-box-shadow: 1px 1px 1px 1px #ccc;
		-moz-box-shadow: 1px 1px 1px 1px #ccc;
		box-shadow: 1px 1px 1px 1px #ccc;
}
#wrapperliquid .box img {
 	width:100%;
	position: absolute;
	left: 0;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;	
	transition: all 300ms ease-out;
}

/* Caption Common Style */
#wrapperliquid .box .caption {
	background-color: rgba(255,255,255,0.8);
	position: absolute;
	color: #000;
	z-index: 100;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;	
		transition: all 300ms ease-out;
	left: 0;
}


/** Caption 3: Fade **/
#wrapperliquid .box .fade-caption, #wrapperliquid .box .scale-caption  {
	opacity: 0;
	width: 600px;
	height: 600px;
	text-align: left;
	padding: 15px;
}

/** Caption 6: Scale **/
#wrapperliquid .box .scale-caption h3, #wrapperliquid .box .scale-caption p {
	position: relative;
	left: -610px;
	width: 600px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;	
	transition: all 300ms ease-out;
}

#wrapperliquid .box .scale-caption h3 {
	-webkit-transition-delay: 300ms;
	-moz-transition-delay: 300ms;
	-o-transition-delay: 300ms;
	-ms-transition-delay: 300ms;	
	transition-delay: 300ms;
}

#wrapperliquid .box .scale-caption p {
	-webkit-transition-delay: 100ms;
	-moz-transition-delay: 100ms;
	-o-transition-delay: 100ms;
	-ms-transition-delay: 100ms;	
	transition-delay: 100ms;
}

/** Fade Caption :hover Behaviour **/
#wrapperliquid .box:hover .fade-caption, #wrapperliquid .box:hover .scale-caption  {
	opacity: 1;
}

/** Scale Caption :hover Behaviour **/
#wrapperliquid .box:hover #image-1 {
	-moz-transform: scale(1.4);
	-o-transform: scale(1.4);
	-webkit-transform: scale(1.4);
	transform: scale(1.4);
}

#wrapperliquid .box:hover .scale-caption h3, #wrapperliquid .box:hover .scale-caption p {
	-moz-transform: translateX(600px);
	-o-transform: translateX(600px);
	-webkit-transform: translateX(600px);
	transform: translateX(600px);
}

#wrappersolid {
	height: auto;
	margin: 20px auto 0 auto;
	text-align: center;
	width: 810px;
}

/* Image Box Style */
#wrappersolid .box {
	border: 5px solid #fff;
	cursor: pointer;
	height: 400px;
	float: left;
	margin: 5px;
	position: relative;
	overflow: hidden;
	width: 800px;
		-webkit-box-shadow: 1px 1px 1px 1px #ccc;
		-moz-box-shadow: 1px 1px 1px 1px #ccc;
		box-shadow: 1px 1px 1px 1px #ccc;
}

#wrappersolid .box img {
 	width:100%;
	position: absolute;
	left: 0;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;	
	transition: all 300ms ease-out;
}

/* Caption Common Style */
#wrappersolid .box .caption {
	background-color: rgba(255,255,255,0.8);
	position: absolute;
	color: #000;
	z-index: 100;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;	
		transition: all 300ms ease-out;
	left: 0;
}


/** Caption 3: Fade **/
#wrappersolid .box .fade-caption, #wrappersolid .box .scale-caption  {
	opacity: 0;
	width: 800px;
	height: 400px;
	text-align: left;
	padding: 15px;
}

/** Caption 6: Scale **/
#wrappersolid .box .scale-caption h3, #wrappersolid .box .scale-caption p {
	position: relative;
	left: -810px;
	width: 800px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;	
	transition: all 300ms ease-out;
}

#wrappersolid .box .scale-caption h3 {
	-webkit-transition-delay: 300ms;
	-moz-transition-delay: 300ms;
	-o-transition-delay: 300ms;
	-ms-transition-delay: 300ms;	
	transition-delay: 300ms;
}

#wrappersolid .box .scale-caption p {
	-webkit-transition-delay: 100ms;
	-moz-transition-delay: 100ms;
	-o-transition-delay: 100ms;
	-ms-transition-delay: 100ms;	
	transition-delay: 100ms;
}

/** Fade Caption :hover Behaviour **/
#wrappersolid .box:hover .fade-caption, #wrappersolid .box:hover .scale-caption  {
	opacity: 1;
}

/** Scale Caption :hover Behaviour **/
#wrappersolid .box:hover #image-1 {
	-moz-transform: scale(1.4);
	-o-transform: scale(1.4);
	-webkit-transform: scale(1.4);
	transform: scale(1.4);
}

#wrappersolid .box:hover .scale-caption h3, #wrappersolid .box:hover .scale-caption p {
	-moz-transform: translateX(800px);
	-o-transform: translateX(800px);
	-webkit-transform: translateX(800px);
	transform: translateX(800px);
}

.TextSelGr{
    display:inline;
    background-color:#D9FAD9;
    color:#000;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

