html {
  background-color: #ffffff;
}

main {
  display: inline-block;
  width: 100%;
}

#hero-section, #news-hero-section {
  z-index: 1;
}
#hero-background-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background-image: url(../img/RR_keyart.jpg);
  background-color: #555;
  background-position: bottom center;
  background-size: cover;
  height: 0;
  padding-top: 58vw;
  z-index: -1;
}

#hero-section .ubi-element-container {
  padding-top: 22.4vw;
  background-color: transparent;
}

#news-hero-section .ubi-element-container {
  padding-top: 34vw;
  background-color: transparent;
}

#filter-content-container{
  padding-bottom: 10px;
}


img {
  max-width:100%;
}

#news-grid-section {
    position: relative;
    z-index: 2;
    padding-top: 0;
    background-image: url(../img/RR_WhiteBG.png);
    background-position: top center;
    background-size: contain;
    background-repeat: repeat;
    background-color: #00000000;
    position: relative;
    z-index: 2;

}
.section-title {
  position: relative;
  text-align: center;
  /* padding: 10px 30px; */
  /* line-height: 1; */
  width: auto;
  /* max-width: 350px; */
  /* font-style: italic; */
  /* font-weight: 600; */
  margin: auto;
  z-index: 2;
}

#logo-wrap {
  padding-bottom: 4vw;
}

.border-10{
  border-radius: 10px;
}

.height-0{
  height: 0;
}

.padding-77{
  padding-top: 77.7%;
}

.background-cover{
  background-size: cover;
}
#date-wrap{
  padding-bottom: 20px;
}
.section-title.over{

  transition-property: transform;
  transition-duration: .3s;
  transition-timing-function: cubic-bezier(0,.55,.45,1);
}

.section-title.over:hover {
  transform: translate(5%,3%) rotate(-2deg);
}

.page-wrap {
  max-width: 1006px;
  /* min-height: calc(100vh - 34rem); */
  margin: auto;
}

/* Grid */
.grid-item.inner {

  padding: 8px;
  /* background-color: #2c2c2c; */
  /* border-radius: 6px; */
}

.drop-shadow {
  -webkit-filter: drop-shadow(-6px 7px 3px #0000003d);
    filter: drop-shadow(-6px 7px 3px #0000003d);
}


.inner{

  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.inner.mo{
  display: none;
  background-repeat: no-repeat;
}


.over:hover .inner.o {
}

.over:hover .inner.mo {
  display: inline;
  opacity:100%;
}


/* Footer */
.footer-container {
  background-color: #1b1b1b;
  padding: 35px;
}

.footer-wrap {
  max-width: 950px;
  margin: auto;
  text-align: center;
}

.footer-logos-img {
  width: 100%;
  height: auto;
}

.footer-copyright {
  padding-top: 35px;
  display: inline-block;
}



/* animation */

.hs-responsive-embed-youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  width: 90vw;
  max-width: 1200px;
  margin: auto;
}

.hs-responsive-embed-youtube iframe {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
}

/* Animations */
.bouncein{-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation:bounceIn .65s,visibility 1s ease;animation:bounceIn .65s visibility 1s ease;animation-delay: 0.8;}
@-webkit-keyframes bounceIn{
  0%{
    opacity: 0;
    transform: scale(0.3) translate3d(0,0,0);
  }
  50%{
    opacity: 0.9;
    transform: scale(1.1);
  }
  80%{
    opacity: 1;
    transform: scale(0.89);
  }
  100%{
    opacity: 1;
    transform: scale(1) translate3d(0,0,0);
  }
}
@keyframes bounceIn{
  0%{
    opacity: 0;
    transform: scale(0.3) translate3d(0,0,0);
  }
  50%{
    opacity: 0.9;
    transform: scale(1.1);
  }
  80%{
    opacity: 1;
    transform: scale(0.89);
  }
  100%{
    opacity: 1;
    transform: scale(1) translate3d(0,0,0);
  }
}



/* Custom LB */
.lb-close {
    position: absolute;
    right: 12px;
    top: -28px;
    pointer-events: none;
    cursor: pointer;
    height: auto;
    font-size: 28px;
}

img.lb-close {
  position: absolute;
  right: 0;
  top: -11%;
  pointer-events: none;
  width: 14%;
  height: auto;
  max-width: 85px;
}

area {
  cursor: pointer;
}


.map_card_link {
  position: relative;
  display: inline-block
}

.card_link {
  position: relative;
  display: inline-block
}

.card_link .link_img-bot,.card_link .link_img-top {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99
}

.card_link .link_img-top {
  display: none
}

.card_link:hover .link_img-top {
  display: inline
}


.card_link:hover .link_img-bot {
  display: none
}

.ubi-bg-video,.ubi-overlay {
  position: absolute;
  top: 0!important;
  left: 0!important;
  width: 100%!important;
  height: 100%!important
}

.ubi-overlay.ubi-section-overlay {
  pointer-events: none;
  /* background: linear-gradient(180deg,rgba(0,0,0,.15) 72%,#182b35 99%); */
}

.ubi-bg-video {
  -o-object-fit: cover;
  object-fit: cover;
  width: 1920px;
  height: 1088.99px;
  left: 0px;
  top: -4.49536px;
  display: block;
}

.image-ab {
  position: absolute;
}

.image-ab.ontop {
  z-index: 3;
}

.image-ab.onback {
  z-index: 0;
}

img#biker {
  bottom:0;
  left: 0;
}

img#ski {
  bottom:0;
  right: 0;

}

img#snowb {
  bottom: -9%;
    left: -12%;
    width: 23%;
}

img#wingsuit {
  bottom: -29%;
    right: -8%;
    width: 23%;
}


/* =========================================================================
                                    RESPONSIVE
   ========================================================================= */


   @media (max-width: 1593px) {
      #hero-background-image {
        padding-top: 69vw;
      }
      img#biker {
        width: 40%;
      }

      img#ski {

        width: 70%;
      }
    }


   @media (max-width: 1200px) {

     /* Grid */
     .grid-item-inner {
       padding: 0.8rem;
       border-radius: 0.6rem;
     }

     .grid-item-image-container {
       border-radius: 0.6rem;
     }

     .new-tag {
       margin: 0.5rem;
       padding: 0.2rem 1.3rem;
       border-radius: 1.5rem;
       font-size: 1.7rem;
     }

     .grid-item-date-container {
       padding: 1rem 1.6rem;
       border-bottom-left-radius: 0.6rem;
       border-bottom-right-radius: 0.6rem;
       line-height: 1.12;
       font-size: 1.8rem;
     }

     .grid-item-title {
       font-size: 2.42rem;
     }

     /* Footer */
     .footer-container {
       padding: 3.5rem;
     }

     .footer-wrap {
       max-width: 95rem;
     }

     .footer-copyright {
       padding-top: 2rem;
     }


   }


   @media (max-width: 1200px) {
   /* SIDEBAR */

     #game-sidebar .sidebar-inner{
         padding: 10.6rem 3.4rem 2.4rem 2.8rem;
         width: 33rem;
     }

     #game-sidebar.open {
         width: 33rem;
     }

     #game-sidebar a {
         padding-top: 1.5rem;
         font-size: 1.9rem;
     }

     #game-sidebar hr {
         margin: 2.7rem 0;
     }

     .side-menu-title {
       font-size: 2.4rem;
     }

     /* Custom Lightbox */
     .lb-container {
         width: 110rem;
         padding: 0;
         padding-top: 12px;
     }

     .lb-join-item-content-container {
         font-size: 1.7rem;
         padding: 2rem 3.3rem;
     }

     .lb-close {
         right: 12px;
         top: -4rem;
         font-size: 4rem;
     }

     .lb-date {
         font-size: 3.5rem;
         padding-bottom: 3.6rem;
     }

     .lb-join-container {
         padding: 3.6rem 3.6rem;
     }

     .lb-join-item-container {
         padding-bottom: 1.6rem;
     }

     .lb-join-item-spacer {
         padding-top: 15.4%;
     }

     .lb-join-item-content-container {
         font-size: 1.7rem;
         padding: 2rem 3.3rem;
     }

   }

   @media (max-width: 1024px) {



    #hero-background-image {
      padding-top: 92vw;
    }

    #hero-section .ubi-element-container, #news-hero-section .ubi-element-container {
      padding-top: 52vw;
    }


  }


   @media (max-width: 800px) {
	   
	   .empty{
		   display:none;
	   }
   /* SIDEBAR */

     #game-sidebar .sidebar-inner{
         padding: 14.6rem 6.8rem 4.8rem 5.6rem;
         width: 66rem;
     }

     #game-sidebar.open {
         width: 66rem;
     }

     #game-sidebar a {
         padding-top: 3rem;
         font-size: 3.8rem;
     }

     #game-sidebar hr {
         margin: 5.2rem 0;
     }

     .side-menu-title {
       font-size: 4.8rem;
     }

   }


  @media (max-width: 767px) {
    .two-col .grid-item-contianer {

      width: 100%;
    }


    .sm-gutter .grid-item-contianer {
      padding: 4rem 2rem 0 0;
  }

  }
