/* 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-dark .navbar-brand img{
    width:80%;
}
#home {
    background: transparent url("../images/bg-header.jpg") no-repeat center;
    background-size: cover;
}
#home::before{
    height: 10rem;
    content: "";
    display:block;
}
#home::after {
    height: 10rem;
    content: "";
    display:block;
}
.text-block {
    padding: 4% 0 0 15%;
    width: 85%;
}
.text-block h1 {
    display: block;
    margin: 0 0 0 0;
    font-size: 2.65rem;
    font-weight: 600;
    line-height: 1;
    color:#fff;
}
.text-block h1 .sm {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
}
.text-block .subheading {
    margin: 2% 0 0 11%;
    width: 55%;
    text-align: right;
    color: #fff;
}
.lines{
    display:block;
    margin: 3% 0 0 38%;
    width: 157px;
    height: 5px;
    border-top: 1px solid #ff4f00;
    border-bottom: 1px solid #84bc3c;
    -ms-transform: skewX(-78deg); /* IE 9 */
    transform: skewX(-78deg);
}

@media only screen and (max-width: 1024px) {
    .navbar-dark .navbar-brand img {
        width: 75%;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 16px;
    }
    #home::before{
        height: 8rem;
        content: "";
        display:block;
    }
    #home::after {
        height: 8rem;
        content: "";
        display:block;
    }
    .text-block {
        padding: 4% 0 0 8%;
    }
    .text-block h1 {
        font-size: 2.35rem;
    }
    .text-block h1 .sm {
        font-size: .95rem;
    }
    .text-block .subheading {
        margin: 2% 0 0 6%;
        width: 71%;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .navbar-brand img {
        width: 75%;
        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: 6rem;
    }
    .text-block {
        padding: 2% 0 0 0;
    }
    .text-block h1 {
        font-size: 1.95rem;
    }
    .text-block h1 .sm {
        font-size: .8rem;
    }
    .text-block .subheading {
        margin: 2% 0 0 6%;
        width: 71%;
    }
}
@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: 4.5rem;
    }
    .text-block {
        padding: 2% 0 0 0;
    }
    .text-block h1 {
        font-size: 1.65rem;
    }
    .text-block h1 .sm {
        font-size: .7rem;
    }
    .lines {
        margin: 3% 0 0 26%;
    }
    .text-block .subheading {
        margin: 2% 0 0 6%;
        width: 71%;
        font-size: 84%;
    }
}
@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: 4.5rem;
    }
    #home {
        background: transparent url("../images/bg-header.jpg") no-repeat 30%;
        background-size: cover;
    }
    .text-block {
        padding: 2% 0 0 0;
    }
    .text-block h1 {
        font-size: 1.65rem;
    }
    .text-block h1 .sm {
        font-size: .7rem;
    }
    .lines {
        margin: 3% 0 0 23%;
    }
    .text-block .subheading {
        margin: 2% 0 0 0;
        width: 66%;
        font-size: 84%;
    }
}
@media (max-width: 375px){
    .navbar-dark .navbar-brand img {
        width: 58%;
    }
    .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: 6.5rem;
    }
    #home {
        background: transparent url("../images/bg-header.jpg") no-repeat 30%;
        background-size: cover;
    }
    .text-block {
        padding: 2% 0 0 0;
    }
    .text-block h1 {
        font-size: 1.65rem;
    }
    .text-block h1 .sm {
        font-size: .7rem;
    }
    .lines {
        margin: 3% 0 0 23%;
    }
    .text-block .subheading {
        margin: 2% 0 0 0;
        width: 83%;
        font-size: 84%;
    }
}
@media (max-width: 348px){
    .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: 6.5rem;
    }
    #home {
        background: transparent url("../images/bg-header.jpg") no-repeat 30%;
        background-size: cover;
    }
    .text-block {
        padding: 2% 0 0 0;
    }
    .text-block h1 {
        font-size: 1.65rem;
    }
    .text-block h1 .sm {
        font-size: .7rem;
    }
    .lines {
        margin: 3% 0 0 23%;
    }
    .text-block .subheading {
        margin: 2% 0 0 0;
        width: 83%;
        font-size: 84%;
    }
}
/*Reasons Block styles*/
#reasons::before{
    height: 3rem;
    content: "";
    display: block;
}
#reasons::after{
    height: 3rem;
    content: "";
    display: block;
}
#reasons{
    background: #e5eaed url('../images/background.png') no-repeat center;
    background-size: cover;
}
#reasons h2{
    margin: 0 0 2.75rem 1.2rem;
    font-size: 2.15rem;
}
#reasons .reasons-list {
    counter-reset: myCounter;
    margin-left: 0;
    padding-left: 3%;
}
#reasons .reasons-list li {
    position: relative;
    padding-left: 3em;
    margin: 0.5em 0;
    font-size: 1.05rem;
    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: 0;
    color: #7b8e9a;
    background: #fff;
    font-weight: 300;
    text-align: center;
    border: 1px solid #7b8e9a;
    border-radius: .9em;
    box-shadow: 0 1px 4px 0 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: #52b819;
    border: 1px solid transparent;
}
@media only screen and (max-width: 1024px) {
    #reasons .reasons-list li {
        margin: 0.35em 0;
        font-size: 1rem;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #reasons::before, #reasons::after {
        height: 2rem;
        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 h2 {
        font-size: 1.75rem;
    }
    #reasons .reasons-list li{
        font-size: 1.05rem;
    }
    .img-reason{
        display: block;
        width: 90%;
        margin: 0 auto;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #reasons h2 {
        font-size: 1.75rem;
    }
    #reasons .reasons-list li{
        font-size: 1rem;
    }
    .img-reason{
        display: block;
        width: 90%;
        margin: 0 auto;
    }
}
@media (max-width: 348px) {
    #reasons h2 {
        font-size: 1.55rem;
    }
    #reasons .reasons-list li{
        font-size: 1rem;
    }
    .img-reason{
        display: block;
        width: 90%;
        margin: 0 auto;
    }
}
/*About Block styles*/
#about::before{
    height: 5rem;
    content: "";
    display: block;
}
#about::after{
    height: 5rem;
    content: "";
    display: block;
}
#about .heading{
    margin: 0 0 2.75rem 1.5rem;
    font-size: 2.35rem;
}

.img-about {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
#about p {
    padding: 0 2.5rem 0 1.5rem;
}

@media only screen and (max-width: 1024px) {

}
@media (max-width: 991px) and (min-width: 768px) {
    #about::before{
        height: 3rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    #about p {
        padding: 0 0 0 1.5rem;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    #about::before{
        height: 4rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 3rem;
        content: "";
        display: block;
    }
    .img-about {
        width: 88%;
        margin-top: 1%;
    }

}
@media (max-width: 575px) and (min-width: 349px) {
    #about::before{
        height: 3rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    #about p{
        padding: 0 1rem 0 1.35rem;
    }
    .img-about {
        width: 88%;
        margin-top: 1%;
    }
}
@media (max-width: 348px){
    #about::before{
        height: 3rem;
        content: "";
        display: block;
    }
    #about::after{
        height: 2rem;
        content: "";
        display: block;
    }
    #about p{
        padding: 0 0 0 .5rem;
    }
    .img-about {
        width: 88%;
        margin-top: 1%;
    }

}
/*Partners Block styles*/
#partners::before{
    height: 1rem;
    content: "";
    display: block;
}
#partners::after{
    height: 1rem;
    content: "";
    display: block;
}
#partners{
    background: #e5eaed;
    padding-bottom: 2rem;
}
#partners h3 {
    margin: 0 0 3rem 1.65rem;
    padding: .15rem 0 0 .8rem;
}
#partners .line{
    height: 45px;
    left: 2rem;
    top: 0;
}
#partners #logoCarousel {
    margin-top: 1.5rem;
}
#partners #logoCarousel .carousel-indicators{
    position: absolute;
    right: 0;
    bottom: -3rem;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}
/* The colour of the indicators */
#partners #logoCarousel .carousel-indicators li {
    background: #bbbbbb;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}
#partners #logoCarousel .carousel-indicators .active {
    background: #84bc3c;
}
.logo-img {
    width:100%;
    height:auto;
    transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .5;
}
.logo-img:hover{
    transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1;
}
@media (max-width: 991px) and (min-width: 768px) {

}
@media (max-width: 767px) and (min-width: 576px) {

}
@media (max-width: 575px) and (min-width: 349px) {

}
@media (max-width: 348px){

}
/*Services Block styles*/
#services::before {
    height: 4rem;
    content: "";
    display: block;
}
#services::after {
    height: 4.5rem;
    content: "";
    display: block;
}
#services .heading{
    margin: 0 0 2.75rem 1.5rem;
    font-size: 2.25rem;
}
#nav-tabContent .about-img{
    width: 95%;
}
#services #nav-tabContent p {
    padding: 1.5rem 1rem 0 3.5rem;
}
#uslugi-tabs, #nav-tabContent {
    margin: 0 1.5%;
}
.service-list {
    list-style: none;
    text-align: justify;
    width: 78%;
    padding-left: 7.5rem;
    margin: 2rem 0;
}
.service-list li{
    padding: 0 0 10px 0;
}
.service-list li::before {
    content: "\25cf";
    color: #3773b8;
    display: inline-block;
    width: 1.5em;
    margin-left: .5em;
    margin-right: -2rem;
    transform: translateX(-35px);
}
.sub-heading2 {
    margin: 0;
    font-weight: 600;
}
@media only screen and (max-width: 1024px) {
    .nav-tabs .nav-link {
        padding: 1rem 6.5rem;
    }
    .service-list {
        width: 98%;
        padding-left: 6.5rem;
    }
    #nav-tabContent {
        padding: 4.5em 1.5em 1.5em 1.5em;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #services::before {
        height: 2.5rem;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading {
        font-size: 2rem;
    }
    .nav-tabs .nav-link {
        padding: 1rem 4.5rem;
    }
    #nav-tabContent {
        padding: 4.5em 1.5em 1.5em 1.5em;
    }
    #services #nav-tabContent p {
        padding: 1.5rem 0 0 0;
    }
    .service-list {
        padding-left: 3.5rem;
        width: 95%;
    }

}
@media (max-width: 767px) and (min-width: 576px) {
    #services::before {
        height: 3rem;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading {
        margin: 0 0 2rem 1.5rem;
    }
    #uslugi-tabs {
        margin: 5% 0 0 0;
    }
    .nav-tabs .nav-link {
        padding: .5rem 3rem .5rem 3rem;
        border: 0;
    }
    #nav-tabContent {
        padding: 2.5em 1.5em 1.5em 1.5em;
    }
    #services #nav-tabContent p {
        padding: 1.5rem 1rem 0 0.5rem;
    }
    #nav-tabContent .about-img {
        width: 95%;
        margin:0 0 1rem 0;
    }
    #services .sub-heading {
        font-size: 1.15rem;
        margin: 1.5rem 0;
    }
    .service-list {
        padding-left: 3rem;
        width: 95%;
    }
    .service-list li {
        padding: 0 0 7px 0;
    }
    .img-service {
        width:90%;
        margin: 0 auto;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    #services::before {
        height: 2rem;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading {
        margin: 0 0 2rem 1.5rem;
    }
    #uslugi-tabs {
        margin: 0;
    }
    .nav-tabs .nav-link {
        padding: .5rem 1.75rem;
    }
    #nav-tabContent {
        padding: 1.5em 1.5em 1.5em 1.5em;
    }
    #services #nav-tabContent p {
        padding: 1.5rem 0 0 0;
    }
    #nav-tabContent .about-img {
        width: 95%;
        margin:0 0 1rem 0;
    }
    #services .sub-heading {
        font-size: 1.15rem;
        margin: 1.5rem 0;
    }
    .service-list {
        padding-left: 2rem;
        width: 100%;
    }
    .service-list li {
        padding: 0 0 7px 0;
    }
    .service-list li::before {
        margin-right: -1.75rem;
        transform: translateX(-28px);
    }
}
@media (max-width: 375px){
    #services .heading {
        margin: 0 0 2rem 1.5rem;
        font-size: 2rem;
    }
    .nav-tabs .nav-link {
        font-size: 95%;
        padding: .5rem 1.25rem;
    }
}
@media (max-width: 348px){
    #services::before {
        height: 2rem;
    }
    #services::after {
        height: 2rem;
    }
    #services .heading {
        margin: 0 0 2rem 1.5rem;
        font-size: 2rem;
    }
    #uslugi-tabs {
        margin: 0;
    }
    .nav-tabs .nav-link {
        font-size: 16px;
        padding: .5rem .75rem;
    }
    #nav-tabContent {
        padding: 1.5em 0;
    }
    #services #nav-tabContent p {
        padding: 1.5rem 0 0 0;
    }
    #nav-tabContent .about-img {
        width: 95%;
        margin:0 0 1rem 0;
    }
    #services .sub-heading {
        font-size: 1.15rem;
        margin: 1.5rem 0;
    }
    .service-list {
        padding-left: 1.5rem;
        text-align: left;
        width: 100%;
    }
    .service-list li {
        padding: 0 0 7px 0;
    }
    .service-list li::before {
        margin-right: -1.5rem;
        transform: translateX(-28px);
    }

}
/*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 #bac425;
    -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: 1px solid #bac425;
    -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: 26.65% 20px;
    text-align: center;
    background-color: rgba(56,49,32,.65);
    -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;
}
.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(56,49,32,.65);
    -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: #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, .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: 23.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;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 18.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;
    }
}
@media (max-width: 767px) and (min-width: 576px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 15% 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;
    }
}
@media (max-width: 575px) and (min-width: 349px) {
    .hover-mask a .mbri-file, .hover-mask a .mbri-search{
        padding: 13.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;
    }
}
@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: 15.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;
    }
}

/* Scroll to top button*/
#scrollToTopBtn{
    display: inline-block;
    background-color: #84bc3c;
    border: 2px solid #84bc3c;
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    color: #fff;
    font-size: 2em;
}
#scrollToTopBtn:hover {
    cursor: pointer;
    background-color: #3773b8;
    border: 2px solid #3773b8;
    color: #fff;
}
#scrollToTopBtn:active {
    background-color: #3773b8;
    border: 2px solid #3773b8;
    color: #fff;
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}
/*Footer Block styles*/
#footer:before{
    height: 4.5rem;
    content: "";
    display:block;
}
#footer:after{
    height: 0;
    content: "";
    display:block;
}
#footer{
    background: #253c46 url('../images/background.png') no-repeat center;
    background-size: cover;
}
#footer .heading{
    margin: 0 0 2.5rem 2.75rem;
    font-size: 2.5rem;
    color: #fff;
}
#branch-offices{
    margin-bottom:2rem;
}
#branch-offices::before{
    content:"";
    display:block;
    margin: 2% auto;
    width: 95%;
    height: 1px;
    background:rgba(149,159,164,.29);
}
.map-responsive{
    overflow:hidden;
    padding-bottom:30%;
    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 0 2rem;
    width: 90%;
}
#branch-offices .contact-info{
    padding: 0 0 1rem 2rem;
    width: 100%;
}
.sub-heading3 {
    margin: .5rem 0 1rem 0;
    border-bottom: 1px solid rgba(233,233,233,.49);
    font-size: 1.45rem;
}
#branch-offices .sub-heading3 {
    margin: .5rem 0 1rem 0;
    border-bottom: none;
    font-size: 1.35rem;
    color: #7b8e9a;
}
.sub-heading4{
    margin: 0 0 2rem 2.75rem;
    color: #fff;
}
.sub-heading4::after{
    content:"";
    display: block;
    margin: 1% 0 0 0;
    width: 22%;
    height: 1px;
    background:rgba(233,233,233,.43);
}
.contacts-list {
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding-left:.4rem;
    color: #fff;
}
.contacts-list li {
    padding: 0 0 10px 15px;
}
#branch-offices .contacts-list {
    margin: 0;
}
.contacts-icons {
    display: inline-block;
    margin-right: .75rem;
    vertical-align:middle;
}
.pdg {
    display: block;
    padding: 0 0 0 2.75rem;
}
.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){
    .contact-info{
        padding: 0 0 0 1.5rem;
        width: 86%;
    }
    #branch-offices {
        margin-top: 1.5rem;
    }
    #branch-offices .contact-info {
        padding: 0 0 1rem 1.15rem;
        width: 100%;
    }
    .pdg {
        display: inline;
        padding: 0;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    #footer::before {
        height: 1.5rem;
        content: "";
        display: block;
    }
    #footer .heading, .sub-heading4 {
        margin: 0 0 2.5rem 1.75rem;
    }
    .sub-heading4::after {
        margin: 2% 0 0 0;
        width: 42%;
    }
    .contact-info{
        padding: 0 0 0 0;
        width: 90%;
    }
    #branch-offices {
        margin-top: 1.5rem;
    }
    #branch-offices .contact-info {
        padding: 0 0 1rem 0;
        width: 100%;
        font-size: 84%;
    }
    #branch-offices .sub-heading3 {
        font-size: 1.2rem;
    }
    .contacts-list li {
        padding: 0 0 7px 15px;
    }
    .pdg {
        display: inline;
        padding: 0;
    }
    .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, .sub-heading4 {
        margin: 0 0 2.5rem 1.75rem;
    }
    .sub-heading4::after {
        margin: 2% 0 0 0;
        width: 42%;
    }
    .contact-info{
        padding: 0 0 0 0;
        width: 100%;
    }
    .contacts-list {
        padding-left: 0;
    }
    .contacts-list li.sub-heading3, .sub-heading4 {
        font-size: 1.35rem;
    }
    #branch-offices {
        margin-top: 1.5rem;
    }
    #branch-offices .contact-info {
        padding: 0 0 1rem 0;
        width: 100%;
        font-size: 85%;
    }
    #branch-offices  .contacts-list li.sub-heading3 {
        font-size: 1.2rem;
    }
    .contacts-list li {
        padding: 0 0 7px 15px;
        font-size: 85%;
    }
    #branch-offices .contacts-list li{
        font-size: 100%;
    }
    .pdg {
        display: inline;
        padding: 0;
    }
    .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, .sub-heading4 {
        margin: 0 0 1.5rem 1.75rem;
    }
    .sub-heading4::after {
        width: 69%;
    }
    .contact-info{
        padding: 0;
        width: 85%;
    }
    .contacts-list {
        margin: 0 0 1rem 0;
    }
    .contacts-list li {
        padding: 0 0 5px 0;
    }
    .sub-heading3 {
        font-size: 22px;
    }
    .map-responsive iframe {
        top: 3px;
        left: 15px;
        width: 91%;
        height: 87%;
    }
}
@media (max-width: 375px){
    #footer .heading, .sub-heading4 {
        margin: 0 0 1.5rem 1.35rem;
    }
    .sub-heading4 {
        font-size: 1.65rem;
    }
    .contact-info{
        padding: 0;
        width: 90%;
    }
    #branch-offices .contact-info {
        padding: 0 0 1rem 0;
        width: 100%;
    }
    #branch-offices .contacts-list li{
        font-size: 95%;
    }
    #branch-offices  .contacts-list li.sub-heading3 {
        font-size: 1.2rem;
    }
}
@media (max-width: 348px){
    #footer::before {
        height: 2rem;
        content: "";
        display: block;
    }
    #footer .heading, .sub-heading4 {
        margin: 0 0 1.5rem 1.35rem;
    }
    .sub-heading4 {
        font-size: 1.65rem;
    }
    .contact-info{
        padding: 0;
        width: 100%;
    }
    #branch-offices .contact-info {
        padding: 0 0 1rem 0;
        width: 100%;
    }
    #branch-offices .contacts-list li{
        font-size: 83%;
    }
    #branch-offices  .contacts-list li.sub-heading3 {
        font-size: 1.2rem;
    }
    .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 #84bc3c;
    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;
    }
}