/*Colors
004D85  */

*, *::before, *::after {
    box-sizing: border-box;
}

hr {
    height: 2px !important;
    opacity: 0.6;
}

#servies {
    position: relative;
    transform: translate3d(0,0,0);
    overflow: hidden !important;
    margin: 0;
    padding: 0;
}

.service-bg-100 img {
    background-image: linear-gradient( 180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4));
    position: absolute;
    height: 100%;
    width: 100% !important;
}
.service-bg-50 img {
    background-image: linear-gradient( 180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4));
    position: absolute;
    height: 100%;
    width: 50% !important;
}

.service1 {
    background-image: linear-gradient( 180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/service-consulting-enginners.jpg);
}

.service2 {
    background-image: linear-gradient( 180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/banner-3.jpg);
}

.service3 {
    background-image: linear-gradient( 180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/service-technology-Solutions.jpg);
}

h3, h2, p {
    text-align: center !important;
}

.item-services {
    -webkit-transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.item-services-list {
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-transition: background 400ms ease-out;
    transition: background 400ms ease-out;
    width: 49.9%;
    /*width: 33.33333333%;*/
}

    .item-services-list:hover {
        background-size: auto 1060px !important;
    }

.container-text-banner {
    padding: 0px 60px;
    height: 60vh;
    -webkit-transition: -webkit-transform 700ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: transform 700ms cubic-bezier(0.77, 0, 0.175, 1);
    background-image: -webkit-linear-gradient(270deg, transparent, rgba(0, 0, 0, 0.60));
    background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.60));
    width: 100%;
}

.content-description-services {
    padding: 50px 0px;
}

    .content-description-services p {
        text-align: left !important;
    }

    .content-description-services h2 {
        font-weight: 800;
    }

.container-text-banner p {
    color: white !important
}

.content-description-services .social-network ul {
    text-align: left !important;
    margin: 0 !important;
}

.category-news {
    padding-right: 20px;
    font-size: 1.2em;
}

.tag-services {
    margin: 0 !important;
    color: rgb(172, 172, 172);
}

.tag {
    margin-top: 20px;
}

.market-services {
    background-color: rgba(172, 172, 172,0.6);
    padding: 6px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #444;
    border-radius: 6px;
    margin: 4px 10px;
    display: inline-block;
}

    .market-services a {
        color: #444;
        text-decoration: none;
    }


/*********************************************
TAB SERVICES - PRODUCTS
*********************************************/
.tab-product {
    padding: 50px;
    background-color: #dce1e9;
    margin-bottom: 40px;
}

.content-tab-bar {
    background: white;
}

    .content-tab-bar .nav-link {
        color: #333;
        padding: 20px 8px;
        border-bottom: 1px solid #dce1e9;
        transition: all 0.16s;
        transform: translateY(0%);
    }

    .content-tab-bar .nav-pills .nav-link.active {
        border-left: solid 3px #004D85;
        padding-left: 37px;
        font-weight: bold;
        color: #333;
        border-radius: 0%;
        transform: translateY(4%);
    }

.tab-content {
    width: 100%;
    min-height: 180px;
    transform: translateY(0%);
}

.tab-pane {
    margin: 40px;
}

    .tab-pane p {
        text-align: left !important;
    }

    .tab-pane h3 {
        text-align: left !important;
        font-weight: bold;
    }

.project-releated-product {
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    -webkit-transition: background 400ms ease-out;
    transition: background 400ms ease-out;
    height: 260px;
    position: relative;
}

    .project-releated-product:hover {
        background-size: auto 400px !important;
    }

.title-project-product {
    font-size: 1em;
    font-weight: bold;
    background-color: rgb(241, 241, 241);
    text-align: center !important;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    border: 1px solid rgba(223, 223, 223,0.5);
    width: 100%;
}

.position-relative {
    position: relative;
}

/********************************************/
/*            Banner
/**********************************************/
.carousel {
    min-height: 70vh;
    display: grid;
    grid-template-rows: 1fr 3fr 1.5fr;
    grid-template-columns: 50px 1fr 1fr 1fr 1fr 50px;
    row-gap: 2vh;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
}

.progress-bar__fill {
    width: 0;
    height: inherit;
    background: #004D85;
    transition: all 0.16s;
}

.progress-bar--primary {
    z-index: 2;
}

.main-post-wrapper {
    grid-row: 1/4;
    grid-column: 1/7;
    position: relative;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main-post {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.main-post__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
}

    .main-post__image img {
        width: 100%;
        height: 100%;
        display: block;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .main-post__image::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(14, 13, 14, 0.5);
    }

.main-post__content {
    position: absolute;
    top: 40%;
    left: 4%;
    transform: translateY(-40%);
    color: #fff !important;
    width: 90%;
}

.main-post__tag-wrapper {
    margin: 0;
    display: inline-flex;
    overflow: hidden;
}

.main-post__tag {
    font-size: 0.95em;
    background: #004D85;
    padding: 6px 18px;
}

.main-post__title {
    font-weight: 700;
    font-size: 1.95em;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.main-post__link {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
}

.main-post__link-text {
    font-size: 0.9em;
}

.main-post__link-icon--arrow {
    margin-left: 12px;
}

.main-post__link-icon--play-btn {
    margin-right: 12px;
}

.main-post__link:hover .main-post__link-text,
.main-post__link:hover .main-post__link-icon--arrow path {
    color: #004D85;
    stroke: #004D85;
}

.main-post--active {
    top: 0;
    z-index: 1;
    transition: top 0.9s 0.4s ease-out;
}

.main-post--not-active {
    top: 100%;
    z-index: 0;
    transition: top 0.75s 2s;
}

.main-post.main-post--active .main-post__tag-wrapper {
    width: 25%;
    transition: all 0.98s 1.9s;
}

.main-post.main-post--not-active .main-post__tag-wrapper {
    width: 0;
    transition: width 0.3s 0.2s;
}

.main-post.main-post--active .main-post__title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s 1.42s, transform 0.5s 1.4s;
}

.main-post.main-post--not-active .main-post__title {
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.2s 0.35s, opacity 0.5s 0.2s;
}

.main-post.main-post--active .main-post__link {
    opacity: 1;
    transition: opacity 0.9s 2.2s;
}

.main-post.main-post--not-active .main-post__link {
    opacity: 0;
    transition: opacity 0.5s 0.2s;
}

.posts-wrapper {
    grid-row: 3/4;
    grid-column: 3/6;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 14px;
    column-gap: 14px;
    z-index: 1;
}

.post {
    background: rgba(14, 13, 14, 0.6);
    opacity: 0.3;
    color: #fff;
    position: relative;
    padding: 16px 20px;
}

.post__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}

.post__tag {
    color: #ffffff;
}

.post__title {
    font-weight: 400;
    font-size: 0.95em;
    line-height: 1.5;
    color: #ffffff !important;
}

.post--active {
    opacity: 1;
    background: rgba(14, 13, 14, 0.75);
}

.post:not(.post--active) {
    pointer-events: none;
}

.hide-on-mobile {
    display: none;
}

@media screen and (min-width: 768px) {
    .main-post__title {
        font-size: 2.9em;
    }
}

@media screen and (min-width: 1024px) {
    .hide-on-mobile {
        display: grid;
    }

    .posts-wrapper {
        grid-column: 2/6;
    }

    .hide-on-desktop {
        display: none;
    }
}

@media screen and (min-width: 1440px) {
    .main-post__content {
        width: 45%;
    }

    .posts-wrapper {
        grid-column: 2/6;
    }
}
