
.nav-tabs--logistics {
    border: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
    display: block !important;
}
.nav-tabs--logistics .nav-item {
    display: block;
    margin: 0 0 4px 0;
}
.nav-tabs--logistics .nav-item + .nav-item {
    margin-left: 0 !important;
}
.nav-tabs--logistics .nav-link {
    font-size: 24px;  
    color: #fff;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 10px!important;
    background: #034BB1;
    display: block;
    text-align: inherit;
    width: 100%;
    margin: 0;
    border: none;
}
.nav-tabs--logistics .nav-link:hover {
    color: #fff !important;
}
.nav-tabs--logistics .nav-link.active {
    background: #FBCA3D !important;
    color: #212121 !important;
}

.tab-content--logistics {
    height: 100%;
}
.tab-content--logistics .tab-pane {
    height: 100%;
}
.tab-content--logistics__item {
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #fff;
    min-height: 312px;
}
/*.tab-content--logistics__item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FBCA3D;
    opacity: 0.35;
    z-index: 1;
}*/
.tab-content--logistics__item:after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 40%;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(3,75,177,0) 0%, rgba(3,75,177,.85) 100%);
    z-index: 2;
}
.tab-content--logistics__item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tab-content--logistics__text {
    display: flex;
    align-items: flex-end;
    margin-top: auto;
    width: 100%;
/*    position: absolute;*/
    padding: 38px 38px 0;
    /*left: 0;
    right: 0;
    bottom: 0;*/
    z-index: 3;
    color: #fff;
}

.tab-content--logistics__item h4,
.tab-content--logistics__item .h4 {
    margin: 0;
    width: 630px;
    max-width: calc(100% - 180px - 40px);

    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
}
.tab-content--logistics__item .btn {
    margin-left: auto;
}
.tab-content--logistics__item .btn:hover {
    background: #FBCA3D;
    color: #034BB1;
}
.tab-content--logistics__item:hover .tab-content--logistics__item h4,
.tab-content--logistics__item:hover .tab-content--logistics__item .h4 {
    -webkit-line-clamp: auto;
    line-clamp: auto;
}


@media (min-width: 1199px) {
    .tab-content--logistics__item {
        min-height: 453px;
    }

}


@media (max-width: 1799px) {

    .nav-tabs--logistics .nav-link {
        font-size: 1.1em;
    }
    

}

@media (max-width: 1199px) {
    .tab-content--logistics__item {
        height: 312px;
    }

}

@media (max-width: 767px) {
    
    .tab-content--logistics__item {
        padding: 16px;
    }
    .tab-content--logistics__text {
        display: block;
        padding: 14px;
    }
    .tab-content--logistics__text .h4{
        line-height: 18px;
    }
    .tab-content--logistics__text a.btn{
        font-size: 18px;
    }
    .tab-content--logistics__item h4, .tab-content--logistics__item .h4 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }
    .nav-tabs--logistics .nav-link {
        font-size: 18px;
    }


}
