:root {
    --main-color: #61d725;
    --main-grad: linear-gradient(135deg, rgb(177 224 98) 0%, rgb(59 215 39) 44%, rgb(188 217 35) 100%);
    --main-grad-trans: linear-gradient(135deg, rgba(221, 24, 27, 0.4) 0%, rgba(235, 16, 19, 0.6) 44%, rgba(255, 95, 9, 0.8) 100%);
    --main-grad-reverse: linear-gradient(135deg, rgb(222 255 50) 0%, rgb(217 237 110) 56%, rgb(209 237 67) 100%);
    --main-grad-mono: linear-gradient(135deg, rgba(219, 146, 146, 1) 0%, rgba(221, 24, 27, 1) 100%);
}

/*common style*/
@font-face {
    font-family: logo_font;
    src: url(../fonts/victoriand.ttf);
}

.btn-style {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 7px;
    background: var(--main-grad);
    color: #171717;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    line-height: normal;
    box-shadow: 0px 7px 10px rgb(22 22 22 / 9%) !important;
    transition-duration: 0.3s;
    border: none;
}

.btn-style:hover {
    background: var(--main-grad-reverse);
    color: #171717;
}

.btn-style i {
    margin-right: 10px;
}

.bg-light {
    background-color: #f7f7f7 !important;
}

.theme-shadow {
    box-shadow: 0px 5px 20px rgb(28 27 23 / 18%);
}

/*table css*/
.tb-sl-w {
    max-width: 40px !important;
    width: 40px !important;
}

.pagination .page-item .page-link {
    color: var(--main-color);
}

.page-item.active .page-link {
    background: var(--main-grad-mono);
    border: none;
    color: #ffffff;
}

.ac-btn {
    display: inline-block;
    background: var(--main-grad-mono);
    color: #ffffff;
    padding: 6px;
    border-radius: 5px;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, .2) !important;
    margin-right: 5px;
    transition-duration: 0.3s;
    text-transform: uppercase;
}

.ac-btn:hover {
    color: #ffffff;
}

.ac-btn:last-child {
    margin-right: 0px;
}

.back-btn {
    background: var(--main-grad-mono);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    padding: 7px 15px;
    border-radius: 10px;
}

.back-btn i {
    margin-right: 8px;
}

/*navbar css*/
.nav-h {
    font-weight: 900;
    font-size: 38px;
    align-items: center;
    display: flex;
    background: var(--main-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: capitalize;
    font-family: logo_font;
}

.navbar .navbar-content .navbar-nav .nav-item.nav-profile .nav-link span {
    padding-right: 10px;
    font-size: 15px;
    font-weight: 700;
}

.navbar .navbar-content .navbar-nav .nav-item .nav-link:hover,
.navbar .navbar-content .navbar-nav .nav-item .nav-link[aria-expanded="true"],
.navbar .navbar-content .navbar-nav .nav-item.nav-profile .dropdown-menu .dropdown-body .profile-nav .nav-item:hover .nav-link {
    color: var(--main-color)
}

/*breadcrumb*/
.breadcrumb-item a {
    color: var(--main-color);
    transition-duration: 0.3s;
}

.breadcrumb-item a:hover {
    font-weight: 700;
}

/*sidebar css*/
.sidebar .sidebar-header {
    position: relative;
    justify-content: center;
}

.sidebar-brand {
    margin-top: 70px;
    background: #ffffff;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px;
}

.sidebar-brand img {
    width: 235px;
    /* padding-top: 5px; */
}

.sidebar-toggler.not-active {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .sidebar-body .nav {
    padding: 90px 15px 15px;
}

.sidebar-folded .sidebar .sidebar-body .nav {
    padding-top: 10px;
}

.sidebar .sidebar-body .nav .nav-item .nav-link .link-title {
    font-size: 15px;
}

.sidebar .sidebar-body .nav .nav-item .nav-link,
.sidebar .sidebar-body .nav.sub-menu .nav-item .nav-link {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
}

.sidebar .sidebar-body .nav.sub-menu .nav-item .nav-link {
    padding-top: 8px;
    padding-bottom: 8px;
}

.sidebar .sidebar-body .nav .nav-item.active .nav-link::before {
    background: var(--main-color);
    left: -15px;
}

.sidebar .sidebar-body .nav .nav-item .sub-menu .nav-link::before {
    left: -25px;
}

.sidebar .sidebar-body .nav .nav-item.active .nav-link .link-icon,
.sidebar .sidebar-body .nav .nav-item.active .nav-link,
.sidebar .sidebar-body .nav .nav-item .nav-link[aria-expanded="true"],
.sidebar .sidebar-body .nav .nav-item .nav-link[aria-expanded="true"] .link-arrow,
.sidebar .sidebar-body .nav .nav-item:hover .nav-link,
.sidebar .sidebar-body .nav .nav-item:hover .nav-link .link-icon,
.sidebar .sidebar-body .nav-item .nav.sub-menu .nav-item:hover .nav-link,
.sidebar .sidebar-body .nav.sub-menu .nav-item .nav-link.active {
    color: var(--main-color);
}

.sidebar .sidebar-body .nav .nav-item:hover .sub-menu .nav-link,
.sidebar .sidebar-body .nav .nav-item .sub-menu .nav-link {
    color: unset;
    white-space: normal;
}

.sidebar .sidebar-body .nav .nav-item .sub-menu .nav-link::before {
    background: unset;
}

.sidebar .sidebar-body .nav.sub-menu .nav-item:hover .nav-link::before,
.sidebar .sidebar-body .nav.sub-menu .nav-item .nav-link.active::before {
    border-color: var(--main-color);
    background: var(--main-color);
}

.sidebar .sidebar-body .nav.sub-menu .nav-item .nav-link::before {
    width: 10px;
    height: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .sidebar-body .nav.sub-menu {
    padding: 10px 0px 10px 40px;
    background: #f7f7f7;
    border-radius: 10px;
}

.sidebar .sidebar-header .sidebar-toggler {
    border: 1px solid var(--main-color);
    padding: 5px;
    width: 30px;
    border-radius: 5px;
}

.sidebar .sidebar-header .sidebar-toggler span {
    background: var(--main-color);
}

.sidebar .sidebar-header {
    padding: 0px 15px;
}

/*footer css*/
.footer {
    background: #bbd148;
}

.footer p {
    color: #ffffff;
    font-weight: 700;
}

/*form style css*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-title {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
    position: relative;
}

.form-title span {
    background: #ffffff;
    position: relative;
    z-index: 1;
    padding-right: 15px;
}

.form-title:before {
    content: "";
    width: 100%;
    height: 2px;
    background: #000000;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.form-group label {
    color: #333333;
    font-weight: 600;
}

.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-dropdown,
.select2-container--default .select2-selection--multiple,
.datepicker.input-group {
    border-color: #cecece !important;
}

select.form-control {
    color: #333333 !important;
}

.datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day.today:before {
    background: var(--main-grad) !important;
}

.datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day.active:before {
    background: linear-gradient(135deg, rgba(94, 250, 3, 1) 0%, rgba(2, 158, 97, 1) 100%);
}

.dataTables_wrapper.dt-bootstrap4 .dataTables_length select {
    width: 70px !important;
}

.sub-btn-group {
    /* margin-top: 20px; */
    /* margin-top: -40px; */
}

.sub-btn-group ul {
    display: inline-block;
    padding-left: 0px;
    margin-bottom: 0px;
}

.sub-btn-group li {
    list-style: none;
    display: inline-block;
    margin-right: 5px;
}

.sub-btn-group li:last-child {
    margin-right: 0px;
}

.sub-btn {
    padding: 8px 12px;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    background: #bfbfbf;
    color: #ffffff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2) !important;
    transition-duration: 0.3s;
    border: none;
}

.sub-btn i {
    margin-right: 5px;
}

.sub-btn:hover {
    color: #ffffff;
    background: #a7a7a7;
}

.save-btn {
    background: linear-gradient(135deg, rgb(207 231 81) 0%, rgb(187 209 72) 100%);
}

.save-btn:hover {
    background: linear-gradient(135deg, rgb(215 235 110) 0%, rgb(196 220 64) 100%);
}

.update-btn {
    background: linear-gradient(135deg, rgba(189, 228, 109, 1) 0%, rgb(86 189 13) 100%);
}

.update-btn:hover {
    background: linear-gradient(135deg, rgba(86, 189, 13, 1) 0%, rgba(189, 228, 109, 1) 100%);
}

.clear-btn {
    background: linear-gradient(135deg, rgb(254 84 51) 0%, rgb(220 48 50) 100%);
}

.clear-btn:hover {
    background: #1c1b17;
}

.delete-btn {
    background: linear-gradient(135deg, rgb(255 0 24) 0%, rgba(253, 149, 72, 1) 100%);
}

.delete-btn:hover {
    background: linear-gradient(135deg, rgba(253, 149, 72, 1) 0%, rgba(255 0 24 / 1) 100%);
}

.input-group .btn-style {
    padding-top: 6px;
    padding-bottom: 5px;
    margin-left: 5px;
}

.total-amount {
    text-align: center;
    margin-top: 35px;
}

.total-amount h3 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}

.total-amount h5 {
    font-size: 18px;
}

.buttons-print {
    background: var(--main-grad-mono);
    color: #ffffff;
    border: none;
    padding: 7px 20px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, .2);
    transition-duration: 0.3s;
}

.buttons-excel {
    background: linear-gradient(135deg, rgba(86, 189, 13, 1) 0%, rgb(149 212 18) 100%);
    color: #ffffff;
    border: none;
    padding: 7px 20px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, .2);
    transition-duration: 0.3s;
}

.buttons-print:hover {
    color: #ffffff;
}

.dt-buttons {
    width: 35%;
    float: left;
    margin-bottom: 20px;
}

.dt-buttons+div.dataTables_wrapper div.dataTables_filter {
    width: 50%;
    float: left;
}

/*toggle button*/

.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(255 0 24) 0%, rgba(253, 149, 72, 1) 100%);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background: linear-gradient(135deg, rgba(94, 250, 3, 1) 0%, rgba(2, 158, 97, 1) 100%);
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/*dashboard css*/
.dash-box {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.dash-content {
    text-align: center;
}

.dash-content h4 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.dash-content h4,
.dash-content h2 {
    color: #ffffff;
}

.dash-content h2 {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.dash-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.dash-icon i {
    font-size: 3.5rem;
    padding: 25px 20px;
    vertical-align: middle;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 49%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*dashbox colors*/
.dash-c1 {
    background: linear-gradient(135deg, #b4cf66 0%, #44803f 100%);
}

.dash-c2 {
    background: linear-gradient(135deg, #a0cd60 0%, #cef09d 100%);
}

.dash-c3 {
    background: linear-gradient(135deg, rgb(103 152 75) 0%, rgb(164 208 102) 100%);
}

.dash-c4 {
    background: linear-gradient(135deg, rgba(83, 229, 229, 1) 0%, rgba(20, 12, 183, 1) 100%);
}

/*login page css*/
.login-logo img {
    width: 100px;
    margin-bottom: 10px;
}

.login-sec {
    border-radius: 10px;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.3);
}

.grad-overlay {
    background-size: cover !important;
    position: relative;
}

.grad-overlay:before {
    content: "";
    background: var(--main-grad-trans);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/*card print*/
.card_print {
    background: var(--main-grad-reverse);
    width: 22cm;
    height: 15.8cm;
    margin: 0px auto 35px;
    display: block;
    /*padding: 0.4cm;*/
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
}

#print {
    background: #ffffff;
    /*padding: 0cm 0.4cm 0cm;*/
    height: 100%;
}

.print-hide {
    display: block !important;
}

.print-card-tab th,
.print-card-tab td {
    color: #000084;
    font-weight: 700;
    /*border:1px solid #000000;*/
}

.header-sec h4 {
    color: #ff0000;
    font-weight: 900;
    font-size: 28px;
    margin-top: 4px;
    line-height: normal;
}

.header-sec h5 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: normal;
}

.header-sec p {
    font-size: 12px;
    line-height: normal;
}

.header-sec {
    border: none !important;
}

.cm-tabs .nav-link.active,
.cm-tabs .nav-item.show .nav-link {
    background: var(--main-grad);
    color: #ffffff;
    border: none;
}

.cm-tabs .nav-link {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color);
    margin-right: 5px;
}

.cm-tabs .nav-link i {
    margin-right: 5px;
}

.cm-tabs {
    border-bottom: 2px solid var(--main-color);
    margin-bottom: 0px;
}

.cm-tabs .nav-item {
    margin-bottom: -3px;
}

/*Payment table css*/
.payment-sum-tab tr:first-child th {
    border-top: none;
}

.payment-sum-tab tr th:first-child {
    width: 40%;
}

.payment-sum-tab tr th {
    font-size: 16px;
}

.payment-sum-tab .form-title {
    color: var(--main-color);
}

.payment-sum-tab .form-title:before {
    background: var(--main-color);
}

.h-total th:last-child {
    font-size: 22px;
    font-weight: 900;
    color: var(--main-color);
}

.h-totals th {
    font-size: 15px;
    font-weight: 900;
    color: #1c1b17;
}

.th-totals {
    font-size: 22px !important;
    font-weight: 900;
    color: var(--main-color);
}

/*control panel page*/
.on-off-menu li {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dddddd;
}

.on-off-menu li svg {
    margin-right: 15px;
    width: 17px;
}

.on-off-menu li .link-title {
    padding-top: 8px;
    display: inline-block;
    width: 160px;
}

.on-off-menu li a {
    display: inline-block;
}

.button-ctrl {
    float: right;
}

.on-off-menu {
    width: 65%;
    margin: auto;
}

.on-off-menu li,
.on-off-menu li a {
    color: #000000;
}

.on-off-menu li a {
    display: inline-block;
    padding: 0px;
}

.on-off-menu .collapse {
    width: 100%;
}

.on-off-menu .sub-menu {
    width: 100%;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    margin-top: 20px;
}

.on-off-menu .sub-menu li {
    display: flex;
    text-align-last: center;
    justify-content: space-between;
    padding-top: 0px;
}

.on-off-menu li:last-child {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}


/*pagination radio button*/
.page-radio {
    display: inline-block;
}

.page {
    display: inline-block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    margin-bottom: 0px;

}

.page input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.page-s {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ddd;
    color: #000000;
    text-align: center;
    line-height: 25px;
    border-radius: 5px;
}

.page:hover input~.page-s {
    background-color: #ccc;
}

.page input:checked~.page-s {
    background: var(--main-grad);
    color: #ffffff;
}

.th-high {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: var(--main-color) !important;
}

.max-width {
    min-width: max-content;
    min-width: -webkit-max-content;
}

@media (min-width: 799px) and (max-width: 999px) {

    .sidebar .sidebar-header .sidebar-toggler {
        position: absolute !important;
        left: 190px !important;
        top: 21px !important;
    }

    .sidebar-toggler.not-active {
        left: 15px;
    }

    .ipad_wid {
        min-width: 240px;
    }

    .goback {
        margin-bottom: 20px;
    }

    .goback_overflow {
        overflow: hidden;
        clear: both;
    }

    .ipad_mt-12 {
        margin-top: 12px;
    }

    .login_margin {
        margin: 0px 114px;
    }

    .login_min_wid {
        min-width: 470px;
        margin: 0 auto;
    }

}


@media only screen and (max-width: 1289px) and (orientation : landscape) {

    /* LANDSCAPE:
	Samsung Galaxy Tab(7.7 > 12.2)
	Mictosoft Surface Pro 1, 2
	Acer Iconia Tab (A100-A500)
	ASUS Transformer Pad TF300T
	Motorola Xoom 1, 2
	LG Optimus Pad */
    .footer {
        display: none !important;
    }

    .back_posi {
        position: relative;
        top: 20px;
        z-index: 99;
        right: 20px;
    }

    .two_colum_grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .col_gap_20{
        column-gap: 20px;
    }

    .main-wrapper .page-wrapper {{
        min-height: 87vh !important;
    }
}