@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  font-family: 'Roboto', sans-serif;
}

body {
  background: #e8ebf5;
}

.pl-0 {
  padding-left: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.fw-500 {
  font-weight: 500;
}

.text-left {
  text-align: left !important;
}

/** header styles **/
header img {
  max-height: 40px;
}

.nav-masthead .nav-link {
  margin-left: 1.5rem;
  border-bottom: 0;
  padding: 0 10px;
  color: #fff;
}

header {
  margin-bottom: 25px;
}

.navbar-brand {
  /* flex: 2; */
  margin-right: 2rem;
}

.navbar-brand img {
  height: 35px;
}

.navbar-nav .nav-item .nav-link {
  color: #fff;
  font-size: 15px;
}

.dropdown-menu {
  position: absolute;
  top: 65px;
  left: 0;
  width: 700px;
  background: #fff;
  z-index: 102;
  box-shadow: 0 0 3px rgb(0 0 0 / 10%);
}

.dropdown-menu li {
  width: 23%;
  float: left;
  margin: 0 1%;
}

.nav-bar-search-input .search-btn {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  background: #fff;
  border: none;
}

.nav-bar-search-input input {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border-left: 0;
  padding-left: 0;
  border: none;
  font-weight: 300;
}

.nav-bar-search-input input.form-control:focus {
  color: #212529;
  background-color: #fff;
  border: none;
  outline: 0;
  box-shadow: none;
}

.header-bg {
  position: relative;
  height: auto;
  text-align: center;
  /* margin-bottom: 25px; */
  background: #00734d;
  z-index: 50;
}

.header-bg > .container {
  padding: 0 6px;
}

.header-bg > .container > nav > .container-fluid {
  padding: 0;
}

/** end header **/


/** home **/

.related-wrapper {
  margin-bottom: 50px;
}

.home {
  padding: 60px 0 0;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  /* margin-bottom: 80px; */
}

.home-search-title h2 {
  font-size: 2.2em;
  font-weight: 300;
  margin: 0 0 30px;
  color: #fff;
}

main .home-search {
  position: absolute;
  width: 100%;
}

main .home-search .search-btn {
  height: 60px;
  cursor: pointer;
  width: 65px;
  background: #fff;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  color: #000;
  padding-left: 20px;

  box-shadow: 18px 8px 15px 0px #a9a8a8;
}

main .home-search .search-btn svg {
  width: 25px;
  height: 25px;
  color: #00583c;
}

main .home-search form {
  display: flex;
}

main .home-search input {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border: none;
  padding-left: 5px;
  height: 60px;
  font-size: 22px;
  font-weight: 300;

  box-shadow: 15px 8px 16px 0px #a9a8a8;
}

main .home-search button {
  height: 60px;
  width: 68px;
  border-radius: 50px;
  margin-left: 10px;
  border: none;
  background: #fff;

  box-shadow: 0 8px 15px 0px #a9a8a8;
  z-index: 10;
}

main .home-search button svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00583c;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 15px 8px 16px 0px #a9a8a8;
}

.main-content {
  margin-bottom: 50px;
}

/** end home **/


/** main **/
.trending-content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  grid-auto-rows: minmax(100px, auto);
}

.trending-tab {
  display: flex;
  margin-bottom: 15px;
}

.trending-tab h2 {
  font-size: 30px!important;
  line-height: 1.3em;
  font-weight: 300;
  padding: 0;
  margin: 0;
  margin-right: 24px;
}

.flw-item {
  margin-bottom: 15px;
}

.flw-item .film-poster {
  position: relative;
  margin-bottom: 10px;
}

.flw-item .film-poster img {
  width: 100%;
  border-radius: 10px;
}

.flw-item .film-poster .film-quality {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  font-size: 14px;
  font-family: arial;
  font-weight: 600;
  display: inline-block;
  padding: 3px 4px;
  border-radius: 2px;
  color: #111;
  background: #fff;
}

.film-name {
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
}

.film-name a {
  text-decoration: none;
  color: #111;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  margin: 3px 5px;
}

.fd-infor {
  text-align: left;
  font-size: 12px;
}

.fd-infor .fdi-type {
  font-size: .9em;
  line-height: 1em;
  padding: 2px 4px;
  border: 1px solid #aaa;
  border-radius: 3px;
  float: right;
}

.film-poster .film-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: inline-block;
}

.film-poster .film-link svg {
  color: #fff;
  width: 24px;
  position: absolute;
  top: 50%;
  left: 50%;

  opacity: 0;
  z-index: 4;
  margin-top: -12px;
  margin-left: -7px;
  transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
}

.film-poster:hover .film-link svg {
  opacity: 1;
}

.film-poster .film-link:before {
  content: "";
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  border-radius: 50%;
  background: #00563b;
  opacity: 0;
  z-index: 2;

  position: absolute;
  top: 50%;
  left: 50%;
  transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
}

.film-poster:hover .film-link:before {
  opacity: 1;
}


.film-poster .film-link:after {
  content: "";
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  opacity: 0;
  background: rgba(22,22,22,.5);
  z-index: 1;
  transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
}

.film-poster:hover .film-link:after {
  height: 100%;
  opacity: 1;
  transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
}

.film-poster:hover {
  transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
}
/** end main **/


/** footer **/
footer {
  background: #000;
  color: #fff;
  padding: 45px 0;
}

footer .footer-logo {
  flex: 2;
}

footer .footer-nav {
  max-width: 50%;
}

footer .container {
  display: flex;
  gap: 50px;
  /* width: 90%; */
  margin: 0 auto;
  justify-content: space-between;
}

footer .footer-nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

footer .footer-nav ul a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.footer-nav .about-text {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.3em;
  text-align: left;
  color: #b9b9b9;
}

.footer-disclaimer span {
  display: inline-block;
  padding: 10px;
  background: rgba(0,0,0,.1);
  width: 100%;
  max-width: 250px;
  font-size: 12px;
  line-height: 1.3em;
  font-weight: 300;
  border: 1px solid #393939;
  text-align: left;
  position: relative;
}

.copyright {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 0;
}
/** end footer **/



/** hero banner **/
body main {
  background: #e8ebf5;
  padding-bottom: 50px;
  min-height: calc(100vh - 326px);
}

main .detail-page > .container > .pre-breadcrumb ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex; 
  position: relative;
  z-index: 10;
  color: #000;
  padding: 20px 0;
  /* gap: 15px; */
}

main .detail-page > .container > .pre-breadcrumb ul li::before {
  color: #000;
  display: inline-block;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  content: "/";
}

main .detail-page > .container > .pre-breadcrumb ul li:first-child:before {
  color: #fff;
  content: '';
  padding: 0;
}

.information {
  background: rgb(255, 170, 0);
  color: rgb(17, 17, 17);
  font-size: 16px;
  font-weight: 600;
}

.watch-iframe {
  height: 680px!important;
  background-color: #000;
}

.watch-iframe iframe {
  width: 100%!important;
  height: 100%!important;
}

main .container .play-cover {
  z-index: 1;
  position: relative;
  padding-bottom: 42%;
  display: flex;
  justify-content: center;
}

main .container .play-cover a {
  color: #fff;
  position: absolute;
  top: 35%;
  padding: 30px;
  background-color: #007c4d;
  border-radius: 50%;
}

main .container .play-cover svg {
  width: 45px;
  position: relative;
  right: -10px;
  top: 1px;
}

main .detail-page > .container > .content {
  display: flex;
  position: relative;
  z-index: 10;
  background: #fff;
  padding: 30px;
  margin-top: 3%;
  border-radius: 8px;
}

main .detail-page > .container > .content .poster-left {
  margin-right: 30px;
}

main .detail-page > .container > .content .poster-left img {
  width: 180px;
}

main .detail-page > .container > .content .movie-detail .action-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

main .detail-page > .container > .content .movie-detail .movie-name {
  text-align: left;
  margin-bottom: 15px;
}

main .detail-page > .container > .content .movie-detail .movie-name a {
  text-decoration: none;
  font-size: 2.5rem;
  line-height: 1.3em;
  font-weight: 300;
  color: #111;
}

main .detail-page > .container > .content .movie-detail .description {
  text-align: left;
  margin-bottom: 15px;
  line-height: 1.5em;
  font-size: 17px;
  font-weight: 300;
}

main .detail-page > .container > .content .movie-detail .film-meta {
  display: flex;
  text-align: left;
  font-size: 17px;
  font-weight: 300;
}

main .detail-page > .container > .content .movie-detail .film-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

main .detail-page > .container > .content .movie-detail .film-meta ul li {
  padding: 3px 0;
}

/** end hero banner **/


/** Responsive **/

@media screen and (max-width: 639px) {
  .content > .poster-left {
    display: none;
  }

  .trending-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .dropdown-menu li {
    width: 30% !important;
  }

  .watch-iframe {
    height: 300px !important;
  }
}

@media screen and (min-width: 639px) {
  .trending-content {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .dropdown-menu li {
    width: 20% !important;
  }

  .watch-iframe {
    height: 400px !important;
  }
}

@media screen and (min-width: 759px) {
  .trending-content {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media screen and (max-width: 991px) {
  .navbar-expand-lg .navbar-collapse {
    position: absolute;
    top: 61px;
    background: black;
    width: 100%;
    text-align: left;
    padding: 10px;
  }

  .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    width: 100%;
    font-size: 12px;
  }

  .dropdown-item {
    color: #fff;
  }

  .dropdown-menu li {
    width: 12%;
  }
}

@media screen and (max-width: 998px) {
  .footer-logo {
    display: none;
  }

  footer {
    padding: 20px 0;
  }

  footer .container {
    gap: 10px;
  }
}

@media screen and (min-width: 998px) {
  .trending-content {
    grid-template-columns: repeat(6, 1fr) !important;
  }

  .watch-iframe {
    height: 500px !important;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  main .container .play-cover {
    padding-bottom: 38%;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .watch-iframe {
    height: 680px !important;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .trending-content {
    grid-template-columns: repeat(8, 1fr) !important;
  }
}

@media screen and (min-width: 1600px) {
  .container {
    max-width: 1600px;
  } 
}

.watching_control ul {
  list-style: none; 
  display: flex; 
  gap: 10px; 
  padding: 0; 
  margin-top: 0.5rem;
  justify-content: center;
}

.watching_control li {
  background-color: rgba(38,109,93, 1);
  padding: 5px 30px;
  border-radius: 5px;
}

.watching_control li span {
  font-size: 13px;
  color: #ccc2c2;
}

.watching_control li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}


.show-container .episodes a {
  text-decoration: none;
  border-radius: 3px;
  height: 43px;
  background: rgba(22,22,22,.05);
  text-align: left;
  padding: 12px 20px;
  color: #111;
  border: none!important;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 300;
}

.show-container .episodes svg {
  position: relative;
  top: -2px;
}


.show-container {
  /* display: flex;
  z-index: 10; */
  background: #fff;
  padding: 30px;
  margin-top: 3%;
  border-radius: 8px;
}

.show-container .episodes {
  display: grid;
  grid-gap: 10px;
  margin-top: 10px;
}


.show-container select {
  width: 200px;
  background-color: rgb(222, 226, 230);
  border-radius: 2px;
  font-weight: bold;
}


.show-container select:focus {
  box-shadow: none;
  border-color: transparent;
}


@media screen and (max-width: 639px) {
  .watching_control ul {
    display: block;
  }

  .watching_control ul li {
    margin-bottom: 5px;
  }
}


/** End Responsive **/

.dflex {
  display: flex;
  margin-top: 3px;
}

.tagdiv {
  margin-right: 5px;
  font-weight: bolder;
}

.tags h2 {
  font-size: 15px;
  display: inline;
}