* {
  outline: none;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: #f4f5f9;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #262626;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  font-weight: 400;
  color: #262626;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  margin: 10px auto 10px 0;
  font-size: 24px;
  font-weight: 700;
  color: #262626;
}
h1 small, h2 small, h3 small {
  font-weight: 400;
  color: #666;
}

.heading {
  margin: 5px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-items: center;
          align-items: center;
}
.heading h1, .heading h2, .heading h3 {
  margin: 5px auto 5px 0;
}

.sort {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}
.sort li {
  margin: 0 5px 0 0;
  padding: 0;
  list-style: none;
}
.sort li:last-child {
  margin-right: 0;
}

.input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dedfe2;
  border-radius: 3px;
  background-color: #fff;
  box-sizing: border-box;
  font-size: 14px;
  color: #262626;
}
.input:focus {
  border-color: #fcb25e;
}

.btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-block;
  border: 1px solid #d6dae9;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #d6dae9;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  text-align: center;
  cursor: pointer;
  line-height: 34px;
}
.btn:hover, .btn.active {
  border-color: #fcb25e;
  background-color: #fcb25e;
  color: #262626;
  text-decoration: none;
}
.btn.btn-alt {
  border-color: #fcb25e;
  background-color: #fcb25e;
  font-weight: 500;
  color: #262626;
}
.btn.btn-alt:hover {
  opacity: 0.9;
}

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

.main {
  -webkit-flex-grow: 1;
          flex-grow: 1;
}

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

.header {
  background-color: #292649;
  color: #fff;
}
.header a:not(.btn) {
  color: #fff;
}
.header .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
          align-items: center;
}

.logo {
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  font-size: 30px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 40px;
}
.logo img {
  display: block;
}
.logo span {
  color: #fcb25e;
  text-transform: none;
}
.logo:hover {
  text-decoration: none;
}

.togglers {
  margin: 0 0 0 auto;
  display: none;
}
.togglers .la {
  margin: -3px 0 0 0;
  vertical-align: middle;
  font-size: 20px;
}
.togglers .btn {
  background-color: #393563;
  border-color: #393563;
  color: #fff;
}
.togglers .btn.active {
  background-color: #fcb25e;
  border-color: #fcb25e;
  color: #262626;
}

.search {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0;
}
.search-input {
  border-color: transparent;
}
.search-btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 36px;
  background-color: #fcb25e;
  border: 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  cursor: pointer;
  font-size: 22px;
  text-align: center;
  line-height: 36px;
  color: #262626;
}

.nav {
  margin: 0 10px 0 auto;
}
.nav ul {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
}
.nav ul li {
  margin: 0 10px 0 0;
  padding: 0;
  list-style: none;
}
.nav ul li:last-child {
  margin-right: 0;
}
.nav ul li .btn {
  min-width: 100px;
}
.nav ul li.active a {
  text-decoration: underline;
  pointer-events: none;
}

.thumbs {
  margin: 0 -5px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
}

.thumb {
  position: relative;
  width: calc(20% - 10px);
  margin: 0 5px 10px 5px;
  display: block;
  color: #262626;
  background-color: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
}
.thumb-img {
  position: relative;
  padding: 56.25% 0 0 0;
}
.thumb-img > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.thumb-title, .thumb-description, .thumb-tags {
  width: 100%;
  height: 24px;
  margin: 5px 0;
  padding: 0 5px;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}
.thumb-title {
  text-align: center;
  font-weight: 700;
}
.thumb-description {
  margin: 5px 0 0 0;
  text-align: left;
}
.thumb-tags {
  margin: 0 0 5px 0;
  text-align: left;
}
.thumb-tags a {
  height: 20px;
  padding: 0 4px;
  margin: 0 2px 0;
  display: inline-block;
  border-radius: 3px;
  background-color: #fcb25e;
  font-size: 12px;
  text-decoration: none;
  line-height: 20px;
  color: #262626;
}
.thumb-tags a:hover {
  background-color: #2c2c2c;
  color: #fff;
}
.thumb-duration, .thumb-rating, .thumb-amount {
  position: absolute;
  top: 5px;
  padding: 0 5px;
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
  line-height: 20px;
}
.thumb-duration .la, .thumb-rating .la, .thumb-amount .la {
  margin: -2px 2px 0 0;
  vertical-align: middle;
  font-size: 18px;
}
.thumb-duration {
  left: 5px;
}
.thumb-rating, .thumb-amount {
  right: 5px;
}
.thumb a {
  color: #262626;
}

.embed {
  width: 100%;
  margin-top: 10px;
  display: -webkit-flex;
  display: flex;
}
.embed-column {
  position: relative;
  -webkit-flex-grow: 1;
          flex-grow: 1;
}
.embed-player {
  position: relative;
  padding-bottom: 66%;
}
.embed-player iframe, .embed-player .player-code {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.embed-bar {
  margin: 0 0 10px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: space-between;
          justify-content: space-between;
  border-bottom: 1px solid #ccc;
}
.embed-rate {
  position: relative;
  margin: 0 auto 0 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  line-height: 38px;
}
.embed-rate a {
  margin: 0 30px 0 0;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
          align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.embed-rate a:last-of-type {
  margin: 0;
}
.embed-rate a:hover {
  text-decoration: none;
}
.embed-rate .btn-like {
  color: #5b850e;
}
.embed-rate .btn-dislike {
  color: #d11c1c;
}
.embed-rate .la {
  margin: -2px 5px 0 0;
  font-size: 30px;
}
.embed-rate .la-thumbs-up {
  color: #5b850e;
}
.embed-rate .la-thumbs-down {
  color: #d11c1c;
}
.embed-rate-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: #d11c1c;
}
.embed-rate-line span {
  height: 1px;
  display: block;
  background-color: #5b850e;
}
.embed-info {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}
.embed-info > div {
  margin: 0 0 0 15px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
          align-items: center;
}
.embed-info > div span {
  margin-right: 5px;
}
.embed-info > div .la {
  margin: -2px 5px 0 0;
  font-size: 20px;
  color: #262626;
}
.embed-links a {
  margin: 2px;
  padding: 1px 5px;
  display: inline-block;
  border-radius: 3px;
  background-color: #fcb25e;
  font-size: 12px;
  font-weight: 500;
  color: #262626;
  text-transform: uppercase;
}
.embed-links a:hover {
  background-color: #2c2c2c;
  color: #fff;
  text-decoration: none;
}
.embed-sidebar {
  min-width: 300px;
  margin: 0 0 0 10px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
          flex-direction: column;
  text-align: center;
}
.embed-sidebar > div {
  min-width: 300px;
  max-width: 300px;
  margin-bottom: 10px;
}

.pagination {
  margin: 13px auto;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: center;
          justify-content: center;
  text-align: center;
  line-height: 44px;
}
.pagination li {
  margin: 2px;
  padding: 0;
  list-style: none;
}
.pagination .la {
  margin: -2px 0 0 0;
  vertical-align: middle;
  font-size: 18px;
}
.pagination .btn {
  min-width: 40px;
  min-height: 40px;
  line-height: 38px;
}
.pagination .btn.active {
  pointer-events: none;
}

.related-searches {
  margin: 0 0 20px 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
}
.related-searches li {
  margin: 0 10px 0 0;
  padding: 0;
  list-style: none;
}
.related-searches li a {
  color: #262626;
}
.related-searches li a:hover {
  color: #fcb25e;
  text-decoration: none;
}
.related-searches li .la {
  margin: -2px 5px 0 0;
  vertical-align: middle;
}
.related-searches .size-1 {
  font-size: 12px;
}
.related-searches .size-2 {
  font-size: 15px;
}
.related-searches .size-3 {
  font-size: 18px;
}
.related-searches .size-4 {
  font-size: 20px;
}
.related-searches .size-5 {
  font-size: 22px;
}

.groups {
  margin: 0 0 20px 0;
  padding: 0;
  -webkit-column-count: 5;
     -moz-column-count: 5;
          column-count: 5;
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
}
.groups li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 4px 0;
  box-sizing: border-box;
  display: inline-block;
  list-style: none;
}
.groups li.groups-title {
  padding-right: 5px;
  padding-left: 5px;
  font-weight: 700;
}
.groups li.groups-title strong {
  min-width: 22px;
  display: inline-block;
  background-color: #fcb25e;
  color: #262626;
  text-align: center;
}
.groups a {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
          align-items: center;
  padding: 2px 5px;
  border-radius: 3px;
  background-color: #f6f6f6;
  color: #262626;
}
.groups a span {
  margin: 0 0 0 auto;
  padding: 0 4px;
  display: inline-block;
  font-size: 12px;
  color: #666;
}
.groups a:hover {
  background-color: #fcb25e;
  color: #262626;
  text-decoration: none;
}
.groups a:hover span {
  color: #262626;
}

.sites {
  margin: 0 0 20px 0;
  padding: 0;
  -webkit-column-count: 5;
     -moz-column-count: 5;
          column-count: 5;
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
}
.sites li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 4px 0;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
  display: -webkit-flex;
  display: flex;
  font-size: 14px;
}
.sites li a {
  display: -webkit-flex;
  display: flex;
  color: #262626;
}
.sites li a:hover {
  color: #fcb25e;
}
.sites li span {
  margin: 0 10px 0 0;
  min-width: 22px;
  display: inline-block;
  background-color: #fcb25e;
  font-weight: 700;
  color: #262626;
  text-align: center;
}

.main-aside {
  height: 250px;
  margin: 20px -5px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: center;
          justify-content: center;
  overflow: hidden;
}
.main-aside > div {
  min-width: 300px;
  max-width: 300px;
  margin: 0 5px;
}

.footer {
  padding: 20px 0;
  background-color: #292649;
  color: #fff;
}
.footer .container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: center;
          align-items: center;
  text-align: center;
}
.footer a {
  color: #fff;
}
.footer .logo {
  margin: 0 0 10px 0;
}

@media screen and (max-width: 1199px) {
  .thumb {
    width: calc(100% / 4 - 10px);
  }

  .embed {
    -webkit-flex-direction: column;
            flex-direction: column;
  }
  .embed-sidebar {
    width: 100%;
    max-height: 250px;
    margin: 0;
    overflow: hidden;
    -webkit-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-justify-content: center;
            justify-content: center;
  }
  .embed-sidebar > div {
    margin: 0 5px;
  }

  .groups, .sites {
    -webkit-column-count: 4;
       -moz-column-count: 4;
            column-count: 4;
  }
}
@media screen and (max-width: 1023px) {
  .toggled {
    display: block !important;
  }

  .header .container {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
  }

  .togglers {
    display: block;
  }

  .search {
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0 0;
    display: none;
  }

  .buttons {
    display: none;
  }

  .nav {
    width: 100%;
    margin: 5px 0 -5px 0;
    display: none;
  }
  .nav ul {
    width: 100%;
    -webkit-flex-direction: column;
            flex-direction: column;
  }
  .nav ul li {
    margin: 5px 0;
  }
  .nav ul li a {
    display: block;
  }

  .thumb {
    width: calc(100% / 3 - 10px);
  }

  .embed-rating {
    width: 100%;
  }

  .groups, .sites {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
  }
}
@media screen and (max-width: 767px) {
  .thumb {
    width: calc(100% / 2 - 10px);
  }

  .groups, .sites {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }
}
@media screen and (max-width: 479px) {
  h1, h2, h3 {
    font-size: 20px;
    line-height: normal;
  }

  .groups {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
  }
  .groups a {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    box-sizing: border-box;
  }
  .groups a span {
    margin-left: auto;
  }
  .groups a span::before {
    display: none;
  }

  .sites a {
    font-size: 13px;
  }
}
