.ant-card-head {
    background-color: transparent;
    border-color: #072f4c20 !important;
    color: #072f4c !important;
    font-weight: 600 !important;
    font-size: 17px !important;
}

.ant-card {
    border-color: #072f4c20 !important;
}

.ant-collapse-header {
    background-color: #ffffff !important;
    border-color: rgba(72, 94, 144, 0.16);
    color: #072f4c !important;
    font-size: 17px !important;
}

.ant-btn, .btn {
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
    padding: auto !important;
}


.gx-avatar-name {
    font-size: 15px;
}

.ant-menu-submenu-title {
    font-size: 15px !important;
}

.ant-table-thead > tr > th {
    padding: 5px !important;
    font-size: 14px !important;
    background: #869db5 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    white-space: nowrap;
}

.ant-card {
    background: #ffffff !important;
}

.advance-search-card .ant-card-body {
    padding: 0px !important;
}

.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
    padding: 12px !important;
    margin-top: 15px;
    top: 8.6px !important;
}

.ant-layout-sider .ant-menu .ant-menu-submenu-title span, .ant-drawer .ant-menu .ant-menu-submenu-title span {
    color: #ffffff !important;
}

.ant-table-tbody > tr > td {
    padding: 5px !important;
    font-size: 12px !important;
    /*border : 1px #f2f2f2 solid;*/
}

.ant-table-content table tbody tr td {
    padding: 0px !important;
    font-size: 12px !important;
}

.ant-table-content table tbody tr:nth-child(even) {
    background-color: #fefefe;
}

.card_primary .ant-card-head {
    background: #7a899f !important;
    color: #ffffff !important;
    padding-left: 20px;
}

.card_primary .ant-card-head .ant-card-head-title {
    padding-left: 0px;
}

/*For Smart table*/

.table > thead tr > th {
    padding: 2px !important;
    font-size: 12px !important;
    background: #d9e3ea8c !important;
    color: #072f4c !important;
    font-weight: 600 !important;
    padding-left: 13px !important;
    text-transform: capitalize;
    white-space: nowrap;
}

.table tbody tr td {
    padding: 0px !important;
    font-size: 12px !important;
    vertical-align: middle;
    padding-left: 13px !important;
    color: #000000 !important;
    white-space: nowrap;
}

tr th:nth-child(1) {
    border-radius: 5px 0 0 0;
}

tr th:nth-last-child(1) {
    border-radius: 0 5px 0 0;
}

tr:nth-last-child(1) td:nth-child(1) {
    border-radius: 0 0 0 5px;
}

tr:nth-last-child(1) td:nth-last-child(1) {
    border-radius: 0 0 5px 0;
}

.rsdt-column-toggles input {
    margin-right : 5px;
}

.ant-tag {
    margin-bottom: 0px !important;
    width: 70px;
    height: 18px !important;
    text-align: center;
    padding: 3px !important;
    line-height: 12px !important;
    font-size: 11px !important;
}

input:checked {
    background: #273947 !important;
}

:root {
    --primary-color: #273947;
}

span.ant-input-affix-wrapper.ant-input-password {
    border: 2px solid #273947;
    border-radius: 2px;
    padding: 6.9px 8px !important;
}

/*span.ant-input-affix-wrapper.ant-input-confirm-password {*/
/*    border: 1px solid #4c5d6b;*/
/*    border-radius: 2px;*/
/*    padding: 6.9px 8px !important;*/
/*}*/

/*.ant-input-affix-wrapper {*/
/*    border: 1px solid #4c5d6b;*/
/*    !*border-right-width: 1px !important;*!*/
/*    !*z-index: 1;*!*/
/*}*/

th.ant-table-cell{
    text-align: center !important;
}

input#input_password, #input_old_password, #input_confirm {
    border: 0px solid #fff !important;
    height: 0px;
}
/*input#input_old_password {*/
/*    border: 0px solid #fff !important;*/
/*    height: 0px;*/
/*}*/

/*input[type="checkbox"] {*/
/*    !*height: 14px;*!*/
/*    width: 14px;*/
/*    position: relative;*/
/*    -webkit-appearance: none;*/
/*}*/

/*input[type="checkbox"]:before {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    position: absolute;*/
/*    box-sizing: border-box;*/
/*    !*height: 14px;*!*/
/*    width: 14px;*/
/*    border-radius: 2px;*/
/*    border: 1px solid #767676;*/
/*    background-color: #fff;*/
/*}*/

/*input[type="checkbox"]:hover::before {*/
/*    border: 1px solid #4f4f4f;*/
/*}*/

/*input[type="checkbox"]:checked:hover::before {*/
/*    filter: brightness(90%);*/
/*}*/

/*input[type="checkbox"]:checked:disabled:hover::before {*/
/*    filter: none;*/
/*}*/

/*input[type="checkbox"]:checked:before {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    position: absolute;*/
/*    box-sizing: border-box;*/
/*    !*height: 14px;*!*/
/*    width: 14px;*/
/*    border-radius: 2px;*/
/*    border: 1px solid var(--primary-color);*/
/*    background-color: var(--primary-color);*/
/*}*/

/*input[type="checkbox"]:checked:after {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    position: absolute;*/
/*    !*top: 5px;*!*/
/*    left: 2px;*/
/*    box-sizing: border-box;*/
/*    !*height: 5px;*!*/
/*    width: 10px;*/
/*    border-left: 2px solid #fff;*/
/*    border-bottom: 2px solid #fff;*/
/*    -webkit-transform: translateY(-1.5px) rotate(-45deg);*/
/*    transform: translateY(-1.5px) rotate(-45deg);*/
/*}*/

/*input[type="checkbox"]:disabled::before {*/
/*    border: 1px solid #c9ced1;*/
/*    border-radius: 2px;*/
/*    background-color: #f0f4f8;*/
/*}*/

/*input[type="checkbox"]:checked:disabled::before {*/
/*    border: 1px solid #d1d1d1;*/
/*    border-radius: 2px;*/
/*    background-color: #d1d1d1;*/
/*}*/

.gx-search-bar .gx-form-group {
    background: #ffffff;
    border-radius: 7px;
    display: none;
}

.ant-form-item-control {
    padding: 0px !important;
}

.ant-form-item-label {
    padding: 0px !important;
    font-size: 15px !important;
}

.ant-form-item {
    padding-bottom: 6px !important;
}

th:first-child {
    border-top-left-radious: 5px;
}

.gx-layout-sider-dark .gx-layout-sider-header {
    background: #ffffff !important;
}

.ant-input, .form-control {
    border: 2px solid #596e7f !important;
    padding: 6.9px 8px !important;
    border-radius: 3px !important;
    height: 32px !important;
}

.ant-input:focus {
    border: #273947 2px solid !important;
}

.ant-input-number-input {
    border: #596e7f 2px solid !important;
    padding: 6.9px 8px !important;
    border-radius: 3px !important;
    height: 32px !important;
}

.ant-input-number-input:focus {
    border: #0f2b51 2px solid !important;
}

.ant-picker {
    border: #596e7f 2px solid !important;
    padding: 6.9px 8px !important;
    border-radius: 3px !important;
    height: 32px !important;
}

.ant-picker:focus {
    border: #0f2b51 2px solid !important;
}

.ant-select:focus {
    border: #0f2b51 2px solid !important;
}

.ant-select:active {
    border: #0f2b51 2px solid !important;
}

.ant-select:after {
    border: #0f2b51 2px solid !important;
}

.ant-select-arrow {
    color: #596e7f !important;
    font-weight: bolder;
    font-size: 18px;
}


.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border: #596e7f 2px solid !important;
    border-radius: 3px !important;
}

.ant-select-selector {
    height: 32px !important;
}

.ant-layout-header {
    background: #ffffff !important;
}

.ant-card-extra {
    padding: 5px !important;
}

.ant-input-search {
    margin-bottom: 0px !important;
}

.table > tr > td {
    padding: 5px !important;
    font-size: 12px !important;
    /*border : 1px #f2f2f2 solid;*/
}


.table tr:nth-child(even) {
    background-color: #ffffff;
}

.table tr:nth-child(odd) {
    background-color: #ffffff;
    /*background-color: #cdd2d680;*/
}

.table tr:hover td {
    background: #ecedf1;
}

.table tr th:nth-child(odd) {
    /*background-color: #72879c !important;*/
}

.table tbody tr td:nth-child(odd) {
    /*background-color: #b3c4d8;*/
}

.table tr:nth-child(even) td:nth-child(odd) {
    /*background-color: #e4ebf3;*/
}


.btn {
    margin: 3px !important;
}

.btn-circle {
    width: 16px !important;
    height: 16px !important;
    text-align: center !important;
    padding: 2px 0 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
}

.btn-circle-md {
    width: 30px !important;
    height: 30px !important;
    text-align: center !important;
    padding: 4px 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    border-radius: 20px !important;
}

.btn-circle-md2 {
    width: 30px !important;
    height: 30px !important;
    text-align: center !important;
    padding: 4px 0 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    border-radius: 20px !important;
}

.btn-danger {
    color: white !important;
}

.right {
    text-align: right;
}

.btn-export-pdf {
    background: #f5f9ff !important;
    color: #831313 !important;
}

.btn-export-print {
    background: #f5f9ff !important;
    color: #046585 !important;
}

.btn-export-excel {
    background: #f5f9ff !important;
    color: #06692d !important;
}

.btn-text-adjust {
    background: #f5f9ff !important;
    color: #06692d !important;
}

.rsdt .active {
    background: #024890 !important;
    color: #ffffff !important;
}

button.rsdt-paginate.active {
    background: #8a9eb8 !important;
    color: #ffffff !important;
}

.btn-export-word {
    color: #063c80 !important;
}

/*.ant-menu-submenu {*/
/*    position: relative;*/
/*}*/
/*.ant-menu-submenu:hover > ul {*/
/*    position: absolute;*/
/*    display: block;*/
/*    top: 0;*/
/*    left: 100%;*/
/*    background: #aaa;*/
/*}*/

.ant-form-item {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #545454;
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.3;
    list-style: none;
    font-feature-settings: 'tnum', "tnum";
    margin-bottom: 5px !important;
    vertical-align: top;
}

.ant-form-item-label > label {
    height: 20px !important;
}

.btn-circle-md {
    padding: 7px 0 !important;
}

.btn-text-adjust {
    background: #f5f9ff !important;
    color: #0e3366 !important;
}

.searchbutton {
    margin-top: 12px;
}

.ant-form-item-label > label {
    color: #292929 !important;
}

input::placeholder {
    color: #838383 !important;
}

select::placeholder {
    color: #838383 !important;
}

textarea::placeholder {
    color: #838383 !important;
}

.ant-select-selection-placeholder {
    color: #838383 !important;
}


.ant-layout-content {
    background: #f5f7ff;
}

@media print {

    table {
        page-break-inside: auto;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto
    }

    .ant-layout-sider {
        display: none !important;
    }

    .gx-main-content-wrapper {
        padding: 0px !important;
    }

    .ant-layout-header {
        display: none !important;
    }

    .gx-customizer-option {
        display: none !important;
    }

    .no-print {
        display: none !important;
    }

    .ant-card-head {
        background: none !important;
        color: black;
    }

    .ant-card-head-title {
        /*color: black !important;*/
        color: #072f4c !important;
    }

    .gx-layout-sider-dark {
        background-color: #072f4c !important;
        color: #072f4c;
    }

    .ant-menu.ant-menu-dark, .ant-menu-dark .ant-menu-sub, .ant-menu.ant-menu-dark .ant-menu-sub {
        background-color: #072f4c !important;
        color: #072f4c;
    }

}


.treeview {
    margin: 10px 0 0 20px;
    border: #ACACAC 1px solid;

}

.treeview ul {
    list-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
}

.treeview ul li {
    padding-left: 15px;
}

.activity li {
    display: inline;
    padding-right: 5px;
}

.treeview .custom-unchecked {
    background-position: 0 -1px;
}

.treeview .custom-unchecked:hover {
    background-position: 0 -21px;
}

/* Checked styles */

.treeview .custom-checked {
    background-position: 0 -81px;
}

.treeview .custom-checked:hover {
    background-position: 0 -101px;
}

/* Indeterminate styles */

.treeview .custom-indeterminate {
    background-position: 0 -141px;
}

.treeview .custom-indeterminate:hover {
    background-position: 0 -121px;
}

.treeview {
    border: none;
}

.ui-widget-content {
    margin-top: 2px;
    border: 1px #607D8B solid;
}

.module {
    background: #607D8B;
    padding: 10px;
    color: #ffffff;
    font-weight: bold;
    font-size: 17px;
}

.ui-widget.ui-widget-content {
    padding: 0px;
}

.mainAccount {
    font-weight: bold;
}

.subAccount {
    padding-left: 15px;
}

.loading_view {
    margin: 0px;
    display: none;
    padding: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    /*background-color: black;*/
    background-color: #072f4c90;
    z-index: 30001;
    /*opacity: 60;*/
    min-height : 200px;
}

.loading_center {
    position: absolute;
    top: 25%;
    left: 50%;
    color: white;
    text-align: center;
    transform: translate(-50%, -50%);
    transform: -webkit-translate(-50%, -50%);
    transform: -moz-translate(-50%, -50%);
    transform: -ms-translate(-50%, -50%);
}

.loading_center2 {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    text-align: center;
    transform: translate(-50%, -50%);
    transform: -webkit-translate(-50%, -50%);
    transform: -moz-translate(-50%, -50%);
    transform: -ms-translate(-50%, -50%);
}

.loading_center img {
    width : 80px;
    margin : auto;
}

.amountSummary {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.gx-bg-member {
    background: #054469 !important;
}

.gx-bg-user {
    background: #00a8cc !important;
}

.gx-bg-collection {
    background: #3782b1 !important;
}

.gx-bg-ministryincome {
    background: #70bbd4 !important;
}

.gx-chart-up {
    color: #00a8cc !important;
}

.report tr th {
    padding: 2px;
    font-size: 12px;
}

.report2 thead tr th {
    padding: 1px;
    font-size: 12px;
    white-space: normal;
}

.actionNode {
    display: inline-flex !important;
    width: 200px !important;
    float: left !important;
    flex-grow: 1;
}

.disp {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.district {
    padding-left: 40px !important;
    color: #072f4c !important;
}

.local {
    padding-left: 60px !important;
    color: #51adcf !important;
}

.ptable tbody tr td {

    padding: 5px !important;
}
.po-table {
    border : 1px #dfe0e1 solid;
}

.po-table thead tr th {
    background : #273947;
    color: white;
}

@media all {
    .page-break {
        display: none;
    }
}

@media print {
    html, body {
        height: initial !important;
        overflow: initial !important;
        -webkit-print-color-adjust: exact;
    }

    .page-break {
        margin-top: 1rem;
        display: block;
        page-break-before: auto;
    }

    .gx-main-content-wrapper {
        background :  white;
    }

    .ant-card-head {
        display: none;
    }
}


@page {
    size: auto;
    margin: 20mm;
    padding : 5px !important;
}

.ant-form-horizontal .ant-row {
     margin-left: 15px !important;
     margin-right: 15px !important;
}

/* Horizontal menu design start */

.gx-header-horizontal-main{
    padding: 10px 0 !important;
}

.gx-header-horizontal-nav-flex{
    /*margin-left: -40px;*/
}

.gx-header-horizontal-nav-flex li.ant-menu-item.ant-menu-item-only-child{
    margin: 0 0 0 10px !important;
}
.gx-header-horizontal-nav-flex li.ant-menu-item.ant-menu-item-only-child a {
    color: #fff;
    font-size: 13px;
}
.gx-header-horizontal-nav-flex li.ant-menu-submenu.ant-menu-submenu-horizontal{
    margin: 0 0 0 15px !important;
}
.gx-header-horizontal-nav-flex li.ant-menu-submenu.ant-menu-submenu-horizontal .ant-menu-submenu-title span{
    font-size: 13px !important;
}
.ant-menu-item .icon {
    margin-right: 5px !important;
}

.no-border {
    border-top: none;
    border-bottom: none;
}

@media(min-width: 1080px) and (max-width: 1200px) {
    .gx-header-horizontal-nav-flex{
        margin-left: -100px;
    }
    .gx-header-horizontal-nav-flex li.ant-menu-item.ant-menu-item-only-child a {
        color: #fff;
        font-size: 12px;
    }
    .gx-header-horizontal-nav-flex li.ant-menu-submenu.ant-menu-submenu-horizontal .ant-menu-submenu-title span{
        font-size: 12px !important;
    }
}

@media(min-width: 991px) and (max-width: 1079px) {
    .gx-header-horizontal-nav-flex{
        margin-left: -60px;
    }
    .gx-header-horizontal-nav-flex li.ant-menu-item.ant-menu-item-only-child a {
        color: #fff;
        font-size: 11px;
    }
    .gx-header-horizontal-nav-flex li.ant-menu-submenu.ant-menu-submenu-horizontal .ant-menu-submenu-title span{
        font-size: 11px !important;
    }
}

.gx-header-horizontal-nav-flex li.ant-menu-submenu.ant-menu-submenu-horizontal i.icon{
    margin-right: 5px !important;
}

.currency {
    text-align: right;
}

.subItemText {
    padding-left: 20px !important;
}

.subItemText2 {
    padding-left: 40px !important;
}

.subItemText3 {
    padding-left: 60px !important;
}

.subItemTextTotal {
    padding-left: 40px !important;
    font-weight: bold;
}

tr.no-border td {
    border-bottom: none;
}

.statement tbody tr td {
    border : none !important;
    border-bottom : none !important;
}

.statement tbody tr.showTotalBorder td {
    border-top : 1px solid #3D3D3D !important;
    border-bottom : 1px solid #3D3D3D !important;
}

.statement tbody tr.showTotalBorderDouble td {
    border-top : 1px solid #3D3D3D !important;
    border-bottom : 3px solid #3D3D3D !important;
}


main.ant-layout-content.gx-layout-content.gx-container-wrap {
    overflow-x: hidden;
}

@media screen and (min-width: 1200px) {
    .gx-container-wrap .gx-main-content-wrapper {
        /*width: 1200px !important;*/
        width: 100% !important;
    }

    .gx-container {
        width: 100% !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gx-container-wrap .gx-main-content-wrapper {
        width: 1000px !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .gx-container-wrap .gx-main-content-wrapper {
        width: 800px !important;
    }
}

/*@media screen and (min-width: 1200px) {*/
/*    .gx-container-wrap .gx-main-content-wrapper {*/
/*        width: 1100px;*/
/*    }*/
/*}*/
/*@media screen and (min-width: 992px) {*/
/*    .gx-container-wrap .gx-main-content-wrapper {*/
/*        width: 920px;*/
/*    }*/
/*}*/
/*@media screen and (min-width: 768px) {*/
/*    .gx-container-wrap .gx-main-content-wrapper {*/
/*        width: 720px;*/
/*    }*/
/*}*/
/*.gx-container-wrap .gx-main-content-wrapper {*/
/*    width: 94vw;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*    padding-left: 16px;*/
/*    padding-right: 16px;*/
/*}*/

/* Horizontal menu design end */
#customMenu{
    padding: 0!important;
}
#customMenu a {
    display: block;
    width: 100%;
    padding: 0 20px
}


.table {
    overflow: auto;
}

.td, .th, .tr {
    flex-shrink: 1 !important;
    min-width: auto !important;
}

.customerMenu{
    padding-left: 0!important;
}

.bottomFixed {
    position: fixed;
    left: 0;
    bottom: 0;
    background: white;
    width: 100%;
    text-align: center;
}

.rsdt label input {
    padding-left : 10px;
}

.gx-app-logo-content-bg:before {
    background-color : #dee1e4;
}

.gx-app-logo-content-bg1 {
    background-color : #dee1e4 !important;
}

.gx-app-logo-content-bg1:before {
    background-color : #dee1e4 !important;
}

.gx-app-login-content {
    margin-top : 50px !important;
}

@media screen and (min-width: 1600px) {
    h1, .h1 {
        font-size: 23px !important;
    }
}

.gx-app-logo img {
    width : 150px !important;
}

/*.ant-collapse-icon-position-right > .ant-collapse-item > .ant-collapse-header {*/
/*    padding: 6px 10px !important;*/
/*    padding-right: 18px !important;*/
/*    font-size : 12px;*/
/*}*/

/*.ant-collapse-icon-position-right > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {*/
/*    right: 10px !important;*/
/*    left: auto !important;*/
/*}*/

/*.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {*/
/*    padding: 14px !important;*/
/*    margin-top: 8px !important;*/
/*    top: 8.6px !important;*/
/*    color : #3b3b3b;*/
/*}*/

/*.ant-collapse-content > .ant-collapse-content-box {*/
/*    padding: 6px !important;*/
.gx-app-logo-content > * {
    position: relative;
    top: 10%;
    z-index: 2;
    left: 10%;
}

/*}*/

.rsdt.rsdt-sortable-icon::after {
    font-size: 20px;
    font-style: normal;
    content: '\21D5' !important;
    cursor: pointer;
}

.rsdt-paginate .button {
    color : #072f4c !important;
    font-weight: bold;
}

.rsdt-paginate .active {
    color : #ffffff !important;
    font-weight: bold;
}

.ant-notification {
    /*width: 100% !important;*/
    /*background : #072f4c !important;*/
}

.ant-form-item-label label {
    color : #072f4c !important;
}

.ant-input::placeholder, .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #072f4c80 !important;
    opacity: 1; /* Firefox */
}

.ant-input:-ms-input-placeholder, .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #072f4c80 !important;
}

.ant-input::-ms-input-placeholder, .form-control:-ms-input-placeholder { /* Microsoft Edge */
    color: #072f4c80 !important;
}

.ant-card-body .ant-card-head .ant-card-head-title {
    padding-left: 20px !important;
}

.successAlert {
    background: #76a576 !important;
}

.warningAlert {
    background: #d5aeaf !important;
}

.custom-select{
    padding: 4.9px 8px !important;
    height: 32px !important;
}

.table > :not(caption) > * > * {
    padding: 2px;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    font-size : 11px;
}

.rsdt th, .rsdt td {
    /* You you only need the !important rule if you're overriding some other CSS */
    /*text-align: right !important;*/
}

.rightAlign {
    text-align: right !important;
}