#loader {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    visibility: visible;
    position: fixed;
    height: 100vh;
    width: 100%;
    background: #fff;
    z-index: 90000;
}

#loader.fadeOut {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

/* .nav-tabs { border-bottom: 2px solid #DDD; }
    .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { border-width: 0; }
    .nav-tabs > li > a { border: none; color: #666; }
        .nav-tabs > li.active > a, .nav-tabs > li > a:hover { border: none; color: #4285F4 !important; background: transparent; }
        .nav-tabs > li > a::after { content: ""; background: #4285F4; height: 2px; position: absolute; width: 100%; left: 0px; bottom: -1px; transition: all 250ms ease 0s; transform: scale(0); }
    .nav-tabs > li.active > a::after, .nav-tabs > li:hover > a::after { transform: scale(1); }
.tab-nav > li > a::after { background: #21527d none repeat scroll 0% 0%; color: #fff; }
.tab-pane { padding: 15px 0; }
.tab-content{padding:20px} */

.nav-custom:not(.nav-fill) {
    display: -ms-inline-flexbox;
    display: inline-flex;
}
.nav-custom {
    position: relative;
    /* background-color: #f8fafd;
    padding: 0.25rem 0.25rem;
    border-radius: 0.3125rem; */
    border-bottom: none;
}
.nav-custom .nav-link {
    color: #677788;
    font-size: .8125rem;
    padding: 15px 12px;
    /* border-radius: 0.3125rem; */
    border: none;
    font-size: 15px;
    margin: 0 5px;
}
.nav-custom .nav-link:hover {
    color: #377dff;
}
.nav-custom .nav-link.active {
    color: #1e2022;
    background-color: #fff;
    /* box-shadow: 0 3px 6px 0 rgb(140 152 164 / 25%); */
    border-bottom: 2px solid #2196f3;
}
.nav-custom2 {
    display: inline-flex;
    position: relative;
    background-color: #f8fafd;
    padding: 0.25rem 0.25rem;
    border-radius: 0.3125rem;
    border-bottom: none;
}
.nav-custom2 .nav-link {
    color: #677788;
    /* font-size: .8125rem; */
    font-size: 14px;
    padding: 0.4375rem 0.65625rem;
    border: none;
    border-radius: 0.3125rem;
}
.nav-custom2 .nav-link:hover {
    color: #377dff;
}
.nav-custom2 .nav-link.active {
    color: #1e2022;
    background-color: #fff;
    box-shadow: 0 3px 6px 0 rgb(140 152 164 / 25%);
}
h4.page-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e2022d9;
}
.page-subtitle {
    font-size: 15px;
    color: #525b75;
}
.toggle-switch {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
}
.toggle-switch-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.toggle-switch-label {
    position: relative;
    display: block;
    width: 2.5rem;
    height: 1.5rem;
    background-color: #e7eaf3;
    background-clip: content-box;
    border: 0.125rem solid transparent;
    border-radius: 6.1875rem;
    transition: .3s;
}
.toggle-switch-input:checked+.toggle-switch-label {
    background-color: #42a6f5;
}
.toggle-switch-indicator {
    position: absolute;
    left: 0.125rem;
    bottom: 50%;
    width: 1rem;
    height: 1rem;
    background-color: #fff;
    -webkit-transform: initial;
    transform: initial;
    box-shadow: 0 3px 6px 0 rgb(140 152 164 / 25%);
    border-radius: 50%;
    -webkit-transform: translate3d(0,50%,0);
    transform: translate3d(0,50%,0);
    transition: .3s;
}
.toggle-switch-input:checked+.toggle-switch-label .toggle-switch-indicator {
    -webkit-transform: translate3d(1.025rem,50%,0);
    transform: translate3d(1.025rem,50%,0);
}
.toggle-switch-content {
    -ms-flex: 1;
    flex: 1;
    margin-left: 0.3rem;
}
.toast-message { 
    text-transform: lowercase; 
  }
  .toast-message:first-letter {
    text-transform: uppercase;
  }
.ctm-img-uploader {
    margin: 0 auto;
    text-align: left;
    background: #f9f9fc;
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 6px;
    font-family: Roboto,"Segoe UI","Helvetica Neue",Arial,sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
}
.ctm-img-uploader input[type="file"] {
    position: absolute;
    z-index: -9999;
    height: 0px;
    width: 0px;
    padding: 0px;
    margin: 0px;
    line-height: 0;
    outline: 0px;
    border: 0px;
    opacity: 0;
}
.ctm-img-uploader-items-list {
    display: flex;
    flex-wrap: wrap;
    margin: -16px 0 0 -16px;
    padding: 0;
    list-style: none;
}
.ctm-img-uploader-input {
    width: calc(25% - 16px);
    position: relative;
    display: inline-block;
    margin: 16px 0 0 16px;
    padding: 0;
    vertical-align: top;
    border: 1px solid transparent;
    border-radius: 30px;
    cursor: pointer;
}
.ctm-img-uploader-input-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 160px;
    border: 2px dashed #d5d9e0;
    text-align: center;
    color: #90a0b1;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    user-select: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    /* font: inherit; */
    background: 0 0;
    box-shadow: none;
}
.ctm-img-uploader-input-inner:hover {
    border-color: #b8beca;
    background: #fcfcfe;
    box-shadow: 0 4px 24px -1px rgb(0 0 0 / 5%);
}
.ctm-img-uploader-icon-main {
    font-size: 34px;
    margin-bottom: 8px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    display: inline-block;
    color: #789bec;
}
.ctm-img-uploader-input-inner:hover .ctm-img-uploader-icon-main {
    margin-bottom: 14px;
}
.ctm-img-uploader-item {
    width: calc(25% - 16px);
    border-bottom: 0;
    position: relative;
    display: inline-block;
    margin: 16px 0 0 16px;
    padding: 0;
    animation-duration: .6s;
    -webkit-animation: fileuploaderFadeIn .2s ease;
    animation: fileuploaderFadeIn .2s ease;
}
.ctm-img-uploader-item-inner {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px -1px rgb(0 0 0 / 5%);
    overflow: hidden;
    z-index: 1;
}
.ctm-img-uploader-item-actions-holder {
    position: absolute;
    top: 6px;
    right: 0;
    width: 100%;
    height: 20px;
    padding: 0 6px;
    z-index: 2;
    text-align: right;
}
.ctm-img-uploader-item-thumbnail-holder {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    padding: 8px 8px;
    text-align: center;
    height: 108px;
}
.ctm-img-uploader-item-action-remove {
    border: none;
    margin-left: 8px;
    color: #fff;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 30%);
    background: #fe7676;
    border-radius: 50%;
    box-shadow: -1px 1px 6px rgb(254 118 118 / 80%);
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    cursor: pointer;
    vertical-align: top;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-animation: fileuploaderFadeIn .2s ease;
    animation: fileuploaderFadeIn .2s ease;
    -webkit-transition: .7s cubic-bezier(.17,.67,0,1.01);
    -o-transition: .7s cubic-bezier(.17,.67,0,1.01);
    transition: .7s cubic-bezier(.17,.67,0,1.01);
}
.ctm-img-uploader-item-action-remove i { 
    font-size: 14px;
    text-shadow: none;
    width: 100%;
    height: 100%;
    line-height: 20px;
}
.ctm-img-uploader-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
}
.ctm-img-uploader-item-image img {
    position: absolute;
    max-width: none;
    max-height: 100%;
    background: #fff;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-animation: fileuploaderFadeIn .2s ease;
    animation: fileuploaderFadeIn .2s ease;
}
.ctm-img-uploader-item-image i {
    position: absolute;
    max-width: none;
    max-height: 100%;
    background: #fff;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-animation: fileuploaderFadeIn .2s ease;
    animation: fileuploaderFadeIn .2s ease;
}
.ctm-img-uploader-item-content-holder {
    padding: 8px 8px;
    text-align: center;
}
.ctm-img-uploader-item-content-holder h5 {
    width: 100%;
    margin: 0;
    color: #35354f;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.ctm-img-uploader-item-content-holder span {
    font-size: 12px;
    color: #999a9f;
}
.ctm-img-uploader-item-image-hover {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43,56,71,.2);
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    border-radius: 0;
    z-index: 1;
    opacity: 0.6;
}
.custom-table1 tr, .custom-table1 th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.0625);
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
}
.select2-container .select2-selection--single {
    height: 34px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    padding-right: 24px;
}
.user-list .easy-autocomplete-container ul {
    max-height: 265px;
    overflow-y: auto;
}
.user-list .input-group .easy-autocomplete {
    position: initial;
}
.easy-autocomplete-container ul li div .ai-c {
    flex-flow: row;
}
.ctm-img-uploader-avatar {
    /* text-align: center; */
    display: inline-block;
    margin: 0;
    width: auto;
    background: #fff;
}
.ctm-img-uploader-avatar .ctm-img-uploader-items-list {
    margin: 0;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-thumbnail-holder {
    height: 126px;
    width: 126px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-actions-holder {
    bottom: 6px;
    top: unset;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-image img {
    width: 126px;
    height: 126px;
    border-radius: 50%;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item {
    width: auto;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-inner {
    border-radius: 50%;
}
.ctm-img-uploader-avatar .ctm-img-uploader-input-inner img {
    width: 126px;
    height: 126px;
}
.ctm-img-uploader-item-action-edit {
    border: none;
    margin-left: 8px;
    color: #fff;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 30%);
    background: #2196f3;
    border-radius: 50%;
    box-shadow: -1px 1px 6px rgb(33 150 243 / 79%);
    position: relative;
    display: none;
    width: 22px;
    height: 22px;
    cursor: pointer;
    vertical-align: top;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-animation: fileuploaderFadeIn .2s ease;
    animation: fileuploaderFadeIn .2s ease;
    -webkit-transition: .7s cubic-bezier(.17,.67,0,1.01);
    -o-transition: .7s cubic-bezier(.17,.67,0,1.01);
    transition: .7s cubic-bezier(.17,.67,0,1.01);
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-action-edit {
    display: inline-block;
}
.ctm-img-uploader-item-action-edit i { 
    font-size: 12px;
    text-shadow: none;
    width: 100%;
    height: 100%;
    line-height: 20px;
}
.ctm-img-uploader-icon-main-edit {
    display: none;
}
.ctm-img-uploader-avatar .ctm-img-uploader-icon-main-edit {
    display: block;
    padding-top: 5px;
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 12px;
    color: #fff;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 30%);
    background: #2196f3;
    border-radius: 50%;
    box-shadow: -1px 1px 6px rgb(33 150 243 / 79%);
    width: 22px;
    height: 22px;
}
.ctm-img-uploader-avatar .ctm-img-uploader-input {
    border: 1px solid transparent;
    border-radius: 50%;
    width: auto;
    margin: 0;
}
.ctm-img-uploader-avatar .ctm-img-uploader-input-inner {
    width: 126px;
    height: 126px;
    min-height: auto;
    border: 2px solid #d5d9e0;
    border-radius: 50%;
    background: #fcfcfe;
}
.ctm-img-uploader-avatar .ctm-img-uploader-icon-main {
    display: none;
}
.ctm-img-uploader-avatar .ctm-img-uploader-input-inner span {
    display: none;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-action-remove {
    display: none;
}
.ctm-img-uploader-avatar .ctm-img-uploader-item-inner {
    width: 126px;
    height: 126px;
}
.ctm-img-uploader-disabled.ctm-img-uploader-avatar .ctm-img-uploader-item-actions-holder {
    display: none;
}
.ctm-img-uploader-disabled.ctm-img-uploader-avatar .ctm-img-uploader-icon-main-edit {
    display: none;
}
.select2-container .select2-selection--single img.country_flag {
    width: 20px;
    height: 14px;
}
@media print {
    .pagination-area {
        display: none;
    }
}
.page-title-sub{
    background: #651fff;
    color: white;
}
.genealogy-tab {
    left: calc(50% + 140px);
    transform: translateX(-50%);
    position: fixed;
    z-index: 700;
    border: .0625rem solid rgba(231,234,243,.7);
    border-radius: 7px;
    padding: 2px;
    background-color: #fff;
}
.nav-genealogy:not(.nav-fill) {
    display: -ms-inline-flexbox;
    display: inline-flex;
}
.nav-genealogy {
    position: relative;
    /* background-color: #f8fafd;
    padding: 0.25rem 0.25rem;
    border-radius: 0.3125rem; */
    border-bottom: none;
}
.nav-genealogy .nav-link {
    color: #483789;
    font-size: .8125rem;
    /* padding: 8px 12px; */
    /* border-radius: 0.3125rem; */
    border: none;
    font-size: 14px;
    margin: 2px;
    font-weight: 500;
    border-radius: 0.25rem;
}
.nav-genealogy .nav-link:hover {
    /* color: #377dff; */
}
.nav-genealogy .nav-link.active {
    color: #fff;
    background-color: #766fc4;
    /* box-shadow: 0 3px 6px 0 rgb(140 152 164 / 25%); */
    border-bottom: none;
}
.nav-genealogy .nav-item {
    margin-bottom: 0;
}

.avatar.notifications {
    width: 3rem;
    height: 3rem;
}
.avatar-initials.notifications {
    width: 3rem;
    height: 3rem;
}

.dropdown-menu.notifications-drop-down{
    min-width: 360px !important;
}

#toast-container>.toast-normal {
    background-image: none !important;
}
#toast-container>div.toast-normal {
    padding: 15px 15px 15px 15px;
}
#toast-container a {
    font-weight: 800;
    color: aquamarine;
}
.ticket-label-indicator {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}
.font-italic {
    font-style: italic;
}

.login-container .logo {
    max-width: 200px;
    height: auto;
}
.login-container .left-column .img-fluid {
    max-width: 90%;
    height: auto;
}
.login-container .left-column p {
    color: darkslategray;
    font-size: 16px;
    line-height: 1.75;
}
.login-container .left-column {
    min-height: 100vh;
    /* background-color: #d9e3ffab; */
    background-color: cornflowerblue;
    padding: 20px;
}
.login-container .right-column {
    min-height: 100vh;
    padding: 20px;
}
.login-container .login-wrapper-min {
    padding: 0 20px;
    max-width: 600px;
    width: 100%;
}
.login-container .login-wrapper {
    padding: 0 20px;
    max-width: 768px;
    width: 100%;
}
.login-container .login-box {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-top: 10px;
    border-radius: 5px;
}
.text-black-md {
    color: #5d5d5d;
}
.select2-container.select-lg .select2-selection--single {
    height: 44px;
}
.select2-container--default.select-lg .select2-selection--single .select2-selection__arrow {
    height: 44px;
}
.select2-container--default.select-lg .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
}
.login-container .try-app img {
    height: 48px;
}
.login-container .try-app .try-qr {
    height: 125px;
    margin-bottom: 15px;
}

.whatsapp-contact {
    position: fixed;
    width: auto;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50px;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.whatsapp-contact-inner {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
}
.whatsapp-contact-inner i {
    margin-left: 10px;
    font-size: 30px;
}
.whatsapp-contact:hover {
    background-color: #1ebe57;
    text-decoration: none;
    color: white; 
}
.whatsapp-contact-inner:hover, 
.whatsapp-contact-inner:focus {
    color: white;
}
.logo-height {
    height: 65px;
}
