#stone-age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding:0 12% 0 12%;
  background: rgba(22,22,22,0.95);
  z-index: 1500;
  overflow-y: auto;
  overflow-x: hidden;
}
.front #stone-age-gate {
  background: url('/sites/all/themes/ab_theme/img/bg-age-gate.jpg') center center;
  background-size: cover;
}
#stone-age-gate #age-gate-logo {
  opacity: 0.62;
  width:100%;
  max-width: 400px;
  display: block;
  margin: 35px auto;
}
#stone-age-gate .age-gate-left {
  text-align: center;
  opacity: 0;
  height: 100%;
  margin:0 auto;
  padding-left: 0;
  padding-right: 0;
  min-height: 600px;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
#stone-age-gate.visible .age-gate-left {
  opacity: 1;
}
#stone-age-gate.slideRight .age-gate-left {
  -moz-transform: translateX(-150%);
  -webkit-transform: translateX(-150%);
  -o-transform: translateX(-150%);
  -ms-transform: translateX(-150%);
  transform: translateX(-150%);
}

#age-gate-form {
  padding: 0;
}
#stone-age-gate .age-gate-left .errors-container {
  color: #C81B26;
  font-size: 0.857em;
  font-weight: bold;
}

#stone-age-gate .age-gate-left h2 {
  font-size: 40px;
  color: #bb1d23;
}
#stone-age-gate .age-gate-left .errors-container p:last-child {
  margin-bottom: 20px;
}
#stone-age-gate .age-gate-left label {
  color: #e8e8e8;
  color: rgba(250,250,250,0.62);
  font-size: 1.143em;
  padding-bottom: 20px;
}
#stone-age-gate .age-gate-left input[type="text"],
#stone-age-gate .age-gate-left input[type="submit"]{
  height:50px;
  border-radius: 0;
  margin: 0 2px;
  font-size: 1.143em;
  text-align: center
}

#stone-age-gate .age-gate-left input.month {
  width: 4em;
}
#stone-age-gate .age-gate-left input.year {
  width: 6em;
}
#stone-age-gate .age-gate-left input[type="submit"]{
  position:relative;
  width: 70px;
  text-indent: -9999px;
  outline:none;
  z-index: 1;
}
#stone-age-gate .age-gate-left input.mobile{
  width:85px;
  text-indent: 0;
  text-transform: uppercase;
}

#stone-age-gate .age-gate-left .form-control{
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

#stone-age-gate .age-gate-left .submit-wrapper{
  position:relative;
  display: inline-block;
  height:50px;
  padding:0;
  background-color: transparent;
  border:0;
}
#stone-age-gate .age-gate-left .submit-wrapper .icon-arrow-right{
  position:absolute;
  top:28%;
  left:23%;
  z-index: 0;
  opacity:0.35;
  -webkit-transition:all 0.6s ease;
  transition:all 0.6s ease;
}
#stone-age-gate.invalid-date .desktop-submit,
#stone-age-gate.invalid-date .submit-wrapper .icon-arrow-right{
  color: rgba(200,27,38,1);
  border-color: rgba(200,27,38,0.35);
}
#stone-age-gate.invalid-date input.month,
#stone-age-gate.invalid-date input.year{
  background-color: rgba(200,27,38,0.35);
}

#stone-age-gate.valid-date .desktop-submit,
#stone-age-gate.valid-date .submit-wrapper .icon-arrow-right{
  color: rgba(0,165,81,1);
  border-color: rgba(0,165,81,0.35);
}

#stone-age-gate.valid-date .desktop-submit:hover,
#stone-age-gate.valid-date .submit-wrapper:hover .icon-arrow-right{
  color: #00a551;
  border-color: #00a551;
  opacity: 1;
}

#stone-age-gate.valid-date input.month,
#stone-age-gate.valid-date input.year{
  background-color: rgba(0,165,81,0.35);
}

#stone-age-gate .age-gate-left .remember {
  padding: 15px 0;
}
#stone-age-gate .age-gate-left .remember input[type="checkbox"]{
  display: none;
}

#stone-age-gate .age-gate-left .remember label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 25px;
  margin-right: 15px;
  color: rgba(232,232,232,0.35);
  font-size: 1em;
  -webkit-transition: all 350ms ease;
  -moz-transition: all 350ms ease;
  -ms-transition: all 350ms ease;
  -o-transition: all 350ms ease;
  transition: all 350ms ease;
}

#stone-age-gate .age-gate-left .remember input[type="checkbox"]:checked + label{
  color: #bb1d23;
}

#stone-age-gate .age-gate-left .remember input[type="checkbox"] + label i{
  display: none;
  position:absolute;
  left:0;
}

#stone-age-gate .age-gate-left .remember input[type="checkbox"] + label .icon-circle{
  display: inline-block;
  font-size: 15px;

}

#stone-age-gate .age-gate-left .remember input[type="checkbox"]:checked + label .icon-circle{
  display: none;
}
#stone-age-gate .age-gate-left .remember input[type="checkbox"]:checked + label .icon-record{
  display: inline-block;
  color:#461010;
  font-size: 15px;
  margin-left: 4px;
}
#stone-age-gate .age-gate-left .remember input[type="checkbox"]:checked + label .icon-record:before{
  background-color: rgba(165,0,81,1);
  width: 7px;
  height: 7px;
  border-radius: 7px;
  line-height: 8px;
  text-indent: -4px
}


#stone-age-gate .age-gate-left footer {
  position: absolute;
  bottom: 2em;
  width: 100%;
  max-width: 440px;
  margin: auto;
  left: 0;
  right: 0;
  padding-left:0;
  padding-right:0;
  color: rgba(232,232,232,0.26);
  font-size: 0.875em;
}
#stone-age-gate .age-gate-left footer a {
  color: rgba(232,232,232,0.26);
  font-weight: bold;
}
#stone-age-gate .age-gate-left #mobile-form {
  max-width: 300px;
  margin: 0 auto;
}
#stone-age-gate .age-gate-left #mobile-form .col-xs-6 {
  padding-left: 5px;
  padding-right: 5px;
}

#stone-age-gate .age-gate-right {
  padding-left: 0;
  padding-right: 0;
  padding-top: 50px;
  position: absolute !important;
  top: 0;
  text-align: center;
  height: 100%;
  min-height: 600px;
  width: 100%;
  -moz-transform: translateX(88%);
  -webkit-transform: translateX(88%);
  -o-transform: translateX(88%);
  -ms-transform: translateX(88%);
  transform: translateX(88%);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

#stone-age-gate.slideRight .age-gate-right {
  -moz-transform: translateX(-12%);
  -webkit-transform: translateX(-12%);
  -o-transform: translateX(-12%);
  -ms-transform: translateX(-12%);
  transform: translateX(-12%);
}
#stone-age-gate .age-gate-right .view,
#stone-age-gate .age-gate-right .view-content {
  height: 100%;
}
#stone-age-gate .age-gate-right .view-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
#stone-age-gate .age-gate-right .views-row {
  background-color: #333;
  background-color: rgba(23,23,23,0.5);
  background-color: #1a1a1a;
  background-size: cover;
  margin-bottom: 1px;
  padding: 10px 30px;
  text-align: left;
  color: rgba(250,250,250,0.35);
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
#stone-age-gate .age-gate-right .views-row a {
  color: rgba(250,250,250,0.9);
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
#stone-age-gate .age-gate-right .views-row:hover,
#stone-age-gate .age-gate-right .views-row:hover a {
  color: rgba(250,250,250,0.9);
}
#stone-age-gate .age-gate-right .views-row h2 {
  margin: 0;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3em;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#stone-age-gate .age-gate-right .views-row .cta {
  max-height: 0;
  overflow: hidden;
  position: relative;
  padding-top: 0;
  font-weight:500;
  opacity: 0;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#stone-age-gate .age-gate-right .views-row .cta:before {
  content: ' ';
  border-top: 2px solid #838383;
  border-top: 2px solid rgba(250,250,250,0.5);
  width: 30px;
  position: absolute;
  top: 0;
  left: 0;
}
#stone-age-gate .age-gate-right .views-row:hover .cta {
  padding-top: 14px;
  max-height: 100px;
  opacity: 1;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
#stone-age-gate .age-gate-right .age-gate-link-toggle.open {
  position: absolute;
  right:100%;
  top: 0;
  width: 60px;
  height: 100%;
  background: rgba(23,23,23,0.5);
  background: #1a1a1a;
  color:#c0c0c0;
}
#stone-age-gate .age-gate-right .age-gate-link-toggle.open i {
  font-size: 2em;
  position: absolute;
  top: 12px;
  left: 11px;
}
#stone-age-gate .age-gate-right .age-gate-link-toggle.close {
  position: absolute;
  left: 0;
  top: 0;
  height: 49px;
  width: 100%;
  padding: 15px 20px;
  background: rgba(23,23,23,0.5);
  color:#c0c0c0;
  text-align: left;
  opacity: 1;
}

@media (min-width: 768px) {
  #stone-age-gate{
    padding:0;
  }
  #stone-age-gate .age-gate-left {
    padding-right: 0;
  }
  #stone-age-gate .age-gate-right {
    width: 33.333%;
    opacity: 0;
    padding-top: 0;
    -webkit-transition: transform 0.6s ease;
    -moz-transition: transform 0.6s ease;
    -ms-transition: transform 0.6s ease;
    -o-transition: transform 0.6s ease;
    transition: transform 0.6s ease;
  }
  #stone-age-gate.slideRight .age-gate-left,
  #stone-age-gate.slideRight .age-gate-right {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(-0);
    transform: translateX(0);
  }
  #stone-age-gate.visible .age-gate-right {
    position: relative !important;
    left: inherit;
    opacity: 1;
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  #stone-age-gate .age-gate-right .views-row {
    background-color: rgba(23,23,23,0.5);
  }
  #stone-age-gate .age-gate-right .age-gate-link-toggle {
    display: none;
  }
  #stone-age-gate .age-gate-left footer {
    padding-right: 0px;
  }
}

/*  Center form vertically if we have the space */
@media (min-height: 600px) and (min-width: 768px) {
  #stone-age-gate {
    overflow: hidden;
  }
  #stone-age-gate #age-gate-form {
    padding-top: 0;
  }
  #stone-age-gate #age-gate-form {
    position: absolute;
    top: 50%;
    margin-top: -350px;
    left: 50%;
    margin-left: -200px;
    max-width: 400px;
  }
}

#stone-age-gate .age-gate-right,
#stone-age-gate .age-gate-right .age-gate-link-toggle.open {
  display: none !important;
}