@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif !important;
}

:root {
  --portalThemeColor1: #F22222;
}

.navbar-toggle {
    border-radius: 8px;
}

h2 {
    display: none;
}

div.page-head {
    width: 100%;
}

.container {
    width: 100%;
}

.form-readonly.entity-form {
    padding-left: 16px;
    padding-right: 16px;
}

.crmEntityFormView {
    border: none;
}

.form-action-container-left {
    float: right;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
}


.tab-column {
    flex: 1;
    max-width: calc(33.33% - 20px);
    min-width: 300px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    margin-bottom: 20px;
}

.tab-column:last-child {
    margin-right: 0;
}

html[dir=ltr] .crmEntityFormView .tab .tab-column:first-child {
    padding-left: 20px;
    padding-right: 20px;
}

html[dir=ltr] .crmEntityFormView .tab .tab-column {
    padding-left: 20px;
    padding-right: 20px;
}

.col-sm-6.clearfix:has(.form-action-container-right) {
    display: none;
}

fieldset {
    border: none;
    margin: 0;
}

legend {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0;
}

.text.form-control,
.textarea.form-control {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.text.form-control:focus,
.textarea.form-control:focus,
.text.form-control:hover,
.textarea.form-control:hover {
    border-color: var(--portalThemeColor5);
    box-shadow: 0 0 10px var(--portalThemeColor5);
    outline: none;
    background-color: #ffffff;
}

.text-muted {
    display: none;
}

.row.two-columns .tab-column {
    max-width: calc(50% - 20px);
}

.actions input[type="button"] {
    margin-left: 10px;
    margin-right: 0;
    padding: 6px 20px;
    float: right;
}

/*form styles end here */

@media (min-width: 768px) {
    .col-sm-6 {
        width: 100%;
    }
}

/* Member Search Styles */

div.page-head {
    width: 100%;
}

.container {
    width: 100%;
}

.btn.btn-default.btn-hg {
    height: 35px;
}

.entitylist {
    border: none;
    background-color: transparent;
}

/* Panel Start */
.panel {
    gap: 12px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #253036;
}

.panel-default > .panel-body {
    background-color: #253036;
}

.content-panel.panel-default.entitylist-filter {
    width: 100%;
    box-sizing: border-box;
}

.panel label {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

#dropdown_0 {
    border-radius: 5px;
}

.list-inline>li {
    width: 100%;
}

/* panel End */

/* List Start */

.entity-grid .view-grid {
    border-radius: 10px;
    background: ghostwhite;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

.entitylist-filter-option-text {
    width: 100%;
}

.input-group-addon:first-child {
    display: none;
}

.input-group .form-control:first-child {
    border-bottom-left-radius: 9px;
}

.pull-right.toolbar-actions {
    width: 33%;
}

.grid-actions {
    border-bottom: none;
    margin-bottom: 9px;
    padding-bottom: 9px;
}

.input-group.pull-left.view-search.entitylist-search {
    width: 100%;
}

th[aria-label="Actions"] {
    display: none;
}

td[aria-label="action menu"] {
    display: none;
}

td a {
    color: #315ea9;
}

a.details-link.has-tooltip:hover {
    text-decoration: none;
    color: var(--portalThemeColor1);
}

/*

tbody tr:hover {
    background-color: #e0e0e0 !important;
}
    */

thead {
    background-color: var(--portalThemeColor1);
    color: var(--portalThemeColor7);
}

.pagination>.disabled>a {
    display: none;
}

ul.pagination {
    background-color: ghostwhite;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
    max-width: fit-content;
    margin: 10px auto;
}

.table {
    margin-bottom: 0px;
}

.table>tbody>tr>td {
    vertical-align: middle;
}

/* List End */

/* List Headers */
.sort-disabled {
    font-weight: bold;
    text-decoration: underline;
    color: inherit;
    cursor: default;
}

a[role="button"] {
    font-weight: bold;
    color: var(--portalThemeColor7);
}

/* List Headers End */

/* Member Profile Styles */
@media (max-width: 768px) {
    .row {
        flex-wrap: wrap;
    }

    .tab-column {
        max-width: 100%;
        padding-right: 20px;
        margin-bottom: 20px;
    }

    html[dir=ltr] .crmEntityFormView .tab .tab-column {
        padding-right: 20px;
    }
}

/* form styles start here */
h2 {
    display: none;
}

div.page-head {
    width: 100%;
}

.container {
    width: 100%;
}

.form-readonly.entity-form {
    padding-left: 16px;
    padding-right: 16px;
}

.crmEntityFormView {
    border: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
}

.tab-column {
    flex: 1;
    max-width: calc(33.33% - 20px);
    min-width: 300px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    margin-bottom: 20px;
}

.tab-column:last-child {
    margin-right: 0;
}

html[dir=ltr] .crmEntityFormView .tab .tab-column:first-child {
    padding-left: 20px;
    padding-right: 20px;
}

fieldset {
    border: none;
    margin: 0;
}

legend {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0;
}

.text.form-control,
.textarea.form-control {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f3f3f3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.text.form-control:focus,
.textarea.form-control:focus,
.text.form-control:hover,
.textarea.form-control:hover {
    border-color: var(--portalThemeColor5);
    box-shadow: 0 0 10px var(--portalThemeColor5);
    outline: none;
    background-color: #ffffff;
}

.text-muted {
    display: none;
}

.row.two-columns .tab-column {
    max-width: calc(50% - 20px);
}

.actions input[type="button"] {
    margin-left: 10px;
    margin-right: 0;
    padding: 6px 20px;
    float: right;
}

/*form styles end here */

/* toggle styles start here */
.toggle-group {
    display: inline-flex;
    gap: 10px;
    margin: 8px 0;
}

.toggle-button {
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f3f3f3;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    user-select: none;
}

.toggle-button:hover {
    border-color: #007bff;
}

label[for^="flexchbr_"][for*="displayinmemberdirectory"] {
    display: none !important;
}

.toggle-btn.selected {
    background-color: inherit;
    border: none;
}

.toggle-button.active {
    background-color: var(--portalThemeColor1);
    border-color: var(--portalThemeColor1);
    color: white;
}

/*toggle styles end here */

/* Contact List Start */

.entity-grid .view-grid {
    border-radius: 10px;
    background: ghostwhite;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

.entitylist-filter-option-text {
    width: 100%;
}

.input-group-addon:first-child {
    display: none;
}

.input-group .form-control:first-child {
    border-bottom-left-radius: 9px;
}

.pull-right.toolbar-actions {
    width: 33%;
}

.grid-actions {
    border-bottom: none;
    margin-bottom: 9px;
    padding-bottom: 9px;
}

.input-group.pull-left.view-search.entitylist-search {
    width: 100%;
}

th[aria-label="Actions"] {
    display: none;
}

td[aria-label="action menu"] {
    display: none;
}

td a {
    color: #315ea9;
}

.entity-grid.entitylist tbody tr a:hover {
    text-decoration: none !important;
    color: var(--portalThemeColor1) !important;
}

.view-grid.table-responsive tbody tr:hover {
    background-color: #e0e0e0;
}


thead {
    background-color: var(--portalThemeColor1);
    color: var(--portalThemeColor7);
}

.pagination>.disabled>a {
    display: none;
}

ul.pagination {
    background-color: ghostwhite;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
    max-width: fit-content;
    margin: 10px auto;
}

.table {
    margin-bottom: 0px;
}

.table>tbody>tr>td {
    vertical-align: middle;
}

/* Contact List End */

/* List Headers */

.btn.btn-default.btn-hg {
    height: 35px;
}

.input-group.pull-left {
    float: right !important;
    margin-top: 10px;
}

.sort-disabled {
    font-weight: bold;
    text-decoration: underline;
    color: inherit;
    cursor: default;
}

a[role="button"] {
    font-weight: bold;
    color: var(--portalThemeColor7);
}

/* List Headers End */

/* Member Details Styles */
h2 {
    display: none;
}

div.col-md-12.columnBlockLayout {
    width: 100%;
}

.container {
    width: 100%;
}

.form-readonly.entity-form {
    padding-left: 16px;
    padding-right: 16px;
}

.crmEntityFormView {
    border: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
}

.tab-column {
    flex: 1;
    max-width: calc(33.33% - 20px);
    min-width: 300px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    margin-bottom: 20px;
}

.tab-column:last-child {
    margin-right: 0;
}

html[dir=ltr] .crmEntityFormView .tab .tab-column:first-child {
    padding-left: 20px;
    padding-right: 20px;
}

fieldset {
    border: none;
    margin: 0;
}

legend {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    margin-top: 0; 
}


.text.form-control {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f3f3f3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.textarea.form-control {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f3f3f3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.text-muted {
    display: none;
}

.row.two-columns .tab-column {
    max-width: calc(50% - 20px);
}

@media (max-width: 768px) {
    .row {
        flex-wrap: wrap;
    }
    .tab-column {
        max-width: 100%;
        padding-right: 20px;
        margin-bottom: 20px;
    }
    html[dir=ltr] .crmEntityFormView .tab .tab-column{
        padding-right: 20px;
    }
}


/* Custom styling */

.navbar-static-top.navbar-inverse {
    padding: 10px;
    background-color: #F22222;
}

h1.siteTitle {
    font-weight: 600;
}

.btn-default {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #F22222;
    background-color: white;
    border-color: white;
    border-radius: 50px;
}

.btn-default:hover {
    background-color: #253036;
    border-color: #253036;
    color: #fff;
}

.button1 {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #F22222;
    background-color: white;
    border-color: white;
    font-size: 23px;
    padding: 9.5px 38px 9.5px 38px;
    border-radius: 50px;
    margin-top: 16px;
}

.button1:hover {
    background-color: #253036;
    border-color: #253036;
    color: #fff;
}

h1 {
    font-weight: 700;
}

h4 {
    font-weight: 400;
}

footer .footer-bottom {
    background-color: #253036;
    color: white;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a {
     -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #F22222;
    background-color: white;
    border-color: white;
    border-radius: 50px;
    font-weight: 700;
    padding: 8px 30px;
    margin: 8px 10px;
    font-size: 16px;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a:hover {
    background-color: #253036;
    border-color: #253036;
    color: #fff;
    text-decoration: none;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
    display: none;
}

/* Override default font (it should not be marked !important!) to fix Font Awesome icons */
.fa {
    font-family: 'Glyphicons Halflings' !important;
}

