*{
  margin: 0;
  padding: 0;
}

.clearfix{
  clear: both;
}

body{
  height: auto;
  width: 100%;
}

h1 {
  font-family: "Open Sans";
}

h2 {
  font-family: "Open Sans";
  font-size: 21px;
}

h3 {
  font-family: "Open Sans";
  color: #726f6f;
  font-size: 20px;
}

h4 {
  font-family: "Open Sans";
  color: #726f6f;
  font-size: 18px;
}

p {
  font-family: "Open Sans";
  color: #726f6f;
  font-size: 16px;
}

.grey-bg h3{
  color: #3B3A3C;
}

.text-center{
  text-align: center;
  text-align: -webkit-center;
  text-align: -ms-center;
  text-align: -moz-center;
  text-align: -o-center;
}

.grey-bg{
  background-color: lightgrey
}

.white-bg{
  background-color: white;
}

.left{
  float: left;
}

.right{
  float: right;
}

header{
  height: auto;
  width: 100%;
  z-index: 100;
  top: 0;
  background-color: black;
  position: fixed;
}

#header-top-container{
  width: 100%;
  border-bottom: 1.5px solid #ff6602;
}

#header-top{
  max-width: 1200px;
  height: auto;
  margin: auto;
  padding: 10px 50px;
  box-sizing: border-box;
  width: 100%;
  text-align: right;
  text-align: -webkit-right;
  text-align: -ms-right;
  text-align: -moz-right;
  text-align: -o-right;
}

.header-contact-obj{
  display: table-cell;
  vertical-align: middle;
  color: #ccc;
}

.header-contact-obj:first-of-type{
  padding: 0 12px 0 0;
}

.header-contact-obj:last-of-type{
  padding: 0 15px 0 0;
}

.header-contact-obj .ion {
  font-size: 25px;
}

.header-contact-obj a{
  text-decoration: none;
  color: inherit;
  font-family: "Open Sans"
}

#header-content{
  max-width: 1200px;
  height: 60px;
  margin: auto;
  padding: 10px 50px;
  box-sizing: border-box;
  display: table;
  width: 100%;
}

#header-content img{
  height: 100%;
}

.header-name{
  max-width: 650px;
  display: table-cell;
  font-family: "Open Sans";
}

.header-name a{
  text-decoration: none;
}

.header-name .one{
  display: inline-block;
  color: #ff6602;
}

.header-name .two{
  display: inline-block;
  font-size: 24px;
  color: white;
}

nav{
  width: auto;
  text-align: right;
  display: table-cell;
  vertical-align: middle;
}

nav ul {
  list-style: none;
}

nav ul li{
  display: inline-block;
  position: relative;
  cursor: pointer;
}

nav ul li a{
  display: block;
  padding: 5px 15px;
  text-decoration: none;
  font-family: 'Arial';
  font-weight: bold;
  color: #ccc;
  -moz-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
  -moz-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  -webkit-transition: all .2s ease-out;
  transition: all .2s ease-out;
}
nav ul li a:hover {
  color: #777;
}

/*----- Homepage start -----*/

#home{
  height: auto;
  width: 100%;
}

.home-bg{
  height: 80vh;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.4)), url(images/sliding-gates.jpg);
  background-size: cover;
  background-position: top;
  z-index: -99;
  position: absolute;
  top: 0;
}

#home-spacer{
  height: 80vh;
  width: 0;
}

.home-content{
  height: auto;
  width: 100%;
}

.intro{
  max-width: 1200px;
  margin: auto;
  padding: 25px;
}

.home-text{
  max-width: 1200px;
  margin: auto;
  padding: 25px;
}

.home-text .bullet{
  font-size: 18px;
  color: #ff6602;
}

/*----- Homepage end -----*/

/*----- Services start ------*/

#services{
  height: auto;
  width: 100%;
}

.generic-bg{
  height: 60vh;
  width: 100%;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  z-index: -99;
  position: absolute;
  top: 0;
}

.automation-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/automation.jpg);
  background-position: center;
}

.security-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/security.jpg);
  background-position: right;
}

#services-spacer{
  height: 60vh;
  width: 0;
}

.services-content{
  height: auto;
  width: 100%;
}

.services{
  max-width: 1200px;
  margin: auto;
  padding: 30px;
}

.services h2{
  color: #333;
}

.services h4{
  color: #ff6602;
}

.services a{
  color: #ff6602;
}

.legislation{
  color: #ff6602;
}

.sliding-gates-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/sliding-gates.jpg);
  background-position: center;
}

.underground-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/underground-automations.jpg);
  background-position: bottom;
}

.above-ground-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/above-ground-automations.jpg);
  background-position: bottom;
}

.garage-doors-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/garage-doors.jpg);
  background-position: bottom;
}

.services img{
  width: 100%;
  max-width: 400px;
}

.swing-images{
  display: inline-block;
  text-align: center;
  text-align: -webkit-center;
  text-align: -ms-center;
  text-align: -moz-center;
  text-align: -o-center;
  margin-left: 20px;
}

.swing-images:first-of-type{
  margin: 0;
}

.swing-images img{
  width: 250px;
}

.swing-images{
  font-family: 'Open Sans';
}

/*----- Services end -----*/


/*----- Contact start -----*/

#contact{
  height: auto;
  width: 100%;
}

.contact-bg{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/contact-avensys-security.jpg);
  background-position: center;
}

#contact-spacer{
  height: 60vh;
  width: 0;
}

.contact-content{
  height: auto;
  width: 100%;
}

.contact-content-inner{
  max-width: 1000px;
  margin: auto;
}

#contact p, #contact a {
  font-size: 16px;
  color: #8b8b8c;
  text-decoration: none;
}

#contact a:hover{
  cursor: pointer;
  color: rgb(100, 100, 100);
}

.contact{
  padding: 25px;
  text-align: center;
  text-align: -webkit-center;
  text-align: -ms-center;
  text-align: -moz-center;
  text-align: -o-center;
}

.contact h1{
  font-size: 32px;
}

.contact h2{
  font-size: 26px;
}

.contact-obj{
  display: table-cell;
  padding: 0 12px 0 0;
  vertical-align: middle;
}

.ion{
  font-size: 25px;
  color: #ff6602;
}

/*----- Contact end -----*/

#call-to-action{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/contact-bar-bg.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: auto;
}

#call-to-action a{
  text-decoration: none;
}


#call-to-action-content{
  max-width: 800px;
  height: auto;
  margin: auto;
  padding: 40px;
}

#call-to-action-content h1{
  color: white;
  font-family: 'Open Sans';
  font-size: 36px;
  float: left;
}

#contact-btn{
  width: 250px;
  height: 60px;
  background-color: #020202;
  float: right;
  border-radius: 8px;
}

#contact-button{
  padding: 10px;
  font-family: "Open Sans";
  font-size: 25px;
  text-align: center;
  text-align: -webkit-center;
  text-align: -ms-center;
  text-align: -moz-center;
  text-align: -o-center;
  color: white;
}

#contact-btn:hover{
  background-color: #161616
}

footer{
  background-color: #ff6602;
  width: 100%;
  height: auto;
  position: relative;
  font-family: 'Roboto';
  color: white;
  border-top: 1px solid #6C5E60;
  padding: 15px;
  box-sizing: border-box;
}

footer a{
  text-decoration: none;
  color: white;
  font-weight: bolder;
}

footer p{
  font-size: 14.5px;
  color: white;
}

.footer-container{
  max-width: 1200px;
  margin: auto;
}

footer .left{
  float: left;
  width: auto;
  height: auto;
}

footer .right{
  float: right;
  width: auto;
  height: auto;
}
