/* 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*/
#home::before,
#home::after{
    height: 0;
    content: "";
    display:block;
}
@media (max-width: 991px) and (min-width: 768px) {
    .navbar-toggler {
        right: 1.5rem;
    }
    .navbar-caption {
        display: block;
        position: absolute;
        left: 23%;
        top: 20%;
    }
    .navbar-brand .img-fluid{
        width: 60%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .navbar-expand-lg > .container{
        margin:0;
    }
    .navbar-toggler {
        right: 1.5rem;
    }
    .navbar-brand .img-fluid{
       width: 60%;
    }
    .navbar-caption {
        display: block;
        position: absolute;
        left: 23%;
        top: 20%;
    }
    #collapsingNavbar {
        padding: 0 1rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .navbar-toggler {
        right: 1rem;
    }
    .navbar-caption {
        display: block;
        position: absolute;
        left: 30%;
        top: 20%;
        font-size: 100%;
    }
    .navbar-brand .img-fluid{
        width: 60%;
    }
}
@media (max-width: 348px){
    .navbar-brand .img-fluid {
        width: 65%;
        height: auto;
    }
    .navbar-caption {
        display: block;
        position: absolute;
        left: 30%;
        top: 10%;
        font-size: 85%;
    }
}
/*Slider*/
.mbri-arrow-prev, .mbri-arrow-next {
    font-size: 4rem;
    color: #fff;
}
.carousel-caption {
    position: absolute;
    right: 5%;
    bottom: 8%;
    left: 14%;
    z-index: 10;
    width: 40%;
    height: 40%;
    padding: 2rem 2rem 3rem 1.5rem;
    text-align: left;
    background: rgba(255,255,255,.90);
    box-shadow: 5px 2px 7px rgba(0, 0, 0, 0.3);
    color: #3d4447;
}
.carousel-caption .headng{
    padding-bottom: .75rem;
    font-size: 1.8rem;
    color: #fdb515;
}
.lines {
    display: block;
    width: 20%;
    height: 7px;
    border-top: 1px solid #5d5f61;
    border-bottom: 1px solid #fcb415;
    margin: 1rem 0 0 0;
}

@media (max-width: 991px) and (min-width: 768px) {
    .carousel-caption {
        right: 5%;
        bottom: 16%;
        left: 12%;
        width: 45%;
        height: 60%;
        padding: 2rem 1rem 3rem 1.5rem;
    }
    .carousel-caption .headng{
        font-size: 1.25rem;
        padding-bottom: 0;
    }
    .carousel-caption p{
        font-size: 90%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .carousel-caption {
        right: 5%;
        bottom: 16%;
        left: 12%;
        width: 52%;
        height: 65%;
        padding: 1.5rem 1rem 8rem 1.5rem;
    }
    .carousel-caption .headng{
        font-size: 1.15rem;
        padding-bottom: 0;
    }
    .carousel-caption p{
        font-size: 75%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .carousel-caption {
        right: 5%;
        bottom: 5%;
        left: 12%;
        width: 52%;
        height: 31%;
        padding: 1rem .5rem 6.5rem 1rem;
    }
    .carousel-caption .headng{
        font-size: .95rem;
        padding-bottom: 0;
    }
    .carousel-caption .lines{
        margin: .5rem 0 0 0;
    }
    .carousel-caption p{
        font-size: 56%;
    }
}
@media (max-width: 348px){
    .mbri-arrow-prev, .mbri-arrow-next {
        font-size: 2rem;
    }
    .carousel-indicators li {
        width: 13px;
        height: 3px;
    }
    .carousel-caption {
        right: 5%;
        bottom: 5%;
        left: 12%;
        width: 63%;
        height: 24%;
        padding: 1rem .5rem 5.5rem 1rem;
    }
    .carousel-caption .headng{
        font-size: .75rem;
        padding-bottom: 0;
    }
    .carousel-caption .lines{
        margin: .5rem 0 0 0;
    }
    .carousel-caption p{
        font-size: 56%;
    }
}
/*Reasons Block styles*/
#reasons::before {
    height: 2rem;
    content: "";
    display:block;
}
#reasons::after {
    height: 3rem;
    content: "";
    display:block;
}
#reasons{
    background: #fff url("../images/bg-reason.jpg") no-repeat center;
    background-size: cover;;
}
.heading {
    margin-bottom: 1.5rem;
}
.heading h2{
    margin-bottom: 2.25rem;
}
.line {
    display: block;
    width: 8%;
    height: 1px;
    background: #fcb415;
    position: relative;
    left: 38.5%;
    top: .35rem;
}
.reasons-item p {
    margin-top: 1.15rem;
    font-size: 1.15rem;
    font-weight: 500;
}
.reasons-item img {
    padding: 0 5rem;
}

@media (max-width: 991px) and (min-width: 768px) {
    .heading h2 {
        font-size: 1.85rem;
    }
    .line{
        left: 30.5%;
    }
    .reasons-item img {
        padding: 0 1rem;
    }
    .reasons-item p {
        font-size: 80%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .heading h2 {
        font-size: 1.85rem;
    }
    .line{
        left: 24.5%;
    }
    .reasons-item img {
        padding: 0 1rem;
    }
    .reasons-item p {
        font-size: 66%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .heading h2 {
        font-size: 1.75rem;
    }
    .line{
        left: 19.5%;
        width: 12%;
    }
    .reasons-item img {
        padding: 0 3rem;
    }
    .reasons-item p {
        font-size: 83%;
    }
}
@media (max-width: 348px){
    .heading h2 {
        font-size: 1.75rem;
    }
    .line{
        left: 6.5%;
        width: 18%;
    }
    .reasons-item img {
        padding: 0 1.5rem;
    }
    .reasons-item p {
        font-size: 74%;
    }
}
/*Services Block styles*/
#services::before,
#services::after {
    height: 4rem;
    content: "";
    display: block;
}
#services{
    border-bottom: 1px solid rgba(102,102,102,.5);
}
#services .line {
    left: 42.5%;
    top: .35rem;
}
.sub-heading {
    margin: 2rem 0;
    font-size: 1.15rem;
}
.uslugi {
    margin-top: 2rem;
}
.uslugi-card{
    height: 100%;
    border: 1px solid #fcb415;
}
.uslugi-title {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 1.2rem;
    font-weight: 500;
    color: #666666 ;
}
.price-btn{
    margin-top: 2rem;
}
.downl-ic{
    background: transparent url("../images/arr.png") no-repeat center;
    background-size: 27px 29px;
    padding: 1rem;
    margin-right: 1rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    #services .line {
        left: 35.5%;
        top: .35rem;
    }
    .sub-heading {
        font-size: 1.05rem;
    }
    .uslugi-title {
        font-size: 80%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #services h1{
        font-size: 2.35rem;
    }
    #services .line {
        left: 32.5%;
        top: .35rem;
    }
    .sub-heading {
        font-size: 1.05rem;
    }
    .uslugi-title {
        font-size: 65%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #services h1{
        font-size: 2rem;
    }
    #services .line {
        left: 31.5%;
    }
    .uslugi-title {
        font-size: 75%;
    }
}
@media (max-width: 348px){
    #services::before,
    #services::after {
        height: 2rem;
        content: "";
        display: block;
    }
    .sub-heading {
        font-size: .85rem;
    }
    #services h1{
        font-size: 2rem;
    }
    #services .line {
        left: 23.5%;
        width: 20%;
    }
    .uslugi {
        margin-top: 0;
    }
    .uslugi-title {
        font-size: 67%;
    }
}
/*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;
   -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.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.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(252,180,21,.26);
    -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(252,180,21,.26);
    -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;
}

/*Modals styles - uslugi*/
.modal-header button.close {
    font-size: 2.5rem;
}
#services .modal-header .line {
    top: 3%;
    left: 0;
    width: 13%;
 }
.modal .text-justify{
    font-size: 1rem;
}
.modal .modal-list {
    padding-left: 0;
    font-size: 1rem;
}
.modal-body .h5 {
    margin: 0 0 2rem 0;
}
.colour {
    color: #e68618;
}
.modal-img{
    width:100%;
    height: auto;
    border: 1px solid #fcb415;
}
.modal-body .caption {
    margin: .75rem 0;
    font-weight: 500;
    font-size: .95rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    .modal-dialog {
        max-width: 750px;
        margin: 1.75rem auto;
    }
    .modal-title {
        line-height: 1.2;
        font-size: 1.5rem;
    }
    .modal-body .text-justify, .modal .modal-list{
        font-size: 90%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .modal-title {
        line-height: 1.2;
        font-size: 1.5rem;
    }
    .modal-body {
        padding: 1rem 1rem 2rem 1rem;
    }
    .modal-body .h5 {
        margin-top: 1rem;
    }
    .modal-body .caption {
        font-size: .75rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .modal-body {
        padding: 1rem;
    }
    .modal-title {
        line-height: 1.2;
        font-size: 1.5rem;
    }
    #services .modal-header .line {
        top: .35rem;
        left: 0;
        width: 13%;
    }
    .modal-body .caption {
        font-size: .75rem;
    }
    .modal .text-justify {
        font-size: 85%;
        line-height: 1.65;
    }
    .modal .modal-list {
        font-size: 85%;
    }
    .modal-body .h5 {
        margin: 1rem 0;
    }
    .modal-img {
        margin-top: .85rem;
    }
}
@media (max-width: 348px){
    .modal-body {
        padding: 1rem;
    }
    .modal-title {
        line-height: 1.2;
        font-size: 1.15rem;
    }
    #services .modal-header .line {
        top: .35rem;
        left: 0;
        width: 13%;
    }
    .modal .text-justify {
        font-size: 83%;
        line-height: 1.65;
    }
    .modal .modal-list {
        font-size: 85%;
    }
    .modal-img {
        margin-top: .85rem;
    }
    .modal-body .caption {
        font-size: .65rem;
    }
    .modal-body .h5 {
        margin: 1rem 0;
    }
}
/*About Block styles*/
#about::before{
    height: 4rem;
    content: "";
    display: block;
}
#about::after{
    height: 7rem;
    content: "";
    display: block;
}
#about h2{
    margin-bottom: 2.25rem;
}
#about h2 .line{
    width: 4%;
    left: 46.5%;
    top: .35rem;
}
#about p{
    padding: 0 1.5rem;
}
.bgg {
    font-size: 1.12rem;
    font-weight: 500;
}
.about-img {
    margin: 0 0 2rem 0;
    border: 1px solid #fcb415;
}
#about .about-list {
    list-style: none;
    padding: 0 1.5rem 0 4rem;
    text-align: justify;
    margin-top: 1rem;
}
#about .about-list li{
    padding: 0.25rem;
    line-height: 1.4;
}
#about .about-list li::before {
    content: "\2666";
    color: #fcb415;
    display: inline-block;
    width: 1.35em;
    margin-left: -1.35em;
    font-size: 1.65em;
    transform: translateY(30%);
}
@media (max-width: 991px) and (min-width: 768px) {
    #about::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #about::after {
        height: 4rem;
        content: "";
        display: block;
    }
    #about h2 .line {
        width: 6%;
        left: 44.5%;
    }
    #about p {
        padding: 0;
    }
    #about .h5 {
        font-size: 1.1rem;
    }
    .about-img {
        margin: 0;
    }
    #about .about-list {
        padding: 0 1.5rem 0 2.5rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #about::after {
        height: 3rem;
        content: "";
        display: block;
    }
    #about h2 .line {
         width: 8%;
         left: 43.5%;
    }
    #about .about-list {
        padding: 0 1.5rem 0 2.5rem;
    }
    #about p {
        padding: 0;
    }
    .about-img {
        margin: 0 0 5% 9%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #about::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #about::after {
        height: 4rem;
        content: "";
        display: block;
    }
    #about h2 .line {
        width: 10%;
        left: 40.5%;
        top: .35rem;
    }
    #about .about-list {
        padding: 0 1.5rem 0 2.5rem;
    }
    #about p {
        padding: 0;
    }
    .about-img {
        margin: 0 0 5% 0;
    }
}
@media (max-width: 348px){
    #about::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #about::after {
        height: 3rem;
        content: "";
        display: block;
    }
    #about h2 .line {
        width: 10%;
        left: 40.5%;
        top: .35rem;
    }
    #about .about-list {
        padding: 0 1.5rem 0 2.5rem;
        font-size: 83%;
    }
    #about p {
        padding: 0;
        font-size: 83%;
    }
    .about-img {
        margin: 0 0 5% 0;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background: rgb(255,200,55);
    background: linear-gradient(180deg, rgba(255,200,55,.91) 0%, rgba(242, 176, 28,.91) 100%);
    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: #414345;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background: rgba(255,200,55,.51);
    background: linear-gradient(180deg, rgba(255,200,55,.51) 0%, rgba(242, 176, 28,.51) 100%);
    border: 2px solid #fff;
    color: #414345;
}
#scrollToTopBtn:active {
    background: rgba(255,200,55,.51);
    background: linear-gradient(180deg, rgba(255,200,55,.51) 0%, rgba(242, 176, 28,.51) 100%);
    border: 2px solid #fff;
    color: #414345;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
/*Footer Block styles*/
#footer:before{
    height: 4rem;
    content: "";
    display:block;
}
#footer{
    background:transparent url("../images/bg-footer.jpg") no-repeat;
    background-size: cover;
    color:#fff;
}
#footer .h2{
    margin-bottom: 2.25rem;
}
#footer .h2 .line{
    width: 4%;
    left: 44.5%;
    top: .35rem;
}
.map-responsive{
    overflow:hidden;
    padding-bottom: 45%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:75%;
    width:95%;
    position:absolute;
    margin: 0 1.2rem;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.contact-info{
    padding: 0.5rem 2rem 1rem 2rem;
    color: #5d5f61;
}
.contacts-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: .4rem;
    font-size: 1.05rem;
    line-height: 1.65;
}
.contacts-list li {
    padding: 6px 0;
}
#footer .sub-heading {
    margin: 0 0 3rem 0;
    font-size: 1.5rem;
    font-weight: 500;
}
.contacts-icons {
    margin-right: .4rem;
}
.mapa{
    background: transparent url("../images/icons/map.png") no-repeat;
    padding: .25rem 1rem;
}
.sml{
    font-size:smaller;
}
.bdr2 {
    border-bottom: 1px solid rgba(0,0,0,.12);
    margin-bottom: 1rem;
}
.phone{
    background: transparent url("../images/icons/phone.png") no-repeat;
    padding: 0 1rem .42rem 1rem;
}
.web{
    background: transparent url("../images/icons/globe.png") no-repeat;
    padding: 0 1rem .45rem 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;
 }
.skype{
    background: transparent url("../images/icons/skype.png") no-repeat;
    padding: 0 1rem .35rem 1rem;
}
.copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: 90%;
    border-top: 1px solid #666;
    padding: 1rem 0 0 0;
    color: #5d5f61;
}
@media (max-width: 991px) and (min-width: 768px) {
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .h2 .line {
        width: 7%;
        left: 39.5%;
    }
    #footer .sub-heading {
        font-size: 1.25rem;
    }
    .contact-info {
        padding: 1rem 0 .15rem 0;
    }
    .contacts-list li {
        font-size: 85%;
    }
    .mapa, .phone, .web, .mail, .clock, .skype{
        background-size: 75%;
        padding-bottom: 0.8rem;
    }
    .map-responsive iframe{
        margin: 0;
    }
    .copyright {
        font-size: 77%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .h2 .line {
        width: 10%;
        left: 37.35%;
    }
    #footer .sub-heading {
        font-size: 1.05rem;
    }
    .contact-info {
        padding: 1rem 0 .15rem 0;
    }
    .contacts-list li{
        padding: 5px 0;
        font-size: 78%;
    }
    .map-responsive iframe {
        top: 0;
        margin: 0;
        left: .95rem;
        width: 91%;
    }
    .mapa, .phone, .web, .mail, .clock, .skype{
        background-size: 75%;
        padding-bottom: 0.8rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    .contact-info {
        padding: 1rem 1rem .15rem 1rem;
    }
    #footer .h2 .line {
        width: 13%;
        left: 33.5%;
        top: .35rem;
    }
    .map-responsive iframe {
        top: 15px;
        margin: 0;
        left: 1rem;
        width: 94%;
    }
}
@media (max-width: 348px){
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .h2 .line {
        width: 16%;
        left: 25.5%;
        top: .35rem;
    }
    #footer .sub-heading {
        font-size: 1.05rem;
        margin: 0 0 1rem 0;
    }
    .contact-info {
        padding: 1rem 0 .15rem 0;
    }
    .contacts-list li {
        padding: 5px 0;
        font-size: 80%;
    }
    .mapa, .phone, .web, .mail, .clock, .skype{
        background-size: 75%;
        padding-bottom: 0.8rem;
    }
    .map-responsive iframe {
        top: 15px;
        margin: 0;
        left: .95rem;
        width: 91%;
    }
    .copyright {
        font-size: 65%;
    }
}