:root{
    --default-color: #101e39;
    --default-gradient: linear-gradient(to right, #142444, #ffffff);
    --white-color: #fff;
    --red-color: #C51111;
    --light-gray-color: #EEEEEE;
    --default-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);;
    --red-gradient: linear-gradient(106deg, #142444, #C51111);
    --color-icon: #fe000c;
    --color-card-background: #2a2b2d12;
    --color-border: #4242440f;
    --color-text-weak: #a2a0a2;
}

.content-page a{
    color:  var(--red-color);
}

.atf-themes-btn{
    background: var(--red-color);
    font-weight: 700;
    box-shadow: var(--default-shadow);
}

.atf-top-header{
    background: var(--default-color);
}

.atf-site-header.atf-style1.atf-sticky-active{
    background: var(--default-color);
}

.atf-hero-area {
    height: 650px;
}

.atf-home-overlay::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    opacity: inherit;
    z-index: -1;
}
.atf-nav .atf-nav-list > li > a {
    color: var(--thm-white);
    font-weight: bolder;
}

.atf-single-text h1 {
    color: var(--thm-white);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 15px rgba(0,0,0, 0.3);
}

.sub-title {
    color: var(--red-color);
    margin-bottom: 10px;
    background: transparent;
    padding: 5px 10px 10px 0px;
    display: inline-block;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 1rem;
}

.atf-themes-btn span {
    position: absolute;
    width: 25%;
    height: 100%;
    background: var(--default-color);
}

.border-left {
    border-left: 2px solid var(--red-color);
}
.icon-right-arrow {
    margin-left: 10px;
    width: 13px;
}

.atf-themes-btn i::after {
    content: '\f054';
    margin-left: 5px;
    transition: 150ms cubic-bezier(0.215,0.61,0.355,1);
}
.atf-themes-btn:hover i::after {
    content: '\f061';
}
.atf-themes-btn.contact-form-btn i::after{
    content: '';
}

@media screen and (min-width: 992px)
.atf-nav .atf-nav-list li a.active {
    color: var(--red-color);
}

.atf__overlay-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 170%;
    background-color: var(--red-color);
    z-index: -1;
}

.atf-hire-wrapper {
    background: var(--red-gradient);
    border-radius: 6px;
    padding: 50px;
}

.page-banner-main-block {
    width: 100%;
    padding: 159px 0 125px;
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.page-banner-main-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-banner-heading,
.page-banner-sub{
    position: relative;
    z-index: 2;
}

.page-banner-heading {
    font-size: 40px;
    color: #fff;
}

textarea{
    resize: none;
}

.atf-contact-details i{
    background: var(--red-color);
}
#back_to_top {
    border: 2px solid var(--red-color);
    color: var(--red-color);
}

.atf-footer-area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--default-color);
    z-index: -1;
}

.atf-footer-bottom {
    padding: 35px 0;
    background: #0a1832 ;
}

.atf-footer-social-icon a i{
    color: var(--red-color);
}

#countdown div{
    background: var(--red-color);
}

.atf-main-btn .atf-themes-btn,
.atf-mailchamp-subscribe .atf-themes-btn,
.atf-blog-content .atf-themes-btn{
    box-shadow: none;
}

.page-content{
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.invalid-feedback{
    display: block;
}
.border-radius-none{
    border-radius: 0;
}
.news-stories .list-group-item{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.list-group .list-group-item:hover{
    background-color: #f5f5f5;
    text-decoration: none;
}
.text-italic{
    font-style: italic;
}

.bg-light-gray{
    background: var(--light-gray-color);
}
.left-section img {
    float: left;
    margin-right: 15px;
}

.team-img {
    height: 400px;
    width: 400px;
    object-fit: cover;
}

.page-title,
.left-section a{
    color: var(--default-color);
}
.text-info{
    color: var(--red-color) !important;
}
.text-red{
    color: var(--red-color) !important;
}
.bg-red{
    background: var(--red-color) !important;
}

.news-tab li.active{
    background: var(--light-gray-color);
    padding: 0.5rem;
    border-radius: 5px;
}

.page-link.active, .active > .page-link {
    z-index: 3;
    color: var(--white-color);
    background-color: var(--red-color);
    border-color: var(--red-color);
}

.page-link{
    color: var(--red-color);
}

.feature-flex {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.feature-tab {
    padding: 20px 30px;
    background: #efefef;
}
.feature-content {
    width: 100%;
}
.feature-tab .nav .nav-link i {
    margin-right: 20px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--thm-white);
    background-color: var(--red-color);
}

.photo-film img{
    height: 235px;
    width: 100%;
    object-fit: cover;
}
#stories-photos .img-box{
    width: 100%;
}

#stories-photos .owl-item{
    margin-right: 20px !important;
    width: 300px !important;
}



.news-stories .img-box,
.atf-post-img,
.gallery-tile{
    overflow: hidden;
}
.news-stories img:hover,
.atf-post-img img:hover,
.gallery-tile img:hover{
    transform: scale(1.1);
    transition: all 3s ease;
}

/*#owl-carousel-trending .owl-stage {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

.atf-status-mes {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -40px;
    font-size: 10px;
    text-indent: -12345px;
    border-top: 4px solid rgba(0, 0, 0, 0.08);
    border-right: 4px solid rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--default-color);
    border-radius: 50%;
    -webkit-animation: spinner 700ms infinite linear;
    animation: spinner 700ms infinite linear;
    z-index: 10000;
}

.post-wrapper.post-split{
    display: flex;
}

.blog-section .image-wrapper{
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
}

.blog-section .post-content{
    width: calc(100% - 130px);
}

.attachment-card{
    max-height: 144px;
    height: 64px;
    max-width: 300px;
    width: 300px;
    background: var(--color-card-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: none;
    box-sizing: border-box;
    transition-duration: 200ms;
    transition-property: background,border-color,box-shadow;
    margin: 0 10px;
}
.attachment-card-info{
    align-items: center;
    display: flex;
    margin: -1px;
}
.attachment-card-icon {
    fill: var(--color-icon);
    height: 32px;
    margin: 5px 16px 16px 16px;
    min-width: 32px;
    width: 32px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.attachment-card-icon .file-icon{
    font-size: 1.3rem;
}

.attachment-card-icon .file-visibility{
    font-size: 0.5rem;
}

.attachment-card-row {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 24px 4px 4px;
}

.attachment-card-row a{
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis !important;
    border-style: none;
}

.attachment-card-row .metadata{
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-card-row .metadata .label {
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-weak) !important;
}
.attachment-card-row .metadata .label a{
    margin-left: 4px;
    margin-top: -2px;
    color: var(--color-text-weak) !important;
}

.news-stories .owl-stage-outer{
    margin-bottom: -185px;
}

/*.services-slider .owl-controls{*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 100%;*/
/*}*/
.services-slider.owl-controls .owl-nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.services-slider.owl-carousel .owl-nav .owl-prev, .services-slider.owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    line-height: 52px;
    top: 46%;
    transform: translateY(-50%);
    background-color: var(--red-color) !important;
    color: #fff !important;
    font-size: 16px !important;
    border-radius: 50% !important;
    outline: 0;
}

.services-slider.owl-carousel .owl-nav .owl-prev.owl-next, .services-slider.owl-carousel .owl-nav .owl-next.owl-next {
    text-align: left;
    right: -30px;
    box-shadow: 1px 0 #0000001a, -4px 0 4px #0000001a;
}
.services-slider.owl-carousel .owl-nav .owl-prev i, .services-slider.owl-carousel .owl-nav .owl-next i {
    padding: 0 9px !important;
}

.services-slider.owl-carousel .owl-nav .owl-prev.owl-prev, .services-slider.owl-carousel .owl-nav .owl-next.owl-prev {
    text-align: right;
    left: -30px;
    box-shadow: -1px 0 #0000001a, 4px 0 4px #0000001a;
}

#speech-carousel.owl-carousel .owl-controls{
    position: absolute;
    right: 5px;
    top: -5px;
}

/*skeleton design*/
#img-loader.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.skeleton-loader {
    display: flex;
    flex-wrap: wrap;
}

.skeleton-item {
    width: 200px; /* Adjust width as needed */
    height: 100px; /* Adjust height as needed */
    background-color: #f0f0f0; /* Adjust background color as needed */
    margin: 10px; /* Adjust margin as needed */
    animation: pulse 1.5s ease-in-out infinite; /* Animation for skeleton effect */
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}


@media screen and (max-width: 991px) {

    /*.atf-nav .atf-nav-list {*/
    /*    position: absolute;*/
    /*    width: 100%;*/
    /*}*/

    /*.dropdown-menu.dropdown-mobile-menu{*/
    /*    display: contents;*/
    /*    background: inherit;*/
    /*}*/
    .atf-nav ul {
        font-size: 11px;
    }

    .dropdown-menu.dropdown-mobile-menu.show{
        display: contents !important;
    }

    .dropdown-menu.dropdown-mobile-menu.show li{
        margin-left: 1rem;
    }
    
        .atf-menu-dropdown-toggle {
        position: absolute;
        height: 30px;
        width: 30px;
        right: 10px;
        top: 0;
    }

    .atf-single-text{
        text-align: center;
    }
    .atf-single-text h1 {
        color: var(--thm-white);
        font-size: 40px;
        font-weight: 700;
        line-height: 1.2;
        text-shadow: 1px 1px 15px rgba(0,0,0, 0.3);
    }

    .juscofund-about{
        display: none;
    }

    .atf-section-title.text-start{
        text-align: center !important;
    }
    .atf-hero-btn.float-start{
        float: none !important;
        text-align: center;
    }

    .atf-section-padding {
        padding: 30px 0;
    }

    .atf-counter-content h3{
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 0px;
        font-weight: 700;
    }

    .atf-counter-icon i {
        font-size: 40px;
        color: var(--thm-white);
    }

    .atf-section-title{
        margin-bottom: 0 !important;
    }
    .atf-section-title.mt-lg-40{
        margin-top: 0 !important;
    }

    .news-stories .list-group,
    .news-stories .img-box{
        margin-top: 3rem;
    }

    #speech-carousel{
        margin-top: 1.87rem !important;
    }
    .atf-hire-content h3,
    .atf-hire-content,
    .atf-hire-btn{
        text-align: center !important;
    }

    .image-box,
    .atf-post-img{
        margin-top: 2rem;
    }


    .blog-section .post-wrapper.post-split{
        display: flex;
        flex-flow: column;
    }

    .blog-section .image-wrapper img{
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .blog-section .post-content{
        width: 100%;
    }

    .side-services{
        display: none;
    }

    .resource-document .page-banner-heading{
        margin-top: 4rem;
        text-align: center;
         line-height: 1;
    }

    #stories-photos .owl-item {
        margin: 0 13px !important;
        width: 310px !important;
    }

    .news-stories .owl-stage-outer {
        margin-bottom: 80px;
    }

}

@media screen and (min-width: 992px){
    .atf-nav .atf-nav-list ul {
        width: 245px;
        padding: 0;
    }
    #stories-photos .owl-stage{
        /*transform: translate3d(-1529px, 0px, 0px) !important;*/
    }

}