:root {
  --accent-color: #009687;
  --accent-border: #25372a;
  --text-color: #FFFFFF;
  --site-bg-color: #000000;
  --info-bg-color: #0e1812;
  --info-bg-dark: #060a08;
  --bright-border: #08461c;
  --highlight: #f6eb13;;
  --button-color: #009687;
  --input-bg: #333;
  --icon-fill: #808080;
  --platform-icon: #cddc39;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: inherit;
  text-align: inherit;
  font-weight: bold;
  letter-spacing: normal;
}

p {
  text-align: inherit;
}

main-game {
  display: block;
  /*  background-color: black;#002738;
  width: 100%;
  min-height: 1000px;
  background: no-repeat top;
  background-size: 100% 400px;
  filter: blur(10px) opacity(0.4);
  transform: scale(1.1);*/
  min-height: 300px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  /*filter: blur(10px) opacity(0.4);*/
}
.lazy-t {
  background: #666;
  box-shadow: none;
  background-image: linear-gradient(to right, #666 0%, #999 20%, #AAA 40%, #666 100%) !important;
  background-repeat: no-repeat;
  display: inline-block;
  position: relative;
  width: 100%;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: lazyPlaceholderShimmer;
  animation-timing-function: linear;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: lazyPlaceholderShimmer;
  -webkit-animation-timing-function: linear;
}
@keyframes lazyPlaceholderShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}
@-webkit-keyframes lazyPlaceholderShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}


#hero {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, #000, transparent, #000), linear-gradient(rgba(0, 0, 0, .2), transparent, rgba(0, 0, 0, .5));
}

#hero-wrapper * {
  color: var(--text-color);
}

#hero-wrapper #title {
  font-size: 32px;
  line-height: 40px;
  margin: 0px;
  padding-bottom: 12px;
  text-transform: capitalize;
  font-weight: bold;
}
#hero-wrapper #title span {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 10px 20px 70px 20px;
}
#hero-wrapper .text {
  font-size: 20px;
  margin: 0;
  text-align: center;
}

#hero-cta {
  width: 400px;
  margin: 30px auto;
}

#hero-cta-button {
  width: 100%;
}
#hero-mobile-cta-button {
  display: none;
  margin: 0px auto;
}

content-games {
  display: block;
  min-height: 300px;
  margin: 0 auto;
  padding: 0px 40px 40px 40px;
  position: relative;
}

content-games h1 {
  padding-bottom: 20px;
  text-transform: uppercase;
}
content-games p {
  font-size: 16px;
  line-height: 22px;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid;
  padding: 10px;
  font-size: 16px;
}

input[type=text], select {
  background-color: var(--input-bg);
  width: 100%;
  border-radius: 5px;
  border:1px solid var(--input-bg);
  color: var(--text-color);
  height: 40px;
  min-width: 140px;
}

input[type=submit] {
  background-color: transparent;
  color: var(--text-color);
  text-transform: uppercase;
}

input[type=text]::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999;
  ;
  opacity: 1;
  /* Firefox */
  font-style: italic;
}

input[type=text]:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #999;
  font-style: italic;
}

input[type=text]::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #999;
  font-style: italic;
}




.blue {
  color: #00212f
}
#search_section {
  display: flex;
  flex-direction: column;
  background: linear-gradient(#000 94%,transparent 100%);
  width: 100%;
  padding-bottom: 18px;
  padding-top: 0px;
  position: -web-sticky;
  position: sticky;
  top: 95px;
  z-index: 20;
  padding-left: 24px;
  padding-right: 24px;
}
#filter_application {
  display:flex;
  flex-direction: row;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 30px;
}
#filter_application a {
  color: var(--icon-fill);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
}
#filter_application a:hover,
#filter_application a.selected {
  color: var(--highlight);
}
#filter_application a.selected {
  border-bottom: 2px solid var(--highlight);
}
#filter_application a svg {
  fill: var(--icon-fill);
  margin-right: 10px;
}
#filter_application a:hover svg,
#filter_application a.selected svg {
  fill: var(--highlight);
}


#filter_sort_section {
  min-width: 65%;
  display: flex;
  justify-content: center;
  text-align: center;
}

#filter_section a.filter_icon.router_only {
  display: none;
}

#filter_section a.filter_icon {
  text-decoration: none;
  width: 50px;
  height: 50px;
  display: inline-block;

}
#filter_section a.filter_icon svg {
  fill: var(--icon-fill)
}
#filter_section a.filter_icon:hover,
#filter_section a.filter_icon.selected {
  background: var(--highlight);
  text-decoration: none;
  border-radius: 25px;
}
#filter_section a.filter_icon:hover svg {
  fill: var(--input-bg);;
}
#filter_section a.filter_icon.selected svg {
  fill: var(--site-bg-color);
}



#status_section {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--input-bg);
  border-right: 1px solid var(--input-bg);
  padding-left: 10px;
  padding-right: 10px;
}
#status_section a.button {
  font-size: 12px;
  text-transform: none;
  min-width: auto;
  background-color: #000;
  color: var(--highlight);
  border: 1px solid var(--highlight);
  height: 30px;
  margin:3px;
  line-height: 27px;
  font-weight: normal;
}
#status_section a.button:hover,
#status_section a.button.selected {
  background-color: var(--highlight);
  color: #000;
}
#status_section a.button.selected {
  font-weight: bold;
}
#refine_section {
  display: flex;
  align-items: center;
}

#input_search_section {
  display: flex;
  align-items: center;
}

#sort_section {
  display: flex;
  margin-left: 10px;
  margin-right: 10px;
}

#sort_options {
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0;
}
#sort_options:focus {
  outline: none;
}

#sort_direction {
  width: 50px;
  padding-top: 5px;
  z-index: 10;
  background: var(--input-bg);
  padding-left: 10px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  height: 40px;
}
#sort_direction span {
	display: block;
	position: relative;
	top: 13px;
	left: 0px;
	right: 0px;
	height: 3px;
  width: 15px;
	background: var(--highlight);
}
#sort_direction span::before,
#sort_direction span::after {
	position: absolute;
	display: block;
	left: 0;
	height: 3px;
	background-color: var(--highlight);
	content: "";
}
#sort_direction.desc span::before {
	top: -6px;
  width: 25px;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}
#sort_direction.desc span::after {
	bottom: -6px;
  width: 5px;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}
#sort_direction.asc span::before {
	top: -6px;
  width: 5px;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}
#sort_direction.asc span::after {
	bottom: -6px;
  width: 25px;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}


.autocomplete-items {
  position: absolute;
  border: 1px solid;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 20px;
  right: 0;
  text-align: left;
}

.autocomplete-items strong {
  color: inherit;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #666;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #009687;
  color: var(--text-color);
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: #009687 !important;
  color: var(--text-color);
}

.title, .subtitle {
  color: var(--text-color);
  padding: 10px 0 10px 0;
}

.column {
  max-width: 280px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(#000, #000, #000, #00212f);
  outline: 0 none !important;
  border: none !important;
  box-shadow: none;
  /*border: 1px solid #003045;*/
}
#game-link:active, #game-link:focus {
  outline: none !important;
}

.card .media:not(:last-child) {
  margin-bottom: 0px;
}

.media-content .title {
  color: var(--text-color);
  text-align: left;
  margin-bottom: 0;
}

.media-content .subtitle {
  color: var(--text-color);
  font-style: italic;
  font-size: .8em;
}

.card-content .content {
  color: var(--text-color);
  /*background: linear-gradient(rgba(0, 0, 0, 0) 0%, #000000 100%);*/
  padding: 0px;
}

.card-footer,
.card-footer-item:not(:last-child) {
  border: none;
  text-transform: uppercase;
}

.card-footer-item:first-child {
  min-width: 70%;
  color: var(--platform-icon);
  justify-content: left;
}

.card-footer-item:nth-child(2) {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-bottom: 35px solid #003045;
  transform: translate(15px, -21px);
}

.card-footer-item:last-child {
  background-color: #003045;
  padding-left: 0px;
  min-width: 10%;
}

.card:hover {
  box-shadow: 0px 0px 30px 10px rgba(0, 150, 135, .5);
}

/*
.card:hover .card-footer {
  background-color: rgb(0, 150, 135);
  height: 35px;
  color: var(--text-color);
  font-weight: bold;
}
*/
.card-content {
  height: 130px;
  padding: 0px 10px !important;
  overflow: hidden;
}

.card-footer {
  height: 35px;
  font-weight: 700;
  overflow: hidden;
}
.card-image.lazy-bg {
  background: #666;
  background-image: linear-gradient(to right, #666 0%, #999 20%, #AAA 40%, #666 100%) !important;
  background-repeat: no-repeat;
  display: inline-block;
  position: relative;
  width: 100%;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: lazyBgPlaceholderShimmer;
  animation-timing-function: linear;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: lazyBgPlaceholderShimmer;
  -webkit-animation-timing-function: linear;
}
@keyframes lazyBgPlaceholderShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}
@-webkit-keyframes lazyBgPlaceholderShimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}
.card-image {
  min-width: 200px;
  height: 300px;
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  object-fit: contain;
  text-align: center;
  box-shadow: none;
}
.card-image img {
  box-shadow: none;
  min-width: 200px;
  max-height: 300px;
  margin-left: auto;
  margin-right: auto;
}
.card-image img.lazy {
  filter: blur(4px);
}

#section-requestgame {
  margin: 30px auto;
  text-align: center;
  display: none;
}

#section-requestgame #title {
  margin-bottom: 20px;
  text-transform: none;
  font-weight: bold;
  font-size: 36px;
  line-height: 39px;
}
#section-requestgame #title span {
  font-weight: normal;
  font-style: italic;
}

#game_details {
  /*
  background: linear-gradient(#00212f,#000,#000);
  box-shadow: 0 0 30px #00212f;
  */
  /*background: linear-gradient( #022635 0%, #02090B 92.39%);*/
  background: linear-gradient(#00212f, #000, #000);
  box-shadow: 0 2px 55px 0 rgba(87, 211, 255, 0.35);
  width: 282px;
  flex-shrink: 0;
}
#game_details div:first-child {
  padding-top:25px;
}

#game_details div:not(:first-child) {
  border-top: 1px solid #004950;
}

#game_details div {
  min-height: 100px;
  padding: 20px;
}

#game_details div h3 {
  font-size: 12px;
  letter-spacing: 3px;
  padding-bottom: 10px;
  text-transform: uppercase;
  line-height: 12px;
}
#game_details i.router_platform {
  font-size: 22px;
  color: var(--platform-icon);
  padding: 14px;
}

#status_header {
  display: flex;
  justify-content: space-between;
}
#status_header div {
  padding: 0px !important;
  min-height: unset;
  border: 0 !important;
}
#download_instruction {
  font-style: italic;
  font-size: 10px;
  font-weight: normal;
  text-transform: lowercase;
  letter-spacing: 1px;
}

#game_details div span {
  font-style: italic;
}
#game_details div span svg {
  max-height: 40px;
  max-width: 40px;
}

#section_game_media h3 {
  font-size: 12px;
  letter-spacing: 3px;
  padding-bottom: 10px;
  text-transform: uppercase;
}

#game-header {
  overflow: hidden;
  position: relative;
}

.cta a:hover {
  transition-duration: 0s;
  filter: invert(100%);
}

#header-foreground {
  position: absolute;
  text-align: left;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  max-height: 100%;
}

#header-foreground div {
  color: var(--text-color);
  background-color: transparent;
  vertical-align: top;
  text-align: left;
}

#header-foreground span.subtitle {
  color: var(--text-color);
}

#header-foreground #ratingbox {
  float: right;
  border-radius: 6px;
  padding: 4px 8px;
  width: 34px;
  position: fixed;
  right: 0;
  top: -23px;
}

#headerinfo .title {
  white-space: nowrap;
}
#game_background.lazy-bg {
  background: none !important;
}
#game_background {
  filter:blur(4px);
  height:800px;
  width:100%;
  position:absolute;
  background-size:cover;
  z-index:-1;
}
#game_page {
  padding-top:30px;
  background: linear-gradient(rgba(0,0,0,.7), #000 1000px);
}

#game_page #row1, #game_page #row2, #game_page #row3 {
  max-width:1200px;
  margin: 0 auto 30px auto;
  display:flex;
}
#game_page #row1 > div:nth-child(2), #game_page #row2 > div:nth-child(2) {
  margin-left: 30px;
  margin-right: 30px;
}

#cover_container {
  min-width: 280px;
  max-width: 280px;
  max-height: 400px;
  min-height: 400px;
}

#cover_image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

img.rating {
  height: 60px;
  padding-right: 5px;
}

#game_details #retired {
  min-height: 30px;
  padding: 5px 20px ;
  /* margin: 0; */
  line-height: 30px;
  text-transform: uppercase;
  background: #E91D63;
  color: var(--text-color);
  font-weight: bold;
  letter-spacing: 3px;
}


.game-platforms {
  font-size: 26px;
}

a.platform {
  font-size: 22px;
  padding-left: 10px;
}

.game-platforms-inactive {
  color: #666;
  fill: #666;
}

#tabs a {
  color: var(--text-color);
  font-weight: bold;
  border: none;
}

#tabs a:hover {
  cursor: default;
}

#game-about .cell:first-child {
  font-weight: 700;
  width: 120px;
}

#game-about a {
  color: blue;
  font-style: italic;
}

.carousel-item {
  height: 100px;
}

.slider-navigation-next, .slider-navigation-previous {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border: none !important;
}

#player {
  height: 500px;
  width: 98%;
}

.carousel-item:hover {
  cursor: pointer;
}

.media-videos {
  position: relative;
  display: inline-block;
  width: 256px;
  height: 145px;
  border: 1px solid #222;
  overflow: hidden;
}

.media-videos span {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 40px;
  height: 30px;
  z-index: 2;
  background: transparent url("/img/play_red.png") no-repeat;
  background-size: 40px 30px;
}

.media-images {
  display: inline-block;
  width: 256px;
  height: 145px;
  border: 1px solid #222;
  overflow: hidden;
  object-fit: contain;
}

#more-media-link {
  position: relative;
  display: inline-block;
  width: 256px;
  height: 145px;
}

#more-media-link span {
  position: absolute;
  top: 60px;
  left: 70px;
  z-index: 10;
  color: var(--highlight);
  font-weight: bold;
}

.slider-pagination {
  padding: 0 !important;
}

#game_tips {
  padding-bottom: 30px;
  width: 100%;
}

#game_tips h2 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#tips {
  background: linear-gradient(#00212f, #000, #000);
  box-shadow: 0 2px 55px 0 rgba(87, 211, 255, 0.35);
}

.tips {
  display: flex;
  justify-content: space-between;
}

.tips:not(:first-child) {
  border-top: 1px solid #004950;
}

#tips .tips:last-child {
  border-bottom: 4px solid var(--highlight);
}

.tips .subtitle {
  margin: 0;
  padding: 0 0 0 30px;
  font-weight: bold;
  line-height: 44px;
}

.tips div {
  font-size: 16px;
}

.hidden {
  display: none !important;
}

.shown {
  /*    border-radius: 12px;
    margin-bottom: 10px;*/
  transition: all .5s;
  background-color: #00383F;
  /*border-bottom: 0px !important;*/
}

.arrowbox {
  min-width: 45px;
  flex-basis: 45px;
  /*padding: 12px 0 14px 15px; */
  background-color: #00383F;
}

.arrow {
  border: solid var(--text-color);
  /* #354F5A;*/
  border-width: 0 3px 3px 0;
  display: inline-block;
  width: 15px;
  height: 15px;
  /*  float: right;
    position: absolute;
    right: 30px;
    top: 30px;*/
}

.right-arrow {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transition: all .5s;
}

.down-arrow {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: all .5s;
  margin: 12px 0 17px 15px;
}

.up-arrow {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transition: all .5s;
  margin: 17px 0 12px 15px;
}

.tip-answer {
  display: none;
  color: #999;
  background-color: black;
  font-size: 15px;
  font-weight: normal;
  padding: 20px;
  line-height: 22px;
}

#gamesearch-form {
  padding: 40px 0;
}

#games_list {
  margin: 0 auto;
}



#search-gamename {
  display: inherit;
  outline: none !important;
  border: none !important;
  box-shadow: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 0;
}

#clear-search-button {
  background-color: var(--input-bg);
  border: none;
  height: 100%;
  box-shadow: none;
  width: 20px;
  font-weight: normal;
  color: #009687;
}

#search-gamename-button {
  border-radius: 5px 0 0 5px;
  height: 100%;
  border: none;
  box-shadow: none;
  outline: none;
  line-height: 1.5;
  min-width: 50px;
  max-width: 50px;
  background-color: var(--input-bg);
  color: var(--text-color);
  height: 40px;
}
#search-gamename-button[disabled] {
  opacity: 1;
}
#search-gamename-button[disabled] i{
  opacity: .3;
}
#search-gamename-button:focus {
  outline: none;
  box-shadow: none;
  border: none;
}
#ratingbox {
  z-index: 10;
}
#ratingbox.high {
  color: #36F485;
}

#ratingbox.medium {
  color: #F6EB14;
}

#ratingbox.low {
  color: #F44336;
}

#requestgame-footer {
  border: none;
}

.card:hover #requestgame-footer {
  background-color: transparent;
}
#game_info .title h1 {
  display: inline-block;
}

#ratingbox_gamepage {
  color: black;
  padding: 5px 8px;
  margin-left: 20px;
  display: inline-block;
}
#ratingbox_gamepage.high {
  background-color: #36F485;
}
#ratingbox_gamepage.medium {
  background-color: #F6EB14;
}
#ratingbox_gamepage.low {
  background-color: #F44336;
}

@media only screen and (max-width: 1248px) {
  #row1, #row2 {
    margin: 0 24px;
  }
}

@media only screen and (max-width: 900px) {
  #filter_sort_section {
    flex-direction: column;
  }
  #refine_section {
    margin: 0 auto;
  }
  #filter_application {
    font-size: 18px;
    margin-bottom: 0px;
  }

  #hero-wrapper {
    width: auto;
    margin: 0 24px;
  }
  #hero-wrapper #title {
    font-size: 28px;
    line-height: 32px;
  }
  #hero-wrapper #title span {
      display: block;
  }
  #hero-wrapper .text {
    font-size: 18px;
    line-height: 24px;
  }
  #hero {
    padding: 10px 0 0 0;
  }
  #hero #starfield {
    display: none;
    height: 0;
  }
  #hero-cta {
    width: auto;
  }
  #hero-cta-button {
    display: none;
  }
  #hero-mobile-cta-button {
    display: block;
  }
  content-games {
    text-align: center;
    padding: 0;
    margin: 0 24px;
  }
  content-games h1 {
    font-size: 20px;
    line-height: 22px;
  }
  #search_section {
    flex-wrap: wrap-reverse;
    border-bottom-width: 4px;
    border-bottom-style: solid;
    border-color: #009687;
    position: relative;
    top: auto;
    padding-top: 20px;
  }
  .column {
    max-width: 300px;
  }
  #section-requestgame {
    margin: 50px 24px;
  }
  #section-requestgame  #title{
      font-size: 30px;
  }
  #row1, #row2 {
    flex-flow: column;
    justify-content: space-between;
    text-align: center;
  }
  #row1 > div, #row2 > div, #row3 > div {
    margin-bottom: 24px;
  }
  #row1 div:first-child, #row2 div:first-child {
    margin-left: auto;
    margin-right: auto;
  }
  .tips .subtitle {
    line-height: 21px;
    font-size: 14px;
    padding: 10px 0 10px 24px;
  }

  @media only screen and (max-width: 510px) {
    #filter_application {
      flex-direction: column;
      margin: 0 auto 20px auto;
      border-bottom: 1px solid var(--input-bg);
    }
    #refine_section {
      flex-direction: column;
    }
    #sort_section {
      margin-bottom: 10px;
    }
  }
}
