/* template */
body,html {
  height: 100%;
  scroll-behavior: smooth;
}

/* hidden spacer before sections for proper offset */
section::before {
    height: 7rem;
    content: "";
    display:block;
}
section::after {
    height: 2rem;
    content: "";
    display:block;
}
/* helpers */
.vh-50 {
    min-height: 50vh;
}
.vh-75 {
    min-height: 75vh;
}
.vh-100 {
    min-height: 100vh;
}
/*Header Block styles*/
header {
    background: transparent url("../images/bg-block-1.jpg") no-repeat center;
    background-size: cover;
}
.text-block {
    background: #f7e4c4 url("../images/txt-block.png") no-repeat;
    background-size: cover;
    padding: 2rem 2rem 3.5rem 2rem;
    opacity: .89;
    margin-top: 4rem;
}
.text-block h1 {
    font-size: 2.2rem;
}
.line {
    display: block;
    background: transparent url("../images/divider-2b.png") no-repeat;
    background-size: 100%;
    padding: 2.45rem 0;
    margin: 0 5rem;
}
.text-block p {
    margin-top: 2rem;
    color: #371002;
    line-height: 1.7;
}
/*.mbri-arrow-prev, .mbri-arrow-next {
    font-size: 4rem;
    color: #fd7e14;
}
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 5rem;
    left: 15%;
    z-index: 10;
    width: 45%;
    padding: 2rem 1rem;
    color: #18234b;
    text-align: left;
    background: rgba(255,255,255, .85);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
}
.carousel-caption .headng{
   border-bottom: 1px solid #c99652;
   padding-bottom: 1rem;
   font-size: 1.9rem;
   line-height: 2.45rem;
}
.caption-list {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
}
.caption-list li{
    padding: .15rem 0;
}
#carouselIndicators .dashes li{
    position: relative;
    flex: 0 1 auto;
    width: 45px;
    height: 9px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.87);
}
#carouselIndicators .dashes .active{
    background-color: #c99652;
}
@media (max-width: 991px) and (min-width: 768px) {
    .carousel-caption {
        bottom: 2rem;
        width: 48%;
        padding: 1rem;
    }
    .carousel-caption .headng{
        font-size: 1.2rem;
        line-height: 1.7rem;
    }
    .caption-list{
        font-size: .87rem;
    }
}*/
@media (max-width: 991px) and (min-width: 768px) {
    #home::before {
        height: 4.5rem;
        content: "";
        display:block;
    }
    .navbar-toggler {
        left: 47rem;
    }
    .text-block{
        margin-top: 0;
        padding: 2rem 1rem 3.5rem 1rem;
    }
    .text-block h1 {
        font-size: 1.8rem;
    }
    .line {
        margin: 0 .5rem;
        background-size: 100%;
        padding: 1.7rem 8rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #home::before {
        height: 4rem;
        content: "";
        display:block;
    }
    .navbar-toggler {
        left: 38rem;
    }
    .navbar-brand .img-fluid {
        max-width: 100%;
        height: auto;
    }
    .text-block{
        margin-top: 0;
        padding: 2rem 1rem 3.5rem 1rem;
    }
    .text-block h1 {
        font-size: 1.8rem;
    }
    .line {
        margin: 0 .5rem;
        background-size: 100%;
        padding: 1.7rem 8rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .navbar-toggler {
        left: 25rem;
    }
    .navbar-brand .img-fluid {
        max-width: 90%;
        height: auto;
    }
    .line {
        margin: 0 .5rem;
        background-size: 100%;
        padding: 1.7rem 8rem;
    }
    .text-block h1 {
        font-size: 2rem;
    }
}
@media (max-width: 348px){
    #home::before {
        height: 3rem;
        content: "";
        display:block;
    }
    .navbar-brand .img-fluid {
        max-width: 85%;
        height: auto;
    }
    .text-block h1 {
        font-size: 2rem;
    }
    .line {
        margin: 0 .5rem;
        background-size: 100%;
        padding: 1.7rem 8rem;
    }
}
/*Reasons Block styles*/
#reasons:before {
    height: 2rem;
    content: "";
    display:block;
}
#reasons{
    background: #f7e4c4 url("../images/bg-block-2.jpg") no-repeat;
    background-size: cover;;
}
#reasons .line2 {
    background: transparent url("../images/divider-2.png") no-repeat;
    background-size: 100%;
    padding: 1.78rem 8.5rem;
    display: block;
    margin: 0 1rem;
}
.img-circle {
    width: 100%;
    height: auto;
    padding: 0 2.5rem;
}
#reasons .mar1, #reasons .mar2 {
    margin-top: 2.2rem;
}
#reasons .info-link {
    margin-top: 3rem;
}
#reasons .tel-icon{
    background: transparent url("../images/icon-telephone.png") no-repeat;
    padding: 1rem 1.35rem;
}
#reasons .mar2 a{
    position: relative;
    bottom: 0.5rem;
}
.sub-heading3 {
    margin-top: .85rem;
    border-top: 1px solid #d8b484;
    color: #6f2729;
    font-size: 1.2rem;
}
.mapa2{
    background: transparent url("../images/icons/map2.png") no-repeat;
    padding: .25rem 1rem;
    opacity: .5;
}
.phone2{
    background: transparent url("../images/icons/phone2.png") no-repeat;
    padding: 0 1rem .42rem 1rem;
    opacity: .5;
}
.web2{
    background: transparent url("../images/icons/globe2.png") no-repeat;
    padding: 0 1rem .38rem 1rem;
    opacity: .5;
}
.mail2{
    background: transparent url("../images/icons/message2.png") no-repeat;
    padding: 0 1rem .25rem 1rem;
    opacity: .5;
}
.clock2{
    background: transparent url("../images/icons/clock2.png") no-repeat;
    padding: 0 1rem .35rem 1rem;
    opacity: .5;
}
@media (max-width: 991px) and (min-width: 768px) {
    #reasons .line2{
        margin: 0 1rem;
        padding: 2rem;
        background-size: 100%;
    }
    #reasons .mar1 {
        margin-top: 1rem;
    }
    .img-circle {
        width: 100%;
        height: auto;
        padding: 0;
    }
    #reasons .text-justify{
        font-size: 80%;
    }
    #reasons .mar2 {
        margin-top: 2rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #reasons .line2{
        margin: 0 10rem;
        padding: 2rem;
        background-size: 100%;
    }
    .img-circle {
        width: 100%;
        height: auto;
        padding: 1rem 10rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #reasons .line2{
        margin: 0 2rem;
        padding: 2rem;
        background-size: 100%;
    }
}
@media (max-width: 348px){
    #reasons .line2{
        margin: 0;
        padding: 1.5rem 10rem;
        background-size: 91%;
    }
    #reasons .mar1 {
        margin-top: 1.5rem;
    }
}
/*Services Block styles*/
#services::before {
    height: 4rem;
    content: "";
    display: block;
}
#services{
    background: #f7e4c4;
    background: -webkit-linear-gradient(45deg, #f7e4c4 0%, #e3c496 100%);
    background: linear-gradient(45deg, #f7e4c4 0%, #e3c496 100%);
    background-size: cover;
}
.sub-heading {
    font-size: 1.10rem;
    margin: 2rem 0;
}
.line3{
    background: transparent url("../images/divider-3.png") no-repeat;
    padding: 1.7rem 0;
    display: block;
    margin: 0 31rem;
}
.uslugi {
    margin-top: 2rem;
}
.uslugi-title {
    font-size: 1.15rem;
    text-align: center;
    margin-top: 1.2rem;
    font-weight: 500;
}
@media (max-width: 991px) and (min-width: 768px) {
    .line3{
        margin: 0 15rem;
        padding: 1.7rem 7rem;
    }
    .sub-heading {
        font-size: 1.15rem;
    }
    .uslugi-title {
        font-size: 1rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .line3{
        margin: 0 11rem;
    }
    .sub-heading {
        font-size: 1.15rem;
    }
    .uslugi-title {
        font-size: .85rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .line3{
        margin: 0 4rem;
    }
}
@media (max-width: 348px){
    #services h1{
        font-size: 2.25rem;
    }
    .uslugi-title {
        width:91%;
    }
    .line3{
        margin: 0;
    }
    .sub-heading {
        font-size: .95rem;
    }
}
/*Hover effect*/
.hover-mask a, .carousel-item .hover-mask .gallery-img {
    display: block;
    position: relative;
    overflow: hidden;
}
.hover-mask .thumb-modal{
    width: 100%;
    height: auto;
    border: 2px solid #af2727;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
   -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.carousel-item .hover-mask .gallery-img{
    width: 100%;
    height: auto;
    border: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.hover-mask:hover .thumb-modal{
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    border: 2px solid #d8b484;
}
.hover-mask a .mbri-file {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
    width: 100%;
    padding: 33% 20px;
    text-align: center;
    background-color: rgba(80,29,12,0.8);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}
.carousel-item .hover-mask a p{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
    width: 100%;
    padding: 65% 20px;
    text-align: center;
    background-color: rgba(54,105,173,0.4);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}
.hover-mask:hover a p, .carousel-item .hover-mask:hover a p {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}
.hover-mask .mbri-file, .carousel-item .hover-mask .mbri-search{
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    color: #fff;
    font-size: 3rem;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}
.hover-mask:hover .mbri-file, .carousel-item .hover-mask:hover .mbri-search {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
    opacity: 1;
}
.services-list, .modal .modal-list{
    list-style: none;
    text-align: justify;
}
.services-list li::before{
    content: "\25cf";
    color: #c99652;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: .5rem;
}
/*Modals styles - uslugi*/
.modal-header {
    border-bottom: 0;
}
.modal-header button.close {
    font-size: 2.5rem;
}
.modal-img{
    width:100%;
    height: auto;
    border: 2px solid #af2727;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.modal .text-justify{
    font-size: 0.87rem;
    line-height: 1.5rem;
}
.modal .h5 {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}
.modal-header .line {
    margin: 0;
    background-size: 100%;
}
.modal .sub-head2 {
    font-style: italic;
    font-weight: 300;
    font-size: .85rem;
}
.modal .modal-list {
    padding-left: 0;
}
.modal b {
    font-weight: 500;
}
.modal .block-2 {
    margin-top: 2.5rem;
}
.modal-footer .beans-icon {
    background: transparent url("../images/beans-small.png") no-repeat;
    padding: 1.2rem 2.5rem;
    display: block;
    float: left;
}
.modal-footer a{
    position: absolute;
    bottom: 2.35rem;
}
.modal-body .table{
    margin-top:1rem;
}
.modal .table tbody tr:last-child {
    border-bottom: 1px solid #501d0c;
}
.modal .table tbody tr td:first-child {
    border-right: 1px solid #501d0c;
}
.modal-body .table th, .modal-body .table td{
    font-size: 0.85rem;
}
.mb {
    display: block;
    padding-left: 3rem;
    padding-top: .25rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    .modal-dialog {
        max-width: 750px;
        margin: 1.75rem auto;
    }
    .modal-header .line {
        margin: 0 7rem;
        background-size: 100%;
        /*padding: 1.7rem 7rem;*/
    }
    .modal-body .text-justify{
        font-size: 80%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .modal-footer a {
        font-size: 90%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .modal-footer a {
        position: absolute;
        bottom: 2.35rem;
    }
}
@media (max-width: 348px){
    .modal-header .line {
        margin: 0 .5rem;
        background-size: 100%;
        padding: 1.7rem 7rem;
    }
    .modal-body .h4 {
        font-size: 1.35rem;
    }
    .modal .contacts-list li {
        font-size: 82%;
    }
    .modal .sml {
        font-size: 58%;
    }
    .mapa2, .phone2, .web2, .mail2, .clock2{
        background-size: 67%;
    }
.modal-footer{
    padding: 1.5rem .5rem 1rem .5rem;
}
    .modal-footer a {
        position: absolute;
        bottom: 2rem;
        font-size: small;
    }
}

/*About Block styles*/
#about::before{
    height: 4rem;
    content: "";
    display: block;
}
#about{
    background: url("../images/bg-block-4a.jpg") left top no-repeat, url("../images/bg-block-4b.jpg") 560px 650px no-repeat;
    background-size: auto, auto;
    padding-bottom: 3rem;
}
#about .line2, #footer .line2 {
      background: transparent url("../images/divider-2.png") no-repeat;
      padding: 1.5rem 10rem;
      display:block;
      margin: 0 9.5rem;
  }
#about .mar1 {
    margin-top: 2.1rem;
}
.about-img {
    border: 3px solid #af2727;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
#about .about-list {
    list-style: none;
    padding: 0 0 0 1rem;
    text-align: left;
    margin-top: 1rem;
}
#about .about-list li{
    padding: 0.25rem;
}
#about .about-list li::before {
    content: "\2605";
    color: #af2727;
    display: inline-block;
    width: 1.5em;
    margin-left: -1em;
}
.about-2{
    margin-top: 1.2rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    #about{
        background: url("../images/bg-block-4a.jpg") left top no-repeat, url("../images/bg-block-4b.jpg") 360px 650px no-repeat;
        background-size: 60%, auto;
    }
    #about .line2 {
        margin: 0 3rem;
        background-size: 100%;
    }
    #about .text-justify, #about .about-list{
        font-size: 80%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about{
        background: url("../images/bg-block-4a.jpg") left top no-repeat, url("../images/bg-block-4b.jpg") 60px 1850px no-repeat;
        background-size: auto, auto;
    }
    #about .line2 {
        margin: 0 11rem;
        background-size: 100%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #about .line2 {
        margin: 0 4rem;
        background-size: 100%;
    }
}
@media (max-width: 348px){
    #about .line2 {
        margin: 0;
        background-size: 100%;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background-color: #af2727;
    border: 2px solid #e7cc9e;
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    color: #e7cc9e;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background-color: #6f2729;
    border: 2px solid #e7cc9e;
    color: #e7cc9e;
}
#scrollToTopBtn:active {
    background-color: #6f2729;
    border: 2px solid #e7cc9e;
    color: #e7cc9e;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
/*Footer Block styles*/
#footer{
    background:transparent url("../images/bg-block-5.jpg") no-repeat;
    background-size: cover;
    color:#fff;
}
#footer:before{
    height: 2rem;
    content: "";
    display:block;
}
.footer-slogan {
    margin-bottom: 2rem;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:50%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:80%;
    width:100%;
    position:absolute;
    padding: 0 1.2rem;
}
.contact-info{
    padding: 2rem 2rem 1rem 2rem;
    background: #fff url("../images/bg-contacts.jpg") no-repeat right bottom;
    background-size: 70% auto;
    border: 8px solid #d8b484;
    color: #561b17;
}
.contact-info .h1 {
    text-align: left;
}
#footer .line2{
    margin: 0 7rem;
}
.contact-info .subheading2 {
    margin-top: 1rem;
    text-align: left;
    padding-bottom: 1rem;
    border-bottom: 1px solid #fff;
    font-size: 1.6rem;
}
.contacts-list {
    list-style: none;
    margin: 2rem 0;
    padding-left:.4rem;
}
.contacts-list li {
    padding: 7px 0;
}
.contacts-icons {
    margin-right: .4rem;
}
.mapa{
    background: transparent url("../images/icons/map.png") no-repeat;
    padding: .25rem 1rem;
}
.sml{
    font-size:smaller;
}
.phone{
    background: transparent url("../images/icons/phone.png") no-repeat;
    padding: 0 1rem .42rem 1rem;
}
.webb {
    margin-top: .9rem;
}
.web{
    background: transparent url("../images/icons/globe.png") no-repeat;
    padding: 0 1rem .39rem 1rem;
}
.mail{
    background: transparent url("../images/icons/message.png") no-repeat;
    padding: 0 1rem .25rem 1rem;
}
.clock{
    background: transparent url("../images/icons/clock.png") no-repeat;
    padding: 0 1rem .35rem 1rem;
}
.copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: smaller;
    border-top: 1px solid #fff;
    padding: 1rem 0 0 0;
}
@media (max-width: 991px) and (min-width: 768px) {
    .contact-info {
        padding: .7rem 1rem 0 1rem;
    }
    #footer .line2 {
        margin: 0 1.8rem;
        background-size: 100%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .contact-info {
        padding: .7rem 1rem 0 1rem;
    }
    #footer .line2 {
        margin: 0 10rem;
        background-size: 100%;
    }
    .map-responsive iframe {
        top: 30px;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .contact-info {
        padding: .7rem 1rem 0 1rem;
    }
    #footer .line2 {
        margin: 0 3rem;
        background-size: 100%;
    }
    .map-responsive iframe {
        top: 15px;
    }
}
@media (max-width: 348px){
    .contact-info {
        padding: 0 1rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: smaller;
    }
    #footer .line2 {
        margin: 0;
        background-size: 100%;
        padding: 1.5rem 2rem;
    }
    .mapa, .phone, .web, .mail, .clock{
        background-size: 75%;
        padding-bottom: 0.8rem;
    }
    .map-responsive iframe {
        top: 15px;
    }
}