@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Roboto+Slab:300,400,700');
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin:0;
}
a{
  max-width: 100%;
  text-decoration: none;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
p{
  color: #323232;
}
ul,li{
  padding: 0;
  list-style: none;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
img {
  max-width: 100%;
}
body{
  font-family: 'Open Sans', sans-serif;
  background: url("img/bg.png") repeat;
  min-width: 300px;
  line-height: 1.1;
  overflow-x: hidden;
  position: relative;
}
.clear:after{
  content:'.';
  display:block;
  clear:both;
  visibility:hidden;
  height:0;
}
.center{
  max-width: 1000px;
  margin:0 auto;
}
.header{
  background: #fff;
  padding:7px 0 10px;
}
.logotype-box{
  float: left;
  max-width: 390px;
  width: 100%;
  line-height: 1;
  text-align: right;
}
.logo span{
  font-family: 'Roboto Slab', serif;
  font-size: 30px;
  color: #424242;
  text-transform: uppercase;
}
.logo img{
  margin:0 2px;
}
.logo-desript{
  font-size: 11px;
  color: #555;
  margin-top: -2px;
  text-transform: uppercase;
}
.nav{
  float: right;
  font-size: 0;
  margin-top: 21px;
}
.nav li{
  display: inline-block;
  vertical-align: top;
  margin:0 12px;
}
.nav a{
  font-size: 14px;
  color: #424242;
  text-transform: uppercase;
}
.nav a:hover{
  color: #fe531f;
}
.image-link {
  max-height: 164px;
  overflow: hidden;
  display: block;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.content{
  padding:35px 0;
}
.posts{
  margin-bottom: 40px;
}
.posts li{
  text-align: center;
  width: 31%;
  float: left;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.posts li:nth-child(even){
  margin: 0 3.4%;
}
.posts img{
  display: block;
}
.post-text{
  height: 51px;
  line-height: 51px;
  overflow: hidden;
  text-align: center;
  position: relative;
  background: #26282f;
  background: -moz-linear-gradient(top,  #26282f 0%, #010101 100%);
  background: -webkit-linear-gradient(top,  #26282f 0%,#010101 100%);
  background: linear-gradient(to bottom,  #26282f 0%,#010101 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26282f', endColorstr='#010101',GradientType=0 );
}
.post-text h2{
  width: 100%;
  font-size: 18px;
  font-weight: normal;
  color: #fff;
  position: absolute;
  line-height: 18px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.title{
  font-family: 'Roboto Slab', serif;
  font-size: 30px;
  color: #606060;
  text-shadow: 0 1px 0 #fff;
  text-align: center;
  margin-bottom: 20px;
}
.company{
  background: #fff;
  border: 1px solid #e2e2e2;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
  padding: 40px 40px 40px 340px;
  margin-bottom: 40px;
}
.company-title{
  font-family: 'Roboto Slab', serif;
  float: left;
  line-height: 1.2;
  margin-left: -300px;
  max-width: 280px;
  font-size: 45px;
  color: #626262;
  text-align: right;
  text-transform: uppercase;
}
.company-title span{
  color: #fe531f;
}
.company p{
  margin-top: 5px;
  font-size: 14px;
  color: #626262;
  line-height:26px;
}
.services{
  padding: 30px 20px;
  background: #fff;
  border: 1px solid #e2e2e2;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  font-size: 0;
}
.service{
  width: 33%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}
.service img{
  display: block;
  margin:0 auto;
}
.post-border{
  border-right: 1px dashed #b6b6b6;
  border-left: 1px dashed #b6b6b6;
}
.service div{
  height: 70px;
  line-height: 70px;
}
.service h3{
  display: inline-block;
  vertical-align: middle;
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  color: #606060;
  max-width: 250px;
  margin:0 auto;
}
.example-works{
  text-align: center;
  font-size: 0;
}
.example{
  display: inline-block;
  vertical-align: top;
  width: 31%;
  margin:0 1% 4%;
  max-width: 292px;
}
.example-box{
  background: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #e2e2e2;
  padding:22px 10px 12px 10px;
  margin-top: -10px;
  text-align: left;
}
.example-box h4{
  height: 36px;
  overflow: hidden;
  font-size: 15px;
  line-height: 18px;
  color: #424242;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.example-box p{
  font-size: 14px;
  line-height: 18px;
  color: #626262;
}
.contact{
  background: url("img/contact.jpg") no-repeat;
  height: 368px;
  overflow: hidden;
}
.contact-info{
  width: 470px;
  background: #fff;
  float: right;
  padding:20px 0;
  height: 368px;
  margin-right: 30px;
}
.contact-info li{
  max-width: 370px;
  margin:0 auto;
  height: 80px;
  line-height: 80px;
  background: url("img/contact-line.png") no-repeat center bottom;
}
.contact-info div{
  float: left;
  width: 70px;
  margin:-3px 0 0 0;
  text-align: center;
}
.contact-info img{
  display: inline-block;
  vertical-align: middle;
}
.contact-info a{
  font-size: 20px;
  color: #424242;
  font-weight: bold;
}
.footer{
  background: #fff;
  text-align: center;
  padding:30px 5px;
}
.footer-nav{
  margin-bottom: 25px;
}
.footer-nav li{
  display: inline-block;
  vertical-align: top;
  padding:0 12px;
}
.footer-nav a{
  font-size: 14px;
  font-weight: 300;
  color: #424242;
}
.footer-nav a:hover{
  border-bottom: 1px solid #424242;
}
.footer-description{
  font-size: 12px;
  color: #424242;
  max-width: 840px;
  margin:0 auto;
}
#to-top{
  display: block;
  width: 70px;
  height: 70px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  opacity: 0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}
#to-top img{
  display: block;
}

@media all and (max-width: 900px){

  .post-text h2{
    font-size: 16px;
  }
  .header{
    text-align: center;
  }
  .logotype-box{
    float: none;
    display: inline-block;
    vertical-align: top;
    text-align: center;
  }
  .nav{
    float: none;
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
  }
  .nav li{
    margin: 0 25px 5px;
  }
  .contact{
    overflow: hidden;
  }
  .contact-info{
    margin-right: 0;
  }

}
@media all and (max-width: 800px){

  .nav li{
    margin: 0 10px 5px;
  }
  .posts{
    text-align: center;
  }
  .posts li{
    float: none;
    display: inline-block;
    vertical-align: top;
    width: 47%;
    max-width: 310px;
    margin: 0 1% 2% !important;
  }
  .post-text h2{
    font-size: 16px;
  }
  .company{
    padding: 30px;
  }
  .company-title{
    float: none;
    margin: 0;
    text-align: left;
    max-width: 100%;
    font-size: 30px;
  }
  .service{
    width: 50%;
  }
  .service:nth-child(odd) div{
    border-right: 1px dashed #b6b6b6;
  }
  .post-border{
    border: none;
  }
  .example{
    width: 48%;
  }
  .contact-info{
    width: 300px;
  }
  .contact-info a{
    font-size: 16px;
  }

}

@media all and (max-width: 600px){

  .post-text h2{
    font-size: 14px;
  }
  .posts li{
    width: 98%;
  }
  .services{
    padding: 20px 10px;
  }
  .service h3{
    font-size: 18px;
  }
  .contact-info{
    width: 100%;
  }
  .contact-info li{
    max-width: 340px;
  }
  .contact-info a{
    font-size: 16px;
  }


}
@media all and (max-width: 480px){

  .logo span{
    font-size: 22px;
  }
  .logo img{
    max-width: 40px;
  }
  .company{
    padding: 10px;
  }
  .company-title{
     font-size: 20px;
  }
  .service h3{
    font-size: 16px;
  }
  .example{
    width: 98%;
  }

}

@media all and (max-width: 420px){

  .service{
    width: 100%;
  }
  .service div{
    border: none !important;
  }
  .service h3{
    font-size: 20px;
  }
  .footer-nav li{
    padding: 0 5px 5px;
  }

}
