/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
    
html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {overflow-y: scroll;}

body { text-align: center; /*background:url('../img/kontakt.png') no-repeat center -98px;*/ }

h1 {
  padding: 110px 0;
  margin: 0;
  text-transform: uppercase;
  font: 24px normal;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 2px;
  line-height: 29px;
}
h1 span {
  color: #999;
}

.nav-item {
  box-shadow: #000 3px 3px 3px;
  margin: 0 auto;
  display: inline-block;
  width: 150px;
  height: 80px;
}

#menu {
  margin: 0 auto;
  display: block;
  width: 708px;

}
#menu > div {
  background: #000;
}

#menu div > div {
 /* background-color:rgba(200,200,200,0.6);   */
}

#menu .block1 {
  background: url('../img/block_1.png') no-repeat center top;
}

#menu .block2 {
  background: url('../img/block_2.png') no-repeat center top;
}

#menu .block3 {
  background: url('../img/block_3.png') no-repeat center top;
}

#menu .block4 {
  background: url('../img/block_4.png') no-repeat center top;
}

#menu a {
  text-align: center;
  display: block;
  padding: 56px 0;
  border-top: 2px solid #fff;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  position: relative;
}

#menu div > div:hover {
  background-color:rgba(200,200,200,0);
  transition: 0.1s linear;
}

#menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 105px;
  width: 30px;
  height: 2px;
  background: #fff;
  margin-left: -15px;
}

footer {
  margin: 25px 0;
}
footer p {
  font-size: 15px;
  color: #aaa;
}

/*.subpage { background: url(../img/subpage.png) no-repeat center -98px; }*/
.subpage h1 { color: #fff; }
.subpage h1 a { color: #fff; text-decoration: none; }

.main-wrapper {
  width: 100%;
}

.nav-wrapper { 
  background: #000;
  margin: 0 auto 53px;
  width: 768px;
}

.nav-wrapper.kontakt {
  background: url(../img/block_4_large.png) no-repeat top center;
}

.nav-wrapper.zakazky {
  background: url(../img/block_3_large.png) no-repeat top center;
}

.nav-wrapper.umim {
  background: url(../img/block_2_large.png) no-repeat top center;
}

.nav-wrapper.about {
  background: url(../img/block_1_large.png) no-repeat top center;
}

.nav-wrapper h1 {
  padding: 141px 0 72px;
  line-height: 29px;
}

nav {
  margin: 0 auto;
  max-width: 768px;
  padding: 3px 0 8px;
  text-align: left;
}

nav ul {
  padding: 0 0 0 60px;
}

nav ul li {
  list-style-type: none;
  display: inline-block;
  padding: 0 0 0 24px;
  letter-spacing: 0.8px;
  position: relative;
}

nav ul li a {
  color: #999;
  text-decoration: none;
  font-size: 18px;
  padding: 0 22px 0 0;
}

nav ul li a.active {
  color: #fff;
}

nav ul li a:before {
  content: "1";
  position: absolute;
  left: 8px;
  bottom: 2px;
  font-size: 12px;
}

nav ul li + li a:before {
  content: "2";
}

nav ul li + li + li a:before {
  content: "3";
}

nav ul li + li + li + li a:before {
  content: "4";
}

.content {
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
  padding: 0 20px;
}

.content h2 { 
  font-size: 1.2em;

}

.content h3 { 
  font-size: 1em;
  margin: 0 auto 30px;
}

.content p {
  text-align: left;
  margin: 0 auto 30px;  
  line-height: 1.7em;
}

.content ul {
   list-style-type: none;
   padding: 0 0 0 10px;
   margin-bottom: 30px;
}

.content ul li {
  margin-bottom: 7px;
  position: relative;
}

.content ul li:before { 
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 5px;
  height: 1px;
  background: #000;
}

.about .content p, .about .content h3 {
  text-align: center;
}

.col {
  float: left;
  width: 310px;
  margin: 0 0 30px 0;
}

.col + .col {
  margin-left: 40px;
}

.col h3 {
  text-transform: uppercase;
  font-weight: normal;
  display: block;
  border-bottom: 1px solid #000;
  padding: 0 0 5px;
}

.clear {
  clear: both;
}

#menu-switch {
		display: none;
	}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (max-width: 675px) {
  .nav-wrapper {
	width: auto;
	height: 65px;
	}
  nav { 
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 1;
	padding: 0;
	height: 65px;
	}
  nav ul {
		display: none;
		position: fixed;
		top: 65px;
		left: 0;
		background: #6d6d6d;
		padding: 0 0;
		z-index: 1;
		margin: 0;
		width: 100%;
	}
	nav ul.visible {
		display: block;
	}
  nav ul li {
		margin-bottom: 20px;
		display: block;
		padding: 0 0 0 24px;
	}

  nav ul li a {
		display: block;
	}

nav ul li a:before {
  left: 0px;
color: rgb(47, 44, 46);
}
	#menu-switch {
		display: block;
		cursor: pointer;
		background: #6d6d6d;
		line-height: 65px;
		padding-left: 64px;
		color: white;
		font-weight: bold;
		position: relative;
	}
  nav ul li a:before { 
    content: "";
  }
  nav ul li + li a:before { 
    content: "";
  }
  nav ul li + li + li a:before { 
    content: "";
  }
  nav ul li + li + li + li a:before { 
    content: "";
  }

	.burger {
		display: block;
		background: #fff;
		height: 3px;
		width: 22px;
		position: absolute;
		left: 24px;
		top: 22px;
		box-shadow: #fff 0px 8px 0px, #fff 0 16px 0;
	}
}


@media screen and (max-width: 1020px) {
  #menu {
    float: none;
    width: auto;
  }


}

@media screen and (max-width: 675px) {
  .col + .col {
	margin-left: 0;
  }

  h1 {
	display: none;
  }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        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) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        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;
    }
}