.carousel {
    margin-top: 0px;
}
.carousel .carousel-inner,.carousel .carousel-indicators{
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.carousel .container{
    padding-left: 5px;
    padding-right: 19px;
}

/* Make the image fully responsive */
.carousel-item .content {
    text-align: left;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+71,0.65+100 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0.65) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0.65) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
    /* IE6-9 */

}

.carousel-indicators {
    display: inline-block;
    height: 480px;
    overflow-y: hidden;
    overflow-x: hidden;
    position: static;
    direction: rtl;
    margin-left: 0;
    margin-right: 0;
}

@media screen and (max-width:992px) {
    .carousel-indicators {
        display: inline-flex;
        direction: inherit;
        height: auto;
        width: 100%;
        max-width: 800px;
        overflow-x: auto;
        position: relative;
        margin-left: 0;
        margin-right: 0;
        overflow-y: hidden;
        justify-content: normal;
        margin-bottom: 20px;
    }

    .carousel-inner {
        margin-left: 0 !important;
    }
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.item {
    padding: 0px 0 0px 10px;
    cursor: pointer;
    background: #fff;
    margin-top: 0;
}

.item.active {
    background-attachment: fixed;
    background: #519FAD;
    color: #fff;
}

.item.active .left-text p {
    color: #fff;
}

.item.active .left-text small {
    color: #fff;
}

@media screen and (max-width: 768px){
    .item.active .left-text p{
        color: #000;
    }
    .item.active .left-text small{
        color: #696969;
    }
    .item.active {
        background: #fff;
        color: #000
    }
}

.item img {
    height: 122px;
    margin-bottom: 0;
    border: 1px solid transparent;
    transition: 0.5s;
}

.item:hover img {
    opacity: 1;
}

.carousel-item .content {
    position: absolute;
    bottom: 0;
    color: #fff;
    width: 100%;
    padding: 0 24px 20px;
}

.carousel-item .content p {
    font-size: 15px;
}
.carousel-item .content h4{
    font-size: 25px;
    line-height: 1.4;
}
.carousel-item ul.tag-block .tag{
    margin-bottom: 0;
    font-size: 13px;
}


@media screen and (max-width: 992px) {
    .content {
        position: static;
    }
}

@media screen and (min-width: 1440px) {}

@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .carousel-inner {
        
    }
}

@media screen and (min-width: 880px) and (max-width: 1199px) {
    .carousel-inner {
        margin-left: 0px;
    }

    .content {
        position: static;
    }
}

@media screen and (min-width: 576px) and (max-width: 879px) {
    .carousel-inner {
        margin-left: 50px;
    }

    .content {
        position: static;
    }
}



.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100% 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.left-text {
    display: inline-block;
    width: calc(100% - 120px);
    height: 120px;
    padding-right: 10px;
}

.left-text p {
    color: #000;
    font-size: 16px;
    margin-bottom: 0;
    margin-top: 9px;
    clear: both;
}
p.tag{
    width: fit-content;
    padding: 2px 5px;
    background: rgb(233, 233, 233);
    color: #333;
    font-size: 13px;
    float: left;
    margin-bottom: 5px;
}
.item.active .left-text p.tag{
    background: rgba(240, 242, 243, 0.65);
    color: #333;
}
.left-text small {
    color: #696969;
    font-size: 13px;
}

.timeline-b .carousel-item .content h4{
    font-size: 18px;
}

.timeline-b .carousel-item .content{
    background: rgba(0, 0, 0, 0.7);
}

@media screen and (max-width: 1024px){
    .carousel .container{
        padding-left: 0;
    }
}		

@media screen and (max-width: 480px){
    .carousel .container{
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;

        width: 100%;

    }
    
}

@media screen and (max-width: 768px){
    .item.active .left-text p.tag{
        background: rgb(233, 233, 233);
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-30%);
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgb(0 0 0 / 60%);
    background-color: rgba(0,0,0,0);
    filter: alpha(opacity=50);
    opacity: .5;
    display: none;
}

.carousel-control.left {
    background: url(../assets/images/arrows01.svg) 18px 0 no-repeat;

}

.carousel-control.right {
    background: url(../assets/images/arrows01.svg) -18px 0 no-repeat;
    right: 0;
    left: auto;
    font-size: 30px;
    color: #000;
}

@media screen and (max-width: 768px){
    .carousel-control{
        display: block;
    }
    .carousel-control.left {
        background: url(../assets/images/arrows01.svg) 39px 0 no-repeat;
    }
    .carousel-control.right {
        background: url(../assets/images/arrows01.svg) -58px 0 no-repeat;
    }
}
