body{
  background-color: white;
  color:dimgrey;
  font-family:verdana, arial, helvetica, sans-serif;
  font-size:16px;
  line-height: 1.4em;
  margin:auto;
  text-align:left;

}


.container{
  text-align:left;
  width:80%;
  margin:auto;
  overflow:hidden;
}

.links{
  text-align:center;
  width:66.7%;
  margin:auto;
  overflow:hidden;
}


#main-block{
  text-align:center;
  height:333px;
  background-color:white;
  color:darkslategrey;
  margin-top:20px;
}

.sidebar-contact-info{
  border-radius:6px;
  width:30%;
  background-color:royalblue;
  color:#fff;
  padding:13px;
  padding-right:5px;
  padding-bottom:35px;
  font-weight:400;
  margin-bottom:20px;
}
.sidebar-contact-info h3{
  margin:10px 20px 10px 0px;;
}
.sidebar-contact-info a{
  margin-left:20px;
}
.button{
  background-color:white;
  text-decoration:none;
  color:black;
  font-family:verdana, arial, helvetica, sans-serif;
  font-weight: 600;
  padding:10px;
  border-radius: 4px;
}

.button:hover{
  background-color:silver;
  transition:background-color 0.3s ease-in-out;
}
.clr{
  clear:both;
}

#main-footer{
  background-color:dimgrey;
  color:white;
  width:100%;
  text-align:center;
  height:75px;
  padding:10px 0px;
  border-top:solid;
  border-top-width:20px;
  border-top-color:royalblue;
}

/* below is the code applicable to the building design page*/

#main-block-design{
  text-align:center;
  height:1000px;
  background-color:white;
  color:darkslategrey;
  margin-top:20px;
  width:90%;
  margin:auto;
}
.p-1{
  text-align:center;
  width:100%;
  margin:3px 0px;;
  overflow:hidden;
}
.p-2{
  text-align:center;
  width:90%;
  margin:8px 0px 8px 45px;
  overflow:hidden;
}
.container-design{
  text-align:center;
  width:50%;
  margin:auto;
  padding-bottom:20px;
  overflow:hidden;
}
.button2{
  background-color:royalblue;
  color:white;
  text-decoration:none;
  text-align:center;
  font-weight: 600;
  border-style:solid;
  border-radius: 4px;
  border-width:2px;
  border-color:royalblue;
  padding:10px;
  overflow:hidden;

}

.container-design a:hover{
  color:silver;
  background-color:dimgrey;
  transition:background-color 0.3s ease-in-out;
  transition:color 0.3s ease-in-out;
  border-color: dimgrey;

}

/* below is the code applicable to the About Us page*/

.p-3{
  text-align:left;

}
.container-about{
  text-align:center;
  width:40%;
  margin:auto;
  padding-bottom:20px;
  overflow:hidden;
  border-style: solid;
  border-width: 3px;
  border-color:royalblue;
  border-radius:4px;
}
#main-block-about{
  text-align:center;
  height:800px;
  background-color:white;
  color:darkslategrey;
  margin-top:20px;
  width:60%;
  margin:auto;
}
#states{
  list-style:none;
  display:inline;
  text-align:center;
  width:100%;
  margin:0;
  overflow:hidden;
  line-height: 1.6em;
}
#states a{
    margin-left:0%;
    width:50%;
}
#states li{
    margin-left:35%;
}
.state-button{
  text-decoration:none;
  color:darkslategrey;
  font-weight:bolder;
  background-color:white;
  border:solid;
  border-width:2px;
  border-color:royalblue;
  border-radius: 4px;
  display:block;
  margin: 10px 750px 10px 750px;
  padding: 10px 0px;
}
.state-button:hover{
  color:dimgrey;
  background-color: whitesmoke;
  transition:background-color 0.3s ease-in-out;
  transition:color 0.3s ease-in-out;
}

/* Below is the code applicable to the projects page */

#main-block-projects{
  text-align:center;
  height:250px;
  background-color:white;
  color:darkslategrey;
  margin-top:20px;
  width:60%;
  margin:auto;
}

.projects{
  margin-top: 20px;
  padding-top:20px;
}
.projects hr{
  text-align: center;
  width:40%;
}

.projects h2{
  text-align: center;
  color:darkslategrey;
}

#project1{
  float:left;
  text-align: center;
  width:25%;
  margin:0px 10px 10px 410px;
  padding:10px 10px 10px 10px;
  overflow:hidden;
}

#project2{
  float:right;
  text-align: center;
  width:25%;
  margin:0px 410px 10px 0px;
  padding:10px 10px 10px 10px;
  overflow:hidden;
}

#project3{
  float:left;
  text-align: center;
  width:25%;
  margin:0px 10px 10px 410px;
  padding:10px 10px 10px 10px;
  overflow:hidden;
}

#project4{
  float:right;
  text-align: center;
  width:25%;
  margin:0px 410px 10px 0px;
  padding:10px 10px 10px 10px;
  overflow:hidden;
}

#project5{
  float:left;
  text-align: center;
  width:25%;
  margin:0px 10px 10px 410px;
  padding:10px 10px 10px 10px;

  overflow:hidden;
}

#project6{
  float:right;
  text-align: center;
  width:25%;
  margin:0px 410px 10px 0px;
  padding:10px 10px 10px 10px;
  overflow:hidden;
}

/* code applicable for SERVICES */

#main-block-services{
  text-align:center;
  height:250px;
  background-color:white;
  color:darkslategrey;
  width:60%;
  margin:auto;
}

.service-list{
  margin: 0px 0px 0px 600px;
  font-family:verdana, arial, helvetica, sans-serif;
  font-size: 22px;
  line-height: 3.0 em;
  color:darkslategrey;
}

.service-list li{
  padding: 10px 10px 10px 10px;
}

.commercial{
  float:left;
  margin: 0px 0px 0px 400px;
  padding: 10px 10px 10px 10px;
  border:solid;
  border-width: 3px;
}

#commercial-text{
  float:left;
  width:45%;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
  overflow:hidden;
  box-sizing:border-box;
}

#commercial-pic{
  float:right;
  width:45%;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;

  overflow:hidden;
  box-sizing:border-box;

}

.residential{
  float:left;
  margin: 0px 0px 0px 400px;
  padding: 10px 10px 10px 10px;
  border:solid;
  border-width: 3px;
}

#residential-text{
  float:right;
  width:45%;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
  overflow:hidden;
  box-sizing:border-box;
}

#residential-pic{
  float:left;
  width:45%;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
  color:darkslategrey;
  overflow:hidden;
  box-sizing:border-box;

}

.steel{
  float:left;
  margin: 0px 0px 20px 400px;
  padding: 10px 10px 10px 10px;
  border:solid;
  border-width: 3px;
}

#steel-text{
  float:left;
  width:25%;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
  overflow:hidden;
  box-sizing:border-box;
}

#steel-pic{
  float:right;
  width:45%;
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
  overflow:hidden;
  box-sizing: border-box;

}
  @media only screen and (max-width: 800px){
    .container{
      width:80%;
      margin:auto;
      text-align: center;
    }
    #main-block-services{
      width:95%;
    }
  }
