html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, em, img, q, strong, b, u, i, ol, ul, li, form, fieldset, label, input, textarea, table, tr, th, td, article, aside, canvas, footer, header, hgroup, menu, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

article, aside, footer, header, hgroup, menu, nav, section {
  display: block; }

a {
  color: inherit;
  text-decoration: none;
  outline: none; }

ol, ul {
  list-style: none; }

@font-face {
  font-family: 'Literaturnaya';
  src: url(fonts/lit55.eot);
  src: url(fonts/lit55.eot?#iefix) format("embedded-opentype"), url(fonts/lit55.woff) format("woff"), url(fonts/lit55.ttf) format("truetype");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'PF Square Sans Pro';
  /* light */
  src: url(fonts/pfsquaresanspro-light.eot);
  src: url(fonts/pfsquaresanspro-light.eot?#iefix) format("embedded-opentype"), url(fonts/pfsquaresanspro-light.woff) format("woff"), url(fonts/pfsquaresanspro-light.ttf) format("truetype");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'PF Square Sans Pro';
  /* medium */
  src: url(fonts/pfsquaresanspro-medium.eot);
  src: url(fonts/pfsquaresanspro-medium.eot?#iefix) format("embedded-opentype"), url(fonts/pfsquaresanspro-medium.woff) format("woff"), url(fonts/pfsquaresanspro-medium.ttf) format("truetype");
  font-weight: bold;
  font-style: normal; }

body {
  min-width: 970px;
  background-color: white;
  font: 16px/1.5 'Open Sans', sans-serif;
  color: #333;
  margin-top: 134px;
  /*@media only screen and (max-width: $phone) {
  	min-width: 0;
  	overflow-x: hidden;
  }*/ }

.wrap {
  width: 920px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  	padding: 0 $gw-gutter;
  }*/ }

.header {
  line-height: 1;
  text-transform: uppercase;
  border-bottom: 1px solid #e4e4e4;
  *zoom: 1;
  position: fixed;
  top: 0px;
  z-index: 10;
  background: #FFF;
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;


  height: 3px;
  padding-top: 60px;
  padding-bottom: 35px;
  /*@media only screen and (max-width: $phone) {
  	padding: 45px 0 15px;
  }*/ }
  .header:before, .header:after {
    content: " ";
    display: table; }
  .header:after {
    clear: both; }

.header h1 {
  margin-left: 105px;
  font-size: 16px;
  color: #b6b6b6;
  font-weight: bold;
  background: #FFF;
  overflow: hidden;
  /*@media only screen and (max-width: $phone) {
  	margin-left: 0;
  	text-align: center;
  	float: none;
  	font-size: 20px;
  	line-height: 1.3;
  }*/ }

.header h1 strong {
  color: #000;
  /*@media only screen and (max-width: $phone) {
  	display: block;
  }*/ }

  .header.hidden nav {
  	margin-top: -15px;
  }

  @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
    .header h1 strong {
      display: block; } }
.header h1 a {
	width: 0;
	overflow: hidden;
	background: url(img/logo.png) no-repeat padding-box #FFF;
	display: block;
	position: absolute;
	margin-top: -21px;
	left: -20px;
	width: 308px;
	height: 58px;
	min-height: 58px;
	max-height: 98px;
	text-indent: -999999px;
	overflow: hidden;

	top: -17px;

	-moz-background-size: contain;
	-webkit-background-size: contain;
	-o-background-size: contain;
	background-size: contain;

	-webkit-transition: 0.1s all ease;
	-moz-transition: 0.1s  all ease;
	transition: 0.1s  all ease;

}
/*.header h1 a:before {
  content: '';
  background: url(img/logo.png) 0 0 no-repeat;
  display: block;
  position: absolute;
  margin-top: -47px;
  left: -20px;
  width: 320px;
  height: 113px;


  /*@media only screen and (max-width: $phone) {
  	left: -$gw-gutter * 2;
  }* / } */
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .header h1 a:before {
      background-image: url(img/logo@2x.png);
      -webkit-background-size: 120px 113px;
      -moz-background-size: 120px 113px;
      -ms-background-size: 120px 113px;
      -o-background-size: 120px 113px;
      background-size: 120px 113px; } }

.header .lang {
  position: absolute;
  font-size: 14px;
  color: #9c9c9c;
  right: 0;
  margin-top: -45px;
  /*@media only screen and (max-width: $phone) {
  	top: 0; right: 0; left: 0;
  	margin-top: -45px;
  	padding: 5px 10px;
  	background-color: rgba(0,0,0,0.7);
  	text-align: center;
  	color: #f0f0f0;
  }*/ }

.header .lang a {
  display: inline-block;
  margin-left: 5px;
  /*@media only screen and (max-width: $phone) {
  	padding: 0 10px;
  	margin-left: 0;
  }*/ }

.header nav {
  float: right;
  font-weight: 600;
  color: #333;
  margin-right: -3px;
  margin-top: -15px;
  font-weight: 15px;
  /*@media only screen and (max-width: $phone) {
  	text-align: center;
  	float: none;
  	margin: 20px -20px 0;
  }*/ }

.header nav li {
  display: inline-block;
  position: relative;
  letter-spacing: 2px;
  margin-left: 25px;
  padding-bottom: 10px;
  letter-spacing: 1px;
  /*@media only screen and (max-width: $phone) {
  	margin: 0;
  }*/ }

header > h2:only-child {
  width: 770px;
  margin: 0 auto;
  padding: 0 0 60px;
  font: 42px/1.3 "Literaturnaya", "Georgia", serif;
  color: #a4a4a4;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  	font-size: 20px;
  	color: #999;
  	text-align: center;
  	padding-bottom: 0;
  }*/ }

header > h2.small:only-child {
  font-size: 28px;
  padding-bottom: 0;
  width: 960px;
  margin: -15px auto;

  }

header > h2.smaller:only-child {
  padding-bottom: 0;
  font-size: 28px;
  margin: -15px auto;
  width: 525px;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  	font-size: 20px;
  	color: #999;
  	padding: 20px 0;
  }*/ }

header > h2:only-child strong {
  color: #000; }

body > section {
  width: 920px;
  margin: 50px auto;
  position: relative;
  *zoom: 1;
  /*@media only screen and (max-width: $phone) {
  	padding: 0 20px;
  	width: auto;
  }*/ }
  body > section:before, body > section:after {
    content: " ";
    display: table; }
  body > section:after {
    clear: both; }

section h1 {
  font: 36px/1 "Literaturnaya", "Georgia", serif;
  margin-bottom: 10px;
  position: relative;
  /*@media only screen and (max-width: $phone) {
  	text-align: center;
  }*/ }

section h1 a {
  display: inline-block;
  background-color: white;
  padding-right: 12px;
  /*@media only screen and (max-width: $phone) {
  	padding: 0 12px;
  }*/ }

section h1 a:hover {
  text-decoration: underline; }

section h1 a:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: 1px solid #cfcfcf;
  z-index: -1; }

section h2 {
  font: 24px/1 "Literaturnaya", "Georgia", serif;
  margin: 25px 0 15px; }

section p {
  margin-bottom: 1em; }

section ul {
  margin-bottom: 1em;
  margin-left: 25px;
  list-style: none; }

section ul li:before {
  content: "•";
  position: absolute;
  margin-left: -10px; }

section img {
  display: block;
  /*@media only screen and (max-width: $phone) {
  	margin-bottom: $gw-gutter;
  }*/ }

body > img {
  display: block;
  width: 100%; }

.construction {
  background-color: #fafafa;
  text-align: center;
  padding: 7px;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid #e4e4e4; }

.gray {
  background-color: #f0f0f0;
  margin: 0 auto;
  width: auto;
  padding: 50px 0;
  position: relative;
  /*@media only screen and (max-width: $phone) {
  	padding: 15px 20px;
  }*/ }

.gray > :only-child {
  position: relative;
  text-align: center;
   }

header.gray:after {
  display: block;
  content: '';
  position: absolute;
  bottom: -30px;
  right: 0;
  left: 0;
  height: 30px;
  /*@media only screen and (max-width: $phone) {
  	display: none;
  }*/ }

.text, .text.gray > article {
  width: 525px;
  margin: 0 auto;
  padding: 25px 20px;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  }*/ }

.text.cols {
  width: 920px;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  }*/ }

.news {
  padding: 0; }

.news > article {
  padding: 20px 20px 60px;
  position: relative; }

.text.gray {
  margin: 0;
  padding: 0;
  width: auto; }

.text h1 {
  font-size: 24px;
  padding: 5px 0;
  line-height: 1.3; }

.text img {
  display: block;
  width: 100%;
  margin: 1em 0; }

.text a {
  color: #069;
  text-decoration: underline; }

.text ul {
  margin-left: 15px; }

.text ul li:before {
  font-size: 32px;
  color: #069;
  margin-top: -14px;
  margin-left: -15px; }

.up {
  font-weight: bold;
  width: 25px;
  padding: 5px;
  text-align: center;
  color: #069;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 315px;
  z-index: 1;
  text-decoration: none !important;
  -webkit-transition: padding 0.1s ease;
  -moz-transition: padding 0.1s ease;
  -ms-transition: padding 0.1s ease;
  -o-transition: padding 0.1s ease;
  transition: padding 0.1s ease;
  /*@media only screen and (max-width: $phone) {
  	left: auto;
  	margin-left: 0;
  	right: 10px;
  }*/ }

.up:hover {
  padding-top: 15px; }

.up:active {
  padding-top: 12px; }

#comments {
  width: 485px;
  padding: 0 20px;
  margin: 25px auto 0;
  /*@media only screen and (max-width: $phone) {
  	display: none;
  }*/ }

.startlinks {
  width: 605px;
  margin-top: -60px;
  line-height: 1.5;
  *zoom: 1;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  	margin-top: 0;
  }*/ }
  .startlinks:before, .startlinks:after {
    content: " ";
    display: table; }
  .startlinks:after {
    clear: both; }

.startlinks article {
  width: 290px;
  float: left;
  margin-left: 25px;
  /*@media only screen and (max-width: $phone) {
  	float: none;
  	margin-left: 0;
  	width: auto;
  	position: relative;
  }*/ }

.startlinks article:nth-child(2n-1) {
  margin-left: 0; }

.startlinks h2 {
  margin: 15px 0 10px; }

.startlinks article :first-child {
  display: block;
  width: 290px; }

/*@media only screen and (max-width: $phone) {
	.startlinks a:first-child {
		width: auto;
		margin: 0 -20px;
		height: 80px;
		overflow: hidden;
	}
	.startlinks img {
		width: 100% !important;
		margin-top: -15%;
	}
}*/
.startlinks article > a:hover {
  background-color: #000; }

.startlinks a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -ms-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease; }

/*@media only screen and (max-width: $phone) {
	.grid {
		padding: 0;
		height: auto !important;
	}
}*/
.grid article {
  float: left;
  width: 248px;
  margin-bottom: 25px;
  border: 1px solid #ebebeb;
  overflow: hidden;
  padding: 0 20px;
  /*@media only screen and (max-width: $phone) {
  	float: none;
  	margin: 0;
  	width: auto;
  	border: 0;
  	border-bottom: 1px solid #ebebeb;
  	position: static !important;
  }*/ }

/*@media only screen and (max-width: $phone) {
	.grid article:last-child { border-bottom: 0; }
}*/
.grid.thumbsonly article {
  width: 290px;
  height: 168px;
  border: 0;
  padding: 0;
  color: #000;
  margin: 25px 0 0 25px;
  background-color: #f0f0f0;
  position: relative !important;
  outline: 1px solid rgba(0, 0, 0, 0.00);
  outline-offset: -1px;
  text-align: center;
  text-shadow: 0 -1px 2px rgba(0, 0, 0, 0.1);
  -webkit-tap-highlight-color: transparent;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  	margin: $gw-gutter 0 0;
  	height: 110px;
  	overflow: hidden;
  }*/ }

.grid.thumbsonly article:nth-of-type(3n+1) {
  margin-left: 0; }

.grid.gallery article {
	display: inline-block;
	padding: 0;
	position: relative;
	width: 291px;
	margin-bottom: 12px;
	height: 160px;
	float: none;
}
.grid.gallery a {
position: relative !important;
}
.grid article a {
  display: block;
  margin: 0 -21px;
position: relative;
width: 290px;
height: 180px;
display: block;
overflow: hidden;
  border-bottom: 1px solid #ebebeb; }

.grid.gallery article a {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
	margin: 0;
}

.grid.gallery article a img {
	position: relative;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	display: block;
	margin: auto;
}

.gallery a[href="#"] {
  cursor: default; }

/*@media only screen and (max-width: $phone) { .gallery a { cursor: default; } }*/
.fancybox-title {
  font: 16px/1.3 "PF Square Sans Pro", "Helvetica Neue", "Arial", sans-serif;
  color: #666; }

.fancybox-next {
  right: -70px; }

.fancybox-prev {
  left: -70px; }

.fancybox-close {
  /*background: #fff url(img/close.png) center no-repeat;
  top: 0; right: 0;*/
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .fancybox-close {
      background-image: url(img/close@2x.png);
      -webkit-background-size: 14px;
      -moz-background-size: 14px;
      -ms-background-size: 14px;
      -o-background-size: 14px;
      background-size: 14px; } }

.fancybox-skin {
  background-color: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px; }

.grid.thumbsonly article a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  margin: 0;
  border: 0;
  outline: 1px solid rgba(0, 0, 0, 0.00);
  outline-offset: -1px;
  height: 168px;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -ms-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  /*@media only screen and (max-width: $phone) {
  	height: 110px;
  	margin: auto;
  	-webkit-touch-callout: none;
  	@include transition(all 0.2s ease 0.3s);
  }*/ }

.grid.thumbsonly article a:hover,
.grid.thumbsonly article a.hover {
  opacity: 0;
  filter: alpha(opacity=0); }

.grid img {
  display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
  width: 100%; }

.grid.thumbsonly img {
  display: block;
  min-height: 168px;
  /*@media only screen and (max-width: $phone) {
  	margin-top: -12%;
  }*/ }

.grid h2 {
  font: 24px/1 "Literaturnaya", "Georgia", serif;
  /*@media only screen and (max-width: $phone) {
  	margin-top: 15px;
  	margin-bottom: 10px;
  }*/ }

.grid.thumbsonly h2 {
  margin: 55px 20px 15px;
  /*@media only screen and (max-width: $phone) {
  	margin-top: 36px;
  	font-size: 36px;
  }*/ }

.grid h3 {
  color: #666;
  margin: -15px 0 10px;
  text-transform: lowercase; }

.grid p {
  color: #888;
  line-height: 1.3; }

.grid h3 + p {
  color: #333; }

.grid.thumbsonly p {
  margin: 0 15px;
  font-size: 18px;
  color: #000;
  /*@media only screen and (max-width: $phone) {
  	display: none;
  }*/ }

.col {
  float: left;
  width: 420px;
  margin-left: 80px;
  /*@media only screen and (max-width: $phone) {
  	float: none;
  	margin-left: 0;
  	width: auto;
  }*/ }

.col:nth-of-type(2n-1) {
  margin-left: 0; }

/*@media only screen and (max-width: $phone) {
	.col img { width: 100%; }
}*/
.prevnext {
  width: 525px;
  margin: 0 auto;
  border-top: 1px solid lightgrey;
  color: #069;
  font: 14px/1.3 "Literaturnaya", "Georgia", serif;
  text-align: center;
  *zoom: 1;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  }*/ }
  .prevnext:before, .prevnext:after {
    content: " ";
    display: table; }
  .prevnext:after {
    clear: both; }

.prevnext a {
  width: 50%;
  padding: 25px 25px;
  position: relative;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*@media only screen and (max-width: $phone) {
  	padding: $gw-gutter 0;
  }*/ }

.prevnext a:hover span {
  text-decoration: underline; }

/*@media only screen and (max-width: $phone) {
	.prevnext a span { display: none; }
	.prevnext a:hover {
		background-color: #069;
		color: #fff;
	}
}*/
.prevnext .prev:before,
.prevnext .next:after {
  position: absolute;
  font: 16px "PF Square Sans Pro", "Helvetica Neue", "Arial", sans-serif;
  top: 0;
  bottom: 5px;
  height: 16px;
  margin: auto 0;
  /*@media only screen and (max-width: $phone) {
  	position: static;
  	font-size: 36px;
  }*/ }

.prevnext .prev {
  float: left;
  padding-right: 12.5px; }

.prevnext .prev:before {
  content: "←";
  left: 0; }

.prevnext .next {
  float: right;
  padding-left: 12.5px; }

.prevnext .next:after {
  content: "→";
  right: 0; }

.project .wrap {
  width: 710px;
  margin: 1em auto;
  position: relative;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  	padding: 0;
  }*/ }

.project > section:first-child {
  margin: 50px auto;
  /*@media only screen and (max-width: $phone) {
  	margin: 0;
  }*/ }

.project > section:first-child > * {
  display: block;
  width: 100%; }

.project .select {
  position: absolute;
  width: 25px !important;
  height: 100px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  border: 15px solid white;
  border-top-width: 10px;
  border-bottom-width: 10px;
  background: url(img/prevnext.png) 0 0 no-repeat;
  opacity: 0.3;
  filter: alpha(opacity=30);
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  /*@media only screen and (max-width: $phone) {
  	display: none !important;
  }*/ }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .project .select {
      background-image: url(img/prevnext@2x.png);
      -webkit-background-size: 50px 100px;
      -moz-background-size: 50px 100px;
      -ms-background-size: 50px 100px;
      -o-background-size: 50px 100px;
      background-size: 50px 100px; } }

/*@media only screen and (max-width: $phone) {
	.project .wrap > p {
		padding: 0 20px;
	}
}*/
.project .grid {
  width: 920px;
  margin: 0 auto;
  /*@media only screen and (max-width: $phone) {
  	width: auto;
  }*/ }

.project .select:hover {
  opacity: 0.75;
  filter: alpha(opacity=75);
  background-color: #f0f0f0;
  border-color: #f0f0f0; }

.project .select.prev {
  left: -75px;
  background-position: 0 0; }

.project .select.next {
  right: -75px;
  background-position: -25px 0; }

.project footer {
  background-color: #f5f5f5;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  color: #666;
  *zoom: 1;
  line-height: 19px;
  padding: 50px 0;
  /*@media only screen and (max-width: $phone) {
  	padding: 25px 0;
  	margin-top: -7px;
  }*/ }
  .project footer:before, .project footer:after {
    content: " ";
    display: table; }
  .project footer:after {
    clear: both; }

.project footer:last-child {
  border-bottom: 0; }

.project footer .wrap {
  margin: 0 auto;
  /*@media only screen and (max-width: $phone) {
  	text-align: center;
  }*/ }

.project footer p {
  float: left;
  margin-right: 30px;
  height: 19px;
  line-height: 19px;
  /*@media only screen and (max-width: $phone) {
  	text-align: center;
  	float: none;
  	display: inline-block;
  	margin: 5px 15px;
  }*/ }

.project footer a {
  text-decoration: underline; }

.project p[class]:before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 8px;
  background: url(img/project.png) 19px 0 no-repeat;
  vertical-align: top; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .project p[class]:before {
      background-image: url(img/project@2x.png);
      -webkit-background-size: 144px 19px;
      -moz-background-size: 144px 19px;
      -ms-background-size: 144px 19px;
      -o-background-size: 144px 19px;
      background-size: 144px 19px; } }

.project p.gallery-text:before {
  background-position: 0 0; }

.project p.description-text:before {
  background-position: -19px 0; }

.project p.order-text:before {
  background-position: -38px 0; }

.project #comments {
  width: auto;
  padding: 10px 20px; }

.project #comments .wrap {
  margin: 0 auto;
  width: 500px; }
.project .sociallinks a {
	margin-top: 10px;
}
.project .sociallinks {
  position: absolute;
  left: -44px;
  width: 19px !important;
  margin-top: 0px !important;
  width: 19px;
  /*@media only screen and (max-width: $phone) {
  	float: none;
  	margin-top: 20px;
  }*/ }

.news .sociallinks {
  position: absolute;
  left: -20px;
  width: 19px;
  margin-top: 108px;
  /*@media only screen and (max-width: $phone) {
  	right: 0; bottom: 115px; left: 0;
  	margin-top: 0;
  	width: auto;
  	text-align: center;
  	z-index: 1;
  }*/ }

.sociallinks a {
  display: inline-block;
  width: 19px;
  height: 19px;
  background: url(img/project.png) 19px 0 no-repeat; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .sociallinks a {
      background-image: url(img/project@2x.png);
      -webkit-background-size: 144px 19px;
      -moz-background-size: 144px 19px;
      -ms-background-size: 144px 19px;
      -o-background-size: 144px 19px;
      background-size: 144px 19px; } }

.project .sociallinks a {
  margin-left: 6px;
  /*@media only screen and (max-width: $phone) {
  	margin: 0 10px;
  }*/ }

.news .sociallinks a {
  margin-top: 10px;
  /*@media only screen and (max-width: $phone) {
  	margin: 0 10px;
  }*/ }

.sociallinks .twitter {
  background-position: -95px 0; }

.sociallinks .facebook {
  background-position: -76px 0; }

.sociallinks .linkedin {
  background-position: -57px 0; }

.contact-wrap {
  display: none;
  background: #333333 url(img/footer.png) no-repeat bottom right;
  color: #ccc;
  padding: 25px 20px;
  margin: 0;
  text-align: center;
  line-height: 1;
  /*@media only screen and (max-width: $phone) {
  	display: block;
  }*/ }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .contact-wrap {
      background-image: url(img/footer@2x.png);
      -webkit-background-size: 346px  162px;
      -moz-background-size: 346px  162px;
      -ms-background-size: 346px  162px;
      -o-background-size: 346px  162px;
      background-size: 346px  162px; } }

.contact-wrap .contact {
  margin: 0; }

.clients {
  width: 960px;
  /*@media only screen and (max-width: $phone) {
  	width: grid-width(3);
  }*/ }

.clients article {
  float: left;
  width: 104px; /* Original: W:80px H:80px*/
  height: 90px;
  margin-left: 25px;
  margin-bottom: 25px;
  position: relative; }
.clients2 article { /* FRONT */
  float: left;
  width: 80px;
  height: 80px;
  margin-left: 25px;
  margin-bottom: 25px;
  position: relative; }
.clients article:nth-of-type(7n+1) {
  margin-left: 0; }

#clientsminigrid {
  width: 395px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  *zoom: 1; }
  #clientsminigrid:before, #clientsminigrid:after {
    content: " ";
    display: table; }
  #clientsminigrid:after {
    clear: both; }

#clientsminigrid article {
  margin-left: 25px; }

#clientsminigrid article:nth-of-type(4n+1) {
  margin-left: 0; }

		/*@media only screen and (max-width: $phone) {
			#clientsminigrid {
				width: 60*4+$gw-gutter*3;
				margin: 25px auto 0;
			}

			#clientsminigrid article {
				width: 60px;
				height: 60px;
				margin-left: 25px;
			}
		}*/
/*@media only screen and (max-width: $phone) {
	.clients article:nth-of-type(7n+1) { margin-left: $gw-gutter; }
	.clients article:nth-of-type(3n+1) { margin-left: 0; }
}*/
.clients a {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
    min-width: 116px;

  background-color: white;
  z-index: 1;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -ms-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease; }

.clients article:hover a {
  opacity: 0;
  filter: alpha(opacity=0); }

.clients img {
  display: block;
  max-width: 90px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto; }

.clients p {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  background-color: #eaeaea;
  display: table-cell;
  vertical-align: middle;
  height: 80px;
  padding: 0 6px;
  min-width: 92px;
   }

::selection {
  background: #333;
  color: #fff; }

::-moz-selection {
  background: #333;
  color: #fff; }

::-webkit-selection {
  background: #333;
  color: #fff; }

.footer {
  background: #333333 url(img/footer.png) no-repeat bottom right;
  color: #ccc;
  padding: 45px 0 90px;
  line-height: 1;
  *zoom: 1;
  /*@media only screen and (max-width: $phone) {
  	padding: 25px 0;
  }*/ }
  .footer:before, .footer:after {
    content: " ";
    display: table; }
  .footer:after {
    clear: both; }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .footer {
      background-image: url(img/footer@2x.png);
      -webkit-background-size: 346px  162px;
      -moz-background-size: 346px  162px;
      -ms-background-size: 346px  162px;
      -o-background-size: 346px  162px;
      background-size: 346px  162px; } }

.footer ::selection {
  background: #fff;
  color: #333; }

.footer ::-moz-selection {
  background: #fff;
  color: #333; }

.footer ::-webkit-selection {
  background: #fff;
  color: #333; }

.footer h1 {
  width: 185px;
  padding-right: 25px;
  color: #fff;
  float: left;
  font: 36px "Literaturnaya", "Georgia", serif;
  /*@media only screen and (max-width: $phone) {
  	display: none;
  }*/ }

.footer .contact {
  overflow: hidden;
  /*@media only screen and (max-width: $phone) {
  	text-align: center;
  	padding-bottom: 20px;
  }*/ }

.contact li {
  padding: 8px 0;
  /*@media only screen and (max-width: $phone) {
  	display: inline-block;
  	padding-left: $gw-gutter;
  	padding-right: 10px;
  }*/ }

.contact li[class]:before {
  content: '';
  display: block;
  width: 14px;
  height: 16px;
  position: absolute;
  margin-left: -25px;
  background-image: url(img/contact.png); }
  @media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
    .contact li[class]:before {
      background-image: url(img/contact@2x.png);
      -webkit-background-size: 14px 48px;
      -moz-background-size: 14px 48px;
      -ms-background-size: 14px 48px;
      -o-background-size: 14px 48px;
      background-size: 14px 48px; } }

.contact li.address:before {
  background-position: 0 0; }

.contact li.email:before {
  background-position: 0 -16px; }

.contact li.phone:before {
  background-position: 0 -32px; }

/* TODO: Retina */
.contact a {
  border-bottom: 1px solid #999999; }

.social {
  margin: 10px 0 40px 5px;
  /*@media only screen and (max-width: $phone) {
  	display: none;
  }*/ }

.social > * {
  display: inline-block;
  height: 20px;
  vertical-align: top;
  overflow: hidden;
  margin-right: 15px; }

.social .twitter {
  width: 56px !important; }

.social .facebook {
  width: 46px; }

.footer nav {
  float: right;
  text-align: right;
  width: 460px;
  *zoom: 1;
  /*@media only screen and (max-width: $phone) {
  	display: block;
  	float: none;
  	text-align: center;
  	width: auto;
  	margin: 0 0 20px;
  }*/ }
  .footer nav:before, .footer nav:after {
    content: " ";
    display: table; }
  .footer nav:after {
    clear: both; }

.footer nav a {
  padding: 3px;
  margin-left: 13px;
  line-height: 1.5;
  /*@media only screen and (max-width: $phone) {
  	margin: 0 2%;
  }*/ }
.footer nav small {
  display: block;
  text-align: right;
  float: none;
  position: relative;
  top: 15px;
  /*@media only screen and (max-width: $phone) {
  	margin: 0 2%;
  }*/ }
.footer nav a:first-of-type {
	margin-left: 0;
}
.footer small {
  color: #999;
  font-size: 14px;
  line-height: 16px;
  display: block;
  text-align: right;
  float: none;
  /*@media only screen and (max-width: $phone) {
  	float: none;
  	display: block;
  	position: absolute;
  	left: 0; bottom: -10px; right: 0;
  	text-align: center;
  }*/ }
.footer nav aside.social {
	float: none;
	text-align: right;
}
.footer nav aside.social iframe {
	margin-right: 0;
	margin-left: 15px;
}
.footer nav aside.social iframe:first-of-type {
	margin-left: 0px;
}

	 section aside.val {
		width: 400px;
	 	height: 85px;
	 	float: left;
	 	display: inline-block;
	 	margin-top: 25px;
	 	margin-bottom: -5px;
	 	padding-left: 0px;
	 	padding-right: 50px;
	 	padding-top: 25px;
	 }
	 section aside.val:nth-child(2n+1) {
	 margin-left: 20px;
	 }
	 section aside.val h2 {
	 margin: 0px;

	 }
	 /*
section aside.val.deep {
	background:  url('img/deep.png') no-repeat 20px center;
}
section aside.val.white {
	background:  url('img/white.png') no-repeat 20px center;
}
section aside.val.idea {
	background:  url('img/idea.png') no-repeat 20px center;
}
section aside.val.result {
	background:  url('img/result.png') no-repeat 20px center;
}
*/

.project .prevnext {
	width: 710px;
}
.prevnext .next {
	text-align: right;
}
.prevnext .prev {
	text-align: left;
}
.gray {
	margin-top: -35px;
}

.video_stuff p {
	padding-top: 0.4em;
	text-align: center;
}

.sociallinks {
position: absolute;
left: -20px;
width: 19px;
margin-top: 108px;
}

.newsgrid article h2 {
font: 20px/1.3 "Literaturnaya", "Georgia", serif;
}
span.category {
	text-transform: uppercase;
	font-size: 13px;
	position: relative;
	top: -6px;
	color: #B6B6B6;
}
.prizes article h2{
font: 20px/1.3 "Literaturnaya", "Georgia", serif;
margin: 25px 0 5px;
}


	 /*  PAKALPOJUMI  */
	 section.services {
	 	background: url('img/logo-watermark.png') no-repeat center top;
padding-bottom: 150px;
margin-bottom: 0px;

	 }
	 section.services h1 a {
	 	pointer-events: none;
	 	cursor: text;
	 }
	 section.services aside.l {
	 width: 42%;
	 float: left;
	 text-align: right;
}
	 section.services aside.r {
	 width: 42%;
	 float: right;
	 text-align: left;

}
section.services aside h2 {
width: 100px;
display: inline-block;
/*padding-top: 105px;*/
text-transform: uppercase;
text-align: center;
margin-bottom: 20px;
margin-top: 0px;
}
section.services aside.l h2 {
		/*background: url('img/deep.png') no-repeat right top;*/
		position: relative;
		right: -50px;

}
section.services aside.r h2 {
		/*background: url('img/white.png') no-repeat left top;*/
		position: relative;
		left: -50px;
}

section.services aside .service h3 {
		  font: 24px/43px "Literaturnaya", "Georgia", serif;
		  cursor: pointer;
}
section.services aside.l .service p {
padding-right: 15px;


}
section.services aside.r .service p {
padding-left: 15px;
}
section.services aside .service p {
	  font: 16px/24px "PF Square Sans Pro", "Helvetica Neue", "Arial", sans-serif;
	  display: none;
}

.services aside.r .service h3::before {
content: '+';
position: absolute;
margin-left: -38px;
width: 35px;
height: 10px;
text-align: left;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}
.services aside.l .service h3::after {
content: '+';
position: absolute;
margin-right: -28px;
width: 35px;
height: 10px;
text-align: right;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}


.services aside.r .service.visible h3::before {
content: '–';
position: absolute;
margin-left: -38px;
width: 35px;
height: 10px;
text-align: left;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}
.services aside.l .service.visible h3::after {
content: '–';
position: absolute;
margin-right: -28px;
width: 35px;
height: 10px;
text-align: right;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}
.prevnext.top a {
width: 40px;
padding: 25px 20px;
position: relative;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: none;
}

.prevnext.top {
border: none;
font-size: 21px;
width: 800px !important;
position: absolute;
margin-top: 160px;
margin-bottom: -58px;
margin-left: -400px;
left: 50%;
z-index: 0;
text-decoration: none;}
.prevnext.top a::after, .prevnext.top a::before {
font-size: 29px !important;
}

a.facebook-icn {
width: 20px;
height: 20px;
background: url(img/facebook-icn.png) no-repeat padding-box;
position: relative;
top: -4px;
opacity: 0.5;
}

a.facebook-icn:hover {
opacity: 0.7;}
a.instagram-icn {
width: 20px;
height: 20px;
background: url(img/instagram-icn.png?v1) no-repeat padding-box;
position: relative;
top: -4px;
opacity: 0.5;
}

a.instagram-icn:hover {
opacity: 0.7;}

/* MOBĪLĀ VERSIJA */

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

.grid.gallert img {
	position: relative;
}
.grid.gallery article {
		width: 100% !important;
		overflow: visible;

}

.grid.gallery article {
			height: 100% !important;
			display: block;

}
.grid.gallery article a {
		height: default !important;
		overflow: visible;


}

section.services aside.l {
width: 100% !important;
float: none !important;
text-align: left !important;
}

section.services aside.r {
width: 100% !important;
float: none !important;
text-align: left !important;
margin-top: 40px !important;
}

section.services aside.l h2 {
/*background: url('img/deep.png') no-repeat center top !important;*/
position: relative !important;
right: 0px !important;
text-align: center !important;
width: 100%;

}
section.services aside.r h2 {
/*background: url('img/white.png') no-repeat center top !important;*/
position: relative !important;
left: 0px !important;
text-align: center !important;
width: 100%;
}
.services aside.l .service h3::after {
	display: none !important;
}
.services aside.r .service h3::before {
content: '+';
position: absolute;
margin-left: -38px;
width: 35px;
height: 10px;
text-align: left;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}
.services aside .service h3 {
font-size: 18px !important;
margin-left: 30px !important;
line-height: 24px !important;
margin-top: 20px !important;
}
.services aside .service h3::before {
content: '+';
position: absolute;
margin-left: -38px;
width: 35px;
height: 10px;
text-align: left;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}
.services aside .service.visible h3::before {
content: '–';
position: absolute;
margin-left: -38px;
width: 35px;
height: 10px;
text-align: left;
vertical-align: middle;
border-radius: 100%;
font-weight: normal;
}
body {
  min-width: 0;
  overflow-x: hidden;
  margin-top: 0px;
  }
.project .wrap {
	  width: auto !important;
margin: 0;
}
.wrap.video_stuff > p {
	padding:0;

}
.wrap {
  width: auto;
  padding: 0 25px; }
.header {
   padding: 45px 0 115px;
   position: relative;
   height: 70px;
   z-index: 40;
  }

  .header nav ul li a {
  	padding: 1px 1px;
  	line-height: 20px;
  }
    .gray {
    margin-top: -51px;
    }
section aside.val:nth-child(2n+1) {
	margin: 0 0px 15px !important;
}
section aside.val:nth-child(2n+0) {
	margin: 0 0px 15px !important;
}
/*
section aside.val.deep {
	background:  url('img/deep.png')  center 5px no-repeat;
}
section aside.val.white {
	background:  url('img/white.png')  center 5px no-repeat;
}
section aside.val.idea {
	background:  url('img/idea.png')  center 5px no-repeat;
}
section aside.val.result {
	background: url('img/result.png') center 5px no-repeat;
}
*/


.project .prevnext, .video_stuff {
width: auto !important;
max-width: 480px;

}

section aside.val {
width: auto !important;
max-width: auto !important;
height: auto;
border: solid 1px #d9d9d9;
float: none;
display: block;
margin-top: 10px;
margin-bottom: 10px;
	text-align: center;
	padding: 30px 10px 10px;
}
.header h1 {
  margin-left: 0;
  text-align: center;
  float: none;
  font-size: 20px;
  height: 98px;
  line-height: 1.3; }

.header h1 strong {
  display: block; }



.header .lang {
  top: 0;
  right: 0;
  left: 0;
  margin-top: -45px;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  color: #f0f0f0; }

.header .lang a {
  padding: 0 10px;
  margin-left: 0; }

.header nav {
  text-align: center;
  float: none;
  margin: 22px 0 12px; }


.header nav li {
  display: inline-block;
  position: relative;
  letter-spacing: 0px;
  margin-left: 0;
  padding-bottom: 10px;
  padding-right: 4px;
  padding-left: 4px;

  }
header > h2:only-child {
  width: auto;
  font-size: 20px;
  color: #999;
  text-align: center;
  padding-bottom: 0; }

header > h2.smaller:only-child {
  width: auto !important;
  font-size: 20px;
  color: #999;
  padding: 20px 0; }

body > section {
  padding: 0 20px;
  width: auto; }


header > h2.small:only-child {
  font-size: 28px;
  padding-bottom: 0;
  width: auto !important;
  margin: 0px auto;

  }
  .header h1 a {
  	width: 90%;
  	margin: 0 auto;
  	display: block;
  	top: 0;
  	left: 5%;
  	height: 98px;
  	background: url(img/logo.png) center center no-repeat #FFF;
  	.header h1 a {
  		width: 100%;
  		margin: 0 auto;
  		display: block;
  		top: 0;
  		left: 0;
  		height: 98px;
  		background: url(img/logo.png) center center no-repeat #FFF;
  	-moz-background-size: contain;
  	-webkit-background-size: contain;
  	-o-background-size: contain;
  	background-size: contain;
  		  }
  	  }
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
	.header h1 a {
		background: url(img/logo@2x.png) no-repeat;
		background-size:contain;
	}
}

section h1 {
  text-align: center; }

section h1 a {
  padding: 0 12px; }

section img {
  margin-bottom: 25px; }

.gray {
  padding: 15px 20px; }

header.gray:after {
  display: none; }

.text, .text.gray > article {
  width: auto; }

.text.cols {
  width: auto; }

.up {
  left: auto;
  margin-left: 0;
  right: 10px; }

#comments {
  display: none; }

.startlinks {
  width: auto;
  margin-top: 0; }

.startlinks article {
  float: none;
  margin-left: 0;
  width: auto;
  position: relative; }

.startlinks a:first-child {
  width: auto;
  margin: 0 -20px;
  height: 80px;
  overflow: hidden; }

.startlinks img {
  width: 100% !important;
  margin-top: -15%; }

.grid {
  padding: 0;
  height: auto !important; }

.grid article {
  float: none;
  margin: 0!important;
  width: auto;
  height: auto!important;
  border: 0;
  display: block!important;
  border-bottom: 1px solid #ebebeb;
  position: static !important; }

.grid article a {
	width: auto;
}
.grid article:last-child {
  border-bottom: 0; }

.grid.thumbsonly article {
  width: auto;
  margin: 25px 0 0;
  height: 110px !important;
  overflow: hidden; }

.gallery a {
  cursor: default; }

.grid.thumbsonly article a {
  height: 110px;
  margin: auto;
  -webkit-touch-callout: none;
  -webkit-transition: all 0.2s ease 0.3s;
  -moz-transition: all 0.2s ease 0.3s;
  -ms-transition: all 0.2s ease 0.3s;
  -o-transition: all 0.2s ease 0.3s;
  transition: all 0.2s ease 0.3s; }

.grid.thumbsonly img {
  margin-top: -12%; }

.grid h2 {
  margin-top: 15px;
  margin-bottom: 10px; }

.grid.thumbsonly h2 {
  margin-top: 36px;
  font-size: 36px; }

.grid.thumbsonly p {
  display: none; }

.col {
  float: none;
  margin-left: 0;
  width: auto; }

.col img {
  width: 100%; }

.prevnext {
  width: auto; }

.prevnext a {
  padding: 25px 0; }

.prevnext a span {
  display: none; }

.prevnext a:hover {
  background-color: #069;
  color: #fff; }

.prevnext .prev:before,
.prevnext .next:after {
  position: static;
  font-size: 36px; }

.project .wrap {
  width: auto;
  padding: 0; }

.project > section:first-child {
  margin: 0; }

.project .select {
  display: none !important; }

.project .wrap > p {
  padding: 0 20px; }

.project .grid {
  width: auto; }

.project footer {
  padding: 25px 0;
  margin-top: -7px; }

.project footer .wrap {
  text-align: center; }

.project footer p {
  text-align: center;
  float: none;
  display: inline-block;
  margin: 5px 15px; }

.project .sociallinks {
  float: none;
  margin-top: 20px; }

.news .sociallinks {
  right: 0;
  bottom: 115px;
  left: 0;
  margin-top: 0;
  width: auto;
  text-align: center;
  z-index: 1; }

.project .sociallinks a {
  margin: 0 10px; }

.news .sociallinks a {
  margin: 0 10px; }

.contact-wrap {
  display: block; }

.clients {
  width: 290px;

  }

#clientsminigrid {
  width: 315px;
  margin: 25px auto 0; }

#clientsminigrid article {
  width: 60px;
  height: 60px;
  margin-left: 25px; }

.clients article:nth-of-type(7n+1) {
  margin-left: 25px;
  }

.clients article:nth-of-type(3n+1) {
  margin-left: 0; }

.footer {
  padding: 25px 0; }

.footer h1 {
  display: none; }

.footer .contact {
  text-align: center;
  padding-bottom: 20px; }

.contact li {
  display: inline-block;
  padding-left: 25px;
  padding-right: 10px; }

.social {
  display: none; }

.footer nav {
  display: block;
  float: none;
  text-align: center;
  width: auto;
  margin: 0 0 20px; }

.footer nav a {
  margin: 0 2%; }

.footer small {
  float: none;
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  right: 0;
  text-align: center!important; }

section.services aside .service p {
  display: block !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.services aside.r .service h3::before, .services aside.l .service h3::after {
  display: none !important;
}
