.new-films-item__img, .top-week-item__img, .film-news-item__img {
  height: auto;
  margin-right: auto;
  margin-left: auto;
  display: block;
}

.new-films-item__title, .top-week-item__title {
  font-size: 1rem;
  overflow: hidden;
  font-weight: bold;
  margin-bottom: 0;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  line-height: 17.6px;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: "PT Sans", sans-serif;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.42857143;
}

a {
  text-decoration: none;
  color: #165690;
}

section {
  position: relative;
  overflow: hidden;
}

h1 {
  font-family: "PT Serif", serif;
  line-height: 1.1;
}
h1::after {
  content: "";
  position: absolute;
  width: 100%;
  border-bottom: 3px solid #f0ad4f;
  margin: 0.85em 0 0 15px;
}

h2 {
  font-family: "PT Serif", serif;
  line-height: 1.1;
}
h2::before {
  position: absolute;
  content: "";
  width: 30px;
  border-bottom: 3px solid #f0ad4f;
  margin: 0.25em 0 0 0;
  left: 0;
}
h2::after {
  content: "";
  position: absolute;
  width: 100%;
  border-bottom: 3px solid #f0ad4f;
  margin: 0.85em 0 0 15px;
}

h3 {
  line-height: 1.1;
  margin-bottom: 9.99999999px;
}

h4 {
  font-size: 1.125rem;
  margin: 9.99999999px 0;
  line-height: 19.8px;
}

p {
  margin-bottom: 9.99999999px;
}

textarea {
  resize: both;
}

iframe {
  border-radius: 4px 4px 0 0;
}

.navbar {
  background-color: #191919;
  padding: 0;
  border-bottom: 1px solid transparent;
}
.navbar-expand-lg .navbar-nav .nav-link {
  line-height: 20px;
  border-radius: 4px;
  -webkit-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
  transition: background-color 0.5s;
}
.navbar-expand-lg .navbar-nav .nav-link:focus, .navbar-expand-lg .navbar-nav .nav-link:hover {
  background-color: #165690;
  color: #ffffff;
}
.navbar-dark .navbar-nav .nav-link.active {
  background-color: #053159;
  -webkit-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
  transition: background-color 0.5s;
}
.navbar-dark .navbar-nav .nav-link.active:focus, .navbar-dark .navbar-nav .nav-link.active:hover {
  background-color: #517ba2;
}

.card {
  border-radius: 4px;
  margin-bottom: 30px;
  border: none;
}
.card > .card-header {
  color: #ffffff;
  letter-spacing: 0.1em;
  border: none;
  font-size: 1.25rem;
  background-color: #df8a13;
  padding: 9.99999999px 15px;
}
.card > .card-body {
  background-color: #f4f4f4;
  border: 1px solid #d5d5d5;
  border-radius: 0 0 4px 4px;
  padding: 15px;
}

.input-group-lg > .form-control {
  font-size: 0.875rem;
  line-height: 1.3333333;
}

.form-control {
  line-height: 1.3333333;
}
.form-control::-webkit-input-placeholder {
  font-size: 0.875rem;
}
.form-control::-moz-placeholder {
  font-size: 0.875rem;
}
.form-control:-ms-input-placeholder {
  font-size: 0.875rem;
}
.form-control::-ms-input-placeholder {
  font-size: 0.875rem;
}
.form-control::placeholder {
  font-size: 0.875rem;
}

.img-thumbnail {
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  transition: background-color 0.25s;
}

.list-group-item-action {
  width: inherit;
}

.badge {
  background-color: #777;
}

.ratio {
  border: 1px solid #d5d5d5;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.header {
  margin-bottom: 80px;
}
.header-logo {
  padding: 100px 0;
  text-align: center;
  background-image: url(../img/header-bg.jpg);
  background-position: center;
  background-size: cover;
  background-color: #232323;
}
.header-logo__title {
  display: block;
  color: #df8a13;
  letter-spacing: 0.33em;
  font-family: "PT Serif", serif;
  padding-left: 0.33em;
  text-shadow: 0 0 5px #000000, 0 0 10px #000000, 0 0 20px #000000;
}
.header-logo__description {
  text-shadow: 0 0 5px #000000, 0 0 10px #000000, 0 0 20px #000000;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 0.2em;
  display: block;
}

.main {
  margin-bottom: 80px;
}
.main .user-form {
  margin-bottom: 60px;
}

.new-films {
  margin-bottom: 15px;
}
.new-films-row {
  margin-left: -7.5px;
  margin-right: -7.5px;
  margin-bottom: -15px;
}
.new-films-item {
  margin-bottom: 15px;
  padding-left: 7.5px;
  padding-right: 7.5px;
}
.new-films-item:hover .img-thumbnail {
  border-color: #df8a13;
  background-color: #df8a13;
}
.new-films-item:hover h3 {
  color: #ffffff;
}
.new-films-item__img {
  width: 100%;
}
.new-films-item__thumbnail {
  margin-bottom: 0;
}
.new-films-item__caption {
  padding: 9px;
  color: #232323;
  text-align: center;
}
.top-week {
  margin-bottom: 15px;
}
.top-week-row {
  margin-left: -7.5px;
  margin-right: -7.5px;
  margin-bottom: -15px;
}
.top-week-item {
  margin-bottom: 15px;
  padding-left: 7.5px;
  padding-right: 7.5px;
}
.top-week-item:hover .img-thumbnail {
  border-color: #df8a13;
  background-color: #df8a13;
}
.top-week-item:hover h3 {
  color: #ffffff;
}
.top-week-item__img {
  width: 100%;
}
.top-week-item__thumbnail {
  margin-bottom: 0;
}
.top-week-item__caption {
  padding: 9px;
  color: #232323;
  text-align: center;
}
.film-news-item:not(:last-child) {
  margin-bottom: 45px;
}
.film-news-item:last-child {
  margin-bottom: 9.99999999px;
}
.film-news-item h3 > a {
  -webkit-transition: color 0.25s;
  -o-transition: color 0.25s;
  transition: color 0.25s;
  font-family: "PT Sans", sans-serif;
  margin-top: 20px;
}
.film-news-item__thumbnail {
  margin-bottom: 0;
}
.film-news-item__img {
  width: 100%;
}
.film-news-item:hover .img-thumbnail {
  border-color: #df8a13;
  background-color: #df8a13;
}
.film-news-item:hover a {
  text-decoration: none;
  color: #df8a13;
}
.film-news-item:hover .film-news-item__btn {
  color: #ffffff;
  background-color: #df8a13;
}
.film-news-item__description {
  text-align: justify;
}
.film-news-item__btn {
  background-color: #f0ad4f;
  color: #ffffff;
  float: right;
  -webkit-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
  transition: background-color 0.25s;
}

.sidebar-left {
  margin-bottom: 80px;
}

.vertical-slider {
  overflow: hidden;
  border-radius: 4px;
}

.user-form {
  position: relative;
}
.user-form__tabs {
  position: absolute;
  top: 0;
  right: 10px;
  border: none;
}
.user-form__tabs button {
  padding: 14px 5px 12px !important;
  color: #d5d5d5;
  border: none !important;
  background-color: transparent !important;
  -webkit-transform: scale(1.35);
      -ms-transform: scale(1.35);
          transform: scale(1.35);
}
.user-form__tabs button :nth-of-type(1) {
  margin-left: 5px;
}
.user-form__tabs button:focus, .user-form__tabs button:hover {
  color: #ffffff;
}
.user-form__btn {
  background-color: transparent;
  border-color: #6c757d;
  color: #6c757d;
}
.user-form__btn:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.site-news-item {
  position: relative;
  clear: both;
}
.site-news-item:hover .img-thumbnail {
  border-color: #df8a13;
  background-color: #df8a13;
}
.site-news-item:hover a {
  color: #df8a13;
}
.site-news-item:not(:last-child) {
  margin-bottom: 15px;
  min-height: 85px;
}
.site-news-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  height: 1px;
  width: calc(100% - 85px);
  background-color: #d5d5d5;
}
.site-news-item__title {
  margin-bottom: 0.5em;
}
.site-news-item__link {
  display: -webkit-box;
  overflow: hidden;
  height: 50px;
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  -webkit-transition: color 0.25s;
  -o-transition: color 0.25s;
  transition: color 0.25s;
}
.site-news-item__thumbnail {
  float: left;
  margin: 0 9.99999999px 9.99999999px 0;
  width: 75px;
}
.site-news-item__date {
  font-size: 0.8rem;
  text-align: right;
  color: #6f6f6f;
}

.top-films__body {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.top-films__item {
  background-color: transparent;
  margin-left: -1px;
  margin-right: -1px;
  padding: 10px 55px 10px 15px;
  color: #165690 !important;
  border-left-color: transparent;
  border-right-color: transparent;
}
.top-films__item:hover, .top-films__item:focus {
  color: #ffffff !important;
  background-color: #df8a13 !important;
  border-color: #df8a13 !important;
}
.top-films__item:hover .badge, .top-films__item:focus .badge {
  background-color: #232323;
}
.top-films__item:first-child {
  border-radius: 0;
  border-top: none;
}
.top-films__item:last-child {
  border-radius: 0;
  border-bottom: none;
}
.top-films__badge {
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translatey(-50%);
      -ms-transform: translatey(-50%);
          transform: translatey(-50%);
}

.footer {
  background-color: #232323;
  color: #d5d5d5;
  padding-top: 45px;
  padding-bottom: 20px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin-bottom: 9.99999999px;
}
.footer a {
  color: #6f6f6f;
}
.footer a:hover, .footer a:focus {
  color: #ffffff;
}
.footer-copyright {
  text-align: center;
  margin-top: 20px;
}
.footer-copyright a {
  color: #d5d5d5;
}
.footer-copyright a:hover, .footer-copyright a:focus {
  color: #ffffff;
}

.film-preview {
  font-size: 1.2em;
}
.film-preview__card {
  margin-bottom: 20px;
}
.film-preview__card > .card-body {
  padding: 19px;
}
.film-preview__wrapper {
  white-space: nowrap;
}
.film-preview__wrapper:not(:last-of-type) {
  margin-right: 15px;
}
.film-preview__badge {
  font-size: 0.8em;
}

.film-description__card {
  margin-bottom: 20px;
}
.film-description__card > .card-body {
  padding: 19px;
}

.film-comms > .card:last-child {
  margin-bottom: 0;
}

.film-comm-form__btn {
  float: right;
  background-color: #f0ad4f;
  color: #ffffff;
}
.film-comm-form__btn:hover, .film-comm-form__btn:focus {
  color: #ffffff;
  background-color: #df8a13;
}
@media (min-width: 576px) {
  h1 {
    margin: -9.99999999px 0 1em;
    font-size: 3rem;
  }
  h2 {
    margin: 60px 0 45px 45px;
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .header-logo__title {
    font-size: 3.5rem;
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px;
  }
  .navbar-right {
    margin-right: -15px;
  }
  .navbar-right > li {
    margin: 5px 0 5px 5px;
  }
  .navbar-left > li {
    margin: 5px 5px 5px 0;
  }
}
@media (max-width: 991.8px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    text-align: center;
    padding: 9.99999999px;
  }
  .navbar-toggler {
    position: relative;
    right: -50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    margin: 9.99999999px 0;
  }
  .navbar-right {
    margin-right: 0;
  }
  .navbar-right > li {
    margin: 5px 0 0 0;
  }
  .navbar-right > li:last-of-type {
    margin-bottom: 5px;
  }
  .navbar-left > li {
    margin: 5px 0 0 0;
  }
}
@media (max-width: 575.8px) {
  h1 {
    margin: 0 0 1em;
    font-size: 2rem;
  }
  h2 {
    margin: 45px 0 30px 45px;
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .header-logo__title {
    font-size: 2.5rem;
  }
  .footer__col-xs-6 {
    width: 50%;
  }
}