body {
  padding-top: 20px;
}

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  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 */

.nav-justified {
  background: url(/assets/images/head.jpg) #FC8129 no-repeat;
  background-size:cover;
  border: 0!important;
    -webkit-box-shadow: 2px 11px 33px -19px rgba(0,0,0,1);
    -moz-box-shadow: 2px 11px 33px -19px rgba(0,0,0,1);
    box-shadow: 2px 11px 33px -19px rgba(0,0,0,1);
}
.nav-justified > li > a {
  margin-bottom: 0;
  font-weight: bold;
  color: #ffffff!important;
  text-align: center;
  border-bottom: thin solid #4B1212;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  color: #f0f0f0!important;
}

.nav>li>a:focus, .nav>li>a:hover {
  color: #f0f0f0!important;
  background: rgba(0,0,0,0)!important; /* Old browsers */
    border-right: thin solid #FF7F27!important;
    border-left: thin solid #FF7F27!important;
}

.rest {
    margin-top: 25px;margin-right: 50px;float:right;position:relative; width: 80%;
}

@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-right: thin solid #E7B22A;
    border-left: thin solid #E7B22A;
  }
  .nav-justified > li > a:hover {
    border-right: thin solid #E7B22A;
    border-left: thin solid #E7B22A;
  }
  .nav-justified > li:first-child > a {
    border-right: thin solid #E7B22A!important;
  }
  .nav-justified > li:last-child > a {
    border-left: thin solid #E7B22A!important;
  }


}

@media screen and (max-width: 768px){
    .adress {
    float: none;
    margin-right: 0;
    width: 100%;
    top: auto;
    left: auto;
    margin-top: 2px;
    position:relative;
    font-weight: 700;
    text-shadow: 2px 2px 2px #ffffff;
}

  .nav-justified>li {
    float: left!important;
    width: 100%;
}
.rest {
    margin-right: 0;
    margin-top: 0;
    width: 100%;
    float: none;
}

.adress img {
    display: none;
}

}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
}