html.promo-modal-active,
body.promo-modal-active {
  overflow: hidden;
}

#btn-promo-modal-toggle {
  display: none;
}

body[data-page-id="13073"] #btn-promo-modal-toggle {
  display: block;
}

#promo-modal-container {
  display: none;
  z-index: 1001;
}

.sliding-modal-container {
  position: fixed;
  display: table !important;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  transform: scale(0);
  z-index: 1;
}

.sliding-modal-container .btn-action {
  padding: 10px 16px;
  background: #0D6EB7;
  color: #fff;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.sliding-modal-container .btn-action:hover,
.sliding-modal-container .btn-action:active,
.sliding-modal-container .btn-action:focus {
  background: #0b5a95;
  text-decoration: none;
}

.sliding-modal-container.slide-in-right {
  transform: scale(1);
}

.sliding-modal-container.slide-in-right .modal-background {
  background: rgba(0, 0, 0, 0);
  animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.sliding-modal-container.slide-in-right .modal-background .modal {
  transform: translateX(-1500px);
  /*animation: roadRunnerIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;*/
  animation: roadRunnerIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.sliding-modal-container.slide-in-right.out {
  /*animation: quickScaleDown 0s .5s linear forwards;*/
  animation: quickScaleDown 0s 1s linear forwards;
}

.sliding-modal-container.slide-in-right.out .modal-background {
  /*animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;*/
  animation: fadeOut 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.sliding-modal-container.slide-in-right.out .modal-background .modal {
  /*animation: roadRunnerOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;*/
  animation: roadRunnerOut 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.sliding-modal-container .modal-background {
  display: table-cell;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  vertical-align: middle;
}

.sliding-modal-container .modal-background .modal {
  position: relative;
  background: white;
  padding: 40px 25px 25px;
  display: inline-block;
  border-radius: 3px;
  font-weight: 300;
  border: 10px solid #D9F6FD;
  max-width: 85%;
}

.sliding-modal-container .modal .close,
.sliding-modal-container .modal .close:visited {
  color: #fff;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 28px;
  font-weight: bold;
  padding: 5px 9px;
  background: #333;
  opacity:1;
  cursor: pointer;
}

.sliding-modal-container .modal .close:hover,
.sliding-modal-container .modal .close:focus,
.sliding-modal-container .modal .close:active {
  background: #0D6EB7;

}

.sliding-modal-container .modal-background .modal h2 {
  font-size: 25px;
  line-height: 25px;
  margin-bottom: 15px;
}

.sliding-modal-container .modal-background .modal p {
  font-size: 18px;
  line-height: 22px;
}

.sliding-modal-container .modal-background .modal img {
  vertical-align: top;
  display: block;
  margin-bottom: 20px;
  max-width: 300px;
  width: 100%;
  height: auto;
}

.content {
  min-height: 100%;
  height: 100%;
  background: white;
  position: relative;
  z-index: 0;
}

.content h1 {
  padding: 75px 0 30px 0;
  text-align: center;
  font-size: 30px;
  line-height: 30px;
}

#btn-promo-modal-toggle {
  /* display: none; */
  position: fixed;
  /* bottom: 50vh; */
  bottom: calc(50vh + 40px);
  right: 0;
  padding: 10px;
  -moz-transform-origin: calc(100% + 2px) 100%;
  -ms-transform-origin: calc(100% + 2px) 100%;
  -o-transform-origin: calc(100% + 2px) 100%;
  -webkit-transform-origin: calc(100% + 2px) 100%;
  transform-origin: calc(100% + 2px) 100%;
  transform: rotate(-90deg);
  z-index: 99;
  border: none;
  outline: none;
  background-color: #46BAE6;
  color: white;
  cursor: pointer;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  font-size: 1em;
}

#btn-promo-modal-toggle:hover,
#btn-promo-modal-toggle:focus {
  background-color: #3a9cc0;
  text-decoration: none;
}

body.promo-modal-active #btn-promo-modal-toggle {
  display: none;
}

@keyframes fadeIn {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  100% {
    background: rgba(0, 0, 0, 0.7);
  }
}

@keyframes fadeOut {
  0% {
    background: rgba(0, 0, 0, 0.7);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
}

@keyframes quickScaleDown {
  0% {
    transform: scale(1);
  }
  99.9% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes roadRunnerIn {
  0% {
    transform: translateX(-1500px) skewX(30deg) scaleX(1.3);
  }
  70% {
    transform: translateX(30px) skewX(0deg) scaleX(0.9);
  }
  100% {
    transform: translateX(0px) skewX(0deg) scaleX(1);
  }
}

@keyframes roadRunnerOut {
  0% {
    transform: translateX(0px) skewX(0deg) scaleX(1);
  }
  30% {
    transform: translateX(-30px) skewX(-5deg) scaleX(0.9);
  }
  100% {
    transform: translateX(1500px) skewX(30deg) scaleX(1.3);
  }
}
