html{
  height: 100%;
}

header{
  height: 150px;
  background-color: #e9e8e6;
  position: fixed;
  width: 100%;
  top: 0px;
  border-bottom: 1px solid white;
  z-index: 999;
}
header img{
  height: 50%;
  width: auto;
  margin-top: 30px;
  float: left;
}

header nav{
  line-height: 200px;
  padding-left: 50px;
  float: left;
}
header nav a{
  color: #8c8c8c;
  padding: 0px 30px;
  font-weight: bold;
  font-size: 14pt;
}
header .phones-top{
  position: absolute;
  right: 0px;
  top: 40px;
}
header .phones-top a{
  color: #e12e29;
  font-size: 18pt;
  font-weight: bold;
}
footer{
  height: 245px;
  background-color: #e9e8e6;
  position: fixed;
  width: 100%;
  bottom: 0px;
  border-top: 1px solid white;
}
footer img{
  height: 100%;
  width: auto;
}
footer nav{
  position: absolute;
  top: 0px;
  left: 436px;
  right: 0px;
  bottom: 0px;
  padding: 0px 20px;
}

footer nav a img{
  height: 100%;
}
footer nav a{
   display: block;
}

footer nav a:hover{
  border-bottom: 2px solid gray;
}
.phones-bottom{
  display: none;
  position: fixed;
  bottom: 0px;
  height: 80px;
  padding-top: 15px;
  width: 100%;
  background-color: #e9e8e6;
  border-bottom: 1px solid white;
  padding-left: 70px;
  text-align: center;
    border-top: 1px solid black;
}
.phones-bottom a{
  font-size: 14pt;
  font-weight: bold;
  color: #e12e29;
}

.phones-bottom img{
  top: 10px; left: 10px;
  height: 80%;
  position: absolute;


}
body{
  padding: 170px 0px 264px 0px;
  background: url('../images/img-big-01.jpg') center no-repeat fixed;
  background-size: cover;
}
.as_content{
  height: 100%;
  width: 100%;
  background: background-color: rgba(140,140,40,0.5);
}
.as_wrapper{
  width: 1600px;
  margin: auto;
  position: relative;
}
  nav .navbar-toggle,
  nav .navbar-toggle:hover,
  nav .navbar-toggle:active,
  nav .navbar-toggle:focus{
    background: none;
    border: none;
  }
  .nnav{
    display: none;
  }
  .btm-phones{
    padding-top: 30px;
    position: absolute;
    left: 160px;
    width: 300px;
    top: 0px;
    text-align: center;
    font-weight: bold;
    font-size: 14pt;
  }
  .btm-phones a{
    color: black;
  }

  .pg-content{
    background-color: rgba(255,255,255,0.9);
    font-size: 14pt;
  }
  .pg-content p{
    margin-bottom: 20px;
  }
  .pg-content img{
    float: left;
    margin: 0px 10px 10px 0px;
    max-height: 600px;
  }
.navbar-fixed-top{
  top: 100px;
}
.cd_wrapper{
  width: 800px;
  margin: auto;
  padding: 10px;
}
@media (max-width: 1226px){
    header .phones-top{
    display: none;
  }
}
@media (max-width: 1600px){
  .btm-phones{

    width: 230px;
  }

  header nav{
    padding-left: 30px;
  }
  header nav a{
    padding: 0px 15px;
  }
  .as_wrapper{
    width: 90%;
    margin: auto;
    }
  footer .as_wrapper{
    width: 100%;
  }
  footer nav{
    left: 340px;
  }
}


@media (max-width: 980px){
  .cd_wrapper{
    width: 90%;
    margin: auto;
  }
    body{
    padding-top: 169px;
    padding-bottom: 100px;
  }
  .phones-bottom{
    display: block;
  }
  header nav{
    width: 200px;
    line-height: 30px;
    padding: 0px;
    position: absolute;
    right: 0px;
    top: 20px;
  }

  header nav a{
    width: 100%;
    display: block;
    padding: 0px;
  }
header img{
  width: 50%;
  height: auto;
  float: left;

}
header .phones-top{
  display: none;
}
.nnav{
  display: none;
}
footer{
  display: none;
}
  .as_wrapper{
    width: 90%;
    margin: auto;
    }
}

@media (max-width: 480px){
  .cd_wrapper{
    width: 100%;
  }
  .nnav{
    display: block;
  }
  body{
    padding-bottom: 100px;
    padding-top: 140px;
  }
  .as_wrapper{
    width: 90%;
}
header{
  height: 100px;
}
header img{
  width: 80%;
  height: auto;
  margin-top: 15px;

}
header .phones-top{
  display: none;
}
header nav{
  display: none;
}
footer{
  display: none;
}
.phones-bottom{
  display: block;
}
  .pg-content img{
    margin: 0px 130px 10px 0px;
    max-height: 300px;
  }
.navbar, .navbar-inverse, .navbar-fixed-top{
    top: 100px;
  }
}