@import url('./top.css');
img {
  max-width: 100%;
}

body {
  font-family: 'Exo', sans-serif;
  background-color: #ddddde;
  background-image: url("./../images/bg.png");
  background-repeat: repeat;
  color: #292623;
}

.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

.main {
  width: 80%;
  max-width: 1500px;
  margin: 0 auto;
}

.box-list {
  width: 100%;
  float:left;
}

.box {
  width: 24%;
  height: auto;
  background-color: #000;
  float: left;
  margin-right: 1.33%;
  margin-bottom: 2%;
  box-shadow: 0px 3px 7px #888888;
  box-sizing: border-box;
}

.box.box_5 {
  width: 19%;
  height: auto;
  background-color: #000;
  float: left;
  margin-right: 1.2%;
  margin-bottom: 1%;
  box-shadow: 0px 3px 7px #888888;
  box-sizing: border-box;
}


.homepage .box {
  width: 32%;
  height: auto;
  background-color: #000;
  float: left;
  margin-right: 2%;
  margin-bottom: 2%;
  box-shadow: 0px 3px 7px #888888;
  box-sizing: border-box;
}

.box img {
  margin-bottom: -6px;
  padding: 0px;
  width: 100%;
}

.last-right {
  margin-right: 0% !important;
}

.contact {
  width: 50%;
  background-color: rgba(0,0,0,0.08);
  padding: 20px;
}

.contact-img {
  float: left;
  width: 10%;
}

.contact-img img {
  width: 100%;
}

.contact-text {
  float: left;
  width: 90%;
  padding-top: 2.5%;
}

.contact-text a{
  color: #292623;
  text-decoration: none;
}

.work-info {
  width: 100%;
  padding: 0px 0px;
  margin-bottom: 30px;
  height: 50px;
}

.work-info a{
  display: block;
  float: left;
  width: 50%;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: #292623;
  line-height: 50px;
  font-size: 25px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  background-color: #c4c4c5;
}

.work-info a.active, .work-info a:hover {
  border-bottom: 2px solid #3c3e40;
  background-color: #909194;
}

.halfPage {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

.halfPage img {
  width:100%;
  max-width: 720px;
}

.halfPage.info {
  width: 45%;
  float: right;
}


.gallery {
  width: 100%;
  margin-top: 50px;
}


@media only screen and (max-width: 900px) {
  .box {
    width: 45%;
  }

  .last-right {
    margin-right: 2%;
  }

  .header-menu {
    width: 100%;
  }

  .box-list .clearfix {
    display: none;
   }
}

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

  .contact {
    width: 100%;
    padding: 20px;
  }
}

@media only screen and (max-width: 400px) {
  .box {
    width: 80%;
    margin: 0 auto;
    float: none;
    margin-bottom: 2%;
  }

  .last-right {
    margin: 0 auto;
    float: none;
    margin-bottom: 2%;
  }

  .contact {
    width: 100%;
    padding: 0px;
  }

  .main {
    width: 100%;
  }
}
