/*
VERDE: #264F36
GIALLO: #FFBC0D
*/

::selection {
  background: #980014;
}

html {
  font-family: 'Porsche Next';
}

em {
  font-family: 'Porsche Next Italic';
}

strong {
  font-family: 'Porsche Next Bold';
}

h1,
h2,
h3,
h4,
h5,
h6,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6 {
  font-family: 'Porsche Next Bold';
}

.tm-font-normal {
  font-family: 'Porsche Next' !important;
}

.titles {
  font-size: 42px;
}

.uk-input:focus {
  border-color: #000;
}

.limiter {
  margin: 0 auto;
}

.limiter-500 {
  max-width: 500px;
}

.limiter-700 {
  max-width: 700px;
}

.limiter-900 {
  max-width: 900px;
}

.limiter-1000 {
  max-width: 1000px;
}

.limiter-1200 {
  max-width: 1200px;
}

.limiter-1400 {
  max-width: 1400px;
}

.uk-button {
  font-family: 'Porsche Next';
  text-transform: none;
  font-size: 18px;
}

.uk-button-primary,
.uk-button-primary:focus {
  background-color: #d5001c;
}
.uk-button-primary:hover {
  background-color: #b70119;
}

.uk-xlight {
  color: #fff;
}

.platform {
  border-radius: 0 !important;
}

.out-page {
  background-color: #000;
  background-image: url('../img/background.png');
  background-repeat: no-repeat;
  background-position: center 75%;
  background-size: cover;
}

.rows {
  background-image: url('../img/rows.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.black {
  background-color: rgba(0, 0, 0, 0.7);
}

.tm-icon-button,
.tm-icon-button:focus {
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  width: 60px;
}

.tm-icon-button:hover {
  background-color: #d5001c;
  color: #fff;
}

.tm-padding-small {
  padding: 5px;
}

.video-overlay {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.tm-video-tools {
  z-index: 10px;
}

.tm-button-video {
  padding-left: 5px;
  padding-right: 10px;
}

.tm-video-overlay-close {
  margin-top: -40px;
}

#video-info {
  display: none;
  max-width: 200px;
}

.tm-background-primary {
  background-color: #d5001c;
}

.uk-button-default {
  color: #fff;
}

.uk-button-default:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
}

#video-rating {
  display: none;
}

@media (max-width: 1300px) {
  .content-box-wrapper {
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .out-page {
    background-position: center 100px;
  }
  .titles {
    font-size: 25px;
  }

  .uk-flex-column {
    flex-direction: row;
  }
  .grp-bottom {
    width: calc(100% - 20px);
  }
  .grp-bottom .ctrl {
    width: calc(100% / 5);
    height: 60px;
    display: inline-block;
    line-height: 60px;
  }
  .tm-logo {
    width: 200px !important;
  }
  .uk-badge {
    font-size: 0.7em;
    height: 11px;
    width: 98% !important;
    padding: 0 0 !important;
    margin: 0 auto;
    top: 0;
  }
  .content-box-wrapper {
    max-width: 100%;
    margin: 0 10px 80px 10px;
    left: 0;
  }
  .baloon {
    max-width: 95%;
  }
  .tm-chat-wrapper {
    max-height: 250px;
  }
  .tm-poll-wrapper {
    max-height: 250px;
    overflow: auto;
  }
  .tm-user {
    display: block;
    width: 200px;
  }
  .ctrl p::after {
    bottom: -22px;
    font-size: 10px;
  }
  .content-box,
  .content-box::after {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .uk-padding-xsmall:hover {
    background-color: #fff;
    transform: scale(1) rotate(0deg);
    z-index: auto;
  }
  .rotation-alert {
    display: inline !important;
  }
}

@media (orientation: landscape) and (max-width: 900px) {
  .out-page {
    background-position: center 100px;
  }

  .countdown {
    margin-bottom: 6% !important;
    top: 40%;
  }

  .tm-video-overlay-close {
    margin-top: 50px;
  }

  .uk-countdown-label {
    display: none;
  }

  .uk-countdown-number {
    font-size: 2rem;
  }

  .uk-countdown-separator {
    font-size: 1em;
  }

  .uk-flex-column {
    flex-direction: row;
  }
  .grp-bottom {
    width: calc(100% - 20px);
  }
  .grp-bottom .ctrl {
    width: calc(100% / 5);
    height: 60px;
    display: inline-block;
    line-height: 60px;
  }
  .tm-logo {
    width: 200px !important;
  }
  .uk-badge {
    font-size: 0.7em;
    height: 11px;
    width: 98% !important;
    padding: 0 0 !important;
    margin: 0 auto;
    top: 0;
  }
  .content-box-wrapper {
    max-width: 100%;
    margin: 0 10px 80px 10px;
    left: 0;
  }
  .baloon {
    max-width: 95%;
  }
  .tm-chat-wrapper {
    max-height: 150px;
  }
  .tm-poll-wrapper {
    max-height: 150px;
    overflow: auto;
  }
  .tm-user {
    display: block;
    width: 200px;
  }
  .ctrl p::after {
    bottom: -22px;
    font-size: 10px;
  }
  .tm-user-bottom {
    bottom: calc(100% - 75px);
    left: 0px;
  }
  .uk-padding-xsmall:hover {
    background-color: #fff;
    transform: scale(1) rotate(0deg);
    z-index: auto;
  }
  .br-hidden {
    display: inline;
  }
}

.grp-bottom,
.content-box-wrapper {
  bottom: 70px;
}

@media (max-width: 900px) and (orientation: landscape) {
  .content-box-wrapper,
  .grp-bottom {
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

#video_bg {
  /*position: absolute;*/

  /*left: 0;*/
  /*top: 0;*/
  /*right: 0;*/
  /*bottom: 0;*/

  width: 100vw;
  height: 100vh;

  object-fit: contain;
  pointer-events: all !important;
}

.rate > input,
[data-rating] {
  display: none !important;
}
.bg-cont {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#video_bg {
  object-fit: cover;
}
