/* Bring In Fonts */
/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&family=Montserrat:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap"); */


:root {
    /* Color Palette */
    --link-color: #306ebb;
    --link-hover-color: #205290;
    --text-color: #333;
    --error-color: #d9534f;
    --form-background-color: #f9f9f9;
    --link-color: #306ebb;
    --link-hover-color: #205290;
    --input-border-color: #ddd;

    /* Font Families */
    --font-family-primary: "Open Sans", Arial, sans-serif;
    --font-family-secondary: "Montserrat", Arial, sans-serif;
    --font-family-tertiary: "Roboto", Helvetica, sans-serif;

    /* Font Sizes */
    --font-size-base: 16px;
    --font-size-large: 22px;
    --font-size-small: 14px;

    /* Spacing */
    --spacing-small: 5px;
    --spacing-medium: 15px;
    --spacing-large: 25px;

    /* Border Styles */
    --border-color: #ddd;
    --border-radius-small: 5px;
    --border-radius-small-right: 5px;
    --border-radius-small-bottom: 5px;
    --border-radius-medium: 10px;

    /* Box Shadows */
    --box-shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Basic CSS Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

body {
    line-height: 1.5;
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: var(--site-background-color);
    word-wrap: break-word !important;
    font-family: var(--font-family-tertiary);
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-secondary);
    font-weight: normal;
    color: #333;
}

.nav,
nav {
    font-family: var(--font-family-secondary);
    font-weight: 500;
}

/* Standard Paragraph Styling */
p {
    margin-bottom: 1.5em;
}

/* WordPress adds .wp-block-paragraph class to block editor paragraphs. */
.wp-block-paragraph {
    margin-bottom: 1.5em;
    line-height: 1.5;
    font-size: 1rem;
    color: var(--text-color);
}

/* Standard Link Styling */


/* Specific Link Styling within the main content area */
#ttb-content a,
#ttb-content a:visited {
    color: var(--link-color);
    text-decoration: var(--link-text-decoration);
}

#ttb-content a:hover,
#ttb-content a:active,
#ttb-content a:focus {
    color: var( --link-hover-color);
    text-decoration: var(--link-text-decoration);
}


/* Specific Link Styling within the home content area */
.ttb-home-content a,
.ttb-home-content a:visited {
    color: var(--link-color);
    text-decoration: var(--link-text-decoration);
}

.ttb-home-content a:hover,
.ttb-home-content a:active,
.ttb-home-content a:focus {
    color: var( --link-hover-color);
    text-decoration: var(--link-hover-text-decoration);
}


/* Specific Link Styling within the sidebar content area */

.ttb-sidebar-widget-area a,
.ttb-sidebar-widget-area a:visited {
    color: var(--link-color);
    text-decoration: var(--link-text-decoration);
}

.ttb-sidebar-widget-area a:hover,
.ttb-sidebar-widget-area a:active,
.ttb-sidebar-widget-area a:focus {
    color: var( --link-hover-color);
    text-decoration: var(--link-hover-text-decoration);
} a,
.ttb-sidebar-widget-area a:visited {
    color: var(--link-color);
    text-decoration: var(--link-text-decoration);
}

.ttb-sidebar-widget-area a:hover,
.ttb-sidebar-widget-area a:active,
.ttb-sidebar-widget-area a:focus {
    color: var( --link-hover-color);
    text-decoration: var(--link-hover-text-decoration);
}




form {
    background: var(--form-background-color);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-medium);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 15px!important;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    box-sizing: border-box;
}

input[type="submit"] {
    width: auto;
    padding: 10px 30px;
    background-color: #0d8d06;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.55rem!important;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #094506;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #085b03;
    outline: none;
}

.has-error input,
.has-error textarea,
.has-error select {
    border-color: #d9534f;
}

.error-message {
    color: #d9534f;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    form {
        padding: 15px;
    }

    input[type="submit"] {
        width: 100%;
    }
}

/*****************************/
/*  Handle Images - front-end.css */
/*****************************/
.wp-caption {
    max-width: 100%;
    box-sizing: border-box;
}

.wp-caption img {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
}

.wp-caption-text {
    font-size: 0.8em;
    color: #444;
    padding: 5px;
    text-align: center;
    background: #e9e9e9;
    margin-bottom: 1em;
    box-sizing: border-box;
}

.wp-caption.alignleft {
    float: left;
    margin-right: 1em;
}

.wp-caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption.alignright {
    float: right;
    margin-left: 1em;
}

.wp-caption p:empty {
    display: none;
}

@media (max-width: 767px) {
    .wp-caption {
        width: 100% !important;
    }

    .wp-caption.alignleft,
    .wp-caption.alignright {
        float: none;
        margin: 0 auto;
    }

    .wp-caption img {
        width: 100% !important;
        height: auto !important;
    }
}


/* Base styles for images */
img.size-full,
img.alignleft,
img.alignright,
img.aligncenter {
    max-width: 100%;
    height: auto;
    /* Maintain aspect ratio */
}

/* Image alignment styles */
img.alignleft {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

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

img.alignright {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

/* Image styles when not using WP image classes */
#ttb-content p img {
	max-width: 100%;
}


/* Responsive styles for mobile */
@media (max-width: 767px) {

    img.alignleft,
    img.alignright {
        float: none;
        margin: 0 auto;
        /* Center images on mobile */
        display: block;
        width: 100% !important;
    }
}


/****************************/
/*  Top Bar - front-end.css */
/****************************/

#ttb-topnavbar {
    background-color: var(--top-bar-bg-color);
    color: var(--top-bar-text-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px;
}


#ttb-topnavbar a {
    color: var(--top-bar-text-color);
}

.ttb-top-nav-date {
    flex: 1;
    margin-left: 15px;
}

.ttb-nav-date-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ttb-top-nav-date-text {
    font-size: 13px;
    padding: 10px;
    border-radius: var(--border-radius-small);
    background: rgba(0, 0, 0, 0.2);
}

.ttb-nav-menu-wrapper {
    display: flex;
    justify-content: flex-end;
}

.ttb-top-nav-menu,
.ttb-top-nav-social {
    display: flex;
    align-items: right;
}

/* Right align content in .ttb-nav-menu-wrapper */
.ttb-nav-menu-wrapper>* {
    margin-left: auto;
}

/* Top Bar Style for mobile */
@media (max-width: 768px) {

    #ttb-topnavbar,
    .ttb-nav-menu-wrapper {
        display: none;
    }

    .ttb-nav-menu-wrapper>* {
        margin-left: 0;
        width: 100%;
    }
}

.ttb-top-nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    cursor: pointer;
}

.ttb-top-nav-button:hover {
    transform: scale(1.1);
}

.ttb-top-nav-button-social {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-left: 5px;
    cursor: pointer;
}

.ttb-top-nav-button-social:hover {
    transform: scale(1.1);
}

.ttb-social-media-icons-header {
    display: inline-flex;
    order: 2;
    flex-basis: content;
    text-align: center;
    margin-top: 0px;
    margin-right: 10px;
}

.ttb-social-media-icons-header a {
    color: inherit;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ttb-social-media-icons-header i.fa-brands,
.ttb-social-media-icons-header .apple-news-icon img,
.ttb-social-media-icons-header .newsbreak-icon img {
    font-size: 20px;
    height: 20px;
    min-width: 20px;
}

/****************************/
/*  Top Bar  Menu */
/****************************/

.ttb-top-bar-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ttb-top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-small);
    padding: 1px 15px;
}

.ttb-menu-top-bar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ttb-menu-top-bar>li {
    position: relative;
}

.ttb-menu-top-bar a {
    display: block;
    padding: 6px;
    color: var(--top-bar-text-color);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    margin: 6px 4px;
    white-space: nowrap;
    font-size: 14px;
    line-height: normal;
}

/* Style for active menu item in the top-bar menu */
.ttb-menu-top-bar a.active,
.ttb-menu-top-bar a:hover,
.ttb-menu-top-bar .current-menu-item>a {
    color: var(--top-bar-text-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Styles for the top-bar menu */
.ttb-menu-top-bar li ul {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 12200;
    margin: 0;
    padding: 5px 5px 5px 5px;
    min-width: 200px;
    max-width: 350px;
    width: auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease-out;
    border-radius: 0px 0px 5px 5px;
}

/* Show submenu on hover of the parent li with immediate effect for the top-bar menu */
.ttb-menu-top-bar>li:hover>ul,
.ttb-menu-top-bar>li>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

/* top-bar level dropdown for the top-bar menu */
.ttb-menu-top-bar>li>ul {
    top: 100%;
    left: 0;
    background: var(--top-bar-dropdown-bg-color);
    transform: translateY(-20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Show third level menu on hover for the top-bar menu */
.ttb-menu-top-bar>li>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    border-radius: var(--border-radius-small);
}

.ttb-menu-top-bar>li.menu-item-has-children>a {
    position: relative;
    padding-right: 30px;
}

.ttb-menu-top-bar>li.menu-item-has-children>a::after {
    font-family: "Font Awesome 6 Free";
    content: "\f055";
    font-size: 0.8em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    font-weight: 900;
    vertical-align: middle;
}

.ttb-menu-top-bar>li.menu-item-has-children:hover>a::after {
    transform: translateY(-50%) rotate(180deg);
    content: "\f0aa";
}

.ttb-menu-top-bar li ul li a {
    font-size: 14px;
}

.ttb-menu-top-bar>li>ul li.menu-item-has-children>a::after {
    font-family: "Font Awesome 6 Free";
    content: "\f0a9";
    font-size: 0.8em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
    font-weight: 900;
}

.ttb-menu-top-bar>li>ul li.menu-item-has-children:hover>a::after {
    right: 5px;
}

.ttb-menu-top-bar>li>ul li.menu-item-has-children>a {
    padding-right: 30px;
    position: relative;
}

.ttb-menu-top-bar>li:last-child>ul {
    right: 0;
    left: auto;
}

.ttb-menu-top-bar>li:last-child>ul li ul {
    right: 100%;
    left: auto;
}

/* Responsive styles for the top-bar menu */
@media (max-width: 1024px) {
    .ttb-top-bar-navbar {
        display: none;
    }

    .ttb-menu-top-bar {
        display: none;
    }
}

@media (max-width: 1024px) {

    .ttb-top-bar-navbar,
    .ttb-menu-top-bar {
        display: none;
    }
}

/****************************/
/*  Header  - front-end.css */
/****************************/

.ttb-site-header-container {
    background-color: var(--header-bg-color);
    display: flex;
    justify-content: center;
    width: 100%;
}

.ttb-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1190px;
    padding: 1rem;
}

.ttb-header-logo {
    max-height: 200px;
    height: auto;
    width: auto;
    max-width: 100%;
}

.ttb-custom-logo {
    max-height: 160px;
}

.ttb-header-widget-area {
    display: flex;
    justify-content: flex-end;
    /* padding-left: 1rem; */
    align-items: center;
}

.ttb-header-widget-area img {
    max-width: 100%;
    height: auto;
}


/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .ttb-site-header {
        flex-wrap: wrap;
    }

    .ttb-header-logo,
    .ttb-header-widget-area {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .ttb-custom-logo {
        max-height: 200px;
        height: auto;
        width: auto;
        max-width: 100%;
    }

    .ttb-header-widget-area {
        justify-content: center;
        padding-left: 0;
        margin-top: 20px;
    }

    .ttb-header-widget-area>* {
        width: 100%;
        justify-content: center;
    }

    .ttb-header-widget-area img {
        max-width: 100%;
        height: auto;
    }
}

/****************************/
/*  Footer  - front-end.css */
/****************************/

.ttb-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
  }

  .ttb-footer a {
    color: var(--footer-text-color);
  }

  .ttb-footer-paragraph p {
    color: var(--footer-text-color);
    font-size: 1em;
  }


.ttb-footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.ttb-footer-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.ttb-footer-column {
    padding: 0em;
    flex-basis: 100%;
    /* This will ensure each column takes full width if alone */
}

.ttb-footer-column-logo {
    flex: 1;
}

.ttb-footer-column-widgets {
    flex: 3;
    display: flex;
    justify-content: space-between;
}

.ttb-above-footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1190px;
    width: 100%;
    align-items: stretch;
    gap: 10px;
    padding: 10px 10px;
}

.ttb-above-footer-widget {
    flex: 1 1 calc(25% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #ededed;
    border-radius: var(--border-radius-small);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .ttb-above-footer-widget {
        flex: 0 0 100%;
        /* Make widgets take full width */
        margin: 10px 0;
        /* Adjust for any necessary margins */
    }
}

.ttb-footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
}

.ttb-footer-widget {
    flex: 1 1 calc(33.333% - 20px);
}

.ttb-bottom-footer-row {
    padding: 10px 0px;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .ttb-footer-row {
        flex-direction: column;
        padding: 0;
    }

    .ttb-footer-column-logo,
    .ttb-footer-column-widgets {
        width: 100%;
        padding: 15px;
    }

    .ttb-footer-widgets {
        justify-content: center;
        gap: 10px;
    }

    .ttb-footer-widget {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 10px 0;
    }
}

.ttb-footer-logo {
    margin: 20px 10px;
}

.ttb-footer-logo img {
    width: 90%;
    max-width: 300px;
}

.ttb-footer ul li,
ol li {
    margin: 0px !important;
}

.ttb-footer ul li {
    list-style: disc;
    padding-left: 0px !important;
    margin: 0px !important;
}

.ttb-footer ul li a:hover {
    text-decoration: underline;
}

.ttb-footer h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--footer-text-color);
}

.ttb-footer-pad {
    padding: 20px;
}

.ttb-footer-no-pad {
    padding: 0px;
}

.ttb-footer-align-left {
    text-align: left;
}

.ttb-footer-align-right {
    text-align: right;
}

.ttb-footer-cr {
    background-color: rgba(0, 0, 0, 0.1);
}

.ttb-footer-cr {
    background-color: rgba(0, 0, 0, 0.1);
}

/* New Footer Menu */

.ttb-footer-menu-wrap {
    height: auto;
    background-color: rgba(0, 0, 0, 0.1);
    line-height: 50px;
    display: block;
    margin-bottom: 20px;
}

.ttb-footer-menu {
    text-align: center !important;
    margin: 0px 0px 0px 0px;
}

.ttb-footer-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ttb-footer-menu li {
    display: inline-block;
    margin-right: 0px;
}

.ttb-footer-menu li:last-child {
    margin-right: 0;
}

.ttb-footer-menu a {
    font-size: 16px;
    padding: 5px 10px;
    margin: 0px 5px;
    text-decoration: none !important;
}

.ttb-footer-menu a:hover {
    padding: 10px 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-small);
}

.ttb-footer-menu li .fa {
    margin-right: 5px;
}

.ttb-footer-menu .sub-menu {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .ttb-footer-menu-wrap {
        height: auto;
        line-height: normal;
        padding: 10px 0px;
        width: 95%;
        margin: 0 auto;
        border-radius: var(--border-radius-small);
    }

    .ttb-footer-menu ul {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .ttb-footer-menu li {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .ttb-footer-menu a {
        padding: 10px;
        display: block;
        margin: 5px 0px;
        border: 1px solid #ccc;
        border-radius: var(--border-radius-small);
    }

    .ttb-footer-menu a:hover {
        padding: 10px;
    }
}

/* Social Media Icons */

.ttb-social-media-icons-footer {
    display: inline-flex;
    order: 2;
    flex-basis: content;
    text-align: center;
    margin-top: 0px;
}

.ttb-social-media-icons-footer a {
    color: inherit;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ttb-social-media-icons-footer i.fa-brands,
.ttb-social-media-icons-footer .apple-news-icon img,
.ttb-social-media-icons-footer .newsbreak-icon img {
    font-size: 25px;
    height: 25px;
    min-width: 25px;
}

.ttb-footer-button-social {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 5px;
    cursor: pointer;
}

.ttb-footer-button-social:hover {
    transform: scale(1.1);
    /* Enlarge the button on hover */
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Adjust the max-width as needed for your breakpoint */
    .ttb-social-media-icons-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .ttb-social-media-icons-footer a {
        margin-right: 5px;
        margin-bottom: 5px;
    }

    /* Reset the right margin for the last item */
    .ttb-social-media-icons-footer a:last-child {
        margin-right: 0;
    }
}

/* Copyright */
.ttb-footer-copyright {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    padding: 5px 20px 20px 20px;
    color: var(--footer-text-color);
}

/* Disclaimer */
.ttb-footer-disclaimer {
    text-align: center;
    padding: 5px 20px 20px 20px;
    font-size: 13px;
    color: var(--footer-text-color);
}

@media (max-width: 768px) {
    .ttb-footer-disclaimer {
        padding: 15px 20px 20px 20px;
    }

    .ttb-footer-copyright {
        padding: 15px 20px 90px 20px;
    }
}

/* Policy Nav */

.ttb-policy-menu {
    background-color: var(--footer-bg-color);
    text-align: center !important;
    margin: 10px 0px 0px 0px;
    height: auto;
    line-height: 40px;
    display: block;
    width: auto;
    border-radius: var(--border-radius-small);
}

.ttb-policy-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ttb-policy-menu li {
    display: inline-block;
    margin-right: 0px;
}

.ttb-policy-menu li:last-child {
    margin-right: 0;
}

.ttb-policy-menu a {
    font-size: 15px;
    padding: 5px 10px;
    margin: 0px 5px;
    text-decoration: none !important;
}

.ttb-policy-menu a:hover {
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-small);
}

.ttb-policy-menu li .fa {
    margin-right: 5px;
}

.ttb-policy-menu .sub-menu {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .ttb-policy-menu {
        height: auto;
        line-height: normal;
        padding: 10px 10px;
        margin-top: 20px;
        width: 100%;
        margin: 0 auto;
    }

    .ttb-policy-menu ul {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .ttb-policy-menu li {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .ttb-policy-menu a {
        padding: 10px;
        display: block;
        margin: 5px 0px;
        border: 1px solid #ccc;
        border-radius: var(--border-radius-small);
    }

    .ttb-policy-menu a:hover {
        padding: 10px;
    }
}

/****************************/
/*  Widgets - front-end.css */
/****************************/

.ttb-widget {
    margin-bottom: 25px;
    width: 100%;
    /* Add space between widgets */
}

.ttb-widget img {
    width: 100%;
}

.ttb-widget ul,
.ttb-widget ol {
    margin: 5px 0px 0px 25px;
}
/* Correct the internal HTML Display of H2 tags in Widgets */
.ttb-widget h2 {
    line-height: normal;
    font-size: 20px;
    margin-bottom: 15px;
	background: none;
	padding: 0px;
}

h2.ttb-h2-sidebar-main {
    background: var(--widget-headline-bg-color);
    color: var(--widget-headline-text-color);
    padding: 10px;
    line-height: normal;
    font-size: 20px;
    border-radius: var(--border-radius-small);
    margin-bottom: 15px;
}

.ttb-sidebar-widget-area h2.wp-block-heading {
    background: var(--widget-headline-bg-color);
    color: var(--widget-headline-text-color);
    padding: 10px;
    line-height: normal;
    font-size: 20px;
    border-radius: var(--border-radius-small);
    margin-bottom: 15px;
}

.ttb-sidebar-widget-area {
    padding-top: 25px;
}

.ttb-footer-widget ul {
    margin: 0px;
}

/* Recent Posts  Widget */

ul.ttb-recent-posts {
    padding: 0px 20px;
}

.ttb-home-above-content-widget,
.ttb-home-top-content-widget,
.ttb-home-left-content-widget,
.ttb-home-right-content-widget,
.ttb-home-bottom-content-widget {}

/****************************/
/*  Overall Structure Items - front-end.css */
/****************************/

@-webkit-keyframes text-focus-in {
    0% {
        -webkit-filter: blur(5px);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes text-focus-in {
    0% {
        -webkit-filter: blur(5px);
        filter: blur(5px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

#ttb-site-content-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1180px;
    margin: 0 auto;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/****************************/
/*  Home Page - front-end.css */
/****************************/

.ttb-home-welcome {
    width: 100%;
}

/* Set up the main container to be a flex container */
.ttb-home-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

/* Set up the main content area to grow and fill the available space */
.ttb-home-content {
    flex-grow: 1;
    flex-basis: calc(100% - 337px);
    /* Take full width minus sidebar width */
    max-width: calc(100% - 337px);
}

.ttb-home-main-content {
    display: flex;
    flex-direction: column;
}

.ttb-home-columns {
    display: flex;
    flex-wrap: wrap;
}

.ttb-home-left,
.ttb-home-right {
    flex: 1;
}

@media (max-width: 768px) {

    .ttb-home-left,
    .ttb-home-right {
        flex-basis: 100%;
        /* On small screens, take full width */
    }
}

/* Set up the sidebar to have a fixed width */
.ttb-sidebar-home {
    flex-basis: 337px;
    max-width: 337px;
    flex-shrink: 0;
}

/* Full-width for content if there's no sidebar */
.full-width-home {
    flex-basis: 100%;
    max-width: 100%;
}

/* Responsive layout for mobile */
@media (max-width: 1024px) {

    .ttb-home-content,
    .ttb-sidebar-home {
        flex-basis: 100%;
        max-width: 100%;
    }

    .ttb-sidebar-home {
        padding: 15px !important;
    }
}

/****************************/
/*  Default Page - front-end.css */
/****************************/

.ttb-page-welcome {
    width: 100%;
}

.ttb-page-bottom {
    width: 100%;
}

/* Set up the main container to be a flex container */
.ttb-page-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

/* Set up the main content area to grow and fill the available space */
.ttb-page-content {
    flex-grow: 1;
    flex-basis: calc(100% - 337px);
    max-width: calc(100% - 337px);
}

.ttb-page-main-content {
    display: flex;
    flex-direction: column;
}

/* Set up the sidebar to have a fixed width */
.ttb-sidebar-page {
    flex-basis: 337px;
    max-width: 337px;
    flex-shrink: 0;
}

/* Full-width for content if there's no sidebar */
.full-width-page {
    flex-basis: 100%;
    max-width: 100%;
}

/* Responsive layout for mobile */
@media (max-width: 1024px) {

    .ttb-page-content,
    .ttb-sidebar-page {
        flex-basis: 100%;
        max-width: 100%;
    }

    .ttb-sidebar-page {
        padding: 15px !important;
    }
}

/****************************/
/*  Single Post - front-end.css */
/****************************/

.ttb-post-welcome {
    width: 100%;
}

.ttb-post-bottom {
    width: 100%;
}

/* Set up the main container to be a flex container */
.ttb-post-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

/* Set up the main content area to grow and fill the available space */
.ttb-post-content {
    flex-grow: 1;
    flex-basis: calc(100% - 337px);
    max-width: calc(100% - 337px);
}

.ttb-post-main-content {
    display: flex;
    flex-direction: column;
}

.ttb-post h1 {
    font-size: 2.5em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 15px;
}

.ttb-post h2 {
    font-size: 2.25em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 15px;
}

.ttb-post h3 {
    font-size: 2em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 15px;
}

.ttb-post h4 {
    font-size: 1.75em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 15px;
}

.ttb-post h5 {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 15px;
}

.ttb-post h6 {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 15px;
}

.ttb-post ul,
.ttb-post ol {
    margin: 5px 0px 15px 30px;
}

blockquote {
    clear: both;
    position: relative;
    padding: 20px 20px 20px 45px;
    margin: 30px 0;
    font-size: 1.2em;
    font-style: italic;
    line-height: 1.5;
    color: #555;
    background-color: #f9f9f9;
    border-left: 5px solid #0078d7;
    text-shadow: 1px 1px 1px #fff;
}

blockquote:before {
    content: open-quote;
    font-size: 4em;
    position: absolute;
    left: 5px;
    top: 0;
    color: #0078d7;
    font-family: Georgia, serif;
}

blockquote cite {
    display: block;
    text-align: right;
    font-size: 0.8em;
    margin-top: 10px;
    color: #666;
}

blockquote cite:before {
    content: "\2014 \2009";
}


/* Set up the sidebar to have a fixed width */
.ttb-sidebar-post {
    flex-basis: 337px;
    max-width: 337px;
    flex-shrink: 0;
}

/* Full-width for content if there's no sidebar */
.full-width-post {
    flex-basis: 100%;
    max-width: 100%;
}

.ttb-post-author-info {
    display: flex;
    align-items: center;
    /* Aligns items vertically in the center */
    padding-left: 20px;
}

.ttb-author-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ttb-author-name {
    display: inline-block;
    background-color: #d9ead3;
    color: #274e13!important;
    border-radius: 0px 20px 20px 0px;
    padding: 5px 15px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
}

.ttb-author-text img {
    border-radius: 50%;
    overflow: hidden;
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin: 0px -15px 0px 0px;
    border: 1px solid #d9ead3;
    z-index: 20;
}

.ttb-post-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ttb-post-author-info {
    flex: 0 auto;
}

.ttb-post-date-info {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 5px;
}

.ttb-date-bubble {
    display: inline-block;
    background-color: #e9e9e9;
    color: #333;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.75rem;
    white-space: nowrap;
}

#ttb-cats-tags-meta {
    margin-top: 20px;
}

.ttb-categories-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.ttb-post-categories-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.ttb-category-bubble {
    background-color: #e9e9e9;
    color: #333!important;
    border-radius: 20px;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 0.75rem;
    white-space: nowrap;
}

.ttb-category-bubble:hover {
    background-color: #d0d0d0;
}

.ttb-tags-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.ttb-post-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.ttb-tag-bubble {
    background-color: #d9ead3;
    color: #274e13!important;
    border-radius: 20px;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 0.75rem;
    white-space: nowrap;
}

.ttb-tag-bubble:hover {
    background-color: #b6d7a8;
}

/* Responsive layout for mobile */
@media (max-width: 1024px) {

    .ttb-post-content,
    .ttb-sidebar-post {
        flex-basis: 100%;
        max-width: 100%;
    }

    .ttb-sidebar-post {
        padding: 15px !important;
    }
}

/* Archive - front-end.css */

.ttb-archive-welcome,
.ttb-archive-bottom {
    width: 100%;
}

/* Set up the main container to be a flex container */
.ttb-archive-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1180px;
    margin: 0 auto;
}

/* Set up the main content area */
.ttb-archive-content {
    flex-grow: 1;
    flex-basis: calc(100% - 337px);
    /* Adjust width as needed */
    max-width: calc(100% - 337px);
    /* Ensure it doesn't grow beyond available space */
}

/* Set up the sidebar with a fixed width */
.ttb-sidebar-archive {
    flex-basis: 337px;
    max-width: 337px;
    flex-shrink: 0;
}

/* Full-width for content when sidebar is not present */
.full-width-archive {
    flex-basis: 100%;
    max-width: 100%;
}

.ttb-post-article {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius-small);
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}

.ttb-post-article:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ttb-post-title {
    font-size: 24px;
    margin: 20px;
    line-height: normal;
    text-align: center;
}

.ttb-post-title a {
    color: #333333;
    text-decoration: none;
}

.ttb-post-excerpt {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.ttb-read-more {
    background-color: var(--main-nav-bg-color);
    color: var(--main-nav-text-color)!important;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius-small);
    margin: 20px;
    text-decoration: none;
    font-weight: bold;
}

.ttb-read-more:hover {
    background-color: var(--main-nav-dropdown-bg-color);
    color: var(--main-nav-text-color);
  }

.ttb-read-more::after {
    font-family: "Font Awesome 6 Free";
    content: "\f0a9";
    position: absolute;
    right: 20px;
    transition: all 0.3s ease-in-out;
}

.ttb-read-more:hover::after {
    transform: translateX(10px);
}

.ttb-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin: 0 auto;
    max-width: 1180px;
}

.ttb-post-article {
    position: relative;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ttb-post-article .post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
}

.ttb-post-article .no-thumbnail {
    width: 100%;
    height: 250px;
    background: url("path/to/your/placeholder-image.jpg") center/cover no-repeat;
    /* Or use a solid color */
    /* background-color: #cccccc; */
}

.ttb-post-article img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: radial-gradient(circle, lightgray, transparent);
}

.ttb-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ededed;
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
    padding: 30px;
    border-radius: var(--border-radius-small);
}

.ttb-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0px 40px 0px;
}

.ttb-subcategory {
    background-color: #fcfcfc;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out; */
}

.ttb-subcategory h2 {
    margin: 0;
    font-size: 1.1em;
    text-align: center;
}

.ttb-subcategory a {
    color: #333!important;
    text-decoration: none;
}

.ttb-subcategory:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.08) !important;
}

.ttb-pagination {
    text-align: center;
    margin-top: 20px;
    display: none !important;
    /* Hide the pagination */
}

.ttb-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.ttb-pagination ul li .page-numbers {
    display: inline-block;
    margin: 0 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    padding: 10px;
}

.ttb-pagination ul li .current {
    background-color: #ededed;
}

/* Adjust grid layout for smaller screens */
@media (max-width: 768px) {
    .ttb-posts-grid {
        grid-template-columns: 1fr;
        /* One column layout for smaller screens */
    }
}

.ttb-post-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    z-index: 10;
    /* Ensure it appears above the image */
}

.ttb-post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fff;
    color: #333 !important;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    z-index: 10;
    /* Ensure it appears above the image */
}

.ttb-post-category a {
    color: #333 !important;
    text-decoration: none;
}

/* Responsive layout for smaller screens */
@media (max-width: 1024px) {

    .ttb-archive-content,
    .ttb-sidebar-archive {
        flex-basis: 100%;
        max-width: 100%;
    }

    .ttb-sidebar-archive {
        padding: 15px !important;
    }
}

/* Breadcrumbs */

.ttb-breadcrumbs {
    padding: 10px 20px;
    background-color: #f5f5f5;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0px 0px 5px 0px;
}

.ttb-breadcrumbs__separator {
    margin: 0 5px;
    color: #666;
}

.ttb-breadcrumbs__current {
    font-weight: bold;
    color: #000;
}

.ttb-breadcrumbs a {
    color: #306ebb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ttb-breadcrumbs a:hover,
.ttb-breadcrumbs a:focus {
    color: #01447e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ttb-breadcrumbs {
        display: none;
    }

    .ttb-breadcrumbs__separator,
    .ttb-breadcrumbs a {
        margin: 0 3px;
    }
}

/* Padding Values for TTB */

.ttb-theme-padding-none {
    padding: 0px !important;
    /* border: 1px solid red; */
}

.ttb-theme-padding {
    padding: 25px;
    /* border: 1px solid red; */
}

.ttb-theme-padding-right {
    padding-right: 15px;
    /* border: 1px solid red; */
}

.ttb-theme-padding-left {
    padding-left: 15px;
    /* border: 1px solid red; */
}

.ttb-theme-padding-top {
    padding-top: 15px;
    /* border: 1px solid red; */
}

.ttb-theme-padding-bottom {
    padding-bottom: 15px;
    /* border: 1px solid red; */
}



/* Temp Styles for Early Version to Fix PublishToolbox / DirectoryToolbox */

.qc-post-author {
	font-size: .70em;
	border-radius: 5px!important;
	border: 1px solid #ddd;
	padding: 5px;
	margin: 0px 10px 0px 0px;
}


ul.list-group {
    display: flex;
    flex-wrap: wrap; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    gap: 10px; 
}


li.list-group-item {
    flex: 1 1 200px; 
    max-width: calc(33.333% - 10px); 
    box-sizing: border-box;
    padding: 10px; 
    background: #f9f9f9;
    border: 1px solid #ccc; 
    border-radius: 5px; 
}

@media (max-width: 600px) {
    li.list-group-item {
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 400px) {
    li.list-group-item {
        max-width: 100%; 
    }
}

form {
	background: none;
	box-shadow: none;
}


/* Fix for Mobile Menu Logo */

.mobile-menu-logo {
	flex: none;
}




/* Customizations for Directory / PTB */

.listing-item-container .listing-item-actions a {
    color: #fff!important;
}
.dtb-slide-item-actions a {
    color: #fff!important;
}