:root {
    --primary-font: 'Manrope', sans-serif;
    --primary: #2bb463;
    --primary-hover: #53b67f;
    --secondary: #ed007e;
    --primary-rgb: rgb(43 179 99 / 15%);
}

body {
    font-family: var(--primary-font), sans-serif;
    font-weight: 500;
}

body.authentication-bg {
    background-color: var(--primary);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font), sans-serif;
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
    background-color: transparent;
}

a:hover, a:focus {
    color: var(--primary-hover);
    text-decoration: none;
}

b, strong {
    font-weight: 600;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.font-weight-600 {
    font-weight: 600;
}

.required:after {
    content: ' *';
    color: red;
}

.form-control:focus {
    border-color: var(--primary);
}

.text-body[href]:hover {
    color: var(--primary) !important;
}

.btn-link {
    color: var(--primary);
}

.btn-link:hover {
    color: var(--primary-hover);
}

.btn-primary {
    color: #fff;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-primary:hover:not(.disabled):not(:disabled) {
    box-shadow: 0 8px 25px -8px var(--primary);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-primary.active, .btn-primary:active, .btn-primary:focus {
    background-color: var(--primary-hover) !important;
}

/*.btn-outline-primary {*/
/*    border: 1px solid var(--primary) !important;*/
/*    background-color: transparent;*/
/*    color: var(--primary);*/
/*}*/

/*.btn-outline-primary:hover {*/
/*    color: var(--primary) !important;*/
/*    background-color: var(--primary-rgb) !important;*/
/*    border-color: var(--primary-hover) !important;*/
/*}*/

/*.btn-outline-primary:hover:not(.disabled):not(:disabled) {*/
/*    background-color: rgba(115, 103, 240, .04);*/
/*    color: var(--primary);*/
/*}*/

/*.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled):focus, .show > .btn-outline-primary.dropdown-toggle {*/
/*    background-color: var(--primary);*/
/*    color: #fff;*/
/*}*/

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

@media screen and (max-width: 1024px) {
    .hv-wrapper {
        display: flex;
    }
}

/* Genealogy */
@media (max-width: 767.98px) {
    .hv-wrapper {
        display: flex;
    }

    .hv-wrapper .hv-item .hv-item-children {
        justify-content: flex-start;
    }

    .inbox-widget .inbox-item .inbox-item-date {
        top: 35px;
    }

    .user-card .table td {
        padding: 5px 0;
    }
}

.hv-wrapper .hv-item {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.hv-wrapper .hv-item .hv-item-parent {
    margin-bottom: 50px;
    position: relative;
    display: flex;
    justify-content: center;
}

.hv-wrapper .hv-item .hv-item-parent:after {
    position: absolute;
    content: '';
    width: 2px;
    height: 25px;
    bottom: 0;
    left: 50%;
    background-color: rgba(171, 171, 171, 0.7);
    transform: translateY(100%);
}

.hv-wrapper .hv-item .hv-item-children {
    display: flex;
    justify-content: center;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child {
    padding: 0 5px;
    position: relative;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:before,
.hv-wrapper .hv-item .hv-item-children .hv-item-child:not(:only-child):after {
    content: '';
    position: absolute;
    background-color: rgba(171, 171, 171, 0.7);
    left: 0;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:before {
    left: 50%;
    top: 0;
    transform: translateY(-100%);
    width: 2px;
    height: 25px;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:after {
    top: -25px;
    transform: translateY(-100%);
    height: 2px;
    width: 100%;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:first-child:after {
    left: 50%;
    width: 50%;
}

.hv-wrapper .hv-item .hv-item-children .hv-item-child:last-child:after {
    width: calc(50% + 1px);
}

.management-hierarchy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0;
    position: relative;
}

.hv-container {
    flex-grow: 1;
    overflow: auto;
    justify-content: center;
}

.hv-item-parent p {
    font-weight: bold;
    color: #DE5454;
}

.management-hierarchy .person {
    text-align: center;
}

.management-hierarchy .person a img {
    height: 70px;
    width: 70px;
    border: 5px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
}

.management-hierarchy .person img {
    height: 70px;
    width: 70px;
    border: 5px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
}

.management-hierarchy .person .name {
    background-color: #fff;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: .875rem;
    font-weight: normal;
    color: #323232;
    margin: 0;
    position: relative;
    max-width: 175px;
    min-width: 155px;
    height: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.management-hierarchy .person .name span {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.management-hierarchy .person p.name .btn {
    vertical-align: baseline;
    font-weight: 600;
}

.management-hierarchy .person p.name:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    /*background-color: #fff;*/
    left: 50%;
    top: 0;
    transform: translateY(-100%);
}

.goog-te-gadget {
    color: #fff;
    font-weight: 600;
}

table.dataTable {
    margin-bottom: 15px !important;
    width: 100%;
    white-space: nowrap;
}

.table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.dataTablesPageSelect {
    text-align: end;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff8a;
    z-index: 9999
}

#status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px
}

.spinner {
    margin: 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid #dee2e6;
    border-right: 5px solid #dee2e6;
    border-bottom: 5px solid #dee2e6;
    border-left: 5px solid var(--primary);
    transform: translateZ(0);
    animation: SpinnerAnimation 1.1s infinite linear
}

.spinner, .spinner:after {
    border-radius: 50%;
    width: 40px;
    height: 40px
}

@keyframes SpinnerAnimation {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.card-widgets .btn-group {
    margin: -10px 10px 0 0;
}

.select2-container--default .select2-results__group {
    color: var(--primary);
}


.text-normal {
    white-space: normal !important;
    word-break: break-all;
}

.card .card-header .card-title-wrap {
    margin-left: -1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary) !important;
}

.readonly {
    background-color: #EFEFEF;
    opacity: 1;
}

.error {
    color: #F44336;
}

@media print {
    .footer, .main-menu, .navbar-custom, .content-header, .right-bar {
        display: none
    }

    .card-body, .content, .content-page, .right-bar, body {
        padding: 0;
        margin: 0
    }

    .invoice-preview {
        width: 100%;
    }
}

.social {
    display: flex;
    align-items: center;
}

.social ul {
    display: flex;
    padding-inline-start: 10px;
    margin-top: 10px;
}

.social ul li a {
    font-weight: 600;
    font-size: 32px;
}
.social ul li::marker {
    content: "";
}

#social-links ul {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}

#social-links ul li {
    margin-left: 10px;
}

#social-links ul li span.fab.fa-facebook-square {
    color: #3f78e0;
}

#social-links ul li span.fab.fa-whatsapp {
    color: #73c553;
}

#social-links ul li::marker {
    content: '';
}


.news-item {
    padding: 4px 4px;
    margin: 0;
    border-bottom: 1px dotted #555;
    font-size: 12px;
    line-height: 20px;
}

@media (min-width: 992px) and (max-width: 1366px) {
    .hv-wrapper {
        display: flex;
    }
}

.badge-primary {
    color: #FFF;
    background-color: var(--primary);
}

.popover {
    max-width: 350px;
    font-family: var(--primary-font), sans-serif;
}

.popover .popover-header {
    border: 1px solid var(--primary);
    color: #fff;
}

.popover-header {
    background-color: var(--primary);
    border-bottom: 0 solid var(--primary);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #FFF;
    border-color: var(--primary);
    background-color: var(--primary);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--primary);
    background-color: var(--primary);
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #b1bbc4
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary)
}

.custom-control-input:disabled ~ .custom-control-label, .custom-control-input[disabled] ~ .custom-control-label {
    color: #98a6ad
}

.radio-primary input[type=radio]:checked + label::before {
    border-color: var(--primary);
}

.radio-primary input[type=radio]:checked + label::after {
    background-color: var(--primary);
}

.droplist .dropdown-item:focus {
    color: #fff;
    background: var(--primary);
}

.droplist .dropdown-item:hover {
    color: #fff;
    background: var(--primary);
}

.droplist .dropdown-item.active {
    color: #FFF;
    background-color: var(--primary);
}

.droplist .dropdown-item:active {
    color: #FFF;
    background-color: var(--primary);
}

@media (max-width: 360px) {
    .form-control {
        font-size: 0.875rem;
    }
}

.note-insert {
    display: none
}

.text-break {
    white-space: normal;
    word-break: break-all;
}

.match-height > [class*=col] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column
}

.match-height > [class*=col] > .card {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

.form-group {
    margin-bottom: 1rem;
}

.heading-elements > a.collapsed i:before {
    content: '\e98c';
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo .logo-sm {
    display: block;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo .logo-lg {
    display: none;
}

.app-brand .logo-sm {
    display: none;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand-logo .logo-lg {
    display: none;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: var(--primary) !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
    box-shadow: 0 0 0 3px var(--primary-rgb) !important;
}

.btn-toggle.dropdown-toggle::after {
    content: none;
}

/*.btn-toggle:focus, .btn-toggle:active, .btn:first-child:active {*/
/*    border: 0;*/
/*}*/

.note-btn-group .note-btn {
    border-color: transparent !important;
}

.note-btn-group.btn-group .btn[class*=btn-]:not([class*=btn-label-]):not([class*=btn-outline-]):not([class*=btn-text-]):not(.btn-icon) {
    box-shadow: none !important;
}

@media (max-width: 767.98px) {
    .layout-navbar-fixed body:not(.modal-open) .layout-content-navbar .layout-navbar, .layout-menu-fixed body:not(.modal-open) .layout-content-navbar .layout-navbar, .layout-menu-fixed-offcanvas body:not(.modal-open) .layout-content-navbar .layout-navbar {
        z-index: 9;
    }
}

.page-title-box .page-title {
    font-size: 1.25rem;
    margin: 0;
    line-height: 75px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.page-title-box .page-title-right {
    float: right;
    margin-top: 20px
}

.page-title-box .breadcrumb {
    padding-top: 8px
}

.page-title-box-sm .page-title {
    line-height: 1 !important;
    margin-bottom: 25px
}

.page-title-box-sm .page-title-right {
    float: right;
    margin-top: 0
}

.page-title-box-sm .breadcrumb {
    padding-top: 0;
    margin-top: -3px !important
}

@media (max-width: 767.98px) {
    .page-title-box .page-title {
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        line-height: 70px
    }

    .page-title-box .breadcrumb {
        display: none
    }

    .page-title-box .page-title-right {
        display: none
    }
}

@media (max-width: 419px) {
    .page-title-box .breadcrumb {
        display: none
    }
}

@-webkit-keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes ticker {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-heading {
    position: absolute;
    background: var(--primary);
    display: block;
    left: 0;
    top: 0;
    height: 2.5rem;
    padding: 11px 10px;
    z-index: 2;
    color: #333;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.ticker-wrap .ticker__item:before {
    content: "";
    height: 11px;
    width: 11px;
    display: inline-block;
    background-color: var(--primary);
    border-radius: 100%;
    position: relative;
    margin-right: 15px;
}

.ticker-heading:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 11px solid var(--primary);
    position: absolute;
    margin-left: 10px;
}

.ticker-wrap {
    position: relative;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    height: 3.5rem;
    background-color: transparent;
    padding-left: 100%;
    box-sizing: content-box;
}

.ticker-wrap .ticker:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -ms-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.ticker-wrap .ticker {
    display: inline-block;
    /*height: 2.5rem;*/
    /*line-height: 2.5rem;*/
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 15s;
    animation-duration: 15s;
}

.ticker-wrap .ticker__item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 1rem;
}

.ticker-wrap .ticker__item .btn {
    font-size: 1.4rem;
    color:#ff8c77;
}

.gallery {
    position: relative;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    height: 250px;
    text-decoration: none;
}

.gallery img {
    display: block;
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
}

.gallery img.gallery-img {
    -o-object-fit: contain;
    object-fit: contain;
}


.statics i {
    font-size: 2rem;
}

.img-holder {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 700px;
    height: 100%;
    overflow: hidden;
    text-align: center;
    z-index: 0;
    object-fit: cover;
}
.note-frame {
    font-family: inherit !important;
}

.user-profile-header-banner img {
    width: 100%;
    object-fit: cover;
    height: 250px
}

.user-profile-header {
    margin-top: -2rem
}

.user-profile-header .user-profile-img {
    border: 5px solid;
    width: 120px !important;
    height: 120px !important;
    object-fit: cover;
}

.light-style .user-profile-header .user-profile-img {
    border-color: #fff
}

.dark-style .user-profile-header .user-profile-img {
    border-color: #30334e
}

.dataTables_wrapper .card-header .dataTables_filter label {
    margin-top: 0 !important;
    margin-bottom: 0 !important
}


@media (max-width: 767.98px) {
    div.dataTables_wrapper div.dataTables_length label, div.dataTables_wrapper div.dataTables_filter label, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        justify-content: center;
        font-size: 12px;
    }
}
.nav-link.btn.btn-text-secondary i {
    font-size: 1.5rem;
}
.ribbon-2 {
    --f: 10px; /* control the folded part*/
    --r: 15px; /* control the ribbon shape */
    --t: 10px; /* the top offset */

    position: absolute;
    inset: var(--t) calc(-1 * var(--f)) auto auto;
    padding: 0 10px var(--f) calc(10px + var(--r));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--f)), calc(100% - var(--f)) 100%,
    calc(100% - var(--f)) calc(100% - var(--f)), 0 calc(100% - var(--f)),
    var(--r) calc(50% - var(--f) / 2));
    box-shadow: 0 calc(-1 * var(--f)) 0 inset #0005;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    background-color: var(--primary);
    z-index: 9999;
}

.bg-light-transparent {
    background-color: rgb(0 0 0 / 15%) !important;
}
.widgets-icons {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ededed;
    font-size: 26px;
    border-radius: 10px;
}

.bg-warning-subtle {
    background-color: #fff0d4 !important;
}
.socialLink img {
    width: 50px;
    height: 50px;
}

@media(max-width: 767.98px) {
    .user-profile-header-banner img {
        height:150px
    }

    .user-profile-header .user-profile-img {
        width: 100px
    }


    .socialLink img {
        width: 35px;
        height: 35px;
    }
}


