/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

/*
Theme Name: 	BuddyBoss Child
Theme URI: 		https://www.buddyboss.com/
Description: 	A child theme of BuddyBoss Theme. To ensure easy updates, make your own edits in this theme.
Author: 		BuddyBoss.com
Author URI: 	https://www.buddyboss.com/
License: 		GNU General Public License v3 or later
License URI: 	http://www.gnu.org/licenses/gpl-3.0.html
Template: 		buddyboss-theme
Version: 		1.0.1
*/


/*#### GENERAL STYLES ####*/
body {
    font-family: var(--wp--preset--font-family--body-font) !important;
    font-size: var(--wp--preset--font-size--normal);
    font-weight: 400;
    line-height: 1.5em;
    text-align: left;
    color: var(--wp--preset--color--bs-gray-600);
}
hr {
    color: inherit;
    margin: 1rem 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--wp--preset--font-family--headings) !important;
    font-weight: 300;
    line-height: 1.37;
}
h1, h1.wp-block-heading {
    font-size: var(--wp--preset--font-size--xx-large);
}
h2, h2.wp-block-heading {
    font-size: var(--wp--preset--font-size--x-large);
}
h3, h3.wp-block-heading {
    font-size: var(--wp--preset--font-size--large);
}
h4, h4.wp-block-heading {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 400;
}
h5, h5.wp-block-heading {
    font-size: var(--wp--preset--font-size-normal);
    font-weight: 400;
}
h6, h6.wp-block-heading {
    font-size: 16px;
    font-size: var(--wp--preset--font-size-normal);
    font-weight: 400;
}
p {
    margin-bottom: 1rem;
    margin-top: 0;
}
a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
}
a:hover {
    --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}
b, strong {
    font-weight: 500;
}
.bb-template-v2 .primary-menu>li>a {
    border-bottom: 0px solid #fff;
}
#content .container {
    padding: 3rem 2rem;
}

.page-template-page-fullwidth-content #content .container {
    padding: 0 !important;
}

.wp-element-button {
    margin: 0;
}

.bb-buddypanel .bb-footer, .bb-buddypanel .header-search-wrap, .bb-buddypanel .site-content, .bb-buddypanel .site-header {
    padding: 0;
}

.sticky-header .site-content, body.buddypress.sticky-header .site-content, .bb-buddypanel.sticky-header .site-content, .single-sfwd-quiz.bb-buddypanel.sticky-header .site-content, .single-sfwd-lessons.bb-buddypanel.sticky-header .site-content, .single-sfwd-topic.bb-buddypanel.sticky-header .site-content {
    padding-top: 110px !important;
}

/*#### HEADER AND HERO CTA ####*/
#masthead {
    padding: 1rem 0;
}
.wp-element-button {
    margin-top: 0.75rem;
}

.btn-magenta a, a.btn.btn-hover-magenta:hover, a.btn.btn-magenta, .btn-hover-magenta:hover .wp-element-button {
   background: #e5386d !important;
   color: #fff !important;
   transition: all 0.3s;
}

.btn.btn-orange,
a.btn.btn-orange,
.btn-orange a, 
a.btn.btn-hover-orange:hover, 
.btn-hover-orange:hover a,
.btn-hover-orange:hover .wp-element-button {
    background: #ff8900 !important;
    color: #fff !important;
    transition: all 0.3s;
    border-color: #ff8900;
}


.btn-hover-orange-outline:hover, 
.btn-hover-orange-outline:hover a {
    border-color: #fcb900 !important;
    color: #fcb900 !important;
    transition: all 0.3s;
}

.btn-hover-white:hover, 
.btn-hover-white:hover a {
    color: #0e3d6f !important;
    transition: all 0.3s;
}

.msd-dark-blue-svg svg {
    fill: var(--wp--preset--color--bs-dark-blue);
}

.msd-white-svg-hover:hover .wp-block-boldblocks-svg-block [style*="--bb--fill--color:"] svg,
.msd-white-svg-hover:hover .wp-block-boldblocks-svg-block [style*="--bb--fill--color:"] svg * {
    fill: var(--wp--preset--color--bs-dark-blue) !important;
}

.top-header-button {
    background: #e5386d;
    border-radius: 20px;
    color: #fff;
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: normal;
    padding: 4px 16px 6px;
    text-decoration: none;
    text-transform: uppercase;
}

.main-hero h1 {
   font-size: clamp( 35px,5vw,85px ) !important;
}

.main-hero p {
    line-height: 1.35;
}

.main-hero h1, .main-hero p {
    text-shadow: 1px 1px 1px #000000;
}

/*#### FOOTER ####*/
.footer, footer {
    background: #0e3d6f;
}
#secondary .footer, #secondary footer {
    background: transparent;
}
footer svg {
    fill: #ffff;
}
.footer a, footer a {
    color: #fff;
}
footer .container, .footer .container {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
}
@media(max-width: 720px) {
    footer .container, .footer .container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}
.wp-block-list.horizontal-linked-list {
    display: flex;
    gap: 0 3rem;
    padding: 2rem 0;
    list-style-type: none !important;
}
.horizontal-linked-list li {
    list-style-type: none !important;
}

.horizontal-linked-list li:hover a {
    color: #e8e8e8;
    text-decoration: underline;
    transition: 0.3s all ease-in;
}
.bb-social-icons a {
    transition: 0.3s all ease-in;
}
@media(max-width: 720px) {
    .wp-block-list.horizontal-linked-list {
        flex-direction: column;
        justify-content: center;
    }
}
.footer-left {
    width: 60%;
}
@media(max-width: 720px) {
    .footer-left {
        width: 100%;
    }
}
.footer-left h6.wp-block-heading {
    font-size: 400 !important;
    letter-spacing: .2px;
    margin-bottom: 34px;
}
.footer-left .wp-element-button {
    font-size: .9rem;
    font-weight: 600;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    letter-spacing: 0.15rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease-in;
}
.footer-left .bb-social-icons a {
    background: var(--wp--preset--color--bs-primary);
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-left .bb-social-icons a:hover {
    background: var(--wp--preset--color--bg-orange);
}
.footer-left .wp-element-button:hover {
    background: #fff;
    color: var(--wp--preset--color--bs-dark-blue);
}
.footer-left {
    padding: 1.5rem 0;
    gap: 2.5rem;
    display: flex;
    flex-direction: column;
}
.footer-left .bb-social-icons {
    display: flex;
    gap: 1rem;
    padding: 0;
}
.footer-right {
    padding: 2rem 0;
}
.footer-right a {
    color: #fff;
}
.footer-right .wp-block-group {
    gap: 2.5rem;
}
.footer-right p {
    line-height: 1.7;
    font-size: 1rem;
}
.footer-right strong {
    font-weight: 600;
}
@media(max-width: 720px) {
    .footer-right {
        padding-top: 1rem;
    }
}

/*#### MEDIA LIBRARY TABLE/STYLES ####*/
.media-library-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
 }
.media-library-table th, .media-library-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.media-library-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.media-library-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.media-library-table tr:hover {
    background-color: #f1f1f1;
}
.media-library-table img {
    max-width: 100px;
    height: auto;
}
.media-library-table .bb-topic-favorite-link-wrap {
    color: rgba(var(--bs-link-color-rgb) important);
    font-size: 30px;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: 0px 0px 0px transparent !important;
}
.media-library-table .bb-topic-favorite-link-wrap.favorited {
    color: rgba(var(--bs-link-color-rgb) important);
}
.media-library-table .bb-topic-favorite-link-wrap:hover {
    color: var(--wp--preset--color--bs-blue);
}
.media-library-table .bb-icon-heart {
    display: none !important;
}
.media-library-table .bb-icon-heart.bb-icon-l {
    display: block !important;
}
.media-library-table .favorited .bb-icon-heart {
    display: block !important;
}
.media-library-table .favorited .bb-icon-heart.bb-icon-l {
    display: none !important;
}
.media-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}
.media-search {
    flex: 1;
    min-width: 200px;
}
.media-search input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.media-search button {
    margin-left: 5px;
    padding: 8px 15px;
    border: none;
    background-color: #f2f2f2;
    cursor: pointer;
    border-radius: 4px;
}
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.category-button {
    display: inline-block;
    padding: 5px 15px 5px 15px;
    background-color: transparent;
    border: 0 solid #ddd;
    border-radius: 0;
    text-decoration: none;
    color: #333;
    position: relative;
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    transition: 0.3s ease-in;
}
.has-dropdown {
    padding: 5px 30px 5px 15px;
 
}
.category-button a:hover {
    color: #fff;
}
.category-button:hover {
    color: #fff;
    background-color: var(--wp--preset--color--bs-blue);
}
.category-button.active {
    color: #fff;
    background-color: var(--wp--preset--color--bs-blue);
}
.subcategory-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    border: 0 solid #ddd;
    border-radius: 0px;
    padding: 10px;
    z-index: 100;
    min-width: 100%;
    left: 0;
    top: 100%;
    width: 100%;
}
@media( max-width: 720px ) {
    .subcategory-dropdown {
        width: 100%;
    }
}
.category-button .down-arrow {
    position: absolute;
    font-size: 18px;
    top: -2px;
    right: 9px;
    height: 100%;
    text-align: center;
    justify-content: center;
    transform: scaleX(1.5);
}
.category-button:hover .subcategory-dropdown {
    display: block;
}
.subcategory-dropdown a {
    display: block;
    padding: 5px 0;
    color: #333 !important;
    text-decoration: none;
}
.subcategory-dropdown a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 768px) {
    .media-library-table, .media-library-table thead, .media-library-table tbody, .media-library-table th, .media-library-table td, .media-library-table tr {
        display: block;
    }
    .media-library-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .media-library-table tr {
        border: 1px solid #ddd;
        margin-bottom: 10px;
    }
    .media-library-table td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 50%;
    }
    .media-library-table td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
    }
    .media-library-table td:nth-of-type(1):before { content: "Thumbnail"; }
    .media-library-table td:nth-of-type(2):before { content: "Title"; }
    .media-library-table td:nth-of-type(3):before { content: "Summary"; }
    .media-library-table td:nth-of-type(4):before { content: "Categories"; }
    .media-library-table td:nth-of-type(5):before { content: "Size"; }
    .media-library-table td:nth-of-type(6):before { content: "Type"; }
    .media-library-table td:nth-of-type(7):before { content: "Link"; }
    .media-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .media-search {
        width: 100%;
    }
    .category-buttons {
        flex-direction: column;
    }
    .subcategory-dropdown {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }
}

/*#### MEDIA ARCHIVE STYLES ####*/
.media-library-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.media-library-table th, .media-library-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}
.media-library-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.media-library-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.media-library-table tr:hover {
    background-color: #f1f1f1;
}
.media-library-table img {
    max-width: 100px;
    height: auto;
}
.media-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0;
    align-items: center;
    flex-wrap: wrap-reverse;
}
.media-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: row;
}
.media-search input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.media-search button {
    margin-left: 5px;
    padding: 8px 15px;
    border: none;
    background-color: #0e3d6f;
    cursor: pointer;
    border-radius: 4px;
}
.media-search button:hover {
    background-color:#099bd9;
}
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.subcategory-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    z-index: 100;
    min-width: 150px;
    left: 0;
    top: 100%;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}
.category-button:hover .subcategory-dropdown {
    display: block;
}
.subcategory-dropdown a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
}
.subcategory-dropdown a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 768px) {
    .media-library-table, .media-library-table thead, .media-library-table tbody, .media-library-table th, .media-library-table td, .media-library-table tr {
        display: block;
    }
    .media-library-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .media-library-table tr {
        border: 1px solid #ddd;
        margin-bottom: 10px;
    }
    .media-library-table td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 50%;
    }
    .media-library-table td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
    }
    .media-library-table td:nth-of-type(1):before { content: "Thumbnail"; }
    .media-library-table td:nth-of-type(2):before { content: "Title"; }
    .media-library-table td:nth-of-type(3):before { content: "Summary"; }
    .media-library-table td:nth-of-type(4):before { content: "Categories"; }
    .media-library-table td:nth-of-type(5):before { content: "Size"; }
    .media-library-table td:nth-of-type(6):before { content: "Type"; }
    .media-library-table td:nth-of-type(7):before { content: "Link"; }
    .media-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .media-search {
        width: 100%;
    }
    .category-buttons {
        flex-direction: column;
    }
    .subcategory-dropdown {
        display: block;
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }
}

.media-categories-nav {
    background: var(--bb-content-background-color);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

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

.media-category-list .category-item a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bb-content-alternate-background-color);
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.media-category-list .category-item a.active {
    background: var(--bb-primary-color);
    color: #fff;
}

.media-category-list .category-item a:hover {
    background: var(--bb-primary-color);
    color: #fff;
}

.media-category-list .count {
    opacity: 0.7;
    font-size: 0.9em;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.media-item-wrap {
    background: var(--bb-content-background-color);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.media-thumbnail {
    display: block;
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bb-content-alternate-background-color);
}

.media-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.non-image-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-extension {
    background: var(--bb-primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 10px;
}

.media-item-details {
    padding: 15px;
}

.media-title {
    font-size: 16px;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-item-meta {
    font-size: 12px;
    color: var(--bb-alternate-text-color);
    margin-bottom: 5px;
}

.media-item-categories {
    font-size: 12px;
}

.bb-media-pagination {
    margin-top: 30px;
    text-align: center;
}

.term-description {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/*#### RESPONSIVE CLASSES ####*/
@media( max-width: 720px ) {
    .mobile-align-fullwidth {
        width: 90% !important;
        margin: 0 auto !important;
    }
    .mobile-align-center {
        text-align: center !important;
        margin: 0 auto !important;
    }
    .custom-10-margin {
        padding-left: 10% !important;
        padding-bottom: 10px !important;
        margin-bottom: 1rem !important;
    }
    .mobile-home-grid-margin ul,
    .mobile-home-grid-margin li {
        margin: 0 0 1.6875rem 0 !important;
    }
    .mobile-no-left-margin {
        margin-left: 0 !important;
    }
    .mobile-no-left-padding {
        padding-left: 0 !important;
    }
    .mobile-sm-vertical-padding {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/*#### DEKSTOP ONLY CLASSES ####*/
.align-center {
    margin: 0 auto !important;
}

/*#### BLOCK TYPE ####*/
.has-x-small-font-size {
    font-size: var(--wp--preset--font-size--x-small);
}
.has-small-font-size {
    font-size: var(--wp--preset--font-size--small);
}
.has-small-font-size p {
    font-size: var(--wp--preset--font-size--small);
}
.has-normal-font-size {
    font-size: var(--wp--preset--font-size--normal);
}
.has-medium-font-size {
    font-size: var(--wp--preset--font-size--medium);
}
.has-large-font-size {
    font-size: var(--wp--preset--font-size--large);
}
.has-x-large-font-size {
    font-size: var(--wp--preset--font-size--x-large);
}
.has-sans-serif-font-family {
    font-family: var(--wp--preset--font-family--sans-serif);
}
.has-headings-font-family {
    font-family: var(--wp--preset--font-family--headings);
}
.has-body-serif-font-family {
    font-family: var(--wp--preset--font-family--body-serif);
}


/*#### BLOCK COLORS ####*/
.has-bs-white-background-color {
    background: #fff;
}
.has-bs-white-color {
    color: #fff;
}
.has-bs-black-background-color {
    background: #000;
}
.has-bs-black-color {
    color: #000;
}
.has-bs-blue-background-color {
    background: #099bd9;
}
.has-bs-blue-color {
    color: #099bd9;
}
.has-bs-light-blue-background-color {
    background: #099bd9;
}
.has-bs-light-blue-color {
    color: #099bd9;
}
.has-bs-dark-blue-background-color {
    background: #0e3d6f;
}
.has-bs-dark-blue-color {
    color: #0e3d6f;
}
.has-bs-sky-blue-background-color {
    background: #e4f8fe;
}
.has-bs-sky-blue-color {
    color: #e4f8fe;
}
.has-bs-magenta-background-color {
    background: #e5386d;
}
.has-bs-magenta-color {
    color: #e5386d;
}
.has-bg-orange-background-color {
    background: #ff8900;
}
.has-bg-orange-color {
    color: #ff8900;
}
.has-bg-teal-background-color {
    background: #00aaad;
}
.has-bg-teal-color {
    color: #00aaad;
}
.has-bs-gray-100-background-color {
    background:#f8f9fa;
}
.has-bs-gray-100-color {
    color: #f8f9fa;
}
.has-bs-gray-200-background-color {
    background:#e9ecef;
}
.has-bs-gray-200-color {
    color: #e9ecef;
}
.has-bs-gray-300-background-color {
    background:#dee2e6;
}
.has-bs-gray-300-color {
    color: #dee2e6;
}
.has-bs-gray-400-background-color {
    background:#ced4da;
}
.has-bs-gray-400-color {
    color: #ced4da;
}
.has-bs-gray-500-background-color {
    background:#adb5bd
}
.has-bs-gray-500-color {
    color: #adb5bd;
}
.has-bs-gray-600-background-color {
    background:#6c757d;
}
.has-bs-gray-600-color {
    color: #6c757d;
}
.has-bs-gray-700-background-color {
    background:#495057;
}
.has-bs-gray-700-color {
    color: #495057;
}
.has-bs-gray-800-background-color {
    background:#343a40;
}
.has-bs-gray-800-color {
    color: #343a40;
}
.has-bs-gray-900-background-color {
    background:#212529;
}
.has-bs-gray-900-color {
    color: #212529;
}
.has-bs-primary-background-color {
    background: #099bd9;
}
.has-bs-primary-color {
    color: #099bd9;
}
.has-bs-secondary-background-color {
    background: #6c757d;
}
.has-bs-secondary-color {
    color: #6c757d;
}
.has-bs-success-background-color {
    background: #198754;
}
.has-bs-success-color {
    color: #198754;
}
.has-bs-info-background-color {
    background: #0dcaf0;
}
.has-bs-info-color {
    color:#0dcaf0;
}
.has-bs-warning-background-color {
    background: #ffc107;
}
.has-bs-warning-color {
    color:#ffc107;
}
.has-bs-danger-background-color {
    background: #dc3545;
}
.has-bs-danger-color {
    color:#dc3545;
}
.has-bs-light-background-color {
    background: #f8f9fa;
}
.has-bs-light-color {
    color:#f8f9fa;
}
.has-bs-dark-background-color {
    background: #212529;
}
.has-bs-dark-color {
    color:#212529;
}