/* x-files-series.ru: the only stylesheet of the site (fonts come from Google Fonts).
   Built by tools/build_css.py from the donor theme, its Drupal modules and our own changes. */

/* ==== Drupal: system styles ==== */

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
li a.active {
  color: #000;
}
.breadcrumb {
  padding-bottom: 0.5em;
}
img {
  border: 0;
}
label {
  display: block;
  font-weight: bold;
}

/* ==== "Наверх" button ==== */

#back-top {
  position: fixed;
  bottom: 10px;
  margin-left: 20px;
  z-index: 499;
}
#back-top a {
  width: 50px;
  display: block;
  text-align: center;
  font: 11px/100% Arial,Helvetica,sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #bbb;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover {
  color: #000;
}
#back-top span#button {
  width: 50px;
  height: 50px;
  display: block;
  margin-bottom: 7px;
  background-color: #ddd;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(/sites/all/modules/scroll_to_top/up-arrow.webp);
  opacity: 0.8;
  filter: alpha(opacity = 80);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover span#button {
  opacity: 1;
  filter: alpha(opacity = 100);
}

/* ==== "Наверх" button: site colours ==== */

#back-top {
  right: 40px;
}
#back-top span#button {
  background-color: #3c5269;
}
#back-top span#button:hover {
  opacity: 1;
  background-color: #4b6784;
}
span#link {
  display: none;
}

/* ==== Theme ==== */

.social-likes,
.social-likes__widget {
  display: inline-block;
  padding: 0;
  vertical-align: middle !important;
  word-spacing: 0 !important;
  text-indent: 0 !important;
  list-style: none !important;
}
.social-likes {
  opacity: 0;
}
.social-likes_visible {
  opacity: 1;
  transition: opacity .1s ease-in;
}
.social-likes>* {
  display: inline-block;
  visibility: hidden;
}
.social-likes_visible>* {
  visibility: inherit;
}
.social-likes__widget {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.social-likes__widget:before,
.social-likes__widget:after {
  display: none !important;
}
.social-likes__button,
.social-likes__icon {
  text-decoration: none;
  text-rendering: optimizeLegibility;
}
.social-likes__button {
  display: inline-block;
  margin: 0;
  outline: 0;
}
.social-likes__button {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.social-likes__button:before {
  content: "";
  display: inline-block;
}
.social-likes__icon {
  position: absolute;
}
@font-face {
  font-family: "social-likes";
  src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABLMABAAAAAAHTgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABoAAAAccxLCp0dERUYAAAGIAAAAHAAAAB4AJwAST1MvMgAAAaQAAABKAAAAYEDWXUVjbWFwAAAB8AAAAEIAAAFCAA/0tGN2dCAAAAI0AAAAFAAAACL/mAOqZnBnbQAAAkgAAAWnAAALl9gU2/BnYXNwAAAH8AAAAAgAAAAIAAAAEGdseWYAAAf4AAAIHwAACmSgIEBIaGVhZAAAEBgAAAAwAAAANgN69mJoaGVhAAAQSAAAACAAAAAkA/gBzGhtdHgAABBoAAAAKwAAAC4P2AAKbG9jYQAAEJQAAAAaAAAAGg9aDQZtYXhwAAAQsAAAACAAAAAgATUBSW5hbWUAABDQAAABMgAAAknDp9jvcG9zdAAAEgQAAABIAAAAgph9vwlwcmVwAAASTAAAAH0AAACKjIbexHicY2BgYGQAgguneE6B6IsqUe9gNABKQQbsAAB4nGNgZGBg4AFiMSBmYmAEQm4gZgHzGAAEFwA6eJxjYGG8zDiBgZWBgdGHMY2BgcEdSn9lkGRoYWBgYmBlZoADAQSTISDNNYXhwEfGj5yMB/4fYNBjPMngABRmRFKiwMAIAF5xDK8AAHicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+R87//4Ek4////ExQlQyMbAwwJgMjE5BgYkAFjAzDHgAARicGtQAAeJxjYMAAPBDIePL/ARAGABbABUN4nK1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HicY2BiAIP/BxgkGbABHiBmZGBiZGJkZmRhZGVkY2Rn5GDkZORiL83LdDM0MITSRlDaGEqbQGlTKG0Gpc2htAWUtgQAymEV0HicY/DewXAiKGIjI2Nf5AbGnRwMHAzJBRsZ2Jw2MTAyaIEYm7mZGDkgLH4GMIvdaRczA1CaE8jmcNrF4ABhMzO4bFRh7AiM2ODQEbGROcVloxqIt4ujgYGRxaEjOSQCpCQSCDbzMjHyaO1g/N+6gaV3IxNQH2uKCwBlrSSbAAAA") format("woff");
  font-weight: 400;
  font-style: normal;
}
.social-likes__icon_facebook:before {
  content: "";
}
.social-likes__icon_odnoklassniki:before {
  content: "";
}
.social-likes__icon_twitter:before {
  content: "";
}
.social-likes__icon_vkontakte:before {
  content: "";
}
.social-likes {
  min-height: 36px;
  margin: -.5em;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
.social-likes {
  line-height: 1.5;
}
.social-likes {
  font-size: 14px;
}
.social-likes__widget {
  margin: .5em;
  line-height: 1.5;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.social-likes__button {
  box-sizing: border-box;
  font-family: "Helvetica Neue",Arial,sans-serif;
  vertical-align: baseline;
  color: #fff;
}
.social-likes__button {
  padding: .04em .7em .18em 1.65em;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.social-likes__icon {
  top: 0;
  left: .21em;
  font-family: "social-likes";
  font-weight: 400;
  font-style: normal;
  speak: none;
  text-transform: none;
  font-size: 1.15em;
  vertical-align: baseline;
}
.social-likes__widget_facebook {
  background: #3d5b95;
}
.social-likes__icon_facebook {
  left: .25em;
  top: .05em;
  font-size: 1.1em;
}
.social-likes__widget_twitter {
  background: #24aadd;
}
.social-likes__icon_twitter {
  top: .1em;
  left: .25em;
}
.social-likes__widget_vkontakte {
  background: #587e9f;
}
.social-likes__icon_vkontakte {
  top: .2em;
  left: .25em;
}
.social-likes__widget_odnoklassniki {
  background: #f59310;
}
.social-likes__icon_odnoklassniki {
  left: .4em;
}
html,
body,
div,
span,
iframe,
h1,
h2,
h3,
p,
a,
img,
strong,
b,
ol,
ul,
li,
label,
article,
aside,
footer,
header,
nav,
section,
time {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article,
aside,
footer,
header,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: "Open Sans",sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #222;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-style: normal;
  font-weight: normal;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0;
  padding: 0 0 20px 0;
  font-family: "Open Sans Condensed",sans-serif;
  font-weight: normal;
  color: #000;
}
.front h1 {
  margin-top: 20px;
}
.node-type-episode h1 {
  padding-bottom: 7px;
}
.node-type-season h1 {
  padding-bottom: 20px;
}
h2 {
  font-size: 22px;
  padding: 15px 0;
  margin: 0;
  color: #000;
}
h3 {
  color: #000;
  line-height: 1.5;
  margin: 0;
  font-weight: normal;
  font-size: 18px;
  margin-bottom: 15px;
}
p {
  margin: 0 0 15px 0;
}
a {
  color: #2496cc;
  text-decoration: none;
}
a:hover,
a:active,
li a.active {
  text-decoration: underline;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
li ul {
  margin: 0;
}
ul,
ol {
  margin: 0 1.5em 1.5em 0;
  padding-left: 1.5em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
label {
  font-size: 15px;
}
#content {
  padding: 15px 10px;
  background: #fff;
}
.front #content {
  padding: 25px 10px 50px 10px;
}
main {
  margin: 0;
}
body.sidebar-second main {
  margin: 0;
  max-width: 685px;
}
body.sidebar-second #sidebar-second {
  padding-top: 25px;
}
#header {
  padding: 0 0 5px 0;
  background: #1d2730;
  border-top: 10px solid #1d2730;
  text-align: center;
  position: relative;
}
#header .logo {
  display: block;
  width: 300px;
  height: 76px;
  background: url(/sites/all/themes/xfiles/images/logo-small.webp) no-repeat;
  text-indent: -5000px;
  margin: 0 auto;
  margin-bottom: 5px;
}
.not-front #header .logo:hover {
  opacity: 0.9;
  cursor: pointer;
}
#navigation {
  display: inline-block;
  font-family: "Open Sans Condensed",sans-serif;
  text-transform: uppercase;
}
.front #navigation {
  padding-bottom: 5px;
}
#navigation ul {
  margin: 0;
  padding: 0;
}
#navigation > ul > li {
  list-style: none;
  font-size: 15px;
  padding: 0 7px;
  display: inline-block;
}
#navigation li.home {
  display: none;
}
#navigation > ul > li > a,
#navigation > ul > li > span {
  color: #d5eaff;
}
#navigation > ul > li > span:hover {
  cursor: pointer;
}
#navigation > ul > li.active >  a,
#navigation > ul > li.active > span {
  color: #fff;
}
#navigation ul .submenu {
  display: none;
}
.breadcrumb {
  font-size: 13px;
}
.breadcrumb a,
.breadcrumb a.active {
  color: #80abd3;
}
.breadcrumb span.sep {
  font-size: 12px;
  padding: 0 3px;
  color: #bbb;
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb ol li {
  list-style: none;
  display: inline;
}
.breadcrumb ol li:last-child {
  font-weight: bold;
}
.node {
  margin-bottom: 1.5em;
}
.node-type-episode aside,
.node-type-season aside {
  padding-top: 25px;
  float: none;
}
.prev-next {
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 12px;
  width: 100%;
}
.prev-next {
  display: flex;
}
.prev-next li {
  display: block;
  flex: 1 1 33.333%;
  box-sizing: border-box;
  min-width: 0;
  white-space: nowrap;
}
.prev-next li > a,
.prev-next li > span.blank {
  height: 100%;
  box-sizing: border-box;
}
.prev-next li:nth-child(1) {
  text-align: left;
}
.prev-next li:nth-child(2) {
  text-align: center;
  padding: 8px 10px;
  background: #d5eaff;
  color: #000;
  font-weight: bold;
}
.prev-next li:nth-child(3) {
  text-align: right;
}
.prev-next a {
  text-decoration: none;
  padding: 8px 10px;
  display: block;
  color: #000;
}
.prev-next span.blank {
  padding: 8px 10px;
  display: block;
}
.prev-next a.prev {
  background: url(/sites/all/themes/xfiles/images/arrow-prev-white.webp) 8px center no-repeat #9abcde;
  padding-left: 18px;
}
.prev-next a.next {
  background: url(/sites/all/themes/xfiles/images/arrow-next-white.webp) right 8px center no-repeat #9abcde;
  padding-right: 18px;
}
.prev-next a.season {
  font-weight: bold;
}
.prev-next a:hover {
  background-color: #a4c9ed;
}
.node-type-episode section.gallery {
  margin-top: 25px;
}
.node-type-episode .current-season {
  font-size: 12px;
  background: #f5f5f5;
  text-align: center;
  padding: 5px 10px;
  display: block;
  text-decoration: none;
  color: #333;
  border-top: 4px solid #ccc;
}
.node-type-episode .current-season:hover {
  background: #eee;
}
.node-type-episode .episode-title {
  margin-top: -5px;
  margin-bottom: 20px;
  color: #777;
  font-style: italic;
}
.youtube-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.node-type-episode .online {
  margin-top: 20px;
}
.node-type-episode .description {
  margin-top: 15px;
}
.node-type-episode .poster {
  display: none;
}
aside .poster img {
  display: block;
}
aside .poster img:hover {
  opacity: 0.9;
}
aside section.info {
  padding: 20px;
  background: #f2f2f2;
  color: #222;
  font-size: 12px;
  margin-top: 20px;
  border-bottom: 3px solid #e6e6e6;
}
aside section.info ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
aside section.info li {
  margin-bottom: 15px;
}
aside section.info li.rating {
  line-height: 1;
  padding: 1px 0 3px 0;
}
.node-type-season aside section.info li.rating {
  padding-top: 0;
}
aside section.info li.rating .votes {
  font-size: 10px;
  margin-left: 5px;
  color: #777;
}
.block-title {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  font-family: "Open Sans Condensed",sans-serif;
  padding: 0;
}
section.relevant-episodes,
section.all-seasons {
  background: #d5eaff;
  color: #fff;
  padding: 20px 0;
  font-size: 12px;
  margin-top: 20px;
}
section.relevant-episodes .block-title,
section.all-seasons .block-title {
  color: #000;
  padding: 0 20px;
}
section.relevant-episodes ul,
section.all-seasons ul {
  margin: 0;
  padding: 0 15px 0 24px;
}
section.relevant-episodes ul li,
section.all-seasons ul li {
  margin: 0;
  display: inline-block;
  list-style: none;
  font-family: Tahoma,sans-serif;
}
section.relevant-episodes ul.episodes a,
section.all-seasons ul.seasons a,
section.relevant-episodes ul.episodes span,
section.all-seasons ul.seasons span {
  width: 45px;
  padding: 6px 0;
  text-align: center;
  display: inline-block;
  color: #000;
  background: #9abcde;
  margin-left: -4px;
  border-right: 8px solid #d5eaff;
  border-bottom: 8px solid #d5eaff;
  text-decoration: none;
  font-size: 13px;
}
section.relevant-episodes ul.episodes a:hover,
section.all-seasons ul.seasons a:hover {
  background: #add3f9;
}
section.all-seasons ul li.active a,
section.relevant-episodes ul li.active span,
section.all-seasons ul li.active span {
  font-weight: bold;
  background: #eff7ff;
  color: #000;
}
.view-footer {
  text-align: right;
}
.view-footer a {
  font-size: 12px;
}
.social-bar {
  margin: 20px 0;
}
.social-bar .social-likes {
  float: left;
  margin: 5px 0 0 0;
}
.social-likes__button {
  padding: 2px 7px 2px 22px;
}
.social-bar .social-likes__widget {
  margin: 2px 2px 2px 0;
}
.social-bar .social-likes__button {
  font-weight: normal;
  font-size: 12px;
}
.view-header {
  margin-bottom: 25px;
}
.view-season-episode-list .episode {
  margin-bottom: 20px;
  background: #f6f6f6;
  border-bottom: 3px solid #e6e6e6;
}
.view-season-episode-list .left {
  max-width: 240px;
  float: left;
  margin-right: 20px;
}
.view-season-episode-list .left a,
.view-season-episode-list .left img {
  display: block;
}
.view-season-episode-list .left img {
  width: 100%;
}
.view-season-episode-list .right {
  padding: 15px 10px 10px 0;
  overflow: hidden;
}
.view-season-episode-list .right .title {
  line-height: 1.2;
  margin-bottom: 5px;
}
.view-season-episode-list .right .title a {
  font-size: 16px;
  font-weight: bold;
}
.view-season-episode-list .right .title .name {
  font-size: 12px;
  color: #777;
  font-style: italic;
}
.view-season-episode-list .right .description {
  font-size: 12px;
  margin-top: 7px;
}
section.description {
  margin-top: 10px;
}
.view-season-list .season {
  padding-bottom: 40px;
}
.view-season-list .left {
  width: 50px;
  float: left;
  margin-right: 5px;
}
.view-season-list .left a img,
.view-season-list .left a {
  display: block;
  width: 50px;
}
.view-season-list .rating {
  margin-top: 10px;
}
.view-season-list .right {
  overflow: hidden;
  padding-left: 5px;
}
.view-season-list .right .title a {
  font-size: 20px;
  line-height: 1.3;
  font-weight: bold;
}
.view-season-list .right .episodes {
  font-size: 12px;
}
.view-season-list .right ol.episodes {
  margin: 10px 0 0 0;
  padding: 0 0 0 15px;
}
.view-season-list .right ol.episodes li {
  counter-increment: counter;
  margin: 0;
  padding: 0 0 3px 5px;
  position: relative;
  font-size: 12px;
}
.view-season-list .right ol.episodes li a {
  font-size: 13px;
}
.front .content .description2 {
  margin-top: 30px;
  padding-top: 5px;
  border-top: 1px solid #ccc;
}
.image-wrapper {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px 10px 0;
  width: 140px;
}
.image-wrapper:hover {
  opacity: 0.9;
}
@media (min-width:340px) {
  .image-wrapper {
    width: 150px;
  }
}
 {
  margin-right: 5px;
}
.view-ratings .item {
  margin-bottom: 25px;
}
.front .view-ratings .item {
  margin-bottom: 15px;
  margin-right: 11px;
  display: inline-block;
  vertical-align: top;
}
.view-ratings .item a {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
  max-width: 640px;
}
.front .view-ratings .item a {
  max-width: 200px;
}
.view-ratings .item a:hover {
  color: #faff76;
}
.view-ratings .item img {
  display: block;
}
.view-ratings .item a span.title {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  background: rgba(0,0,0,0.7);
}
.front .view-ratings .item a span.title {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.3;
}
.view-ratings .item a span.title span {
  font-weight: bold;
}
.view-ratings .item a span.title .numbers {
  font-weight: normal;
  margin-left: 2px;
  font-size: 10px;
}
.not-front .view-ratings .item a span.title .numbers {
  font-size: 12px;
}
.view-ratings .item a span.title .numbers span {
  color: #aaa;
}
.view-ratings .votes {
  color: #aaa;
  margin-left: 3px;
  font-size: 9px;
}
.rating-imdb-small {
  width: 100px;
  height: 9px;
  display: inline-block;
  background: url(/sites/all/themes/xfiles/images/stars-imdb-small.webp) 0 0 no-repeat;
}
.rating-imdb-small.rating-imdb-dark {
  background: url(/sites/all/themes/xfiles/images/stars-imdb-dark-small.webp) 0 0 no-repeat;
}
.rating-imdb-small.rating-9 {
  background-position: -10px 0;
}
.rating-imdb-small.rating-8 {
  background-position: -20px 0;
}
.rating-imdb-small.rating-7 {
  background-position: -30px 0;
}
.rating-imdb-small.rating-6 {
  background-position: -40px 0;
}
.rating-imdb-small.rating-8-50 {
  background-position: -10px -15px;
}
.rating-imdb-small.rating-7-50 {
  background-position: -20px -15px;
}
.rating-imdb-small.rating-6-50 {
  background-position: -30px -15px;
}
.rating-imdb-small.rating-8-25 {
  background-position: -10px -30px;
}
.rating-imdb-small.rating-7-25 {
  background-position: -20px -30px;
}
.rating-imdb-small.rating-6-25 {
  background-position: -30px -30px;
}
.rating-imdb-small.rating-8-75 {
  background-position: -10px -45px;
}
.rating-imdb-small.rating-7-75 {
  background-position: -20px -45px;
}
.rating-imdb-small.rating-6-75 {
  background-position: -30px -45px;
}
.rating-imdb-small.rating-5-75 {
  background-position: -40px -45px;
}
.rating-imdb {
  width: 160px;
  height: 14px;
  display: inline-block;
  background: url(/sites/all/themes/xfiles/images/stars-imdb.webp) 0 0 no-repeat;
}
.rating-imdb.rating-imdb-dark {
  background: url(/sites/all/themes/xfiles/images/stars-imdb-dark.webp) 0 0 no-repeat;
}
aside section.info .rating-imdb.rating-imdb-dark {
  margin-top: 5px;
  margin-bottom: 5px;
}
.rating-imdb.rating-9 {
  background-position: -16px 0;
}
.rating-imdb.rating-8 {
  background-position: -32px 0;
}
.rating-imdb.rating-7 {
  background-position: -48px 0;
}
.rating-imdb.rating-6 {
  background-position: -64px 0;
}
.rating-imdb.rating-8-50 {
  background-position: -16px -30px;
}
.rating-imdb.rating-7-50 {
  background-position: -32px -30px;
}
.rating-imdb.rating-6-50 {
  background-position: -48px -30px;
}
.rating-imdb.rating-8-25 {
  background-position: -16px -60px;
}
.rating-imdb.rating-7-25 {
  background-position: -32px -60px;
}
.rating-imdb.rating-6-25 {
  background-position: -48px -60px;
}
.rating-imdb.rating-8-75 {
  background-position: -16px -90px;
}
.rating-imdb.rating-7-75 {
  background-position: -32px -90px;
}
.rating-imdb.rating-6-75 {
  background-position: -48px -90px;
}
.rating-imdb.rating-5-75 {
  background-position: -64px -90px;
}
.b {
  font-weight: bold;
}
.social-likes__widget_vkontakte:hover {
  background: #7191ad;
}
.social-likes__widget_facebook:hover {
  background: #5a73a5;
}
.social-likes__widget_twitter:hover {
  background: #45b7e2;
}
.social-likes__widget_odnoklassniki:hover {
  background: #f6a334;
}
section.block {
  margin-bottom: 20px;
  border-bottom: 3px solid #e6e6e6;
  color: #222;
}
section.ratings {
  background: #f2f2f2;
  padding: 20px;
}
section.ratings {
  padding-top: 20px;
}
#footer {
  background: #1d2730;
  clear: both;
  padding: 20px;
  font-size: 13px;
  text-align: center;
  color: #fff;
}
#footer a {
  color: #fffdc2;
}
.description-top a {
  font-weight: bold;
}
.ad-teaser-adaptive2 {
  margin: 20px 0;
}
@media all and (min-width:768px) {
  body {
    background: url(/sites/all/themes/xfiles/images/bg-header.webp) center top no-repeat #1d2730;
  }
  #content-wrapper {
    background: url(/sites/all/themes/xfiles/images/bg-content.webp) center top repeat-y fixed;
  }
  #content {
    margin: 0 auto;
    max-width: 970px;
    padding: 50px 10px;
  }
  body.sidebar-second main {
    margin-right: 260px;
    padding: 0;
  }
  body.sidebar-second #sidebar-second {
    float: right;
    margin: 0;
    padding: 0;
    width: 240px;
  }
  #header {
    margin: 0 auto;
    position: relative;
    max-width: 970px;
    height: 280px;
    background: 0;
    border: 0;
    text-align: left;
  }
  #header .logo {
    float: left;
    width: 167px;
    height: 91px;
    background: url(/sites/all/themes/xfiles/images/logo.webp) no-repeat;
    margin: 115px 0 0 222px;
  }
  #navigation {
    position: absolute;
    top: 225px;
    display: block;
    font-family: sans-serif,Arial;
    text-transform: none;
    width: 100%;
  }
  #navigation > ul {
    display: flex;
  }
  #navigation > ul > li {
    position: relative;
    list-style: none;
    padding: 0;
    font-size: 13px;
  }
  #navigation li.home {
    display: block;
  }
  #navigation > ul > li > a,
  #navigation > ul > li > span {
    display: block;
    text-align: center;
    font-size: 19px;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    padding: 18px 30px;
    font-weight: bold;
  }
  #navigation > ul > li.home > a,
  #navigation > ul > li.home > span {
    padding: 18px 15px;
  }
  #navigation > ul > li.active > a,
  #navigation > ul > li.active > span {
    background: #9abcde;
    border-bottom: 7px solid #d5eaff;
  }
  #navigation > ul > li > a:hover,
  #navigation > ul > li.seasons.active > span:hover {
    background: #3c5269;
    color: #fff;
    text-shadow: none;
  }
  #navigation > ul > li.active > a,
  #navigation > ul > li.active > span {
    color: #000;
  }
  #navigation > ul > li.active > a:hover,
  #navigation > ul > li.active > span:hover {
    color: #fff;
  }
  #navigation ul .submenu {
    position: absolute;
    margin-top: -7px;
    top: 100%;
    display: flex;
    background: #3c5269;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
  }
  #navigation ul .submenu ul {
    border-right: 1px solid #557495;
    background: #3c5269;
    padding: 10px 0;
  }
  #navigation ul .submenu ul:last-child {
    border: none;
  }
  #navigation ul ul li {
    list-style: none;
    white-space: nowrap;
  }
  #navigation ul ul li a {
    display: block;
    color: #fff;
    padding: 8px 38px 9px 38px;
  }
  #navigation ul ul:nth-child(2) li a {
    padding: 8px 38px 9px 39px;
  }
  #navigation ul ul li a:hover {
    background: #445d77;
  }
  #navigation li:hover .submenu {
    visibility: visible;
    opacity: 1;
  }
  .breadcrumb {
    position: absolute;
    top: 300px;
    padding: 0 10px;
  }
  .breadcrumb a,
  .breadcrumb a.active {
    color: #777;
  }
  .breadcrumb span.sep {
    color: #000;
  }
  .node-type-episode article .content,
  .node-type-season article .content,
  .page-node-80 article .content {
    margin-right: 260px;
  }
  .node-type-episode aside,
  .node-type-season aside,
  .page-node-80 aside {
    width: 240px;
    float: right;
  }
  .node-type-episode .poster {
    display: block;
  }
  .social-bar .social-likes {
    float: left;
    margin: 5px 0 0 0;
  }
  .social-likes__button {
    padding: 2px 10px 2px 25px;
  }
  .social-bar .social-likes__button {
    font-size: 13px;
  }
  .view-season-list .left {
    background: #eee;
    padding: 10px;
    width: 190px;
    margin-right: 15px;
  }
  .view-season-list .left:hover {
    background: #e5e5e5;
  }
  .view-season-list .left a img,
  .view-season-list .left a {
    width: 100%;
  }
  .wrapper-left-fluid {
    width: 100%;
    float: left;
    margin-right: -260px;
  }
  #footer {
    clear: both;
    max-width: 970px;
    margin: 0 auto;
    padding: 20px;
    font-size: 13px;
    background: 0;
    color: #fff;
  }
  #footer a {
    color: #fffdc2;
  }
  #footer .left {
    float: left;
  }
  #footer .right {
    float: right;
  }
  .front .view-ratings .item {
    margin-right: 0;
  }
}
@media all and (max-width:500px) {
  .view-season-episode-list .left img {
    width: 100px;
  }
  .view-season-episode-list .left {
    margin-right: 10px;
  }
  .view-season-episode-list .right {
    padding: 5px 10px 10px 0;
    overflow: hidden;
  }
}

/* ==== Home page: "О сериале" block ==== */

.front aside section.info {
  margin-top: 0;
  margin-bottom: 20px;
}
aside section.info li span.count {
  font-size: 10px;
  color: #777;
  cursor: help;
  margin-left: 5px;
}

/* ==== Phones, home player block, menu and later changes ==== */

/* Phone and narrow tablet (the donor's one-column layout, below 768px).
   Text 13/20, headings 20/28 and 18/24, margins 16 / 24, touch targets at least 44 px.
   Desktop keeps the donor theme. */
/* season / episode switcher under the player (all screens) */
.episode-nav {
  margin: 16px 0;
}
@media all and (max-width: 767px) {
  #content,
  .front #content {
    padding-left: 24px;
    padding-right: 24px;
  }
  #header .logo {
    width: 200px;
    height: 51px;
    background-size: contain;
  }
  h1 {
    font-size: 20px;
    line-height: 28px;
  }
  #content h2 {
    font-size: 18px;
    line-height: 24px;
  }
  .block-title {
    font-size: 18px;
    line-height: 24px;
  }
  #content p,
  #content .serial-about,
  #content .description,
  #content .description2,
  #content .description-top,
  #content .episode-title {
    font-size: 13px;
    line-height: 20px;
  }
  aside section.info,
  aside section.info li {
    font-size: 13px;
    line-height: 20px;
  }
  /* nothing smaller than 12 px */
  #content span.numbers,
  #content span.votes,
  #content span.count,
  #content .view-ratings .item a span.title .numbers {
    font-size: 12px;
  }
  #navigation a {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  /* episode and season number grids */
  section.relevant-episodes ul.episodes a,
  section.all-seasons ul.seasons a,
  section.relevant-episodes ul.episodes span,
  section.all-seasons ul.seasons span {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .prev-next {
    font-size: 13px;
  }
  .prev-next a,
  .prev-next span.blank,
  .prev-next li:nth-child(2) {
    line-height: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  #content a.current-season {
    font-size: 13px;
    line-height: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  /* home: big frame links, "Рейтинг всех серий" */
  #content .view-footer a {
    display: inline-block;
    line-height: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  /* all seasons page and season episode lists */
  .view-season-list .right .title a,
  .view-season-episode-list .right .title a {
    font-size: 16px;
    line-height: 24px;
  }
  .view-season-list .right .episodes {
    font-size: 13px;
    line-height: 20px;
  }
  .view-season-list .right ol.episodes li {
    font-size: 12px;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .view-season-list .right ol.episodes li a {
    font-size: 13px;
  }
  .view-season-list .right ol.episodes li span {
    font-size: 12px;
  }
  /* ratings pager */
  #footer {
    font-size: 13px;
  }
  #footer a {
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  /* long descriptions folded to 5 lines (mobile.js adds the class and the button) */
  .clamp {
    max-height: 100px;
    overflow: hidden;
  }
  .clamp > p:first-child,
  .clamp-body > p:first-child {
    margin-top: 0;
  }
  .clamp-toggle {
    display: block;
    min-height: 44px;
    padding: 12px 0;
    margin: 4px 0 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
    color: #3c5269;
    cursor: pointer;
  }
}
@media all and (max-width: 599px) {
  #content,
  .front #content {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* Breadcrumbs moved from the header to the bottom of the content area: normal flow, donor's desktop colours. */
#content .breadcrumb {
  position: static;
  clear: both;
  padding: 24px 0 0;
  font-size: 13px;
  line-height: 24px;
}
#content .breadcrumb a,
#content .breadcrumb a.active {
  color: #777;
}
#content .breadcrumb span.sep {
  color: #000;
}
/* Phone header: logo on the left, menu button on the right, full-screen menu.
   Season tiles 3 in a row, then "Все сезоны и серии" and "Лучшие серии". Donor colours. */
.menu-toggle,
.mobile-menu {
  display: none;
}
/* the menu opens without JavaScript: the hamburger and the cross are labels of this hidden checkbox */
.menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
@media all and (max-width: 767px) {
  #header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 0;
    text-align: left;
  }
  #header .logo {
    width: 160px;
    height: 41px;
    margin: 0;
    background-size: contain;
  }
  #navigation {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin-right: -12px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
  }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: #1d2730;
    overflow-y: auto;
    padding: 8px 16px 24px;
  }
  .menu-state:checked ~ .mobile-menu {
    display: block;
  }
  .menu-state:focus-visible + .menu-toggle {
    outline: 2px solid #fff;
    outline-offset: -4px;
  }
  .mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .menu-close {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: -12px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .menu-close span {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 23px;
    height: 2px;
    background: #fff;
  }
  .menu-close span:first-child {
    transform: rotate(45deg);
  }
  .menu-close span:last-child {
    transform: rotate(-45deg);
  }
  .mobile-seasons,
  .mobile-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
  }
  .mobile-seasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mobile-links {
    margin-top: 16px;
  }
  .mobile-seasons a,
  .mobile-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-seasons a {
    background: #9abcde;
    color: #000;
  }
  .mobile-seasons a:hover {
    background: #add3f9;
  }
  .mobile-seasons a.active {
    background: #d5eaff;
  }
  .mobile-links a {
    background: #3c5269;
    color: #fff;
  }
  .mobile-links a:hover {
    background: #4a6481;
  }
  .mobile-links a.active {
    background: #fff;
    color: #1d2730;
  }
  body:has(.menu-state:checked) {
    overflow: hidden;
  }
}
@media all and (max-width: 767px) {
  #mobile-menu a,
  #mobile-menu a:hover,
  #mobile-menu a.active {
    text-decoration: none;
  }
}
@media all and (max-width: 767px) {
  #header::before,
  #header::after {
    content: none;
    display: none;
  }
}
/* Episode player (iframe): full column width, 16:9. */
.online iframe.player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
/* Source line under texts taken from Wikipedia (CC BY-SA attribution). */
/* What the removed scripts used to do, now in CSS. */
@media all and (min-width: 768px) {
  #navigation li.seasons:hover > a,
  #navigation li.seasons:hover > span {
    background: #3c5269;
    color: #fff;
    text-shadow: none;
  }
}
a.social-likes__widget {
  text-decoration: none;
  cursor: pointer;
}
#back-top {
  display: none;
}
/* Home page: seasons, player (loads on click), episodes of season 1 — the block from vampirediares.info. */
.hm-block {
  width: 100%;
  margin: 0 0 20px;
  text-align: left;
}
.hm-seasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.hm-seasons-label {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-right: 6px;
}
.hm-season {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 5px;
  border-radius: 4px;
  background: #9abcde;
  border: 1px solid #9abcde;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s,border-color .2s,color .2s;
}
.hm-season:hover {
  background: #add3f9;
  color: #000;
  border-color: #add3f9;
}
.hm-season.is-active {
  background: #3c5269;
  border-color: #3c5269;
  color: #fff;
}
.hm-player-wrap {
  background: #1d2730;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #1d2730;
  box-shadow: 0 4px 14px rgba(29,39,48,.35);
}
.hm-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.hm-facade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  user-select: none;
}
.hm-facade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .35s ease,opacity .25s ease;
}
.hm-facade:hover .hm-facade-img {
  transform: scale(1.03);
  opacity: .68;
}
.hm-facade::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle,rgba(0,0,0,.18) 0%,rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.hm-play-btn {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 52px;
  border-radius: 10px;
  background: #3c5269;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(29,39,48,.55);
  transition: transform .2s ease,background-color .2s ease;
}
.hm-play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #fff;
}
.hm-facade:hover .hm-play-btn {
  transform: scale(1.08);
  background: #4b6784;
}
.hm-play-text {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.85);
}
.hm-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.hm-slot.is-active {
  display: block;
}
.hm-slot iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hm-episodes {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(80px,1fr));
  gap: 4px;
  margin-top: 10px;
}
.hm-ep {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 6px;
  border-radius: 3px;
  background: #9abcde;
  border: 1px solid #9abcde;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s,border-color .2s,color .2s;
}
.hm-ep:hover {
  background: #add3f9;
  border-color: #add3f9;
  color: #000;
}
.hm-ep:first-child {
  background: #3c5269;
  border-color: #3c5269;
  color: #fff;
  font-weight: 700;
}
.hm-ep:first-child:hover {
  background: #4b6784;
  border-color: #4b6784;
}
@media screen and (max-width:768px) {
  .hm-seasons {
    gap: 4px;
    justify-content: space-between;
  }
  .hm-season {
    flex: 1 1 0;
    min-width: 25px;
    height: 25px;
    font-size: 13px;
  }
  .hm-play-btn {
    width: 56px;
    height: 44px;
    border-radius: 8px;
  }
  .hm-play-btn::before {
    border-width: 9px 0 9px 16px;
  }
  .hm-play-text {
    font-size: 13px;
  }
  .hm-episodes {
    grid-template-columns: repeat(4,1fr);
  }
}
@media screen and (max-width:470px) {
  .hm-seasons-label {
    width: 100%;
    margin-bottom: 2px;
    font-size: 14px;
  }
  .hm-episodes {
    grid-template-columns: repeat(3,1fr);
    gap: 4px;
  }
  .hm-ep {
    height: 34px;
    font-size: 12px;
  }
}
/* season page, phone held upright: episode picture full width above its text; on a turned phone it stays beside the text */
@media all and (max-width: 599px) {
  .view-season-episode-list .episode .left {
    float: none;
    width: auto;
    max-width: none;
    margin: 0;
  }
  .view-season-episode-list .episode .left a,
  .view-season-episode-list .episode .left img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .view-season-episode-list .episode .right {
    width: auto;
    margin: 0;
    padding: 10px 12px 12px;
  }
}
/* home, "Главные актеры": actor photo (TMDB) beside the text */
.cast-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 16px;
}
.cast-item img {
  flex: 0 0 72px;
  width: 72px;
  height: 108px;
  object-fit: cover;
  border-radius: 4px;
  background: #e6e6e6;
}
.cast-item p {
  margin: 0;
}
@media all and (max-width: 767px) {
  .cast-item {
    gap: 12px;
  }
}
