/*
@font-face {
  font-family: "FontName";
  src: local('FontName'),
       local('FontName'),
        url("fonts/FontName.ttf") format("truetype");
}
*/

/* Override devices page */
.devices-body .section {
  border-bottom: none;
}

body {
  font-family: OpenSans-Bold, "Century Gothic", CenturyGothic, sans-serif;
  color: #ffffff;
  background-color: #000000;
  min-height: 100vh;
}

body.node-type-page {
  font-family: OpenSans, "Century Gothic", CenturyGothic, sans-serif;
}

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

.breadcrumbs {
  display: none;
}

a,
 .breadcrumbs a {
  color: #b9090b;
  transition: color 0.3s;
}

.devices-body a {
  color: black;
  transition: color 0.3s;
}

.devices-body a:hover {
  color: black;
}

.card-divider:hover {
  background-color: #b9090b;
  cursor: pointer;
}

.devices-body p {
  margin-bottom: 0rem;
}

a:hover,
a:focus {
  color: #b9090b;
}

.meta-header {
  position: fixed;
  width: 100%;
  z-index: 500;
  background: #131313;
  color: #ffffff;
  -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 a,
.off-canvas a {
  color: #ffffff;
}

.meta-header a:hover,
.meta-header a:focus,
.off-canvas a:hover,
.off-canvas a:focus {
  color: #ffffff;
}

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

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

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

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

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

label {
  color: #ffffff;
}

nav.tabs {

}

.button {
  background-color: #b9090b;
  background-image: linear-gradient(#b9090b, #9e080a);
  -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 #ffffff;
}


.button:hover {
  background-color: #999999;
  background-image: linear-gradient(#b9090b, #9e080a);
}

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

table thead,
table tbody,
table tfoot {
  background-color: #b9090b;
  color: #ffffff;
}

/* prevents striping for dark themes */
table tbody tr {
  background-color: #b9090b;
}

table a {
  color: #ffffff;
  text-decoration: underline;
}

table a:hover {
  color: #ffffff;
}

#block-ubisoft-tv-primary-local-tasks {
  margin: 1rem 0;
}

#block-ubisoft-tv-local-actions li {
  list-style-type: none;
}

footer {
  background: #131313;
  color: #ffffff;
  border-bottom-color: #b9090b;
}

footer a:hover,
footer a:focus {
  color: #ffffff;
}

#gdpr-footer {
  background: #131313;
  color: #ffffff;
}

#gdpr-footer a {
  color: #ffffff;
}

/* Maybe CHANGE ME */
.ottera--epg {
  background: ; /* default: #000000aa */
  color: ; /* default: #FFFFFF */
}

.ottera--row--objects.flickity-enabled.flickity--past-start::before,
.ottera--row--objects.ottera-row-style--slider.flickity-enabled::before,
.show--season-episodes.flickity-enabled.flickity--past-start::before {
  background: linear-gradient(to left, #00000000 0, #000000 100%);
}

.ottera--row--objects.flickity-enabled:not(.flickity--at-end)::after,
.ottera--row--objects.ottera-row-style--slider.flickity-enabled::after,
.show--season-episodes.flickity-enabled:not(.flickity--at-end)::after  {
  background: linear-gradient(to right, #00000000 0, #000000 100%);
}

/* Maybe CHANGE ME */
.install-android--icon a {
  background-image: url("/themes/custom/ubl/ubisoft_tv/icon-192.png");
}

/* Maybe CHANGE ME if the border settings doesn't make sense */
.ottera-row-format--widescreen .ottera--row--item img,
.ottera-row-format--poster .ottera--row--item img,
.ottera--epg, .ottera--epg img {
  border: px solid #ffffff;

  border-radius: 5px; /* default: 10px */
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;

  transition: border-color 0.5s;
}

/* Maybe CHANGE ME if the color doesn't exist */
.ottera-row-format--widescreen .ottera--row--item img:hover,
.ottera-row-format--widescreen .ottera--row--item img:focus,
.ottera-row-format--poster .ottera--row--item img:hover,
.ottera-row-format--poster .ottera--row--item img:focus,
.ottera-row-format--widescreen .ottera--row--item:hover img,
.ottera-row-format--widescreen .ottera--row--item:focus img,
.ottera-row-format--poster .ottera--row--item:hover img,
.ottera-row-format--poster .ottera--row--item:focus img,
.ottera--epg:hover,
.ottera--epg:focus {
  border-color: #ffffff; /* default: #ffffff */
}


/* CHANGE ME if you want to display product names on the upgrade page
.upgrade-body .product--name {
  display: block;
}
*/

/*
CHANGE ME if the row headers should be uppercased (force_uppercase_row_titles in Channel.plist)
.ottera--row--header {
  text-transform: uppercase;
}
*/

@media all and (min-width: 1024px) {
  .ottera-row-format--widescreen .ottera--row--item img,
  .ottera-row-format--poster .ottera--row--item img,
  .ottera--epg, .ottera--epg img {
    border-radius: calc(5px * 2);
    -moz-border-radius: calc(5px * 2);
    -webkit-border-radius: calc(5px * 2);
  }

  .ottera-content > .ottera-row-format--widescreen .ottera--row--item img,
  .ottera-content > .ottera-row-format--poster .ottera--row--item img,
  .ottera--epg, .ottera--epg img {
    border-radius: calc(5px * 4);
    -moz-border-radius: calc(5px * 4);
    -webkit-border-radius: calc(5px * 4);
  }
}

/*Add devices logos to the footer*/
.devices-list .pluto-tv{
  background-image: url('/themes/custom/ubl/ubisoft_tv/img/devices/pluto-tv-white.png');
}

.devices-list .samsung-tv-plus{
  background-image: url('/themes/custom/ubl/ubisoft_tv/img/devices/samsung-tv-plus-white.png');
}

/* CHANGE ME
If you want to replace the Kaltura spinner with a custom one, network_loading_ring.png from the channel artwork could work here:

.playkit-spinner {
  background: url('img/network_loading_ring.png');
  background-size: cover;
}

.playkit-spinner span {
  display: none !important;
}
*/
.card {
  width: 200px;
  margin: 20px 20px;
  padding: 20px 0px 0px 0px;
  max-height: 500px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 5px 10px grey;
}

body.devices .thumbnail {
  max-width: 236px;
}

.card-divider {
  padding: none;
}

.devices-body .devices-tv-img.has-logo {
  width: 236px;
  left: 50%;
  transform: translateX(-50%);
}

.card-divider {
  display: unset;
}

.card-section {
  flex: unset
}

.card-section-android, .card-section-iphone {
  margin: 40px 0px 0px 0px;
}
