/* GLOBAL STYLES
-------------------------------------------------- */
body {
  color: #F4F4F4;
  font-family: 'Muli',sans-serif;
  background-color: #0D0D0D;
  font-weight: 300;
}

h1 {
  margin-top: 1em;
  color: #FFF;
  text-transform: uppercase;
  font-size: 4em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
  line-height: 0.85em;
  font-family: 'Muli', sans-serif;
  font-weight: 800;
}

h2 {
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #E64100;
  font-family: 'Muli', sans-serif;
  font-weight: 800;
}
h2.entry-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}
h5 {
  color: #E64100;
}
.card h5 {
  color: #FFF;
}

a {
  color: #E64100;
}
a:hover {
  color: #BF3500;
  text-decoration: none;
}

p {
  margin-bottom: 1.5rem;
}

p.legal {
  font-size: 0.8em;
  margin-bottom: 0;
  color: #5a5a5a;
}
p.lead {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.3em;
  margin-bottom: 2rem;
}

.dark-row {
  background-color: #1B1B1B;
}

.navbar .active .nav-link {
  color: #E64100 !important;
}

.two-column-text {
  column-count: 2;
}

.pager {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottom {
  background-color: #0D0D0D;
}

.back-navigation {
  margin-top:40px;
  text-align: center;
}

.video-tint {
  position:absolute;
  top: 0; left:0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.narrow-list ul, .body ul, .wrapper-game ul {
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
  list-style: none;
}
.narrow-list ul li, .body ul li, .wrapper-game ul li {
  background-image: url(../images/bullet-orange.png);
  background-repeat: no-repeat;
  background-position: 0 10px;
  padding-left: 20px;
}

.node {
  margin-bottom: 50px;
}

nav.navbar {
  font-size: 1em;
  text-transform: uppercase;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background: rgb(0,0,0);
  background: linear-gradient(180deg, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  font-family: 'Muli', sans-serif;
  font-weight: 800;
}
nav.navbar .logo {
  margin-top: -9px;
}
nav.navbar.shrink {
  top: -112px;
}

/* Hide drupal titles set to not display */
.visually-hidden { display: none; }

h1.text-only {
  margin-top:8%;
}

.wrapper-games {
  border-top: 2px solid #E64100;
}
.wrapper-moregames {
  border-top: 2px solid #E64100;
  background-color: #1B1B1B;
  padding: 50px 0;
}
.wrapper-moregames h2 {
  text-align: center;
  margin-bottom: 25px;
}
.wrapper-news {
  background-color: #0D0D0D;
  padding: 50px 0 50px;
  border-top: 2px solid #E64100;
}
.wrapper-game {
  padding: 50px 0 40px;
  border-top: 2px solid #E64100;
}
.wrapper-management {
  padding: 40px 0 0;
  border-top: 2px solid #E64100;
}
.wrapper-game p {
}

.wrapper-footer {
  background-color: #000;
  padding: 30px 0 30px;
  border-top: 3px solid #E64100;
}
.wrapper-home-intro {
  border-top: 2px solid #E64100;
  padding: 30px 0 30px;
  background-color: #0D0D0D;
}
.wrapper-contact-info {
  padding: 50px 0;
}
.wrapper-clients {
  background-color: #1B1B1B;
  padding: 50px 0;
}
.wrapper-contact-info p {
  margin-bottom: 0;
}
.wrapper-sub-nav {
  background-color: #E64100;
  padding: 14px 0 10px;
}
.wrapper-sub-nav .navbar-nav {
  display:inline-block;
  width: 100%;
}
.wrapper-sub-nav li {
  display:inline-block;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.wrapper-sub-nav li:first-child {
  margin-left: 0;
}
.wrapper-sub-nav a {
  text-decoration: none;
  position: relative;
  display: inline;
  overflow: hidden;
  font-size: 1.2em;
  line-height: 0.8em;
  font-weight: 800;
  text-transform: uppercase;
}
.wrapper-sub-nav a:hover {
  color: #FFF;
}
.wrapper-sub-nav a:not(.is-active):after {
  display:block;
  content: '';
  border-bottom: solid 3px #FFF;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  transform-origin:100% 50%
}
.wrapper-sub-nav a:hover:not(.is-active):after {
  transform: scaleX(1);
  transform-origin:0 50%;
}

#screenshotsSlider {
  margin-top: 80px;
}

.wrapper-sub-nav a.is-active:after {
  display:block;
  content: '';
  border-bottom: solid 3px #FFF;
  transform-origin:0 50%;
}

#block-googlemap {
  height: 400px;
  overflow: hidden;
}

.more-arrow {
  background-image: url('../images/arrow-down.png');
  position: absolute;
  bottom: 6%;
  height: 30px;
  width: 100%;
  background-repeat: no-repeat;
  background-position:bottom center;
  transition: opacity 0.5s ease-in-out;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.8);
  }
}

.more-arrow.scrolled {
  opacity: 0;
}

/* BLOCKS */
.fullpage-video-wrapper {
  position: relative;
  height:80vh;
  overflow: hidden;
}
.fullpage-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
  background-size: cover;
  max-height:100vh;
  z-index: -100;
}
.fullpage-video-wrapper .caption {
  position: absolute;
  left:0;
  right: 0;
  bottom: 12.5%;
  width: 100%;
  text-align:center;
}
.fullpage-video-wrapper .caption span {
  font-weight: 700;
  font-size:80px;
  text-transform: uppercase;
  color: #FFF;
  line-height: 80px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
  font-family: 'Muli', sans-serif;
}
.fullpage-video-wrapper .fallback-image {
  background-image: url('../images/carousel-slide1.jpg');
  background-size: cover;
  background-position:center center;
  width: 100%;
  position:absolute;
  top: 0; bottom: 0;
  left: 0;
  display: none;
}

.job {
  margin-bottom: 50px;
}

.game-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.game-thumb img {
  transition: all 0.3s;
  width: 100%;
}
.game-thumb .tint-overlay {
  border: 2px solid transparent;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  transition: all 0.25s;
  display:flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s;
  border-color: transparent;
}
.game-thumb .tint-overlay:hover {
  border-color: #E64100;
  background-color: rgba(0, 0, 0, 0.1);
}
.game-thumb .tint-overlay img {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 0 20%;
  max-height: 60%;
}
.game-thumb:hover img.thumbnail {
  transform: scale(1.1);
}
.game-thumb .game-title {
  font-size: 3em;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 1em;
}
.additional-game-info {
  margin-top: 50px;
}
.additional-game-info p {
  font-size: 1.4em;
  color: #666666;
  margin: 5px 0;
}
.additional-game-info .external-link {
  margin-top: 30px;
}

/* NEWS */
.news-front {
  background-image: url('../images/bg_home_news.jpg');
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
}
.post-date {
  color: #5a5a5a;
  text-transform: uppercase;
  font-weight: bold;
}
.news-row {
  margin-bottom: 30px;
}
.news-card {
  background-color: rgba(27, 27, 27, 1);
  border: 2px solid;
  border-color: rgba(230, 65, 0, 0);
  transition: border-color 0.25s, background-color 0.25s;
}
.news-card:hover {
  border-color: rgba(230, 65, 0, 1);
  background-color: rgba(40, 40, 40, 1);
}
.news-card a {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  color: #FFF;
  z-index: 1;
}
.news-card h5 {
  text-transform: uppercase;
  font-size: 1.2em;
}
.news-card p {
  color: rgb(140,140,140);
}
.news-card .card-img-top {
  overflow: hidden;
}
.news-card img {
  overflow: hidden;
  transition: all 0.25s;
}
.news-card:hover img {
  transform: scale(1.1);
}
.news-card p:last-child {
  margin-bottom: 0;
}

.wrapper-news legend {
  display: none;
}

.wrapper-news .views-exposed-form {
  margin-bottom: 20px;
}

.wrapper-news .form-checkboxes > .form-item {
  display: inline-block;
  margin-right: 15px;
}
.wrapper-news .form-checkboxes > .form-item label {
  margin-bottom:0 !important;
  cursor: pointer;
}


.js-form-type-checkbox {
  clear: both;
  overflow: hidden;
}
.js-form-type-checkbox label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #E64100;
  font-weight: normal;
  text-transform: uppercase;
  padding: 10px;
}
.js-form-type-checkbox input[type="radio"]:empty,
.js-form-type-checkbox input[type="checkbox"]:empty {
  display: none;
}
.js-form-type-checkbox input[type="radio"]:empty ~ label,
.js-form-type-checkbox input[type="checkbox"]:empty ~ label {
  color:#777;
  position: relative;
  text-indent: 2.5em;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.js-form-type-checkbox input[type="radio"]:empty ~ label:before,
.js-form-type-checkbox input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #E64100;
  border-radius: 3px 0 0 3px;
  line-height: 2.75em;
}
.js-form-type-checkbox input[type="radio"]:hover:not(:checked) ~ label,
.js-form-type-checkbox input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #FFF;
}
.js-form-type-checkbox input[type="radio"]:hover:not(:checked) ~ label:before,
.js-form-type-checkbox input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #FFF;
}
.js-form-type-checkbox input[type="radio"]:checked ~ label,
.js-form-type-checkbox input[type="checkbox"]:checked ~ label {
  color: #FFF;
  background-color: #E64100;
}
.js-form-type-checkbox input[type="radio"]:checked ~ label:before,
.js-form-type-checkbox input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #FFF;
}
.js-form-type-checkbox input[type="radio"]:focus ~ label:before,
.js-form-type-checkbox input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}







.wrapper-news .form-actions {
  display: none;
}

.load-more-button {
  text-align: center;
}

/* FOOTER */
.footer-nav {
  text-align: center;
}
.footer-nav a {
  font-weight: bold;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-links li {
  display: inline-block;
  margin: 0 15px;
}
.social-links li img {
  width: 24px;
  height: 24px;
}

.parallax_background {
  height: 40rem;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
}

.header-image {
  height: 40rem;
  overflow: hidden;
  position:absolute;
  width: 100%;
  z-index: -2;
  top: 0;
}
.header-image .more-arrow {
  display: none;
}

.tint  {
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 30%);
  position:absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
}
.header-video {
  height: 40rem;
  overflow: hidden;
  position:absolute;
  width: 100%;
  z-index: -1;
}
.header-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
  background-size: cover;
  max-height:45em;
  z-index: -100;
}

/* IMAGE MODAL */
.imageModal {
  display: none;
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}
.imageModal .modal-content {
  position: relative;
  margin: auto;
  display: block;
  width:auto;
  max-width: 80%;
  top: 50%;
  transform: translateY(-50%);
  border: none;

  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0) translateY(-50%)}
  to {transform: scale(1) translateY(-50%)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #FFF;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.open-image-modal {
  display: block;
  cursor: pointer;
}

.divas-slide img {
  cursor: pointer;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {

}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
  text-shadow: 2px 2px 2px #000;
}
.carousel-caption h1 {
  font-size: 4em;
  line-height: 1em;
  text-transform: uppercase;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 45rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit:cover;
}

/* DISPLAY SUITE */

/* stacked-rows */
.top {
  position: relative;
  height: 40rem;
}
.top .logo {
  position: absolute;
  display: block;
  transform: translateY(-50%);
  width: 100%;
  display: block;
  top: 50%;
}
.top .logo img {
  margin: 0 auto;
  display: block;
  padding: 0 20px;
}
.top .title {
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.client-logos > div {
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 30px 0;
}

.client-logos img {
  vertical-align: middle;

}
/* BOOTSTRAP OVERRIDES */
.card.bg-dark {
  background-color: rgba(27, 27, 27, 1) !important;
}
.btn {
  text-transform: uppercase;
  font-weight: 800;
}

.navbar-dark .navbar-nav .nav-link {
  color: #FFF;
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: #E64100;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0.8rem;
  padding-left: 0.8rem;
}

.card-columns {
  column-count: 3;
}
.fixed-top {
  z-index: 100;
}
.nav {
  margin: 10px 0;
}
.navbar-nav a {
  color: #fff;
}
ul.navbar-nav li.dropdown:hover > ul.dropdown-menu {
  display: block;
}
.dropdown-menu {
  background-color: #000;
  margin: 0;
}

.ajax-progress-fullscreen {
  background: url('../images/stainless-logo-white-trans.gif') no-repeat center;
  min-height: 64px;
  width: 64px;
  position: relative;
  margin: 10px auto;
}
.load-more-button a {
  width: 100%;
  text-transform: uppercase;
  font-weight: 800;
}

ul.timeline-list.marker-center .timeline-marker {
  top: 9px !important;
  transform: none !important;
}

ul.timeline-list {
  margin-bottom: 50px;
}
ul.timeline-list li.timeline-item .timeline-item-wrapper span.timeline-marker {
  width: 15px;
  height: 15px;
  background: #E64100;
  border-color: #E64100;
}
ul.timeline-list:after {
  background: #E64100;
}
.timeline-item-wrapper .views-field-body {
  background-color: #1b1b1b;
  margin-bottom: 15px;
}
.timeline-item-wrapper .views-field-body .field-content {
  padding: 15px;
}
.timeline-item-wrapper .views-field-body .field-content p:last-child {
  margin-bottom: 0;
}
.timeline-item .views-field-title {
  font-weight: 800;
  color: #E64100;
  font-size: 1.3em;
  margin-bottom: 15px;
}

ol{
  list-style-type:none;
  counter-reset:item;
  margin:0;
  padding:0;
}
ol > li{
  display:table;
  counter-increment:item;
  margin-bottom:0.6em;
}
ol > li:before{
  content:counters(item,".") ". ";
  display:table-cell;
  padding-right:0.6em;
}
li ol > li{
  margin:0;
}
li ol > li:before{
  content:counters(item,".") " ";
}

#block-stainlessgames-local-tasks {
  background-color: #000;
  border-top: 3px solid #E64100;
}
#block-stainlessgames-local-tasks ul {
  margin-bottom:0;
  padding: 20px 0;
  text-align: center;
}
#block-stainlessgames-local-tasks ul li {
  display: inline-block;
  margin: 0 15px;
}

html body.toolbar-horizontal .navbar {
  margin-top: 39px;
}

html body.toolbar-horizontal.toolbar-tray-open .navbar {
  margin-top: 79px !important;
}

#videoModal .modal-dialog {
    max-width:800px;
    margin: 30px auto;
}
#videoModal .modal-body {
    position: relative;
    padding: 0;
}
#videoModal .close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}


@media only screen and (max-width: 989px) {
  nav.navbar {
    background: linear-gradient(180deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  }
  .navbar .navbar-nav {
    height:100vh;
  }
  nav.navbar a {
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .column-spacer {
    margin-bottom: 2em;
  }
  nav.navbar {
    background: linear-gradient(180deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  }
  .navbar .navbar-nav {
    height:100vh;
  }
  nav.navbar .logo {
    height: 55px;
  }

  .header-video {
    display: none;
  }

  .fullpage-video-wrapper .fallback-image {
    display: block;
  }

  .header-video video {
    display: none;
  }

  .navbar-collapse {
  }

  .top {
    height: 100vh;
  }

  .header-image, .header-video {
    height: 100vh;
  }
  .header-image .more-arrow {
    display:block;
  }

  .parallax_background {
    height: 100vh;
    background-attachment:local;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .top .title  {
    bottom:20%;
  }
  .top .more-arrow {
    bottom: 15%;
  }
  .title h1 {
    text-align: center;
    font-size: 3em;
  }
  .two-column-text {
    column-count: 1;
  }
  .fullpage-video-wrapper {
    height:40vh;
  }
  .fullpage-video-wrapper .caption {
    left: 0;
    right: 0;
    bottom: 25%;
    width: 100%;
    padding: 15px;
    text-align: center;
  }
  .fullpage-video-wrapper .caption span {
    font-size: 55px;
    line-height: 55px;
  }
  .imageModal .modal-content {
    max-width: 80%;
  }

  ul.timeline-list.alternate li.timeline-item.even .timeline-item-wrapper {
    float: left;
  }
  ul.timeline-list.alternate li.timeline-item .timeline-item-wrapper {
    width: 100%;
    padding: 0 0 0 20px !important;
    text-align: left !important;
  }
  ul.timeline-list.alternate:after {
    right: auto;
    transform: none !important;
    left: 0px !important;
  }
  ul.timeline-list li.timeline-item .timeline-item-wrapper span.timeline-marker {
    left: -5px !important;
    right: auto !important;
  }


}
