﻿/* Import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #7847EB;
    --secondary-color: #0095FF;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(#F4F7FE, #EEF2FA);
    font-family: "Poppins", serif;
    height: 100vh;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 10px;
}

#layout .container {
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 0px;
}

#grid {
    height: 100%;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Navbar */
.navbar-inverse {
    background-color: #7847EB !important;
    text-align: left;
    display: ruby;
}

    .navbar-inverse .navbar-brand {
        color: white;
        font-size: 16px;
    }

.navbar-logo {
    margin-left: 40px !important;
    font-size: 18px;
}

.navbar-fixed-top {
    display: flex;
}

.k-menu {
    background-color: transparent !important;
    padding-left: 20px;
}

.k-link {
    color: white !important;
}

.navbar-log {
    font-size: 14px;
}

.k-widget {
    border: none;
    border-radius: 5px;
}

.k-header, .k-menu {
    background-image: none;
}

    .k-menu .k-item {
        border-color: transparent;
        padding: 0 10px;
    }

.k-popup .k-item {
    background-color: #7847EBDE;
}

.k-state-hover:not(.k-dropdown-wrap) {
    background-color: #40A6FE !important;
    background-image: none;
}

.k-state-selected {
    background-color: #0095FF !important;
}

.k-state-border-down {
    background-color: transparent !important;
    background-image: none;
}

.navbar-profile {
    position: fixed;
    padding-left: 207px;
    right: 2%;
}

.k-state-highlight {
    background: transparent;
}

.k-menu .k-state-selected > .k-link, .k-menu .k-state-hover > .k-link {
    background-color: transparent;
    background-image: none;
}

.k-state-selected, .k-state-focused {
    /*    background-color: #0095FF !important;*/
    background-image: none;
}

/* Should be removed for responsive */
#navbarResponsive {
    display: flex !important;
}

/* Navbar responsive */
@media (max-width: 1500px) {
    .navbar-inverse .navbar-brand {
        color: white;
        font-size: 12px;
    }

    .navbar-logo {
        margin-left: 10px !important;
    }

    .k-link {
        font-size: 12px;
    }

    .navbar-profile {
        padding-left: 0;
    }

    .k-menu {
        padding-left: 0;
    }

    .navbar-profile {
        right: 0%;
    }
}

@media (max-width: 1099px) {
    .navbar-inverse .navbar-brand {
        color: white;
        font-size: 0;
    }

    .navbar-logo {
        margin-left: 10px !important;
    }

    .k-link {
        font-size: 10px;
    }

    .nav-container {
        position: fixed;
        left: 0;
    }
}

@media (max-width: 790px) {
    .k-widget.k-menu-horizontal > .k-item {
        padding: 0 4px;
    }
}

/* Hamburger icon styles */
/*.hamburger-icon,
.cancel-icon {
    font-size: 24px;
    cursor: pointer;
    color: white;
}*/
/* Show cancel icon when active */
/*.navbar-toggler.active .hamburger-icon {
    display: none;
}

.navbar-toggler.active .cancel-icon {
    display: inline;
}*/
/* Show hamburger only on small screens */
/*@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }
}*/
/* Login navbar */
.navbar-login {
    text-align: center;
}

/* Login footer */
.powered-by-section {
    left: 0;
    bottom: 7%;
    position: fixed;
}

/* Login form */
#login .container {
    width: auto !important;
}

#login {
    margin-left: -31%;
}

    /*.login-form {
    float: left;
}
*/
    /*#login #login-row {
    width: 655px !important;
}*/
    #login .container #login-row #login-column #login-box {
        margin-top: 60%;
        width: 400px !important;
        height: 320px;
        border: 1px solid rgba(17, 41, 60, 0.26);
        border-radius: 15px;
        background-color: #ffffff;
    }

        #login .container #login-row #login-column #login-box #login-form {
            padding: 20px;
        }

            #login .container #login-row #login-column #login-box #login-form #register-link {
                margin-top: -85px;
            }

.k-grid .k-grid-header .k-header .k-link {
    height: auto;
    vertical-align: top;
}

.k-grid .k-grid-header .k-header {
    white-space: normal;
}


/* CSS override */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Poppins", serif;
}

.row {
    margin-left: 0;
    margin-right: 0;
    align-items: center;
}

.text-info {
    color: #243143 !important;
}

/* Form */
.form-group {
    text-align: left;
}

/* Labels */
label {
    font-weight: 500 !important;
}

/* Input fields */
.k-textbox {
    width: 100%;
    border-radius: 7px;
}

    .k-textbox > input {
        border-radius: 10px;
    }

.form-control {
    border-radius: 10px;
    box-shadow: none;
}

.text-box {
    border: 1px solid #d5d5d5;
    border-radius: 7px;
    box-shadow: none;
}

    .text-box:focus, .text-box:focus-visible {
        border: 1px solid #b6b6b6 !important;
    }

/* Buttons */
.btn-info {
    width: -webkit-fill-available;
    height: 40px;
    background-color: #7847EB;
    border-radius: 10px;
    border: none;
}

    .btn-info:hover, .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled):focus, .btn-info:not(:disabled):not(.disabled):focus-visible {
        background-color: #6b40cf;
        border: none;
        box-shadow: none;
    }

.k-button {
    border-radius: 7px;
}

    .k-button:hover, .k-button:active {
        background-color: #7847EB;
        color: white;
        background-image: none;
        border-color: #7847EB;
    }

    .k-button:focus, .k-button:focus:hover {
        color: white;
        background-color: #6b40cf;
        background-image: none;
        border-color: #6b40cf;
        box-shadow: none;
    }

.k-primary {
    background-color: #7847EB;
    border: none;
    background-image: none;
}

    .k-primary:hover {
        background-color: #6b40cf !important;
        border: none !important;
    }


/* Login footer */
.login-footer-text {
    color: #7E8B97;
}

.axienta-logo {
    width: 12%;
}

footer > p {
    font-size: 12px;
    color: #243143DE;
}

footer {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    left: 0;
    bottom: 0;
    position: fixed;
    backdrop-filter: blur(5px);
    padding: 10px 0 0 0;
}

/* Tables */
.k-header {
    background-image: none;
    background-color: #0095FF;
}

th > a {
    font-size: 12px;
}

.k-grid td {
    font-size: 12px;
    text-align: left;
}

.k-textbox > .k-input, .k-textbox > input, .k-grid .k-button {
    font-size: 12px;
}

.k-pager-info {
    font-size: 12px;
}

.k-grid-filter.k-state-active {
    background-color: transparent;
}

/* Table dropdowns */
.k-dropdown-wrap.k-state-default {
    background-color: white;
    background-image: none;
}

.k-list > .k-item {
    background-color: white !important;
}

    .k-list > .k-item:hover {
        color: white;
        background-color: #929BA4 !important;
        background-image: none;
    }

.k-list > .k-state-selected {
    color: white !important;
    background-color: #929BA4 !important;
    background-image: none;
}

.k-select > .k-icon {
    color: #5F6B7C !important;
}

.k-popup .k-list .k-item {
    text-align: left;
}

.container .row {
    padding-top: 10px;
}

/* Detailed tables */
.k-tabstrip-item > span {
    color: #333333 !important;
}

.k-tabstrip-wrapper > .k-header {
    background-color: #929BA4;
}

.k-detail-row:hover {
    background-color: transparent !important;
}

.k-tabstrip-items-wrapper {
    border: none;
}

.k-toolbar {
    border-radius: 8px 8px 0 0;
}

.k-grid tr:hover {
    background-color: #40a6fe4d;
    background-image: none;
}

.col-md-2 {
    text-align: left;
}

/* Pagination */
.k-pager-wrap .k-link.k-state-selected {
    background-color: #40A6FE;
    background-image: none;
}

.k-pager-wrap .k-link {
    border-color: #0095FF3D;
}

    .k-pager-wrap .k-link:hover {
        color: #0095FF !important;
        background-color: #0095FF3D !important;
        border-color: #0095FF;
        background-image: none;
    }

.k-pager-numbers-wrap + .k-pager-nav {
    color: #0095FF;
    background-color: #0095FF3D;
}

.k-pager-wrap > .k-link {
    color: #0095FF !important;
}

.k-pager-wrap .k-link {
    background-color: white;
}

.k-pager-numbers > li {
    padding: 1px 1px 3px 1px;
}

    .k-pager-numbers > li > span {
        border-radius: 7px !important;
    }

    .k-pager-numbers > li > a {
        color: #929BA4 !important;
        border-radius: 7px !important;
    }

        .k-pager-numbers > li > a:hover, .k-pager-numbers > li > a:focus {
            color: #11293CB5 !important;
            background-color: #0095FF3D !important;
        }

/* Filter icon */
.k-header > .k-grid-filter {
    color: white;
}

/* Home page */
.lead {
    width: fit-content;
    text-align: left;
    margin-top: 6%;
    color: white;
    font-weight: 500;
    background-color: #0095FF;
    padding: 5px 15px;
    border-radius: 10px;
}

.bg-img {
    position: absolute;
    width: 85%;
    left: 0;
    /*        top: 0;*/
    margin-left: 10%;
    z-index: -1;
}

hr {
    border: none;
}

.home-title {
    color: #243143;
    text-align: left;
    font-size: 62px;
    font-weight: 600;
    padding-top: 2%;
}

    .home-title span {
        color: #7847EB;
        font-weight: 700;
    }

.home-paragraph {
    text-align: left;
    width: 50%;
    color: #4e6a91;
    font-size: 17px;
    padding-top: 5px;
}

.home-content {
    margin-left: 5%;
    margin-top: 10%;
}

/* Home page responsive */
@media (max-width: 1500px) {
    .home-content {
        margin-left: 5%;
        margin-top: 15%;
    }

    #layout > .container {
        /*        height: 80vh;*/
    }

    .bg-img {
        width: 90%;
        bottom: 0 !important;
        z-index: -1;
    }

    .home-title {
        font-size: 55px;
    }
}

@media (max-width: 1099px) {
    .home-content {
        margin-left: 5%;
        margin-top: 20%;
    }

    .home-title {
        font-size: 50px;
    }
}

/* Check box */
.k-checkbox:checked {
    color: #7847EB;
}

    .k-checkbox:checked:focus {
        box-shadow: none;
        border-color: #7847EB;
    }

.k-checkbox:hover, .k-checkbox:focus {
    color: #7847EB;
    border-color: #7847EB;
    box-shadow: none;
}

input[type="checkbox"]:focus {
    outline: none;
}

/* Calendar */
.k-calendar-td > .k-link, .k-nav-today {
    color: #243143 !important;
}

.k-state-selected .k-link {
    color: white !important;
}

.k-state-hover .k-link:not(.k-menu-link) {
    color: white !important;
    background-color: #929BA4 !important;
}

.k-calendar-range td.k-state-focused .k-link:not(.k-menu-link) {
    box-shadow: none;
}

.k-calendar-range td.k-state-selected .k-link:not(.k-menu-link) {
    border-color: #40A6FE;
    background-color: #40A6FE;
}

.k-calendar-range td.k-range-mid {
    background-image: none;
    background-color: rgba(64, 166, 254, 0.3);
}

.k-d-flex {
    padding-bottom: 7px;
}

.k-animation-container > .k-calendar-container {
    background-color: white !important;
}

.k-calendar-range td.k-range-split-end::after {
    background-image: linear-gradient(to right,rgba(64, 166, 254, 0.3),transparent);
}

.k-calendar-range td.k-range-split-start::after {
    background-image: linear-gradient(to left,rgba(64, 166, 254, 0.3),transparent);
}

.k-calendar td.k-state-focused .k-link:not(.k-header), .k-calendar .k-today .k-link:not(.k-menu-link) {
    box-shadow: none;
    border: 2px solid var(--secondary-color);
}

.k-calendar td.k-state-selected .k-link:not(.k-menu-link) {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
    background-image: none;
}

.k-calendar td.k-state-hover .k-link {
    background-image: none;
}

.k-daterangepicker {
    background-color: transparent;
}

/* Popups */
.k-window-titlebar {
    color: white;
    background-color: #40A6FE;
    background-image: none;
}

.k-window-content {
    padding: 25px 12px;
}

.k-dialog-buttongroup {
    border: none;
    padding: 15px 20px;
}

/* Popup Edit Form */
.k-popup-edit-form {
    background-color: white;
}

/* Receipt Interface page */
.row-form {
    padding-top: 10px;
}

.row-form-col2-label {
    text-align: left;
    left: 3%;
}

.row-form-payment-col2-label {
    text-align: left;
    left: 10%;
}

.row-form-payment-col2-field {
    text-align: left;
    left: -5%;
    width: auto;
}

/* Text box */
.k-textbox {
    border: 1px solid #11293C42;
}

    .k-textbox:focus, .k-state-focused {
        border-color: #b6b6b6 !important;
        box-shadow: none !important;
    }

    .k-textbox > .k-input {
        color: #2e2e2e;
        font-weight: 500;
    }

/* Date picker */
.k-datepicker {
    border: 1px solid #11293C42;
}

/* Tabs */
.k-tabstrip-item:not(.k-state-active):not(.k-spreadsheet-sheets-bar-inactive) > .k-link:hover {
    color: white !important;
}

/* Spreadsheet */
.k-spreadsheet-sheets-bar-add > .k-i-plus {
    color: white;
}

.k-spreadsheet-sample:hover {
    color: white;
}

.k-state-border-down:not(.k-dropdown):focus {
    background-color: #6b40cf !important;
}


/* Color legend */
.color-legend {
    display: flex;
    align-items: center;
    gap: 37px;
    padding: 15px 0 8px 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.bgYellow {
    background-color: #fffa70;
}

.bgGreen {
    background-color: #76CE99;
}

.bgOrange {
    background-color: #ffa166;
}

/* Dropdown */
.k-nodata {
    color: #333333;
}

/* Radio buttons */
.k-radio:checked {
    color: var(--secondary-color) !important;
}
    .k-radio:checked:focus {
        box-shadow: 0 0 3px 0 var(--secondary-color);
    }
