body {
  padding-top: 20px;
}

.footer {
  padding-top: 40px;
  padding-bottom: 60px;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  background-color: transparent;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Customize the nav-justified links to be fill the entire space of the .navbar */
.justified {
	max-width:153.5px;
	height:153.5px;
	margin:5px;
}

.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #ddd;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.15);

}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

@media (min-width: 768px) {
  .justified {
    height: 154px;
  }
  .justified > a {
    border-right: 1px solid #d5d5d5;
    border-left: 1px solid #fff;
  }
  .justified > li:first-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .justified > li:last-child > a {
    border-right: 0;
    border-radius: 0 5px 5px 0;
  }
}
	.ug {
		background-image: url('../buttons/button_ug.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		max-width: 154px!important;
  		margin-left:-1px!important;
  		color:none;
  		}
  	.ug:hover, .ug.active  {
		background-image: url('../buttons/button_ug_hover.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		max-width: 154px!important;
  		margin-left:-1px!important;
  		color:none;
  		}
  	 .gd {
		background-image: url('../buttons/button_gd.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
  	.gd:hover, .gd.active  {
		background-image: url('../buttons/button_gd_hover.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
	.sd {
		background-image: url('../buttons/button_sd.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
  	.sd:hover, .sd.active  {
		background-image: url('../buttons/button_sd_hover.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
  	.pd {
		background-image: url('../buttons/button_pd.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
  	.pd:hover, .pd.active  {
		background-image: url('../buttons/button_pd_hover.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
  	.gl {
		background-image: url('../buttons/button_gl.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		}
  	.gl:hover, .gl.active  {
		background-image: url('../buttons/button_gl_hover.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		color:none;
  		}
  	.az {
		background-image: url('../buttons/button_az.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		max-width: 154px!important;
  		margin-right:-1px!important;
  		color:none;
  		}
  	.az:hover, .az.active  {
		background-image: url('../buttons/button_az_hover.jpg'); no-repeat center center fixed;
		-webkit-background-size: cover;
  		-moz-background-size: cover;
  		-o-background-size: cover;
  		background-size: cover;
  		max-width: 154px!important;
  		margin-right:-1px!important;
  		color:none;
  		}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .justified {
		max-width:117px;
		height:117px;
		margin:5px;
	}
	.az, .az:hover, .az.active{
		max-width: 117px!important;
  		margin-right:-1px!important;
  		color:none;
  		}
	.ug, .ug:hover, .ug.active{
		max-width: 117px!important;
  		margin-left:-1px!important;
  		color:none;
  		}
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 992px) {
  /* Remove the padding we set earlier */
  .masthead {
  	padding-right: 0px;
    padding-left: 0px;
  }
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
}
