/* Pieces Materialize 2.4 no longer ships, still used by these pages. */

nav {
  color: #fff;
  background-color: #ee6e73;
  width: 100%;
  height: 64px;
  line-height: 64px;
}

nav .nav-wrapper {
  position: relative;
  height: 100%;
}

nav a,
nav ul a {
  color: #fff;
}

nav i.material-icons {
  display: block;
  font-size: 24px;
  height: 64px;
  line-height: 64px;
}

nav .sidenav-trigger {
  float: left;
  position: relative;
  z-index: 1;
  height: 64px;
  margin: 0 18px;
}

@media only screen and (min-width: 993px) {
  nav .sidenav-trigger {
    display: none;
  }
}

nav .brand-logo {
  position: absolute;
  color: #fff;
  display: inline-block;
  font-size: 2.1rem;
  padding: 0;
  white-space: nowrap;
}

nav ul {
  margin: 0;
}

nav ul.right {
  float: right;
}

nav ul li {
  float: left;
  padding: 0;
  list-style: none;
}

nav ul a {
  display: block;
  padding: 0 15px;
  cursor: pointer;
}

.navbar-fixed {
  height: 64px;
}

.navbar-fixed nav {
  position: fixed;
}

.parallax-container {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.parallax-container .parallax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.parallax-container .parallax img {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateX(-50%);
}

.waves-effect {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  z-index: 1;
}

.waves-effect .waves-ripple {
  position: absolute;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.7s ease-out, opacity 0.7s ease-out;
  transform: scale(0);
  pointer-events: none;
  z-index: -1;
}

.waves-effect.waves-light .waves-ripple {
  background-color: rgba(255, 255, 255, 0.45);
}

.waves-effect.waves-green .waves-ripple {
  background-color: rgba(76, 175, 80, 0.7);
}

.btn-flat {
  border: none;
  border-radius: 2px;
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  text-transform: uppercase;
  vertical-align: middle;
  box-shadow: none;
  background-color: transparent;
  color: #343434;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  background-color: #fafafa;
  padding: 0;
  max-height: 70%;
  width: 55%;
  margin: auto;
  overflow-y: auto;
  border-radius: 2px;
  z-index: 1003;
  top: 10%;
}

.modal.open {
  display: block;
}

.modal:focus {
  outline: none;
}

@media only screen and (max-width: 992px) {
  .modal {
    width: 80%;
  }
}

.modal h1, .modal h2, .modal h3, .modal h4 {
  margin-top: 0;
}

.modal .modal-content {
  padding: 24px;
}

.modal .modal-close {
  cursor: pointer;
}

.modal .modal-footer {
  border-radius: 0 0 2px 2px;
  background-color: #fafafa;
  padding: 4px 6px;
  height: 56px;
  width: 100%;
  text-align: right;
}

.modal .modal-footer .btn,
.modal .modal-footer .btn-large,
.modal .modal-footer .btn-flat {
  margin: 6px 0;
}

.modal-overlay {
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
  display: none;
  opacity: 0.5;
}

.modal-overlay.open {
  display: block;
}
