/* 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*/
.navbar-caption {
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.25;
    color: #7a7a7a;
}
.navbar-caption .colour{
    font-size: 1.15rem;
    font-weight: 300;
    color: #7a7a7a;
}
#home .img-fluid{
    padding: 0 6rem;
}
.text-block {
    margin-top: 9rem;
    padding: 0 5rem 0 3rem;
}
.text-block .sm {
    font-size: 1.25rem;
    font-weight: 500;
}

@media (max-width: 991px) and (min-width: 768px) {
    .navbar-toggler {
        right: 1.5rem;
    }
    .navbar-caption {
        display: block;
        position: relative;
        left: -13rem;
    }
    .text-block{
        margin-top: 2rem;
        padding: 2rem 1rem 3.5rem 1rem;
    }
    .text-block h1 {
        font-size: 1.8rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .navbar-toggler {
        right: 1.5rem;
    }
    .navbar-caption {
        display: block;
        position: relative;
        left: -2rem;
    }
    #home .img-fluid{
        padding: 0;
    }
    .text-block {
        margin-top: 2rem;
        padding: 0 1rem 0 0;
    }
    .text-block .sm {
        font-size: 45%;
        font-weight: 400;
    }
    .text-block h1{
        font-size: 2rem;
        line-height: 1;
    }
    .text-block p{
        font-size: 77%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .navbar-toggler {
        right: 1rem;
    }
    .navbar-brand .img-fluid {
        max-width: 82%;
        height: auto;
    }
    .navbar-caption {
        font-size: 1.35rem;
        display: block;
        position: relative;
        left: -4rem;
    }
    .navbar-caption .colour{
        font-size: .9rem;
    }
    .text-block {
        margin-top: 2rem;
        padding: 0;
    }
}
@media (max-width: 348px){
    .navbar-caption {
        font-size: 1.15rem;
    }
    .text-block {
        margin-top: 2rem;
        padding: 0;
    }
    .text-block .sm {
        font-size: 45%;
        font-weight: 400;
    }
    .text-block h1{
        font-size: 2rem;
        line-height: 1;
    }
    .text-block p{
        font-size: 82%;
    }
    #home .img-fluid {
        padding: 0 2rem;
    }
}
/*Slider*/
.mbri-arrow-prev, .mbri-arrow-next {
    font-size: 4rem;
    color: #fff;
}
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 4rem;
    left: 15%;
    z-index: 10;
    width: 45%;
    padding: 2rem 1.5rem 3rem 1.5rem;
    color: #3b3b3b;
    text-align: left;
    background: rgba(255,255,255, .9);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
}
.carousel-caption .headng{
    /*border-bottom: 1px solid #99b067;*/
    padding-bottom: 1rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: #606060;
}
.lines {
    display: block;
    width: 17%;
    height: 11px;
    border-top: 6px solid #6d5b97;
    border-bottom: 1px solid #99b067;
    margin-top: 1rem;
}
.caption-list {
    margin-top: 1rem;
    text-align: justify;
    font-size: 1rem;
}
#carouselIndicators .dashes li{
    position: relative;
    flex: 0 1 auto;
    width: 45px;
    height: 5px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.87);
}
#carouselIndicators .dashes .active{
    background-color: #99b067;
}
@media (max-width: 991px) and (min-width: 768px) {
    .carousel-caption {
        bottom: 2rem;
        width: 48%;
        padding: 1rem;
    }
    .carousel-caption .headng{
        font-size: 1.15rem;
        line-height: 1.7rem;
        padding-bottom: 0;
    }
    .caption-list{
        font-size: .85rem;
        margin-top: 0.5rem;
    }
}
/*Reasons Block styles*/
#reasons:before, #reasons:after{
    height: 2rem;
    content: "";
    display:block;
}
#reasons{
    background: #fff url("../images/bg-cons.jpg") no-repeat;
    background-size: cover;
}
#reasons h2{
    color: #fff;
    margin-bottom: 2rem;
}
#reasons h2 .lines {
    border-top: 6px solid #99b067;
    border-bottom: 1px solid #99b067;
    width: 10%;
    margin: 1rem auto;
}
.bgr {
    background: #fff;
    margin-top: 4.5rem;
    padding-top: .02rem;
    padding-bottom: 2rem;
    border: 2px solid #cdc2d3;
}
.bgr:hover {
    box-shadow: -2px 3px 7px rgba(0, 0, 0, 0.3);
}
.img-reason {
    width: 100%;
    height: auto;
    padding: 0 4.5rem;
    display: block;
    position: relative;
    bottom: 4rem;
}
.reason-title {
    display: block;
    position: relative;
    bottom: 4.5rem;
    font-size: 1.112rem;
    font-weight: 500;
    color: #868fc6;
}
@media (max-width: 991px) and (min-width: 768px) {
    #reasons::before, #reasons::after {
        height: 1rem;
        content: "";
        display: block;
    }
    .reason-title {
        font-size: 85%;
        padding: 0 .2rem .5rem .2rem;
    }
    .bgr {
        padding-bottom: 3rem;
        margin-top: 1.5rem;
    }
    .img-reason {
        padding: 0 2.2rem;
        bottom: 2rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .reason-title {
        font-size: 1.5rem;
        bottom: 5rem;
    }
    .img-reason {
        padding: 0 9.5rem;
    }
}
@media (max-width: 348px) {
    #reasons h2 .lines {
        width: 35%;
    }
}
/*Services Block styles*/
#services::before {
    height: 4rem;
    content: "";
    display: block;
}
.sub-heading {
    font-size: 95%;
    margin: 2rem 0;
}
#services h1 .lines {
    width: 10%;
    margin: 1rem auto;
}
#services strong {
    font-size: 1.155rem;
    font-weight: 500;
}
.uslugi {
    margin-top: 2rem;
    border-bottom: 1px solid rgba(109,91,151,.52);
}
.uslugi-card .thumb-modal{
    width: 100%;
    height: auto;
    border: 5px solid #99b067;
}
.uslugi-title {
    font-size: 1.15rem;
    text-align: center;
    margin-top: 1.2rem;
    font-weight: 500;
    color: #7a7a7a;
}
.price-btn {
    padding: 3rem 0;
}
.downl-ic{
    background: transparent url("../images/downl-ic.png") no-repeat center;
    background-size: 34px 43px;
    padding: 1rem;
    margin-right: 1rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    #services::before {
        height: 2rem;
        content: "";
        display: block;
    }
    .sub-heading {
        font-size: 1.15rem;
    }
    .uslugi-title {
        font-size: 1rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .sub-heading {
        font-size: 1.15rem;
    }
    .uslugi-title {
        font-size: .85rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #services h1{
        font-size: 2.25rem;
    }
    .uslugi-title {
        width:91%;
    }
    .sub-heading {
        font-size: 75%;
    }
}
@media (max-width: 348px){
    #services h1{
        font-size: 2.25rem;
    }
    #services h1 .lines {
        width: 35%;
    }
    .uslugi-title {
        width:91%;
    }
    .sub-heading {
        font-size: 75%;
    }
}
/*Hover effect*/
.hover-mask a, .carousel-item .hover-mask .gallery-img {
    display: block;
    position: relative;
    overflow: hidden;
}
.hover-mask{
    width: 100%;
    height: auto;
   -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 .uslugi-card{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.hover-mask a .mbri-file, .hover-mask a .mbri-search {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    width: 100%;
    padding: 47.5% 20px;
    text-align: center;
    background-color: rgba(63,61,85,0.63);
    -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(63,61,85,0.63);
    -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, .hover-mask .mbri-search, .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, .hover-mask:hover .mbri-search, .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;
}

@media (max-width: 991px) and (min-width: 768px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 41% 20px;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 50.6% 20px;
    }
}

/*About Block styles*/
#about::before, #about::after{
    height: 4rem;
    content: "";
    display: block;
}
#about .mar1 {
    margin-top: 2.1rem;
}
#about h2 .lines {
    width: 10%;
    margin: 1rem auto;
}
.about-img {
    width: 80%;
	margin: 0 3rem;
    border: 3px solid #99b067;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.about-lg-img{
    margin: 0 4.5rem;
}
#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: "\25cf";
    color: #6d5b97;
    display: inline-block;
    width: 1.5em;
    margin-left: -1em;
}
.about-2{
    margin-top: 2rem;
}
.sm2 {
    font-weight: 400;
    font-size: 1.15rem;
}
.sm3{
    font-size: smaller;
}
@media (max-width: 991px) and (min-width: 768px) {
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0;
		width: 100%;
    }
    .about-lg-img {
        margin: 0;
        padding: 0;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0;
		width: 100%;
    }
    .about-lg-img {
        margin: 0 0 1rem 0;
        padding: 0 11.5rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0 0 1rem 0;
		width: 100%;
    }
    .about-lg-img {
        margin: 0;
        padding: 0 8rem;
    }
}
@media (max-width: 348px){
    #about p, .about-list {
        font-size: 78%;
    }
    .about-img {
        margin: 0 0 1rem 0;
		width: 100%;
    }
    .about-lg-img {
        margin: 0;
        padding: 0 4rem;
    }
    #about h2 .lines {
        width: 25%;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background-color: #6d5b97;
    border: 2px solid #fff;
    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: #fff;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background-color: #99b067;
    border: 2px solid #fff;
    color: #fff;
}
#scrollToTopBtn:active {
    background-color: #99b067;
    border: 2px solid #fff;
    color: #fff;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
/*Footer Block styles*/
#footer{
    background: transparent url("../images/bg-footer.jpg") no-repeat center;
    background-size: cover;
}
#footer:before{
    height: 3rem;
    content: "";
    display:block;
}
.footer-slogan {
    margin-bottom: 2rem;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:35%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:80%;
    width:97%;
    position:absolute;
    border: 7px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    /*padding: 0 1.2rem;*/
}
.contact-info{
    padding: 2rem 2rem 1rem 2rem;
    background: #fff url("../images/bg-contacts.jpg") no-repeat 300px 420px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.info-header {
    border-bottom: 1px solid #99b067;
    margin-bottom: 1.75rem;
    padding-bottom: .5rem;
}
.info-header p {
    font-size: 1.75rem;
    font-weight: 500;
    color: #6d5b97;
}
.info-header .sub-head {
    font-size: 1.155rem;
    font-weight: 300;
    display: block;
    margin-top: -0.25rem;
}
.sub-heading3 {
    font-size: 1.35rem;
    font-weight: 400;
    color: #6d5b97;
    border-top: 1px solid rgba(160,160,160,.3);
    margin-top: 1rem;
}
.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 .5rem 1rem;
}
.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 rgba(255,255,255, 1);
    padding: 1rem 0 0 0;
    color: #fff;
}
@media (max-width: 991px) and (min-width: 768px) {
    .contact-info {
        background: #fff url("../images/bg-contacts.jpg") no-repeat 130px 530px;
        background-size: 70% 25%;
        padding: .7rem 1rem .5rem 1rem;
    }
    .info-header p {
        font-size: 1.35rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: 90%;
    }
    .mapa, .phone,.web, .mail, .clock{
        background-size: 75% auto;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .contact-info {
        background: #fff url("../images/bg-contacts.jpg") no-repeat 180px 520px;
        background-size: 40% 16%;
        padding: .7rem 1rem .25rem 1rem;
    }
    .info-header p {
        font-size: 1.35rem;
    }
    .contact-info .lines{
        width: 25%;
    }
    .contacts-list li {
        font-size: 94%;
    }
    .mapa, .phone,.web, .mail, .clock{
        background-size: 63% auto;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .contact-info {
        background: #fff url("../images/bg-contacts.jpg") no-repeat 285px 375px;
        padding: 1rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: 97%;
    }
    .mapa, .phone,.web, .mail, .clock{
        background-size: 71% auto;
    }
    .map-responsive iframe {
        top: 15px;
        left: 15px;
        width: 91%;
    }
}
@media (max-width: 348px){
    .contact-info {
        background: #fff url("../images/bg-contacts.jpg") no-repeat 150px 560px;
        background-size: 50% 18%;
        padding: 1rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: 71% auto;
    }
    .info-header p {
        font-size: 1.45rem;
    }
    .mapa, .phone,.web, .mail, .clock{
        background-size: 71% auto;
    }
    .map-responsive iframe {
        top: 15px;
        left: 15px;
        width: 91%;
    }
}