.rs-17 .rs-page {
    padding-bottom: 2px;
}

.rs-17 .rs-page .rs-page-inner {
    padding-top: 10px;
}

.rs-17 .rs-page .parallax {
    min-height: 400px;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.rs-17 .rs-page .parallax.parallax-about {
    background-image: url("../../img/about_bg-min.jpg");
}

.rs-17 .rs-page .parallax .container {
	min-height: 590px;
    position: relative;
}

.rs-17 .rs-page .parallax-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
	text-align: left;
    font-weight: 400;
    color: #354764;
	font-family: 'EB Garamond', serif;
}

.rs-17 .rs-page .parallax-content h1,
.rs-17 .rs-page .parallax-content .h1 {
	font-size: 72px;
	letter-spacing: 1.4pt;
}

.rs-17 .rs-page .parallax-content .banner-text {
    font-size: 41px;
    margin-top: 23px;
    letter-spacing: 0.8pt;
    line-height: 49px;
}

.rs-17 .rs-page .section-descr {
    width: 70%;
    text-align: center;
    margin: 5px auto 40px;
}

.rs-17 .rs-page .section-descr p {
    color: #616161;
    font-size: 18px;
}

.rs-17 .rs-page .section-title {
    position: relative;
    font-size: 36px;
    font-weight: 400;
    background-color: #fff;
    margin-top: 20px;
    margin-bottom: 30px;
}

.rs-17 .rs-page .section-title.style2:after {
    height: 1px;
    width: 91px;
    background: #DDDDDD;
    display: block;
    position: static;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    content: "";
}

.rs-17 .rs-page img {
    border: 1px solid #dddddd;
    padding: 5px;
    border-radius: 4px;
}

.rs-17 .rs-page .about-main p {
    margin-bottom: 20px;
}

.rs-17 .rs-page .about-main h4 {
    line-height: 1.30;
    margin-bottom: 15px;
}

.rs-17 .rs-page .about-main table {
    margin-bottom: 10px;
}

.rs-17 .rs-page .about-main img {
    position: relative;
    z-index: 10;
}

.rs-17 .rs-page .about-main ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rs-17 .rs-page .about-main ul li {
    position: relative;
}

.rs-17 .rs-page .about-main ul li:before {
    content: "\f00c";
    color: #b5b5b5;
    display: inline-block;
    padding-right: 10px;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rs-17 .rs-page .about-main .nav-tabs li:before {
    content: none;
}

.rs-17 .rs-page .sidebar {
    margin-top: 20px;
    border-radius: 0;
}

.rs-17 .rs-page .sidebar .panel-body {
    padding-bottom: 0;
    padding-top: 0;
}

.rs-17 .rs-page .sidebar>.panel-heading {
    color: #212121;
    border-top: 4px solid #01579b;
    border-radius: 0;
}

.rs-17 .rs-page .sidebar .list-group {
    margin-bottom: 0;
}

.rs-17 .rs-page .sidebar .list-group ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rs-17 .rs-page .sidebar .list-group ul>li>a {
    position: relative;
    display: block;
    padding: 12px 15px;
    margin-bottom: -1px;
    border-bottom: 1px solid #ddd;
    color: #555;
    transition: none;
}

.rs-17 .rs-page .sidebar .list-group ul>li>a:hover,
.rs-17 .rs-page .sidebar .list-group ul>li>a:focus,
.rs-17 .rs-page .sidebar .list-group ul>li.current-menu-item>a {
    color: #424242;
    text-decoration: none;
    font-weight: 700;
}

.rs-17 .rs-page .sidebar .list-group-item:first-child {
    border-radius: 0;
    border-top: none;
}

.rs-17 .rs-page .sidebar .list-group-item:last-child {
    border-radius: 0;
    border-bottom: none;
}

.rs-17 .rs-page .sidebar .list-group-item {
    border-left: none;
    border-right: none;
    padding-top: 12px;
    padding-bottom: 12px;
    transition: none;
}

.rs-17 .rs-page .sidebar a.list-group-item:hover,
.rs-17 .rs-page .sidebar a.list-group-item:focus {
    color: #424242;
    font-weight: 700;
    background-color: transparent;
}

.rs-17 .rs-page .btn-back {
    padding: 15px 0;
}

.rs-17 .rs-page .btn-back>i {
    padding-right: 5px;
}

.rs-17 .rs-page .news-date {
    color: #616161;
    font-weight: 300;
    margin-bottom: 15px;
}

.rs-17 .rs-page .gallery-row {
    padding-top: 30px;
}

.rs-17 .rs-page .gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
}

.rs-17 .rs-page .gallery-item.gallery-item--col4 a {
    height: 262px;
}

.rs-17 .rs-page .gallery-item.gallery-item--col6 a {
    height: 165px;
}

.rs-17 .rs-page .gallery-item a {
    display: block;
    background-color: #000;
    text-decoration: none;
    position: relative;
    background-size: cover;
}

@media(max-width: 1199px) {
	.rs-text-block__image-top {
		display: none;
	}
	
	.rs-text-block__image-bottom {
		display: none;
	}
	
	.rs-text-block__wrapper.text-block_company {
		padding: 90px 40px;
	}
	
	.rs-text-block__wrapper:before {
		display: none;
	}
}

@media (min-width: 1025px) {
    .rs-17 .rs-page .parallax {
        background-attachment: fixed;
    }
}

@media (max-width: 767px) {
    .rs-17 .rs-page .parallax-content h1,
    .rs-17 .rs-page .parallax-content .h1 {
        font-size: 42px;
    }
	
	.rs-17 .rs-page .parallax-content .banner-text {
        font-size: 28px;
		line-height: 30px;
    }
    .rs-17 .rs-page .section-title--text {
        font-size: 28px;
    }
    .rs-17 .rs-page .section-descr {
        width: 100%;
    }
}

/* history */

.history {
	color: #424242;
	font-size: 16px;
}

.history .history_title {
	position: relative;
}

.history .history_bg {
	font-size: 140px;
	font-family: 'EB Garamond', serif;
	color: #d7dae0;
	position: absolute;
	top: -147px;
    left: -81px;
    letter-spacing: 2.6pt;
	z-index: 2;
}

.history .history_subtitle {
    font-size: 46px;
    font-family: 'EB Garamond', serif;
    color: #354764;
    letter-spacing: 0.9pt;
    margin-bottom: 45px;
	position: relative;
	z-index: 3;
}

.history p {
	line-height: 33px;
    margin-bottom: 12px;
}

.rs-text-block.text-block_company {
    padding-bottom: 205px;
}

.rs-text-block.textblock-history {
    padding-top: 90px;
}

@media(max-width: 1776px) {
	.rs-text-block {
		overflow: hidden;
	}
	
	.img-bg {
		display: none;
	}
	
	.rs-parallax-list:before {
		display: none;
	}
	
	.history .history_bg {
		left: 0;
	}
}

@media(max-width: 1199px) {
	.history .history_bg {
		font-size: 80px;
		top: -110px;
		left: 0;
	}
	
	.history .history_subtitle {
		font-size: 42px;
		line-height: 38px;
	}
	
	.list-info {
		margin-bottom: 70px;
	}
	
	.rs-parallax-list:before {
		display: none;
	}
}

.rs-17 .rs-page .section-title {
    font-size: 46px;
    font-weight: 400;
    width: auto;
    padding: 10px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    color: #354764;
    text-align: center;
    margin-bottom: 50px;
}

/* Праздники */

.rs-text-block__wrapper a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 32px;
  border: 1px solid #333333;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.rs-text-block__wrapper a:after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 1px;
  width: calc(100% - 5px);
  height: calc(100% - 5px);
  margin: auto;
  background-color: #333333;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.rs-text-block__wrapper a:hover {
  color: #ffffff;
}

.rs-text-block__wrapper a:hover:after {
  opacity: 1;
  visibility: visible;
}