/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/* Style adjustments for viewports that meet the condition */
/* Style adjustments for high resolution devices */
html, button, input, select, textarea {
  color: #222;
}
html {
  font-size: 1em;
  line-height: 1.4;
  /*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
  /*
 * A better looking default horizontal rule
 */
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
  /*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */
}
audio, canvas, img, video {
  vertical-align: middle;
  /*
 * Remove default fieldset styles.
 */
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  /*
 * Allow only vertical resizing of textareas.
 */
}
textarea {
  resize: vertical;
  /* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
}
.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
  /* ==========================================================================
   Author's custom styles
   ========================================================================== */
  /* ==========================================================================
   Helper classes
   ========================================================================== */
  /*
 * Image replacement
 */
}
.ir {
  background-color: transparent;
  border: 0;
  /* IE 6/7 fallback */
  overflow: hidden;
  *text-indent: -9999px;
}
.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
  /*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
}
.hidden {
  display: none !important;
  visibility: hidden;
  /*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  /*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
}
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  /*
 * Hide visually and from screenreaders, but maintain layout
 */
}
.invisible {
  visibility: hidden;
  /*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
}
.clearfix:before, .clearfix:after {
  /* 1 */
  content: " ";
  /* 2 */
  display: table;
}
.clearfix:after {
  clear: both;
  /*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
}
.clearfix {
  *zoom: 1;
  /* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
}
@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  /* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */}
@media print {
  /*! normalize.css v1.1.3 | MIT License | git.io/normalize */
  /* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
  /**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */  * {
    background: transparent !important;
    /* Black prints faster: h5bp.com/s */
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a, a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
    /*
     * Don't show links for images, or javascript/internal links
     */
  }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
    content: "";
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    /* h5bp.com/t */
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    page-break-after: avoid;
  }
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
  /**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
}
audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  /**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
}
audio:not([controls]) {
  display: none;
  height: 0;
  /**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
}
[hidden] {
  display: none;
  /* ==========================================================================
   Base
   ========================================================================== */
  /**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
}
html {
  /* 1 */
  font-size: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */
}
html, button, input, select, textarea {
  font-family: sans-serif;
  /**
 * Address margins handled incorrectly in IE 6/7.
 */
}
body {
  margin: 0;
  /* ==========================================================================
   Links
   ========================================================================== */
  /**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
}
a:focus {
  outline: thin dotted;
  /**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
}
a:active, a:hover {
  outline: 0;
  /* ==========================================================================
   Typography
   ========================================================================== */
  /**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}
h3 {
  font-size: 1.17em;
  margin: 1em 0;
}
h4 {
  font-size: 1em;
  margin: 1.33em 0;
}
h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}
h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
  /**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */
}
abbr[title] {
  border-bottom: 1px dotted;
  /**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */
}
b, strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
  /**
 * Address styling not present in Safari 5 and Chrome.
 */
}
dfn {
  font-style: italic;
  /**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  /**
 * Address styling not present in IE 6/7/8/9.
 */
}
mark {
  background: #ff0;
  color: #000;
  /**
 * Address margins set differently in IE 6/7.
 */
}
p, pre {
  margin: 1em 0;
  /**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */
}
code, kbd, pre, samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
  /**
 * Improve readability of pre-formatted text in all browsers.
 */
}
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
  /**
 * Address CSS quotes not supported in IE 6/7.
 */
}
q {
  quotes: none;
  /**
 * Address `quotes` property not supported in Safari 4.
 */
}
q:before, q:after {
  content: '';
  content: none;
  /**
 * Address inconsistent and variable font size in all browsers.
 */
}
small {
  font-size: 80%;
  /**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
  /* ==========================================================================
   Lists
   ========================================================================== */
  /**
 * Address margins set differently in IE 6/7.
 */
}
dl, menu, ol, ul {
  margin: 1em 0;
}
dd {
  margin: 0 0 0 40px;
  /**
 * Address paddings set differently in IE 6/7.
 */
}
menu, ol, ul {
  padding: 0 0 0 40px;
  /**
 * Correct list images handled incorrectly in IE 7.
 */
}
nav ul, nav ol {
  list-style: none;
  list-style-image: none;
  /* ==========================================================================
   Embedded content
   ========================================================================== */
  /**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
}
img {
  /* 1 */
  border: 0;
  /* 2 */
  -ms-interpolation-mode: bicubic;
  /**
 * Correct overflow displayed oddly in IE 9.
 */
}
svg:not(:root) {
  overflow: hidden;
  /* ==========================================================================
   Figures
   ========================================================================== */
  /**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
}
figure {
  margin: 0;
  /* ==========================================================================
   Forms
   ========================================================================== */
  /**
 * Correct margin displayed oddly in IE 6/7.
 */
}
form {
  margin: 0;
  /**
 * Define consistent border, margin, and padding.
 */
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
  /**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
}
legend {
  /* 1 */
  border: 0;
  padding: 0;
  /* 2 */
  white-space: normal;
  /* 3 */
  *margin-left: -7px;
  /**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
}
button, input, select, textarea {
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
  /**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
}
button, input {
  line-height: normal;
  /**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
}
button, select {
  text-transform: none;
  /**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  /* 2 */
  -webkit-appearance: button;
  /* 3 */
  cursor: pointer;
  /* 4 */
  *overflow: visible;
  /**
 * Re-set default cursor for disabled elements.
 */
}
button[disabled], html input[disabled] {
  cursor: default;
  /**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
}
input[type="checkbox"], input[type="radio"] {
  /* 1 */
  box-sizing: border-box;
  /* 2 */
  padding: 0;
  /* 3 */
  *height: 13px;
  /* 3 */
  *width: 13px;
  /**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
}
input[type="search"] {
  /* 1 */
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  /* 2 */
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  /**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  /**
 * Remove inner padding and border in Firefox 3+.
 */
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
  /**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
}
textarea {
  /* 1 */
  overflow: auto;
  /* 2 */
  vertical-align: top;
  /* ==========================================================================
   Tables
   ========================================================================== */
  /**
 * Remove most spacing between table cells.
 */
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
@import url('http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700');
@font-face {
  font-family: 'Arial Narrow';
  font-style: normal;
  font-weight: 400;
  src: local('Arial Narrow'), local('ArialNarrow-Regular'), url(http://allfont.net/css/fonts/arial-narrow/d0eb64ed2b91fe9a67f7800c1b14868b.eot), url(http://allfont.net/css/fonts/arial-narrow/d0eb64ed2b91fe9a67f7800c1b14868b.eot?#iefix) format('embedded-opentype'), url(http://allfont.net/css/fonts/arial-narrow/d0eb64ed2b91fe9a67f7800c1b14868b.woff) format('woff'), url(http://allfont.net/css/fonts/arial-narrow/d0eb64ed2b91fe9a67f7800c1b14868b.ttf) format('truetype'), url(http://allfont.net/css/fonts/arial-narrow/d0eb64ed2b91fe9a67f7800c1b14868b.svg) format('svg');
}
html, body, header, footer, main, div, h1, h2 {
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  height: 100%;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}
html.showed {
  overflow: auto;
}
body {
  font: 13px/18px Arial, Helvetica, sans-serif;
}
body {
  font-size: 0.6em;
}
.clear {
  clear: both;
}
.wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
}
a {
  color: #797979;
}
main {
  opacity: 0.1;
  transition: opacity 0.3s ease;
}
main.showed {
  opacity: 1;
}
@font-face {
  font-family: 'Kelson Sans Light';
  src: url('/fonts/kelson-sans-light.eot');
  src: local(''), url('/fonts/kelson-sans-light.woff') format('woff'), url('/fonts/kelson-sans-light.ttf') format('truetype'), url('/fonts/kelson-sans-light.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Kelson Sans Bold';
  src: url('/fonts/kelson-sans-bold.eot');
  src: local(''), url('/fonts/kelson-sans-bold.woff') format('woff'), url('/fonts/kelson-sans-bold.ttf') format('truetype'), url('/fonts/kelson-sans-bold.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Kelson Sans Regular';
  src: url('/fonts/kelson-sans-regular.eot');
  src: local(''), url('/fonts/kelson-sans-regular.woff') format('woff'), url('/fonts/kelson-sans-regular.ttf') format('truetype'), url('/fonts/kelson-sans-regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Dinpro Regular';
  src: url('/fonts/dinpro-regular.eot');
  src: local(''), url('/fonts/dinpro-regular.woff') format('woff'), url('/fonts/dinpro-regular.ttf') format('truetype'), url('/fonts/dinpro-regular.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
h3 {
  font-size: 36px;
  font-family: Arial Narrow, Arial;
}
h4 {
  font-size: 20px;
  font-family: Arial Narrow, Arial;
}
.for-admin {
  display: none;
}
.enabled {
  display: block !important;
}
form.upload {
  display: block;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
div.img-before-all, div.img-after-all {
  max-width: 820px !important;
  width: 45px !important;
  margin-left: 30px !important;
  height: 20px !important;
  background-color: silver !important;
  display: inline-block !important;
  position: relative !important;
  float: right !important;
}
@media (max-width: 600px) {
  div.img-before-all, div.img-after-all {
    margin: 0 !important;
    padding: 0 !important;
  }
}
div.img-before-all a, div.img-after-all a {
  display: inline-table-cell !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 20px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: bold !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 20px !important;
  height: 20px !important;
  z-index: 1000 !important;
}
div.for-admin {
  display: none;
}
ul.gallery {
  list-style: none;
  list-style-type: none;
  max-width: 820px;
  width: calc(100% - 330px);
  margin-left: 30px;
  display: inline-block;
  opacity: 0;
  transition: 0.3s opacity ease;
  position: relative;
  min-height: 500px;
  clear: left;
}
ul.gallery.showed {
  opacity: 1;
}
@media (max-width: 600px) {
  ul.gallery {
    margin: 0;
    padding: 0;
    width: 100%;
  }
}
ul.gallery a {
  display: inline-table-cell;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  z-index: 1000;
}
ul.gallery li {
  float: left;
  margin: 0 0 1px 1px;
  overflow: hidden;
  position: relative;
  transition: 0.3s background-color;
}
ul.gallery li > div {
  position: absolute;
  z-index: 1000;
  width: 20px;
  height: 20px;
  border-color: gray !important;
  border-style: solid;
  box-sizing: border-box;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.7) !important;
}
ul.gallery li > div a {
  display: inline-table-cell;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  z-index: 1000;
}
ul.gallery li .img-left {
  top: calc(50% - 10px) !important;
  left: 0px !important;
  width: 20px !important;
  height: 20px !important;
}
ul.gallery li .img-right {
  top: calc(50% - 10px) !important;
  right: 0px !important;
}
ul.gallery li .img-up {
  left: calc(50% - 10px) !important;
  top: 0px !important;
}
ul.gallery li .img-edit {
  left: 0px !important;
  top: 0px !important;
}
ul.gallery li .img-down {
  left: calc(50% - 10px) !important;
  bottom: 0px !important;
}
ul.gallery li .img-featured {
  left: calc(50% - 10px) !important;
  top: 20px !important;
}
ul.gallery li .img-delete {
  left: calc(50% - 10px) !important;
  bottom: 20px !important;
}
ul.gallery li .img-new-before {
  bottom: 0 !important;
  left: 0 !important;
}
ul.gallery li .img-new-after {
  bottom: 0 !important;
  right: 0 !important;
}
ul.gallery li a {
  display: inline-table !important;
  z-index: 400;
  position: absolute;
  top: 0;
}
ul.gallery li a img {
  overflow: hidden;
  position: relative;
}
ul.gallery li:hover {
  background-color: #2fa1b7;
  background-image: url('/img/shop-photo-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
}
ul.gallery li:hover a img {
  opacity: 0.2;
}
ul.gallery li[data-notes="with-details"]:hover {
  background: none !important;
}
ul.gallery li.video:hover {
  background-image: none;
  background-color: transparent;
}
ul.gallery li.video:hover a img {
  opacity: 1;
}
ul.gallery li.video:hover div[class!="details"] {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('/img/shop-video-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
}
ul.gallery li div.details {
  position: absolute;
  top: 0;
  z-index: 1000;
  background-color: #2fa1b7;
  opacity: 0;
  transition: 0.3s opacity;
  font-family: Arial Narrow;
  display: table;
}
ul.gallery li div.details div {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
ul.gallery li div.details .project-name {
  display: block;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
  transition: none;
}
@media (max-width: 750px) {
  ul.gallery li div.details .project-name {
    font-size: 14px;
  }
}
@media (max-width: 450px) {
  ul.gallery li div.details .project-name {
    font-size: 10px;
  }
}
ul.gallery li div.details .project-description {
  display: block;
  color: white;
  font-size: 14px;
  transition: none;
}
@media (max-width: 750px) {
  ul.gallery li div.details .project-description {
    font-size: 12px;
    line-height: 14px;
  }
}
@media (max-width: 450px) {
  ul.gallery li div.details .project-description {
    font-size: 8px;
    line-height: 10px;
  }
}
ul.gallery li:hover div {
  opacity: 0.8;
}
ul.gallery div.img-left {
  width: 30px;
  height: 30px;
  background-color: white;
  content: "&nbsp;";
  position: relative;
  margin-right: 10px;
  margin-bottom: 10px;
  left: 10px;
  top: 45%;
}
.back {
  margin-top: 30px;
  clear: left;
}
.back a {
  color: #2fa1b7;
  text-transform: uppercase;
  text-decoration: none;
  font: 14px "Arial Narrow";
}
html.home .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  z-index: -100;
}
html.home .bg li {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 2s opacity;
  background-position: center center;
  background-size: auto 100%;
  background-repeat: no-repeat;
}
html.home .bg li.active {
  opacity: 1;
}
html.home .bg.tall li {
  background-size: 100% auto !important;
}
html.home main {
  padding-top: 300px;
  width: 100%;
}
html.home main .wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
html.home main .wrapper menu {
  margin: 0;
  padding: 0;
  font: 44px/70px 'Kelson Sans Light', 'Arial Narrow', Arial, Helvetica, sans-serif;
  color: white;
  text-align: center;
  height: 232px;
}
@media (max-width: 400px) {
  html.home main .wrapper menu {
    height: 202px;
  }
}
html.home main .wrapper menu li {
  display: block;
  float: left;
  list-style: none;
  width: 25%;
  text-align: center;
  height: 162px;
  transition: 0.3s background-image;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 110px 109px;
}
@media (max-width: 400px) {
  html.home main .wrapper menu li {
    height: 132px;
  }
}
html.home main .wrapper menu li a {
  display: block;
  color: white;
  transition: 0.3s color;
  text-decoration: none;
  text-transform: uppercase;
  padding-top: 109px;
}
html.home main .wrapper menu li a:hover {
  color: #2fa1b7;
}
@media (max-width: 400px) {
  html.home main .wrapper menu li a {
    padding-top: 79px;
  }
}
@media (max-width: 500px) {
  html.home main .wrapper menu li {
    background-size: 90% auto;
    background-position: center bottom;
    height: 110px;
  }
}
@media (max-width: 400px) {
  html.home main .wrapper menu li {
    height: 80px;
  }
}
html.home main .wrapper menu li.bureau {
  background-image: url('/img/homemenu-sprite_bureau.png');
}
html.home main .wrapper menu li.bureau:hover, html.home main .wrapper menu li.bureau.hover {
  background-image: url('/img/homemenu-sprite-hover_bureau.png');
}
html.home main .wrapper menu li.projects {
  background-image: url('/img/homemenu-sprite_projects.png');
}
html.home main .wrapper menu li.projects:hover, html.home main .wrapper menu li.projects.hover {
  background-image: url('/img/homemenu-sprite-hover_projects.png');
}
html.home main .wrapper menu li.shop {
  background-image: url('/img/homemenu-sprite_shop.png');
}
html.home main .wrapper menu li.shop:hover, html.home main .wrapper menu li.shop.hover {
  background-image: url('/img/homemenu-sprite-hover_shop.png');
}
html.home main .wrapper menu li.contacts {
  background-image: url('/img/homemenu-sprite_contacts.png');
}
html.home main .wrapper menu li.contacts:hover, html.home main .wrapper menu li.contacts.hover {
  background-image: url('/img/homemenu-sprite-hover_contacts.png');
}
html.home main .wrapper h2.slogan {
  margin: 0 11px;
  background-color: white;
  color: #444;
  height: 49px;
  text-align: center;
  font: 200 25px/49px 'Dinpro Regular', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}
html.home main .wrapper h2.slogan:before, html.home main .wrapper h2.slogan:after {
  display: block;
  position: relative;
  width: 11px;
  height: 49px;
  content: " ";
  box-sizing: border-box;
  background: url('/img/ribbon-corner.png') no-repeat;
}
html.home main .wrapper h2.slogan.operamini:before, html.home main .wrapper h2.slogan.operamini:after {
  opacity: 0 !important;
}
html.home main .wrapper h2.slogan:before {
  float: left;
  left: -11px;
}
html.home main .wrapper h2.slogan:after {
  float: right;
  right: -11px;
  -o-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  -o-transform: scaleX(-1);
}
@media (max-width: 500px) {
  html.home main .wrapper h2.slogan:after {
    top: -22px;
  }
}
@media (max-width: 500px) {
  html.home main .wrapper h2.slogan {
    line-height: 22px !important;
    font-size: 14px !important;
  }
}
html.home footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}
@media (max-width: 700px) {
  html.home footer {
    padding-top: 27px;
  }
}
html.home footer .wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
html.home footer small {
  display: block;
  float: left;
  font: 10px Verdana;
  color: #cfcfcf;
  max-width: calc(100% - 180px);
}
html.home footer .social {
  position: absolute;
  bottom: 0;
  padding: 0 205px;
  text-align: center;
  width: 90%;
  margin: 0 auto;
  max-width: 1140px;
  box-sizing: border-box;
}
html.home footer .social > * {
  display: inline-block;
}
html.home footer .social .fb-like {
  top: -3px;
}
html.home footer .social #___plusone_0 {
  width: 70px !important;
  padding-left: 10px !important;
}
html.home footer .social #twitter-widget-0 {
  width: 77px !important;
}
@media (max-width: 735px) {
  html.home footer .social {
    padding: 0 170px 0 205px;
  }
}
@media (max-width: 700px) {
  html.home footer .social {
    height: 46px;
    padding: 0;
  }
}
html.home footer a {
  display: block;
  float: right;
  color: #e2e1dd;
  text-transform: uppercase;
  text-decoration: none;
  background-image: url('/img/author-bg.png');
  padding: 0 12px;
  margin: 0 20px 0 10px;
  line-height: 23px;
}
#pause-box {
  position: fixed !important;
  opacity: 0;
  top: 0 !important;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: -20000;
  transition: 0.3s opacity ease;
}
#pause-box.showed {
  z-index: 20000;
  opacity: 1;
}
header {
  position: absolute;
  z-index: 10000;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}
header .wrapper h1 {
  float: left;
  margin: 0;
  padding: 0;
  width: 149px;
  min-height: 87px;
}
header .wrapper nav {
  position: absolute;
  left: 20px;
  top: 10px;
  width: 149px;
  text-align: right;
  padding: 0;
  margin: 0;
}
header .wrapper nav li {
  display: inline-block;
}
header .wrapper nav li a {
  color: #b6b6b6;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 0 0 14px;
  transition: 0.3s color;
  font-size: 8px;
}
header .wrapper nav li a:hover, header .wrapper nav li.active a {
  color: white !important;
}
header .wrapper .social {
  display: block;
  width: 174px;
  padding: 0;
  margin: 0;
  float: right;
}
@media (max-width: 400px) {
  header .wrapper .social {
    width: 87px;
  }
}
header .wrapper .social li {
  display: inline-block;
  list-style-type: none;
  list-style: none;
  padding-bottom: 3px;
  background-image: url('/img/social-sprite.png');
  transition: 0.3s background-image;
  background-repeat: no-repeat;
  width: 26px;
  height: 26px;
}
header .wrapper .social li:hover {
  background-image: url('/img/social-sprite-hover.png');
}
header .wrapper .social li a {
  text-decoration: none;
  display: block;
  width: 26px;
  height: 26px;
}
header .wrapper .social li.facebook {
  background-position: 0 0;
}
header .wrapper .social li.googleplus {
  background-position: -29px 0;
}
header .wrapper .social li.vkontakte {
  background-position: -59px 0;
}
header .wrapper .social li.linkedin {
  background-position: -89px 0;
}
header .wrapper .social li.youtube {
  background-position: -118px 0;
}
header .wrapper .social li.vimeo {
  background-position: -148px 0;
}
header .wrapper .mainmenu {
  float: right;
  clear: right;
  margin-top: 16px;
  padding: 0;
}
header .wrapper .mainmenu > li {
  display: inline-block;
  font: 22px "Kelson Sans Regular";
  text-transform: uppercase;
  position: relative;
}
header .wrapper .mainmenu > li a {
  color: #b6b6b6;
  text-decoration: none;
}
header .wrapper .mainmenu > li a:hover {
  color: white;
}
header .wrapper .mainmenu > li ul {
  position: absolute;
  top: 22px;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s opacity;
  list-style-type: none;
  margin: 0 -20px -20px;
  padding: 20px;
  z-index: 100000;
}
header .wrapper .mainmenu > li ul li {
  display: block;
  margin: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  font: 16px/23px Arial Narrow, Arial;
  text-transform: none;
  width: 150px;
}
header .wrapper .mainmenu > li ul li:hover {
  background-color: #277d8c;
}
header .wrapper .mainmenu > li ul li:hover a {
  color: white;
}
header .wrapper .mainmenu > li:hover ul {
  visibility: visible;
  opacity: 1;
}
@media (min-width: 700px) {
  header .wrapper .mainmenu > li + li {
    padding-left: 40px;
  }
}
@media (max-width: 700px) {
  header .wrapper .mainmenu > li + li {
    padding-left: 10px;
  }
}
@media (max-width: 550px) {
  header .wrapper .mainmenu {
    width: 100%;
    margin-top: 0;
    text-align: justify;
    padding-bottom: 0;
    margin-bottom: 0;
    height: 32px;
  }
  header .wrapper .mainmenu > li + li {
    padding-left: 10px;
  }
  header .wrapper .mainmenu:after {
    content: "";
    line-height: 1px;
    height: 1px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    margin: -20px 0 0;
    padding: 0;
  }
  header .wrapper .mainmenu > li ul {
    padding: 19px 20px 20px !important;
  }
  header .wrapper .mainmenu > li ul li {
    font-size: 14px;
    line-height: 21px;
  }
}
@media (max-width: 480px) {
  header .wrapper .mainmenu > li {
    font-size: 14px !important;
  }
  header .wrapper .mainmenu > li ul {
    padding: 10px 10px 20px !important;
  }
}
@media (max-width: 370px) {
  header .wrapper .mainmenu > li {
    font-size: 13px !important;
  }
  header .wrapper .mainmenu > li ul {
    padding: 10px 10px 20px !important;
  }
}
.title {
  width: 100%;
  height: 300px;
  z-index: 90;
  position: relative;
  box-sizing: border-box;
  padding-top: 165px;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
}
.title.tall {
  background-size: auto 100%;
}
.title.wide {
  background-size: 100% auto;
}
.title h2 {
  font: 72px "Kelson Sans Bold";
  color: white;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .title h2 {
    font-size: 48px;
  }
}
#bureau--about .title {
  background-image: url('/myedit/410933842.JPG');
}
#bureau--partners .title {
  background-image: url('/myedit/');
}
#bureau--events .title, #bureau--events--default-page .title {
  background-image: url('/myedit/');
}
#bureau--awards .title, #bureau--awards--default-page .title {
  background-image: url('/myedit/');
}
bureau--magazines .title, #bureau--magazines--default-page .title {
  background-image: url('/myedit2/');
}
#bureau--team .title, #bureau--team--default-page .title {
  background-image: url('/myedit2/DL2A7796-73(1).jpg');
}
#projects .title {
  background-image: url('/myedit2/512695590.jpg');
}
.shop .title, .shopgallery .title {
  background-image: url('/myedit2/1393218005.jpg');
}
#contacts .title {
  background-image: url('/myedit2/contact.jpg');
}
html.contacts main ul {
  list-style: none;
  list-style-type: none;
  padding: 0;
  height: 130px;
}
@media (max-width: 650px) {
  html.contacts main ul {
    height: 360px;
  }
}
html.contacts main ul li {
  margin: 40px 0 20px;
  float: left;
  width: 25%;
  padding: 80px 0 0;
  text-align: center;
  font: 20px 'PT Sans Narrow';
  color: #6f6f6f;
  background-repeat: no-repeat;
  background-position: center top;
}
html.contacts main ul li a {
  color: #6f6f6f;
  text-decoration: none;
}
html.contacts main ul li.email {
  background-image: url('img/contacts-post.png');
}
html.contacts main ul li.skype {
  background-image: url('img/contacts-skype.png');
}
html.contacts main ul li.phones {
  background-image: url('img/contacts-phone.png');
}
html.contacts main ul li.address {
  background-image: url('img/contacts-location.png');
}
@media (max-width: 650px) {
  html.contacts main ul li:nth-child(3) {
    clear: left;
  }
  html.contacts main ul li {
    width: 50%;
  }
}
@media (max-width: 450px) {
  html.contacts main ul li:nth-child(3) {
    clear: left;
  }
  html.contacts main ul li {
    width: 100%;
  }
}
html.contacts main .wrapper {
  height: 265px;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 750px) {
  html.contacts main .wrapper {
    height: 395px;
  }
}
html.contacts #map-canvas {
  width: 100%;
  height: 308px;
}
html.contacts .labels {
  font-weight: bold;
  color: maroon;
  text-shadow: 0px 1px 1px white;
}
html.contacts form {
  padding-top: 20px;
  display: block;
  width: 100%;
  position: relative;
}
html.contacts form h6 {
  font: 78px/100px "Kelson Sans Bold";
  color: #f1f1f1;
  text-transform: uppercase;
  margin: 0;
  float: left;
  display: block;
  width: 25%;
  overflow: hidden;
}
@media (max-width: 750px) {
  html.contacts form h6 {
    width: 100%;
    font: 78px/100px "Kelson Sans Bold" !important;
  }
}
@media (max-width: 520px) {
  html.contacts form h6 {
    font-size: 46px !important;
    line-height: 64px !important;
  }
}
html.contacts form div {
  width: 25%;
  padding-left: 30%;
  padding-right: 40%;
  position: relative;
}
@media (max-width: 750px) {
  html.contacts form div {
    width: 32%;
    padding: 0;
  }
}
html.contacts form div input {
  width: 100%;
  height: 41px;
  margin-bottom: 27px;
  background-color: #f1f1f1;
  border: 0;
  box-sizing: border-box;
  padding: 15px;
  background-position: right center;
  background-repeat: no-repeat;
}
html.contacts form div input[name="name"] {
  background-image: url('/img/input-name-bg.png');
}
html.contacts form div input[name="email"] {
  background-image: url('/img/input-email-bg.png');
}
html.contacts form div input[name="phone"] {
  background-image: url('/img/input-phone-bg.png');
}
html.contacts form label {
  font: 13px "PT Sans Narrow";
  color: #aeaeae;
  position: absolute;
  padding: 13px 15px;
}
@media (max-width: 750px) {
  html.contacts form label.name {
    top: 64px;
  }
}
@media (max-width: 515px) {
  html.contacts form label.name {
    top: 30px;
  }
}
html.contacts form label.textarea {
  position: absolute;
  right: 0;
  top: 0px;
  z-index: 100;
  width: 40%;
  display: block;
  text-align: left;
  padding: 23px 15px;
  margin-top: 10px;
}
@media (max-width: 750px) {
  html.contacts form label.textarea {
    width: 60%;
  }
}
@media (max-width: 520px) {
  html.contacts form label.textarea {
    width: 55%;
    right: auto;
    left: 120px;
  }
}
@media (max-width: 750px) {
  html.contacts form label.textarea {
    margin-top: 120px;
  }
}
@media (max-width: 520px) {
  html.contacts form label.textarea {
    margin-top: 84px;
  }
}
html.contacts form textarea {
  background-color: #f1f1f1;
  border: 0;
  height: 150px;
  width: 40%;
  float: right;
  margin-bottom: 15px;
  resize: none;
  font: 13px "PT Sans Narrow";
  padding: 13px 15px;
}
@media (max-width: 750px) {
  html.contacts form textarea {
    width: 60%;
  }
}
@media (max-width: 520px) {
  html.contacts form textarea {
    width: 55%;
  }
}
@media (max-width: 360px) {
  html.contacts form textarea {
    width: 40%;
  }
}
html.contacts form input[type="submit"] {
  width: 20%;
  min-width: 120px;
  height: 50px;
  background-color: #2fa1b7;
  color: white;
  text-align: center;
  border: 0;
  font: 18px "Arial Narrow";
  text-transform: uppercase;
  clear: right;
  float: right;
}
html.contacts form .empty {
  clear: both;
}
footer.inner {
  position: absolute;
  z-index: 2000;
  bottom: 0;
  width: 100%;
  background-color: #787878;
}
@media (max-width: 900px) {
  footer.inner {
    padding-top: 27px;
  }
}
footer.inner .wrapper {
  width: 100%;
  max-width: 1140px;
  min-height: 33px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
footer.inner small {
  display: block;
  float: left;
  font: 11px Verdana;
  color: #c2c2c1;
  max-width: calc(100% - 180px);
  padding: 0 12px;
  margin: 10px 20px 0 5px;
  line-height: 23px;
}
footer.inner .social {
  position: absolute;
  bottom: 0;
  padding: 0 205px;
  text-align: center;
  width: 90%;
  margin: 0 auto;
  max-width: 1140px;
  box-sizing: border-box;
}
footer.inner .social > * {
  display: inline-block;
}
footer.inner .social .fb-like {
  top: -6px;
}
footer.inner .social #___plusone_0 {
  width: 70px !important;
  padding-left: 10px !important;
}
footer.inner .social #twitter-widget-0 {
  width: 77px !important;
}
@media (max-width: 900px) {
  footer.inner .social {
    padding: 0 170px 0 205px;
    height: 46px;
    padding: 0;
  }
}
@media (max-width: 360px) {
  footer.inner .social {
    text-align: right;
  }
}
footer.inner a {
  display: block;
  float: right;
  color: #e2e1dd;
  text-transform: uppercase;
  text-decoration: none;
  background-image: url('/img/author-bg.png');
  padding: 0 12px;
  margin: 10px 20px 0 10px;
  line-height: 23px;
}
html.gallery .wrapper {
  width: auto;
  max-width: 1140px;
}
html.gallery .wrapper aside {
  width: 230px;
  padding-top: 30px;
  box-sizing: border-box;
  float: left;
}
@media (max-width: 600px) {
  html.gallery .wrapper aside {
    width: auto;
  }
}
html.gallery .wrapper aside p {
  font: 13px/21px Arial;
  text-align: justify;
}
html.gallery .wrapper aside #to-buy {
  width: 230px;
  height: 50px;
  font: 18px/50px "Arial Narrow";
  background-color: #2fa1b7;
  text-align: center;
  background-image: url("/img/shopping-basket.png");
  background-position: 30% center;
  background-repeat: no-repeat;
}
html.gallery .wrapper aside #to-buy a {
  width: 100%;
  height: 100%;
  padding-left: 10%;
  display: inline-block;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}
html.gallery .wrapper aside h3 {
  font: 24px "Arial Narrow";
  text-transform: uppercase;
  color: #626262;
}
html.gallery .wrapper aside h5 {
  font: 14px/14px "Arial Narrow";
  color: #626262;
}
html.gallery .wrapper .back {
  clear: left;
}
html.gallery .wrapper .back a {
  color: #2fa1b7;
  text-transform: uppercase;
  text-decoration: none;
  font: 14px "Arial Narrow";
}
@media (max-width: 600px) {
  html.gallery .wrapper main {
    padding: 20px 20px 20px 60px;
  }
}
html.gallery .wrapper ul.gallery {
  list-style: none;
  list-style-type: none;
  max-width: 820px;
  width: calc(100% - 330px);
  margin-left: 30px;
  display: inline-block;
  opacity: 0;
  transition: 0.3s opacity ease;
  clear: left;
}
html.gallery .wrapper ul.gallery.showed {
  opacity: 1;
}
@media (max-width: 600px) {
  html.gallery .wrapper ul.gallery {
    margin: 0;
    padding: 0;
    width: 100%;
    clear: none;
  }
}
html.gallery .wrapper ul.gallery li {
  float: left;
  margin: 0 0 1px 1px;
  overflow: hidden;
  position: relative;
}
html.gallery .wrapper ul.gallery li a {
  display: inline-block;
}
html.gallery .wrapper ul.gallery li a img {
  overflow: hidden;
  position: relative;
}
html.gallery .wrapper ul.gallery li:hover {
  background-color: #2fa1b7;
  background-image: url('/img/shop-photo-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
}
html.gallery .wrapper ul.gallery li:hover a img {
  opacity: 0.2;
}
html.gallery .wrapper ul.gallery li.video:hover {
  background-image: none;
  background-color: transparent;
}
html.gallery .wrapper ul.gallery li.video:hover a img {
  opacity: 1;
}
html.gallery .wrapper ul.gallery li.video:hover div {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('/img/shop-video-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
}
*[id^="bureau"] #bg1 {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc((100% - 1140px) / 2 + 180px);
  min-width: 200px;
  background-color: #f8f8f8;
  z-index: -30;
  box-sizing: border-box;
}
*[id^="bureau"] #bg1 span {
  display: none;
}
@media (max-width: 600px) {
  *[id^="bureau"] #bg1 {
    width: 60px;
    min-width: 60px;
    z-index: 30;
    padding-top: 300px;
  }
  *[id^="bureau"] #bg1 span {
    display: block;
    text-align: center;
  }
}
*[id^="bureau"] aside {
  z-index: 20;
  width: 180px !important;
  background-color: #f8f8f8;
  height: 100%;
  margin: 15px 0 0;
  padding: 0;
  float: left;
  opacity: 0;
  transition: opacity 0.3s ease;
}
*[id^="bureau"] aside.showed {
  opacity: 1;
}
*[id^="bureau"] aside menu {
  width: 140px;
}
*[id^="bureau"] aside menu li {
  list-style-type: none;
}
*[id^="bureau"] aside menu li a {
  color: #2fa1b7;
  text-decoration: none;
  font: 18px/48px Arial Narrow, Arial;
  text-transform: uppercase;
  transition: 0.3s color;
}
*[id^="bureau"] aside menu li a:hover, *[id^="bureau"] aside menu li a.active {
  color: black;
}
*[id^="bureau"] aside menu li a img.svg, *[id^="bureau"] aside menu li a svg {
  display: none;
  width: 100%;
  fill: #2fa1b7;
  position: relative;
  left: -40px;
  width: 30px;
  height: 60px;
}
@media (max-width: 600px) {
  *[id^="bureau"] aside menu li a img.svg, *[id^="bureau"] aside menu li a svg {
    display: block;
  }
}
@media (max-width: 600px) {
  *[id^="bureau"] aside menu li {
    content: "&nbsp;";
    background-size: 30px 100%;
    background-repeat: no-repeat;
    content: none !important;
    height: 50px;
    padding-left: 40px;
  }
  *[id^="bureau"] aside menu li svg {
    display: block !important;
    transition: 0.3s ease;
  }
  *[id^="bureau"] aside menu li a.active svg, *[id^="bureau"] aside menu li a:hover svg {
    fill: #9f9f9f;
  }
}
@media (max-width: 600px) {
  *[id^="bureau"] aside {
    width: 30px !important;
    z-index: 30 !important;
    position: relative;
    overflow: hidden;
  }
  *[id^="bureau"] aside menu {
    padding: 0 !important;
    /* *
		&.active {
			display: block;
			width: 180px;
			height: 307px;
			position: absolute;
			top: 20px;
		}
		/* */
  }
}
html.gallerysub .wrapper {
  width: auto;
  max-width: 1140px;
}
html.gallerysub .wrapper aside {
  width: 230px;
  padding-top: 30px;
  box-sizing: border-box;
  float: left;
}
@media (max-width: 600px) {
  html.gallerysub .wrapper aside {
    width: auto;
  }
}
html.gallerysub .wrapper aside p {
  font: 13px/21px Arial;
  text-align: justify;
}
html.gallerysub .wrapper aside #to-buy {
  width: 230px;
  height: 50px;
  font: 18px/50px "Arial Narrow";
  background-color: #2fa1b7;
  text-align: center;
  background-image: url("/img/shopping-basket.png");
  background-position: 30% center;
  background-repeat: no-repeat;
}
html.gallerysub .wrapper aside #to-buy a {
  width: 100%;
  height: 100%;
  padding-left: 10%;
  display: inline-block;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}
html.gallerysub .wrapper aside h3 {
  font: 24px "Arial Narrow";
  text-transform: uppercase;
  color: #626262;
}
html.gallerysub .wrapper aside h5 {
  font: 14px/14px "Arial Narrow";
  color: #626262;
}
html.gallerysub .wrapper .back {
  clear: left;
}
html.gallerysub .wrapper .back a {
  color: #2fa1b7;
  text-transform: uppercase;
  text-decoration: none;
  font: 14px "Arial Narrow";
}
@media (max-width: 600px) {
  html.gallerysub .wrapper main {
    padding: 20px 20px 20px 60px;
  }
}
html.gallerysub .wrapper main div {
  max-width: 820px;
  width: calc(100% - 330px);
  margin-top: 40px;
  margin-left: 40px;
  display: inline-block;
}
html.gallerysub .wrapper main div h3 {
  font: 24px "Arial Narrow";
  text-transform: uppercase;
  color: #626262;
  margin-left: 30px;
}
html.gallerysub .wrapper main div h5 {
  font: 14px/14px "Arial Narrow";
  color: #626262;
  margin-left: 30px;
}
html.gallerysub .wrapper main div p {
  font: 13px/21px Arial;
  text-align: justify;
  margin-left: 30px;
}
html.gallerysub .wrapper ul.gallery {
  list-style: none;
  list-style-type: none;
  max-width: 820px;
  width: calc(100% - 330px);
  margin-left: 30px;
  display: inline-block;
  opacity: 0;
  transition: 0.3s opacity ease;
  clear: left;
}
html.gallerysub .wrapper ul.gallery.showed {
  opacity: 1;
}
@media (max-width: 600px) {
  html.gallerysub .wrapper ul.gallery {
    margin: 0;
    padding: 0;
    width: 100%;
    clear: none;
  }
}
html.gallerysub .wrapper ul.gallery li {
  float: left;
  margin: 0 0 1px 1px;
  overflow: hidden;
  position: relative;
}
html.gallerysub .wrapper ul.gallery li a {
  display: inline-block;
}
html.gallerysub .wrapper ul.gallery li a img {
  overflow: hidden;
  position: relative;
}
html.gallerysub .wrapper ul.gallery li:hover {
  background-color: #2fa1b7;
  background-image: url('/img/shop-photo-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
}
html.gallerysub .wrapper ul.gallery li:hover a img {
  opacity: 0.2;
}
html.gallerysub .wrapper ul.gallery li.video:hover {
  background-image: none;
  background-color: transparent;
}
html.gallerysub .wrapper ul.gallery li.video:hover a img {
  opacity: 1;
}
html.gallerysub .wrapper ul.gallery li.video:hover div {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('/img/shop-video-preview.png');
  background-repeat: no-repeat;
  background-position: center center;
}
#phvid-box {
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: -20000;
  transition: 0.3s opacity ease;
}
#phvid-box.showed {
  z-index: 20000;
  opacity: 1;
}
#phvid-box > div {
  position: relative;
  width: 100%;
  height: 100%;
  left: 0%;
  transition: 0.3s left ease;
}
#phvid-box > div > div {
  float: left;
  display: table;
  height: 100%;
}
#phvid-box > div > div > div {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#phvid-box > div > div > div > div {
  display: inline-block;
  width: 100%;
  position: relative;
}
#phvid-box > div > div > div > div img, #phvid-box > div > div > div > div iframe {
  width: 100%;
  height: 100%;
}
#phvid-box > div > div > div > div a.closebox {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 54px;
  height: 54px;
  background-image: url('/img/phvid-box-close.png');
}
#phvid-box > div > div > div > div a.nextbox {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 54px;
  height: 149px;
  background-image: url('/img/phvid-box-next.png');
}
#phvid-box > div > div > div > div a.previousbox {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 54px;
  height: 149px;
  background-image: url('/img/phvid-box-prev.png');
}
#phvid-box > div > div:first-child .previousbox {
  display: none;
}
#phvid-box > div > div:last-child .nextbox {
  display: none;
}
html.about body {
  padding-bottom: 120px;
  position: relative;
}
html.about main {
  max-width: 960px;
  padding: 40px 40px 40px 220px;
}
@media (max-width: 600px) {
  html.about main {
    padding: 20px 20px 20px 60px;
  }
}
html.about main .featured {
  float: left;
  margin-bottom: 20px;
  max-width: calc(100% - 30px);
}
html.about main .button {
  clear: left;
}
@media (min-width: 700px) {
  html.about main .button {
    float: left;
  }
}
@media (max-width: 600px) {
  html.about main .button {
    margin: 0 auto;
  }
}
html.about main .core {
  margin-left: 270px;
  max-width: 650px;
  box-sizing: content-box;
  color: #797979;
  font-size: 13px;
}
html.about main .core h3 {
  font-size: 36px;
  font-family: Arial Narrow, Arial;
}
html.about main .core h4 {
  font-size: 20px;
  font-family: Arial Narrow, Arial;
}
html.about main .core p {
  margin: 20px 0;
  text-align: justify;
}
@media (max-width: 700px) {
  html.about main .core {
    margin-left: 0px;
  }
}
html.partners body {
  padding-bottom: 120px;
  position: relative;
}
html.partners main {
  max-width: 960px;
  padding: 40px 40px 40px 40px;
}
@media (max-width: 500px) {
  html.partners main {
    padding: 20px 20px 20px 60px;
  }
}
html.partners main .featured {
  float: left;
  margin-bottom: 20px;
}
html.partners main .button {
  clear: left;
}
@media (min-width: 700px) {
  html.partners main .button {
    float: left;
  }
}
@media (max-width: 500px) {
  html.partners main .button {
    margin: 0 auto;
  }
}
html.partners main .core {
  margin-left: 270px;
  max-width: 650px;
  box-sizing: content-box;
  color: #797979;
  font-size: 13px;
}
html.partners main .core h3 {
  font-size: 36px;
  font-family: Arial Narrow, Arial;
}
html.partners main .core h4 {
  font-size: 20px;
  font-family: Arial Narrow, Arial;
}
html.partners main .core p {
  margin: 20px 0;
  text-align: justify;
}
@media (max-width: 700px) {
  html.partners main .core {
    margin-left: 0px;
  }
}
html.team main {
  max-width: 960px;
  padding: 25px 10px 40px 165px;
}
@media (max-width: 600px) {
  html.team main {
    padding: 20px 20px 20px 20px;
  }
}
html.team main menu {
  list-style-type: none;
}
html.team main menu li {
  float: left;
  width: 230px;
  height: 230px;
  display: table;
  transition: 0.3s background-color;
}
html.team main menu li img {
  position: absolute;
  width: 230px;
  height: 230px;
  transition: 0.3s opacity;
}
html.team main menu li a {
  text-decoration: none;
}
html.team main menu li div {
  width: 230px;
  height: 230px;
  z-index: 1000;
  background-color: #2fa1b7;
  opacity: 0;
  transition: 0.3s opacity;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-family: Arial Narrow;
}
html.team main menu li div .team-member-name {
  display: block;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
  transition: none;
}
html.team main menu li div .team-member-position {
  display: block;
  color: white;
  font-size: 14px;
  transition: none;
}
html.team main menu li:hover simg {
  opacity: 0.2;
}
html.team main menu li:hover div {
  opacity: 0.8;
}
html.teammember body {
  padding-bottom: 120px;
  position: relative;
}
html.teammember main {
  max-width: 960px;
  padding: 40px 40px 40px 220px;
}
@media (max-width: 500px) {
  html.teammember main {
    padding: 20px 20px 20px 60px;
  }
}
html.teammember main .wrapper {
  float: left;
  width: 230px;
}
html.teammember main .featured {
  margin-bottom: 20px;
}
html.teammember main .email, html.teammember main .phone {
  display: block;
  color: #a5a5a5;
  font-size: 14px;
  background-repeat: no-repeat;
  background-position: center left;
  padding-left: 22px;
  line-height: 33px;
}
html.teammember main .email {
  background-image: url('img/teammember-email.png');
}
html.teammember main .email a {
  color: #a5a5a5;
  text-decoration: none;
}
html.teammember main .email a:hover {
  text-decoration: underline;
}
html.teammember main .phone {
  background-image: url('img/teammember-phone.png');
}
html.teammember main .button {
  clear: left;
}
@media (min-width: 700px) {
  html.teammember main .button {
    float: left;
  }
}
@media (max-width: 600px) {
  html.teammember main .button {
    margin: 0 auto;
  }
}
html.teammember main .core {
  margin-left: 270px;
  max-width: 650px;
  box-sizing: content-box;
  color: #797979;
  font-size: 13px;
}
html.teammember main .core h3 {
  font-size: 36px;
  font-family: Arial Narrow, Arial;
  margin-bottom: 0;
  font-weight: normal;
}
html.teammember main .core h5 {
  color: #a5a5a5;
  font-size: 14px;
  font-weight: normal;
}
html.teammember main .core h4 {
  font-size: 20px;
  font-family: Arial Narrow, Arial;
  font-weight: normal;
}
html.teammember main .core p {
  margin: 20px 0;
  text-align: justify;
}
@media (max-width: 700px) {
  html.teammember main .core {
    margin-left: 0px;
  }
}
html.shop main {
  position: relative;
}
html.shop main .img-before-all {
  top: -30px;
}
html.shop main .img-after-all {
  top: -30px;
}
html.shop main menu {
  max-width: 1140px;
  margin: 50px auto;
  list-style: none;
  list-style-type: none;
  position: relative;
}
html.shop main menu li {
  list-style-type: none;
  position: absolute;
  overflow: hidden;
  margin-right: 1px;
  margin-bottom: 1px;
  transition: 0.3s background-color;
}
html.shop main menu li img {
  position: absolute;
}
html.shop main menu li a {
  text-decoration: none;
}
html.shop main menu li > div {
  position: absolute;
  z-index: 1000;
  width: 20px;
  height: 20px;
  border-color: gray !important;
  border-style: solid;
  box-sizing: border-box;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.7) !important;
}
html.shop main menu li > div a {
  display: inline-table-cell;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  text-decoration: none;
  font-size: 15px !important;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  z-index: 1000;
}
html.shop main menu li .img-left {
  top: calc(50% - 10px) !important;
  left: 0px !important;
  width: 20px !important;
  height: 20px !important;
}
html.shop main menu li .img-right {
  top: calc(50% - 10px) !important;
  right: 0px !important;
}
html.shop main menu li .img-up {
  left: calc(50% - 10px) !important;
  top: 0px !important;
}
html.shop main menu li .img-edit {
  left: 0px !important;
  top: 0px !important;
}
html.shop main menu li .img-down {
  left: calc(50% - 10px) !important;
  bottom: 0px !important;
}
html.shop main menu li .img-featured {
  left: calc(50% - 10px) !important;
  top: 20px !important;
}
html.shop main menu li .img-delete {
  left: calc(50% - 10px) !important;
  bottom: 20px !important;
}
html.shop main menu li .img-new-before {
  bottom: 0 !important;
  left: 0 !important;
}
html.shop main menu li .img-new-after {
  bottom: 0 !important;
  right: 0 !important;
}
html.shop main menu li div.sub {
  z-index: 1000;
  background-color: #2fa1b7;
  opacity: 0;
  transition: 0.3s opacity;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-family: Arial Narrow;
}
html.shop main menu li div.sub .project-name {
  display: block;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
  transition: none;
}
@media (max-width: 750px) {
  html.shop main menu li div.sub .project-name {
    font-size: 14px;
  }
}
@media (max-width: 450px) {
  html.shop main menu li div.sub .project-name {
    font-size: 10px;
  }
}
html.shop main menu li div.sub .project-description {
  display: block;
  color: white;
  font-size: 14px;
  transition: none;
}
@media (max-width: 750px) {
  html.shop main menu li div.sub .project-description {
    font-size: 12px;
    line-height: 14px;
  }
}
@media (max-width: 450px) {
  html.shop main menu li div.sub .project-description {
    font-size: 8px;
    line-height: 10px;
  }
}
html.shop main menu li:hover div {
  opacity: 0.8;
}
html.shopgallery .video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
html.shopgallery .video-container iframe, html.shopgallery .video-container object, html.shopgallery .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
html.shopgallery .wrapper {
  width: auto;
  max-width: 1140px;
}
html.shopgallery .wrapper aside {
  width: 230px;
  padding-top: 30px;
  box-sizing: border-box;
  float: left;
}
@media (max-width: 600px) {
  html.shopgallery .wrapper aside {
    width: auto;
    float: none;
  }
}
html.shopgallery .wrapper aside p {
  font: 13px/21px Arial;
  text-align: justify;
}
html.shopgallery .wrapper aside #to-buy {
  width: 230px;
  height: 50px;
  font: 18px/50px "Arial Narrow";
  background-color: #2fa1b7;
  text-align: center;
  background-image: url("/img/shopping-basket.png");
  background-position: 30% center;
  background-repeat: no-repeat;
}
html.shopgallery .wrapper aside #to-buy a {
  width: 100%;
  height: 100%;
  padding-left: 10%;
  display: inline-block;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}
html.shopgallery .wrapper aside h3 {
  font: 24px "Arial Narrow";
  text-transform: uppercase;
  color: #626262;
}
html.shopgallery .wrapper aside h5 {
  font: 14px/14px "Arial Narrow";
  color: #626262;
}
html.shopgallery #buy-box {
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: -20000;
  transition: 0.3s opacity ease;
  display: table;
  overflow: scroll;
}
@media (max-width: 720px) {
  html.shopgallery #buy-box {
    position: absolute;
  }
}
html.shopgallery #buy-box.showed {
  z-index: 200000;
  opacity: 1;
}
html.shopgallery #buy-box > div {
  width: 100%;
  height: 100%;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
html.shopgallery #buy-box > div > div {
  display: inline-block;
  max-width: 600px;
  width: 95%;
  padding: 35px 10px;
  background-color: #f1f1f1;
  position: relative;
}
@media (min-width: 720px) {
  html.shopgallery #buy-box > div > div {
    padding: 55px;
  }
}
html.shopgallery #buy-box > div > div a.closebox {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 54px;
  height: 54px;
  background-image: url('/img/phvid-box-close.png');
}
html.shopgallery #buy-box > div > div center {
  font: 36px "Arial Narrow";
  text-transform: uppercase;
  color: #b3b3b3;
  margin: 0 0 45px;
}
html.shopgallery #buy-box > div > div form {
  margin: 0;
  padding: 0;
}
html.shopgallery #buy-box > div > div form p.name {
  padding-left: 30px;
  color: #626262;
  display: inline-block;
  font: 18px "Arial Narrow";
  text-transform: uppercase;
  width: 215px;
  box-sizing: border-box;
  text-align: left;
}
@media (min-width: 720px) {
  html.shopgallery #buy-box > div > div form p.name {
    line-height: 115px;
  }
}
html.shopgallery #buy-box > div > div form input[type="number"] {
  height: 33px;
  margin: 40px 0;
  border: 1px solid #cdcdcd;
  font: 18px "Arial Narrow";
  color: #a09f9f;
  width: 98px;
  position: relative;
}
html.shopgallery #buy-box > div > div form input[type="number"]::-webkit-outer-spin-button, html.shopgallery #buy-box > div > div form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  background: #2fa1b7 url('/img/spinup.png') center center no-repeat;
  width: 1em;
  border-left: 1px solid #bbb;
  /* shows Spin Buttons per default (Chrome >= 39) */
  opacity: 0.5;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
html.shopgallery #buy-box > div > div form input[type="number"]::-webkit-inner-spin-button:hover, html.shopgallery #buy-box > div > div form input[type="number"]::-webkit-inner-spin-button:active {
  box-shadow: 0 0 2px #0cf;
  opacity: 0.8;
}
html.shopgallery #buy-box > div > div form .summ {
  display: inline-block;
  color: #626262;
  display: inline-block;
  font: 18px "Arial Narrow";
  line-height: 115px;
  text-transform: uppercase;
  width: 140px;
  text-align: right;
}
html.shopgallery #buy-box > div > div form .core {
  margin-top: 55px;
}
html.shopgallery #buy-box > div > div form .core label {
  font: 13px "PT Sans Regular";
  color: #aeaeae;
  position: absolute;
  padding: 13px 15px;
}
@media (max-width: 750px) {
  html.shopgallery #buy-box > div > div form .core label.name {
    top: 100px;
  }
}
@media (max-width: 515px) {
  html.shopgallery #buy-box > div > div form .core label.name {
    top: 64px;
  }
}
html.shopgallery #buy-box > div > div form .core p.np {
  color: #626262 !important;
  margin: 0 !important;
}
html.shopgallery #buy-box > div > div form .core input, html.shopgallery #buy-box > div > div form .core select {
  width: 49%;
  margin-left: 0;
  margin-right: 0;
  height: 41px;
  margin-bottom: 27px;
  background-color: #e2e2e2;
  border: 0;
  box-sizing: border-box;
  padding: 15px;
  background-position: right center;
  background-repeat: no-repeat;
}
@media (max-width: 720px) {
  html.shopgallery #buy-box > div > div form .core input, html.shopgallery #buy-box > div > div form .core select {
    width: 80%;
  }
}
html.shopgallery #buy-box > div > div form .core input[name="name"], html.shopgallery #buy-box > div > div form .core select[name="name"] {
  background-image: url('/img/input-name-bg.png');
}
html.shopgallery #buy-box > div > div form .core input[name="email"], html.shopgallery #buy-box > div > div form .core select[name="email"] {
  background-image: url('/img/input-email-bg.png');
}
html.shopgallery #buy-box > div > div form .core input[name="phone"], html.shopgallery #buy-box > div > div form .core select[name="phone"] {
  background-image: url('/img/input-phone-bg.png');
}
html.shopgallery #buy-box > div > div form .core input[name="address"], html.shopgallery #buy-box > div > div form .core select[name="address"] {
  background-image: url('/img/input-map-bg.png');
}
html.shopgallery #buy-box > div > div form div.bottom {
  height: 50px;
}
html.shopgallery #buy-box > div > div form input[type="submit"] {
  width: 185px;
  height: 35px;
  font: 13px "Arial Narrow";
  color: white;
  text-transform: uppercase;
  background-color: #2fa1b7;
  border: 0;
}
#buy-box {
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: -20000;
  transition: 0.3s opacity ease;
}
#buy-box.showed {
  z-index: 20000;
  opacity: 1;
}
html.contacts main ul {
  list-style: none;
  list-style-type: none;
  padding: 0;
  height: 130px;
}
@media (max-width: 650px) {
  html.contacts main ul {
    height: 360px;
  }
}
html.contacts main ul li {
  margin: 40px 0 20px;
  float: left;
  width: 25%;
  padding: 80px 0 0;
  text-align: center;
  font: 20px 'PT Sans Narrow';
  color: #6f6f6f;
  background-repeat: no-repeat;
  background-position: center top;
}
html.contacts main ul li a {
  color: #6f6f6f;
  text-decoration: none;
}
html.contacts main ul li.email {
  background-image: url('img/contacts-post.png');
}
html.contacts main ul li.skype {
  background-image: url('img/contacts-skype.png');
}
html.contacts main ul li.phones {
  background-image: url('img/contacts-phone.png');
}
html.contacts main ul li.address {
  background-image: url('img/contacts-location.png');
}
@media (max-width: 650px) {
  html.contacts main ul li:nth-child(3) {
    clear: left;
  }
  html.contacts main ul li {
    width: 50%;
  }
}
@media (max-width: 450px) {
  html.contacts main ul li:nth-child(3) {
    clear: left;
  }
  html.contacts main ul li {
    width: 100%;
  }
}
html.contacts main .wrapper {
  height: 265px;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 750px) {
  html.contacts main .wrapper {
    height: 395px;
  }
}
html.contacts #map-canvas {
  width: 100%;
  height: 308px;
}
html.contacts .labels {
  font-weight: bold;
  color: maroon;
  text-shadow: 0px 1px 1px white;
}
html.contacts form {
  padding-top: 20px;
  display: block;
  width: 100%;
  position: relative;
}
html.contacts form h6 {
  font: 78px/100px "Kelson Sans Bold";
  color: #f1f1f1;
  text-transform: uppercase;
  margin: 0;
  float: left;
  display: block;
  width: 25%;
  overflow: hidden;
}
@media (max-width: 750px) {
  html.contacts form h6 {
    width: 100%;
    font: 78px/100px "Kelson Sans Bold" !important;
  }
}
@media (max-width: 520px) {
  html.contacts form h6 {
    font-size: 46px !important;
    line-height: 64px !important;
  }
}
html.contacts form div {
  width: 25%;
  padding-left: 30%;
  padding-right: 40%;
  position: relative;
}
@media (max-width: 750px) {
  html.contacts form div {
    width: 32%;
    padding: 0;
  }
}
html.contacts form div input {
  width: 100%;
  height: 41px;
  margin-bottom: 27px;
  background-color: #f1f1f1;
  border: 0;
  box-sizing: border-box;
  padding: 15px;
  background-position: right center;
  background-repeat: no-repeat;
}
html.contacts form div input[name="name"] {
  background-image: url('/img/input-name-bg.png');
}
html.contacts form div input[name="email"] {
  background-image: url('/img/input-email-bg.png');
}
html.contacts form div input[name="phone"] {
  background-image: url('/img/input-phone-bg.png');
}
html.contacts form label {
  font: 13px "PT Sans Narrow";
  color: #aeaeae;
  position: absolute;
  padding: 13px 15px;
}
@media (max-width: 750px) {
  html.contacts form label.name {
    top: 64px;
  }
}
@media (max-width: 515px) {
  html.contacts form label.name {
    top: 30px;
  }
}
html.contacts form label.textarea {
  position: absolute;
  right: 0;
  top: 0px;
  z-index: 100;
  width: 40%;
  display: block;
  text-align: left;
  padding: 23px 15px;
  margin-top: 10px;
}
@media (max-width: 750px) {
  html.contacts form label.textarea {
    width: 60%;
  }
}
@media (max-width: 520px) {
  html.contacts form label.textarea {
    width: 55%;
    right: auto;
    left: 120px;
  }
}
@media (max-width: 750px) {
  html.contacts form label.textarea {
    margin-top: 120px;
  }
}
@media (max-width: 520px) {
  html.contacts form label.textarea {
    margin-top: 84px;
  }
}
html.contacts form textarea {
  background-color: #f1f1f1;
  border: 0;
  height: 150px;
  width: 40%;
  float: right;
  margin-bottom: 15px;
  resize: none;
  font: 13px "PT Sans Narrow";
  padding: 13px 15px;
}
@media (max-width: 750px) {
  html.contacts form textarea {
    width: 60%;
  }
}
@media (max-width: 520px) {
  html.contacts form textarea {
    width: 55%;
  }
}
@media (max-width: 360px) {
  html.contacts form textarea {
    width: 40%;
  }
}
html.contacts form input[type="submit"] {
  width: 20%;
  min-width: 120px;
  height: 50px;
  background-color: #2fa1b7;
  color: white;
  text-align: center;
  border: 0;
  font: 18px "Arial Narrow";
  text-transform: uppercase;
  clear: right;
  float: right;
}
html.contacts form .empty {
  clear: both;
}
html.projects main {
  position: relative;
}
html.projects main menu {
  max-width: 1140px;
  margin: 50px auto;
  list-style: none;
  list-style-type: none;
  position: relative;
}
html.projects main menu li {
  list-style-type: none;
  position: absolute;
  overflow: hidden;
  transition: 0.3s background-color;
}
html.projects main menu li img {
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  position: absolute;
}
html.projects main menu li a {
  text-decoration: none;
}
html.projects main menu li div.sub {
  z-index: 1000;
  background-color: #2fa1b7;
  opacity: 0;
  transition: 0.3s opacity;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-family: Arial Narrow;
}
html.projects main menu li div.sub .project-name {
  display: block;
  color: white;
  text-transform: uppercase;
  font-size: 18px;
  transition: none;
}
@media (max-width: 750px) {
  html.projects main menu li div.sub .project-name {
    font-size: 14px;
  }
}
@media (max-width: 450px) {
  html.projects main menu li div.sub .project-name {
    font-size: 10px;
  }
}
html.projects main menu li div.sub .project-description {
  display: block;
  color: white;
  font-size: 14px;
  transition: none;
}
@media (max-width: 750px) {
  html.projects main menu li div.sub .project-description {
    font-size: 12px;
    line-height: 14px;
  }
}
@media (max-width: 450px) {
  html.projects main menu li div.sub .project-description {
    font-size: 8px;
    line-height: 10px;
  }
}
html.projects main menu li > div {
  position: absolute;
  z-index: 1000;
  width: 20px;
  height: 20px;
  border-color: gray !important;
  border-style: solid;
  box-sizing: border-box;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0.7) !important;
}
html.projects main menu li > div a {
  display: inline-table-cell;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  text-decoration: none;
  font-size: 15px !important;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  z-index: 1000;
}
html.projects main menu li .img-left {
  top: calc(50% - 10px) !important;
  left: 0px !important;
  width: 20px !important;
  height: 20px !important;
}
html.projects main menu li .img-right {
  top: calc(50% - 10px) !important;
  right: 0px !important;
}
html.projects main menu li .img-up {
  left: calc(50% - 10px) !important;
  top: 0px !important;
}
html.projects main menu li .img-edit {
  left: 0px !important;
  top: 0px !important;
}
html.projects main menu li .img-down {
  left: calc(50% - 10px) !important;
  bottom: 0px !important;
}
html.projects main menu li .img-featured {
  left: calc(50% - 10px) !important;
  top: 20px !important;
}
html.projects main menu li .img-delete {
  left: calc(50% - 10px) !important;
  bottom: 20px !important;
}
html.projects main menu li .img-new-before {
  bottom: 0 !important;
  left: 0 !important;
}
html.projects main menu li .img-new-after {
  bottom: 0 !important;
  right: 0 !important;
}
html.projects main menu li:hover div {
  opacity: 0.8;
}
html.project {
  color: #797979;
  font-size: 13px;
}
html.project ul.gallery {
  margin: 0;
  padding: 0;
}
html.project .video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
html.project .video-container iframe, html.project .video-container object, html.project .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
html.project h3 {
  font-size: 36px;
  font-family: Arial Narrow, Arial;
}
html.project h4 {
  font-size: 20px;
  font-family: Arial Narrow, Arial;
}
html.project main ul.gallery {
  max-width: 471px;
  width: auto;
  margin-top: 45px;
}
@media (max-width: 800px) {
  html.project main ul.gallery {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: none;
  }
}
html.project main aside {
  float: right;
  max-width: 530px;
  width: calc(100% - 611px);
  padding-left: 140px;
  margin-top: 45px;
}
@media (max-width: 800px) {
  html.project main aside {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: none;
    padding-left: 0;
    float: none;
  }
}
html.project main aside h4 {
  font: 36px "Arial Narrow";
  margin: 0;
}
html.project main aside p, html.project main aside li {
  font: 13px/21px Arial;
}
html.project main .back {
  float: right;
  max-width: 530px;
  width: calc(100% - 610px);
  padding-left: 140px;
}
html.project main .back a {
  color: #2fa1b7;
  text-transform: uppercase;
  text-decoration: none;
  font: 14px "Arial Narrow";
}
html.404 h2 {
  font: 72px "Kelson Sans Bold";
  color: #626262;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 400px) {
  html.404 h2 {
    font-size: 48px;
  }
}
