/*-----------------------------------------------------------------------  
Ribbon
-----------------------------------------------------------------------*/

.box {
    /* width: 200px;
    height: 300px; */
    max-height: 440px;
    position: relative;
    border: 1px solid #bbb;
    background: #eee;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#fcd965 0%, #dea41d 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;
}

.ribbon-dark span {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#d9d9d9 0%, #000000 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;
}
.ribbon-default span {
    background: #79a70a;
    background: linear-gradient(#b6bac9 0%, #808080 100%);
}
.ribbon-info span {
    background: #087f8f;
    background: linear-gradient(#05eff7 0%, #087f8f 100%);
}
.ribbon-success span {
    background: #79a70a;
    background: linear-gradient(#9bc90d 0%, #79a70a 100%);
}
.ribbon-primary span {
    background: #1e5799;
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
}
.ribbon-warning span {
    background: #8f5408;
    background: linear-gradient(#f79e05 0%, #8f5408 100%);
}
.ribbon-danger span {
    background: #8f0808;
    background: linear-gradient(#f70505 0%, #8f0808 100%);
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #dea41d;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #dea41d;
}
.ribbon-dark span::before {
    border-left: 3px solid #000000;
    border-top: 3px solid #000000;
}
.ribbon-default span::before {
    border-left: 3px solid #808080;
    border-top: 3px solid #808080;
}
.ribbon-info span::before {
    border-left: 3px solid #087f8f;
    border-top: 3px solid #087f8f;
}
.ribbon-success span::before {
    border-left: 3px solid #79a70a;
    border-top: 3px solid #79a70a;
}
.ribbon-primary span::before {
    border-left: 3px solid #1e5799;
    border-top: 3px solid #1e5799;
}
.ribbon-warning span::before {
    border-left: 3px solid #8f5408;
    border-top: 3px solid #8f5408;
}
.ribbon-danger span::before {
    border-left: 3px solid #8f0808;
    border-top: 3px solid #8f0808;
}
.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.ribbon-dark span::after {
    border-right: 3px solid #000000;
    border-top: 3px solid #000000;
}
.ribbon-default span::after {
    border-right: 3px solid #808080;
    border-top: 3px solid #808080;
}
.ribbon-info span::after {
    border-right: 3px solid #087f8f;
    border-top: 3px solid #087f8f;
}
.ribbon-success span::after {
    border-right: 3px solid #79a70a;
    border-top: 3px solid #79a70a;
}
.ribbon-primary span::after {
    border-right: 3px solid #1e5799;
    border-top: 3px solid #1e5799;
}
.ribbon-warning span::after {
    border-right: 3px solid #8f5408;
    border-top: 3px solid #8f5408;
}
.ribbon-danger span::after {
    border-right: 3px solid #8f0808;
    border-top: 3px solid #8f0808;
}

/*-----------------------------------------------------------------------  
Custom Scroll
-----------------------------------------------------------------------*/
/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #ebebeb;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #077707;
}

/*-----------------------------------------------------------------------  
Custom bx chevron

-----------------------------------------------------------------------*/
.bx .bx-chevron-right {
    line-height: 100px;
}

/*-----------------------------------------------------------------------  
Custom Nav Link
-----------------------------------------------------------------------*/

.nav-link {
    color: green;
}

.nav-item a:hover {
    color: green;
}

/*code to change background color*/
.nav-tabs .active a {
    background-color: #c0c0c0;
    color: green;
}

/*--------------------------------------------------------------
# SlideNews Section
--------------------------------------------------------------*/

#SlideNews {
    width: 100%;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
}

#SlideNews .carousel,
#SlideNews .carousel-inner,
#SlideNews .carousel-item,
#SlideNews .carousel-item::before {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#SlideNews .carousel-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    bottom: 60px;
    /* top: 70px;
    left: 55px;
    right: 55px; */
}

#SlideNews .carousel-content {
    background: rgba(4, 4, 4, 0.7);
    padding: 20px;
    color: #fff;
    border-top: 5px solid #1bbd36;
}

#SlideNews .carousel-content h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 500;
}

#SlideNews .btn-get-started {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    transition: 0.5s;
    line-height: 1;
    margin: 10px;
    color: #fff;
    animation-delay: 0.8s;
    border: 2px solid #1bbd36;
}

#SlideNews .btn-get-started:hover {
    background: #1bbd36;
    color: #fff;
    text-decoration: none;
}

#SlideNews .carousel-inner .carousel-item {
    transition-property: opacity;
    background-position: center top;
}

#SlideNews .carousel-inner .carousel-item,
#SlideNews .carousel-inner .active.carousel-item-start,
#SlideNews .carousel-inner .active.carousel-item-end {
    opacity: 0;
}

#SlideNews .carousel-inner .active,
#SlideNews .carousel-inner .carousel-item-next.carousel-item-start,
#SlideNews .carousel-inner .carousel-item-prev.carousel-item-end {
    opacity: 1;
    transition: 0.5s;
}

#SlideNews .carousel-inner .carousel-item-next,
#SlideNews .carousel-inner .carousel-item-prev,
#SlideNews .carousel-inner .active.carousel-item-start,
#SlideNews .carousel-inner .active.carousel-item-end {
    left: 0;
    transform: translate3d(0, 0, 0);
}

#SlideNews .carousel-control-next-icon,
#SlideNews .carousel-control-prev-icon {
    background: none;
    font-size: 30px;
    line-height: 0;
    width: auto;
    height: auto;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: 0.3s;
    color: rgba(255, 255, 255, 0.6);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#SlideNews .carousel-control-next-icon:hover,
#SlideNews .carousel-control-prev-icon:hover {
    background: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.8);
}

#SlideNews .carousel-indicators li {
    cursor: pointer;
    background: #fff;
    overflow: hidden;
    border: 0;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    opacity: 0.6;
    transition: 0.3s;
}

#SlideNews .carousel-indicators li.active {
    opacity: 1;
    background: #1bbd36;
}

@media (min-width: 1024px) {
    #SlideNews .carousel-content {
        width: 60%;
    }

    #SlideNews .carousel-control-prev,
    #SlideNews .carousel-control-next {
        width: 5%;
    }
}

@media (max-width: 992px) {
    #SlideNews .carousel-container {
        top: 58px;
    }

    #SlideNews .carousel-content h2 {
        margin-bottom: 15px;
        font-size: 22px;
    }

    #SlideNews .carousel-content p {
        font-size: 15px;
    }
}

@media (max-height: 500px) {
    #SlideNews {
        height: 120vh;
    }
}
