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

h1 {
	text-indent: 110%;
	white-space: nowrap;
	overflow: hidden;
	background: url('img/logo.png') no-repeat left top;
	width: 300px;
	height: 114px;
	margin-left: -120px;
	z-index: 998;
}

h2 {
	color: #ed0000;
	font-size: 2.375em;
	font-weight: bold;
	margin-bottom: 60px;
	margin-top: 60px;
}

h3 {
	font-weight: bold;
	color: #FFF;
	margin-bottom: 15px;
	padding-left: 1px;
}

p {
	font-size: 1.0625em;
	line-height: 1.294em; /* 22px */
}

a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	text-decoration: underline;
}

strong {
	font-weight: bold;
}

#nav {
	width: 100%;
	top: 60px;
	position: fixed;
	color: #000;
	right: 0;
	z-index: 998;
}
#nav ul {
	width: 200px;
	position: absolute;
	right: 0;
}
#nav ul li a {
	height: 29px;
	border-bottom: 1px solid #000;
	display: block;
	line-height: 30px;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}
#nav.blackbg {
	color: #FFF;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}
#nav.blackbg ul li a {
    color: #FFF;
    border-bottom: 1px solid #FFF;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}
#nav.blackbg ul li a:hover,
#nav.blackbg ul li a.sel,
#nav.red a.sel,
#nav.red a:hover {
	color: #ed0000;
}
#nav a:hover,
#nav a.sel {
	color: #FFF;
	text-decoration: none;
}
.tel {
	padding-top: 14px;
}
.email {
	padding-bottom: 7px;
}
#nav ul li a.social,
a.social {
    border-bottom: none;
    display: inline-block;
    height: 22px;
    background: url('img/socialbg.png') left top no-repeat;
    background-size: 22px 132px;
    float: left;
    width: 70px;
    padding-left: 27px;
    line-height: 22px;
    margin-top: 10px;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}
a.social:hover {
    text-decoration: none;
    color: #ed0000;
}
#nav ul li a.tw,
a.tw {
	background-position: left -22px;
}
#nav ul li a.in:hover,
#nav.blackbg ul li a.in {
	background-position: left -44px;
}
#nav.blackbg ul li a.tw,
#nav ul li a.tw:hover,
a.tw:hover {
	background-position: left -66px;
}
#nav.blackbg ul li a.in:hover,
#nav.red ul li a.in:hover,
a.in:hover {
	background-position: left -88px;
}
#nav.red ul li a.tw:hover,
#nav.blackbg ul li a.tw:hover,
a.tw:hover {
	background-position: left -110px;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	position: relative;
	height: 100%;
}

.content {
	max-width: 920px;
	width: 81.25%;
	height: 100%;
	overflow: hidden;
	position: relative;
	padding-left: 120px;
}

.third {
	width: 31.5%;
	float: left;
}

.third.video {
	width: 27%;
}

#top {
	background: #ED0000;
	height: 397px;
	padding-top: 60px;
	position: relative;
	z-index: 888;
}

#top p {
	color: #FFF;
	width: 470px;
	display: block;
	padding: 100px 0;
}

#top .content {
	background: url('img/top-arrow-bg.png') no-repeat 20px bottom;
}

.arrow {
	background: url('img/arrow-bg.png') no-repeat center bottom;
	width: 80px;
	position: absolute;
	height: 110%;
	left: 20px;
	bottom: 100%;
}
#gallery {
	max-height: 480px;
	background: #999b9e;
	overflow: hidden;
	position: relative;
	z-index: 888;
}

.line {
	background: url('img/gallery.png') no-repeat center center;
	width: 100%;
	height: 100%;
	position: absolute;
}

#gallery img {
	width: 50%;
	float: left;
	height: 100%;
}

#story {
	height: 565px;
	background: #f3f3f3;
	position: relative;
	z-index: 888;
}
#story .content {
	background: url('img/sprite.png') no-repeat -450px bottom;
}
#story p {
	float: left;
	display: block;
	width: 40%;
	padding-right: 5%;
	margin-bottom: 20px;
}

#services {
	height: 600px;
	background: #3e3e3f;
	position: relative;
	z-index: 888;
}
#services ul {
	padding-right: 80px;
	padding-bottom: 40px;
	color: #ed0000;
	font-weight: bold;
	line-height: 1.294em; /* 22px; */
}
#services p {
	color: #FFF;
	margin-right: 30px;
}
#services a {
	display: inline-block;
}
#services img {
	width: 240px;
	margin-top: 25px;
	margin-bottom: 40px;
	margin-left: -5px;
	display: block;
}
#services ul li {
	color: #FFF;
	font-weight: normal;
}

#measure {
	height: 100%;
	position: relative;
	z-index: 888;
}
#measure .slide {
	background: none;
}
#measure .slide div {
	color: #FFF;
	width: 45%;
	padding-right: 5%;
	font-style: italic;
	float: left;
}
#measure .slide p {
	margin-top: 20px;
}
#measure h2 {
	color: #000;
}
#measure span {
	margin: 20px 0;
	font-style: normal;
	display: block;
	color: #000;
}
#contacts {
	background: #f3f3f3;
	height: 370px;
	position: relative;
	z-index: 888;
}
#contacts a {
	display: block;
	margin-bottom: 5px;
}
#contacts h2 {
	margin-bottom: 30px;
}
#contacts .content {
	background: url('img/sprite.png') no-repeat 510px bottom;
	margin-right: 0;
}

#footer {
	background: #3d3d3d;
	color: #FFF;
	padding: 40px 0;
	font-size: 0.9375em;
	position: relative;
	z-index: 888;
}
#footer .container {
	background: url('img/bottom-arrow.png') 20px top no-repeat;
	height: 93px;
}
.credits {
	color: #ed0000;
	position: absolute;
	bottom: 0;
}
.credits a {
	color: #ed0000;
}

b {
	color: #ed0000;
	font-weight: bold;
	display: inline;
	float: left;
	margin-right: 5px;
}

a[href^=tel]{
    color:inherit;
    text-decoration:none;
    font-weight: inherit;
}

/* Galleries */
.aslide {
	overflow: hidden;
	position: relative;
	margin-bottom: 40px;
}

.slides {
	height: 505px;
	background: #ed0000;
	color: #FFF;
}

.slides h2 {
	color: #FFF;
	margin-bottom: 30px;
}

.slides h3 {
	margin-top: 30px;
}

#slider,
#slider1 {
	width: 500%;
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

.slide {
	width: 20%;
	display: block;
	float: left;
	color: #000;
	padding: 0;
	min-height: 235px;
	opacity: 0;
	-webkit-transition: all 0.5s ease-in-out 0.5s;
	-moz-transition: all 0.5s ease-in-out 0.5s;
	transition: all 0.5s ease-in-out 0.5s;
	margin-bottom: 67px;
}

#slide1:checked ~ #slider #we1, #slide2:checked ~ #slider #we2, #slide3:checked ~ #slider #we3, #slide4:checked ~ #slider #we4, #slide5:checked ~ #slider #we5,
#slide6-1:checked ~ #slider1 #how1, #slide7-2:checked ~ #slider1 #how2, #slide8-3:checked ~ #slider1 #how3, #slide9-4:checked ~ #slider1 #how4, #slide10-5:checked ~ #slider1 #how5 {
	opacity: 1;
}

.slide div {
	display: block;
	width: 50%;
	float: left;
}

input {
	display: none;
}

#slide1:checked ~ #slider { margin-left:0; }
#slide2:checked ~ #slider { margin-left:-100%; }
#slide3:checked ~ #slider { margin-left:-200%; }
#slide4:checked ~ #slider { margin-left:-300%; }
#slide5:checked ~ #slider { margin-left:-400%; }

#slide6-1:checked ~ #slider1 { margin-left:0; }
#slide7-2:checked ~ #slider1 { margin-left:-100%; }
#slide8-3:checked ~ #slider1 { margin-left:-200%; }
#slide9-4:checked ~ #slider1 { margin-left:-300%; }
#slide10-5:checked ~ #slider1 { margin-left:-400%; }

.active {
	text-align: center;
	clear: both;
	z-index: 99;
	position: relative;
	height: 25px;
	line-height: 30px;
	margin: 0 auto;
	width: 50%;
}

.active label {
	width: 15px;
	height: 15px;
	background: #000;
	display: inline-block;
	-webkit-border-radius: 75%;
	-moz-border-radius: 75%;
	border-radius: 75%;
	margin: 0 5px;
	cursor: pointer;
}


.active label.checked {
	background: #FFF;
}
.active label:hover,
#slide1:checked ~ .active label[for=slide1], #slide2:checked ~ .active label[for=slide2], #slide3:checked ~ .active label[for=slide3], #slide4:checked ~ .active label[for=slide4], #slide5:checked ~ .active label[for=slide5],
#slide6-1:checked ~ .active label[for=slide6-1], #slide7-2:checked ~ .active label[for=slide7-2], #slide8-3:checked ~ .active label[for=slide8-3], #slide9-4:checked ~ .active label[for=slide9-4], #slide10-5:checked ~ .active label[for=slide10-5] {
    background: #FFF;
}

.controls {
	position: absolute;
	bottom: 0;
	width: 100%;
}
.controls label:hover {
	opacity: 0.8;
}

.slide .image,
.controls label {
	background-image: url('img/slides.png');
	background-repeat: no-repeat;
}
.slide .image {
	height: 235px;
	width: 50%;
	float: right;
	display: block;
}
#we1 .image {
	background-position: right top;
}
#we2 .image {
	background-position: right -235px;
}
#we3 .image {
	background-position: right -470px;
}
#we4 .image {
	background-position: right -705px;
}
#we5 .image {
	background-position: right -940px;
}
#slide1:checked ~ .controls label:nth-child(2), #slide2:checked ~ .controls label:nth-child(3), #slide3:checked ~ .controls label:nth-child(4), #slide4:checked ~ .controls label:nth-child(5),
#slide6-1:checked ~ .controls label:nth-child(2), #slide7-2:checked ~ .controls label:nth-child(3), #slide8-3:checked ~ .controls label:nth-child(4), #slide9-4:checked ~ .controls label:nth-child(5) {
    display: block;
    float: right;
    z-index: 10;
    position: relative;
    cursor: pointer;
    height: 25px;
    width: 70px;
    background-position: right -1175px;
}
#slide2:checked ~ .controls label:nth-child(1), #slide3:checked ~ .controls label:nth-child(2), #slide4:checked ~ .controls label:nth-child(3), #slide5:checked ~ .controls label:nth-child(4),
#slide7-2:checked ~ .controls label:nth-child(1), #slide8-3:checked ~ .controls label:nth-child(2), #slide9-4:checked ~ .controls label:nth-child(3), #slide10-5:checked ~ .controls label:nth-child(4) {
    display: block;
    float: left;
    z-index: 10;
    position: relative;
    cursor: pointer;
    height: 25px;
    width: 70px;
    background-position: left -1175px;
}

#video {
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
	margin-bottom: 40px;
	display: block;
	background: url('img/video.png') no-repeat left top;
	width: 302px;
	height: 215px;
	text-indent: 110%;
	white-space: nowrap;
	overflow: hidden;
}
#video:hover {
	opacity: 0.5;
}

#videopanel {
	background: rgba(0, 0, 0, .80);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	z-index: 999;
}
#videopanel div {
	margin: 0 auto;
	position: relative;
	max-width: 1280px;
	width: 90%;
}

.close {
	color: #FFF;
	font-weight: bold;
	font-size: 1em;
	background: url('img/close.png') no-repeat right top;
	height: 25px;
	display: block;
	text-align: right;
	margin-top: 60px;
	margin-bottom: 35px;
	padding-right: 30px;
	line-height: 25px;
	cursor: pointer;
}

iframe {
	width: 100%;
	height: 550px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3) {
h1 {
    background: url('img/logo@2x.png') no-repeat left top;
    background-size: 300px 114px;
}
#story .content,
#contacts .content {
    background-image: url('img/sprite@2x.png');
    background-size: 720px 146px;
}
.controls label {
	background-image: url('img/slides@2x.png');
	background-size: 370px 1200px;
}
#video {
	background: url('img/video@2x.png') no-repeat left top;
	background-size: 302px 215px;
}
.close {
	background: url('img/close@2x.png') no-repeat right center;
	background-size: 25px 25px;
}
#top .content {
	background: url('img/top-arrow-bg@2x.png') no-repeat 20px bottom;
	background-size: 81px 397px;
}
.arrow {
    background: url("img/arrow-bg@2x.png") no-repeat scroll center bottom transparent;
    background-size: 80px 900px;
}
}

@media only screen and (max-width : 1350px) {
#nav {
	margin-right: 20px;
}
#videopanel div {
	width: 90%;
}
}

@media only screen and (max-width : 1300px) {
#story p,
.slide div {
	padding-right: 20px;
	width: 45%;
}
.content {
	width: auto;
	margin-right: 250px;
}
}

@media only screen and (max-width : 1150px) {
.third {
	float: left;
	width: 50%;
}
.third.video {
	float: none;
	clear: both;
	width: 100%;
}
#services,
#measure {
	height: auto;
}
p {
	font-size: 0.9375em;
	line-height: 1.333em; /* 20px */
}
#nav {
	display: none;
}
.content {
	margin-right: 0;
	padding-right: 50px;
}
}

@media only screen and (max-width : 850px) {
#contacts .content {
	background-position: 290px bottom;
}
#services ul {
    padding-right: 10px;
    font-size: 0.9375em;
}
lh {
	line-height: 20px;
}
iframe {
	height: 350px;
}
}

@media only screen and (max-width : 690px) {
.content {
	padding-left: 20px;
}
#top .content {
	background: none;
}
h1 {
	margin-left: -20px;
}

h1 {
	margin-top: 20px;
}
h2 {
	font-size: 1.75em;
	margin-bottom: 20px;
	margin-top: 40px;
}
.slides h3 {
	margin-top: 15px;
}
.content {
	padding: 0 20px;
	width: auto;
	margin-right: 0;
}
#top .content {
	background: none;
}

.content p {
	padding: 0;
	width: auto;
}
#top {
	padding-top: 0;
	height: auto;
}
#top p {
	width: auto;
	padding: 45px 0;
}
.slides {
	height: auto;
}
.active {
	display: none;
}
.controls {
	margin-bottom: 20px;
}
.line {
	display: none;
}
#story,
#services,
#measure,
#contacts {
	height: auto;
}
#story .content {
	padding-bottom: 150px;
}
#story p, .slide div {
	padding-right: 0;
	width: auto;
}
#video img {
	width: 100%;
}
#measure .slide div {
	width: 100%;
	padding-bottom: 20px;
}
#contacts .content {
background-position: 120px bottom;
background-size: 100% auto;
padding-bottom: 60px;
}
.third {
	float: none;
	width: 100%;
}
#footer .container {
	background-image: none;
	height: auto;
}
.credits {
	position: relative;
	margin-top: 20px;
}
#videopanel div {
	padding: 20px;
	width: auto;
}
.close {
	margin-top: 0;
}
.arrow {
	display: none;
}
.slide .image {
	float: none;
	width: auto;
	height: 150px;
	background-size: 235px auto;
}
#we1 .image {
	background-position: left top;
}
#we2 .image {
	background-position: left -180px;
}
#we3 .image {
	background-position: left -300px;
}
#we4 .image {
	background-position: left -445px;
}
#we5 .image {
	background-position: left -595px;
}
#nav {
	display: none;
}
#measure .aslide {
	margin-bottom: 0;
}
#measure .slide:last-child *:last-child {
	margin-bottom: 0;
}
#measure .controls {
	display: none;
}
iframe {
	height: 200px;
}
}