@charset "UTF-8";
/* Theme */
body {
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.5;
    color: #000000;
}

.dropdown-divider {
    margin: .3rem 0;
}

.form-control:disabled, .form-control:read-only {
    background-color: inherit;
    opacity: 1;
}

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

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

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

a:hover, .btn-link:hover, a:active {
    color: #0a3622;
    text-decoration: none;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #0a3622;
}

.btn-primary {
    color: #000;
    background-color: var(--primary);
    border-color: var(--primary);
}


.form-control-sm {
    min-height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .775rem;
    border-radius: .2rem;
}

.dropdown-menu {
    font-size: 0.8rem;
}

.sidebar .navbar .navbar-nav .nav-link {
    padding: 1px 5px;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #495057;
    background-color: inherit;
    border-color: #dee2e6 #dee2e6 #F3F6F9;
}

/* Custom */

.table thead th {
    text-transform: inherit;
    padding: 0.05rem 0.45rem;
    font-size: .775rem;
    font-weight: bold;
}

.accordion {
    margin: 0.25rem 0;
}
.nav-tabs  .nav-link {
    color: inherit;
}
.list-group-item-primary {
    background-color: var(--primary);
    color: #fff;
}
.table {
    margin-bottom: 0.1rem;
}

.card-header {
    color: #fff;
}
.page-sidebar {
    margin: 0.25rem 0;
}
.page-sidebar .list-group-item {
    font-size: 0.75rem;
}
.accordion .card-header {
    color: #fff;
    font-weight: bold;
    background: var(--primary);
    padding: 0.45rem;
}

.navbar-brand {
    --bs-navbar-brand-color: #fff;
    color: var(--bs-navbar-brand-color);
}

.money{
    font-weight: bold;
    font-size: 1.4em;
}

.alert{
    padding: 0.8rem 0.6rem;
    text-align : center;
    width : 60%;
    margin : 0.4% auto;
}

.alert-full{
    text-align : center;
    width : 100%;
}

.ferror{
    color: red;
    text-align: justify;
    font-size: 12px;
}

.required{
    font-weight: bold;
    color: red;
}

.pageheader-title {
    text-transform: uppercase;
    font-size: 16px;
    color: var(--bs-link-hover-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.btn-square {
    border-radius: 0;
}
.btn-pill {
    border-radius: 1.5rem;
}
.btn-icon {
    padding: .375rem .5rem;
}
.btn-icon.btn-sm {
    padding: .25rem .375rem;
}
.btn-icon.btn-lg {
    padding: .5rem .675rem;
}

.btn{
    border-radius: 0.25rem;
}

form[data-form-type="filter"] input.form-control{
    display: inline-block;
    width: 20%;
}

.btn-xs {
    padding: 3px 4px;
    font-size: 12px;
}

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

.btn-link {
    text-decoration: underline;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    text-align: left;
    color: var(--primary);
}

a[href="#hide"], a[href="#hide"]:hover{
    text-decoration: none;
    color: inherit;
}

fieldset{
    border: 1px solid #ccc;
    padding: 9px;
}

legend{
    font-size: 1rem;
}

.list-group-item {
    padding: 0.3rem;
}

.form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}

.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 0.3125rem;
    margin-left: 0;
}

.table-sm td, .table-sm th {
    padding: 0.15rem 0.45rem;
}


.party-search .table td{
    border-top: none;
}

.hidden {
    display: none;
}

.select-100 {
    min-width:100%;
}

.form-control{
    color: #000;
}

#tree_display_data, #tree_form_current, #tree_form_data {
    display: none;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

/* Sale Despatch calendar */

.fc-agenda .fc_red .fc-event-time,
.fc_red,
.fc_red a {
    background-color: #c00 !important;
    border-color: #c00 !important;
    color: #fff !important;
}

.fc-agenda .fc_green .fc-event-time,
.fc_green,
.fc_green a {
    background-color: #00a300 !important;
    border-color: #00a300 !important;
    color: #fff !important;
}

.fc-agenda .fc_pink .fc-event-time,
.fc_pink,
.fc_pink a {
    background-color: #b20e67 !important;
    border-color: #b20e67 !important;
    color: #fff !important;
}

.fc-agenda .fc_yellow .fc-event-time,
.fc_yellow,
.fc_yellow a {
    background-color: orange !important;
    border-color: orange !important;
    color: #fff !important;
}

.despatch-legend-calendar{
    padding: 5px;
    border-radius: 4px;
}

/* End Select2 multiple */

/* AJAX Loader */

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('../images/loading.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

/* END AJAX Loader */