.rs-17 .rs-gallery .rs-gallery-inner{padding-top:15px;padding-bottom:25px;}
.rs-17 .rs-gallery .section-title{position:relative;}
.rs-17 .rs-gallery .section-descr{width:70%;text-align:center;margin:25px auto 40px;}
.rs-17 .rs-gallery  .section-descr p{color:#616161;font-size:18px;}
.rs-17 .rs-gallery .section-title{font-size:36px;font-weight:400;background-color:#fff;}
.rs-17 .rs-gallery .album-photo{margin-bottom:30px;float:none;display:inline-block;vertical-align:top;margin-left:-4px;text-align:center;}
.rs-17 .rs-gallery .album-photo > a{position:relative;display:inline-block;}
.rs-17 .rs-gallery .album-photo img{margin:0 auto;border-radius:25px;}
.rs-17 .rs-gallery .album-photo a:before{content:'';opacity:0;position:absolute;top:0;right:0;bottom:0;left:0;display:block;z-index:2;width:100%;height:100%;background:rgba(0, 0, 0, .3);-moz-transition:all 0.3s ease 0s;-webkit-transition:all 0.3s ease 0s;-o-transition:all 0.3s ease 0s;-ms-transition:all 0.3s ease 0s;transition:all 0.3s ease 0s;}
.rs-17 .rs-gallery .gallery-tile{display:flex;flex-wrap:wrap;}
.rs-17  .rs-gallery .gallery-item{display:block;background-color:#fafafa;transition:all 0.3s ease 0s;-moz-transition:all 0.3s ease 0s;-webkit-transition:all 0.3s ease 0s;-o-transition:all 0.3s ease 0s;-ms-transition:all 0.3s ease 0s;margin-bottom:30px;height:400px;border-radius:6px 6px 0 0;overflow:hidden;}
.rs-17  .rs-gallery .gallery-title h4{margin:0;height:42px;overflow:hidden;display:block;line-height:21px;margin:25px 0 7px;padding:0 5px;}
.rs-17  .rs-gallery .gallery-title h4 a{font-weight:700;color:#424242;text-decoration:none;text-transform:uppercase;font-size:18px;}
.rs-17 .rs-gallery .gallery-content{margin-top:5px;margin-bottom:10px;padding-left:5px;padding-right:5px;min-height:40px;}
.rs-17 .rs-gallery .gallery-item{display:block;height:auto;transition:all 0.3s ease 0s;-moz-transition:all 0.3s ease 0s;-webkit-transition:all 0.3s ease 0s;-o-transition:all 0.3s ease 0s;-ms-transition:all 0.3s ease 0s;text-align:center;overflow:hidden;}
.rs-17 .rs-gallery .gallery-image{display:block;overflow:hidden;position:relative;background-repeat:no-repeat;background-size:cover;background-position:center;height:215px;}
.rs-17 .rs-gallery .gallery-more{border:0;display:block;height:auto;padding:5px 0 30px;width:100%;}
.rs-17 .rs-gallery .gallery-content p{color:#616161;height:42px;overflow:hidden;}
.rs-17 .rs-gallery .btn-outline{border-color:#9e9e9e;color:#616161;text-shadow:none;font-weight:700;}
.rs-17 .rs-gallery .btn-outline:hover, .rs-17 .rs-gallery .btn-outline:focus{background-color:#818181;color:#fff;}
.rs-17 .rs-gallery .album-photo a:hover:before{opacity:1;}
.rs-17 .rs-gallery .btn-back{padding-left:0;padding-right:0;}
.rs-17 .rs-gallery .btn-back > i{padding-right:5px;}
.rs-17 .rs-gallery .pagination > li > a, .rs-17 .rs-gallery .pagination > li > span{font-size:12px;color:#7c7c7c;}
.rs-17 .rs-gallery .pagination{margin-top:0;margin-bottom:10px;}
.rs-17 .rs-gallery .pagination .page-numbers{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd;}
.rs-17 .rs-gallery .pagination .page-numbers.current{color:#fff;background-color:#337ab7;border-color:#337ab7;}
.rs-17 .rs-gallery .pagination .page-numbers:focus, .rs-17 .rs-gallery .pagination .page-numbers:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd;}
.rs-17 .rs-gallery .pagination .nav-links .page-numbers:first-child{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;}
.rs-17 .rs-gallery .pagination .nav-links .page-numbers:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;}
@media(max-width:767px){
.rs-17 .rs-gallery .section-title--text {
font-size: 28px;
}
.rs-17 .rs-gallery .section-descr{
width: 100%;
}
}