/* --------------- слайдер ---------*/
.slider ul li {
    list-style: none;
    background-position: center center;
    background-size: cover;
}
.slide-content {
    display: flex;
    height: calc(100vh - 100px - 55px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.slide-content h1 {
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0, 0.5);
    padding: 10px 20px;
}
.slide-content h3 {
    font-size: 24px;
    text-align: center;
    color: #fff;
    font-weight: 400;
    margin: 20px 0;
    background: rgba(0,0,0, 0.5);
    padding: 10px 20px;
}
.slide-content .btn {
    padding: 12px 0;
    width: 250px;
    text-align: center;
    font-size: 20px;
    border-radius: 5px;
    background: rgba(244, 224, 182, 1);
}
.slide-content .btn:hover, .slide-content .btn:active {
    background: #f7d48a;
}
.unslider {
    position: relative;
}
.unslider-nav {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.unslider-arrow {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f4e0b6;
    transition: all .3s;
}
.unslider-arrow.prev {
    left: 10px;
}
.unslider-arrow.next {
    right: 10px;
}
.unslider-arrow.next, .unslider-arrow.prev {
    color:#fff;
    cursor: pointer;
    opacity: 0.5;
    transition: all .3s;
}
.unslider-arrow.next:hover, .unslider-arrow.prev:hover {
    opacity: 0.9;
    color: #fcb729;
}
.unslider-nav ol {
    list-style: none;
    text-align: center;
}
.unslider-nav ol li {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 10px 20px 10px;
    background: #f4e0b6;
    border-radius: 10px;
    overflow: hidden;
    text-indent: -999em;
    border: 2px solid #fff;
    cursor: pointer;
}
.unslider-nav ol li.unslider-active {
    background: #e2a528;
    cursor: default;
}
/* --------------- /слайдер ---------*/

/* --------------- выгоды ---------*/
#benefits {
    text-align: center;
    border-top: 3px solid #ddd;
}
#benefits .container {
    padding: 30px 0 0 0;
}
.benefit {
    margin-bottom: 30px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    padding: 20px;
    transition: all .3s;
    cursor: pointer;
}
.benefit a {
	color: inherit;
	text-decoration: none;
	display: block;
}
.benefit:hover {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 10px 0px rgba(50, 50, 50, 0.75);
}
.benefit img {
    margin-bottom: 10px;
    height: 100px;
    width: auto;
}
.benefit h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 400;
}
/* --------------- /выгоды ---------*/

/* --------------- детальный просмотр выгоды ---------*/
.big-modal .modal-box {
    width: 990px;
    overflow: hidden;
    padding: 0;
}
.big-modal .modal-box .content {
    display: flex;
}
.big-modal .modal-box .content .imgs .img-wrapper {
    width: 500px;
    height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.big-modal .modal-box .content .imgs .thumbs {
    padding: 10px;
    background-color: #4a4a4a;
    overflow: hidden;
    position: relative;
}
.big-modal .modal-box .content .imgs .thumbs .empty-thumbs {
    height: 80px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
}
.big-modal .modal-box .content .imgs ul {
    width: 1000%;
    transition: all .5s;
    overflow: hidden;
    list-style: none;
}
.big-modal .modal-box .content .imgs .thumb-item {
    height: 80px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
}
.big-modal .modal-box .content .imgs .thumb-item a {
    display: block;
    width: 100%;
    height: 100%;
}
.big-modal .modal-box .content .imgs .arrow {
    background-color: rgba(14, 135, 201, 0.7);
    border: 1px solid #095a86;
    width: 30px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:  all .3s;
    cursor: pointer;
    position: absolute;
    top: 30px;
    z-index: 1212121212;
}
.big-modal .modal-box .content .imgs .arrow:hover{
    background-color: rgba(14, 135, 201, 1);
}
.big-modal .modal-box .content .imgs .arrow.thumbs-left-nav {
    left: 0;
}
.big-modal .modal-box .content .imgs .arrow.thumbs-right-nav {
    right: 0;
}
.big-modal .modal-box .content .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}
.big-modal .modal-box .content .info .flex-item .wrapper {
    padding: 0 20px;
}
.big-modal .modal-box .content .info h3 {
    font-size: 22px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.big-modal .modal-box .content .info p {
    margin-bottom: 10px;
}
.big-modal .modal-box .content .info h4 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 400;
}
.big-modal .modal-box .content .info ul {
    margin: 0  0 10px 15px;
}
.modal-form {
    display: none;
}
.big-modal .modal-box .content .info .input {
    margin-bottom: 10px;
}
.big-modal .modal-box .content .info .input input {
    height: 30px;
    font-size: 13px;
}
.big-modal .modal-box .content .info .textarea textarea {
    font-size: 13px;
    min-height: 40px;
}
.big-modal .modal-box .content .info .submit {
    margin-top: 10px;
}
.big-modal .modal-box .content .info .submit .btn {
    padding: 5px 20px;
    font-size: 13px;
}
.big-modal .modal-box .content .info .house-price {
    margin-bottom: 0;
    font-size: 20px;
}
.flex-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 15px 20px;
}
.flex-price .btn {
    padding: 8px 15px;
}
/* --------------- //детальный просмотр выгоды ---------*/



/* --------------- о базе ---------*/
#about article {
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    padding: 20px 40px;
    margin-bottom: 30px;
}
#about article h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 400;
}
#about article p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}
#about article p:last-child {
    margin-bottom: 0;
}
/* --------------- /о базе ---------*/

/* --------------- карта объектов ---------*/
.objects-body {
    margin-bottom: 30px;
}
.objects {
    width: 600px;
}
.object-links, .objects-map {
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 3px 0px rgba(50, 50, 50, 0.75);
}
.object-links {
	padding: 20px;
}
.object-links h2 {
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
.object-links ul {
    margin: 20px;
    font-size: 18px;
    line-height: 1.7;
}
/* --------------- /карта объектов ---------*/

/* --------------- галлерея ---------*/
#gallery-main {
    margin-bottom: 30px;
}
#gallery-main .wrapper {
    background-color: #fff;
    box-sizing: border-box;
    padding: 20px 40px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 3px 0px rgba(50, 50, 50, 0.75);
}
#gallery-main .wrapper .block-header {
    border-bottom: 1px solid #b0ae95;
    margin-bottom: 30px;
    padding: 0 0 8px 0;
    display: flex;
    justify-content: space-between;
}
#gallery-main .wrapper .block-header h2 {
    font-size: 20px;
    font-weight: 400;
}
#gallery-main .wrapper .block-header a {
    display: block;
    font-size: 12px;
    text-decoration: none;
    padding: 7px 20px;
    background-color: transparent;
    color: #095a86;
    border: 2px solid #095a86;
    border-radius: 5px;
    transition: all .3s;
}
#gallery-main .wrapper .block-header a:hover, #gallery-main .wrapper .block-header a:active {
    background-color: #0370b1;
    color: #fff;
}
.gallery {
    overflow: hidden;
    position: relative;
}
.gallery-box ul {
    width: 1000%;
    transition: all .5s;
}
.gallery-box ul li {
    float: left;
    display: block;
    height: 150px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.gallery-box ul li .hover {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0,0,0,0.5);
    font-size: 28px;
    transition: all .5s;
    opacity: 0;
    text-decoration: none;
}
.gallery-box ul li:hover .hover{
    opacity: 1;
}
.gallery .arrow {
    background-color: rgba(14, 135, 201, 0.7);
    border: 1px solid #095a86;
    width: 30px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:  all .3s;
    cursor: pointer;
    position: absolute;
    top: 55px;
}
.gallery .arrow:hover{
    background-color: rgba(14, 135, 201, 1);
}
.gallery .arrow.left-nav {
    left: 0;
}
.gallery .arrow.right-nav {
    right: 0;
}

.lightbox {
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    z-index: 130;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
}
.lightbox .btn-close-modal {
    opacity: 0.3;
    cursor: pointer;
    position: fixed;
    z-index: 10005;
    top: 10px;
    right: 10px;
    color: #fff;
    transition: all .3s;
}
.lightbox .btn-close-modal:hover {
    opacity: 1;
}
.lightbox .lightbox-content {
    position: relative;
    z-index: 150;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 800px;
    height: 100%;
}
.lightbox .lightbox-content .img-wrapper {
    order: 2;
    max-height: 90%;
    max-width: 90%;
    margin: 0 10px;
}
.lightbox-nav.prev {
    margin-right: auto;
    order: 1;
}
.lightbox-nav.next {
    margin-left: auto;
    order: 3;
}
.lightbox-nav {
    color:#fff;
    cursor: pointer;
    opacity: 0.3;
    transition: all .3s;
    font-size: 40px;
}
.lightbox-nav:hover {
    opacity: 1;
}
/* --------------- /галлерея ---------*/

/* --------------- карта проезда ---------*/
#sheme-main {
    width: 100%;
    height: 400px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 3px 0px rgba(50, 50, 50, 0.75);
}
/* --------------- /карта проезда ---------*/


/* Границы контейнера */
@media screen and (max-width : 1169px) {
    /*** слайдер ***/
    .slider ul li .container {max-width: 80%; margin: 0 auto}
    .unslider-arrow.prev {left: 10px;}
    .unslider-arrow.next {right: 10px;}
}

/* Средние устройства, компьютеры */
@media screen and (max-width : 992px) {
    /*** слайдер ***/
    .slide-content {height: calc(100vh - 100px - 50px);}
    .unslider-arrow.prev {left: 15px;}
    .unslider-arrow.next {right: 15px;}
    .slide-content h1 {font-size: 32px; padding: 7px 20px;}
    .slide-content h3 {
        font-size: 22px;
        margin: 15px 0;
        padding: 7px 20px;
    }
    .slide-content .btn {
        padding: 7px 0;
    }
    
    
    .object-links ul {
	    margin: 20px;
	    font-size: 16px;
	    line-height: 1.3;
	}


    /*** о базе ***/
    #about article {padding: 20px 30px;}

    /*** галерея ***/
    .img-items {margin-bottom: 20px;}

}

/* Маленькие устройства, планшеты */
@media screen and (max-width : 768px) {
    /*** слайдер ***/
    .unslider-arrow {display: none}
    .slide-content h1 {font-size: 28px;}
    .slide-content h3, .slide-content .btn {font-size: 18px;}

    /*** о базе ***/
    #about article {padding: 20px;}
    #about article p {font-size: 14px;}

    /*** карта объектов ***/
    .objects {width: 100%;}
    .object-links {margin-bottom: 10px; order: -1;}

    /*** галерея ***/
    #gallery-main .wrapper {padding: 20px;}
    #gallery-main .wrapper .block-header a {padding: 7px 10px;}
    #gallery-main .wrapper .block-header a .fa {display: none;}
    .lightbox .lightbox-content {width: 100%;}
    .lightbox-nav {font-size: 32px;}

    /*** карта проезда ***/
    #sheme-main {height: 300px;}
}

/* Очень маленькие устройтсва, телефоны */
@media screen and (max-width : 480px) {
    /*** слайдер ***/
    .slide-content {height: calc(100vh - 80px - 40px);}
    .slide-content h1 {font-size: 24px;}
    .slide-content h3, .slide-content .btn {font-size: 16px;}
    .slide-content .btn {width: 100%}

    /*** выгоды ***/
    .benefit {margin-bottom: 15px;}
    .benefit:last-child {margin-bottom: 30px;}
    .benefit h3 {font-size: 18px;}

    /*** о базе ***/
    #about article h2 {font-size: 18px; margin-bottom: 5px;}
    #about article p {margin-bottom: 5px;}

    /*** галерея ***/
    #gallery-main .wrapper .block-header {
        margin-bottom: 15px;
        justify-content: flex-start;
        flex-direction: column;
    }
    #gallery-main .wrapper .block-header h2 {
        font-size: 18px;
        margin-bottom: 8px;
        align-self: center;
    }
    #gallery-main .wrapper .block-header a {
        padding: 7px 0;
        text-align: center;
    }
    .img-items {margin-bottom: 10px;}

    /*** карта объектов ***/
    .object-links h2 {font-size: 18px;}
    .object-links ul {
        margin: 10px 20px;
        font-size: 14px;
        line-height: 1.3;
    }

}