/* @media screen and (max-width: 500px) {
    div.page-wrapper.members table .clan,
    div.page-wrapper.members table .country {
        display: none;
    }
} */

html {
    height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
    /* font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; */
    font-family: "Graphik", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "pt-sans-bold", sans-serif;
    font-size: 1.5em;
}

.list-image {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    /* background-image: url("../images/user.png"); */
}

.form-title {
    background-color: #9c27b08f;
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 10px;
    width: 150px;
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
    letter-spacing: 1.5px;
}

.content {
    overflow-y: scroll !important;
    flex: 1 1 100px;
}

.controls {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 10px;
}


/* .control-label {
    font-size: small;
    color: rgb(0 0 0 / 42%);
} */

.enabled {
    color: green;
}

.disabled {
    color: red;
}

div.filter.row {
    margin: 0;
    width: 100%;
}

div.no-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    text-align: center;
    text-transform: uppercase;
    border-top: 3px solid #76ff03;
    border-bottom: 3px solid #76ff03;
    padding: 8px 20px;
    background-color: #76ff0347;
    color: green;
    font-weight: 600;
    width: 90%;
    max-width: 600px;
    align-self: center;
    margin: 30px auto;
    position: relative;
    letter-spacing: 3px;
}

div.no-info i {
    font-size: 30px;
}

.edit-mode {
    background-color: #ccff9042 !important;
    border-radius: 8px !important;
    padding-left: 5px !important;
}

.flex-it {
    display: flex;
    flex-wrap: wrap;
}

ul.dropdown-content {
    /* width: 40%; */
    width: fit-content;
    min-width: 150px;
    max-width: 150px;
}

.menu-controls {
    display: flex;
}

.menu-controls i {
    flex: 0 1 100px;
    justify-content: space-around;
    padding: 3px;
    color: #0000006e;
    /* background: red; */
    margin-left: 5px
}

.notification-wrapper {
    position: relative;
}

.notification-count {
    position: absolute;
    top: 8px;
    right: 0px;
    /* border: 1px white solid; */
    border-radius: 50%;
    padding: 7px 2px;
    font-size: 1em;
    line-height: 1em;
    background: red;
    width: 30px;
    height: 30px;
    text-align: center;
}

.selected {
    background-color: #9c27b08f !important;
}


/* Body Wrapper #################################### */

article.body-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Header ##########################################*/

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
    align-items: center;
    background-color: #6a008a;
    height: 70px;
    min-height: 70px;
    color: white;
}

header i {
    padding: 5px;
}

header nav {
    background-color: #6a008a;
    padding-left: 10px;
    padding-right: 15px;
    height: 100%;
    line-height: 70px;
    box-shadow: none;
    width: 100%;
}

header .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    position: relative;
}

header .header-left-group {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
}

header ul.menu-btn {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

header ul.menu-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    color: #ffffff;
}

header ul.menu-btn li.btn-previous-page {
    overflow: hidden;
    transition: flex .7s ease;
}

.hide-btn {
    flex: 0 0 0px;
}

.show-btn {
    flex: 0 0 34px;
}

header .brand-logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

header nav .brand-logo.company-logo {
    position: static !important;
    transform: none !important;
    left: auto !important;
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin: 0 !important;
    display: block;
    border-radius: 4px;
}

#topbar-hubs-item {
    display: flex;
    align-items: center;
    height: 100%;
}

#topbar-hubs-item .btn-my-hubs-top {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 13px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    height: 36px;
    line-height: 36px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    margin: 0;
}

#topbar-hubs-item .btn-my-hubs-top:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
}

#topbar-hubs-item #topbar-active-hub-name {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    line-height: 36px;
}

#topbar-hubs-item .btn-my-hubs-top i.material-icons {
    font-size: 20px;
    line-height: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

header nav ul.right {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

header nav ul.right li {
    display: flex;
    align-items: center;
    height: 100%;
}

header .nav-wrapper a.btn-notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
    color: #ffffff;
    position: relative;
}

header img,
header div.mast {
    margin-right: 10px;
}


/* Registration Card ######################### */

article.body-wrapper.registration .card {
    background-color: #0000007a;
    color: white;
}

article.body-wrapper.registration figure {
    width: 100%;
}

article.body-wrapper.registration .datepicker-calendar-container,
article.body-wrapper.registration .datepicker-calendar-container input.select-dropdown {
    color: black !important;
}


/* article.body-wrapper.registration input,
article.body-wrapper.registration input.select-dropdown,
article.body-wrapper.registration input#user-phone {
    color: white;
} */


/* article.body-wrapper.registration input#user-country {
    color: white;
} */

article.body-wrapper.registration input,
article.body-wrapper.registration textarea {
    color: white !important;
}

article.body-wrapper.registration .select-wrapper .caret {
    fill: white;
}

article.body-wrapper.registration .input-field>label {
    color: #9e9e9e !important;
}

article.body-wrapper.registration {
    padding-top: 2px;
    align-items: center;
    overflow-y: scroll;
    background-image: url("../images/familyhub_bg1.jpg");
    /* filter: blur(8px);
    -webkit-filter: blur(8px); */
    /* Full height */
    height: 100%;
    width: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* z-index: -1; */
}

section.main-register {
    width: 100%;
    max-width: 800px;
}

section.main-register .card-content .row {
    width: 100%;
}


/* Global ########################################## */

.approve-member,
.approve-member i {
    color: green;
}

span.admin-label {
    position: absolute;
    top: 3px;
    right: 15px;
    border: 1px solid #0000007d;
    color: #0000007d;
    padding: .5px 8px;
    border-radius: 6px;
    background: white;
    font-size: .8em;
}


/* .approve-member,
.disable-member,
.enable-member,
.delete-member,
.suspend-member {
    text-align: center;
} */

.row-button {
    text-align: center;
}

body {
    font-size: .9em;
}

.bg-image {
    /* The image used */
    background-image: url("../images/appbackground2.jpg");
    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);
    /* Full height */
    height: 100%;
    width: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.card {
    max-width: 1000px;
    border-radius: 10px;
    flex: 1 0 250px;
    margin: 15px 15px;
}

.card .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* overflow-y: scroll; */
    padding: 10px;
    /* height: 100%; */
    overflow: hidden;
}

.card-action {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
}

.delete-member,
.delete-member i,
.disable-member,
.disable-member i {
    color: red;
}

.page-title {
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}

.card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 15px;
    min-height: 35px;
    /* position: fixed; */
}

.error-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-image img {
    width: 60%;
    max-width: 400px;
}

.fixed-action-btn {
    bottom: 50px;
}

.text-ellipses {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.load-image {
    /* background: url("./images/dots.gif") 50% no-repeat; */
    /* background-image: url("../images/dots.gif"); */
    background-image: url("../images/bouncing_ball.svg");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.removed {
    color: red !important;
}

.admin-member {
    color: blue;
}

.modal-content {
    height: auto !important;
}


/* .statHeight {
    height: 300px !important;
} */


/* Animation ########################################################### */

@keyframes fade {
    from {
        opacity: 1.0;
    }

    50% {
        opacity: 0.1;
    }

    to {
        opacity: 1.0;
    }
}

@-webkit-keyframes fade {
    from {
        opacity: 1.0;
    }

    50% {
        opacity: 0.1;
    }

    to {
        opacity: 1.0;
    }
}

.blink {
    animation: fade 1000ms infinite;
    -webkit-animation: fade 1000ms infinite;
}

div.input-field {
    flex: 1 1 225px;
}

.btn {
    background-color: #2ecc71;
    border-color: #2ecc71;
    max-width: 150px;
    min-width: 100px;
}

.highlight {
    color: #ff8a80 !important;
}

img {
    object-fit: cover;
}

.notification-info {
    background-color: #daffaf;
    color: rgba(0, 0, 0, .7);
}

.notification-error {
    background-color: #ffe57f;
    color: rgba(0, 0, 0, .7);
}

.row {
    /* margin-left: -0.75rem;
    margin-right: -0.75rem; */
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    /* overflow: hidden; */
    width: 100%;
}

#preloader-closed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000a6;
}

#preloader-open {
    height: 2px;
    width: 100%;
    top: 0;
    position: absolute;
    z-index: 1;
}

#preloader-open>div {
    margin: 0;
}

#preloader-splash {
    width: 200px;
}

.small-title {
    font-size: 1.2em !important;
    letter-spacing: 3px;
    border-bottom: solid 1px grey;
}


/* Login Wrapper #################################### */

section.login-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* .company-logo {
    width: 13em;
    margin: 10px 0 5px 5px;
} */

section.login-wrapper div.product-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

section.login-wrapper .association-logo-container {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.login-wrapper .association-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 18px;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

section.login-wrapper .association-name {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    font-size: clamp(1.3rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #1e293b;
    text-align: center;
    margin: 4px 0 12px 0;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    word-break: break-word;
}

section.login-wrapper .app-name {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    background-color: #006dd9;
    color: white;
    padding: 6px 20px;
    text-align: center;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 109, 217, 0.3);
}


/* Main ############################################# */

main {
    /* flex: 1 1 150px; */
    flex: 1;
    /* background: #eceded; */
    background: #eceded82;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
}

main section.main {
    display: flex;
    flex: 1;
    flex-direction: column;
}

main section.main div.page-wrapper {
    /* padding: 10px 0; */
    overflow: hidden;
    height: 100%;
    flex: 1;
    /* overflow-y: scroll; */
}

main section.main div.page-wrapper>div.row {
    height: 100%;
    overflow: hidden;
    margin-bottom: 0;
    flex-direction: column;
}

div.page-wrapper>div.row>div.card {
    overflow: hidden;
    margin: 8px 8px;
    display: flex;
    flex-direction: column;
}

main aside {
    width: 250px;
    /* flex: 1;
    flex: 0 0 250px; */
    height: 100%;
    background: linear-gradient(to bottom, #6a008a 0%, #6a008a 20%, #fa0053 100%);
    color: white;
    overflow: hidden;
    transition: width 0.3s;
}

main aside.close {
    width: 0;
    padding: 0;
    margin: 0;
}

main aside ul#side-menu {
    height: 100%;
    width: 250px;
    color: white;
    overflow-y: scroll;
    margin-top: 0;
    padding-top: 15px;
}

main aside ul#side-menu li {
    padding: 15px 15px;
    border-bottom: solid 0.5px yellow;
    margin-left: 10px;
    width: 90%;
}

main aside ul#side-menu a {
    color: #e8e6e6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

main aside ul#side-menu div.user-view a {
    justify-content: center;
    margin-bottom: 10px;
}

main aside ul#side-menu div.user-view span.user-name,
main aside ul#side-menu div.user-view span.user-email {
    color: #ffffff75;
    font-size: .9em;
}

ul#side-menu div.user-view a img.user-image {
    width: 120px;
    height: 120px;
    align-self: center;
    padding: 5px;
}

main aside ul#side-menu a i {
    /* margin-left: 15px; */
    margin-right: 15px;
}

/* Side Menu My Hubs Section & Submenus */
main aside ul#side-menu li.my-hubs-section {
    padding: 12px 15px;
    border-bottom: solid 0.5px yellow;
    margin-left: 10px;
    width: 90%;
}

main aside ul#side-menu li.my-hubs-section a.my-hubs-title {
    color: #e8e6e6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
    font-weight: 500;
    cursor: default;
    padding: 0;
    line-height: normal;
}

main aside ul#side-menu li.my-hubs-section a.my-hubs-title i {
    margin-right: 15px;
    color: #e8e6e6;
    font-size: 24px;
}

main aside ul#side-menu ul#side-menu-hubs-list {
    margin: 8px 0 4px 0;
    padding: 0;
    list-style: none;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item {
    padding: 6px 8px;
    margin: 3px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item.active {
    background: rgba(255, 255, 255, 0.18);
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item a {
    color: #e8e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.88rem;
    line-height: normal;
    padding: 0;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item.active a {
    color: #ffffff;
    font-weight: 600;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item a span.hub-item-name {
    display: flex;
    align-items: center;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item a span.hub-item-name span.name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item a i.material-icons {
    font-size: 15px;
    margin-right: 8px;
    color: #e8e6e6;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item.active a i.material-icons {
    color: #ffd700;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item a span.active-badge {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #ffd700;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

main aside ul#side-menu ul#side-menu-hubs-list li.hub-nav-item a span.admin-tag {
    color: #ffd700;
    font-weight: 700;
    font-size: 10px;
    margin-left: 4px;
    flex-shrink: 0;
}

main aside ul#side-menu ul#side-menu-hubs-list li.no-hubs-item {
    padding: 6px 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: none;
    width: 100%;
}

.btn-my-hubs-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #e8e6e6;
    font-size: 11px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-my-hubs-switch:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

main div.main {
    flex: 1 1 300px;
    background: #dad9d9;
    padding: 0 10px;
    overflow-y: scroll;
}


/* Form Update Profile */

form.form-fields div.intl-tel-input {
    margin-left: 45px;
    width: 100%;
}

form.form-fields figure {
    width: 100%;
    border: 1px solid white;
    border-radius: 10px;
    padding: 15px;
    background-color: #ffffff40;
    margin-left: 0;
    margin-right: 0;
}

form.form-fields figure div {
    margin: 0;
}

form.form-fields figure div.input-field {
    margin-top: 10px;
}

form.form-fields figure ul.dropdown-content.select-dropdown {
    max-height: 300px;
}

form.form-fields .input-field label.select {
    top: 7px;
}

form#updateProfile .row .user-DOB {
    margin-left: 40px;
}


/* Profile Page Details */

div.profile-pic {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex: 1 1 300px;
    max-width: 250px;
    max-height: 250px;
    position: relative;
    margin-top: 30px;
    align-self: flex-start;
}

div.profile-pic i {
    position: absolute;
    font-size: 1.5em;
    border: 1px solid white;
    padding: 8px;
    border-radius: 5px;
    bottom: 0;
    right: 0;
    background-color: #0000004f;
    color: white;
}

div.profile-pic img.user-image {
    /* width: 100%; */
    border-radius: 20px;
    flex: 1;
    min-width: 228px;
    min-height: 228px;
}

div.profile-pic .progress {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-style: none !important;
    opacity: .5;
    margin: 0;
    border-radius: 20px;
}

div.user-profile {
    display: flex;
    flex-direction: column;
}

div.row.container-family-members {
    margin-left: 0px;
    margin-right: 0px;
}

div.row.container-family-members .card-title {
    flex: 1 0 40px;
    width: 40px;
}

div.profile-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* align-items: center; */
}

div.profile-page div.profile-info>ul:first-of-type {
    flex: 1 1 300px;
    /* max-width: 400px; */
    margin-left: 20px;
}

div.profile-page div.profile-info>ul:last-of-type {
    flex: 1 1 300px;
    /* max-width: 400px; */
    margin-left: 20px;
}

div.profile-page div.profile-info>ul:last-of-type p:first-child {
    margin-right: 40px;
    flex: 1 1 50px;
    max-width: 150px;
}

div.profile-page div.profile-info>ul:last-of-type p:last-child {
    flex: 1 1 150px;
    padding-right: 10px;
    background-color: #6a008a70;
    padding-left: 10px;
    border-radius: 5px;
    height: 2em;
    line-height: 2em;
    color: white;
    margin-right: 20px;
    letter-spacing: 1px;
}


/* div.profile-page div.profile-info>ul:last-of-type p:first-child {
    margin-right: 60px;
    flex: 1;
    max-width: 150px;
} */


/* div.profile-page div.profile-info>ul:last-of-type p:last-child {
    flex: 1 1 100px;
} */

div.input-field.contact-phone {
    display: flex;
}

div.input-field.contact-phone div.intl-tel-input {
    flex: 1;
    display: flex;
}


/* div.contact-phone input#user-phone {
    width: 130px;
} */


/* div.profile-info>ul {
    flex: 1 0 300px;
} */

div.profile-info>ul li {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #8080806e;
    padding: 10px 0;
}

div.profile-info>ul li:last-child {
    border-bottom: none;
}

div.profile-info>ul li p:first-child {
    font-weight: bold;
    margin-right: 10px;
    width: 70px;
}

div.profile-info>ul li.card-action {
    padding-left: 0;
    padding-right: 0;
}

div.profile-info>ul li.card-action div {
    width: 100%;
}

div.row.container-new-family-member {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

ul.family-members img {
    width: 45px;
    margin-right: 15px;
}

ul.family-members td p {
    text-align: center;
    background-color: #6a008a78;
    color: white;
    font-weight: bold;
    font-family: 'Material Icons';
    border-radius: 10px;
    max-width: 100px;
    padding: 5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

ul.family-members tbody td.profile-pic {
    align-items: center;
    justify-content: flex-start;
    display: flex;
}

ul tbody td.subject-name {
    position: relative;
}

ul.family-members td i {
    font-size: 1.5em;
    padding: 5px;
}

ul.family-members td.delete i {
    color: red;
    font-size: 2em;
}

ul.family-members td.info i {
    color: green;
}

li.card-title-control {
    display: flex;
    justify-content: space-between;
}


/*  Admin Modules ################################## */

div.admin-modules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.admin-modules a.module {
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 140px;
    width: 140px;
    border-radius: 20px;
    margin: 8px;
    justify-content: center;
    align-items: center;
    position: relative;
}

div.admin-modules a.module .badge {
    position: absolute;
    top: 0;
    font-size: 1.3em;
    font-weight: 700;
    background-color: red;
    color: white;
    height: 2.5em;
    width: 2.5em;
    text-align: center;
    border-radius: 50%;
    line-height: 2.5em;
    right: 0;
    margin: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

div.admin-modules a.module i {
    font-size: 4em;
}

div.admin-modules a.module span {
    font-size: 1.2em;
    color: #0a0a0a70;
}


/* Directory ######################################## */

div.directory {
    flex: 1;
}

div.directory ul {
    width: 100%;
}

div.directory ul>li {
    /* margin-bottom: 10px; */
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: solid 0.5px #0000007a;
    padding: 10px 10px;
}

div.directory ul a {
    color: black;
    flex: 1;
}

div.directory-name span.last-name {
    font-weight: bold;
    font-size: 1.4em;
}

div.directory p.directory-address {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    width: 100%;
    /* flex: 1; */
}

div.directory span.directory-title {
    font-weight: 600;
    letter-spacing: 3px;
}

div.directory span.directory-country {
    font-weight: bold;
    /* flex: 1 1 50px; */
    letter-spacing: 3px;
    /* font-size: 1.2em; */
}

div.directory span.directory-number {
    /* flex: 1 1 50px; */
    background-color: #6a008a78;
    text-align: center;
    padding-bottom: 3px;
    padding-top: 3px;
    border-radius: 10px;
    color: white;
    max-width: 300px;
    align-self: center;
    min-width: 200px;
    letter-spacing: 1px;
    font-weight: 600
}


/* Transactions ######################################################### */

#transactions {
    width: 100%;
}

#transactions .transactions-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    /* padding: 0 15px; */
}

#transactions .transactions-wrapper .filter-container {
    width: 100%;
}

#transactions ul.trans-history>li {
    display: flex;
    flex-direction: row;
}

#transactions ul.trans-history.header {
    /* border-top: 1px solid black; */
    /* border-bottom: 1px solid #e1bee7; */
    margin-bottom: 0;
    flex: 0 0 10px;
}

#transactions ul.trans-history.body {
    margin-top: 0;
    flex: 1;
}

#transactions ul.trans-history.header>li {
    padding: 8px 5px;
    font-size: 1.1em;
    font-weight: bold;
    /* color: rgba(0, 0, 0, .5); */
    color: white;
    border-bottom: 2px solid #6a008a;
    background-color: #6a008a42;
}

#transactions ul.trans-history.body .trans-row {
    padding: 10px 5px;
    border-top: .5px solid rgba(0, 0, 0, .5);
    border-bottom: .5px solid rgba(0, 0, 0, .5);
}

#transactions ul.trans-history .trans-row-item {
    flex: 1 0 10px;
    margin-left: 5px;
}

#transactions ul.trans-history.header .trans-history-amount,
#transactions ul.trans-history.header .trans-history-status {
    text-align: center;
}

#transactions ul.trans-history.body .trans-history-date {
    text-align: left;
}

#transactions ul.trans-history.body .trans-history-subject {
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#transactions .trans-history.body .trans-history-subject>span {
    display: block;
    font-size: .9em;
    color: #00000047;
}

#transactions ul.trans-history.body .trans-history-amount {
    text-align: right;
    font-weight: bold;
}

#transactions ul.trans-history.body .trans-history-status {
    text-align: center;
}

/*  Message Prompt #################################################################### */
#message-prompt {
    max-height: 300px;
    max-width: 500px;
}

/* Notifications  ...Messages ########################################################## */

#message-card {
    max-width: 500px !important;
}

#message-card .message-details {
    display: flex;
    justify-content: space-between;
    font-weight: 100;
}

#messages {
    width: 100%;
}

.msg-profile-pic-body {
    background-color: #eeeeee;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

#messages .messages-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background-color: white;
    padding: 10px;
}

#messages ul.msg-list {
    width: 100%;
    flex: 1;
    /* overflow-y: scroll; */
    margin-top: 0;
    /* min-height: 80%; */
    ;
}

.notification-msg-item {
    cursor: pointer;
}

.messages-list-item {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: rgba(0, 0, 0, .8);
    width: 100%;
    padding: 1.5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

#messages ul.msg-list>li:last-child {
    border-bottom: none;
}

.message-read {
    color: #bdbdbd;
}

.message-unread {
    color: #ffc107;
}

.messages-list-item div.msg-icon {
    width: 40px;
    align-self: center;
}

.messages-list-item .msg-details {
    width: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    justify-content: center;
}

.messages-list-item .msg-details div.msg-info {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.msg-sender {
    display: block;
    font-weight: bold;
    /* font-size: .8em; */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1 1 150px;
}

.msg-time {
    /* float: right; */
    font-weight: normal;
    font-size: .9em;
    line-height: 2.1em;
    margin-right: 10px;
    margin-left: 10px;
    color: rgba(0, 0, 0, .5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-status {
    font-weight: normal;
    font-size: .9em;
    line-height: 2.1em;
    color: rgba(0, 0, 0, .5);
}

.messages-list-item .msg-details .msg-text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.1em;
}

form#compose-text {
    /* width: 100%; */
    /* flex: .5; */
    /* max-height: 200px; */
    display: flex;
    flex-direction: column;
    /* background: rgba(0, 0, 0, 0.08); */
    background-color: #80808017 !important;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    background-color: white;
    margin: 0 5px 5px;
}

form#compose-text .current-sender {
    display: flex;
    flex-direction: row;
    opacity: .5;
}

form#compose-text .current-sender img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #80808063;
    margin: 5px;
}

form#compose-text .current-sender p {
    padding: 0;
    margin: 0;
    flex: 1;
    align-self: center;
    margin-left: 10px;
    font-weight: bold;
    letter-spacing: .2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

form#compose-text .text-message-container {
    border: none;
    outline: none;
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: row;
}

form#compose-text .message-commands-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

form#compose-text .message-commands-container i {
    margin: 0;
    border-radius: 50%;
    padding: 10px;
}

form#compose-text #text-message {
    font-size: 1.2em;
    padding: 10px;
    resize: none;
    border: none;
    outline: none;
    flex: 1;
    height: auto;
    max-height: 120px;
    overflow-y: scroll;
}

form#compose-text #btn-send-message,
form#compose-text #btn-message-attach {
    align-self: flex-end;
    padding: 5px;
}

/* EVENT SCHEDULER ################################################## */
.events-wrapper table p {
    display: flex;
    justify-content: space-between;
}

table .event-subject {
    font-size: 1.2em;
    font-weight: bold;
}

table .event-time {
    font-size: 1.2em;
}

div.container-new-event .row {
    margin: 0 !important;
    width: 100%;
    max-width: 500px;
}

/* Dashboard ######################################################## */

#dashboard {
    flex: 1;
}

#dashboard .dashboard-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5px 5px 0;
    /* overflow-y: scroll; */
}

#dashboard .dashboard-section {
    margin-top: 10px;
}

#dashboard-amountdue {
    height: 130px;
    background-color: #e0e0e06b;
    border-radius: 20px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#dashboard-amountdue p.dash-title {
    letter-spacing: 8px;
    font-size: 1.2em;
    margin: 10px 0 0;
    color: #6a008a;
}

#dashboard-amountdue .amountdue {
    display: flex;
    letter-spacing: 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    justify-content: center;
    width: 100%;
    text-align: center;
    /* color: #0000008c; */
    color: #6a008a;
}

#dashboard-amountdue .amountdue p {
    display: flex;
    flex: 1;
    justify-content: center;
}

#dashboard-amountdue span.currency {
    font-size: 1.5em;
    font-weight: bold;
}

#dashboard-amountdue span.dash-amountdue {
    font-size: 2.5em;
    font-weight: 500;
    line-height: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: monospace;
    font-weight: bold;
    /* width: 250px;
    flex: 1; */
}


/* #dashboard .make-donation {
    margin-top: 40px;
    margin-bottom: 40px;
} */

#dashboard .make-donation .btn {
    min-width: 250px;
    margin: 40px auto;
    display: block;
}

#dashboard .section-title {
    text-transform: uppercase;
    letter-spacing: .2em;
    text-align: center;
}

#dashboard .event-row div {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#dashboard #upcoming-events .event-row,
#dashboard #debt-profile .event-row {
    display: flex;
    flex-direction: row;
}

#dashboard .dashboard-events.body .event-row {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.2em;
}

#stats.dashboard-section {
    display: flex;
    flex-wrap: wrap;
}

#stats.dashboard-section>div {
    flex: 0 1 500px;
    margin-top: 20px;
}

#upcoming-events .event-row .event-date,
#debt-profile .event-row .event-amount {
    flex: .5 0 100px;
    /* flex: 2 0 50px; */
}

#upcoming-events .event-row .event-description,
#debt-profile .event-row .event-subject {
    /* flex: 2 1 100px; */
    /* flex: 1 0 50px; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    width: 110px;
    flex: 1 2 50px;
}

#upcoming-events .dashboard-events.header,
#debt-profile .dashboard-events.header {
    padding: 8px 5px;
    font-size: 1.1em;
    font-weight: bold;
    /* color: rgba(0, 0, 0, .5); */
    /* color: white; */
    color: #6a008a;
    border-bottom: 2px solid #6a008a;
    background-color: #6a008a42;
    margin-bottom: 0;
    width: calc(100%);
}

#upcoming-events .dashboard-events.body,
#debt-profile .dashboard-events.body {
    padding: 10px 5px;
    border-top: .5px solid rgba(0, 0, 0, .5);
    border-bottom: .5px solid rgba(0, 0, 0, .5);
    margin-top: 0;
    width: calc(100%);
}

#debt-profile .event-row .event-amount {
    text-align: right;
    font-family: monospace;
    font-size: 1.1em;
}

#stats .dashboard-section.charts {
    display: flex;
    justify-content: center;
}

#stats .dashboard-section.charts>div {
    display: flex;
    justify-content: center;
}

#stats .dashboard-section.charts canvas {
    overflow-x: scroll;
}


/* Donation ###################################### */

#donation div.card-content {
    align-items: center;
    justify-content: center;
}

.donation-row-content {
    width: 80%;
    min-width: 250px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
}

.donation-row-content li {
    border-bottom: none !important;
}


/* Modules ######################################## */

div.page-wrapper.modules div.card-content>div.row {
    height: 100%;
    margin: 0;
}

.module-wrapper {
    width: 100%;
    /* height: 100%; */
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    flex: 1;
    /* overflow-y: scroll; PPP  */
}

.module-menu-container {
    flex: 1 0 200px;
    padding: 10px;
    overflow-y: scroll;
    /* height: 100%; */
    max-height: 100%;
}

.module-menu-container ul>li {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 10px;
    letter-spacing: 2px;
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: white;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.module-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 4 1 320px;
    padding: 5px;
    /* overflow: hidden; */
    /* height: 100%; */
    /* overflow-y: scroll; PPP */
    max-height: 100%;
}


/* Payment Form ###########################################*/

#paymentForm {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid black;
    padding: 20px;
}


/* Accounts Module ######################################## */

div.account-fees {
    flex: 1 1 100px;
}

div.account-fees>ul>li {
    display: flex;
    flex-direction: row;
    padding: 15px 10px;
    border-bottom: solid 1px grey;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

div.account-fees i.bullet-point {
    margin-right: 5px;
}

div.account-fees>ul>li p {
    /* flex: 1 0 50px; */
    width: 50px;
    flex: 1;
}

div.account-fees>ul>li p.fee-amount {
    text-align: right;
    /* font-weight: bold; */
    font-family: monospace;
    font-size: 1.2em;
    margin-right: 15px;
}


/* New  Fee #########################################*/

form#newadminfees {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

div.account-fees.form .immediate-actions p {
    width: 100%;
}

div.account-fees.form>ul>li {
    padding: 0 10px;
    border: none;
    /* border-bottom: solid 1px grey; */
}


/* Available Fees ############################### */

div.available-fees.modal-content {
    display: flex;
    flex-direction: row;
}

div.available-fees.modal-content>section.page {
    flex: 1;
}


/* Website Manager ################################# */


/* #webmanager ul {
    display: flex;
    flex-direction: column;
} */

div.web-image {
    /* display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex: 1 1 300px;
    width: 250px;
    height: 250px;
    position: relative;
    /* margin-top: 30px; */
    /* align-self: flex-start;
    width: 100%;
    height: auto; */
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex: 1 1 300px;
    max-width: 250px;
    max-height: 250px;
    position: relative;
    margin-top: 30px;
    align-self: flex-start;
    flex-direction: column;
}

div.web-image p {
    text-align: center;
}

div.web-image img {
    border-radius: 20px;
    flex: 1;
    min-width: 228px;
    min-height: 228px;
    border: 0.5px solid #0000003d;
    background-color: rgb(0 0 0 / 3%);
}

div.web-image .progress {
    position: absolute;
    height: 100%;
    width: 100%;
    top: -8px;
    opacity: .5;
}

div.web-image i {
    position: absolute;
    font-size: 1.5em;
    border: 1px solid white;
    padding: 8px;
    border-radius: 5px 5px 20px 5px;
    bottom: 0;
    right: 0;
    background-color: #0000004f;
    color: white;
}

div.page-buttons {
    min-height: 50px;
    margin-left: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

div.page-buttons a {
    font-size: 1.5em;
    font-weight: bold;
    border: 0.5px;
    padding: 5px 13px;
    border-radius: 5px;
    margin-right: 10px;
    background-color: #d3d3d3;
    color: white;
    height: 38px;
    width: 38px;
    margin-bottom: 10px;
}


/* #webmanager li.item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
} */

#webmanager div.input-field {
    flex: 1 1 80px;
    flex: 1;
}

#webmanager .form-title {
    width: 100%;
}

#webmanager .module-menu-container li {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 10px;
    letter-spacing: 2px;
    background-color: #2ecc71;
    border-color: #2ecc71;
    color: white;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

div#publish-setting {
    margin-top: 10px;
}

div#publish-setting label {
    padding: 15px;
    border: 2px solid grey;
    border-radius: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

div.item.section div.option {
    margin-left: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div.item.section div.option.sub-menu {
    width: 60px;
}

.add-web-sub-page,
.remove-web-sub-page {
    font-size: 2.4em;
}

.add-web-sub-page {
    color: #2ecc71;
}

.remove-web-sub-page {
    color: #c2c2c2;
}

#webmanager div.item,
#webmanager div.page-item-wrapper,
.sub-page {
    display: flex;
    flex-direction: column;
}

.website-manager-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-preview-card {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 200px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.logo-preview-card:hover {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.website-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.website-card-header .header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.website-card-header .header-info h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.website-card-header .header-info p {
    margin: 2px 0 0 0;
    color: #64748b;
    font-size: 13px;
}

#webmanager div.option p {
    position: relative;
}

div.module-wrapper.website-manager {
    /* overflow: hidden !important; */
    overflow-y: scroll;
}

div.module-wrapper.website-manager .module-content-wrapper {
    overflow-y: scroll;
}


/* Admin Options ########################################### */

div.card-content div.admin-options-wrapper {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    /* margin-left: 20px; */
}

div.admin-options .settings {
    flex: 1 0 250px;
    padding-left: 15px;
}

div.admin-options div.settings-menu {
    flex: .5 0 110px;
    max-width: 150px;
}

p.header-title {
    background-color: #9c27b08f;
    padding: 10px 10px;
    margin-bottom: 30px !important;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    display: block;
    text-align: center;
    font-weight: bold;
    color: white;
    letter-spacing: 1.5px;
}

div#sms-options {
    position: relative;
}

p.sms-credit {
    position: absolute;
    top: 70px;
    right: 50px;
    padding: 5px 10px;
    background-color: rgb(0 0 0 / 20%);
    border-radius: 5px;
    width: 150px;
    text-align: center;
    color: white;
    font-size: small;
    font-weight: 600;
}

input#fin_start_date {
    margin-left: 10px;
    min-width: 185px;
}


/* Footer ########################################### */

footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: #fa0053;
    font-size: .8em;
    padding: 10px;
    z-index: 2;
    flex: 0 0 40px;
    color: white;
    font-size: .7em;
}

footer a {
    color: inherit;
}


/*International Phone Number formatting**************************************/

.iti-flag {
    background-image: url('tel_input/flags.png');
}


/* Media Queries ##################################### */

@media (max-width: 350px) {
    header img {
        width: 200px;
    }
}

@media (max-width: 520px) {

    ul.family-members thead tr>th:nth-child(2),
    ul.family-members tbody tr>td:nth-child(2) {
        display: none;
    }

    /* div.page-wrapper.members table th.clan,
    div.page-wrapper.members table th.country,
    div.page-wrapper.members table td.clan,
    div.page-wrapper.members table td.country {
        display: none;
    } */
    table .clan,
    table .country {
        display: none;
    }
}

@media (max-width: 380px) {
    table .sector {
        display: none;
    }
}

@media (max-width: 415px) {
    .trans-history-subject.trans-row-item {
        display: none;
    }
}


/* @media (max-width: 500px) {
    div.page-wrapper.members table .clan,
    div.page-wrapper.members table .country {
        display: none;
    }
} */

@media (max-width: 582px) {

    ul.family-members thead tr>th:nth-child(3),
    ul.family-members tbody tr>td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 800px) {
    main aside {
        position: absolute;
        z-index: 5;
    }
}