body{
  font: 15px/1.5 Arial, Helvetica, sans-serif;
  padding:0;
  margin:0;
  background-color:#f4f4f4;
}

/* Global */
.container{
  width:80%;
  margin:auto;
  overflow:hidden;
}

ul{
  padding:0;
  margin:0;
  list-style:none;
  /*It will set the margin and padding of all unordered list to 0 by default.*/
}

.button_1{
  height:30px;
  border:none;
  padding-left:20px;
  padding-right:20px;
}

.dark{
    padding:15px;
    background:#354248;
    color:#ffffff;
    margin-top:10px;
    margin-bottom:10px;
}

 button[type="Submit"]{
  background-color:#35424a;
  color:gray;
  border:1px gray solid;
  margin-left:10px;
}

 button[type="Submit"]:hover{
  background-color:gray;
  color:white;
}

/* Header */
header{
  background-color:#35424a;
  color:#ffffff;
  padding-top:30px;
  min-height:70px;
  border-bottom:#e8491d 3px solid;
}


header a{
  color:#ffffff;
  text-decoration:none;
  text-transform:uppercase;
  font-size:16px;
}


header li{
  float:left;
  display: inline;
  padding: 0 20px 0 20px;
}

header #branding{
  /*This will help in making the nav elements in the line of logo.*/
  float:left;
}

header #branding h1{
  margin:0;
}

header nav{
  float:right;
  margin-top:10px;
}

header .highlight, header .current a{
  color:#e8491d;
  font-weight:bold;
}

header a:hover{
  color:#cccccc;
  font-weight:bold;
}


/* Showcase*/
#showcase{
  min-height: 450px;
  /*Now as we are on the CSS folder therefore to access an image that is present inside the image folder we need to use ../ */
  background: url("../images/showcase_image.jpg") no-repeat  0 -200px fixed;
  text-align:center;/*In order to align the text in center.*/
  color:#35424a;
}

#showcase h1{
  margin-top:100px;
  font-size:55px;
  margin-bottom:10px;
}

#showcase p{
  font-size:20px;
}

/*NewsLetter Area*/
#newsletter{
  padding:15px;
  color:#ffffff;
  background:#35424a
}

#newsletter h1{
  float:left;
}

#newsletter form{
  float:right;
  margin-top:17px;
}

#newsletter input[type="email"]{
  padding:4px;
  height:20px;
  width:250px;
  border:none;
  border-bottom:2px white solid;
  background-color:#35424a;
}

/*Logo Section*/
#boxes{
  margin-top:20px;
  background:white;
}

#boxes .box{
  float:left;
  text-align:center;
  width:30%;
  padding:10px;
}

#boxes .box img{
  width:90px;
}

/* Side-Bar */
aside#sidebar{
  float:right;
  width:30%;
  margin-top:10px;
}

#sidebar .dark h3{
  margin:auto;
  display:block;
  background:35424a;
  width:110px;
  border-bottom: 2px white solid;
}

aside#sidebar .quote input, aside#sidebar .quote textarea{
  width:90%;
  padding:5px;
}

/* Main-col */
article#main-col{
  float:left;
  width:65%;
}

/* Services */
ul#services li{
  list-style:none;
  padding:20px;
  border:#cccccc solid 1px;
  margin-bottom:5px;
  background:#e6e6e6;
}

/* Footer */
footer{
  padding:20px;
  margin-top:20px;
  color:#ffffff;
  background:#e8491d;
}

footer .icon{
  float:right;
  margin:5px;
  display:inline-block;
  width:40px;
  height:40px;
  color:white;
  border: 1px #e8491d solid;
  border-radius:15px;
  text-align:center;
  /*The value of line-height must be equal to the width and height of block to encentered the icons.*/
  line-height:40px;
  font-size:25px;
}

footer #a{
  background-color:#007ee5;
}

footer #b{
  background-color:#1ab7ea;
}

footer #c{
  background-color:#0077b5;
}

footer #d{
  background-color:#34465d;
}

footer .icon:hover i{
  transform:scale(1.2);
}

footer #a:hover{
  background-color:#3b5999;
}

footer #b:hover{
  background-color:#0084ff;
}

footer #c:hover{
  background-color:#517fa4;
}

footer #d:hover{
  background-color:black;
}


/*Media Queries*/
@media(max-width: 768px){
  header #branding,
  header nav,
  header nav li,
  #newsletter h1,
  #newsletter form,
  #boxes .box,
  article#main-col,
  aside#sidebar{
    float:none;
    text-align:center;
    width:100%;
  }

  header{
    padding-bottom:20px;
  }

  #showcase h1{
    margin-top:40px;
  }

  #newsletter button, .quote button{
    display:block;
    width:100%;
  }

  #newsletter form input[type="email"], .quote input, .quote textarea{
    width:100%;
    margin-bottom:5px;
  }
}
