* {
  outline: none;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  color: #c8c8c8;
}

img {
  max-width: 100%;
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: #fe6845;
  text-decoration: underline;
}

h1, h2, h3 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: normal;
  text-transform: uppercase;
}
h1 small, h2 small, h3 small {
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

.input-text {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  background-color: #fff;
  box-sizing: border-box;
  font-size: 14px;
  color: #161616;
  -webkit-appearance: none;
}
.input-text:focus {
  border-color: #fe6845;
}

.button {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  display: inline-block;
  border: 0;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #2e2e2e;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 32px;
}
.button:hover {
  background-color: #fe6845;
  color: #fff;
  text-decoration: none;
}
.button.button-alt {
  background-color: #fe6845;
}
.button.button-alt:hover {
  opacity: 0.8;
}
.button.button-empty {
  border: 1px solid #666;
  background-color: transparent;
  color: #fff;
  line-height: 30px;
}
.button.button-empty:hover {
  border-color: #fe6845;
  background-color: #fe6845;
  color: #fff;
}
.button[disabled] {
  pointer-events: none;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.general-content {
  flex-grow: 1;
}
.general-content > .container {
  max-width: 1920px;
}

.container {
  width: 100%;
  max-width: 1298px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.general-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #161616;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.general-content {
  padding-top: 60px; /* Adjust based on actual header height */
  flex-grow: 1;
}
.general-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.general-header a {
  color: #fff;
}
.general-header a:hover {
  color: #fe6845;
}

.logo {
  width: 220px;
  height: 39px;
  flex-shrink: 0;
}
.logo img {
  display: block;
}

.menu {
  margin: 0 0 0 12px;
  padding: 0 0 0 15px;
  border-left: 1px solid #2e2e2e;
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
}
.menu ul {
  margin: 0;
  padding: 0;
  display: flex;
}
.menu ul li {
  margin: 0 10px 0 0;
  padding: 0;
  list-style: none;
}
.menu ul li:last-child {
  margin-right: 0;
}

.countries, .groups {
  width: auto;
  min-width: 160px;
  background-image: url(../images/select.png);
  background-position: right;
  background-repeat: no-repeat;
}

.groups {
  display: none;
}

.toggle {
  width: 32px;
  height: 32px;
  margin: 0 0 0 auto;
  display: none;
  background: url(../images/menu.png) no-repeat center;
  background-size: 32px;
  cursor: pointer;
}
.toggle.toggled {
  background-image: url(../images/close.png);
}

.general-header .button:hover, .general-footer .button:hover {
  color: #fff;
}
.general-header .button.button-empty, .general-footer .button.button-empty {
  border-color: #fff;
  color: #fff;
}
.general-header .button.button-empty:hover, .general-footer .button.button-empty:hover {
  border-color: #fe6845;
  background-color: #fe6845;
  color: #fff;
}

.paginator {
  margin: 8px auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  line-height: 38px;
}
.paginator li {
  margin: 2px;
  padding: 0;
  list-style: none;
}
.paginator .button {
  min-width: 40px;
  height: 40px;
  font-weight: normal;
  line-height: 40px;
}
.paginator .button.button-empty {
  line-height: 38px;
}

.thumbnails {
  margin: 10px -3px;
  display: flex;
  flex-wrap: wrap;
}

.tmb {
  width: calc(100% / 4 - 6px);
  margin: 0 3px 6px 3px;
  display: block;
}
.tmb-image {
  position: relative;
  padding: 56.25% 0 0 0;
  display: block;
}
.tmb-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.tmb-title, .tmb-keywords {
  height: 24px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 24px;
}
.tmb-title {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
.tmb:hover {
  text-decoration: none;
}
.tmb:hover .tmb-image img {
  outline: 1px solid #fe6845;
  outline-offset: -1px;
}
.tmb:hover .tmb-title {
  text-decoration: none;
}

.movie {
  max-width: 1278px;
  margin: 10px auto;
  display: flex;
}
.movie-col {
  flex-grow: 1;
}
.movie-player {
  position: relative;
  padding: 56.25% 0 0 0;
}
.movie-player > iframe, .movie-player .player-code {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.movie-aside {
  width: 300px;
  margin: 0 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.movie-aside > div {
  flex-shrink: 0;
  margin-bottom: 10px;
}
.movie-aside > div:last-child {
  margin-bottom: 0;
}

.mobile {
  width: 300px;
  margin: 10px auto;
}

.bottom-content {
  margin: 30px 0;
  height: 250px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.bottom-content > div {
  width: 300px;
  height: 250px;
  margin: 0 5px;
  flex-shrink: 0;
}

.general-footer {
  margin-top: 20px;
  padding: 15px 0;
  background-color: #161616;
  color: #fff;
  text-align: center;
}
.general-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.general-footer a {
  color: #fff;
}
.general-footer a:hover {
  color: #fe6845;
}
.general-footer .footer-menu {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.general-footer .footer-menu li {
  margin: 0 10px;
  padding: 0;
  list-style: none;
}
.general-footer .logo {
  margin: 15px 0;
}
.general-footer .legal-info {
  margin: 0;
}

@media screen and (max-width: 1199px) {
  .tmb {
    width: calc(100% / 3 - 6px);
  }

  .movie {
    flex-direction: column;
  }
  .movie-aside {
    width: 100%;
/*     height: 250px; */
    margin: 10px 0 0 0;
    overflow: hidden;
    flex-direction: row;
    justify-content: center;
  }
  .movie-aside > div {
    margin: 0 5px;
  }
}
@media screen and (max-width: 960px) {
  .container {
    padding: 0 6px;
  }

  .menu {
    margin: 0;
    padding: 10px 0 0 0;
    border: 0;
    display: none;
    flex-direction: column;
  }
  .menu .countries {
    width: 100%;
  }
  .menu .groups {
    width: 100%;
    margin: 10px 0 0 0;
    display: block;
  }
  .menu ul {
    width: 100%;
  }
  .menu ul li {
    margin: 10px 10px 0 0;
  }
  .menu.open {
    display: flex;
  }

  .toggle {
    display: block;
  }

  .tmb {
    width: calc(100% / 2 - 6px);
  }
  .tmb-title {
    font-size: 14px;
  }

  .mobile {
    display: block;
  }
}
