:root {
    --primary: #d9d9d9;
    --secondary: #fff;
    --tertiary: rgb(180, 180, 180);
    --link-color: #000;
    --active-link: #404040;
    --breaking-news-color: rgb(255, 47, 47);
}

.left {
    text-align: left
}

.middle {
    text-align: center
}

.right {
    text-align: right
}

.copyright {
    text-align: center;
    margin-top: 60px;
}

.algolia-container, .algolia-logo {
    text-align: center !important;
}

.btn-subscribe {
    background: #fff;
    border-radius: 0px;
    margin-top: 20px;
    padding: 5px 10px;
    text-transform: uppercase;
    width: 100%;
}

.btn-subscribe:hover {
    background: #eee;
}

.logo {
    max-width: 450px;

}

body {
    font-family: acumin-pro !important;
    font-weight: 400;
    font-style: normal;
}

.uppermost-nav {
    margin-top: 0;
    width: 100%;
    padding-top: 3px;
    padding-bottom: 6px;
    background: var(--link-color);
}

.uppermost-nav>*>a:hover {
    color: var(--primary);
}

.gallery-icon {
    text-align: center
}

.uppermost-nav>*>a {
    color: var(--secondary);
    font-size: 0.75rem;
    text-decoration: none;
    margin-right: 10px;
    padding-right: 15px;
    border-right: 1px solid #fff;
}

.uppermost-nav>*>a:last-child {
    margin-right: 0px;
    padding-right: 0;
    border-right: 0;
}

.header {
    padding-top: 50px;

    padding-bottom: 35px;
}

.icon-btn {
    border-radius: 100%;
    width: 40px;
    padding-top: 7px;
    font-size: 18px;
    height: 40px;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
    background: var(--primary);
    color: var(--link-color);
    transition: background 0.2s ease-in-out;
}

.dropdown-content a:hover {
    color: var(--active-link)
}

.dropdown-content:after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -13.5px;

    content: '';
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary);
}

.plug-img {
    max-width: 100%;
}

.dropdown-main {
    position: relative;
    display: inline-block;
    z-index: 1000;
    filter: drop-shadow(0 1rem 0.75rem rgba(0, 0, 0, 0.05));

    transition: 1s all linear;
}

.dropdown-main:hover .dropdown-content {
    transition: 1s all linear;
    display: block;
}

.dropdown-content-mobile .mobile-item {
    border-bottom: none !important;
}

.dropdown-content-mobile .toggle-dropdown {
    margin-right: -12px !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 43px;
    transition: 1s all linear;
    border-top: 3px solid var(--primary) !important;
    border: 1px solid var(--primary);
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 170px;
}

.dropdown-main:hover > .dropdown-content,
.dropdown-submenu:hover > .dropdown-content {
    display: block;
}

.dropdown-main .dropdown-submenu {
    position: static;
    padding: 10px 13px;
}

.dropdown-submenu .dropdown-content {
    left: 100%;
    top: calc(100% - 45px);                
    transform: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.dropdown-submenu:hover > .dropdown-content {
    display: block !important;
}

.dropdown-submenu > .dropdown-content {
    display: none !important;
}

.dropdown-submenu .dropdown-content:after {
    display: none
}

.dropdown-submenu .dropdown-content .dropdown-itm {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 13px;
}

.dropdown-submenu .dropdown-content .dropdown-itm:last-child {
    border-bottom: 0;
}

.dropdown-itm {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 13px;
}

.dropdown-itm:last-child {
    border-bottom: 0;
}

.dropdown-content a {
    text-decoration: none;
    z-index: 1000;

    display: block;
    color: var(--link-color);
}

.dropdown-content>a:last-child {
    margin-bottom: 0;
}

.icon-btn:hover {
    background: var(--tertiary);
    color: var(--active-link);
}

.icon-btn:last-child {
    margin-right: 0
}

.social-icons-mobile {
    padding-top: 20px;
    padding-bottom: 20px;
}

.navigation-link {
    color: var(--link-color);
    text-decoration: none;
    padding-top: 9px;
    padding-bottom: 9px;
    font-weight: 700;
    display: inline-block;
}

.article-page .article-body p, .article-metadata p {
    font-size: 18px;
}

.full-page-nav {
    position: absolute;
    display: none;
    height: 100%;
    top: 49.5px;
    padding-top: 0px;
    filter: drop-shadow(0 1rem 0.75rem rgba(0, 0, 0, 0.05));
    padding-bottom: 20px;
    width: 100%;
    background: var(--secondary);
    padding-bottom: 10px;


}

.navigation-link:hover,
.mobile-navigation-link:hover,
.mobile-navigation-toggle:hover {
    color: var(--active-link)
}

.dropdown-content-mobile {
    display: none;
    padding-top: 10px;
}

.mobile-navigation-toggle {
    color: var(--link-color);
    text-decoration: none;
    text-transform: uppercase;
    float: right;
}

.mobile-item {

    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
    padding-top: 11px;
    padding-bottom: 10px;
    background: var(--secondary);
    border-bottom: 1px solid var(--primary);

    display: block;
}

.mobile-navigation-link {
    font-weight: 700;
    color: var(--link-color);
    text-decoration: none;
    text-transform: uppercase;
    display: block
}

.navigation {
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.open>.full-page-nav {
    display: block
}

.open-dropdown>.dropdown-content-mobile {
    display: block
}

.dropdown-content-mobile>a {
    font-weight: 400;
    text-transform: inherit;
}

.toggle-dropdown>.toggle-up {
    padding-top: 5px;
    display: none;
}

.open-dropdown>*>.toggle-dropdown>.toggle-down {
    display: none
}

.open-dropdown>*>.toggle-dropdown>.toggle-up {
    display: block
}

.mobile-navigation {
    height: 50px;
    z-index: 1000;
    top: -2px;
    position: sticky;
    background: var(--secondary);
    border-bottom: 1px solid var(--primary);
    border-top: 1px solid var(--primary);
    padding-top: 13px;
    padding-bottom: 10px;
}

.featured-articles {
    border-radius: 0px;
    border: 2px solid var(--primary);
}

.featured-list {
    max-height: 700px;

}

.content {
    margin-top: 50px;
}

.featured-img {
    max-width: 100%;
    min-height: 400px;
    height: auto;

    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.featured-articles>.row>.col-lg-8 {
   border-right: 1px solid var(--primary);

}

.featured-text {
    background: var(--secondary);
    padding-left: 20px;
    border-top: 2px solid var(--primary);
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 10px;
}

.featured-title {
    font-weight: 700;
}


.featured-item-img {
    max-width: 100%;
    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.featured-cont {
    cursor: pointer;
    border-bottom: 1px solid var(--primary);
}

.featured-list {
    height: fit-content;
    padding-bottom: 0;
    overflow-y: scroll
}



.featured-item {
    padding: 25px 20px 5px 20px;
}

.featured-item>h4,
.featured-item>p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-item-img {
    background: #000;
    width: 100%;
    height: 100%;
}


.featured-item>h4 {
    font-weight: 800;
    font-size: var(--bs-body-font-size);
}

.end-articles {
    padding-top: 30px;
}

.sideways-text {
    font-family: acumin, sans-serif;
    writing-mode: vertical-rl;
    text-orientation: sideways-right;
    text-align: center;
    background: var(--active-link);
    color: #fff;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    height: 100px;
    padding-bottom: 0;
    overflow: hidden;
}

.search-box {
    border-radius: 50px !important;
    padding-left: 17.5px !important;
    padding-right: 17.5px !important;
}

.rotate-180 {
    transform: scale(-1, -1);
    display: inline-block;
}

@media (max-width: 991.98px) {
    .featured-list {
        height: 680px;
    }

    .card-group>.col-lg-3 {
        margin-bottom: 20px;
    }

    .card-group>.col-lg-3:last-child {
        margin-bottom: 0
    }

    .featured-text {
        border-bottom: 2px solid var(--primary);
    }

    .featured-articles>.row>.col-lg-8 {
        border-right: none;
    }

    .featured-list {
        height: 300px;
    }

    .search-area {
        height: 262px !important;
    }
}

.search-area {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 15px;
    background: #fff;
    height: 182.5px;
}

.featured-link {
    color: var(--link-color) !important;
    text-decoration: none !important;
}

.page-btns {
    padding: 15px;
    z-index: 0;
}

.page-btns>.icon-btn {
    border: none;
    padding-top: 1px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.2)
}

.page-btns>.icon-btn:hover {
    padding-top: 1px;
    background: rgba(217, 217, 217, 0.7);
}



.icon-btn:disabled {
    cursor: not-allowed;
    color: var(--active-link);
    background: rgba(217, 217, 217, 0.6);
}

.active>.row>.sideways-text {
    background: var(--link-color);
    font-weight: bold;
}

.search-cont {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 20;
}

.search-box {
    width: 100%
}

.footer {
    width: 100%;
    margin-top: 100px;
    background: #000;
    color: #FFF;
    display: block;
    padding-top: 50px;
    text-align: center;
    padding-bottom: 50px;
}


.icon-container {
    margin-top: 30px;
    margin-bottom: 30px;
}


.footer-links {
    display: flex;
    align-items: stretch;

    flex-wrap: wrap;

    text-align: left
}

.footer-logo {
    filter: grayscale(1) invert(1);
    width: 80px;
    margin-bottom: 50px;
}

.footer-link {

    display: block
}

.footer-col {
    margin-top: 30px !important;
}

.footer-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    height: calc(100% - 30px);
}

.footer-link>a {
    color: #FFF;
    text-decoration: none;
}

.footer-link>a:hover {
    color: #777;
}

.footer h5 {
    font-weight: 700;
    text-transform: uppercase
}

.custom-input {
    background: #404040 !important;
    width: 100%;
    border: none;
    color: #FFF;
    padding: 5px 10px;
}

input:focus {
    outline: none
}

.subsection-header-cont h1 {
    font-weight: 700;
    background: #fff;
    padding-right: 15px;
    position: relative;
    /* align-items: center; */
    /* justify-content: center; */
    /* display: flex; */
    height: auto;
    width: fit-content;
}

.subsection-header-cont {
    margin-top: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.subsection-border {
    width: 100%;
    border-bottom: 2px solid var(--primary);
}

.article-card {
    background: #fff;
    border: 2px solid var(--primary);
    height: 100%;
    border-radius: 0px;
}

.article-img-cont {
    background-color: var(--primary);
    width: 100%;
    height: 200px;
    border-bottom: 2px solid var(--primary);
    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative; /* used to allow for the date label to be positioned as we want */
}

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    margin-top: 5px;
}

.article-date {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: black;
    color: #fff;
    padding: 4px 10px;
    position: absolute;
    top: 0;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    left: 0;
}

.article-tags {
    padding-top: 2rem;
}

.article-tags>p>a {
    text-decoration: none;
    color: var(--link-color);
}

.article-tags>p>a:hover {
    color: var(--active-link);
}

.bordered-img {
    border: 2px solid var(--primary);
}

.card-linked {
    text-decoration: none;
    color: var(--link-color)
}

.card-linked:hover {
    color: var(--active-link);
}

/* Article CSS */
.article-category {
    font-size: 1.5rem;
    text-decoration: none;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.article-category>a {
    color: var(--link-color);
    text-decoration: none;
}

.article-category>a:active {
    color: var(--active-link);
}

.article-category>a:hover {
    color: var(--active-link);
}

.article-page {
    padding-top: 50px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.article-excerpt {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.article-author-link {
    color: var(--link-color);
    text-decoration: none;
}

.article-separator {
    border-bottom: 4px solid var(--primary);
    margin: 25px 0;
}

.article-related-posts {
    padding-left: 1rem;
}

.article-related-posts-separator {
    margin: 1rem 0;
    border-bottom: 2px solid var(--primary);
    width: calc(100% + 1rem);
    margin-left: -1rem;
}

.article-related-posts-link {
    text-decoration: none;
    color: var(--link-color);
}

.wp-caption,
.wp-block-image {
    max-width: 100%;
    height: auto;
    text-align: center;
    font-size: 0.8rem;
    padding: 2rem 0;
    margin: 0 auto;
    color: #777;
}

.article-image-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem;
    font-size: 0.8rem;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: white;
}

.article-image {
    position: relative;
    padding-right: 0 !important;
}

.article-image-container {
    padding-right: 1rem;
}

.article-image > img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .article-related-posts-header {
        padding-top: 2rem;
    }

    .article-image-container {
        padding-right: 0;
    }

    .article-image {
        padding-left: 0 !important;

    }
}

/* CSS for email header on category pages */
.category-email-header {
    display: flex;
    justify-content: right;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.category-email-header>a {
    color: var(--link-color);
    text-decoration: none;
}

.category-email-header>a:hover {
    color: var(--active-link);
}

.category-title {
    display: flex;
    align-items: center;
}

/* CSS for masthead page */
.masthead-profile-circle {
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    object-fit: cover;
    width: 8rem;
    height: 8rem;
}

.masthead-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.masthead-card {
    border: 1px solid #e5e5e5;
    border-bottom: 4px solid black;
    border-radius: 0;
    padding: 2rem;
}

.masthead-container {
    width: 100%;
    --bs-gutter-x: 0 !important;
}

.masthead-card>* {
    line-height: 0;
}

.masthead-description {
    text-align: center;
}

.masthead-spacer {
    height: 0.5rem;
}

.masthead-socials-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.masthead-socials-container>a,
.masthead-name {
    text-decoration: none;
    color: var(--link-color);
}

.masthead-name:hover,
.masthead-socials-container>a:hover {
    color: var(--active-link);
}

.masthead-socials-container>a>i {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

/* SEARCH CSS */

.search-results {
    position: relative;
    width: 100%;
    height: 0;
}

.results-container {
    filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, 0.1));
    background: #fff;
    position: relative;
    border: 1px solid #eee;
    top: 20px;
    border-radius: 8px;
    z-index: 1001;
}

.results-loading {
    padding-top: 15px;
    text-align: center;
}

.search-result>div {
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.search-result:hover>div {
    background: rgba(0, 0, 0, 0.1);
    color: var(--link-color);
}

.search-result {
    text-decoration: none;
    color: var(--link-color);
}

.search-result:first-child>div {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.search-result:last-child>div {
    border-bottom: none;

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.email-error {
    color: red;
}

.email-success {
    color: green;
}

.email-loading,
.email-success,
.email-error {
    display: block;
    margin-top: 10px;
}

/* Theme Implementation */

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;

}

/* Breaking news box */

.breaking-news {
    border: 2px solid var(--primary);
    border-left: 4px solid var(--breaking-news-color);
    margin-bottom: 2rem;
    border-radius: 0px;
    padding: 1rem;
}

.breaking-news-content {
    text-decoration: none;
    color: var(--link-color);
}

.breaking-news-content:hover {
    color: var(--link-link);
}

.breaking-news-content>p {
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Author archive */

.author-profile-picture {
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    float: right;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    border-top: 4px solid var(--primary);
}

.page-numbers {
    color: var(--link-color);
    flex: 1;
}

.current {
    color: var(--active-link);
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.clean-link {
    text-decoration: none;
    color: var(--link-color);
}

@media screen and (max-width: 768px) {
    .author-profile-picture {
        float: none;
    }

    .author-profile-picture-container {
        display: flex;
        justify-content: center;
    }

    .author-profile-description {
        text-align: center;
    }
}

.ad-banner {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 7.5px;
    background: #eee;
}

.ad-banner>img {
    max-width: 100%;
}

.featured-img {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: black;
}

.featured-cont:last-child {
    border-bottom: none
}

.full-page-search-box {
    filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, 0.1));
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0px;
    margin-bottom: 20px;
}

.full-page-search-box>a {
    padding: 10px 15px;
    text-decoration: none;
    color: var(--link-color);
    display: block;
}

.full-page-search-box>a:hover {
    color: var(--active-link);
}

.search-exerpt {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.land-ack {
    border: 2px solid var(--primary);
    border-left: 4px solid var(--link-color);
    margin-bottom: 2rem;
    border-radius: 0px;
    padding: 1rem;
}

.read-more {
    color: var(--link-color);
    text-decoration: none;
}

.read-more:hover {
    color: var(--active-link)
}

.not-found-cont {
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: center;

}

.not-found-cont > h1 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.not-found-cont > p {
    font-size: 1.5rem;
    margin-top: 0;
}

.algolia-logo > img {
    width: auto;
    height: 1rem;
    margin-left: 0.2rem;
}

.algolia-logo {
    border-top: 2px solid #eee;
}

.article-list-box {

}

.author-pagination-nav {
    margin-top: 2rem !important;
}

.author-section-separator {
    border-bottom: 4px solid var(--link-color);
}

.author-pagination {
    display: flex;
    justify-content: center;
}
