body {
  min-width: 960px;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  background: #000 url("../img/main-back.jpg") no-repeat center top;
  background-color: #000;
  text-transform: uppercase;
  font-family: 'PT Sans Narrow', sans-serif;
  color: #f8f5f2;
}

.inner-page {
  background: #f8f5f2 url("../img/inner-back.png") no-repeat;
  color: #000;
}

.inner-page-title h1 {
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
  font-size: 30px;
  line-height: 42px;
}

.breadcrumbs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  position: relative;
  display: inline;
  padding-right: 40px;
}

.breadcrumbs a {
  color: #000;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .current {
  color: #aba9a7;
}

.breadcrumbs li::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  background-color: #000;
  top: 4px;
  right: 18px;
  transform: rotate(45deg);
}

.breadcrumbs .current::after {
  display: none;
}

.inner-content {
  margin-bottom: 75px;
}

.inner-content h2 {
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 24px;
  line-height: 30px;
}

.inner-content h3 {
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 24px;
  line-height: 30px;
}

.inner-content p {
  margin: 14px 0;
}

.inner-content h2+h3 {
  margin-top: 30px;
}

.inner-content table {
  border-collapse: collapse;
}

.big-heading {
  text-align: center;
  margin-top: 55px;
  margin-bottom: 65px;
}

.big-heading h2 {
  position: relative;
  margin: 0;
  z-index: 2;
  padding: 0 25px;
  display: inline-block;
  font-size: 48px;
  line-height: 48px;
  text-align: center;
  background: #f8f5f2 url("../img/inner-back.png") repeat;
}

.big-heading::after {
  content: "";
  display: block;
  position: relative;
  top: -25px;
  z-index: 1;
  border-bottom: 2px solid #000;
}

.inner-content td {
  padding: 10px 15px;
  border: 2px solid #000;
}

.custom-list-1 {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.custom-list-1 li {
  padding-left: 20px;
  margin-bottom: 15px;
  position: relative;
}

.custom-list-1 li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #000;
  transform: rotate(45deg);
}

.prices-table {
  width: 100%;
}

.prices-table td {
  width: 50%;
}

.prices-table td:nth-child(2n) {
  text-align: center;
}

.inner-columns {
  margin: 60px 0;
}

.inner-column-left,
.inner-column-right {
  width: 460px;
}

.inner-column-left {
  float: left;
}

.inner-column-right {
  float: right;
}

.inner-column-right *:first-child,
.inner-column-left *:first-child {
  margin-top: 0;
}

.inner-column-right *:last-child,
.inner-column-left *:last-child {
  margin-bottom: 0;
}

.inner-column-text {
  padding-right: 70px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.main-header {
  color: #f8f5f2;
  background-color: #000;
  margin-bottom: 60px;
}

.inner-page .main-header {
  margin-bottom: 55px;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  color: #f8f5f2;
  padding: 26px 20px;
}

.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.main-navigation li {
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
  vertical-align: top;
}

.main-navigation img {
  width: 111px;
  height: 24px;
}

.main-navigation .inner-logo:hover {
  background: none;
}

.main-header a:hover {
  background-color: #242424;
}

.main-navigation .inner-logo {
  width: 111px;
  height: 20px;
  float: left;
  padding-top: 22px;
}

.main-navigation .active span {
  display: block;
  color: #f8f5f2;
  padding: 26px 20px;
  cursor: default;
}

.main-navigation .active {
  background-color: none;
  position: relative;
}

.main-navigation .active::after {
  content: "";
  position: absolute;
  height: 5px;
  background-color: #f8f5f2;
  right: 20px;
  left: 20px;
  bottom: 0;
}

.container {
  width: 940px;
  margin: 0 auto;
  padding: 0 10px;
}

.main-navigation {
  width: 780px;
  float: left;
}

.user-block {
  max-width: 140px;
  float: right;
}

.user-block a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #f8f5f2;
  padding: 26px 20px 26px 55px;
  font-size: 16px;
  line-height: 20px;
}

.user-block a::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 28px;
  left: 23px;
  background: transparent url("../img/sprites.png") no-repeat;
  background-position: -11px -97px;
  opacity: 0.3;
}

.user-block a:hover::before {
  opacity: 1;
}

.index-logo {
  height: 204px;
  width: 368px;
  margin: 0 auto;
  margin-bottom: 25px;
}

.index-logo img {
  height: 204px;
  width: 368px;
}

.features {
  margin-bottom: 80px;
}

.features-title {
  position: relative;
  font-size: 30px;
  line-height: 42px;
  display: block;
  margin-bottom: 30px;
  padding-bottom: 35px;
}

.features-title::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  content: "";
  display: block;
  background-color: #f8f5f2;
  transform: rotate(45deg);
}

.features-item {
  min-height: 175px;
  float: left;
  margin-right: 20px;
  width:300px;
  text-align: center;
}

.features-item p {
  text-align: center;
}

.features-item:last-child {
  margin-right: 0;
}

.index-content {
  padding: 50px 80px;
  margin-bottom: 35px;
  background: url("../img/index-content-lineshadow.png") no-repeat center, #f8f5f2 url("../img/index-content-back.png");
  color: #000;
}

.index-content-title {
  font-size: 30px;
  line-height: 42px;
  margin: 0;
  margin-bottom: 25px;
}

.index-content p {
  margin: 0;
  margin-bottom: 25px;
}

.news-preview {
  margin: 0;
  padding: 0;
  list-style: none;
  padding-right: 35px;
}

.news-preview p {
  margin-bottom: 0;
}

.news-preview time {
  text-transform: none;
  font-weight: 400;
}

.index-content li {
  margin-bottom: 25px;
}

.index-content-left {
  width: 380px;
  min-height: 330px;
  float: left;
}

.index-content-right {
  width: 300px;
  min-height: 330px;
  float: right;
}

.btn {
  background-color: #000;
  color: #f8f5f2;
  outline: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  display: inline-block;
  padding: 10px 33px;
  margin-right: 16px;
  text-align: center;
  vertical-align: top;
}

.btn:hover,
.btn:active {
  background-color: #663d15;
}

.btn:disabled:hover,
.btn.disabled:hover {
  background-color: #000;
}

.btn:disabled,
.btn.disabled {
  cursor: default;
  opacity: 0.3;
}

.gallery {
  position: relative;
  height: 260px;
}

.gallery-content {
  margin: 0;
  height: 164px;
  border: 7px solid #f8f5f2;
  background-color: #ccc;
}

.gallery-content img {
  width: 286px;
  height: 164px;
}

.gallery .btn {
  position: absolute;
  bottom: 0;
  width: 140px;
  margin: 0;
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

.link input {
  background-color: #f8f5f2;
  border: 2px solid #000;
  outline: none;
  font-size: 14px;
  line-height: 24px;
  font-family: "PT Sans Narrow", sans-serif;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  width: 106px;
  padding: 7px 15px;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.link input:nth-child(2n) {
  margin-right: 0;
}

.link .btn {
  width: 100%;
  clear: both;
}

.link input:focus {
  border: 2px solid #663d15;
}

.main-footer {
  margin-top: 65px;
  padding: 60px 0px 40px 0px;
  color: #f8f5f2;
  background: #252525 url("../img/footer-back.png");
}

.footer-contacts {
  width: 320px;
  float: left;
  min-height: 90px;
  margin-right: 60px;
}

.footer-contacts a {
  color: #f8f5f2;
}

.footer-contacts a:hover {
  text-decoration: none;
}

.main-footer p {
  margin:0;
  margin-bottom: 15px;
}

.footer-social {
  width: 180px;
  float: left;
  min-height: 90px;
  text-align: center;
}

.social-btn {
  display: inline-block;
  width: 43px;
  height: 43px;
  background: #000 url("../img/sprites.png") no-repeat center;
  margin: 0 2px;
  font-size: 0;
  vertical-align: top;
  text-decoration: none;
  transition:
  background-position 0.5s,
  background-color 0.5s;
}

.social-btn:hover {
  background-color: #f8f5f2;
}

.social-vk {
  background-position: -41px -43px;
}

.social-fb {
  background-position: 0 -43px;
}

.social-inst {
  background-position: -86px -43px;
}

.social-vk:hover {
  background-position: -41px 0;
}

.social-fb:hover {
  background-position: 0 0;
}

.social-inst:hover {
  background-position: -86px 0;
}

.footer-copyright {
  max-width: 180px;
  float: right;
  min-height: 90px;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  margin-bottom: 15px;
}

.footer-copyright .btn {
  margin-right: 0;
}

.modal-content {
  width: 300px;
  padding: 50px 80px;
  background: #f8f5f2 url("../img/inner-back.png");
  color: #000;
  position: fixed;
  top: 120px;
  left: 50%;
  margin-left: -230px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);
  z-index: 20;
  display: none;
}

.modal-content-close {
  position: absolute;
  top: 0;
  right: -34px;
  width: 22px;
  height: 22px;
  font-size: 0;
  background-color: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.modal-content-close::after,
.modal-content-close::before {
  content: "";
  position: absolute;
  width: 19px;
  height: 3px;
  background-color: #d0d0d0;
  border-radius: 1px;
  top: 10px;
  left: 2px;
}

.modal-content-close::after {
  transform: rotate(45deg);
}

.modal-content-close::before {
  transform: rotate(-45deg);
}

.modal-content h2 {
  margin: 0;
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 42px;
}

.modal-content p {
  margin: 0;
  margin-bottom: 14px;
}

.modal-content .login-form {
  margin-top: 30px;
  margin-bottom: 10px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 236px;
  margin: 0;
  margin-bottom: 10px;
  padding: 10px 20px;
  padding-right: 40px;
  background-color: #f9f6f3;
  border: 2px solid #000;
  outline: none;
  font-size: 14px;
  line-height: 24px;
  font-family: "PT Sans Narrow", sans-serif;
  color: #000;
  text-transform: uppercase;
}

.login-form input:focus {
  border-color: #663d15;
}

.login-form input.icon-user {
  background-image: url("");
}

.login-form input.icon-password {
  background-image: url("");
}

.login-form .restore {
  float: right;
  color: #000;
}

.login-form .restore:hover {
  text-decoration: none;
}

.login-form .btn {
  width: 100%;
  margin-top: 15px;
}

.login-form .login-checkbox {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.login-form .login-checkbox:hover {
  color: #663d15;
}

.login-form input[type="checkbox"] {
  display: none;
}

.login-form .login-checkbox::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 16px;
  height: 16px;
  border: 2px solid #000;
}

.login-form input[type="checkbox"]:checked+.checkbox-indicator::after,
.login-form input[type="checkbox"]:checked+.checkbox-indicator::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 15px;
  height: 2px;
  background-color: #000;
}

.login-form input[type="checkbox"]:checked+.checkbox-indicator::after {
  transform: rotate(45deg);
}

.login-form input[type="checkbox"]:checked+.checkbox-indicator::before {
  transform: rotate(-45deg);
}

.modal-content-map {
  width: 766px;
  height: 561px;
  background: #e9e5dc url("../img/map.png");
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -280px;
  margin-left: -390px;
  border: 7px solid #f8f5f2;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);
  z-index: 20;
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: none;
}

.modal-content-show {
  display: block;
}

.modal-content-animation-bounce {
  animation: bounce 0.5s 1;
}

.modal-content-animation-shake {
  animation: shake 0.5s 1;
}

.modal-content-map-animation {
  animation: zoom 0.2s 1;
}

@keyframes zoom {
  0% {transform: scale(0);}
  20% {transform: scale(0.2);}
  40% {transform: scale(0.4);}
  60% {transform: scale(0.6);}
  80% {transform: scale(0.8);}
  100% {transform: scale(1);}
}

@keyframes shake {
  0%, 100% {transform: translateX(0);}
  10%, 30%, 50%, 70%, 90% {transform: translateX(20px);}
  20%, 40%, 60%, 80% {transform: translateX(-20px);}
}

@keyframes bounce {
  0% {transform: translateY(-2000px);}
  70% {transform: translateY(30px);}
  85% {transform: translateY(-10px);}
  100% {transform: translateY(0);}
}
