a {
    -webkit-transition: .25s all;
    transition: .25s all;
    color: black;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12pt;
    line-height: 1.42857;
    color: black !important;
    background-color: #fff
}

a:hover {
    color: #247C86;
}

a:focus {
    color: black;
}

.btn-primary {
    color: white;
    background-color: #247C86;
    border-color: #247C86;
    font-size: 14px;
    font-weight: 600;
    font-family: "Source Sans Pro", sans-serif;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #31708f !important;
    border-color: #31708f !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #F1F2F6;
    color: black;
    border: 2px solid #247C86;
}

/* under lining in heading */
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #2f5fef;
    border-color: #247C86;
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: #2f5fef;
    border-color: #2f5fef;
}

h3 {
    font-size: 20px;
    font-family: "Source Sans Pro", sans-serif;
    color: #247C86;
}

.communitybgchild {
    height: auto;
    background-color: white;
    box-sizing: border-box;
    border-style: solid;
    border-width: 20px;
    border-color: #f5f5f5;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 20px;
}

/* Apply styles to paragraphs within .communitybgchild */
.communitybgchild p {
    margin: 10px 0;
}

/* Apply styles to bulletpoint lists within .communitybgchild */
.communitybgchild ul {
    list-style-type: initial;
    margin-left: 20px;
}

/* Apply styles to images within .communitybgchild */
.community-image-left {
    float: left;
    width: 260px;
    height: auto;
    margin-right: 20px;
    /* Add margin to separate from text */
}

.community-image-right {
    float: right;
    width: 260px;
    height: auto;
    margin-left: 20px;
    /* Add margin to separate from text */
}

/* Apply styles to text with .communityhometext class */
.communityhometext {
    font-size: 18px;
    margin-top: 20px;
}

ul li {
    line-height: 2;
}


/* Clear floats for <hr> elements */
hr.clear {
    clear: both;
}



.card-header {
    border-bottom-color: grey;
    border-bottom-style: solid;
    border-bottom-width: thin;
    padding: 15px;
    color: #393939;
    font-weight: 600;
    font-size: 1.9rem;
}

.profile-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    border: 0.5px solid #333;
}

.editable-image a {
    position: relative;
    display: block;
    top: 0;
    height: 100%;
}

.editable-image a span {
    position: absolute;
    top: 0;
    right: 0;
    display: none
}

.editable-image a:hover span {
    display: inline-block;
}

.justify-space {
    display: flex;
    justify-content: space-between;
}

.justify-space::before {
    content: none;
}

.justify-space::after {
    content: none;
}

.profile-picture {
    position: absolute;
    top: 27%;
    left: 2.5%;
    height: 64%;
}

.profile-picture a img {
    border-radius: 50%;
    height: 100%;
}

.card:focus,
.card:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.card-inverse .card-img-overlay {
    background-color: rgba(51, 51, 51, 0.85);
    border-color: rgba(51, 51, 51, 0.85);
}

.group-taglib {
    font-size: 1.5rem;
    color: #393939;
    font-weight: 600;
}

.group-type {
    color: #247c86;
}

.col-xs-12 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.row {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.headerRow {
    margin-left: 200px;
    margin-right: auto;
    margin-bottom: 20px;
}

.logo-size-medium {
    height: 7rem;
    border-radius: 50%;
}




.card-title {
    color: black;
    font-size: 2rem;
    text-decoration: underline;
    font-weight: 600;

}

.card-title-blog {
    text-align: left;
    padding: 20px;
    color: black;
    font-weight: 600;
    font-size: 2rem;
    text-decoration: underline;
    font-family: Source Sans Pro, sans-serif;
}




/*sorted display*/
.sort-by {
    color: #272833;
    font-weight: 600;

}

.header-primary-field {
    font-size: 2.5rem;
    color: #393939;
    font-weight: 600;
    padding-left: 1%;
}

.sort-by-active {
    border: 2px solid var(--theme-color, #247C86);
    box-sizing: border-box;
    border-radius: 5px;
    background: #F1F2F6;

}


/* Base (desktop/tablet) styles remain unchanged */

/* Small screen styles — iPhone SE and similar */
@media (max-width: 350px) {

    .disc-card .row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* .disc-card .circle {
        width: 40px;
        height: 40px;
        background-size: cover;
        margin-bottom: 10px;
    } */

    .disc-card .col-2,
    .disc-card .col-8,
    .disc-card .col-md-2,
    .disc-card .col-md-8,
    .disc-card .col-sm-2,
    .disc-card .col-sm-8 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* .disc-card .card-title {
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    } */

    .disc-card-subtitle,
    .disc-card-detail {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .disc-card button.btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 1420px) {
    .disc-card-detail {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        white-space: nowrap;

    }

    .disc-card-detail> :nth-child(1),
    .disc-card-detail> :nth-child(2) {
        display: inline-flex;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    .disc-card-detail> :last-child {
        margin-top: 5px;
        margin-left: auto;
        width: 100%;
        white-space: nowrap;
    }


    .group-type {
        display: inline-flex;
        margin-left: 5px;
        white-space: nowrap;
    }


    .card-content-info-separator {
        margin-right: 5px;
    }
}


/*discovery page cards*/
.disc-card {
    padding: 10px;
    /* uniform padding */
    margin-top: 15px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: 0.25s box-shadow;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}


.disc-card-detail {
    font-size: 12pt;
    font-weight: bolder;
    display: flex;
    align-items: center;
    gap: 10px;
}


.disc-card-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    word-wrap: break-word;
    text-align: left;
}


div.d-flex.flex-col>h2 {
    margin-top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.d-flex.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}


.col-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* div.disc-card-detail>span:nth-child(3)>button {
    margin-top: 10px;
} */

div>div>div.row {
    margin-bottom: 0px;
}









.comm-list-title {
    margin-top: 0;
}

.conn-requests>.disc-card,
.view-more-conn-reqs>.disc-card {
    max-height: 250px;
}

.conn-req-image {
    border-radius: 50%;
    max-height: 50px;
    margin-right: 20px;
    margin-left: 20px;
}

.conn-req-row {
    margin-top: 30px;
}

.conn-req-link {
    text-decoration: underline;
}

.conn-req-intro {
    padding-left: 25px;
    padding-right: 25px;
}



.circle-small {
    height: 60px
}

.no-border {
    border: none;
}

.square {
    background-color: #fff;
    height: 50px;
    width: 50px;
    margin-top: 10px;
    margin-left: 40px;
    background-size: cover;
}

.socialicon {
    background-color: #fff;
    height: 25px;
    width: 100px;
    background-size: cover;
}

.card-text {
    padding-left: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: #322e2e;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
}

@media only screen and (max-width: 600px) {
    .card-description {
        display: none;
    }

    .card {
        min-height: 400px;
    }

    .layout-buttons {
        display: none !important;
    }
}

.fixed-card-text {
    height: 120px;
    overflow: auto;
}

.fixed-card-description {
    height: 120px;
    overflow: auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.list-group-hover a.list-group-item:hover {
    border-radius: 30px;
    border: 1px;
    color: #247C86;
    border-style: solid;
    border-color: #247C86;

}

/*profile and community secondary nav bar*/

.profileBackground {
    background: linear-gradient(to right, white 50%, #F1F2F6 50%);
    height: fit-content;
}

.secondaryNavBar {
    font-size: 16px;
    font-weight: 600;
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.secondaryNavBarActive {
    color: black;
    background-color: #D0EFE7;
    text-decoration: solid;
    margin-left: 0px;
    border: 2px solid #D0EFE7;
    padding-left: 0px;
    padding-right: 0px;
}

.secondaryNavBarActive:hover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
}

.communityNavBar {
    font-size: 18px;
    font-weight: 600;
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.communityNavBarActive {
    color: black;
    background-color: #D3E5E7;
    text-decoration: solid;
    margin-left: 0px;
    border: 2px solid #D3E5E7;
    padding-left: 0px;
    padding-right: 0px;
}

.communityNavBarActive:hover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
}



/* Attachment uploads for discussions */
.upload-target {
    border: 3px dashed #ddd;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    background-color: #F1F2F5;

}

.upload-target.dragover {
    border-color: #0B5FFF;
    background-color: #E3EFFE;
}

.drop-file-text-modal {
    font-size: 16px;
    margin-bottom: 10px;
}

.or-text {
    display: block;
    margin: 10px 0;
}

#fileTable,
#fileTableEdit {
    display: none;
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

.remove-btn {
    background-color: #DA1414;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

.remove-btn:hover {
    background-color: #a01010;
}

#noFilesFound h2 {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

#noFilesFoundEdit h2 {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}


/* Accessibility for settings */
.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #F7F7F7;
}

/* Accessibility for hovering over profile Navbar */

.navbar-inverse .navbar-nav>li>a:hover {
    color: black;
    background-color: white !important;
    border-bottom: 4px solid #247C86;
    padding-bottom: 10px;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
    background-color: transparent !important;
    color: inherit !important;
}

/* ****** */

.notificationsBar {
    font-size: small;
    font-weight: 600;
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.notificationsBarActive {
    color: black;
    background-color: white;
    text-decoration: solid;
    margin-left: 0px;
    border: 2px solid white;
    padding-left: 0px;
    padding-right: 0px;
}

.notificationsBarActive:hover {
    background-color: white;
    color: black;
    border: 2px solid #a1aeaf;
}

.crmEntityFormView .actions {
    border-top: 0px !important;
    float: right !important;
}

.profileDetails {
    font-size: 25px;
}

#liquid_form>div.container>div.row>div:nth-child(4)>div>div>div>div.navbar.navbar-default {
    display: none
}

body>div.container>div>div:nth-child(4)>div>div>div.xrm-attribute-value>div.navbar.navbar-default {
    display: none
}

body>div.container>div.row>div:nth-child(4)>div>div>div>div>div.navbar.navbar-default {
    display: none
}

#EntityFormControl_90267167554eee11be6f6045bdd2c6fa_EntityFormView>div.tab.clearfix>div>div>fieldset:nth-child(3)>table>tbody>tr:nth-child(1)>td.clearfix.cell {
    display: none
}


body>div.container>div.row>div:nth-child(3)>div {
    padding-bottom: 0px
}

body>div.container>div>div:nth-child(4)>div>div.row>div>div>h3 {
    margin-top: 0px;
}

#liquid_form>div.container>div.row>div:nth-child(3)>div {
    padding-bottom: 0px;
}

#mainContent {
    padding-bottom: 0px;
}

#mainContent>div>div>div>div:nth-child(2) {
    padding-bottom: 0px;
}

#liquid_form>div.container>div.row>div:nth-child(3)>div {
    padding-bottom: 0px;
    /* Removed height to fix bug with group cards not fitting */
    /* height: 50px;   */

}

/* Accessibility */

/* Border shadows for the color picker */
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover,
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}


/* Rich text editor Icons fade to gray fix expanded styles */
.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
    stroke: #444 !important;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
    fill: #444 !important;
}


.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    color: #444;
    z-index: 2;
}

.pagination>li>a,
.pagination>li>span {
    background-color: transparent;
    border: 0px;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: black !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: #247C86 !important;

}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>a {
    color: white !important;

}

#liquid_form>div.homecontainer>div.row>div:nth-child(2)>ul>li>a {
    color: black
}

#liquid_form>div.homecontainer>div.row>div:nth-child(2)>ul>li.active>a {
    color: white
}

/*nav bar*/

.navMinHight {
    min-height: 80px;
    padding-top: 30px;
}

.navNoBorder {
    border: 0px;

}

.navText {
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    font-size: 20x;

    background-color: #247C86;
    /* 16AD85 Replacement WCAG */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
}


.navTexthover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
    border-left-width: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0em;

}

.navTexthover:hover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
    border-left-width: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 4em;

}

.card-title :hover {
    color: #247C86;
}

.like-icon,
.unlike-icon {
    cursor: pointer;
}

.pt-3,
.pt-1 {
    padding-top: 1rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.sorting-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: 15px;
    border-bottom: 2px solid #e9e9eb;
    margin-bottom: 0.5rem;
}



.btn-default {
    color: #247C86 !important;
    background-color: #fff;
    border-color: #247C86 !important;
}

.btn-default:focus,
.btn-default:hover {
    color: black !important;
    background-color: #e6e6e6;
    border-color: #247C86 !important;
}

.btn-primary.disabled:hover,
.btn-primary.disabled:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary.focus {
    background-color: #247C86;
    border-color: #247C86;
}

.btn-primary.custom-btn {
    margin-right: 10px;
    border: solid 2px transparent;
    background: transparent;
    color: inherit;
    transition: border-color 0.3s ease-in-out;
    border-radius: 8px;
}

.btn-primary.custom-btn:hover {
    color: inherit;
    background-color: transparent;
    border-color: #ffffff;
}

.btn-primary.custom-btn:focus,
.btn-primary.custom-btn.focus {
    color: inherit;
    background-color: transparent;
    border-color: #ffffff;
}

.btn-primary.custom-btn:active,
.btn-primary.custom-btn.active {
    color: inherit;
    background-color: transparent;
    border-color: #247C86;
}

.btn-primary.custom-btn-selected {
    margin-right: 10px;
    border: solid 2px transparent;
    background: transparent;
    color: inherit;
    transition: border-color 0.3s ease-in-out;
    border-radius: 8px;
    border-color: #247C86;
}

.btn-secondary {
    border-radius: 4px;
}

.btn-success {
    background-color: #247C86;
    color: white;
    border-color: #247C86;
    float: right;
    border-radius: 4px;
    margin-left: 10px;
}


.panel-default {
    border-color: #E7E7ED;
    color: #6B6C7E;
    border-radius: 0.5rem;
}

.panel-body {
    padding: 15px
}

#thread-header {
    background-color: #D0EFE7;

    border-radius: 10px 10px 0 0;
    color: black;
}

.panel-primary {
    border-color: white;

    border-radius: 14px 14px 10px 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.glyphicon-menu-right,
.glyphicon-menu-down {
    float: right
}

.btn-success:focus,
.btn-success:hover,
.btn-success:active {
    color: black;
    background-color: #ffffff !important;
    border-color: #1b5b63 !important;
}

/* General style for glyphicon pencil */
.editable-image a[data-target="#background-image-modal"] .glyphicon-pencil,
.editable-image a[data-target="#profile-picture-modal"] .glyphicon-pencil {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: black;
    color: #16AD85;
}

.editable-image a[data-target="#background-image-modal"] .glyphicon-pencil::before,
.editable-image a[data-target="#profile-picture-modal"] .glyphicon-pencil::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#background-image>a {
    display: none;
}

/* Additional specific selectors for scenarios where the span is used instead of glyphicons directly under the anchor tags */
#liquid_form>div.container>div.row>div>div>div.editable-image>a>span,
#mainContent .editable-image>a>span.glyphicon-pencil,
#mainContent .editable-image>div>a>span.glyphicon-pencil {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: black;
    color: #16AD85;
}

#mainContent .editable-image>a>span.glyphicon-pencil::before,
#mainContent .editable-image>div>a>span.glyphicon-pencil::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* zoomed in navbar  */

.navbar-inverse .navbar-nav>li>a {
    color: black !important;
}


.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: black !important;
    background-color: transparent !important;
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus {
    color: black !important;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: black !important;
    border-bottom: 4px solid #247c86 !important;
    padding-bottom: 6px;
}


.h4 {
    font-weight: 700;
    text-decoration: underline;
    color: #393939;
}

.h4:hover {
    text-decoration-thickness: 0.2em;
}

.tags-check {
    height: 14px;
    width: 14px;
    margin-top: 6px;
}

.tag-label {
    font-size: 1.75rem;
    color: #393939;
    font-weight: 400;
}

/*screen size*/
.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

@media (min-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 90%;
    }

}

@media (min-width: 768px) {
    .container {
        width: 90%;
    }
}

/*Home container*/
.homecontainer {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
    .homecontainer {
        width: 65%;
    }
}

@media (min-width: 992px) {
    .homecontainer {
        width: 65%;
    }

}

@media (min-width: 768px) {
    .homecontainer {
        width: 75%;
    }
}

/*search box*/
/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    #q.form-control {
        width: 50.6px;

    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    #q.form-control {
        width: 50.6px;

    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px) {
    #q.form-control {
        width: 100.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1231px) and (max-width: 1310px) {
    #q.form-control {
        width: 150.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1311px) and (max-width: 1450px) {
    #q.form-control {
        width: 350.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1451px) and (max-width: 1500px) {
    #q.form-control {
        width: 450.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1501px) and (max-width: 1660px) {
    #q.form-control {
        width: 550.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1661px) and (max-width: 1730px) {
    #q.form-control {
        width: 650.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1731px) and (max-width: 1870px) {
    #q.form-control {
        width: 750.6px;

    }
}

/* Media Query for Large screens */
@media (min-width: 1871px) {
    #q.form-control {
        width: 850.6px;

    }
}



.btn-standard {
    border-radius: 5px;
    color: #fff;
    background-color: #247C86;
    border-color: #247C86;
    box-shadow: none;
    float: right;
    width: auto;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
}

.btn-standard:hover {
    background-color: #184d53;
    color: white;
    text-decoration: none;
}

.blogbtn {
    margin-right: 20px;
}

.col-md-12 {
    padding-bottom: 20px;
}

.modal-dialog.modal-90w {
    max-width: 90% !important;
    width: 90% !important;
}

footer .footer-bottom ul li {
    text-align: justify;
    display: inline;
    border-right: solid 1px #000;
    padding: 0px 5px;
    padding-left: inherit;
}

footer .footer-bottom ul li:last-child {
    border-right: none;
}

/* Blog favourite Icon */
.icon-container {
    display: inline-block;
    cursor: pointer;
}

.icon-wrapper {
    display: inline-block;
    vertical-align: middle;
    /* Align the icon and text vertically */
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: -4px;
    /* Adjust the vertical alignment of the icon */
}

.icon-text {
    font-size: 14px;
    font-weight: bold;
    /* Make the text bold */
    display: inline-block;
    /* Display the text as a block element */
    vertical-align: middle;
    /* Align the text vertically */
}


/* Home page welcome message and texts */

#mainContent>div>span {
    margin-left: 10px;
    margin-right: 10px;
}

#mainContent>div>h1>span {
    display: block;
}

#mainContent>div>h1 {
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0px;
    margin-top: 0px;
}

#mainContent>div>p {
    margin-left: 10px;
    margin-right: 10px;
}


#mainContent>div {
    padding-bottom: 10px;
    padding-top: 10px;
}

#mainContent>div>ul {
    margin-right: 10px;
}

/* Community Cards */
.col-lg-10.col-md-9.col-sm-9.col-xs-9.d-flex.flex-col>h2 {
    margin-top: 0px;
}

#eace1ef3-a54c-ee11-be6f-6045bdd2c818>div>div>div.col-lg-10.col-md-9.col-sm-9.col-xs-9.d-flex.flex-col>h2 .blog-image {
    width: 30%;
    float: left;
    margin: 0.25rem 1rem 0.25rem 0;
}


.dropdown-toggle {
    color: black;
}


h1>span:first-child {
    display: none;
}

.forum-header {

    color: #247C86;
    font-size: medium;
    font-family: "Source Sans Pro", sans-serif;
    margin-top: 20px;
}

.forum-welcome-bullets {
    font-size: medium;
    font-family: "Source Sans Pro", sans-serif;
}

.forum-bullet {
    height: 24px;
}

.page-copy {
    margin-left: 15px;
    margin-right: 15px
}

.librarytext {
    color: #247C86;
}

/* Accessibility for adding files */
input[type="file"] {
    display: none;
}

.welsh-custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.english-custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

/* Accessibility for adding files */

.no-border {
    border: none;
}

.support-links-heading {
    margin-left: 17px;
}

.sup-nav-item>a {
    color: #393939;
    border-radius: 30px;
}

.sup-nav-item:hover {
    color: #247C86;
}

.sup-nav-item>a:hover {
    color: #247C86;
    border-color: #247C86;
    border-style: solid;
    border-width: thin;
    background-color: transparent;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ED0707;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 8px 8px;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}

.svg-arrow-container {
    display: inline-block;
    cursor: pointer;
    text-decoration: none !important;
    /* Remove underline */
}

.svg-arrow-active {
    fill: #339999;
    /* Active color */
}

.svg-arrow-inactive {
    fill: grey;
    /* Inactive color */
}

.svg-arrow {
    margin-left: -5px;
    width: 11.25px !important;
    /* 15px * 0.75 */
    height: 22.5px !important;
    /* 30px * 0.75 */
}

.svg-descending-arrow-down {
    margin-top: 6px;
}

.svg-ascending-arrow-up {
    margin-bottom: 6px;
}

.btn-active {
    background-color: #247C86;
    border-color: #247C86;
    color: white;
}

.btn-inactive {
    background-color: white;
    border-color: #247C86;
    color: #247C86;
}

.member-connection-p {
    background-color: white;
    border-color: #247C86;
    color: #247C86;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #247C86;
    padding: 6px 12px !important;
    font-size: 15px;
    line-height: 1.42857;
    border-radius: 0;
    margin: 0;
    box-sizing: border-box;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-indent: 0px;
    text-shadow: none;
    padding-block: 1px;
    padding-inline: 6px;

}

.my-connections-search {
    width: 100%
}

.icon-small {
    height: 25px;
    margin-right: 10px;
    margin-bottom: 5px;
}

/* searchbar for news*/

#entitylist-navbar-f64dc996-ea53-ee11-be6f-6045bdd2c5f9\ >div>form>div>input:nth-child(2) {
    height: 37px;
    width: 1200px;
}

/* searchbar for blogs*/

#entitylist-navbar-d670e174-b053-ee11-be6f-6045bdd2c818\ >div>form>div>input:nth-child(2) {
    height: 37px;
    width: 1200px;
}

/* searchbar for members*/

#entitylist-navbar-e0f92bbf-c34f-ee11-be6f-6045bdd2c3a2\ >form>div>input:nth-child(2) {
    height: 37px;
    width: 1200px;
}

/* styling for listview for News and Blogs */

.listview {
    width: 1400px;
    height: auto;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    border-width: 3px;
    padding: inherit;
    margin: inherit;
}

.list-title {
    font-weight: bold;
    text-decoration: underline;
    font-family: Source Sans Pro, sans-serif;
}

.list-item-image img {
    max-width: 200px;
    margin-right: 20px;
    margin: 20px;
}

.list-item-content {
    flex-grow: 1;
}

.list-item h3 {
    margin-top: 0;
}

.list-item-meta {
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: #322e2e;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
}

.list-item-icons {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.list-item-icons span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}


.forum-list-item-image img {
    max-width: 35px;
    margin: 40px;
}

.forum-list-item-content {
    flex-grow: 1;
}

.forum-list-item h3 {
    margin-top: 0;
}

.forum-list-item-meta {
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: #322e2e;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
}

.forum-list-item-icons {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.forum-list-item-icons span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.layout-buttons {
    display: flex;
    justify-content: end;
}

/* styling for columnlist for Members */
.columnlist {
    height: auto;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    border-width: 3px;
    padding: inherit;
    margin: inherit;
}

/*loading spinner*/

.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: gray;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {

    0%,
    20%,
    80%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

.full-width-form {
    width: 100%;
}

.full-width-input-group {
    display: flex;
    /* Ensure the input group fills the form */
    width: 100%;
}

.input-group>.form-control {
    width: 100%;
    /* Allows the input to fill the flex space */
    flex-grow: 1;
    /* Flex grow to fill available space */
}

.list-search {
    width: 100%
}

.container .row .col-md-12 h1 {
    display: inline-block;
    /* Make the title inline */
    margin-bottom: 20px;
    /* Add some bottom margin */
}

/* Media query for responsive design */
@media (max-width: 768px) {

    /* Adjust styles for images on smaller screens */
    .communitybgchild,
    .community-image-left,
    .community-image-right {
        height: auto;
        border-width: 10px;
        padding: 10px;
        float: none;
        width: auto;
        margin: 0;
        /* Reset margin for smaller screens */
    }

    /* Adjust text alignment and font size for smaller screens */
    .communityhometext {
        font-size: 14px;
        margin-left: 0;
    }


}

/* Search Bar CSS - CJ */
.container-search {
    display: flex;
    padding: 15px;
    align-items: flex-start;
    width: 100%;
}

/* Sidebar */
.filter-button-container {
    display: flex;
}

.filter-dropdown {
    border: 1px solid #ccc;
    width: 300px;
    font-family: Arial, sans-serif;
    margin-right: 20px;
}

.filter-heading {
    font-weight: bold;
    padding: 10px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    position: relative;
}

.filter-heading::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
}

.filter-heading.collapsed::after {
    content: '\25B6';
    /* Right arrow */
}

.filter-options {
    padding: 10px;
    display: block;
}

.filter-options.hidden {
    display: none;
}

.filter-option {
    margin: 5px 0;
}

.filter-option input {
    margin-right: 8px;
}

.clear-all {
    margin-right: 5px;
}

.container-search .search-content {
    width: 100%;
}

.container-search .results-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: 15px;
    border-bottom: 2px solid #e9e9eb;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.container-search .results-header button {
    margin-right: 10px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 5px;
}

/* Adjustments for search bar specific to this layout */
.container-search .search {
    position: relative;
    display: flex;
}

.container-search .searchTerm {
    width: 100%;
    border: 3px solid #247C86;
    border-right: none;
    padding: 5px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #247C86;
}

.container-search .searchButton {
    width: 40px;
    height: 39px;
    border: 1px solid #247C86;
    background: #247C86;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

.results-display {
    display: flex;
    flex-direction: column;
}

.result-card {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .result-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-item-image {
        width: 100%;
        margin-bottom: 10px; 
    }

    .list-item-image img {
        width: 100%;
        height: auto;
        display: block !important;
        margin: 0 auto !important;
    }

    
}

.user-avatar-search {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.user-avatar-search img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 16px;
}

.user-joined {
    font-size: 14px;
    color: #555;
}

.tag-community {
    vertical-align: middle;
    margin-right: 0.25rem;
    border-radius: 5000px;
    width: 32px;
    height: 32px;
}

/*Activity and Favourites cards */

#card p {
    margin-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

#card h2 {
    padding-left: 15px;
    padding-right: 15px;
}


/* Header Search */

.search {
    display: flex;
}

.header-search {
    width: 40%;
}

.header-search .searchTermHeader {
    width: 80%;
    border: 3px solid #247C86;
    border-right: none;
    padding: 5px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #247C86;
}

.header-search .searchButtonHeader {
    width: 40px;
    border: 1px solid #247C86;
    background: #247C86;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

/* Spinner Styling */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /* Adjust to match your layout */
    width: 100%;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #247C86;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.circle-group {
    background-color: #fff;
    border: 1px solid black;
    height: 85px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    float: left;
    background-size: cover;
    margin: 10px;
}

.group-list-item-content h3 {
    margin-top: 0;

}

.search-tag {
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.42857;
    font-weight: 600;
    color: #272833;
    border: 2px solid var(--theme-color, #247C86);
    box-sizing: border-box;
    background: #F1F2F6;
    padding: 5px 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: default;
    white-space: normal;
    user-select: none;
    font-family: inherit;
    text-align: center;
}

.search-tag .clear-icon {
    margin-left: 8px;
    font-weight: 600;
    cursor: pointer;
    color: #272833;
    transition: color 0.2s ease;
}

.search-tag .clear-icon:hover {
    color: var(--theme-color, #247C86);
}

.user-card {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.user-card-header {
    height: 130px;
    background-size: cover;
    background-position: center;
    position: relative;
}


.user-avatar {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.user-icon {
    width: 40px;
    height: 40px;
    fill: #00695c;
}




.card-body {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    /* space between icon and text */
}

.member-card-body {
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    /* Prevents it from shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 460px) {
    .card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-icon {
        display: flex;
        width: 100%;
        margin-bottom: 10px; 
    }

    .card-icon img {
        width: 100%;
        height: auto;
        display: block !important;
        margin: 0 auto !important;
    }
    .circle {
        float: none;
    }
    .btn-success{
        width: 100%;
    }

}
/*
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    background-repeat: no-repeat;
}
*/
.circle {
    background-color: #fff;
    border: 1px solid black;
    height: 85px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;


    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    float: left;
    background-size: cover;
}

.card-content {
    flex: 1;
    /* Fill the remaining space */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.user-avatar {
    width: 90px;
    height: 90px;
}

.card.user-card {
    min-height: 320px;
    max-height: 360px;
}


.card-detail-entry {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}


.notification-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ff4d4f;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.notification-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #247C86;
    padding: 16px 16px 16px 48px;
    margin-top: 12px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.notification-card:hover {
    background-color: #f9f9f9;
}

.notification-card p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.notification-delete-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%) rotate(45deg);
    cursor: pointer;
}

.notification-delete-icon::before,
.notification-delete-icon::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    width: 2px;
    height: 14px;
    background-color: #ff4d4f;
    transition: background-color 0.2s;
}

.notification-delete-icon::after {
    transform: rotate(90deg);
}

.notification-delete-icon:hover::before,
.notification-delete-icon:hover::after {
    background-color: #d9363e;
}

/* Blog Changes */

.card {
    min-height: 650px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: .25s box-shadow;
    transition: .25s box-shadow;
}


.card-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}


.card-title-blog,
.card-description {
    margin-bottom: 0.5rem;
}


.card-meta {
    margin-top: auto;
}

.card-footer {
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.card-img-top {
    height: 250px;
    width: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
    margin: 0;
    padding: 0;
}

/* Clamp title to 1 line */
.card-title-a {
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.card .list-group-item {
    display: flex;
    align-items: center;
}

.blog-card-icon {
    width: 60px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header NavBar Styles */
@media (max-width: 767px) {
    .navbar-collapse {
        width: 100% !important;
        padding: 10px 15px;
    }

    .nav.navbar-nav {
        display: block;
        width: 100%;
    }

    .nav.navbar-nav>li {
        float: none;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        position: relative;
        /* Needed for badges */
    }

    .header-search {
        width: 100%;
        margin: 10px auto;
    }

    .search {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .searchTermHeader {
        flex: 1;
        min-width: 0;
        padding: 6px 10px;
    }

    .searchButtonHeader {
        padding: 4px 8px;
    }

    .menu-bar {
        flex-direction: column !important;
        align-items: center;
    }

    .navbar-right {
        text-align: center;
        padding: 10px;
    }

    .navbar-toggle {
        margin-right: 15px;
        background-color: #000;
        border: none;
    }

    .header-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 10px 0;
        position: relative;
    }

    .dropdown-menu {
        text-align: left;
    }

    .notification-icon {
        position: relative;
        display: inline-block;
        margin: 0 10px;
    }

    .icon-container {
        position: relative;
        display: inline-block;
        width: 30px;
        /* Optional: force consistent icon size */
        height: 30px;
    }

    .icon-container img {
        width: 100%;
        height: auto;
        display: block;
    }

    .notification-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        background-color: red;
        color: white;
        font-size: 10px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        text-align: center;
        line-height: 18px;
        padding: 0;
        /* remove padding to ensure perfect circle */
        font-weight: bold;
    }


}

@media (max-width: 500px) {
    .sorting-container {
        flex-direction: column !important;
    }

    .btn-addblogpost {
        margin-left: 10px;
    }
}

/*Harry B blog post feedback changes 02.06.2025*/
a {
    -webkit-transition: .25s all;
    transition: .25s all;
    color: black;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12pt;
    line-height: 1.42857;
    color: black !important;
    background-color: #fff
}

a:hover {
    color: #247C86;
}

a:focus {
    color: black;
}

.btn-primary {
    color: white;
    background-color: #247C86;
    border-color: #247C86;
    font-size: 14px;
    font-weight: 600;
    font-family: "Source Sans Pro", sans-serif;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #31708f !important;
    border-color: #31708f !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #F1F2F6;
    color: black;
    border: 2px solid #247C86;
}

/* under lining in heading */
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #2f5fef;
    border-color: #247C86;
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: #2f5fef;
    border-color: #2f5fef;
}

h3 {
    font-size: 20px;
    font-family: "Source Sans Pro", sans-serif;
    color: #247C86;
}

.communitybgchild {
    height: auto;
    background-color: white;
    box-sizing: border-box;
    border-style: solid;
    border-width: 20px;
    border-color: #f5f5f5;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 20px;
}

/* Apply styles to paragraphs within .communitybgchild */
.communitybgchild p {
    margin: 10px 0;
}

/* Apply styles to bulletpoint lists within .communitybgchild */
.communitybgchild ul {
    list-style-type: initial;
    margin-left: 20px;
}

/* Apply styles to images within .communitybgchild */
.community-image-left {
    float: left;
    width: 260px;
    height: auto;
    margin-right: 20px;
    /* Add margin to separate from text */
}

.community-image-right {
    float: right;
    width: 260px;
    height: auto;
    margin-left: 20px;
    /* Add margin to separate from text */
}

/* Apply styles to text with .communityhometext class */
.communityhometext {
    font-size: 18px;
    margin-top: 20px;
}

ul li {
    line-height: 2;
}


/* Clear floats for <hr> elements */
hr.clear {
    clear: both;
}



.card-header {
    border-bottom-color: grey;
    border-bottom-style: solid;
    border-bottom-width: thin;
    padding: 15px;
    color: #393939;
    font-weight: 600;
    font-size: 1.9rem;
}

.profile-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    border: 0.5px solid #333;
}

.editable-image a {
    position: relative;
    display: block;
    top: 0;
    height: 100%;
}

.editable-image a span {
    position: absolute;
    top: 0;
    right: 0;
    display: none
}

.editable-image a:hover span {
    display: inline-block;
}

.justify-space {
    display: flex;
    justify-content: space-between;
}

.justify-space::before {
    content: none;
}

.justify-space::after {
    content: none;
}

.profile-picture {
    position: absolute;
    top: 27%;
    left: 2.5%;
    height: 64%;
}

.profile-picture a img {
    border-radius: 50%;
    height: 100%;
}

.card:focus,
.card:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.card-inverse .card-img-overlay {
    background-color: rgba(51, 51, 51, 0.85);
    border-color: rgba(51, 51, 51, 0.85);
}

.group-taglib {
    font-size: 1.5rem;
    color: #393939;
    font-weight: 600;
}

.group-type {
    color: #247c86;
}

.col-xs-12 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.row {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.headerRow {
    margin-left: 200px;
    margin-right: auto;
    margin-bottom: 20px;
}

.logo-size-medium {
    height: 7rem;
    border-radius: 50%;
}




.card-title {
    color: black;
    font-size: 2rem;
    text-decoration: underline;
    font-weight: 600;

}

.card-title-blog {
    text-align: left;
    padding: 20px;
    color: black;
    font-weight: 600;
    font-size: 2rem;
    text-decoration: underline;
    font-family: Source Sans Pro, sans-serif;
}




/*sorted display*/
.sort-by {
    color: #272833;
    font-weight: 600;

}

.header-primary-field {
    font-size: 2.5rem;
    color: #393939;
    font-weight: 600;
    padding-left: 1%;
}

.sort-by-active {
    border: 2px solid var(--theme-color, #247C86);
    box-sizing: border-box;
    border-radius: 5px;
    background: #F1F2F6;

}


/* Base (desktop/tablet) styles remain unchanged */



@media (max-width: 1420px) {
    .disc-card-detail {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        white-space: nowrap;

    }

    .disc-card-detail> :nth-child(1),
    .disc-card-detail> :nth-child(2) {
        display: inline-flex;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    .disc-card-detail> :last-child {
        margin-top: 5px;
        margin-left: auto;
        width: 100%;
        white-space: nowrap;
    }


    .group-type {
        display: inline-flex;
        margin-left: 5px;
        white-space: nowrap;
    }


    .card-content-info-separator {
        margin-right: 5px;
    }
}


/*discovery page cards*/
.disc-card {
    padding: 10px;
    /* uniform padding */
    margin-top: 15px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: 0.25s box-shadow;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}


.disc-card-detail {
    font-size: 12pt;
    font-weight: bolder;
    display: flex;
    align-items: center;
    gap: 10px;
}


.disc-card-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    word-wrap: break-word;
    text-align: left;
}


div.d-flex.flex-col>h2 {
    margin-top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.d-flex.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}


.col-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* div.disc-card-detail>span:nth-child(3)>button {
    margin-top: 10px;
} */

div>div>div.row {
    margin-bottom: 0px;
}









.comm-list-title {
    margin-top: 0;
}

.conn-requests>.disc-card,
.view-more-conn-reqs>.disc-card {
    max-height: 250px;
}

.conn-req-image {
    border-radius: 50%;
    max-height: 50px;
    margin-right: 20px;
    margin-left: 20px;
}

.conn-req-row {
    margin-top: 30px;
}

.conn-req-link {
    text-decoration: underline;
}

.conn-req-intro {
    padding-left: 25px;
    padding-right: 25px;
}



.circle-small {
    height: 60px
}

.no-border {
    border: none;
}

.square {
    background-color: #fff;
    height: 50px;
    width: 50px;
    margin-top: 10px;
    margin-left: 40px;
    background-size: cover;
}

.socialicon {
    background-color: #fff;
    height: 25px;
    width: 100px;
    background-size: cover;
}

.card-text {
    padding-left: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: #322e2e;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
}

@media only screen and (max-width: 600px) {
    .card-description {
        display: none;
    }

    .card {
        min-height: 400px;
    }

    .layout-buttons {
        display: none !important;
    }
}

.fixed-card-text {
    height: 120px;
    overflow: auto;
}

.fixed-card-description {
    height: 120px;
    overflow: auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.list-group-hover a.list-group-item:hover {
    border-radius: 30px;
    border: 1px;
    color: #247C86;
    border-style: solid;
    border-color: #247C86;

}

/*profile and community secondary nav bar*/

.profileBackground {
    background: linear-gradient(to right, white 50%, #F1F2F6 50%);
    height: fit-content;
}

.secondaryNavBar {
    font-size: 16px;
    font-weight: 600;
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.secondaryNavBarActive {
    color: black;
    background-color: #D0EFE7;
    text-decoration: solid;
    margin-left: 0px;
    border: 2px solid #D0EFE7;
    padding-left: 0px;
    padding-right: 0px;
}

.secondaryNavBarActive:hover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
}

.communityNavBar {
    font-size: 18px;
    font-weight: 600;
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.communityNavBarActive {
    color: black;
    background-color: #D3E5E7;
    text-decoration: solid;
    margin-left: 0px;
    border: 2px solid #D3E5E7;
    padding-left: 0px;
    padding-right: 0px;
}

.communityNavBarActive:hover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
}


/* Discussion */

/* discussion last post */
/* .last-post {
    /* white-space: nowrap;
     }*/

#forum-posts > div > div.panel-body > div:nth-child(2){
    margin-top: 50px;
    margin-bottom: 5px;
}

@media (max-width: 600px) {
  #forumThread {
    flex-direction: column;
    align-items: flex-start; /* Align items to the left on mobile */
  }

  #forumThread span,
  #forumThread button {
    width: 100%;  /* Full width for better readability */
    margin-bottom: 8px;
  }

  #forumThread button {
    width: auto;
  }
  #forum-posts > div > button{
    margin-bottom: 5px;
    width: 100%
  }
}
/* Attachment uploads for discussions */
.upload-target {
    border: 3px dashed #ddd;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    background-color: #F1F2F5;

}

.upload-target.dragover {
    border-color: #0B5FFF;
    background-color: #E3EFFE;
}

.drop-file-text-modal {
    font-size: 16px;
    margin-bottom: 10px;
}

.or-text {
    display: block;
    margin: 10px 0;
}

#fileTable,
#fileTableEdit {
    display: none;
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

.remove-btn {
    background-color: #DA1414;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
}

.remove-btn:hover {
    background-color: #a01010;
}

#noFilesFound h2 {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

#noFilesFoundEdit h2 {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}


/* Accessibility for settings */
.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #F7F7F7;
}

/* Accessibility for hovering over profile Navbar */

.navbar-inverse .navbar-nav>li>a:hover {
    color: black;
    background-color: white !important;
    border-bottom: 4px solid #247C86;
    padding-bottom: 10px;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
    background-color: transparent !important;
    color: inherit !important;
}

/* ****** */

.notificationsBar {
    font-size: small;
    font-weight: 600;
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    overflow: hidden;
    white-space: nowrap;
}

.notificationsBarActive {
    color: black;
    background-color: white;
    text-decoration: solid;
    margin-left: 0px;
    border: 2px solid white;
    padding-left: 0px;
    padding-right: 0px;
}

.notificationsBarActive:hover {
    background-color: white;
    color: black;
    border: 2px solid #a1aeaf;
}

.crmEntityFormView .actions {
    border-top: 0px !important;
    float: right !important;
}

.profileDetails {
    font-size: 25px;
}

#liquid_form>div.container>div.row>div:nth-child(4)>div>div>div>div.navbar.navbar-default {
    display: none
}

body>div.container>div>div:nth-child(4)>div>div>div.xrm-attribute-value>div.navbar.navbar-default {
    display: none
}

body>div.container>div.row>div:nth-child(4)>div>div>div>div>div.navbar.navbar-default {
    display: none
}

#EntityFormControl_90267167554eee11be6f6045bdd2c6fa_EntityFormView>div.tab.clearfix>div>div>fieldset:nth-child(3)>table>tbody>tr:nth-child(1)>td.clearfix.cell {
    display: none
}


body>div.container>div.row>div:nth-child(3)>div {
    padding-bottom: 0px
}

body>div.container>div>div:nth-child(4)>div>div.row>div>div>h3 {
    margin-top: 0px;
}

#liquid_form>div.container>div.row>div:nth-child(3)>div {
    padding-bottom: 0px;
}

#mainContent {
    padding-bottom: 0px;
}

#mainContent>div>div>div>div:nth-child(2) {
    padding-bottom: 0px;
}

#liquid_form>div.container>div.row>div:nth-child(3)>div {
    padding-bottom: 0px;
    /* Removed height to fix bug with group cards not fitting */
    /* height: 50px;   */

}

/* Accessibility */

/* Border shadows for the color picker */
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover,
.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}


/* Rich text editor Icons fade to gray fix expanded styles */
.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
    stroke: #444 !important;
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {
    fill: #444 !important;
}


.ql-snow .ql-picker.ql-expanded .ql-picker-label {
    color: #444;
    z-index: 2;
}

.pagination>li>a,
.pagination>li>span {
    background-color: transparent;
    border: 0px;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: black !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: #247C86 !important;

}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>a {
    color: white !important;

}

#liquid_form>div.homecontainer>div.row>div:nth-child(2)>ul>li>a {
    color: black
}

#liquid_form>div.homecontainer>div.row>div:nth-child(2)>ul>li.active>a {
    color: white
}

/*nav bar*/

.navMinHight {
    min-height: 80px;
    padding-top: 30px;
}

.navNoBorder {
    border: 0px;

}

.navText {
    color: #393939;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    font-size: 20x;

    background-color: #247C86;
    /* 16AD85 Replacement WCAG */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
}


.navTexthover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
    border-left-width: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0em;

}

.navTexthover:hover {
    background-color: white;
    color: black;
    border: 2px solid #247C86;
    border-left-width: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 4em;

}

.card-title :hover {
    color: #247C86;
}

.like-icon,
.unlike-icon {
    cursor: pointer;
}

.pt-3,
.pt-1 {
    padding-top: 1rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.sorting-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: 15px;
    border-bottom: 2px solid #e9e9eb;
    margin-bottom: 0.5rem;
}



.btn-default {
    color: #247C86 !important;
    background-color: #fff;
    border-color: #247C86 !important;
}

.btn-default:focus,
.btn-default:hover {
    color: black !important;
    background-color: #e6e6e6;
    border-color: #247C86 !important;
}

.btn-primary.disabled:hover,
.btn-primary.disabled:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary.focus {
    background-color: #247C86;
    border-color: #247C86;
}

.btn-primary.custom-btn {
    margin-right: 10px;
    border: solid 2px transparent;
    background: transparent;
    color: inherit;
    transition: border-color 0.3s ease-in-out;
    border-radius: 8px;
}

.btn-primary.custom-btn:hover {
    color: inherit;
    background-color: transparent;
    border-color: #ffffff;
}

.btn-primary.custom-btn:focus,
.btn-primary.custom-btn.focus {
    color: inherit;
    background-color: transparent;
    border-color: #ffffff;
}

.btn-primary.custom-btn:active,
.btn-primary.custom-btn.active {
    color: inherit;
    background-color: transparent;
    border-color: #247C86;
}

.btn-primary.custom-btn-selected {
    margin-right: 10px;
    border: solid 2px transparent;
    background: transparent;
    color: inherit;
    transition: border-color 0.3s ease-in-out;
    border-radius: 8px;
    border-color: #247C86;
}

.btn-secondary {
    border-radius: 4px;
}

.btn-success {
    background-color: #247C86;
    color: white;
    border-color: #247C86;
    float: right;
    border-radius: 4px;
    margin-left: 10px;
}

.panel-title {
    padding: 5px 20px 5px 20px;
    border-bottom: 4px solid #D1ECF6;
}

.panel-default {
    border-color: #E7E7ED;
    color: #6B6C7E;
    border-radius: 0.5rem;
}

.panel-body {
    padding: 15px
}

#thread-header {
    background-color: #D0EFE7;

    border-radius: 10px 10px 0 0;
    color: black;
}

.panel-primary {
    border-color: white;

    border-radius: 14px 14px 10px 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.glyphicon-menu-right,
.glyphicon-menu-down {
    float: right
}

.btn-success:focus,
.btn-success:hover,
.btn-success:active {
    color: black;
    background-color: #ffffff !important;
    border-color: #1b5b63 !important;
}

/* General style for glyphicon pencil */
.editable-image a[data-target="#background-image-modal"] .glyphicon-pencil,
.editable-image a[data-target="#profile-picture-modal"] .glyphicon-pencil {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: black;
    color: #16AD85;
}

.editable-image a[data-target="#background-image-modal"] .glyphicon-pencil::before,
.editable-image a[data-target="#profile-picture-modal"] .glyphicon-pencil::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#background-image>a {
    display: none;
}

/* Additional specific selectors for scenarios where the span is used instead of glyphicons directly under the anchor tags */
#liquid_form>div.container>div.row>div>div>div.editable-image>a>span,
#mainContent .editable-image>a>span.glyphicon-pencil,
#mainContent .editable-image>div>a>span.glyphicon-pencil {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: black;
    color: #16AD85;
}

#mainContent .editable-image>a>span.glyphicon-pencil::before,
#mainContent .editable-image>div>a>span.glyphicon-pencil::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* zoomed in navbar  */

.navbar-inverse .navbar-nav>li>a {
    color: black !important;
}


.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: black !important;
    background-color: transparent !important;
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus {
    color: black !important;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: black !important;
    border-bottom: 4px solid #247c86 !important;
    padding-bottom: 6px;
}


.h4 {
    font-weight: 700;
    text-decoration: underline;
    color: #393939;
}

.h4:hover {
    text-decoration-thickness: 0.2em;
}

.tags-check {
    height: 14px;
    width: 14px;
    margin-top: 6px;
}

.tag-label {
    font-size: 1.75rem;
    color: #393939;
    font-weight: 400;
}

/*screen size*/
.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

@media (min-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 90%;
    }

}

@media (min-width: 768px) {
    .container {
        width: 90%;
    }
}

/*Home container*/
.homecontainer {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
    .homecontainer {
        width: 65%;
    }
}

@media (min-width: 992px) {
    .homecontainer {
        width: 65%;
    }

}

@media (min-width: 768px) {
    .homecontainer {
        width: 75%;
    }
}

/*search box*/
/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    #q.form-control {
        width: 50.6px;

    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    #q.form-control {
        width: 50.6px;

    }
}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1024px) {
    #q.form-control {
        width: 100.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1231px) and (max-width: 1310px) {
    #q.form-control {
        width: 150.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1311px) and (max-width: 1450px) {
    #q.form-control {
        width: 350.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1451px) and (max-width: 1500px) {
    #q.form-control {
        width: 450.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1501px) and (max-width: 1660px) {
    #q.form-control {
        width: 550.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1661px) and (max-width: 1730px) {
    #q.form-control {
        width: 650.6px;

    }
}

/* Media Query for Laptops and Desktops */
@media (min-width: 1731px) and (max-width: 1870px) {
    #q.form-control {
        width: 750.6px;

    }
}

/* Media Query for Large screens */
@media (min-width: 1871px) {
    #q.form-control {
        width: 850.6px;

    }
}



.btn-standard {
    border-radius: 5px;
    color: #fff;
    background-color: #247C86;
    border-color: #247C86;
    box-shadow: none;
    float: right;
    width: auto;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
}

.btn-standard:hover {
    background-color: #184d53;
    color: white;
    text-decoration: none;
}

.blogbtn {
    margin-right: 20px;
}

.col-md-12 {
    padding-bottom: 20px;
}

.modal-dialog.modal-90w {
    max-width: 90% !important;
    width: 90% !important;
}

footer .footer-bottom ul li {
    text-align: justify;
    display: inline;
    border-right: solid 1px #000;
    padding: 0px 5px;
    padding-left: inherit;
}

footer .footer-bottom ul li:last-child {
    border-right: none;
}

/* Blog favourite Icon */
.icon-container {
    display: inline-block;
    cursor: pointer;
}

.icon-wrapper {
    display: inline-block;
    vertical-align: middle;
    /* Align the icon and text vertically */
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: -4px;
    /* Adjust the vertical alignment of the icon */
}

.icon-text {
    font-size: 14px;
    font-weight: bold;
    /* Make the text bold */
    display: inline-block;
    /* Display the text as a block element */
    vertical-align: middle;
    /* Align the text vertically */
}


/* Home page welcome message and texts */

#mainContent>div>span {
    margin-left: 10px;
    margin-right: 10px;
}

#mainContent>div>h1>span {
    display: block;
}

#mainContent>div>h1 {
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0px;
    margin-top: 0px;
}

#mainContent>div>p {
    margin-left: 10px;
    margin-right: 10px;
}


#mainContent>div {
    padding-bottom: 10px;
    padding-top: 10px;
}

#mainContent>div>ul {
    margin-right: 10px;
}

/* Community Cards */
.col-lg-10.col-md-9.col-sm-9.col-xs-9.d-flex.flex-col>h2 {
    margin-top: 0px;
}

#eace1ef3-a54c-ee11-be6f-6045bdd2c818>div>div>div.col-lg-10.col-md-9.col-sm-9.col-xs-9.d-flex.flex-col>h2 .blog-image {
    width: 30%;
    float: left;
    margin: 0.25rem 1rem 0.25rem 0;
}


.dropdown-toggle {
    color: black;
}


h1>span:first-child {
    display: none;
}

.forum-header {

    color: #247C86;
    font-size: medium;
    font-family: "Source Sans Pro", sans-serif;
    margin-top: 20px;
}

.forum-welcome-bullets {
    font-size: medium;
    font-family: "Source Sans Pro", sans-serif;
}

.forum-bullet {
    height: 24px;
}

.page-copy {
    margin-left: 15px;
    margin-right: 15px
}

.librarytext {
    color: #247C86;
}

/* Accessibility for adding files */
input[type="file"] {
    display: none;
}

.welsh-custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.english-custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

/* Accessibility for adding files */

.no-border {
    border: none;
}

.support-links-heading {
    margin-left: 17px;
}

.sup-nav-item>a {
    color: #393939;
    border-radius: 30px;
}

.sup-nav-item:hover {
    color: #247C86;
}

.sup-nav-item>a:hover {
    color: #247C86;
    border-color: #247C86;
    border-style: solid;
    border-width: thin;
    background-color: transparent;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ED0707;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 8px 8px;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
}

.svg-arrow-container {
    display: inline-block;
    cursor: pointer;
    text-decoration: none !important;
    /* Remove underline */
}

.svg-arrow-active {
    fill: #339999;
    /* Active color */
}

.svg-arrow-inactive {
    fill: grey;
    /* Inactive color */
}

.svg-arrow {
    margin-left: -5px;
    width: 11.25px !important;
    /* 15px * 0.75 */
    height: 22.5px !important;
    /* 30px * 0.75 */
}

.svg-descending-arrow-down {
    margin-top: 6px;
}

.svg-ascending-arrow-up {
    margin-bottom: 6px;
}

.btn-active {
    background-color: #247C86;
    border-color: #247C86;
    color: white;
}

.btn-inactive {
    background-color: white;
    border-color: #247C86;
    color: #247C86;
}

.member-connection-p {
    background-color: white;
    border-color: #247C86;
    color: #247C86;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #247C86;
    padding: 6px 12px !important;
    font-size: 15px;
    line-height: 1.42857;
    border-radius: 0;
    margin: 0;
    box-sizing: border-box;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-indent: 0px;
    text-shadow: none;
    padding-block: 1px;
    padding-inline: 6px;

}

.my-connections-search {
    width: 100%
}

.icon-small {
    height: 25px;
    margin-right: 10px;
    margin-bottom: 5px;
}

/* searchbar for news*/

#entitylist-navbar-f64dc996-ea53-ee11-be6f-6045bdd2c5f9\ >div>form>div>input:nth-child(2) {
    height: 37px;
    width: 1200px;
}

/* searchbar for blogs*/

#entitylist-navbar-d670e174-b053-ee11-be6f-6045bdd2c818\ >div>form>div>input:nth-child(2) {
    height: 37px;
    width: 1200px;
}

/* searchbar for members*/

#entitylist-navbar-e0f92bbf-c34f-ee11-be6f-6045bdd2c3a2\ >form>div>input:nth-child(2) {
    height: 37px;
    width: 1200px;
}

/* styling for listview for News and Blogs */

.listview {
    width: 1400px;
    height: auto;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    border-width: 3px;
    padding: inherit;
    margin: inherit;
}

.list-title {
    font-weight: bold;
    text-decoration: underline;
    font-family: Source Sans Pro, sans-serif;
}

.list-item-image img {
    max-width: 200px;
    margin-right: 20px;
    margin: 20px;
}

.list-item-content {
    flex-grow: 1;
}

.list-item h3 {
    margin-top: 0;
}

.list-item-meta {
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: #322e2e;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
}

.list-item-icons {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.list-item-icons span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}


.forum-list-item-image img {
    max-width: 35px;
    margin: 40px;
}

.forum-list-item-content {
    flex-grow: 1;
}

.forum-list-item h3 {
    margin-top: 0;
}

.forum-list-item-meta {
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-size: 1.5rem;
    text-align: left;
    color: #322e2e;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
}

.forum-list-item-icons {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.forum-list-item-icons span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.layout-buttons {
    display: flex;
    justify-content: end;
}

/* styling for columnlist for Members */
.columnlist {
    height: auto;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    border-width: 3px;
    padding: inherit;
    margin: inherit;
}

/*loading spinner*/

.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: gray;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {

    0%,
    20%,
    80%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

.full-width-form {
    width: 100%;
}

.full-width-input-group {
    display: flex;
    /* Ensure the input group fills the form */
    width: 100%;
}

.input-group>.form-control {
    width: 100%;
    /* Allows the input to fill the flex space */
    flex-grow: 1;
    /* Flex grow to fill available space */
}

.list-search {
    width: 100%
}

.container .row .col-md-12 h1 {
    display: inline-block;
    /* Make the title inline */
    margin-bottom: 20px;
    /* Add some bottom margin */
}

/* Media query for responsive design */
@media (max-width: 768px) {

    /* Adjust styles for images on smaller screens */
    .communitybgchild,
    .community-image-left,
    .community-image-right {
        height: auto;
        border-width: 10px;
        padding: 10px;
        float: none;
        width: auto;
        margin: 0;
        /* Reset margin for smaller screens */
    }

    /* Adjust text alignment and font size for smaller screens */
    .communityhometext {
        font-size: 14px;
        margin-left: 0;
    }


}

/* Search Bar CSS - CJ */
.container-search {
    display: flex;
    padding: 15px;
    align-items: flex-start;
    width: 100%;
}

/* Sidebar */
.filter-button-container {
    display: flex;
}

.filter-dropdown {
    border: 1px solid #ccc;
    width: 300px;
    font-family: Arial, sans-serif;
    margin-right: 20px;
}

.filter-heading {
    font-weight: bold;
    padding: 10px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    position: relative;
}

.filter-heading::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
}

.filter-heading.collapsed::after {
    content: '\25B6';
    /* Right arrow */
}

.filter-options {
    padding: 10px;
    display: block;
}

.filter-options.hidden {
    display: none;
}

.filter-option {
    margin: 5px 0;
}

.filter-option input {
    margin-right: 8px;
}

.clear-all {
    margin-right: 5px;
}

.container-search .search-content {
    width: 100%;
}

.container-search .results-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: 15px;
    border-bottom: 2px solid #e9e9eb;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.container-search .results-header button {
    margin-right: 10px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 5px;
}

/* Adjustments for search bar specific to this layout */
.container-search .search {
    position: relative;
    display: flex;
}

.container-search .searchTerm {
    width: 100%;
    border: 3px solid #247C86;
    border-right: none;
    padding: 5px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #247C86;
}

.container-search .searchButton {
    width: 40px;
    height: 39px;
    border: 1px solid #247C86;
    background: #247C86;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

.results-display {
    display: flex;
    flex-direction: column;
}

.result-card {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.user-avatar-search {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.user-avatar-search img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 16px;
}

.user-joined {
    font-size: 14px;
    color: #555;
}

.tag-community {
    vertical-align: middle;
    margin-right: 0.25rem;
    border-radius: 5000px;
    width: 32px;
    height: 32px;
}

/*Activity and Favourites cards */

#card p {
    margin-top: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

#card h2 {
    padding-left: 15px;
    padding-right: 15px;
}


/* Header Search */

.search {
    display: flex;
}

.header-search {
    width: 40%;
}

.header-search .searchTermHeader {
    width: 80%;
    border: 3px solid #247C86;
    border-right: none;
    padding: 5px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #247C86;
}

.header-search .searchButtonHeader {
    width: 40px;
    border: 1px solid #247C86;
    background: #247C86;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}

/* Spinner Styling */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /* Adjust to match your layout */
    width: 100%;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #247C86;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.circle-group {
    background-color: #fff;
    border: 1px solid black;
    height: 85px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    float: left;
    background-size: cover;
    margin: 10px;
}

.group-list-item-content h3 {
    margin-top: 0;

}

.search-tag {
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.42857;
    font-weight: 600;
    color: #272833;
    border: 2px solid var(--theme-color, #247C86);
    box-sizing: border-box;
    background: #F1F2F6;
    padding: 5px 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: default;
    white-space: normal;
    user-select: none;
    font-family: inherit;
    text-align: center;
}

.search-tag .clear-icon {
    margin-left: 8px;
    font-weight: 600;
    cursor: pointer;
    color: #272833;
    transition: color 0.2s ease;
}

.search-tag .clear-icon:hover {
    color: var(--theme-color, #247C86);
}

.user-card {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.user-card-header {
    height: 130px;
    background-size: cover;
    background-position: center;
    position: relative;
}


.user-avatar {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.user-icon {
    width: 40px;
    height: 40px;
    fill: #00695c;
}



/*
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    background-repeat: no-repeat;
}
*/
.circle {
    background-color: #fff;
    border: 1px solid black;
    height: 85px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;


    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    float: left;
    background-size: cover;
}

.card-content {
    flex: 1;
    /* Fill the remaining space */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.user-avatar {
    width: 90px;
    height: 90px;
}

.card.user-card {
    min-height: 320px;
    max-height: 360px;
}


.card-detail-entry {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}


.notification-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ff4d4f;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.notification-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #247C86;
    padding: 16px 16px 16px 48px;
    margin-top: 12px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.notification-card:hover {
    background-color: #f9f9f9;
}

.notification-card p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.notification-delete-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%) rotate(45deg);
    cursor: pointer;
}

.notification-delete-icon::before,
.notification-delete-icon::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    width: 2px;
    height: 14px;
    background-color: #ff4d4f;
    transition: background-color 0.2s;
}

.notification-delete-icon::after {
    transform: rotate(90deg);
}

.notification-delete-icon:hover::before,
.notification-delete-icon:hover::after {
    background-color: #d9363e;
}

/* Blog Changes */

.card {
    min-height: 650px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: .25s box-shadow;
    transition: .25s box-shadow;
}


.card-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}


.card-title-blog,
.card-description {
    margin-bottom: 0.5rem;
}


.card-meta {
    margin-top: auto;
}

.card-footer {
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.card-img-top {
    height: 250px;
    width: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
    margin: 0;
    padding: 0;
}

/* Clamp title to 1 line */
.card-title-a {
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.card .list-group-item {
    display: flex;
    align-items: center;
}

.blog-card-icon {
    width: 60px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header NavBar Styles */
@media (max-width: 767px) {
    .navbar-collapse {
        width: 100% !important;
        padding: 10px 15px;
    }

    .nav.navbar-nav {
        display: block;
        width: 100%;
    }

    .nav.navbar-nav>li {
        float: none;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        position: relative;
        /* Needed for badges */
    }

    .header-search {
        width: 100%;
        margin: 10px auto;
    }

    .search {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .searchTermHeader {
        flex: 1;
        min-width: 0;
        padding: 6px 10px;
    }

    .searchButtonHeader {
        padding: 4px 8px;
    }

    .menu-bar {
        flex-direction: column !important;
        align-items: center;
    }

    .navbar-right {
        text-align: center;
        padding: 10px;
    }

    .navbar-toggle {
        margin-right: 15px;
        background-color: #000;
        border: none;
    }

    .header-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 10px 0;
        position: relative;
    }

    .dropdown-menu {
        text-align: left;
    }

    .notification-icon {
        position: relative;
        display: inline-block;
        margin: 0 10px;
    }

    .icon-container {
        position: relative;
        display: inline-block;
        width: 30px;
        /* Optional: force consistent icon size */
        height: 30px;
    }

    .icon-container img {
        width: 100%;
        height: auto;
        display: block;
    }

    .notification-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        background-color: red;
        color: white;
        font-size: 10px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        text-align: center;
        line-height: 18px;
        padding: 0;
        /* remove padding to ensure perfect circle */
        font-weight: bold;
    }


}

@media (max-width: 500px) {
    .sorting-container {
        flex-direction: column !important;
    }

    .btn-addblogpost {
        margin-left: 10px;
    }
}

/*Harry B blog post feedback changes 02.06.2025*/
/* Top-level comments */
.blogfeedback {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.blogfeedback-reply {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 12px 0 0 20px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
}

.reply-container {
    margin-top: 15px;
    padding-left: 10px;
    border-left: 3px solid #ddd;
    padding-bottom: 5px;
}

.comment-container {
    margin-top: 10px;
}

.feedback-meta {
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
}

.btn-danger, .btn-primary {
    word-break: keep-all;
    font-size: 13px;
    font-weight: 600;
    font-family: "Source Sans Pro", sans-serif;
    margin-right: 5px;
}
/* Forum post edit button remove margin */
#forum-posts > div:nth-child(1) > div.panel-body > div.thread-content.justify-space > span:nth-child(2) > button {
    margin-right: 0px;
}
[id*="dropdownMenu"] {
    margin-right: 0px;
}
 