html,
body {
    height: 100%;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    background: url("../images/background.png") no-repeat top / 100%;
    padding-top: 12px;
}

h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.8rem;
}
h3 {
    font-size: 1.6rem;
}
h4 {
    font-size: 1.5rem;
}
h5 {
    font-size: 1.4rem;
}
h6 {
    font-size: 1.2rem;
}


a {
    color: #c99347;
    text-decoration: none !important;
}
header a {
    color: #fff;
    text-decoration: none !important;
}
a:hover {
    color: #a47a3a;
}

.btn-success {
    background-color: #a3773a;
    border-color: #86622f;
}
.btn-success:hover, .btn-success:active, .btn-success:focus {
    background-color: #86622f !important;
}

.logo {
    width: 100%;
    max-width: 379px !important;
}

.loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9999999999;
}

.garden-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 139px;
    height: 163px;
    margin: -70px 0 0 -80px;
    background: url('../images/preloader.png') center;
}

.garden-preloader > .overlay {
    position: absolute;
    background: rgba(255,255,255,.9);
    width: 139px;
    height: 148px;
}

.garden-preloader > span {
    position: absolute;
    margin: 165px 0 0 50px;
    font-size: 20px;
    color: #513c20;
}

nav {
    width: 100%;
    padding: 20px 30px 20px 10px;
    background: #170f0a url('../images/nav.png') repeat-x 100%;
    position: absolute;
    right: 0;
    max-width: 42vw;
    min-width: 500px;
    top: 70px;
}
nav::before {
    content: " ";
    background: url('../images/nav_left.png') no-repeat 100%;
    height: 60px;
    width: 60px;
    position: absolute;
    top: 0;
    left: -60px;
}
nav ul {
    padding: 0;
    list-style-type: none;
}
nav ul li {
    float: left;
    margin-right: 20px;
}
nav ul li a {
    color: #fff;
    text-transform: uppercase;
}

.empty-item img {
    border: none !important;
}

.floor-component, .roof-component {
    cursor: pointer;
}
.floor-component img, .roof-component img {
    border: 1px solid #e7e7e7;
}
.floor-component img.active, .roof-component img.active {
    border: 1px solid #86622f;
}


.tab-cost {
    padding: 15px 0 0 0;
    margin: 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.tab-cost > .glyphicon-ruble {
    font-size: 0.8rem;
}

.sprice-text {
    font-weight: bold;
}

section.description {
    width: 100%;
    background: rgba(0,0,0,.70);
    min-height: 300px;
    margin: 200px 0 40px 0;
    color: #fff;
    padding: 40px 0;
}
section.description h1 {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 900;
    color: #ca8e3e;
    margin: 10px 0 0 0;
}
section.description h2 {
    text-transform: uppercase;
    font-size: 1.7rem;
    font-weight: 300;
    margin: 10px 0 20px 0;
}
section.description button, .btn-primary {
    color: #fff;
    background: #6e522b;
    border: #513c20;
    padding: 10px 20px;
    text-transform: uppercase;
}
section.description button:hover, .btn-primary:hover {
    background: #513c20;
}

.btn-black {
    background: #2f2c29;
}
.btn-black:hover {
    background: #000;
}

section.content > .container {
    background: #fff;
    box-shadow: 0 0 10px #ccc;
    padding: 25px 40px;
    color: #000;
    min-height: 53vh;
}

footer {
	width: 100%;
    background: #181818;
    padding: 30px 0 0 0;
    color: #9a9a9a;
}
footer .foot_copy {
    text-align: center;
    margin-bottom: 50px;
}
footer .foot_copy p {
    margin-top: 20px;
}






.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 10px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

.nav > li > form > button:hover {
    text-decoration: none;
}


.container {
    max-width: 1060px;
}

blockquote {
    font-size: 1.1rem;
}
.gardens {
    padding: 10px 0 0 0;
}
.gardens .garden {
    box-shadow: 0 0 5px #f1f1f1;
    padding: 10px 20px;
    margin-bottom: 20px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.gardens .garden:hover {
    box-shadow: 0 0 20px #eaeaea;
}
.gardens .garden span {
    display: block;
}
.gardens .size {
    font-size: 1.6rem;
    color: #9c7237;

}
.gardens .garden img {
    width: 100%;
    max-width: 180px;
    margin: 10px 0;
}
.garden .title {
    font-size: 1.2rem;
    font-weight: bold;
}
.gardens .link-garden {
    text-decoration: none;
}



/* ORDER */

.order-items {
    box-shadow: 0 0 3px #e2e2e2;
    padding: 10px 5px 20px 5px;
}
.header-order {
    font-size: 1.4rem;
    margin: 10px 0;
    display: block;
}
.order-item {
    padding: 5px 0;
}
.order-item > .glyphicon-ok {
    color: #00c300;
}
.order-item > .glyphicon-ruble {
    font-size: 0.8rem;
}
.order-item-title {
    font-size: 1.1rem;
    font-style: italic;
}
.order-item-cost {
    font-weight: 600;
    font-size: 1.1rem;
}
.order-last {
    font-size: 1.2rem;
    box-shadow: 0 0 3px #e2e2e2;
    padding: 20px;
}
.end-price, .action-price {
    font-weight: 600;
}
.order-last .glyphicon {
    font-size: 1rem;
}
.last-price {
    font-size: 2rem;
}
.last-price > .glyphicon {
    font-size: 1.5rem;
}
.text-italic {
    font-style: italic;
}
label.btn {
    width: 100%;
    text-align: left;
}
.minify-hr {
    margin: 10px;
    display: block;
}


.constructor-block {
    box-shadow: 0 0 3px #e2e2e2;
}

/* alcove sliders */
.vertical-slider-container {
    background: #fcfcfc;
    border: 20px solid #fafafa;
    position: relative;
    width: 100%;
    min-height: 560px;
}
.slideshow {
    background: #fafafa;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slideshow img {
    display: block;
    width: 98px;
    height: 100px;
    padding: 10px;
}

.setting-block {
    margin-right: 10px;
    display: inline-block;
    padding: 10px;
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all .3s ease;
    border: 5px solid #e4e4e4;
}
.setting-block.active {
    border: 5px solid #c5af6e;
}
.setting-block.active:hover {
    border: 5px solid #e2ca81;
}
.setting-block .cost {
    font-weight: bold;
    padding: 6px 6px 0 6px;
    font-size: 1.1rem;
}
.setting-block .cost .glyphicon-ruble {
    font-size: 0.8rem;
}
.setting-block .title {
    font-weight: bold;
    position: absolute;
    opacity: 0;
    left: 0;
    background: rgba(255,255,255,.8);
    padding: 0 2px 5px 0;
    transition: all .3s ease;
}
.setting-block:hover .title {
    opacity: 1;
}

#cycle-slide-active-btn {
    position: absolute;
    background: #86622f;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    align-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 3px 0 0 0;
}
#cycle-slide-active-btn:hover {
    background: #523d1c;
}
.vertical-slider-container #cycle-slide-active-btn {
    margin: -27px 0 0 0;
}
.horizontal-slider-container #cycle-slide-active-btn {
    margin: 75px 0 0 -98px;
}

.vertical-slider-nav {
    color: rgba(0,0,0,0.8);
    cursor: pointer;
    display: block;
    height: 40px;
    left: 50%;
    margin-left: -20px;
    z-index: 10;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    text-decoration: none;
    width: 40px;
    background: #fafafa;
    border-radius: 50%;
    padding: 10px;
    border: 1px solid #444;
    transition: all .3s ease;
}


.vertical-slider-nav-up {
    top: -60px;
}

.vertical-slider-container:hover .vertical-slider-nav-up:hover {
    opacity: 1;
}

.vertical-slider-container:hover .vertical-slider-nav-up {
    top: -20px;
    opacity: 1;
}

.vertical-slider-nav-down {
    bottom: -60px;
}

.vertical-slider-container:hover .vertical-slider-nav-down:hover {
    opacity: 1;
}

.vertical-slider-container:hover .vertical-slider-nav-down {
    bottom: -20px;
    opacity: 1;
}

.horizontal-slider-container {
    background: #fafafa;
    border: 15px solid #fafafa;
    position: relative;
    width: 100%;
}

.horizontal-slider-nav {
    color: rgba(0,0,0,0.8);
    cursor: pointer;
    display: block;
    height: 40px;
    margin-left: -55px;
    z-index: 10;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    text-decoration: none;
    width: 40px;
    background: #fafafa;
    border-radius: 50%;
    padding: 10px;
    border: 1px solid #444;
    transition: all .3s ease;
}

.horizontal-slider-nav-up {
    top: 30px;
    transform: rotate(-90deg);
}

.horizontal-slider-container:hover .horizontal-slider-nav-up:hover {
    opacity: 1;
}

.horizontal-slider-container:hover .horizontal-slider-nav-up {
    margin-left: -20px;
    opacity: 1;
}

.horizontal-slider-nav-down {
    top: 30px;
    right: -55px;
    transform: rotate(-90deg);
}

.horizontal-slider-container:hover .horizontal-slider-nav-down:hover {
    opacity: 1;
}

.horizontal-slider-container:hover .horizontal-slider-nav-down {
    bottom: -20px;
    opacity: 1;
    right: -20px;
}
.cycle-slide {
    cursor: pointer;
    border: 5px solid transparent;
    border-radius: 20%;
}
.vertical-slider-container .cycle-slide {
    margin-bottom: 5px;
}
.cycle-active {
    border-color: #ccc;
}
.cycle-active::after {
    display: inline-block;
    background: #0099ff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    z-index: 2120;
    position: absolute;
}

.minimal-glyph {
    font-size: 0.7rem;
}
.garden span {
    color: #000 !important;
}

#base {
    background: #ccc url('../images/base.jpg') no-repeat center / cover;
    position: relative;
    width: 100%;
    height: 500px;
    margin: 30px 0;
}
#base img {
    width: inherit;
    height: inherit;
    position: absolute;
    left: 30px;
}
#base #roof img {
    z-index: 5;
}
#base #back img, #base #floor img {
    z-index: 1;
}
#base #front img {
    z-index: 4;
}
#base #left img {
    z-index: 2;
}
#base #right img {
    z-index: 3;
}
#base #house-wall img {
    z-index: 0;
}
#base .extra {
    padding: 20px;
    z-index: 6;
    position: absolute;
    width: inherit;
    height: inherit;
}
#base .extra button {
    display: block;
}
#base .btn-floor {
    position: absolute;
    bottom: 20px;
}

.index-block {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px;
	border:1px solid #f2f2f2;
	text-align: center;
	margin-bottom: 20px;

}
.index-block > p {
	font-size: 1.2em;
}
.lg-mg {
	margin-top: 20px;
}


@media screen and ( max-width : 987px ) {

	section.description {
		margin: 40px 0 30px 0;
	}

	.lg-mg {
		margin: 0 0 20px;
	}

}

@media screen and ( max-width : 767px ) {

	section.content > .container {
		padding: 10px 30px;
	}

	section.description {
		background: rgba(0,0,0,.9);
	}
	section.description h1 {
	    font-size: 2.5rem;
	}
	section.description h2 {
	    font-size: 1.2rem;
	}

    .contacts-head {
        padding-top: 20px;
    }

    nav {
        position: static;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: 60px;
        margin-top: 40px;
        overflow: auto;
    }
    nav ul {
        min-width: 390px;
        padding: 0 10px;

    }
    section.description h1 {
        font-size: 2rem;
    }

}


.m-t-10 {
    margin-bottom: 10px;
}
.m-t-20 {
    margin-bottom: 20px;
}
.m-t-30 {
    margin-bottom: 30px;
}
.m-b-10 {
    margin-bottom: 10px;
}
.m-b-20 {
    margin-bottom: 20px;
}
.m-b-30 {
    margin-bottom: 30px;
}

.relative {
    position: relative;
}
.right {
    float: right;
}
.primary {
    color: #86622F;
}


.head-main-desc {
    background: #cda169;
    border-radius: 0 5px 5px 0;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 30px 0 0 0;
    min-height: 44px;
}
.head-main-desc .first-desc {
    background: #170f0a;
    display: inline-block;
    color: #fff;
    padding: 10px 40px;
    position: absolute;
    left: -10px;
}
/*.head-main-desc .first-desc::after {
    content: " ";
    display: inline-block;
    position: absolute;
    width: 500px;
    height: 44px;
    background: #170f0a;
    float: right;
    top: 5px;
    left: -500px;
}*/
.head-main-desc .first-desc::after {
    content: " ";
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: -40px;
    border-bottom: 44px solid #170f0a;
    border-right: 40px solid transparent;
}
.head-main-desc .last-desc-block {
    display: inline-block;
    color: #fff;
    padding: 10px 50px 10px 40px;
    position: absolute;
    right: 0;
}
.head-main-desc .last-desc-block .last-desc {
    display: inline-block;

    color: #000;
    border-left: 1px solid #000;
}
.head-main-desc .last-desc-block .last-desc:first-child {
    border-left: none;
}

.head-main-desc .last-desc-block .last-desc > a {
    color: #000;
    padding: 0 50px;
}
.head-main-desc .last-desc-block .last-desc > a:hover {
    color: #fff;
}

.heading-text {
    background: #86622F;
    color: #fff;
    display: inline-block;
    padding: 10px 20px 10px 30px;
    position: absolute;
    left: -10px;
}
.heading-text::after {
    content: " ";
    display: inline-block;
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: -30px;
    border-top: 21px solid transparent;
    border-left: 30px solid #86622F;
    border-bottom: 22px solid transparent;
}
.after-heading {
    height: 70px;
}


.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #86622F;
    border-color: #86622F;
}

.pagination > li > a, .pagination > li > span {
    color: #86622F;
}

.contacts-head {
    color: #fff;
    font-weight: 200;
    font-size: 1.1em;
}

.scroll-buttons {
    position: fixed;
    bottom: 70px;
    right: 80px;
}

.scroll-buttons button {
    border: none;
    width: auto;
    height: auto;
    background: none;
    position: absolute;
}
.scroll-buttons button span {
    background: #9f7538;
    border-radius: 50%;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
    z-index: 2;
    position: absolute;
}
.scroll-buttons button span:focus, .scroll-buttons button span:active, .scroll-buttons button:focus, .scroll-buttons button:active {
    outline: none;
}
.scroll-buttons button span:hover {
    background: #86622F;
}
.scroll-buttons button > span.tool-tip {
    position: absolute;
    font-size: 1rem;
    background: #86622F;
    border-radius: 20px;
    height: 40px;
    top: 12px;
    min-width: 140px;
    left: -95px;
    z-index: 1;
    opacity: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.scroll-buttons button:hover > span.tool-tip {
    left: -150px;
    opacity: 1;
}


.flex-right {
    display: flex;
    justify-content: flex-end;
}

#nex-text {
    width: 0;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#by-nexkot {
    cursor: pointer;
}
#by-nexkot:hover #nex-text {
    width: 200px;
}


.m-t-100 {
    margin-top: 100px;
}

@media (max-width: 768px) {
    #nex-text {
        width: 200px;
    }
}
@media (max-width: 450px) {
    #nex-text {
        display: none;
    }
    .flex-right {
        justify-content: center;
    }
    .m-t-100 {
        margin-top: 5px;
    }

    .scroll-buttons {
        bottom: 50px;
        right: 60px;
    }
    .scroll-buttons button span {
        width: 40px;
        height: 40px;
        font-size: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
        z-index: 2;
        position: absolute;
    }
    .scroll-buttons button:first-child {
        bottom: 60px !important;
    }
    .scroll-buttons button > span.tool-tip {
        height: 30px;
        top: 8px;
    }
}
.foot-text {
    margin-top: 20px;
}


.my-gallery {
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-direction: column;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    display: -webkit-box;
    display: flex;

}

.my-gallery figure {
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
    width: 200px;
    max-width: 240px;
    margin: .5vw;
}
.my-gallery figure img{
    width: 100%;
    height: auto;
}
figcaption {
    display: none;
}

@media all and (max-width: 390px) {
    .contacts-head {
        display: none;
    }
}

@media all and (max-width: 650px) {

    .my-gallery figure {

        max-width: 100%;
    }
}

.contacts-head b {
    font-size: 18px;
    font-weight: 400;
}

.text-justify {
    text-align: justify;
}