@import "calendar.css";
@import "datatable.css";
@import "daterangepicker.css";
@import "file.css";
@import "font.css";
@import "home.css";
@import "modal.css";
@import "navbar.css";
@import "pickup.css";
@import "select.css";
@import "sidebar.css";
@import "switch.css";
@import "table.css";
@import "user.css";

* {
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f5f5;
    background-image: url("/media/img/background/ubintia.png");
    background-position: center;
    background-size: 35%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-size: 14px;
    overflow-x: hidden;
    color: #000;
}

hr {
    margin-top: 0;
    margin-bottom: 0;
    background-color: #dddd;
    opacity: 1;
}

a, a:active, a:active:focus, a:focus, a:hover, a:link, a:visited, a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: #949494;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

p {
    margin: 0;
    color: #080a34;
}

input:active:focus, input:focus,
select:active:focus, select:focus,
textarea:active:focus, textarea:focus,
.btn:active:focus, .btn:focus {
    outline: none;
}

textarea {
    resize: none;
}

ul, ol {
    margin-bottom: 0;
}

li {
    list-style-type: none;
}

li.active {
    font-weight: bold;
}

sup.required {
    color: #dc3545;
}

small {
    font-size: 12px;
    color: #080a34;
}

span.fas, span.far {
    cursor: pointer;
    font-size: 13px;
}

span.fa-spin {
    font-size: 42px;
}

span.fa-search {
    color: #949494;
}

a.disabled span.fas, a.disabled span.far,
span.fas.disabled, span.far.disabled {
    cursor: default;
    color: #949494;
    opacity: 0.6;
}

img.preview {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 4/3;
    border: 1px solid #ddd;
    padding: 5px;
}

::-webkit-scrollbar,
.display-none {
    display: none;
}

.width-auto {
    width: auto !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

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

.align-middle {
    vertical-align: middle !important;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.margin-top {
    margin-top: 15px !important;
}

.margin-bottom {
    margin-bottom: 15px !important;
}

.margin-left {
    margin-left: 15px !important;
}

.margin-right {
    margin-right: 15px !important;
}

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

.padding-right {
    padding-right: 0 !important;
}

.fa-2x {
    font-size: 1.6em;
}

#app {
    width: 100%;
    height: 100%;
}

.container {
    max-width: 100%;
    width: 100%;
    padding-top: 53px;
    padding-left: 240px;
    padding-right: 0;
    transition: all 0.4s ease 0s
}

.container .row {
    margin-top: 20px;
    margin-bottom: 20px;
}

.container .title {
    position: fixed;
    width: 100%;
    height: 55px;
    background-color: #e0e0e4;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    padding: 17px 0 0 20px;
    color: #080a34;
    z-index: 2;
}

.container .page-content {
    padding-top: 55px;
}

.container hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

#loader {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.fa-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.card {
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 15px;
    border-radius: 0;
    border: 1px solid #ddd;
}

div.card div.card-body .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

div.card div.card-footer {
    border-top: 0;
    background-color: #fff;
}

div.card div.card-footer .row {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 10px !important;
    margin-bottom: 10px; !important;
}

form h4 {
    margin-top: 25px;
}

.form-group {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px !important;
}

.form-group span {
    padding-left: 0;
    padding-right: 0;
}

label.col-form-label {
    padding-left: 0;
    font-weight: normal;
    color: #1e22aa;
}

label.col-form-label > span.fas,
label.col-form-label > span.far {
    color: #080a34;
}

p.no-results {
    margin-top: 10px;
}

label[for="state"] {
    font-weight: bold;
    color: #080a34;
    padding-top: 7px;
    padding-left: 0;
    margin-bottom: 10px !important;
}

.form-control {
    box-shadow: none !important;
    border-radius: 5px;
    border: 1px solid #ddd;
    height: 33px;
    padding: 6px 12px;
    color: #080a34;
    font-size: 13px;
}

.form-control[readonly] {
    background-color: #fff;
}

.form-control:not(.date)[readonly] {
    cursor: not-allowed;
}

input[type="text"],
input[type="time"],
input[type="password"] {
    padding-left: 15px;
}

input[type = date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.input-group-text {
    width: 38px;
    height: 33px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #f5f5f5;
}

.input-group-text.input-group-addon {
    cursor: pointer;
}

.input-group-text i {
    margin: 0 auto;
}

.buttons {
    text-align: right;
}

.delete {
    text-align: center;
}

.alert {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: justify;
}

.alert-warning {
    position: initial;
    width: 100%;
}

.alert .fa-times {
    float: right
}

.input {
    padding: 6px 0;
}

.view-options {
    display: inline;
}

.results,
.total,
.options {
    margin-top: 15px;
    margin-bottom: 15px;
}

.results,
.total {
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    color: #080a34;
}

.options {
    text-align: right;
}

.options .btn, .options .btn:active, .options .btn:active:focus, .options .btn:focus, .options .btn:focus-visible, .options .btn:hover, .options .btn:link, .options .btn:visited, .options .btn[disabled]:hover {
    width: auto !important;
    min-width: 195px;
}

.options .btn-option, .options .btn-option:active, .options .btn-option:active:focus, .options .btn-option:focus, .options .btn-option:focus-visible, .options .btn-option:hover, .options .btn-option:link, .options .btn-option:visited, .options .btn-option[disabled]:hover {
    width: auto !important;
    min-width: auto !important;
}

.btn, .btn:active, .btn:active:focus, .btn:focus, .btn:focus-visible, .btn:hover, .btn:link, .btn:visited, .btn[disabled]:hover {
    width: 100%;
    height: 33px;
    padding: 6px 12px;
    box-shadow: none;
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    outline: none;
}

.btn-primary, .btn-primary:active, .btn-primary:active:focus, .btn-primary:focus, .btn-primary:focus-visible, .btn-primary:hover, .btn-primary:link, .btn-primary:visited, .btn-primary[disabled]:hover {
    border: 1px solid #1e22aa;
    background-color: #1e22aa;
    color: #fff;
}

.btn-default, .btn-default:active, .btn-default:active:focus, .btn-default:focus, .btn-default:focus-visible, .btn-default:hover, .btn-default:link, .btn-default:visited, .btn-default[disabled]:hover {
    border: 1px solid #ddd;
    background-color: #fff;
    color: #1e22aa;
}

.btn-option, .btn-option:active, .btn-option:active:focus, .btn-option:focus, .btn-option:focus-visible, .btn-option:hover, .btn-option:link, .btn-option:visited, .btn-option[disabled]:hover {
    width: auto !important;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #949494;
}

form .inputs .col-md:nth-child(1) {
    padding-left: 0;
    padding-right: 5px;
}

form .inputs .col-md:nth-child(2) {
    padding-left: 5px;
    padding-right: 0;
}

span.legend,
span.file,
span#file {
    font-style: italic;
    font-size: 12px;
}

span.label {
    padding: 5px;
    font-weight: normal;
    font-size: 12px;
}

.required-fields {
    position: relative;
    top: 0;
    left: 0;
    padding-left: 0;
    font-size: 12px;
    color: #dc3545;
}

.invalid-feedback,
.form-group.row .invalid-feedback {
    display: block;
}

.create-option,
.update-option,
.delete-option {
    color: #949494;
    cursor: pointer;
    text-decoration: none;
}

.create-option:active,
.create-option:active:focus,
.create-option:focus,
.create-option:hover {
    color: #007bff;
}

.update-option:active,
.update-option:active:focus,
.update-option:focus,
.update-option:hover {
    color: #d39e00;
}

.delete-option:active,
.delete-option:active:focus,
.delete-option:focus,
.delete-option:hover {
    color: #dc3545;
}

.nav-tabs .nav-link {
    width: auto;
    max-width: 100%;
    text-align: center;
    font-size: 13px;
    color: #080a34;
}

.tab-content {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 15px;
}

.tooltip {
    font-size: 12px;
}

.tooltip-inner {
    width: auto;
    max-width: 250px;
    text-align: left !important;
    padding: 5px;
}

div[class*="level"]:not(:last-child) {
    margin-bottom: 15px;
}

.treeview span.node-icon {
    margin-right: 15px;
}

@media screen and (max-width: 991px) {
    .card {
        margin-left: 0;
        margin-right: 0;
    }

    form .col-md-12 .buttons .col-md-6:nth-child(1),
    form .col-md-12 .buttons .col-md-6:nth-child(2) {
        padding-left: 0;
        padding-right: 0;
    }

    form .inputs .col-md-6:nth-child(1) {
        padding-right: 0;
        margin-bottom: 5px;
    }

    form .inputs .col-md-6:nth-child(2) {
        padding-left: 0;
        margin-top: 5px;
    }

    .view-options {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .col-md-4,
    .col-md-6,
    .col-md-8 {
        width: 100%;
    }

    .offset-md-6 {
        margin-left: 0;
    }

    .offset-md-8 {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 0;
    }

    .options {
        text-align: center;
    }

    .table-responsive {
        border: none;
    }

    .btn-default {
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 768px) {
    .col-md-8 {
        width: 100%;
    }
}
