/* 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-brand img {
    margin-bottom: -0.5rem;
}
.navbar-caption {
    display: block;
    font-size: 1rem;
    color: #8d929d;
}
.navbar-caption .colour{
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
}
.navbar-caption .line{
    display: block;
    width: 100%;
    border-bottom: 1px solid rgb(255, 255, 102);
    padding: .25rem 0 0 0;
    margin-bottom: -1rem;
}
.navbar-caption .lgt{
    font-size: 1.3rem;
    font-weight: 300;
}
#home {
    background: transparent url("../images/bg-header.jpg") no-repeat center;
    background-size: cover;
}
#home::before,
#home::after{
    height: 7.5rem;
    content: "";
    display: block;
}
#home .img-fluid{
    padding: 0 6rem;
}
.text-block {
    margin-top: 2rem;
    padding: 0 0 0 2rem;
    width: 73%;
    color: #fff;
}
.text-block h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}
.text-block .sm {
    font-size: 1.07rem;
    font-weight: 400;
}
.lines {
    display: block;
    background: transparent url("../images/divider.png") no-repeat left;
    padding: 1rem;
    margin-bottom: .75rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    #home::before, #home::after {
        height: 3rem;
        content: "";
        display:block;
    }
    .navbar-expand-lg .container{
        margin: 0;
    }
    .navbar-caption{
        display: inline-block;
        position: absolute;
        top: 1rem;
        left: 7.5rem;
        font-size: .85rem;
    }
    .navbar-toggler {
        right: 1.5rem;
    }
    .navbar-brand .img-fluid {
        max-width: 78%;
        height: auto;
    }
    .text-block {
        margin-top: 2.5rem;
        padding: 0;
    }
    .text-block h1{
        font-size: 1.5rem;
        line-height: 1.25;
        font-weight: 500;
    }
    .text-block .sm {
        font-size: .85rem;
        font-weight: 400;
    }
    .text-block p{
        font-size: 85%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #home::before, #home::after{
        height: 2rem;
        content: "";
        display: block;
    }
    .navbar-expand-lg .container{
        margin: 0;
    }
    .navbar-toggler {
        right: 1.5rem;
    }
    .navbar-brand .img-fluid {
        max-width: 78%;
        height: auto;
    }
    .navbar-caption{
        display: inline-block;
        position: absolute;
        top: 1rem;
        left: 7.5rem;
        font-size: .75rem;
    }
    .navbar-caption .colour {
        font-size: 1.15rem;
    }
    .navbar-caption .lgt {
        font-size: 1rem;
    }
    #home {
        background: transparent url("../images/bg-header.jpg") no-repeat left;
        background-size: cover;
    }
    .text-block {
        margin-top: 2rem;
        padding: 0 0 0 0.35rem;
        width: 100%;
    }
    .text-block h1{
        font-size: 1.75rem;
        line-height: 1.2;
        font-weight: 500;
    }
    .text-block .sm {
        font-size: .85rem;
    }
    .text-block p{
        font-size: 90%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .navbar-brand .img-fluid {
        max-width: 78%;
        height: auto;
    }
    .navbar-caption{
        display: inline-block;
        position: absolute;
        top: 1rem;
        left: 7.5rem;
        font-size: .75rem;
    }
    .navbar-caption .colour {
        font-size: 1.15rem;
    }
    .navbar-caption .lgt {
        font-size: 1rem;
    }
    .navbar-toggler {
        right: 1.5rem;
        top: .5rem;
    }
    #home::before, #home::after{
        height: 1rem;
        content: "";
        display: block;
    }
    #home {
        background: transparent url("../images/bg-header.jpg") no-repeat left;
        background-size: cover;
    }
    .text-block {
        margin-top: 2rem;
        padding: 0 0 0 0.35rem;
        width: 89%;
    }
    .text-block h1{
        font-size: 1.6rem;
        line-height: 1.2;
    }
    .text-block .sm {
        font-size: .85rem;
    }
    .text-block p{
        font-size: 85%;
    }
}
@media (max-width: 348px){
    .navbar-brand img {
        width: 85%;
        height: auto;
        margin-bottom: 0;
    }
    .navbar-caption .colour {
        font-size: 1.2rem;
    }
    .navbar-caption .lgt {
        font-size: 1.1rem;
    }
    .navbar-toggler {
        right: 1.5rem;
        top: .5rem;
    }
    #home::before, #home::after{
        height: 1rem;
        content: "";
        display: block;
    }
    #home {
        background: transparent url("../images/bg-header.jpg") no-repeat -150px;
        background-size: cover;
    }
    .text-block {
        margin-top: 2rem;
        padding: 0 0 0 0.35rem;
        width: 100%;
    }
    .text-block h1{
        font-size: 1.25rem;
        line-height: 1.2;
    }
    .text-block .sm {
        font-size: .85rem;
    }
    .text-block p{
        font-size: 85%;
    }
}
/*Reasons Block styles*/
#reasons:before,
#reasons:after{
    height: 2rem;
    content: "";
    display:block;
}
#reasons{
    background: #fff url("../images/bg-reasons.jpg") no-repeat center;
    background-size: cover;
}
#reasons h2{
    margin-bottom: 2rem;
}
#reasons .reasons-list {
    counter-reset: myCounter;
    margin-left: 0;
    padding-left: 5px;
}
#reasons .reasons-list li {
    position: relative;
    padding-left: 3em;
    margin: 0.75em 0;
    font-size: 1.2rem;
    list-style: none;
    line-height: 1.8em;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#reasons .reasons-list li::after {
    position: absolute;
    top: 2.1em;
    left: 0.9em;
    width: 2px;
    height: calc(100% - 2em);
    content: '';
    background-color: rgb(203, 203, 203);
    z-index: 0;
}
#reasons .reasons-list li::before {
    content: counter(myCounter);
    counter-increment: myCounter;
    position: absolute;
    top: 0;
    left: 0;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
    padding: 0px;
    color: #8d929d;
    background: #fff;
    font-weight: 300;
    text-align: center;
    border: 1px solid #ffff66;
    border-radius: .9em;
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);
    z-index: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#reasons .reasons-list li:hover{
    color: rgb(141,146,157);
}
#reasons .reasons-list li:hover::before {
    color: #fff;
    background: #209390;
    border: 1px solid #fff;
}
@media (max-width: 991px) and (min-width: 768px) {
    #reasons::before, #reasons::after {
        height: 1.5rem;
        content: "";
        display: block;
    }
    #reasons h2 {
        font-size: 1.65rem;
    }
    #reasons .reasons-list li{
        font-size: 1rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #reasons{
        background: #fff url("../images/bg-reasons.jpg") no-repeat right;
        background-size: cover;
    }
    #reasons h2 {
        font-size: 1.75rem;
    }
    #reasons .reasons-list li{
        font-size: 1.05rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #reasons{
        background: #fff url("../images/bg-reasons.jpg") no-repeat right;
        background-size: cover;
    }
    #reasons h2 {
        font-size: 1.75rem;
    }
    #reasons .reasons-list li{
        font-size: 1.05rem;
    }
}
@media (max-width: 348px) {
    #reasons{
        background: #fff url("../images/bg-reasons.jpg") no-repeat right;
        background-size: cover;
    }
    #reasons h2 {
        font-size: 1.75rem;
    }
    #reasons .reasons-list li{
        font-size: 1.05rem;
    }
}
/*Services Block styles*/
#services::before {
    height: 4rem;
    content: "";
    display: block;
}
#services::after {
    height: 2.5rem;
    content: "";
    display: block;
}
.pad-1 {
    padding: 0 1rem;
}
#services{
    background: rgba(255,255,2555,1);
}
.uslugi {
    margin-top: 3.5rem;
}
.uslugi .mar1 {
    margin-top: 1rem;
}
.uslugi-card .thumb-modal{
    width: 100%;
    height: auto;
    border: 1px solid #545454;
}
.uslugi-title {
    font-size: 1.25rem;
    text-align: center;
    margin-top: 1.12rem;
    font-weight: 500;
    color: #1f7774;
}
.uslugi-title .sm{
    font-size: 1rem;
    font-weight: 400;
    color: #8d929d;
}
@media (max-width: 991px) and (min-width: 768px) {
    .sub-heading {
        font-size: 1.15rem;
    }
    .uslugi-title {
        font-size: 1rem;
    }
    .uslugi-title .sm{
        font-size: 75%;
    }
    .pad-1 {
        padding: 0;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #services h1{
        font-size: 2.25rem;
    }
    .sub-heading {
        font-size: 1.15rem;
    }
    .uslugi-title {
        font-size: 1.15rem;
    }
    .uslugi .mar1 {
        margin-top: 0;
    }
    .pad-1 {
        padding: 0;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #services h1{
        font-size: 2.25rem;
    }
    .uslugi-title {
        width: 100%;
    }
    .sub-heading {
        font-size: 75%;
    }
    .pad-1 {
        padding: 0;
    }
}
@media (max-width: 348px){
    #services::before,
    #services::after {
        height: 2rem;
        content: "";
        display: block;
    }
    #services h1{
        font-size: 2.25rem;
    }
    .uslugi-title {
        width: 100%;
        font-size: 1.15rem;
    }
    .sub-heading {
        font-size: 75%;
    }
    .pad-1 {
        padding: 0;
    }
}
/*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: 31.85% 20px;
    text-align: center;
    background-color: rgba(39,119,116,0.5);
    -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: 27% 20px;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 28.5% 20px;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 32.2% 20px;
    }
}
@media (max-width: 348px){
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 29.2% 20px;
    }
}
/*Divider Block styles*/
#divider::before,
#divider::after{
    height: 0;
    content: "";
    display: block;
}
#divider .line{
    display: block;
    background: #ffff66;
    padding: 1px 0 0 0;
    width: 100%;
    margin: 1rem 0;
}
#divider .div-icon{
    background: transparent url("../images/divider2.png") no-repeat center;
    display: block;
    position: absolute;
    top: 0;
    left: 37.6rem;
    padding: 1rem 6rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    #divider .div-icon{
        top: 0;
        left: 17.5rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #divider .div-icon{
        top: 0.05rem;
        left: 12.5rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #divider .div-icon{
        top: 0.05rem;
        left: 9rem;
    }
}
@media (max-width: 348px){
    #divider .div-icon{
        left: 5rem;
    }
}
/*About Block styles*/
#about::before{
     height: 2rem;
     content: "";
     display: block;
 }
#about::after{
    height: 5rem;
    content: "";
    display: block;
}
#about .mar1 {
    margin-top: 2.1rem;
}
.about-img {
    margin: 1rem 5rem 0 5rem;
    border: 1px solid #ffff66;
    box-shadow: 0 3px 7px rgba(84,84,84, 0.5);
}
#about h2{
    padding-left: .65rem;
}
#about p {
    padding: 0 1.5rem;
}
.about-list{
    list-style: none;
    text-align: justify;
}
.about-list li{
    padding: 0.2rem 0;
}
.about-list li::before{
    content: "\25cf";
    color: #1f7774;
    display: inline-block;
    width: 1.5em;
    margin-left: -0.5em;
    margin-right: .5rem;
}
#about strong{
    font-size: 1.25rem;
    font-weight: 500;
    color: #1f7774;
}
@media (max-width: 991px) and (min-width: 768px) {
    #about::before,
    #about::after{
        height: 3rem;
        content: "";
        display: block;
    }
    #about p, .about-list {
        font-size: 90%;
    }
    .about-img {
        margin: 0;
    }
    #about h2, #about p{
        padding: 0;
    }
    .about-list{
        padding: 0 0 0 .65rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about::before {
        height: 1rem;
        content: "";
        display: block;
    }
    #about p, .about-list {
        font-size: 90%;
    }
    .about-img {
        margin: 0 3rem 1rem 3rem;
    }
    #about h2, #about p{
        padding: 0;
    }
    .about-list{
        padding: 0 0 0 .65rem;
    }
    #about strong {
        font-size: 1.05rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #about::before{
        height: 2rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    #about p, .about-list {
        font-size: 90%;
    }
    .about-img {
        margin: 0 0 1rem 0;
    }
    #about h2, #about p{
        padding: 0;
    }
    .about-list{
        padding: 0 0 0 .65rem;
    }
    #about strong {
        font-size: 1.05rem;
    }
}
@media (max-width: 348px){
    #about::before{
        height: 1rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    #about p, .about-list {
        font-size: 90%;
    }
    .about-img {
        margin: 0 0 1rem 0;
    }
    #about h2, #about p{
        padding: 0;
    }
    .about-list{
        padding: 0 0 0 .65rem;
    }
    #about strong {
        font-size: 1.05rem;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ffff66;
    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: #8d929d;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background-color: rgba(32, 147, 144,1);
    border: 2px solid #ffff66;
    color: #fff;
}
#scrollToTopBtn:active {
    background-color: rgba(32, 147, 144,1);
    border: 2px solid #ffff66;
    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:after{
    height: 1rem;
    content: "";
    display:block;
}
.footer-slogan {
    margin-bottom: 2rem;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:35%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left: 1rem;
    top: 1.85rem;
    height:90%;
    width:97%;
    position:absolute;
    border: 5px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    /*padding: 0 1.2rem;*/
}
.contact-info{
    padding: 2rem 2rem 1rem 7rem;
    color: #fff;
}
.contact-info .h1 {
    color: #fff;
}
.sub-heading3 {
    font-size: 1.35rem;
    font-weight: 400;
    border-top: 1px solid rgba(233,233,233,.5);
    margin-top: 1rem;
}
.contacts-list {
    list-style: none;
    margin: 2rem 0;
    padding-left:.4rem;
}
.pad-2 {
    padding-left: 2.35rem;
}
.contacts-list li {
    padding: 7px 0;
}
.contacts-list li a{
    color: #fff;
}
.contacts-list li a:hover{
    color: #fff;
    text-decoration: underline;
}
.contacts-icons {
    margin-right: .4rem;
}
.mapa{
    background: transparent url("../images/icons/map.png") no-repeat;
    padding: .25rem 1rem;
}
.sm3{
    font-size:smaller;
}
.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;
}
.copyright {
    text-align: center;
    font-size: smaller;
    border-top: 1px solid rgba(255, 255, 102, 1);
    padding: 1.25rem 0 0 0;
    margin: 1rem 0 0 0;
    color: #fff;
}
@media (max-width: 991px) and (min-width: 768px) {
    #footer::before {
        height: 1.5rem;
        content: "";
        display: block;
    }
    #footer {
        background: transparent url("../images/bg-footer.jpg") no-repeat -750px 0;
        background-size: cover;
    }
    .contact-info {
        padding: 1rem;
    }
    .contacts-list li {
        padding: 6px 0;
        font-size: 95%;
    }
    .sm3 {
        font-size: smaller;
    }
    .map-responsive iframe {
        top: 15px;
        left: 15px;
        width: 91%;
    }
    .web {
        padding: 0 1rem .53rem 1rem;
    }
    .phone {
        padding: 0 1rem .47rem 1rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #footer::before {
        height: 1.5rem;
        content: "";
        display: block;
    }
    #footer{
        background: transparent url("../images/bg-footer.jpg") no-repeat right;
        background-size: cover;
    }
    .contact-info {
        padding: 1rem 0;
    }
    .contacts-list li {
        padding: 6px 0;
        font-size: 77%
    }
    .sm3 {
        font-size: smaller;
    }
    .map-responsive iframe {
        top: 15px;
        left: 15px;
        width: 91%;
    }
    .mapa, .mail,
    .web, .phone {
        padding: 0 1rem .67rem 1rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #footer::before {
        height: 1rem;
        content: "";
        display: block;
    }
    #footer{
        background: transparent url("../images/bg-footer.jpg") no-repeat right;
        background-size: cover;
    }
    .contact-info {
        padding: 1rem;
    }
    .contacts-list li {
        padding: 6px 0;
        font-size: 95%;
    }
    .map-responsive iframe {
        top: 15px;
        left: 15px;
        width: 91%;
    }
    .web {
        padding: 0 1rem .53rem 1rem;
    }
    .phone {
        padding: 0 1rem .47rem 1rem;
    }
}
@media (max-width: 348px){
    #footer::before {
        height: 1rem;
        content: "";
        display: block;
    }
    #footer{
        background: transparent url("../images/bg-footer.jpg") no-repeat right;
        background-size: cover;
    }
    .contact-info{
        padding: 1rem 0;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: 90%;
    }
    .map-responsive iframe {
        top: 15px;
        left: 15px;
        width: 91%;
    }
    .web {
        padding: 0 1rem .53rem 1rem;
    }
    .phone {
        padding: 0 1rem .47rem 1rem;
    }
}