.background .float {
    top: 100px;
    left: 100px;
    width: 100px;
    height: 100px;
    position: absolute;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.background .float.float-1 {
    top: 300px;
    left: calc(50% - 670px);
}

.background .float.float-2 {
    top: 500px;
    left: calc(50% - 500px);
}

.background .float.float-3 {
    top: 220px;
    left: calc(50% - 300px);
}

.background .float.float-4 {
    top: 200px;
    left: calc(50% - 50px);
}

.background .float.float-5 {
    top: 750px;
    left: calc(50%);
}

.background .float.float-6 {
    top: 100px;
    left: calc(50% + 100px);
}

.background .float.float-7 {
    top: 400px;
    left: calc(50% + 160px);
}

.background .float.float-8 {
    top: 900px;
    left: calc(50% - 1000px);
}

.background .float.float-9 {
    top: 1150px;
    left: calc(50% - 600px);
}

.background .float.float-10 {
    top: 1000px;
    left: calc(50% - 100px);
}

#single-post {
    padding: 0 60px 0 10px;
    transition: opacity 0.3s ease-in-out;
}

#single-post.transparent {
    opacity: 0;
}

.news-article-wrapper .single-post-container {
    z-index: 2;
    position: relative;
}

.news .post-meta {
    padding-bottom: 20px;
}

.news .post-image {
    width: 100%;
    height: 450px;
    margin: 30px 0px 20px 0px;
    max-width: 650px;
    border-radius: 125px 250px 125px 125px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#single-post-image {
    display: none;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul li {
    margin-bottom: 10px;
}

.sidebar-placeholder .news-sidebar .news-sidebar-trigger {
    width: 100%;
    height: 1px;
    position: relative;
}

.news-sidebar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.news-sidebar-wrapper .col-lg-4 {
    width: 33.3%;
}

.news-sidebar {
    height: calc(100vh - 90px);
    display: flex;
    z-index: 1;
    position: relative;
    flex-flow: column;
    margin-top: 40px;
    max-height: 900px;
    margin-bottom: 50px;
}

.sidebar-placeholder .news-sidebar {
    margin-top: 20px;
    position: relative;
}

.news-sidebar.fixed {
    top: 0;
    position: fixed;
    margin-top: 20px;
    /* max-height: initial; */
}

.news-sidebar .nav-tabs {
    flex: 0 0;
    border: none;
}

.news-sidebar .nav-item {
    width: 50%;
    text-align: center;
}

.news-sidebar .nav-item .nav-link {
    border: none;
    margin-bottom: 0px;
    border-radius: 0px;
    background-color: #5379e8;
    color: #212529;
    font-weight: 600;
}

.news-sidebar .nav-item .news-link {
    background-color: #ffffff;
}

.news-sidebar .nav-item .news-link.active {
    background-color: #ffffff;
}

.news-sidebar .nav-item .blog-link {
    background-color: #5379e8;
    color: #ffffff;
}

.news-sidebar .nav-item:first-child .nav-link {
    border-top-left-radius: 15px;
}

.news-sidebar .nav-item:last-child .nav-link {
    border-top-right-radius: 15px;
}

.news-sidebar .sidebar-content {
    flex: 1 1;
    display: flex;
    overflow: hidden;
    flex-flow: column;
    min-height: 0;
    box-shadow: 0px 4px 15px -9px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.news-sidebar.blog-active .sidebar-content {
    background-color: #5379e8;
}

.news-sidebar .sidebar-content .post-filter {
    flex: 0 0 71px;
    color: #c4c4c4;
    padding: 20px 20px;
    font-size: 16pt;
}

.news-sidebar .sidebar-content .post-filter #news-date-filter {
    border: 1px solid transparent;
    border-radius: 50px;
    background-color: #f5f7f9;
}

.news-sidebar.blog-active .sidebar-content .post-filter #news-date-filter {
    background-color: #c1d1ff;
}

.news-sidebar.blog-active .sidebar-content .post-filter #news-date-filter:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 255 255 / 25%);
}

.news-sidebar .sidebar-content .post-list {
    flex: 1 1;
    min-height: 0;
    /* overflow-y: auto; */
    padding-bottom: 30px;
}

.news-sidebar .sidebar-content .post-item {
    color: #212529;
    outline: none;
    display: block;
    padding: 20px 30px 0px 30px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.news-sidebar.blog-active .sidebar-content .post-item,
.news-sidebar.blog-active .sidebar-content .post-item h6 {
    color: #fff;
}

.news-sidebar .sidebar-content .post-item:hover,
.news-sidebar .sidebar-content .post-item.active {
    color: #212529;
    background-color: #f77979;
}

.news-sidebar .sidebar-content .post-item:hover h6,
.news-sidebar .sidebar-content .post-item.active h6 {
    color: #212529;
}

.news-sidebar .sidebar-content .post-item h6 {
    margin: 0px 0px 5px 0px;
    transition: color 0.2s ease-in-out;
}

.news-sidebar .sidebar-content .post-item .post-date {
    display: block;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.news-sidebar .sidebar-content .post-item p {
    margin: 0;
    font-size: 0.9em;
    border-bottom: 1px solid #7f868c;
    padding-bottom: 20px;
    transition: border-bottom 0.2s ease-in-out;
}

.news-sidebar.blog-active .sidebar-content .post-item p {
    border-bottom: 1px solid #7f9bea;
}

.news-sidebar .sidebar-content .post-item:hover p,
.news-sidebar .sidebar-content .post-item.active p {
    border-bottom: 1px solid #f77979;
}

.news-sidebar .posts-loading {
    display: none;
}

.news-sidebar .posts-loading.show {
    display: block;
}

.news-sidebar .posts-not-found {
    display: none;
    padding: 20px 0px;
    text-align: center;
}

.news-sidebar.blog-active .posts-not-found h6 {
    color: #fff;
}

.news-sidebar .posts-not-found.show {
    display: block;
}

.lds-ellipsis {
    width: 57px;
    height: 37px;
    margin: auto;
    display: block;
    position: relative;
}

.lds-ellipsis div {
    position: absolute;
    top: 15px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #212529;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.news-sidebar.blog-active .lds-ellipsis div {
    background: #fff;
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 24px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 40px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(16px, 0);
    }
}

.wp-block-image {
    margin-bottom: 40px;
}

.wp-block-image img {
    height: auto;
}

.wp-block-image.is-style-rounded img,
.wp-block-image.is-style-less-rounded img {
    border-radius: 125px 250px 125px 125px;
}

@media (max-width: 1300px) {
    .news .post-image {
        height: 390px;
        max-width: 600px;
        border-radius: 100px 200px 120px 120px;
    }
    
    .wp-block-image.is-style-rounded img,
    .wp-block-image.is-style-less-rounded img {
        border-radius: 100px 200px 120px 120px;
    }

    .news-sidebar .sidebar-content .post-item {
        padding: 17px 25px 0px 25px;   
    }

    .news-sidebar .sidebar-content .post-item p {
        padding-bottom: 16px;
    }
}

@media (max-width: 991px) {
    #single-post {
        padding: 0 8px;
        margin-top: 20px;
        transition: opacity 0.3s ease-in-out;
    }

    #single-post.mobile-transparent {
        opacity: 0;
    }

    #news-sidebar-toggle {
        z-index: 3;
        background: #5379e8;
        border: none;
        /* box-shadow: none; */
        color: #ffffff;
        border-radius: 12px;
        width: 150px;
        margin-bottom: 16px;
        padding: 6px;
        min-width: initial;
        box-shadow: 0px 4px 12px -5px rgba(0, 0, 0, 0.25);
        transition: opacity 0.5s ease-in-out;
        margin-left: auto;
    }

    .news-sidebar .sidebar-content .post-item {
        padding: 20px 30px 0px 30px;   
    }

    .news-sidebar .sidebar-content .post-item p {
        padding-bottom: 20px;
    }

    .news-sidebar-wrapper .col-lg-4 {
        width: 100%;
    }

    .news-sidebar, 
    .news-sidebar.fixed {
        top: calc(100% - 50px);
        left: 19px;
        width: calc(100% - 38px);
        height: calc(100vh - 56px);
        z-index: 4;
        position: fixed;
        margin-top: 0px;
        max-height: initial;
        transform: translateY(0px);
        /* transition: transform 0.5s cubic-bezier(0, 0, 0.1, 1); */
        transition: top 0.5s ease-in-out;
    }

    .news-sidebar.active {
        top: 15px;
    }

    .news-sidebar.active #news-sidebar-toggle {
        opacity: 0;
    }

    .news-sidebar .sidebar-content .post-item.active.initial-active {
        background-color: initial;
    }

    .news-sidebar .sidebar-content .post-item.active.initial-active:hover {
        background-color: #f77979;
    }

    .news-sidebar.blog-active .sidebar-content .post-item.active.initial-active,
    .news-sidebar.blog-active .sidebar-content .post-item.active.initial-active h6 {
        color: #ffffff;
    }

    .news-sidebar.blog-active .sidebar-content .post-item.active.initial-active:hover,
    .news-sidebar.blog-active .sidebar-content .post-item.active.initial-active:hover h6 {
        color: #212529;
    }

    .news-sidebar .sidebar-content .post-item.active.initial-active p {
        border-bottom: 1px solid #7f868c;
    }

    .news-sidebar .sidebar-content .post-item.active.initial-active:hover p {
        border-bottom: 1px solid #f77979;
    }

    .news-sidebar.blog-active .sidebar-content .post-item.active.initial-active p {
        border-bottom: 1px solid #7f9bea;
    }

    .news-sidebar.blog-active .sidebar-content .post-item.active.initial-active:hover p {
        border-bottom: 1px solid #f77979;
    }
}

@media (max-width: 767px) {
    .news .post-image {
        height: 390px;
    }
}

@media (max-width: 575px) {
    .news .post-image {
        height: 300px;
        border-radius: 90px 160px 90px 90px;
    }
    
    .wp-block-image.is-style-rounded img,
    .wp-block-image.is-style-less-rounded img  {
        border-radius: 90px 160px 90px 90px;
    }
}

@media (max-width: 460px) {
    .news .post-image {
        height: 250px;
        border-radius: 70px 120px 70px 70px;
    }
    
    .wp-block-image.is-style-rounded img,
    .wp-block-image.is-style-less-rounded img  {
        border-radius: 70px 120px 70px 70px;
    }
}