﻿ 
.gradient_second {
    background: #0094ff;
    /* Old browsers */
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #0094ff 0%, #e57a50 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(315deg, #0094ff 0%, #e57a50 100%);
    background: -o-linear-gradient(315deg, #0094ff 0%, #e57a50 100%);
    background: linear-gradient(135deg, #0094ff 0%, #e57a50 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0094ff', endColorstr='#e57a50',GradientType=1 );
    /* IE6-9 fallback on horizontal gradient */
}

.our-services {
    z-index: 11;
    position: relative;
    /*padding-top: 50px !important;*/
    /*padding-bottom: 50px !important;*/
}

@media all and (max-width: 1550px) {
    .our-services {
        padding: 50px 40px !important;
        /*padding-top: 0 !important;*/
        /*padding-bottom: 0 !important;*/
    }
}

@media all and (max-width: 1024px) {
    .our-services {
        padding: 50px 75px !important;
        /*padding-top: 0 !important;*/
    }

        .our-services .gradient_second {
            display: none;
        }
}

@media all and (max-width: 767px) {
    .our-services {
        padding: 25px !important;
    }
}

.our-services .round-back-left-services {
    width: 700px;
    height: 700px;
    border-radius: 50%;
    position: absolute;
    left: -350px;
    top: 230px;
    z-index: -1;
}

@media all and (max-width: 1550px) {
    .our-services .round-back-left-services {
        top: 180px;
    }
}

.our-services h3 {
    font-family: BebasBold;
    font-size: 80px;
    padding-bottom: 100px;
}

@media all and (max-width: 1024px) {
    .our-services h3 {
        padding-bottom: 40px;
    }
}

@media all and (max-width: 767px) {
    .our-services h3 {
        padding-bottom: 10px;
    }
}

.our-services .flex-content {
    /*height: 1690px;*/
    margin-top: 60px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content {
        margin-top: 0;
        height: initial;
    }
}

@media all and (max-width: 1550px) {
    .our-services .flex-content {
        margin-top: 0;
    }
}

.our-services .flex-content .pics {
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
    margin-left: -50px;
    /*margin-top: -100px;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 50%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .pics {
        display: none;
    }
}

.our-services .flex-content .pics .service-pic {
    margin: auto;
    position: absolute;
    display: none;
     
}

    .our-services .flex-content .pics .service-pic:first-child {
        display: block;
    }

@media all and (max-width: 1550px) {
    .our-services .flex-content .pics .service-pic img {
        max-height: 650px;
        width: auto;
    }
}

.our-services .flex-content .services {
    z-index: 10;
    width: 50%;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services {
        width: 100%;
    }
}

.our-services .flex-content .services .service {
    overflow: hidden;
    cursor: pointer;
    min-height: 156px;
    background-color: #fff;
    margin: 10px 0;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -webkit-box-shadow: 0 5px 19px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 19px 1px rgba(0, 0, 0, 0.1);
}

    .our-services .flex-content .services .service:last-child {
        margin-bottom: 0;
    }

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service {
        min-height: 86px;
    }
}

.our-services .flex-content .services .service h3 {
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service h3 {
        padding: 30px 0 25px 20px !important;
    }
}

.our-services .flex-content .services .service h3 i {
    font-size: 17px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 60px;
    display: block;
    width: 15px;
    height: 15px;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

@media all and (max-width: 374px) {
    .our-services .flex-content .services .service h3 i {
        display: none !important;
    }
}

@media all and (max-width: 767px) {
    .our-services .flex-content .services .service h3 i {
        right: 30px !important;
    }
}

.our-services .flex-content .services .service h3.not-hovered {
    background: #fff;
    padding: 60px 0 60px 50px;
}

.our-services .flex-content .services .service .excerpt {
    opacity: 0;
    font-family: MontserratRegular;
    font-size: 18px;
    color: #000;
    padding-left: 50px;
    padding-right: 50px;
    text-align: left;
    line-height: 1.3;
    padding-bottom: 40px;
    margin-top: -156px;
    z-index: 1;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
    margin-bottom: 0;
    max-height: 156px;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .excerpt {
        padding-left: 20px;
        padding-right: 29px;
        line-height: 22.5px;
        letter-spacing: 0.24px;
    }
}

.our-services .flex-content .services .service .excerpt.visible {
    max-height: initial;
    opacity: 1;
    margin-top: 0;
}

.our-services .flex-content .services .service .excerpt .more-button {
    width: 100%;
    display: table;
    margin: 10px 0 0 0;
    font-family: MontserratBold;
    color: #333;
}

.our-services .flex-content .services .service .dh-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 156px;
    overflow: hidden;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container {
        height: 86px;
    }
}

.our-services .flex-content .services .service .dh-container .h3 {
    display: block;
}

.our-services .flex-content .services .service .dh-container h3, .our-services .flex-content .services .service .dh-container .h3 {
    font-family: BebasBold;
    font-size: 30px;
    padding: 60px 0 60px 50px;
    margin-bottom: 0;
    z-index: 2;
    -webkit-transition: .7s;
    -o-transition: .7s;
    transition: .7s;
}

    .our-services .flex-content .services .service .dh-container h3 i, .our-services .flex-content .services .service .dh-container .h3 i {
        font-size: 17px;
        margin: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 60px;
        display: block;
        width: 15px;
        height: 15px;
        -webkit-transition: .7s;
        -o-transition: .7s;
        transition: .7s;
    }

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container h3, .our-services .flex-content .services .service .dh-container .h3 {
        font-size: 27px;
        padding-left: 20px;
        margin-bottom: 5px;
    }
}

.our-services .flex-content .services .service .dh-container a {
    color: #999;
    font-family: BebasRegular;
    font-size: 18px;
    -ms-flex-item-align: end;
    align-self: flex-end;
    padding-bottom: 35px;
    padding-right: 60px;
    pointer-events: none;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container a {
        padding-bottom: 6px;
        padding-right: 55px;
    }
}

.our-services .flex-content .services .service .dh-container a:hover {
    text-decoration: none;
}

.our-services .flex-content .services .service .dh-container a:after {
    content: "";
    /*background-image: url("./assets/img/grey-services-arrow.png");*/
    width: 14px;
    height: 24px;
    display: block;
    position: absolute;
    bottom: 35px;
    right: 23px;
    background-size: contain;
    -webkit-animation: bounce 1s infinite;
    animation: bounce 1s infinite;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container a:after {
        bottom: 8px;
    }
}

.dh-container {
    position: relative;
    overflow: hidden;
}

.dh-overlay {
    position: absolute;
    top: -100%;
}

.dh-overlay {
    background-color: #0094ff;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 300px;
    color: #fff;
}
.our-services .flex-content .services .service .dh-container .dh-overlay {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
    background-color: #316082;
    line-height: 1.5;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 2;
}

    .our-services .flex-content .services .service .dh-container .dh-overlay p {
        color: #fff;
        padding-left: 50px;
        padding-right: 50px;
    }

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container .dh-overlay p {
        padding-left: 20px;
        padding-right: 29px;
        line-height: 22.5px;
        letter-spacing: 0.24px;
    }
}

.our-services .flex-content .services .service .dh-container .dh-overlay h3 {
    color: #fff;
    padding-left: 50px;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container .dh-overlay h3 {
        font-size: 27px;
        padding-left: 20px;
        margin-bottom: 5px;
    }
}

.our-services .flex-content .services .service .dh-container .dh-overlay a.project-link-see {
    color: #fff;
    font-family: BebasRegular;
    font-size: 18px;
    -ms-flex-item-align: end;
    align-self: flex-end;
    padding-bottom: initial;
    position: absolute;
    bottom: 40px;
    right: 0;
    -webkit-transition: .25s;
    -o-transition: .25s;
    transition: .25s;
    z-index: 13;
}

@media all and (max-width: 1024px) {
    .our-services .flex-content .services .service .dh-container .dh-overlay a.project-link-see {
        bottom: 10px;
        padding-right: 55px;
    }
}

.our-services .flex-content .services .service .dh-container .dh-overlay a.project-link-see:hover {
    text-decoration: none;
    letter-spacing: 1.9px;
}

.our-services .flex-content .services .service .dh-container .dh-overlay a.project-link-see:after {
    content: "";
   
    width: 14px;
    height: 24px;
    display: block;
    position: absolute;
    bottom: 0;
    right: 23px;
    background-size: contain;
    -webkit-animation: bounce 1s infinite;
    animation: bounce 1s infinite;
}
