body {
  font-family: Futura, "Century Gothic", CenturyGothic, sans-serif;
  color: black;
  /*background-color: white;*/
  background-color: rgba(10,175,226,0.25);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.fieldset-legend {
  font-family: FuturaBT-Bold, "Century Gothic", CenturyGothic, sans-serif;
}

.breadcrumbs {
  display: none;
}

.meta-header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  background: navbar_background;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}

.meta-header-inner .block-sitebranding {
  overflow: hidden;
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
}


.meta-header-inner .block-sitebranding img {
  max-height: 48px;
}

.region-header {
  padding-top: 3em;
}

label {
  color: black;
}

nav.tabs {

}

a,
 .breadcrumbs a {
  color: #bb1cbd;
}

a:hover,
a:focus {
  color: #1ea3cf;
}

.button {
  background-color: #bb1cbd;
  background-image: linear-gradient(#c31dc5, #691bc5);
  -webkit-transition: background-image 0.3s, background-color 0.3s;
  -moz-transition: background-image 0.3s, background-color 0.3s;
  -ms-transition: background-image 0.3s, background-color 0.3s;
  -o-transition: background-image 0.3s, background-color 0.3s;
  transition: background-image 0.3s, background-color 0.3s;
  border: 1px solid #8749d1;
}


.button:hover {
  background-color: #1ea3cf;
  background-image: linear-gradient(#9c179e, #54169e);
}

.pager__item.is-active {
  background-color: #bb1cbd;
}

table thead,
table tbody,
table tfoot {
  background-color: #bb1cbd;
  color: #0badde;
}

body {
  /*background-color: #ffffff;*/
  background-color: rgba(10,175,226,0.25);
}

h2, h3, h4, h5 {
  color: #0baddf;
}

#page-wrapper {
  /* background-color: #ffffff; */
  background-color: rgba(10,175,226,0.25);
}

body.devices #page-wrapper {
  background-color: #ffffff;
  color: #000000;
}

.meta-header {
  background: #0baddf;
}

.meta-header a,
.meta-header a:visited,
.meta-header a:hover {
  color: #f4c117;
}

.meta-header .button,
.meta-header .button:hover,
.meta-header .button:focus {
  border: none;
  background-color: transparent;
  background-image: none;
}

.menu-icon::after,
.menu-button-wrapper .menu-icon:hover::after {
  color: #ffffff;
  background: #ffffff;
  box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff;
}

/*.meta-header-inner .menu-button-wrapper {*/
/*  display: block;*/
/*}*/

.meta-header .menu-button-wrapper span {
  display: none;
}

.js-off-canvas-overlay {
  background: rgba(0,0,0,0.75);
}

.off-canvas {
  padding-top: 64px;
  background-color: #0baddf;
}

.off-canvas .close-button {
  color: #ffffff;
}

.block-mainnavigation a {
  color: #ffffff;
}

.vertical-align {
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  justify-content: center;
}

body.is-front .content-wrapper,
body.upgrade .content-wrapper {
  padding-bottom: 20vh;
  /*background-image: url("/themes/custom/tg/sqad_play/img/bg.png");*/
  /*background-repeat: no-repeat;*/
  /*background-position: center bottom;*/
  /*background-size: contain;*/
}

/* override default */
body.is-front .field--name-body {
  width: 70%;
  padding-bottom: 0;
}
body.is-front .field--name-body img {
  padding-bottom: 2rem;
}
body.is-front .field--name-body h3 {
  font-size: 1.75rem;
}
body.is-front .field--name-body h3:first-child {
  padding-bottom: 2rem;
}

body.is-front .content-wrapper::before,
body.upgrade .content-wrapper::before {
  /*background-color: rgba(10,175,226,0.25);*/
  background-color: transparent;
}

body.devices .content-wrapper::before {
  background-color: transparent;
}


@media (orientation: landscape) {
  body.is-front .content-wrapper,
  body.upgrade .content-wrapper {
    padding-bottom: 0;
  }
}

@media (min-width: 768px) {
  body.is-front .content-wrapper,
  body.upgrade .content-wrapper {
    padding-bottom: 32vh;
  }

  body.is-front .field--name-body h3 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  body.is-front .field--name-body {
    width: 100%;
  }

  body.upgrade #page-wrapper {
    /*background-image: url("/themes/custom/tg/sqad_play/img/bg.png");*/
    /*background-repeat: no-repeat;*/
    /*background-position: center 15%;*/
    /*background-size: contain;*/
    /*background-color: #ffffff;*/
  }

  /*body.is-front #page-wrapper::before,*/
  /*body.upgrade #page-wrapper::before {*/
  /*  background-color: rgba(0,0,0,0.75);*/
  /*}*/

  body.devices #page-wrapper::before {
    background-color: transparent;
  }

  body.is-front .content-wrapper,
  body.upgrade .content-wrapper {
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    -ms-flex-align: center;
    padding-bottom: 0;
    background: none;
    min-height: 50vh;
  }
}

@media (min-width: 1200px) {
  body.is-front #page-wrapper,
  body.upgrade #page-wrapper{
    background-position: center top;
  }

  body.is-front .content-wrapper,
  body.upgrade .content-wrapper {
    min-height: 60vh;
  }

  body.devices #page-wrapper {
    color: black;
  }
}

@media (min-width: 1440px) {
  body.is-front .content-wrapper,
  body.upgrade .content-wrapper {
    min-height: 70vh;
  }
}

.field--name-body h2,
.field--name-body h3,
.field--name-body h5 {
  text-align: center;
}

footer {
  background-color: #0baddf;
  color: white !important;
}

footer h3 {
  color: white;
  text-align: center;
}

#block-devices h2 {
  display: none;
}

#ottera-loader {
  display: inline-block;
  margin-left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  background: url('https://js.static-ottera.com/resources/html5_sqadplay_com/images/loading_ring.png') no-repeat center center;
  background-size: contain;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-o-keyframes spin {
  0% {
    -o-transform: rotate(0deg);
  }
  100% {
    -o-transform: rotate(360deg);
  }
}
@-ms-keyframes spin {
  0% {
    -ms-transform: rotate(0deg);
  }
}

.ottera--row--header {
  font-size: 1.75rem;
  font-weight: 800;
}

.ottera--row--objects {
  margin-bottom: 1rem;
}

.ottera--row--objects .ottera--row--item {
  margin-right: 10px;
  min-width: 170px;
}

.ottera--row--objects .ottera--row--item img {
  width: auto;
  height: 230px;
}

.ottera--row--objects.ottera-row-format--widescreen .ottera--row--item {
  min-width: 200px;
}

.ottera--row--objects.ottera-row-format--widescreen .ottera--row--item img {
  height: 120px;
}

.ottera--row--objects.ottera-row-style--slider .ottera--row--item {
  min-width: 300px;
}

.ottera--row--objects.ottera-row-style--slider .ottera--row--item img {
  height: 170px;
  transform: scale(0.9);
  transition: transform 0.2s;
}

.ottera--row--objects.ottera-row-style--slider .ottera--row--item.is-selected img {
  transform: scale(1);
}

.ottera--row--objects.ottera-row-style--slider .ottera--row--item .premium-overlay {
  font-size: 100%;
}

@media (min-width: 768px) {
  .ottera--row--objects.ottera-row-style--slider .ottera--row--item {
    min-width: 476px;
  }

  .ottera--row--objects.ottera-row-style--slider .ottera--row--item img {
    height: 280px;
  }
}

.node--video .video--title {
  text-transform: none;
  text-align: center;
}

.video--meta {
  padding-bottom: 1em;
  font-size: 85%;
}

.video--meta .field--name-field-origin-country,
.video--meta .field--name-field-origin-country .field__items,
.video--meta .field--name-field-origin-country .field__item,
.video--meta .field--name-field-year,
.video--meta .field--name-field-year .field__item {
  display: inline;
  font-weight: bold;
}

.field--name-field-long-description {
  font-size: 1rem;
}

.video--meta .field--name-field-year .field__item::before {
  content: '/';
  margin: 0 0.25em;
}

.video--taxonomies {
  font-size: 85%;
  padding-bottom: 2rem;
}

.player-container {
  width: 100%;
  display: inline-block;
  position: relative;
}

/* If using the enable_floating, you must have a player-floating inner div */
.player-inner.floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  height: 140px;
  z-index: 2;
  transition: 0.3s;
}

.video--preview.click-to-play {
  position: relative;
  cursor: pointer;
}

.video--preview .play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  min-width: 44px;
  height: 20%;
  min-height: 44px;

  background: url(img/public/play.svg) center center no-repeat;
  background-size: contain;

  opacity: 0.7;
  transition: opacity 0.4s;
}

.video--preview .play-icon:hover,
.video--preview .play-icon:focus {
  opacity: 0.9;
}

.video--preview.click-to-play .player-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: none;
}

.node--show .show--season--episode {
  width: 240px;
  max-width: 240px;
}

.node--show .show--meta .episode-count,
.node--show .show--meta .field--name-field-origin-country,
.node--show .show--meta .field--name-field-year,
.node--show .show--meta .field__items,
.node--show .show--meta .field__item {
  display: inline;
  font-size: 0.85rem;
}

.node--show .show--meta .field--name-field-origin-country::before,
.node--show .show--meta .field--name-field-year::before {
  content: ' / ';
}

.node--show .show--meta .field--name-field-long-description {
  margin-top: 1rem;
  display: block;
  font-size: 1rem;
}

.devices--maker {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.devices--maker a {
  font-size: 2rem;
}

.devices--maker a img {
  display: block;
  max-height: 1.75rem;
}

.devices--maker.devices--linear {
  vertical-align: middle;
}

.devices--maker.devices--linear a {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2%;
}

.devices--maker.devices--linear a:last-child {
  margin-right: 0;
}

.devices--maker.devices--linear a img {
  vertical-align: middle;
  display: inline-block;
  max-height: 3rem;
}
