/* 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-block1.jpg") no-repeat center;
    background-size: cover;
}
.navbar-caption {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    color: #4d80a4;
}
.navbar-caption .colour{
    font-size: 1rem;
    font-weight: 400;
    color: #2b2b2b;
}
#home::after {
    height: 3rem;
    content: "";
    display: block;
}
#home .img-fluid{
    padding: 0 6rem;
}
.text-block {
    background: #fff;
    border-left: 10px double #fff001;
    padding: 2rem 1rem 2.5rem 2rem;
    margin-top: 3rem;
}
.text-block .sm {
    font-size: 1.25rem;
    font-weight: 500;
}

@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: 36rem;
    }
    .navbar-caption {
        display: block;
        position: relative;
        left: -1.2rem;
    }
    #home .img-fluid{
        padding: 0;
    }
    .text-block{
        padding: 2rem 1rem 2.5rem 1rem;
    }
    .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 {
        left: 25rem;
    }
    .navbar-brand .img-fluid {
        max-width: 90%;
        height: auto;
    }
}
@media (max-width: 348px){
    #home::before {
        height: 3rem;
        content: "";
        display:block;
    }
    #home .img-fluid{
        padding: 0 3rem;
    }
    .text-block{
        padding: 2rem 1rem 2.5rem 1rem;
    }
    .text-block .sm {
        font-size: 45%;
        font-weight: 400;
    }
    .text-block h1{
        font-size: 2rem;
        line-height: 1;
    }
    .text-block p{
        font-size: 77%;
    }
}
/*Reasons Block styles*/
#reasons:before, #reasons:after{
    height: 3rem;
    content: "";
    display:block;
}
#reasons{
    background: #fff;
}
.img-circle {
    width: 100%;
    height: auto;
    padding: 0 5rem;
}
.txt {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #40789c;
}
.line{
    display: block;
    background: #fff001;
    padding: 2px 0 0 0;
    width: 50%;
    margin: 1rem 0 0 6.5rem;
}
#reasons .mar1, #reasons .mar2 {
    margin-top: 2.2rem;
}
.reasons-list {
    padding-left: 0.9rem;
    list-style: none;
    text-align: left;
}
.reasons-list li {
    padding: .15rem 0;
}
.reasons-list li::before{
    content: "\25cf";
    color: #fff001;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: .5rem;
}
@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) {
    .line{
        margin: 1rem 0 0 9.2rem;
        width: 45%;
    }
    #reasons p, .reasons-list{
        font-size: smaller;
    }
}
@media (max-width: 348px){
    #reasons .mar1 {
        margin-top: 1.5rem;
    }
    .line{
        margin: 1rem 0 0 5rem;
    }
    #reasons p, .reasons-list{
        font-size: smaller;
    }
}
/*Services Block styles*/
#services::before {
    height: 4rem;
    content: "";
    display: block;
}
#services{
    background: #d0e7f7;
}
.sub-heading {
    font-size: 95%;
    margin: 2rem 0;
}
#services strong {
    font-size: 1.155rem;
    font-weight: 500;
}
.uslugi {
    margin-top: 2rem;
}
.uslugi-title {
    font-size: 1.15rem;
    text-align: center;
    margin-top: 1.2rem;
    font-weight: 500;
    color: #40789c;
}
@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%;
    }
    .sub-heading {
        font-size: 75%;
    }
}
/*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: 3px solid #4d80a4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
   -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);
}
.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(255,240,1,0.85);
    -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, .modal .modal-list li::before{
    content: "\25cf";
    color: #fff001;
    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: 3px solid #4d80a4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.modal .text-justify{
    font-size: 90%;
    line-height: 1.5rem;
}
.modal .modal-list {
    padding-left: .9rem;
}

.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 .text-justify {
        font-size: 76%;
        line-height: 1.5rem;
    }
}

/*About Block styles*/
#about::before, #about::after{
    height: 4rem;
    content: "";
    display: block;
}
#about{
    background: url("../images/bg-block4.jpg") 360px 850px no-repeat;
}
#about .mar1 {
    margin-top: 2.1rem;
}
.about-img {
    margin: 0 5rem;
    border: 3px solid #4d80a4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
#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: #fff001;
    display: inline-block;
    width: 1.5em;
    margin-left: -1em;
}
.about-2{
    margin-top: 1.2rem;
}
.sm2 {
    font-weight: 400;
    font-size: 1.15rem;
}
.sm3{
    font-size: smaller;
}
@media (max-width: 991px) and (min-width: 768px) {
    #about{
        background: url("../images/bg-block4.jpg") 190px 560px no-repeat;
    }
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about{
        background: url("../images/bg-block4.jpg") -100px 1300px no-repeat;
    }
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0 3rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #about{
        background: url("../images/bg-block4.jpg") -100px 1300px no-repeat;
    }
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0;
    }
}
@media (max-width: 348px){
    #about{
        background: url("../images/bg-block4.jpg") -100px 1300px no-repeat;
    }
    #about p, .about-list {
        font-size: smaller;
    }
    .about-img {
        margin: 0;
    }

}
/*Slogan Block styles*/
#slogan{
    background: transparent url("../images/bg-slogan.jpg") no-repeat center;
    background-size: cover;
}
#slogan::before, #slogan::after{
    height: 3.5rem;
    content: "";
    display: block;
}
#slogan h1{
    font-size: 3.5rem;
    color: #fff;
}
#slogan .sub-heading{
    font-size: 1.8rem;
    margin: 1.5rem 0;
    color: #fff;
}
@media (max-width: 767px) and (min-width: 576px) {
    #slogan h1{
        font-size: 2.5rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #slogan h1{
        font-size: 2.5rem;
    }
}
@media (max-width: 348px){
    #slogan h1{
        font-size: 2.5rem;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background-color: #4d80a4;
    border: 2px solid #fff001;
    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: #fff001;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background-color: #fff001;
    border: 2px solid #4d80a4;
    color: #4d80a4;
}
#scrollToTopBtn:active {
    background-color: #fff001;
    border: 2px solid #4d80a4;
    color: #4d80a4;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
/*Footer Block styles*/
#footer{
    background: #40789c;
    color:#fff;
}
#footer:before{
    height: 3rem;
    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;
    border-left: 10px double #fff001;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    color: #2b2b2b;
}
.contact-info .h1 {
    text-align: left;
}
.sub-heading3 {
    font-size: 1.35rem;
    font-weight: 400;
    color: #4d80a4;
    border-top: 1px solid rgba(160,160,160,.3);
    margin-top: 1rem;
}
.contact-info a{
    font-weight:400;
    text-decoration: none;
    color: #4d80a4;
}
.contact-info a:hover{
    padding: .5rem;
    background: #fff001;
    color: rgba(43,43,43, 1);
}
.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;
}
.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 #fff001;
    padding: 1rem 0 0 0;
}
@media (max-width: 991px) and (min-width: 768px) {
    .contact-info {
        padding: .7rem 1rem .5rem 1rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: 90%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .contact-info {
        padding: .7rem 1rem 0 1rem;
    }
    .map-responsive iframe {
        top: 30px;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .contact-info {
        padding: 1rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: 90%;
    }
    .map-responsive iframe {
        top: 15px;
    }
}
@media (max-width: 348px){
    .contact-info {
        padding: 1rem;
    }
    .contacts-list li {
        padding: 7px 0;
        font-size: smaller;
    }
    .map-responsive iframe {
        top: 15px;
    }
}