body {
  margin: 0;
  font-family: DIN-Regular, Helvetica, Arial, sans-serif;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

.nowrap {
  white-space: nowrap;
}

/* Initially hide all ng-cloak elements.
   Prevents a flash before angular parses the page. */
*[ng-cloak] {
  display: none;
}

.container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  transition-delay: 0;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
@media (min-width: 1300px) {
.container {
    width: 92%;
}
}

/* The header section */
.header {
  font-family: DIN-Medium, DIN-Regular, Helvetica, Arial, sans-serif;
  font-size: 16px;
  left: 0;
  padding: 16px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
}

.shadow_nav {
  position: absolute;
  pointer-events: none;
  height: 72px;
  top: 0;
  left: 0;
  width: 100%;
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); /*Safari 5.1-6, Chrome 10+*/
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); /*Opera 12*/
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); /*Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+*/
}

.header .logo {
  display: inline-block;
  height: 64px;
  width: 64px;
  transition-duration: .5s;
}
.header .logo img {
  height: 100%;
  width: 100%;
}
.header .navbar {
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.4);
  float: right;
  height: 64px;
  line-height: 64px;
  vertical-align: middle;
  transition-duration: .5s;
}
.header .navbar .nav-item {
  padding: 12px;
}
.header .navbar a {
  color: #FFF;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  line-height: 16px;
  margin-top: 5px;
}
.header .navbar a:hover {
  opacity: 0.8
}

/* white pages always have a background. */
.white-page .header {
  background-color: rgba(0, 0, 0, 0.8);
}

.scroll_down {
  position: fixed;
  bottom: 20px;
  left: 50%;
  margin-left: -22px;
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.scroll_down img {
  width: 45px;
  height: 49px;
}
.header.scrolled .scroll_down {
  display: none;
}

/* After scroll */
.header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
}
.header.scrolled .logo {
  height: 40px;
  width: 40px;
}
.header.scrolled .navbar {
  height: 40px;
  line-height: 40px;
}

/* Mobile header styles */
.hamburger {
  display: none;
  border-radius: 4px;
  padding: 9px 10px;
  transition-duration: .5s;
  float: right;
}
.hamburger .pattie {
  background-color: #FFF;
  border-radius: 1px;
  display: block;
  height: 2px;
  margin-top:4px;
  width: 22px;
}
@media (max-width: 600px) {
  .hamburger {
    display: inline-block;
  }
  .header {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .header .logo {
    height: 40px;
    width: 40px;
  }
  .header .navbar {
    /* The nav items are hidden by default but shown if the open class exists. */
    display: none;
    text-align: center;
    height: 40px;
    line-height: 40px;
  }
  .header .navbar.open {
    display: block;
    margin-top: 10px;
  }
  .header .navbar,
  .header.scrolled .navbar {
    float: none;
    height: initial;
    line-height: initial;
  }

  .header .navbar .nav-item {
    display: block;
  }
}

/* The footer section */
.footer {
  background-color: rgba(51, 51, 51, 1);
  color: #999;
  font-size: 14px;
  height: 130px;
  position: relative;
}
.light .footer {
  background-color: #FFFFFF;
}

.footer .container {
  height: 100%;
}

.footer .navbar a {
  color: inherit;
  text-decoration: none;
}

.footer .navbar .nav-item {
  cursor: pointer;
  display: inline-block;
  padding: 20px;
}

.footer .bottom {
  bottom: 18px;
  right: 0;
  left: 0;
  position: absolute;
}

.footer .copyright {
  margin: 10px 20px;
  font-size: 12px;
}

.footer .copyright a {
  text-decoration: none;
  color: inherit;
}

.footer .copyright .lawyer {
  display: inline;
  margin: 0 20px;
}

.footer .social {
  color: #ccc;
  position: absolute;
  right: 8px;
  bottom: 8px;
  vertical-align: middle;
}
.footer .social span {
  display: inline-block;
  padding: 8px;
  vertical-align: middle;
}
.footer .social a.nav-item {
  cursor: pointer;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
  padding: 10px;
}
.footer .social .nav-item img {
  max-height: 30px;
  max-width: 30px;
}

@media (max-width: 600px) {
  .footer {
    height: 135px;
  }
  .footer .navbar {
    text-align: center;
  }
  .footer .social {
    position: static;
    text-align: center;
  }
  .footer .copyright {
    text-align: center;
    font-size: 10px
  }
}
/* Common text styles */
.overlay.text {
  color: white;
  width: 40%;
  min-width: 350px;
  position: absolute;
  top: 0px;
  text-align: left;
}
