/* CSS clear based on http://meyerweb.com/eric/tools/css/reset/ */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers and specific declarations */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

/* Main definitions */

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  padding: 0;
  margin: 0;
  position: relative;
  background: #f4ead5;
}

body,
td,
p {
  color: #fff;
  font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6em;
}

b,
strong {
  font-weight: bold;
}

i,
em {
  font-style: italic;
}

a,
a:visited {
  color: #e7e7e7;
  text-decoration: underline;
}

a:hover,
a:active {
  color: #fff;
  text-decoration: underline;
}

p {
  margin-bottom: 1em;
  text-align: justify;
}

hr {
  height: 1px;
  display: block;
  clear: both;
  padding: 0;
  margin: 15px 0;
  background: #333;
  border: none;
}

h1 {
  font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 34px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  text-align: center;
}

h2 {
  font-family: "Roboto", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 30px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  text-align: center;
}

.clear {
  clear: both;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.wrapper {
  width: 1030px;
  margin: 0 auto;
}

.desktop {
  display: block !important;
}

.mobile {
  display: none !important;
}

/* Header */

header {
  min-height: 250px;
  background: url("../images/header-bgd.jpg") center center no-repeat;
  background-size: cover;
  border-bottom: 6px solid #fff;
}

header .header-slogan {
  padding: 5px 0;
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

header .logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 5px auto 0 auto;
}

header .button {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2px auto;
}

/* Slider */

.slider-section {
  padding: 20px 0;
  background: #c6e5d9;
}

.slider-main {
  width: 765px;
  height: auto;
  position: relative;
  float: right;
  background: #000;
}

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%;
  z-index: 10;
  margin-top: -30px;
  background-color: rgba(255, 255, 255, 0.45);
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.owl-carousel .owl-prev {
  left: 0;
  background-image: url("../images/icon-arrow-left.png");
}

.owl-carousel .owl-next {
  right: 0;
  background-image: url("../images/icon-arrow-right.png");
}

.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.slider-side {
  width: 265px;
  float: left;
}

.slider-side .slider-side-image {
  width: 265px;
  height: auto;
  display: block;
}

.slider-side .slider-side-link {
  width: 265px;
  height:auto;
  background: #ff5180;
}

.slider-side .slider-side-link a {
  display: block;
  padding: 2px;
  text-align: center;
  text-decoration: none;
}

.slider-side .slider-side-link a .text-01 {
  display: block;
  color: #fff;
  font-size: 36px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 5px;
}

.slider-side .slider-side-link a .text-02 {
  display: block;
  color: #fff;
  font-size: 36px;
  line-height: 30px;
  font-weight: 600;
}

.slider-side .slider-side-link a .text-03 {
  display: block;
  color: #5bf4e9;
  font-size: 18px;
  line-height: 16px;
  font-weight: 600;
}

/* Intro section */

h2.heading {
  color: #fff;
}

.intro-section {
  padding: 20px 0;
  background: #3fb8af;
  border-top: 6px solid #fff;
  border-bottom: 6px solid #fff;
  text-align: center;
}

.intro-section p {
  margin: 15px 0;
  font-size: 19px;
  line-height: 24px;
  text-align: justify;
}

.button-become {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
}

/* Thumbs section */

.thumbs-section {
  padding: 20px 0 5px 0;
}

.thumbs .item {
  width: 194px;
  height: auto;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

.thumbs .item:nth-child(5n) {
  margin-right: 0;
}

.thumbs .item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Promo section */

.promo-section {
  margin: 20px 0;
}

/* Highest Rated section */

.highest-section {
  padding: 20px 0 5px 0;
  background: #c6e5d9;
  border-top: 6px solid #fff;
  border-bottom: 6px solid #fff;
}

.highest-section h2 {
  color: #303040;
}

.highest-section .episodes {
  margin-top: 20px;
}

.highest-section .episodes .item {
  width: 247px;
  float: left;
  margin-right: 14px;
  margin-bottom: 14px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
}

.highest-section .episodes .item:nth-child(4n) {
  margin-right: 0;
}

.highest-section .episodes .item .thumb {
  width: 100%;
  height: auto;
  display: block;
}

.highest-section .episodes .item .title {
  height: 38px;
  overflow: hidden;
  display: block;
  position: relative;
  padding-top: 3px;
  color: #e94e77;
  font-size: 18px;
  line-height: 35px;
  font-weight: 700;
  text-align: center;
}

/* Footer */

footer {
  padding: 20px 0;
  background: #3fb8af;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

/* Media queries */

@media (min-width: 768px) and (max-width: 1059px) {
  .wrapper {
    width: 750px;
  }

  .slider-main {
    width: 750px;
    height: 372px;
  }

  .slider-side {
    width: 750px;
  }

  .slider-side .slider-side-image {
    display: none;
  }

  .slider-side .slider-side-link {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .slider-side .slider-side-link a {
    width: auto;
    display: inline-block;
    padding: 20px 0;
  }

  .slider-side .slider-side-link a .text-01,
  .slider-side .slider-side-link a .text-02,
  .slider-side .slider-side-link a .text-03 {
    display: inline-block;
    margin: 0 2px;
    font-size: 36px;
    line-height: 36px;
    font-weight: 600;
  }

  .thumbs-section {
    padding: 20px 0 10px 0;
  }

  .thumbs .item {
    width: 142px;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .highest-section .episodes .item {
    width: 177px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .wrapper {
    width: 460px;
  }

  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
  }

  h2 {
    font-size: 24px;
    line-height: 26px;
  }

  .slider-main {
    width: 460px;
    height: 228px;
  }

  .slider-side {
    width: 460px;
  }

  .slider-side .slider-side-image {
    display: none;
  }

  .slider-side .slider-side-link {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .slider-side .slider-side-link a {
    width: auto;
    display: inline-block;
    padding: 20px 0;
  }

  .slider-side .slider-side-link a .text-01,
  .slider-side .slider-side-link a .text-02,
  .slider-side .slider-side-link a .text-03 {
    display: inline-block;
    margin: 0 2px;
    font-size: 32px;
    line-height: 32px;
    font-weight: 600;
  }

  .intro-section p {
    font-size: 16px;
    line-height: 22px;
  }

  .thumbs-section {
    padding: 20px 0 10px 0;
  }

  .thumbs .item {
    width: 146px;
    margin-right: 11px;
    margin-bottom: 11px;
  }

  .thumbs .item:nth-child(5n) {
    margin-right: 11px;
  }

  .thumbs .item:nth-child(3n) {
    margin-right: 0;
  }

  .highest-section .episodes .item {
    width: 223px;
  }

  .highest-section .episodes .item:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 479px) {
  .wrapper {
    width: 300px;
  }

  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
  }

  h2 {
    font-size: 24px;
    line-height: 26px;
  }

  .slider-main {
    width: 300px;
    height: 149px;
  }

  .slider-side {
    width: 300px;
  }

  .slider-side .slider-side-image {
    display: none;
  }

  .slider-side .slider-side-link {
    width: 100%;
    text-align: center;
  }

  .intro-section p {
    font-size: 16px;
    line-height: 22px;
  }

  .thumbs-section {
    padding: 20px 0 10px 0;
  }

  .thumbs .item {
    width: 145px;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .thumbs .item:nth-child(5n) {
    margin-right: 10px;
  }

  .thumbs .item:nth-child(2n) {
    margin-right: 0;
  }

  .highest-section .episodes .item {
    width: 143px;
  }

  .highest-section .episodes .item:nth-child(2n) {
    margin-right: 0;
  }
}
