.footer-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.footer-bottom p {
    margin: 0;
}

.social-icons {
    margin: 10px 0 0 0;
}

.footer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.footer-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0;
    background: url(../img/newsletter-bg.png) 0 0 repeat;
    border-radius: 5px;
    padding: 6%;
}

.footer-btn a {
    background: #4d220e00;
    border: none;
    text-align: center;
    text-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    color: #f2f2f28f;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 13px 8px 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    /* border-radius: 3px; */
    /* -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); */
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); */
    margin-bottom: 10px;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    min-width: 29vmin;
    font-size: 88%;
}

.footer-btn a:hover {
    color: #000;
    background: #211a18;
    color: #f2f2f28f;
}

.list-news li a.btn_ {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.thumbnails .thumbnail a.btn_ {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.thumbnails .thumbnail .caption {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.nav-collapse_ .nav > li > a {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.contacts span, .contacts a {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
a {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.footer-menu li a:hover, .footer-menu li a.current {
    text-decoration: none;
}

.footer-menu li a:hover {
    color: #d24330;
}

.social-icons li a {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.modal-title {
    font-size: 25px;
    text-align: center;
    color: white;
    background: #4d220e;
    margin-top: 0;
    padding: 20px;
    margin-bottom: 20px;
}
.footer-modal p {
    font-size: 15px;
    padding: 0 44px;
    color: black;
}
.footer-modal hr {
    margin: 0;
    color: #4d220e;
    background: #4d220e;
}
.fancybox-content {
    padding: 0;
}
.footer-modal__btn:focus {
    outline: none;
}
.footer-modal__btn {
    width: 100% ;
    background: #4d220e;
    border: 1px solid #4d220e !important;
    text-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 13px 10px 13px;
    border-radius: 3px;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.footer-modal__btn:hover {
    color: #4d220e;
    background: transparent;
    border: 1px solid #4d220e !important;
}
.navbar_ .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.gall {
    margin-top: 30px;
    margin-left: 0;
    padding: 0 15px;
    box-sizing: border-box;
}
.gall a img {
    width: 100%;
    height: 220px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-bottom: 20px;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    outline: 3px solid white;
}

.gall a img:hover {
    outline: 3px solid #4d220e;
}

.contact-form input[type="text"] {
    width: 32.7%;
    color: white;
    margin-right: 7px;
    background: none;
    outline: none;
    border: 1px solid white !important;
    font-size: 1em;
    padding: .7em .8em;
    border: solid 1px #ccc;
    -webkit-appearance: none;
    display: inline-block;
}
.last-in {
    margin-right: 0 !important;
}
.contact-form textarea {
    resize: none;
    border: 1px solid white !important;
    width: 100%;
    background: none;
    color: white;
    font-size: 1em;
    outline: none;
    padding: .7em .8em;
    border: solid 1px #ccc;
    min-height: 8em;
    -webkit-appearance: none;
    margin-top: 1em;
}

.contact-form input[type="submit"] {
    margin-top: 20px;
    width: 100%;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid white !important;
    font-size: 15px;
    margin-bottom: 30px;
    background: #4d220e;
    color: white;
    padding: 15px;
    height: unset;
}
.contact-form input[type="submit"]:hover {
    opacity: 0.7;
}
.contact-form h5 {
    font-size: 25px;
    margin-top: 0;
}

.contact-form {
    padding-top: 0;
}

.news-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border: 5px double white;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    padding: 0 0 20px 0;
    margin-bottom: 30px;
}
.news-block:hover {
    border: 5px double #4d220e;
}

.news-block p {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    padding-top: 10px;
    line-height: 1.2;
}
.news-block a {
    padding: 1em 6em;
    background: #4d220e;
    border: 1px solid #4d220e;
    color: white;
}
.news-block a:hover {
    border: 1px solid #4d220e;
    background: transparent;
    color: #4d220e;
}

.mt-50 {
    margin-top: 50px;
}

.ofice-title {
    text-align: center;
}
.ofice-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #4d220e;
    border: 1px solid #4d220e;
    border-radius: 10px;
    font-size: 15px;
}

.ofice-btn:hover {
    background: rgb(77 34 14 / 50%);
    color: #4d220e;
}

.ofice-block p {
    font-size: 20px;
    line-height: 1.2;
    color: white;
}

.ofice-list {
    color: white;
    margin-bottom: 20px;
}

.ofice-list li {
    font-size: 15px;
    margin-bottom: 10px;
}
.ofice-img {
border: 3px double #4d220e;
}
.ofice-img img{
    height: 350px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.mb-40 {
    margin-bottom: 40px;
}

.success {
    padding: 3em 2em;
    text-align: center;
    font-size: 25px;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
}

.error {
    padding: 3em 2em;
    font-size: 25px;
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid rgba(185, 74, 72, 0.3);
    border-radius: 4px;
}

.elements-show {
    display: none;
}

/******************************************************** media ********************************************************/

@media (max-width: 1024px) {
    .nav-collapse_ .nav > li {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .navbar_ .navbar-inner_ {
        padding: 18px 0 18px 0px;
    }

    .navbar .nav {
        margin: 0 10px;
    }

    .li-first {
        padding: 0 18px !important;
    }
    .contact-form input[type="text"] {
        width: 32.5%;
    }
}
@media (max-width: 979px) {
.ofice-img img {
    height: 280px;
  }
}
@media (max-width: 767px) {
    .ofice-img img {
        height: 350px;
      }
    .ofice-img {
        margin-bottom: 30px;
    }
    .contact-form input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    .last-in {
        margin-bottom: 0 !important;
    }
    .cols-1 .span4 img {
        width: 100% !important;
        margin-bottom: 0;
    }
    .gall {
        margin-top: 35px;
    }
    .footer-menu li {
        font-size: 10px;
    }
}


@media (max-width: 425px) {
    .ofice-img img {
        height: 220px;
      }
    .footer-modal p {
        padding: 0 22px;
    }
    .footer-menu {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        padding-bottom: 12px;
    }

    .navbar .nav {
        margin: 0;
    }

    .footer-menu li {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .footer-line {
        display: none;
    }

    .li-first {
        padding: 0 !important;
    }

    .nav-collapse_ .nav > li {
        margin-bottom: 0;
    }

    .navbar_ .navbar-inner_ {
        padding: 13px 0 10px 0;
    }

    .navbar_ .container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .nav-collapse_ .nav {
        width: 100%;
        text-align: center;
    }

    .navbar_ .nav-collapse_ {
        top: 46px;
        left: 0;
    }
}