/* 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{
    background: transparent url("../images/bg-header.jpg") no-repeat center;
    background-size: cover;
}
#home::before{
    height:14rem;
    content: "";
    display:block;
}
#home::after {
    height: 13rem;
    content: "";
    display:block;
}
.text-block {
    padding: 6% 0 0 10%;
    width: 100%;
}
.text-block h1 {
    display: block;
    margin: 0;
    font-size: 6.3rem;
    line-height: 1;
    color: #b49c73;
}
.text-block .subheading1 {
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 .25rem 4%;
    color:rgba(83,80,73,.85);
}
.text-block .subheading2 {
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    margin: 0 0 0 23%;
    color:rgba(83,80,73,.85);
}
@media only screen and (max-width: 1024px) {
    .navbar-dark .navbar-nav .nav-link {
        font-size: 16px;
    }
    #home::before{
        height: 7rem;
        content: "";
        display:block;
    }
    #home::after {
        height: 7rem;
        content: "";
        display:block;
    }
    .text-block {
        padding: 6% 0 0 8%;
    }
    .text-block h1{
        font-size: 5rem;
        margin: 0;
    }
    .text-block .subheading1 {
        font-size: 1.25rem;
        margin: 0 0 .25rem 4%;
    }
    .text-block .subheading2 {
        font-size: 1.05rem;
        margin: 0 0 0 15%;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .navbar-brand img {
        width: 95%;
        height: auto;
        margin: 0;
    }
    .navbar-toggler {
        right: 1.5rem;
        top: .5rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 1.1rem;
    }
    .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1.25rem;
        padding-top: .5rem;
    }
    #home::before,
    #home::after{
        height: 3.25rem;
        content: "";
        display: block;
    }
    .text-block {
        padding: 14% 0 0 0;
    }
    .text-block h1{
        font-size: 3.75rem;
        margin: 0;
    }
    .text-block .subheading1 {
        font-size: 1.1rem;
        margin: 0 0 .25rem 4%;
    }
    .text-block .subheading2 {
        font-size: 1rem;
        margin: 0 0 0 16%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .navbar-brand img {
        width: 80%;
        height: auto;
        margin: 0 0 0 1rem;
    }
    .navbar-toggler {
        right: 1.5rem;
        top: .5rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 1.1rem;
    }
    .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 2.5rem;
        padding-top: .5rem;
    }
    #home::before,
    #home::after{
        height: 2.25rem;
        content: "";
        display: block;
    }
    .text-block {
        padding: 20% 0 0 0;
    }
    .text-block h1{
        font-size: 3rem;
        margin: 0;
    }
    .text-block .subheading1 {
        font-size: 1rem;
        margin: 0 0 .25rem 4%;
    }
    .text-block .subheading2 {
        font-size: 0.9rem;
        margin: 0 0 0 16%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .navbar-brand img {
        width: 80%;
        height: auto;
        margin: 0 0 0 1rem;
    }
    .navbar-toggler {
        right: 1.5rem;
        top: .5rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 1.1rem;
    }
    .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 2.5rem;
        padding-top: .5rem;
    }
    #home::before,
    #home::after{
        height: 2rem;
        content: "";
        display: block;
    }
    .text-block {
        padding: 22% 0 0 0;
    }
    .text-block h1{
        font-size: 2.65rem;
        margin: 0;
    }
    .text-block .subheading1 {
        font-size: .95rem;
        margin: 0 0 .25rem 3%;
    }
    .text-block .subheading2 {
        font-size: 0.8rem;
        margin: 0 0 0 14%;
    }
}
@media (max-width: 348px){
    .navbar-brand img {
        width: 76%;
        height: auto;
        margin: 0 0 0 1rem;
    }
    .navbar-toggler {
        right: 1.5rem;
        top: .5rem;
    }
    .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1.5rem;
        padding-top: .25rem;
    }
    #home::before,
    #home::after{
        height: 1.5rem;
        content: "";
        display: block;
    }
    .text-block {
        padding: 22% 0 0 0;
    }
    .text-block h1{
        font-size: 2.5rem;
        margin: 0;
    }
    .text-block .subheading1 {
        font-size: .85rem;
        margin: 0 0 .25rem 0;
    }
    .text-block .subheading2 {
        font-size: 0.7rem;
        margin: 0 0 0 14%;
    }

}
/*Reasons Block styles*/
#reasons::before{
    height: 1rem;
    content: "";
    display: block;
}
#reasons::after{
    height: 1rem;
    content: "";
    display: block;
}
#reasons{
    background: rgba(180,156,115,.16);
}
.img-reason, .reason-title {
    display: inline-block;
    float: left;
    vertical-align: middle;
}
.img-reason {
    margin: 0 .5rem;
    width: 75px;
    height: 75px;
}
.reason-title {
    margin: 5% 0 0 0;
    font-weight: 500;
    font-size: 1.05rem;
}
#reasons .bdr {
    border-right: 1px solid rgba(0,0,0,.26);
}
@media only screen and (max-width: 1024px) {
    .img-reason {
        margin: 0 .5rem 0 0;
        width: 60px;
        height: 60px;
    }
    .reason-title {
        font-size: 77%;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .img-reason {
        margin: 0 3rem;
        width: 65px;
        height: 65px;
    }
    .reason-title {
        margin: 5% 0 0 2%;
        font-weight: 500;
        font-size: 78%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .img-reason, .reason-title {
        display: block;
        float: none;
    }
    .img-reason {
        margin: 0 auto;
        width: 55px;
        height: 55px;
    }
    .reason-title {
        margin: 5% auto;
        text-align: center;
        font-size: 75%;
        line-height: 1.25;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .img-reason, .reason-title {
        display: block;
        float: none;
    }
    .img-reason {
        margin: 0 auto;
        width: 55px;
        height: 55px;
    }
    .reason-title {
        margin: 5% auto;
        text-align: center;
        font-size: 87%;
        line-height: 1.25;
    }
}
@media (max-width: 348px){
    .img-reason, .reason-title {
        display: block;
        float: none;
    }
    .img-reason {
        margin: 0 auto;
        width: 55px;
        height: 55px;
    }
    .reason-title {
        margin: 5% auto;
        text-align: center;
        font-size: 87%;
        line-height: 1.25;
    }
}
/*About Block styles*/
#about::before{
    height: 6rem;
    content: "";
    display: block;
}
#about::after{
    height: 3.5rem;
    content: "";
    display: block;
}
.heading{
    font-size: 2.75rem;
    margin: 0 0 1.5rem 0;
}
.heading .line,
.modal-title .line{
    display: block;
    position:relative;
    font-size: 2rem;
    color: #a09d9c;
}
.heading .line::before,
.heading .line::after,
.modal-title .line::before,
.modal-title .line::after{
    content:"";
    display: block;
    position: absolute;
    top: 50%;
    background: #a09d9c;
    width: 50px;
    height: 1px;
}
.heading .line::before{
    left: 40%;
}
.heading .line::after{
    right: 40%;
}
.img-about {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
#about p {
    padding: 0 2.5rem 0 1rem;
}
.about-list,
.modal-list{
    list-style: none;
    position: relative;
    padding-left: 10%;
}
.about-list li, .modal-list li{
    padding: 0 0 .5rem 0;
}
.about-list li::before, .modal-list li::before{
    content: "\0026";
    position: absolute;
    left: 6%;
    transform: translateY(-20%);
    font-family: 'PopularScript', serif;
    font-size: 1.9em;
    color: #b49c73;
}
@media only screen and (max-width: 1024px) {
    .heading .line::before {
        left: 35%;
    }
    .heading .line::after {
        right: 35%;
    }
    .about-list, .modal-list {
        padding-left: 12%;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #about::before{
        height: 3rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    .heading .line::before {
        left: 30%;
    }
    .heading .line::after {
        right: 30%;
    }
    #about p {
        padding: 0 .5rem;
        font-size: 95%;
    }
    .about-list{
        padding-left: 12%;
    }
    #about .abount-list li{
        font-size: 95%;
    }
    .about-list li::before{
        left: 5%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about::before{
        height: 2rem;
    }
    #about::after{
        height: 3rem;
    }
    .heading .line::before {
        left: 25%;
    }
    .heading .line::after {
        right: 25%;
    }
    #about p {
        padding: 0;
        font-size: 95%;
    }
    #about .abount-list li{
        font-size: 95%;
    }
    .about-list li::before{
        left: 2%;
    }
    .img-about {
        margin: 0 auto;
        max-width: 95%;
    }

}
@media (max-width: 575px) and (min-width: 349px) {
    #about::before{
        height: 3rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    .heading .line::before {
        left: 35%;
    }
    .heading .line::after {
        right: 35%;
    }
    #about p {
        padding: 0;
        font-size: 90%;
    }
    .img-about {
        margin: 12% 0 0 0;
        max-width: 95%;
    }
    .about-list li::before {
        left: 4%;
    }
}
@media (max-width: 348px){
    #about::before{
        height: 2rem;
    }
    #about::after{
        height: 2rem;
    }
    #about p {
        padding: 0;
        font-size: 90%;
    }
    .img-about {
        margin: 12% 0 0 0;
        max-width: 95%;
    }
    .about-list li, .modal-list li{
        font-size: 95%;
    }
    .about-list li::before {
        left: 2%;
    }
}
/*Divider Block styles*/
#divider::before,
#divider::after,
#divider2::before,
#divider2::after{
    height: 1.5rem;
    content: "";
    display: block;
}
.divider .line3{
    display: block;
    background: #905923;
    width: 100%;
    height: 1px;
}
.divider .div-icon{
    background: #fff url("../images/mark.png") no-repeat center;
    background-size: contain;
    display: block;
    position: relative;
    width: 63px;
    height: 63px;
    margin: -1.95rem auto 0 auto;
    padding: 0 3.35rem;
}
@media (max-width: 991px) and (min-width: 768px) {
    .divider .div-icon {
        width: 45px;
        height: 45px;
        margin: -1.5rem auto 0 auto;
        padding: 0 2rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .divider .div-icon {
        width: 45px;
        height: 45px;
        margin: -1.5rem auto 0 auto;
        padding: 0 2rem;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .divider .div-icon {
        width: 45px;
        height: 45px;
        margin: -1.5rem auto 0 auto;
        padding: 0 2rem;
    }
}
@media (max-width: 348px){
    .divider .div-icon {
        width: 45px;
        height: 45px;
        margin: -1.5rem auto 0 auto;
        padding: 0 2rem;
    }
}
/*Services Block styles*/
#services::before {
    height: 1.5rem;
    content: "";
    display: block;
}
#services::after {
    height: 5.5rem;
    content: "";
    display: block;
}
#services .heading .line::before {
    left: 45%;
}
#services .heading .line::after {
    right: 45%;
}
.uslugi-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}
#ModalCenterTitle {
    display: block;
    margin: 0 auto;
    font-size: 2.25rem;
    line-height: 1;
}
#ModalCenter1 #ModalCenterTitle .line::before{
    left: 0;
}
#ModalCenter1 #ModalCenterTitle .line::after{
    right: 0;
}
#ModalCenter2 #ModalCenterTitle .line::before{
    left: 24%;
}
#ModalCenter2 #ModalCenterTitle .line::after{
    right: 24%;
}
#ModalCenter3 #ModalCenterTitle .line::before{
    left: 16%;
}
#ModalCenter3 #ModalCenterTitle .line::after{
    right: 16%;
}
#ModalCenter4 #ModalCenterTitle .line::before{
    left: -15%;
}
#ModalCenter4 #ModalCenterTitle .line::after{
    right: -15%;
}
.modal-img{
    max-width: 100%;
    height: auto;
    margin: -6% 0 0 0;
}
.modal-list li::before{
    left: 5%;
}
@media only screen and (max-width: 1024px) {
    #services .heading .line::before {
        left: 43%;
    }
    #services .heading .line::after {
        right: 43%;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #services::before {
        height: 0;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading .line::before {
        left: 40%;
    }
    #services .heading .line::after {
        right: 40%;
    }
    .uslugi-title {
        font-size: 90%;
    }
    .modal-body {
        padding: 1.5rem 0 2rem 0;
        font-size:95%;
    }
    .modal-list{
        padding-left: 12%;
    }
    .modal-list li::before {
        left: 3%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #services::before {
        height: 0;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading .line::before {
        left: 38%;
    }
    #services .heading .line::after {
        right: 38%;
    }
    .uslugi-title {
        font-size: 1rem;
    }
    .modal-list li::before {
        left: 3%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #services::before {
        height: 2rem;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading .line::before {
        left: 35%;
    }
    #services .heading .line::after {
        right: 35%;
    }
    .modal-list li::before {
        left: 3%;
    }
}
@media (max-width: 348px){
    #services::before {
        height: 1rem;
    }
    #services::after {
        height: 2rem;
    }
    .modal-body {
        padding: .5rem .5rem 2rem .5rem;
    }
    .modal-body p{
        font-size: 95%;
    }
    .modal-list li::before {
        left: 3%;
    }

}
/*Gallery Block styles*/
#gallery::before {
    height: 1rem;
    content: "";
    display: block;
}
#gallery::after {
    height: 4.5rem;
    content: "";
    display: block;
}
#gallery .heading .line::before {
    left: 45%;
}
#gallery .heading .line::after {
    right: 45%;
}
.masonry-wrapper {
    padding: 1.5em;

}
.masonry {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    columns: 3;
    column-gap: 0;
}
.masonry-content {
    width: 100%;
    height: auto;
}
.masonry-item {
    display: inline-block;
    vertical-align: top;
}
.masonry-item p{
    margin:0;
}
#info {
    margin-top: 2.5rem;
}

#info .contacts-list{
    width: 36%;
    margin: .5rem auto;
    padding: 1.5rem;
    border: 1px solid #b49c73;
    color:#434341;
}
@media only screen and (max-width: 1024px) {
    #gallery .heading .line::before {
        left: 43%;
    }
    #gallery .heading .line::after {
        right: 43%;
    }
    #info .contacts-list {
        width: 50%;
    }
    .masonry {
        columns: 3;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #gallery .heading .line::before {
        left: 41%;
    }
    #gallery .heading .line::after {
        right: 41%;
    }
    #gallery #info .heading .line::before {
        left: 40%;
    }
    #gallery #info .heading .line::after {
        right: 40%;
    }
    #info p{
        font-size:95%;
    }
    #info .contacts-list {
        width: 70%;
    }
    .masonry {
        columns: 3;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #gallery .heading .line::before {
        left: 38%
    }
    #gallery .heading .line::after {
        right: 38%
    }
    #info .contacts-list {
        width: 78%;
    }
    .masonry {
        columns: 3;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #gallery .heading .line::before {
        left: 35%;
    }
    #gallery .heading .line::after {
        right: 35%;
    }
    #info .contacts-list {
        width: 77%;
    }
    .masonry {
        columns: 3;
    }
}
@media (max-width: 348px){
    #gallery .heading .line::before {
        left: 27%;
    }
    #gallery .heading .line::after {
        right: 27%;
    }
    #gallery #info .heading .line::before {
        left: 27%;
    }
    #gallery #info .heading .line::after {
        right: 27%;
    }
    #info p{
        font-size:95%;
    }
    #info .contacts-list {
        width: 95%;
    }
    .masonry {
        columns: 1;
    }
}
/*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;
    -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);
    -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: 41.65% 20px;
    text-align: center;
    background-color: rgba(83,80,73,.66);
    -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;
}
.masonry-wrapper .hover-mask.im-1 a .mbri-search{
    padding: 71.65% 20px;
}
.masonry-wrapper .hover-mask.im-2 a .mbri-search{
    padding: 39.65% 20px;
}
.masonry-wrapper .hover-mask.im-3 a .mbri-search{
    padding: 30.65% 20px;
}
.masonry-wrapper .hover-mask.im-4 a .mbri-search{
    padding: 22.65% 20px;
}
.masonry-wrapper .hover-mask.im-5 a .mbri-search{
    padding: 22.65% 20px;
}
.gallery .hover-mask a .mbri-search, #blogCarousel .hover-mask a .mbri-search, #blogCarousel1 .hover-mask a .mbri-search,
#blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search, #certificatesCarousel.hover-mask a .mbri-search{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    width: 100%;
    padding: 26.65% 20px;
    text-align: center;
    background-color: rgba(83,80,73,.66);
    -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;
}
#blogCarousel1 .hover-mask a .mbri-search,
#blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search{
    padding: 29.85% 20px;
}
#certificatesCarousel .hover-mask a .mbri-search{
    padding: 20% 20px;
}
.hover-mask:hover a p, .gallery .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, .gallery .hover-mask .mbri-search, #blogCarousel .hover-mask .mbri-search,
#blogCarousel1 .hover-mask .mbri-search, #blogCarousel2 .hover-mask .mbri-search, #blogCarousel3 .hover-mask .mbri-search,
#certificatesCarousel .hover-mask .mbri-search{
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    color: #b49c73;
    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, .gallery .hover-mask:hover .mbri-search, #blogCarousel .hover-mask:hover .mbri-search,
#blogCarousel1 .hover-mask:hover .mbri-search, #blogCarousel2 .hover-mask:hover .mbri-search, #blogCarousel3 .hover-mask:hover .mbri-search,
#certificatesCarousel .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 only screen and (max-width: 1024px){
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 39.25% 20px;
    }
    #blogCarousel1 .hover-mask a .mbri-search,
    #blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search{
        padding: 27.5% 20px;
    }
    .gallery .hover-mask a .mbri-search{
        padding: 21% 20px;
    }
    #blogCarousel .hover-mask a .mbri-search{
        padding: 21.45% 20px;
    }
    #certificatesCarousel .hover-mask a .mbri-search {
        padding: 16.85% 20px;
    }
    .masonry-wrapper .hover-mask.im-1 a .mbri-search{
        padding: 71.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-2 a .mbri-search{
        padding: 39.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-3 a .mbri-search{
        padding: 30.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-4 a .mbri-search{
        padding: 22.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-5 a .mbri-search{
        padding: 22.65% 20px;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 35.5% 20px;
    }
    #blogCarousel1 .hover-mask a .mbri-search,
    #blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search{
        padding: 25.5% 20px;
    }
    .gallery .hover-mask a .mbri-search{
        padding: 21% 20px;
    }
    #blogCarousel .hover-mask a .mbri-search{
        padding: 21.45% 20px;
    }
    #certificatesCarousel .hover-mask a .mbri-search {
        padding: 12.5% 20px;
    }
    .masonry-wrapper .hover-mask.im-1 a .mbri-search{
        padding: 25.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-2 a .mbri-search{
        padding: 30.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-3 a .mbri-search{
        padding: 25.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-4 a .mbri-search{
        padding: 17.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-5 a .mbri-search{
        padding: 22.65% 20px;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 42% 20px;
    }
    .gallery .hover-mask a .mbri-search{
        padding: 27.2% 20px;
    }
    #blogCarousel1 .hover-mask a .mbri-search,
    #blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search{
        padding: 29.5% 20px;
    }
    #certificatesCarousel .hover-mask a .mbri-search {
        padding: 10.85% 20px;
    }
    .masonry-wrapper .hover-mask.im-1 a .mbri-search{
        padding: 66.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-2 a .mbri-search{
        padding: 27.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-3 a .mbri-search{
        padding: 20.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-4 a .mbri-search{
        padding: 11.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-5 a .mbri-search{
        padding: 15.65% 20px;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 44.2% 20px;
    }
    .gallery .hover-mask a .mbri-search{
        padding: 31% 20px;
    }
    #blogCarousel1 .hover-mask a .mbri-search,
    #blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search{
        padding: 28.5% 20px;
    }
    #certificatesCarousel .hover-mask a .mbri-search {
        padding: 6.85% 20px;
    }
    #blogCarousel .hover-mask a .mbri-search{
        padding: 27.2% 20px;
        font-size: 1.5rem;
    }
    .masonry-wrapper .hover-mask.im-1 a .mbri-search{
        padding: 58.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-2 a .mbri-search{
        padding: 23.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-3 a .mbri-search{
        padding: 17.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-4 a .mbri-search{
        padding: 7.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-5 a .mbri-search{
        padding: 11.65% 20px;
    }
}
@media (max-width: 348px){
    .hover-mask .mbri-file, .hover-mask .mbri-search, .gallery .hover-mask .mbri-search, #blogCarousel .hover-mask .mbri-search, #blogCarousel1 .hover-mask .mbri-search, #blogCarousel2 .hover-mask .mbri-search, #blogCarousel3 .hover-mask .mbri-search, #certificatesCarousel .hover-mask .mbri-search{
        font-size: 2rem;
    }
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 44.12% 20px;
    }
    #blogCarousel .hover-mask a .mbri-search{
        padding: 22.2% 20px;
        font-size: 1.5rem;
    }
    #blogCarousel1 .hover-mask a .mbri-search,
    #blogCarousel2 .hover-mask a .mbri-search, #blogCarousel3 .hover-mask a .mbri-search{
        padding: 29.5% 20px;
    }
    #certificatesCarousel .hover-mask a .mbri-search {
        padding: 7.85% 20px;
    }
    .masonry-wrapper .hover-mask.im-1 a .mbri-search{
        padding: 70.65% 20px;
    }
    .masonry-wrapper .hover-mask.im-2 a .mbri-search{
        padding: 35.5% 20px;
    }
    .masonry-wrapper .hover-mask.im-3 a .mbri-search{
        padding: 29.5% 20px;
    }
    .masonry-wrapper .hover-mask.im-4 a .mbri-search{
        padding: 19.5% 20px;
    }
    .masonry-wrapper .hover-mask.im-5 a .mbri-search{
        padding: 21.5% 20px;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background-color: #fff;
    border: 2px solid #a09d9c;
    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: #905923;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background-color: #434341;
    border: 2px solid #434341;
    color: #fff;
}
#scrollToTopBtn:active {
    background-color: #434341;
    border: 2px solid #434341;
    color: #fff;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
/*Footer Block styles*/
#footer:before{
    height: 3rem;
    content: "";
    display:block;
}
#footer:after{
    height: 0;
    content: "";
    display:block;
}
#footer{
    background: #434341;
}
#footer .heading .line::before {
    left: 44.5%;
}
#footer .heading .line::after {
    right: 44.5%;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:34%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left: 2rem;
    top:0;
    height: 84%;
    width: 90%;
    position:absolute;
    border: 3px solid #fff;
    box-shadow: 6px 3px 10px rgba(0, 0, 0, 0.3);
    /*padding: 0 1.2rem;*/
}
.contact-info{
    padding: 0 4rem;
    width: 90%;
}
.sub-heading3 {
    margin: .5rem 0 1rem 0;
    border-bottom: 1px solid rgba(205,194,211,.49);
}
.contacts-list {
    list-style: none;
    margin: 3rem 0 0 0;
    padding-left:.4rem;
    color: #fff;
}
.contacts-list li {
    padding: 0 0 10px 15px;
}
.contacts-icons {
    display: inline-block;
    margin-right: .75rem;
    vertical-align:middle;
}
.pdng {
    display: block;
    margin: 0 0 0 37px;
}
.mapa{
    background: transparent url("../images/icons/map.png") no-repeat;
    padding: .25rem 1rem 1.5rem 1rem;
}
.sm3{
    font-size:75%;
}
.phone{
    background: transparent url("../images/icons/phone.png") no-repeat;
    padding: 0 1rem 1.6rem 1rem;
}
.web{
    background: transparent url("../images/icons/globe.png") no-repeat;
    padding: 0 1rem 1.6rem 1rem;
}
.mail{
    background: transparent url("../images/icons/message.png") no-repeat;
    padding: 0 1rem 2rem 1rem;
}
.clock{
    background: transparent url("../images/icons/clock.png") no-repeat;
    padding: .25rem 1rem 1.5rem 1rem;
}
@media only screen and (max-width: 1024px){
    #footer .heading .line::before {
        left: 43.5%;
    }
    #footer .heading .line::after {
        right: 43.5%;
    }
    .contact-info{
        padding: 0;
        width: 86%;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #footer::before {
        height: 1.5rem;
        content: "";
        display: block;
    }
    #footer .heading {
        margin: 0 0 .5rem 0;
    }
    #footer .heading .line::before {
        left: 40.5%;
    }
    #footer .heading .line::after {
        right: 40.5%;
    }
    .contacts-list {
        margin: 1.25rem 0 0 0;
    }
    .contact-info{
        padding: 0;
        width: 100%;
    }
    .map-responsive {
        padding-bottom: 50%;
    }
    .map-responsive iframe {
        top: 19px;
        left: 7px;
        width: 91%;
        height: 87%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .heading {
        margin: 0;
    }
    #footer .heading .line::before {
        left: 37.5%;
    }
    #footer .heading .line::after {
        right: 37.5%;
    }
    .contacts-list {
        margin: 1.25rem 0 0 0;
    }
    .contact-info{
        padding: 0;
        width: 100%;
    }
    .contacts-list li {
        padding: 5px 0;
        font-size: 85%;
    }
    .contacts-list li.sub-heading3 {
        font-size: 20px;
    }
    .map-responsive {
        padding-bottom: 50%;
    }
    .map-responsive iframe {
        top: 19px;
        left: 7px;
        width: 91%;
        height: 87%;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .heading {
        margin: 0;
    }
    #footer .heading .line::before {
        left: 33.5%;
    }
    #footer .heading .line::after {
        right: 33.5%;
    }
    .contact-info{
        padding: 0;
        width: 100%;
    }
    .contacts-list {
        margin: 2rem 1rem 1rem 1rem;
    }
    .contacts-list li {
        padding: 0 0 5px 0;
    }
    .map-responsive iframe {
        top: 3px;
        left: 15px;
        width: 91%;
        height: 87%;
    }
}
@media (max-width: 348px){
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .heading {
        margin: 0;
    }
    #footer .heading .line::before {
        left: 26.5%;
    }
    #footer .heading .line::after {
        right: 26.5%;
    }
    .contact-info{
        padding: 0;
        width: 100%;
    }
    .contacts-list {
        margin: 2rem 0 0 0;
    }
    .contacts-list li {
        padding: 0 0 5px 0;
        font-size: 90%;
    }
    .map-responsive iframe {
        top: 3px;
        left: 15px;
        width: 91%;
        height: 87%;
    }

}
/*Copyright Block styles*/
#copyright::before,
#copyright::after{
    height: 0;
    content: "";
    display: block;
}
.copyright {
    margin: 0;
    text-align: center;
    font-size: 80%;
    padding: .75rem 1.5rem;
    border-top: 1px solid rgb(212,212,212,.5);
    color: #fff;
}
@media (max-width: 991px) and (min-width: 768px) {
    .copyright {
        font-size: 70%;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .copyright {
        font-size: 64%;
        padding: 0.5em 0 0 0;
        margin-bottom: 0;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .copyright {
        font-size: 70%;
        padding: 0.5em 0 0 0;
        margin-bottom: 0;
    }
}
@media (max-width: 348px){
    .copyright {
        font-size: 63%;
        padding: 0.5em 0 0 0;
        margin-bottom: 0;
    }
}