/** CUSTOM THEME SPECIFIC **/

@media (max-width: 1199.98px) {

   .navbar li +li {
    margin: 0;
   }
  
   .navbar .active {
     position: relative;
   }
  
   .navbar-nav .active:before {
    display: none;
   }
  
   .navbar-nav .active:after {
    display: none;
  }
  
   .navbar-nav .active > .nav-link:before{
    display: none;
   }
  
  .navbar-nav .active > .nav-link:after {
    display: none;
  }
   
 }

 @media (min-width: 1200px) {
   .navbar li {
   margin: 0 5px;
   }
   
   .navbar .active {
       position: relative;
   }
   
   .navbar-nav .active:before {
   content: '';
   position: absolute;
   width: 0;
   height: 0;
   border: 5px solid transparent;
   border-top: 3px solid var(--primary);
   top: calc(50% + 3px);
   right: -4px;
   transform: translateY(-50%);
   }
   
   .navbar-nav .active:after {
   content: '';
   position: absolute;
   right: -4px;
   top: calc(50% - 5px);
   width: 0;
   height: 0;
   border: 5px solid transparent;
   border-bottom: 3px solid var(--primary);
   transform: translateY(-50%);
   }
   
   .navbar-nav .active > .nav-link:before{
   content: '';
   position: absolute;
   width: 0;
   height: 0;
   border: 5px solid transparent;
   border-top: 3px solid var(--primary);
   top: calc(50% + 3px);
   left: -4px;
   transform: translateY(-50%);
   }
   
   .navbar-nav .active > .nav-link:after {
   content: '';
   position: absolute;
   left: -4px;
   top: calc(50% - 5px);
   width: 0;
   height: 0;
   border: 5px solid transparent;
   border-bottom: 3px solid var(--primary);
   transform: translateY(-50%);
   }

 }

 @media (max-width: 1199.98px) {
  .home-logo-img {
    max-width: 340px;
  }
}

 @media (min-width: 1200px) {
  .home-logo-img {
    max-width: 550px;
  }
 }

section.trailer-wrapper {
	width: 100%;
	padding: 0;
	margin: 30px 0 60px 0;
}

div.trailer-container {
	width: 100%;
	margin: 0 auto;
	max-width: 789px;
}

h1.trailer-header {
  color: #fff;
  font-family: trajan-sans-pro, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  text-align: center;
  text-shadow: 0 0 7px rgba(0,0,0,0.73);
}

.promo-section-text>p {
    color: #FFFFFF !important;
    font-family: "Proxima Nova Condensed", Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    line-height: 38px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.27);
}

section.gallery-wrapper {
  margin: 40px 0;
}

.gallery-wrapper [class*="col"] {
  margin-bottom: 20px;
}

h2.resource-type-heading {
  color: white;
  font-family: proxima-nova-condensed, proxima-nova, Arial, sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.5;
  text-align: center;
  width: 100%;
  margin: 40px 0;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.27)
}

div.resource-title > p {
  margin-top: 5px;
  text-align: center;
  color: white;
  font-weight: 600;
}
div.resource-title > a {
  display: block;
  margin-top: 5px;
  text-align: center;
  font-weight: 600;
  color: var(--primary) !important;
}

div.resource-title > a:hover {
  color: var(--primary-darken-2) !important;
}

section.description-wrapper{
  width: 100%;
  padding: 0 1em;
  padding-top: 22px;
}

.form-group > label {
  text-transform: uppercase;
  margin-bottom: 0;
}

input.form-control, select.form-control {
  border-radius: 3px;
  background-color: #F6F9FB;
  font-family: proxima-nova, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  height: 45px !important;
  letter-spacing: 0.38px;
  transition: background-color 250ms ease-in-out, border-color 250ms ease-in-out;
}

input.form-control:focus, input.form-control:active {
  border: 2px solid #5B5B5B;
  background-color: #fff;
}

input[aria-invalid='true'] {
  border: 2px solid #CC3B4E;
}

/*** SCROLL SNAP ***/
.snap-viewport-parent {
  -webkit-scroll-snap-type: proximity;
      -ms-scroll-snap-type: proximity;
          scroll-snap-type: proximity;
  -webkit-scroll-snap-points-y: repeat(100vh);
      -ms-scroll-snap-points-y: repeat(100vh);
          scroll-snap-points-y: repeat(100vh);
  -webkit-scroll-snap-type: y proximity;
      -ms-scroll-snap-type: y proximity;
          scroll-snap-type: y proximity;
  max-height: 100vh;
  overflow: auto;
}

.snap-viewport-child {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  height: 100vh;
  width: 100vw;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/*** END SCROLL SNAP ***/

div.description-container, div.news-container {
	width: 100%;
	max-width: 964px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 22px;
}

div.description-container, div.news-container-column {
	padding: 2em 3em 5em 3em;
  border: 1px solid #979797;	
  border-radius: 27px;
  box-shadow: inset 0 1px 15px 0 rgba(0,0,0,0.36), 0 0 12px 0 rgba(0,0,0,0.27);
}

#content.site-content {
	padding: 0;
	margin: 0;
}

header#masthead {
  background: rgba(0,0,0,0.73);
  color: white;
}
.navbar-dark .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link {
  color: white;
}

footer#colophon {
    min-height: 444px;
    background: #2e2e2e;
}

.footer-logo {
  display: block;
}

.footer-logo > img {
  display: block;
  margin: 20px auto;
  max-width: 103px;
}

.img-fluid {
  display: block;
}

/* LAZY SIZES SET UP*/
.blur-up {
  -webkit-filter: blur(5px);
  filter: blur(5px);
  transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
  -webkit-filter: blur(0);
  filter: blur(0);
}


.lazyload, .lazyloading {
  opacity: 0;
  background: #ccc;
  -webkit-transition: opacity 250ms ease-in-out;
  transition: opacity 250ms ease-in-out;
}

.lazyloaded {
  opacity: 1;
}

.gallery-image-link>img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out;
}

.gallery-image-link:hover>img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#carousel-modal .modal-body, #trailer-modal .modal-body, #action-modal .modal-body {
  padding: .25rem !important;
}

a[data-newslink], .endorser {
  color: var(--primary-darken-2) !important;
}

a[data-newslink]:hover {
  color: var(--primary-darken-1) !important;
}