#main-page {
    position: relative;
}

#main-page.auth-active:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9;
}

/* Popup log auth */

.bt-open-auth {
    text-transform: uppercase;
    padding: 8px;
}

.auth {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%)translateY(-50%);
    -moz-transform: translateX(-50%)translateY(-50%);
    -ms-transform: translateX(-50%)translateY(-50%);
    -o-transform: translateX(-50%)translateY(-50%);
    transform: translateX(-50%)translateY(-50%);
    background: #fff;
    box-shadow: 0 0.118rem 1.471rem 0.235rem rgb(0 0 0 / 16%);
    z-index: 99;
    padding: 40px;
    width: calc(100% - 30px);
    max-width: 420px;
    border-top: 5px solid rgb(224, 213, 181);
    display: none;
}

.auth.visible {
    display: block;
}

.auth input,
.auth button,
.auth .btn {
    width: 100%;
}

.auth .forgot-password:hover {
    text-decoration: underline;
}

.auth .bt-close-auth {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 26px;
    color: #202020;
}

.auth .bt-close-auth:hover {
    color: #d2ae5c;
}

/* Next-sale-content */

.next-sale-content {
    position: relative;
}

.next-sale-content:after {
    position: absolute;
    content:"";
    width: 100%;
    height: 60%;
    bottom: 0;
    left: 0;
    background: url(img/webb-dark.png);
}

.next-sale-content .bloc {
    height: 50%;
    width: 100%;
    min-height: 280px;
}

.next-sale-content .bloc-img {
    background-size: cover !important;
    background-position: center !important;
}

.next-sale-content .col-l {
    right: -20px;
}

.next-sale-content .col-r {
    top: 80px;
    left: -20px;
}

.next-sale-content .bg {
    background: rgba(255,255,255,.9);
}


/* Redirect-contact */

.redirect-contact .bg-content {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover !important;
    background-position: center !important;
}

.redirect-contact .bg-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.5);
}

.redirect-contact .container {
    position: relative;
    z-index: 5;
    color: #fff;
}

.redirect-contact .title h2 {
    color: rgb(224, 213, 181);
}


/* Blog */

.blog-content .container {
    z-index: 5;
}

.blog-content .blog-item {
    box-shadow: 0 0.1rem 1rem 0.2rem rgb(0 0 0 / 10%);
    transition: .2s;
    height: 100%;
}

.blog-content .blog-item:hover {
    box-shadow: 0 0.118rem 1.471rem 0.235rem rgb(0 0 0 / 16%);
    transition: .2s;
}

.blog-content .blog-item .img-content {
    width: 100%;
    height: 300px;
    padding: 10px;
    padding-bottom: 0;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.blog-content .blog-item .img-content .img {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.blog-content .blog-item .img-content .img:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0, .4);
    opacity: 0;
    transition: .2s;
}

.blog-content .blog-item:hover .img-content .img:after {
    opacity: 1;
    transition: .2s;
}

.blog-content .blog-item .inner {
    background: #fff;
}

.blog-content .blog-item .txt h4 {
    color: rgb(224, 213, 181);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-content .blog-item .txt p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-content .blog-item .more {
    position: absolute;
    top: calc(100% - 24px);
    left: calc(50% - 24px);
    opacity: 0;
    transition: .2s;
    z-index: 5;
}

.blog-content .blog-item:hover .more {
    top: calc(35% - 24px);
    opacity: 1;
    transition: .2s;
}

.blog-content .blog-item .more i.la-link {
    background: rgb(224, 213, 181);
    padding: 10px;
    font-size: 28px;
    border-radius: 50%;
    color: #202020;
}

.blog-content .blog-item .txt {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: calc(100% - 20px);
    background: rgba(0,0,0,.6);
    padding: 15px;
    color: #fff;
}

.blog-content .blog-item .link a {
    color: #202020;
    padding-right: 0;
    transition: .2s;
}

.blog-content .blog-item .link a:hover {
    padding-right: 10px;
    transition: .2s;
}

/* Location */

.location-content .inner {
    position: relative;
}


/* Prefooter */

.prefooter {
    background: #000;
    color: #fff;
}

.prefooter h4 {
    font-weight: 600;
}

.prefooter a:hover {
    color: #fff;
    text-decoration: underline;
}

.prefooter nav.useful-link ul li,
.prefooter nav.social-link ul li {
    margin-bottom: 1.5px;
}

.prefooter nav.useful-link ul li a,
.prefooter nav.social-link ul li a {
    font-weight: 400;
    color: #fff;
}

.prefooter nav.useful-link ul li i,
.prefooter nav.social-link ul li i {
    color: rgb(224, 213, 181);
}


.prefooter img.icon {
    height: 14px;
    margin-right: 7px;
    width: 14px;
}

/* Footer */

footer a {
    color: rgb(224, 213, 181);
}

footer .container {
    border-top: 1px solid #222;
}


/* Newsletter */

.newsletter-content {
    position: relative;
}

.newsletter-content input[type=email] {
    margin-bottom: 0;
    border: none !important;
    width: calc(100% - 50px);
}

.newsletter-content input[type=submit] {
    border-radius: 0;
    width: 50px;
    padding: 0;
    background: rgb(224, 213, 181);
    z-index: 1;
    outline: 0;
    border: 0;
    cursor: pointer;
    color: #202020 !important;
}

.newsletter-content input[type=submit]:hover {
    background: #d2ae5c !important;
    color: #202020;
}


/* Scroll top */

a.top-scroll {
    position: fixed;
    right: -100px;
    bottom: 60px;
    width: 46px;
    line-height: 46px;
    text-align: center;
    background: rgb(224, 213, 181);
    color: #202020;
    text-decoration: none;
    font-size: 22px;
    border-radius: 30px;
    border: 0;
    z-index: 99;
}

a.top-scroll:hover {
    opacity: .9;
}

a.top-scroll i {
    position: relative;
    top: 2px;
}


/* Form */

.form-contact .captcha {
    display: none;
    line-height: 0;
    text-align: -webkit-right;
}

.form-contact .captcha.visible {
    display: block;
    margin-top: 20px;
}