﻿html {
    font-size: 100%;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    display: flex;
    font-family: "Segoe UI","-apple-system",BlinkMacSystemFont,Roboto,"Helvetica Neue",Helvetica,Ubuntu,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    overflow: hidden;
    background-color: #f8f8f8;
    font-size: .8125rem;
    color:rgba(0,0,0,0.9);
}

.bowtie-icon{
    /*font-size:14px !important;*/
}
:focus {
    outline: none;
}

.flex-row {
    display: flex;
    flex-direction: row
}

.flex-column {
    display: flex;
    flex-direction: column
}

.flex-grow {
    flex-grow: 1
}

.flex-noshrink {
    flex-shrink: 0
}

.flex-center {
    align-items: center
}

.justify-center {
    justify-content: center
}

a.st-link, a.st-link:link, a.st-link:focus, a.st-link:active, a.st-link:visited {
    text-decoration: none;
    color: #0078d4 !important;
}

a.st-link.disabled, a.menu-link.disabled {
    color: rgb(161, 159, 157);
    pointer-events: none;
    cursor: default;
}

a.st-link:hover {
    text-decoration: underline;
    color: rgb(0, 69, 120);
}

.scroll-hidden {
    overflow: hidden;
}

.v-scroll {
    overflow-y: auto;
}

.h-scroll {
    overflow-x: auto;
}



.st-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.st-page {
    overflow: hidden;
}

.tenant-subtitle {
    color: #7d7d7d;
    font-size: .625rem;
}

.st-shadow {
    box-shadow: 0 3.2px 7.2px 0 rgba(0,0,0,.132), 0 0.6px 1.8px 0 rgba(0,0,0,.108);
}

input:-webkit-autofill,
input:autofill {
    background-color: transparent;
}


/* GENERAL BOOTSTRAP CUSTOM */

.bg-grey-3 { background-color:#f3f2f1; }
.bg-blue-1 { background-color:#e5f4ff; }
.bg-blue-2 { background-color:#cae8ff; }
.bg-blue-3 { background-color:#b6dfff; }
.bg-green-1 { background-color:#e9faea; }
.bg-green-2 { background-color:#cbefcd; }
.bg-green-3 { background-color:#a7e1ab; }
.bg-turquoise-1 { background-color:#e6f9fa; }
.bg-turquoise-2 { background-color:#d1f0f1; }
.bg-turquoise-3 { background-color:#a7dbdd; }
.bg-red-1 { background-color:#ffeeee; }
.bg-red-2 { background-color:#f6d2d2; }
.bg-red-3 { background-color:#efbdbd; }
.bg-yellow-1 { background-color:#fefbe5; }
.bg-yellow-2 { background-color:#f3efcd; }
.bg-yellow-3 { background-color:#e7e1b1; }
.bg-orange-1 { background-color:#fff6ec; }
.bg-orange-2 { background-color:#f8e6d2; }
.bg-orange-3 { background-color:#e9d1b5; }
.bg-purple-1 { background-color:#f9ecff; }
.bg-purple-2 { background-color:#f2dcfc; }
.bg-purple-3 { background-color:#e2c0f1; }
.bg-darkblue-1 { background-color:#ebedff; }
.bg-darkblue-2 { background-color:#dadeff; }
.bg-darkblue-3 { background-color:#c3c8f3; }

.border-top { border-top: 1px solid rgba(204, 204, 204, 0.8) !important; }
.border-right { border-right: 1px solid rgba(204, 204, 204, 0.8) !important; }
.border-bottom { border-bottom: 1px solid rgba(204, 204, 204, 0.8) !important; }
.border-left { border-left: 1px solid rgba(204, 204, 204, 0.8) !important; }
.border-right-primary { border-right: 1px solid #0078d4 !important; }
.border-left-primary { border-left: 1px solid #0078d4 !important; }

.btn:focus, .btn.focus {
    box-shadow: none !important;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    background-color: rgb(0, 90, 158);
    border-color: rgb(0, 90, 158);
}

.text-underline { text-decoration:underline }
.font-weight-500 { font-weight:500 }
.font-weight-400 { font-weight:400 }
.font-weight-300 { font-weight:300 }
mark, .mark { background-color:#fff0a1; padding:0; }
.custom-file { height:calc(1.5em + .55rem + 0px); }
.custom-file-input { cursor:pointer }
.custom-file-label { border:0; height:calc(1.5em + .5rem); white-space:nowrap }


/* HEADER */
.st-header {
    background-color: white;
    border-bottom: 1px solid rgba(204,204,204,.8);
    height: 2.5rem;
}

.st-header-content {
    justify-content: space-between;
}

.st-brand .saperator {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background-color: rgba(255,255,255,.8);
    width: .125rem;
    margin: .8125rem .625rem;
    margin-right: .3125rem;
}

.st-brand .brand-icon {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 3.875rem;
    overflow: hidden;
    font-size: 1rem
}

.st-brand .smarticket-full-logo {
    width: 6.625rem !important;
}

.st-brand .brand-icon img {
    max-height: 100%;
    max-width: 100%
}

.st-identity .user-avatar {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    margin-left: 0.625rem;
    background-color: #808080
}

.st-identity .user-avatar img {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
}
.dropdown-profile::after { display:none }


/* NAVIGATION */

.st-aside {
    border-right: 1px solid rgba(204,204,204,.8);
    background-color: #145482;
    padding: 0;
    z-index: 6;
}

.st-aside, .st-aside a {
    color: #e1ecf2;
}

.st-aside-content {
    width: 2.9rem;
    overflow: hidden;
    transition: width 1ms cubic-bezier(.4,0,.2,1);
}

.st-aside-content.expanded {
    transition-duration: 200ms;
    width: 15rem;
}

.st-aside-content.collapsed .menu-text {
    display: none;
}

.st-aside-content.collapsed .main-menu-footer .menu-group {
    flex-direction: column;
}

.st-aside-content .saperator {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.2);
    height: 1px;
    margin: 0 .625rem;
}

.st-aside-menu {
    overflow: hidden;
    overflow-y: auto;
}

.st-aside-menu .menu-group {
    margin: .2rem 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.main-menu-header, .main-menu-footer, .main-menu-header .menu-group, .main-menu-footer .menu-group {
    display: flex;
    flex-direction: row;
    position: relative;
}

.menu-link {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    color:rgba(0,0,0,.9);
    position: relative;
    align-items: center;
    border-radius: 2px;
    text-decoration: none;
    transition: color 80ms cubic-bezier(.165,.84,.44,1),background 80ms linear;
}

.menu-link:focus {
    outline-width: 0;
}

.menu-link:hover {
    text-decoration: none;
    background-color: rgba(255,255,255,.1);
}

.st-aside-content .main-menu-header .menu-link:hover {
    background-color: inherit;
}

.menu-group .expanded-collapsed {
    font-size: 1rem;
}

.menu-group .expanded-collapsed:hover {
    color: #0078d4;
}

.menu-group.has-active::before {
    background-color: rgba(0,0,0,.2);
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    width: .1875rem;
    content: "";
}

.menu-link.has-active::before {
    background-color: #2196f3;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    width: .1875rem;
    content: "";
}

.menu-group.has-active .menu-group-link,
.menu-link.has-active {
    font-weight: 600
}

.menu-group.has-active, .menu-link.has-active {
    background-color: rgba(0,0,0,.15);
}

.menu-group-child {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.collapsed-child .menu-group-child {
    display: none
}

.menu-icon {
    font-size: 14px !important;
    height: 2.125rem;
    width: 2.9375rem;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    position:relative;
}

.menu-text {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avatar-icon {
    width: 1.6875rem;
    height: 1.6875rem;
    overflow: hidden;
    border-radius: .25rem;
}

.avatar-icon img {
    max-width: 100%;
    max-height: 100%
}
.st-aside-content.expanded .expanded-collapsed .menu-icon-font,
.st-aside-content.collapsed .expanded-collapsed .menu-icon-font {
    font-size: 1rem;
    position: absolute;
}
.st-aside-content.expanded .expanded-collapsed .menu-icon-font:before {
    content: "\E9A7"
}

.st-aside-content.collapsed .expanded-collapsed .menu-icon-font:before {
    content: "\E9A9"
}

.collapsed .dropdown-menu {
    margin-left: 0 !important;
}

.menu-link.dropdown-item {
    padding: 0;
}

.dropdown-divider {
    margin: .2rem 0;
}

.dropdown-menu .menu-icon {
    height: 1.875rem;
    width: 2.5rem
}

.dropright .dropdown-toggle::after {
    display: none;
}

.st-aside-content.collapsed .dropdown-menu .menu-text {
    display: flex;
}

.tenant-menu {
    z-index: 1090;
}



/* STATUS MODAL */
/*#fatalModal .modal-dialog,
#loadingModal .modal-dialog,
#printingModal .modal-dialog,
#unauthorizeModal .modal-dialog {
    margin-top: 4rem;
}*/
#loadingModal .modal-dialog,
#printingModal .modal-dialog {
    margin-top: 4rem;
}
#notfoundModal .modal-body, #accessDeniedModal .modal-body {
    margin-bottom: 1rem;
}
#accessDeniedModal .modal-content {
    background-color: #ffe99d;
   
}

#loadingModal, #printingModal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

#loadingBackdrop, #printingBackdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .2;
    z-index: 1990;
}
.close .bowtie-icon {
    font-size: 1.21875rem !important;
}


/* LOADING */

.st-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.st-spinner-circle.spinner-xs {
    width: .75rem;
    height: .75rem;
}

.st-spinner-circle.spinner-sm {
    width: 1rem;
    height: 1rem;
}

.st-spinner-circle.spinner-lg {
    width: 1.75rem;
    height: 1.75rem;
    border-width: 2.5px
}

.st-spinner-circle {
    box-sizing: border-box;
    animation-name: css-spinner;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border-width: 1.5px;
    border-style: solid;
    border-color: rgb(0, 120, 212) rgb(199, 224, 244) rgb(199, 224, 244);
    border-image: initial;
}

@keyframes css-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* shadow */
.shadow-sm {
    box-shadow: 0 3.2px 7.2px 0 rgba(0,0,0,.132), 0 0.6px 1.8px 0 rgba(0,0,0,.108) !important;
}


/* Page */

.st-page .page-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.st-page .page-subtitle {
    margin-top: -4px;
}


/* Filter Bar */

.st-filterBar {
    padding-top: .2rem !important;
    padding-bottom: .5rem !important;
    background-color: #f2fbe1;
    margin: 0;
}

.st-filterBar .form-group {
    margin-bottom: .2rem;
}

.st-filter-general .st-filter-icon:hover {
    cursor: pointer;
    color: #0078d4;
}

.st-filter-advanced {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 15px !important;
}

.st-filter-item {
    display: flex;
    flex-shrink: 1;
    min-width: 6.25rem;
    background-color: #fff;
    border: 1px solid rgba(127,127,127,.7);
    border-radius: 1rem;
    margin-right: 5px;
}
.st-filterBar .st-form-group{
    margin-bottom:.1rem;
}
.st-filterBar .st-label {
    font-size: 12px;
    padding-bottom: 0;
}


/* JQuery UI */

.ui-widget {
    font-family: "Segoe UI","-apple-system",BlinkMacSystemFont,Roboto,"Helvetica Neue",Helvetica,Ubuntu,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    color: rgb(50,49,48) !important;
}

.ui-widget-header a,
.ui-widget-content a {
    color: rgb(50,49,48) !important
}


/* Bootstrap Table */
.table-fixed {
    table-layout: fixed;
}
.table {
    font-size: .75rem;
    color: #212529;
}

.table th {
    font-size: .8125rem;
    font-weight: 600;
    color: rgb(50,49,48);
}

.table th {
    padding: .6rem 1rem;
}

.table td {
    padding: .375rem 1rem;
}

.table-hover>tbody tr:hover {
    background-color: rgba(0,0,0,0.05);
}

.table>tbody tr.highlight {
    background-color: rgba(0,0,0,0.05);
    color: rgb(50, 49, 48);
}

.table>tbody tr.highlight:hover {
    background-color: rgba(0,0,0,0.1);
    color: rgb(50, 49, 48);
}




/* JQGRID */

.ui-jqgrid {
    border-width: 0 !important;
    background-color: transparent !important;
    color: rgb(96, 94, 92);
}

.ui-jqgrid .ui-widget-content {
    color:rgba(0,0,0,0.9);
}

.ui-jqgrid > .loading {
    border: none !important;
}

.ui-jqgrid > .ui-jqgrid-view {
    font-size: .75rem;
}

.ui-jqgrid > .ui-jqgrid-pager {
    font-size: inherit;
    padding: .375rem 0;
    border-top: 1px solid rgba(204, 204, 204, 0.8) !important;
}

.ui-jqgrid .ui-jqgrid-labels th.ui-th-column,
.ui-jqgrid .ui-jqgrid-legacy-subgrid .ui-th-subgrid,
.ui-jqgrid-labels .ui-th-column-header {
    text-align: inherit;
    font-size: .8125rem;
}

.ui-jqgrid tr.jqgrow > td {
    padding: .5rem .3rem;
}
.ui-jqgrid tr.jqgrow td {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.ui-jqgrid .ui-jqgrid-htable th {
    padding: .1875rem 0;
    font-weight: 600;
}

.ui-jqgrid .ui-jqgrid-htable th div[role="columnheader"], .ui-jqgrid .custom-header-padding {
    padding: .375rem  .1rem;
    white-space: normal !important;
}

.ui-jqgrid .ui-state-default, .ui-jqgrid .ui-widget-content .ui-state-default {
    background-color: inherit;
    border-right-width: 0;
    border-bottom-color: #dddddd;
}
.ui-jqgrid .jqgrid-rownum {
    background-color: transparent !important;
}

.ui-jqgrid .jqgrow.ui-state-hover, .ui-jqgrid .ui-widget-content .jqgrow.ui-state-hover {
    /*background-color: rgb(243, 242, 241);*/
    background-color: rgba(0, 0, 0, .05)
}

.ui-jqgrid .ui-state-hover .ui-jqgrid-sortable, .ui-jqgrid .ui-widget-content .ui-state-hover .ui-jqgrid-sortable {
    background-color: #f3f2f1;
}

.ui-jqgrid .ui-jqgrid-bdiv tr.ui-row-ltr > td {
    border-right-width: 0;
}

.ui-jqgrid-jquery-ui.ui-jqgrid .ui-jqgrid-bdiv tr.ui-row-ltr > td {
    border-bottom-color: #eaeaea
}

.ui-jqgrid .ui-state-highlight, .ui-jqgrid .ui-widget-content .ui-state-highlight, .ui-jqgrid .ui-widget-header .ui-state-highlight {
    border: 0;
    background-color: rgba(0, 0, 0, 0.05);
    /*background-color: rgb(237, 235, 233);*/
    color: rgb(50, 49, 48);
}

.ui-grid-ico-sort {
    background-image: none !important;
}

.ui-jqgrid-sortable .s-ico {
    vertical-align: unset !important;
}

.ui-jqgrid-sortable .s-ico .ui-icon {
    display: inline-block !important;
    font-family: 'bowtie' !important;
    font-style: normal;
    font-weight: 400;
    speak: none !important;
    text-indent: unset !important;
    width: unset !important;
    height: unset !important;
    position: unset !important;
    background-position: unset !important;
    margin-left: 2px !important;
}

.ui-jqgrid-sortable .s-ico .ui-icon-asc::before {
    content: "\E90B";
}

.ui-jqgrid-sortable .s-ico .ui-icon-desc::before {
    content: "\E90C";
}

.ui-jqgrid-sortable .s-ico .ui-icon.ui-state-disabled {
    display: none !important;
}

.ui-jqgrid .jqgrow.ui-state-hover.ui-state-highlight {
    border: 0;
    background-color: rgb(225, 223, 221);
    color: rgb(50, 49, 48);
}

.ui-th-column[aria-selected="true"] .ui-jqgrid-sortable {
    background-color: #f3f2f1;
}

.ui-jqgrid .ui-icon {
    background: none;
    display: flex !important;
    font-family: 'bowtie' !important;
    font-style: normal;
    font-weight: 600;
    font-size: .6rem;
    speak: none;
    float: none !important;
    margin: 0 !important;
    position: relative;
    text-indent: 0px;
}

.ui-jqgrid .ui-pg-button .ui-icon {
    font-size: 1.125rem;
    font-weight: 400;
}

.ui-jqgrid .ui-icon.ui-icon-seek-next::before {
    content: "\E9A5";
    align-self: center;
}

.ui-jqgrid .ui-icon.ui-icon-seek-end::before {
    content: "\E9B1";
    align-self: center;
}

.ui-jqgrid .ui-pg-button.ui-state-hover {
    border: 1px solid #ccc;
    border-radius: 0;
}

.ui-jqgrid .ui-icon.ui-icon-seek-prev::before {
    content: "\E9A3";
    align-self: center;
}

.ui-jqgrid .ui-icon.ui-icon-seek-first::before {
    content: "\E9AF";
    align-self: center;
}

.ui-jqgrid .ui-pg-table .ui-pg-button:focus {
    outline: 0
}

.ui-jqgrid .ui-pg-button:not(.ui-state-hover) {
    border-radius: 0;
}

.ui-jqgrid .ui-pg-button:focus {
    border: 1px solid #ccc;
}

.ui-jqgrid .sgbutton-div .ui-icon-plus::before {
    content: "\E970";
    align-self: center;
}

.ui-jqgrid .sgbutton-div .ui-icon-minus::before {
    content: "\E965";
    align-self: center;
}

.ui-jqgrid .subgrid-cell .ui-icon-caret-1-sw::before {
    content: "\E9CA";
    align-self: center;
}

.ui-jqgrid .st-cell-icon {
    font-size:.8125rem;
}

.ui-jqgrid .ui-jqgrid-bdiv {
    min-height: 100px;
    overflow:hidden;
}
.ui-jqgrid > .loading{
    top:35%;
}


/* Bootstrap Dropdown */

.dropdown, .dropdown-menu a {
    color: #212529
}
.dropdown-item:hover {
    background-color: rgba(0,0,0,.08);
}
.dropdown-menu {
    font-size: inherit;
    margin-left: -15px !important;
    padding: .3rem 0;
    width: 13rem;
    border-radius: 0;
    box-shadow: 0.2rem 0.2rem 0.3rem 0rem rgba(0,0,0,.16)
}

.dropdown-header {
    font-size: inherit;
    padding: .3rem .7rem;
    color: rgba(0, 0, 0, 0.9);
}
.st-dropdown[data-popper-placement^='top'] > .st-dropdown-arrow {
    bottom: -4px;
}

.st-dropdown[data-popper-placement^='bottom'] > .st-dropdown-arrow {
    top: -4px;
}

.st-dropdown[data-popper-placement^='left'] > .st-dropdown-arrow {
    right: -4px;
}

.st-dropdown[data-popper-placement^='right'] > .st-dropdown-arrow {
    left: -4px;
}

.st-dropdown-arrow,
.st-dropdown-arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    z-index: -1;
}

.st-dropdown-arrow::before {
    content: '';
    transform: rotate(45deg);
    background: #333;
}




/* More Menu */
.popover {
    font-size: inherit;
}

.st-popover {
    border-radius: 0;
    /*border: 1px solid rgba(0,0,0,.05);*/
    border:0;
    box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
}
.st-popover .popover-body {
    padding: 0;
    max-height: 285px;
    overflow-y: auto;
}
.popmenu-list {
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
}
.st-popMenu-wrapper {
    font-size: .875rem;
    font-weight: bolder !important;
    text-align: center;
    padding: 0 !important;
    cursor: pointer;
}

.ui-state-hover .st-popMenu-wrapper, .table tr:hover .st-popMenu-wrapper {
    /*background-color: rgb(224,224,223);*/
    background-color: rgba(0, 0, 0, 0.1);
}

.ui-state-hover .st-popMenu-icon, .ui-state-highlight .st-popMenu-icon {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}


.ui-jqgrid .jqgrow.ui-state-hover.ui-state-highlight .st-popMenu-wrapper {
    background-color: rgba(0, 0, 0, 0.15);
}

.st-popMenu {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.popover .menu-icon {
    height: 1.8rem;
    width: 2.3rem;
}
.popover .menu-link:hover {
    color:#212529;
    background-color: rgba(0,0,0,.08);
}



/* =================== BASIC INPUTS =================== */
/* Basic Input - label */
label {
    overflow-wrap: break-word;
}

.st-label {
    font-weight: 500;
    display: block;
    margin: 0;
    padding-top: .2rem;
    padding-bottom: .2rem;
}
[class^="col-"].st-label{
    font-weight: 500;
    padding:0;
}

.st-label.disabled {
    color: rgb(161, 159, 157);
}

.st-label.required::after {
    content: " *";
    color: rgb(220, 53, 69);
    padding-right: 1rem;
    font-weight: 600;
    font-size: 16px;
    line-height: .1;
}

.st-label-wrapper {
    display: flex;
}

.st-label-wrapper .st-btn-action {
    padding: 0 .3rem;
}



/* Basic Input - Button */

.btn-light, .btn-outline-light, .btn-light.disabled, .btn-light:disabled {
    color: #212529;
    border-color: rgb(138, 136, 134);
    background-color: rgb(255, 255, 255);
}

.btn-light:hover, .btn-outline-light:hover {
    border-color: rgb(138, 136, 134);
    background-color: rgb(243, 242, 241);
}

.btn-light:not(:disabled):not(.disabled):active,
.btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle,
.btn-light:focus, .btn-light.focus,
.btn-outline-light:not(:disabled):not(.disabled):active,
.btn-outline-light:not(:disabled):not(.disabled).active,
.show > .btn-outline-light.dropdown-toggle,
.btn-outline-light:focus, .btn-outline-light.focus {
    background-color: rgb(237, 235, 233);
    color: rgb(32, 31, 30);
    border-color: rgb(138, 136, 134);
}
.btn .st-icon {
    font-size:.875rem;
}


/* Basic Input - Action Bar Button  */

.st-btn-action {
    color: rgba(0,0,0,.9);
    padding: .266rem .5rem
}

.st-btn-action:hover {
    background-color: rgb(243, 242, 241);
}

.st-btn-action:hover, .st-btn-action:focus {
    color: rgba(0,0,0,.9);
    text-decoration: none;
}


/*.st-btn-action .st-icon {
    color: rgb(0, 120, 212);
    margin: 0 .25rem;
}*/

/*.st-btn-action svg {
    align-self: center;
}

.st-btn-action .ms-Icon {
    vertical-align: middle;
}

.st-btn-action .st-sgv {
    display: block;
    margin: auto;
}*/

/*.btn .st-sgv {
    width: 1rem;
    height: 1rem;
}

.btn-sm .st-sgv {
    width: .875rem;
    height: .875rem;
}

.st-btn-action .st-sgv-plus path {
    fill: green;
}

.st-btn-action .st-sgv-refresh path {
    fill: rgb(0, 120, 212);
}*/

.st-btn-label {
    margin: 0 .25rem;
}

.st-advanced-filter {
    height: calc(1.5em + .5rem);
    padding-top: 0;
    padding-bottom: 0;
}


/* Basic Input - Checkbox*/

.st-checkbox {
    position: relative;
    display: flex;
    flex-shrink: 1;
    text-overflow: ellipsis
}

.st-checkbox .form-check-input {
    opacity: 0;
    background: none;
    margin: 0;
}

.st-checkbox .form-check-label {
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    text-align: left;
    user-select: none;
    line-height:.875rem;
}

.st-checkbox .form-check-label:before {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content: "";
    pointer-events: none;
}

.st-checkbox-box {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 1rem;
    width: 1rem;
    box-sizing: border-box;
    transition-property: background, border, border-color;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.23, 1);
    margin-right: .25rem;
    border: 1px solid #495057;
    border-radius: 3px;
    overflow: hidden;
    background-color:#fff;
}

.st-checkbox-text {
    margin-left: .25rem;
}

.st-checkbox .st-icon {
    opacity: 0;
    color: rgb(255, 255, 255);
    font-size: .6875rem;
}

.st-checkbox.is-checked .st-checkbox-box {
    background: #0078d4;
    border-color: #0078d4;
}

.st-checkbox.is-checked:hover .st-checkbox-box {
    background: #0062ae;
    border-color: #0062ae;
}

.st-checkbox:hover .st-icon {
    color: #495057;
    opacity: 1;
}

.st-checkbox.is-checked .st-icon {
    opacity: 1;
}

.st-checkbox.is-checked:hover .st-icon {
    opacity: 1;
    color: #fff;
}

.st-checkbox.is-disabled .st-checkbox-box {
    border-color: #c8c6c4;
}

.st-checkbox.is-disabled .form-check-label {
    color: #a19f9d;
    cursor: default;
}

.st-checkbox.is-disabled:hover .st-icon {
    opacity: 0;
}

.st-checkbox.is-checked.is-disabled:hover .st-icon {
    opacity: 1;
}

.st-checkbox.is-checked.is-disabled .st-checkbox-box {
    border-color: #c8c6c4;
    background: #c8c6c4;
}


/* Basic Input - Radio */

.st-radio {
    position: relative;
    display: inline-block;
    line-height: 1rem;
    /*margin-bottom: 0 !important;*/
}

.st-radio .form-check-input {
    position: absolute;
    opacity: 0;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    margin: 0;
}

.st-radio .form-check-label {
    display: inline-block;
    cursor: pointer;
    margin-top: 0px;
    position: relative;
    vertical-align: top;
    /*min-height: 1rem;*/
    user-select: none;
    line-height: 1rem;
}

.st-radio .form-check-label::before {
    content: "";
    display: inline-block;
    background-color: #fff;
    width: 1rem;
    height: 1rem;
    font-weight: normal;
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    transition-property: border-color;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.23, 1);
    border: 1px solid #495057;
    border-radius: 50%;
}

.st-radio .form-check-label::after {
    content: "";
    display: inline-block;
    background-color: #fff;
    width: 1rem;
    height: 1rem;
    font-weight: normal;
    position: absolute;
    top: 0px;
    left: 0px;
    box-sizing: border-box;
    transition-property: border-color;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.23, 1);
    border: 1px solid #495057;
    border-radius: 50%;
}

.st-radio .st-radio-label {
    display: inline-block;
    padding-left: 1.6rem;
    line-height: 1rem;
}

.st-radio.is-checked .form-check-label {
    border-color: #0062ae;
}

.st-radio.is-checked .form-check-label::before {
    border-color: #0062ae;
}

.st-radio.is-checked .form-check-label::after,
.st-radio.is-checked:hover .form-check-label::after {
    border-color: #0062ae;
    width: .5rem;
    height: .5rem;
    position: absolute;
    left: .25rem;
    top: .25rem;
    border: 0.25rem solid #0062ae;
}

.st-radio:hover .form-check-label::after {
    border-color: #495057;
    width: .5rem;
    height: .5rem;
    position: absolute;
    left: .25rem;
    top: .25rem;
    border: 0.25rem solid #495057;
}

.st-radio.is-disabled:hover .form-check-label::after {
    width: 1rem;
    height: 1rem;
    top: 0px;
    left: 0px;
    border: 1px solid #c8c6c4;
    border-radius: 50%;
}

.st-radio.is-disabled .form-check-label::before,
.st-radio.is-disabled .form-check-label::after {
    border-color: #c8c6c4;
}

.horizontal-radio .st-radio { margin-right:1rem}


/* Basic Input - Textfield */

.st-form-group {
    margin-bottom: .8rem;
}

.st-checkbox, .st-radio {
    margin-bottom: .375rem;
}

.form-control {
    color:rgba(0,0,0,.9);
    border: 0;
    margin: 0;
    height: calc(1.5em + .5rem);
    padding: 0 .5rem;
    box-shadow: none;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    min-width: 0px;
    text-overflow: ellipsis;
    border-radius: 0px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: none transparent;
    outline: 0px;
}

.form-control:active, .form-control:focus, .form-control:hover {
    outline: 0px;
}

.form-control:focus {
    /*border-color:transparent;*/
    box-shadow: none;
}

.form-control:disabled, .form-control[readonly] {
    background-color: rgb(243, 242, 241);
}

.form-control:disabled {
    color: rgb(161, 159, 157);
}


.form-control-plaintext {
    color: rgba(0,0,0, .7);
    padding: .24rem 0;
}

.st-control-wrapper {
    background-color: white;
    border: 1px solid rgba(0,0,0,.25); /*1px solid #868381;*/
    border-radius:2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    flex-grow: 1;
}

.st-control-wrapper:hover {
    border-color: #495057;
}

.st-control-wrapper.disabled {
    border-color: transparent;
}

.st-control-wrapper.disabled:hover {
    border-color: transparent;
}

.st-control-wrapper.is-focused {
    border: 1px solid rgb(0, 120, 212);
    border-radius: 2px;
}

.st-control-wrapper.is-focused::after {
    pointer-events: none;
    content: "";
    position: absolute;
    left: -1px;
    top: -1px;
    bottom: -1px;
    right: -1px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(0, 120, 212);
    border-image: initial;
    border-radius: 2px;
}

.st-control-wrapper.required::before {
    content: "*";
    color: rgb(164, 38, 44);
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 16px;
    line-height: normal;
    font-weight: 600;
}

.st-control-wrapper .st-icon {
    pointer-events: none;
    position: absolute;
    right: .375rem;
    top: .3125rem;
    font-size:.875rem;
}

textarea.unresizable {
    resize: none;
}

.st-control-wrapper.underline {
    border: 0;
    border-bottom: 1px solid #868381;
}

.st-control-wrapper.underline:hover {
    border-color: #495057;
}

.st-control-wrapper.underline .st-label {
    padding: 0 0 0 .5rem;
    margin-right: .5rem;
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.st-control-wrapper.underline.is-focused {
    border: 1px solid rgb(0, 120, 212);
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom: 1px solid rgb(0, 120, 212);
    border-radius: 0;
}

.st-control-wrapper.underline.is-focused::after {
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 2px;
    border-radius: 0;
}

.st-control-wrapper.underline.disabled {
    border-color: rgb(161, 159, 157);
}

.st-control-wrapper.underline .underline-control {
    display: flex;
    flex-basis: 0px;
    flex-direction: row;
    flex-grow: 1;
    flex-shrink: 1;
    position: relative;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

.st-control-wrapper.underline .st-label.required::after {
    padding-right: .3rem;
    padding-left: .3rem;
}

.st-control-wrapper.underline .st-label.required {
    margin-right: .2rem;
}

.st-control-wrapper.borderless {
    border: 0;
}

.st-control-wrapper.borderless.is-focused {
    border: 0;
}

.st-control-wrapper.borderless.is-focused::after {
    border: 0;
}

.st-control-wrapper.has-error {
    border-color: rgb(164, 38, 44);
}

.st-control-wrapper.has-error.is-focused {
    border-color: rgb(164, 38, 44);
}

.st-control-wrapper.has-error.is-focused::after {
    border-color: rgb(164, 38, 44);
}

.st-prefix {
    background-color: rgb(243, 242, 241);
    padding: 0 .5rem;
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.st-control-wrapper.disabled .st-prefix {
    color: rgb(161, 159, 157);
}

.input-group > .st-control-wrapper {
    position: relative;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-width: 0;
    margin-bottom: 0;
}

.st-control-wrapper .st-search-icon {
    position: relative;
    width: 2rem;
    transition: width 0.167s ease 0s;
    margin-right: -.5rem;
}

.st-control-wrapper.is-focused .st-search-icon {
    width: .125rem;
    margin-right: 0;
}

.st-control-wrapper .st-search-icon .st-icon {
    speak: none;
    opacity: 1;
    transition: opacity 0.167s ease 0s;
}

.st-control-wrapper.is-focused .st-search-icon .st-icon {
    opacity: 0;
}


/* Basic Input - Select */
.st-control-wrapper .st-select2 {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.st-control-wrapper .select2-container--default .select2-selection--single {
    border-radius: 0;
    border: 0;
}

.st-control-wrapper .select2-container .select2-selection--single, input.select2-search__field {
    height: calc(1.5em + .5rem);
}

.st-control-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + .5rem - 2px);
}

.st-control-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + .5rem);
    padding-left: 9px;
    color: rgba(0,0,0,.9);
}

.st-control-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: inline-block;
    font-family: 'bowtie' !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    speak: none;
    border: 0;
    top: 15%;
    left: 0;
    margin: 0;
}

.st-control-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow b::before {
    content: "\E9A8";
}

.select2-search__field:focus {
    outline: 0 !important;
    border-color: rgb(0, 120, 212) !important;
}

.select2-selection:focus {
    outline: 0 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgb(237, 235, 233) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgb(237, 235, 233) !important;
}

.select2-container--default .select2-results__group {
    padding: .125rem .5rem !important;
}

.select2-container--default .select2-results__option[role=group] {
    padding: 0 !important;
    border-top: 1px solid #edebe9;
}

ul.select2-results__options--nested .select2-results__option {
    padding: .125rem .5rem !important;
}

.select2-results__group {
    color: rgb(0, 120, 212);
}

.st-control-wrapper .select2-container--default .select2-selection--multiple {
    border: 0;
    border-radius: 0;
}

.st-control-wrapper .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 0
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: .1875rem .1875rem 0 0 !important;
}

.select2-selection--multiple input.select2-search__field {
    height: calc(1.5em + .2rem);
}

.select2-container .select2-selection--multiple{
    min-height:0;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
}

li.select2-results__option[aria-selected="true"]::before {
    display: inline-block;
    font-family: 'bowtie' !important;
    font-style: normal;
    font-weight: 600;
    font-size: 14px !important;
    speak: none;
    content: "\E978";
    margin-right: .25rem;
    color: #28a745
}

.select2-container--open .select2-dropdown--above {
    top: -1px;
}

.select2-container--open .select2-dropdown--below {
    top: 1px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: inherit !important;
}
.select2-dropdown{
    border:0;
    box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
}


/* Basic Input - Datepicker */

.ui-datepicker {
    width: 16em;
    border-radius: 0;
    border: 0 !important;
    box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
}

.ui-datepicker-header {
    background-color: white;
    border: 0;
}

.ui-datepicker table {
    border-spacing: 0px;
    width: auto;
}

.ui-datepicker th {
    font-weight: 600;
    width: 28px;
    height: 28px;
    padding: 0;
}

.ui-datepicker td {
    width: 28px;
    /*height: 28px;*/
    padding: 2px;
    text-align: center;
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center
}

.ui-datepicker td span, .ui-datepicker td a {
    padding: 0
}

.ui-datepicker .ui-state-default, .ui-datepicker .ui-widget-content .ui-state-default {
    border: 0;
    height: 26px;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: white;
}

.ui-datepicker .ui-datepicker-today .ui-state-highlight {
    background-color: #fffa90;
    color: rgb(50,49,48);
    border-radius: 100%;
    border: 1px solid #dad55e;
}

.ui-datepicker .ui-state-active, .ui-datepicker .ui-widget-content .ui-state-active {
    background: #0078d4 !important;
    color: white !important;
    border-radius: 100%;
}

.ui-datepicker td:hover {
    background-color: #ededed;
}

.ui-datepicker td .ui-state-hover {
    background-color: #ededed;
}

.ui-datepicker .ui-datepicker-header {
    padding: 0;
    height: 2rem;
    display: flex;
    flex-direction: row;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    width: 1.7rem;
    height: 100%;
    position: relative;
    top: auto;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {
    left: auto;
    order: 2;
}

.ui-datepicker .ui-datepicker-next {
    right: auto;
    order: 3;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0;
    line-height: inherit;
    display: flex;
    flex-grow: 1;
    order: 1;
    justify-content: start;
    padding-left: .5rem;
    align-items: center;
}

.ui-datepicker .ui-icon-circle-triangle-w::before {
    content: "\E900";
    align-self: center;
}

.ui-datepicker .ui-icon-circle-triangle-e::before {
    content: "\E902";
    align-self: center;
}

.ui-datepicker .ui-icon {
    background: none;
    display: flex !important;
    font-family: 'bowtie' !important;
    font-style: normal;
    font-weight: 400;
    font-size: 14px !important;
    speak: none;
    float: none !important;
    margin: 0 !important;
    position: relative;
    text-indent: 0px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    left: auto;
    top: auto;
}

.ui-datepicker .ui-widget-header .ui-state-hover {
    border: 0;
    border-radius: 0;
}

.ui-datepicker .ui-widget-header {
    font-weight: 600;
    padding-right: .3rem;
}

.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next {
    left: auto;
    top: auto;
    right: auto;
}


/* Validation */

.st-validation {
    position: relative;
    margin-top: .25rem;
}

.st-validate-text {
    color: #a4262c;
    display: block;
    margin-left: 1.375rem;
    line-height: normal;
}

.st-validation .st-validate-icon {
    position: absolute;
    top: .1rem;
    left: 0;
    font-size: .9rem;
    color: #a4262c;
}

.field-validation-error {
    display: block;
    margin-top: .25rem;
    color: #a4262c;
    position: relative;
}
.field-validation-error > span{
    display:block;
}
.field-validation-error > span::before {
    font-family: 'bowtie' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    line-height: 16px;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\EA04";
    margin-right: .5rem
}

/* ST ICON */

svg.st-validate-icon {
    width: .875rem;
    height: .875rem;
}

svg.st-validate-icon circle {
    fill: #a4262c
}

svg.st-validate-icon path {
    fill: white
}


/* TAB */

.st-pivot > .nav > a.nav-link {
    background-color: transparent;
    color: rgb(50, 49, 48);
    position: relative;
    display: inline-block;
    text-align: center;
    height: 2.5rem;
    padding: 0 .5rem;
    margin: 0 .5rem 0 0;
    line-height: 2.5rem;
    white-space: nowrap;
}

.st-pivot > .nav > a.nav-link:first-child {
    padding-left:0 !important;
}

.st-pivot > .nav > a.nav-link.active {
    font-weight: 600;
}

.st-pivot > .nav > .nav-link.active, .st-pivot .show > .nav-link {
    color: rgb(50, 49, 48);
    background-color: transparent;
}

.st-pivot > .nav > a.nav-link::before {
    background-color: transparent;
    bottom: 0px;
    content: "";
    height: 2px;
    left: 8px;
    position: absolute;
    right: 8px;
    transition: left 0.267s cubic-bezier(0.1, 0.25, 0.75, 0.9) 0s, right 0.267s cubic-bezier(0.1, 0.25, 0.75, 0.9) 0s;
}

.st-pivot > .nav > a.nav-link:first-child::before{ left: 0px !important; }

.st-pivot > .nav > a.nav-link.active::before {
    background-color: rgb(0, 120, 212);
}

.st-pivot > .nav > a.nav-link.active:hover::before {
    left: 0px;
    right: 0px;
}

.st-pivot > .nav > a.nav-link::after {
    color: transparent;
    content: attr(data-content);
    display: block;
    font-weight: 700;
    height: 1px;
    visibility: hidden;
    overflow: hidden;
}

.st-pivot > .nav > a.nav-link:hover {
    color: rgb(32, 31, 30);
    background-color: rgb(243, 242, 241);
    cursor: pointer;
}

.st-pivot > .nav > .nav-link.disabled {
    color: rgb(161, 159, 157);
}

.st-link-content {
    display: flex;
    height: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.st-pivot > .nav .nav-link-text {
    
    line-height: 38px;
    height: 100%;
    font-size:.875rem;
}
.st-pivot > .nav .st-icon{
    margin-right:.3rem;
}

.st-pivot > .nav .link-has-error .nav-link-text::after{
    font-family: 'bowtie' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    line-height: 16px;
    color:#a4262c;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\EA04";
    position:absolute;
    top: 0;
    right: -3px;
}

.st-pivot .nav-link.disabled .st-icon {
    color:rgb(161, 159, 157) !important;
}




/* MODAL */

/*.st-modal div.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: #323130;
}*/
.modal-backdrop.show{
    opacity:.2;
}
.modal-content {
    border-radius: 0px;
    border: 0;
}
.modal-header {
    border-bottom: 0;
    padding: 1.5rem 3.2rem .8rem 2rem;
    cursor:move;
}

.modal-body {
    padding: 0 2rem 0;
    margin-bottom: 1.5rem;
}

.modal-footer {
    padding: 0 2rem 1.5rem;
}

.modal-header .close {
    padding: .5rem;
    margin: -.25rem -1.75rem -1rem auto;
}

.modal-footer {
    border-top: 0;
}

.modal-footer > * {
    margin: 0;
}

.section-title { color:#d45800 !important; }


/* PAGE LAYER */
.st-page-layer .modal-header { padding:0; cursor:default }
.st-page-layer .modal-header .close { margin:0; background-color:#dc3545; color:#fff; }
.st-page-layer .modal-body { padding:0; margin-bottom:0; }
.st-page-layer .modal-footer { padding:0; }

/* NOTIFICATION */
.st-messagebar {
    display: flex;
}

.st-messagebar.alert {
    padding: 0;
    margin: 0;
    border-radius: 0;
    color: rgb(50, 49, 48);
    font-size: .75rem;
    border: 0;
    line-height: normal;
    text-align: left;
}

.st-messagebar .st-btn-action.close {
    position: relative !important;
    font-size: .875rem;
    padding: 0;
    position: relative;
    font-weight: 400;
}

.st-messagebar .st-btn-action {
    color: rgb(50, 49, 48) !important;
    font-size: .625rem;
    display: flex;
    flex-shrink: 0;
    width: 2rem;
    justify-content: center;
    align-self: flex-start;
    padding: 0;
    padding-top: .45rem !important;
}

.st-messagebar .st-btn-action:hover {
    background-color: transparent;
}

.st-messagebar .st-btn-action .st-icon {
    color: rgb(50, 49, 48) !important;
    margin: 0;
}

.st-messagebar .close:hover {
    cursor: pointer;
}

.st-messagebar-default {
    background-color: rgb(243, 242, 241);
}

.st-messagebar-error {
    background-color: #fde7e9;
}

.st-messagebar-blocked {
    background-color: #fde7e9;
}

.st-messagebar-severewarning {
    background-color: #fed9cc;
}

.st-messagebar-success {
    background-color: #dff6dd;
}

.st-messagebar-warning {
    background-color: #fff4ce;
}

.st-messagebar-error .st-icon-state, .st-messagebar-blocked .st-icon-state, .st-messagebar-severewarning .st-icon-state {
    color: rgb(164, 38, 44) !important;
}

.st-messagebar-success .st-icon-state {
    color: rgb(16, 124, 16) !important;
}

.st-messagebar .st-icon-state {
    color: rgb(96, 94, 92);
    font-size: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    display: flex;
    flex-shrink: 0;
    margin-top: .425rem;
    margin-right: 0px;
    margin-bottom: .425rem;
    margin-left: .75rem;
}

.st-messagebar .st-body {
    min-width: 0px;
    display: flex;
    flex-grow: 1;
    margin-top: .425rem;
    margin-right: .75rem;
    margin-bottom: .425rem;
    margin-left: .5rem;
    -webkit-font-smoothing: antialiased;
    font-size: 12px;
    font-weight: 400;
}

.st-messagebar .st-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-messagebar.multiline .st-text {
    overflow: auto;
    text-overflow: clip;
    white-space: normal;
}

.st-messagebar.multiline .btn-toggle-multiline .st-icon::before {
    content: "\E9A6";
}

.st-messagebar .btn-toggle-multiline .st-icon::before {
    content: "\E9A8";
}

.st-alert-summary{
    display:none;
}
.st-alert-summary .st-messagebar {
    margin-bottom: .2rem;
}


/* FRAME */
.st-frame-wrapper {
    position: relative;
    min-height: 250px;
}

.st-frame-wrapper .loading-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f0efef;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* CUSTOME SCROLLBAR */

.custom-scrollbar {
    scrollbar-color: rgba(255,255,255,.3) transparent;
    scrollbar-width: thin;
}

.custom-scrollbar.scroll-auto-hide {
    scrollbar-color: transparent transparent;
}

.custom-scrollbar.scroll-auto-hide:hover {
    scrollbar-color: rgba(255,255,255,.3) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 18px;
    height: 18px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    border: 6px solid transparent;
    background: rgba(255,255,255,.3);
    border-radius: 10px;
    background-clip: padding-box;
}

.custom-scrollbar::-webkit-scrollbar-corner {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb:vertical {
    min-height: 30px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:horizontal {
    min-width: 30px;
}

.custom-scrollbar.scroll-auto-hide::-webkit-scrollbar-thumb {
    background: transparent;
    background-clip: padding-box;
}

.custom-scrollbar.scroll-auto-hide:hover::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.3);
    background-clip: padding-box;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.4);
    background-clip: padding-box;
}

.custom-scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-scrollbar-hidden::-webkit-scrollbar {
    width: 0;
}


/* Custom view timeline */
.st-timeline .day-table { font-size:.7rem; text-align:center; width:100%; table-layout:fixed }
.st-timeline .day-col {   }
.st-timeline .table-fixed { table-layout:fixed; }
.st-timeline .r-h { height:20px; position:relative }
.st-timeline .day-line { position: absolute; top: 50%; height: 14px; width:100%; margin-top: -7px; overflow:hidden }
.st-timeline .month-col { overflow: hidden; white-space: nowrap; }
.st-timeline .weekend { background-color: #f3f2f1  }
.st-timeline .row-timeline { height:19px; overflow:hidden; }
.st-timeline .row-timeline:hover { background-color:#f3f2f1}
.st-timeline .row-timeline-label { white-space: nowrap; }
.st-timeline .table-row-line { width:100%; table-layout:fixed;}
.st-timeline .table-row-line td { padding:0 }
.st-timeline .active, .st-timeline .inactive { cursor:pointer }
.st-timeline .active .include { background-color: #0078d4  }
.st-timeline .active .exclude { background-color: #dc3545  }
.st-timeline .inactive .day-line { background-color: #dc3545  }
.st-timeline .no-schedule .day-line { }
.st-timeline .active .day-off{ background-color:#cacaca }
.st-timeline .inactive .day-off{ background-color:#cacaca }

.st-timeline .active:hover .include, .st-timeline .inactive:hover .include { background-color: #024273 !important; border: 1px solid #28a745; }
.st-timeline .active:hover .exclude, .st-timeline .inactive:hover .exclude { background-color: #c51d2d !important; border: 1px solid #28a745; }
.st-timeline .not-active, .st-timeline .not-active .weekend { background-color:#ffbbbb !important; }

.st-timeline .nav-timeline-input { height:calc(1em + .5rem) }
.st-timeline .nav-timeline { cursor:pointer; padding: .17rem; border-radius:2px; border:1px solid #fff }
.st-timeline .nav-timeline:hover { background-color:#f3f2f1; border:1px solid #495057 }

.st-timeline .row-top-timeline { min-height:75px }
.st-timeline .row-bottom { position:absolute; width:100%; bottom:0;}


/*Change Bus Seat Transfer*/
#formChangeBusSeatTransfer .seat-wrapper {
    height: inherit;
    margin-left: 0px;
}

#formChangeBusSeatTransfer .seat-layout-content {
    background-color: #fff;
    max-height: 800px;
    min-height: 600px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#formChangeBusSeatTransfer .seat-layout-deck {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 20px 50px;
    white-space: nowrap;
}

#formChangeBusSeatTransfer .deck {
    display: inline-block;
    margin-right: 20px;
    text-align: center;
}

#formChangeBusSeatTransfer .deck-r-1 {
    margin-right: 35px;
}

#formChangeBusSeatTransfer .deck-name {
    font-weight: 600;
    font-size: .7rem;
    margin-bottom: .2rem
}

#formChangeBusSeatTransfer .seat-item {
    position: relative;
    cursor: pointer;
}

    #formChangeBusSeatTransfer .seat-item .seat-seatno {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: center;
        display: flex;
        font-size: .7rem;
        padding-top: .2rem;
    }

    #formChangeBusSeatTransfer .seat-item .seat-icon {
        background-repeat: no-repeat;
        background-size: 36px 35px;
        width: 36px;
        height: 35px;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center
    }

    #formChangeBusSeatTransfer .seat-item.blank {
        border: 0 !important;
        width: 36px;
        background-color: transparent;
        cursor: default;
    }

    #formChangeBusSeatTransfer .seat-item.available .seat-icon {
        background-image: url("../img/st/st-seat1-available.svg");
        cursor: not-allowed;
    }


    #formChangeBusSeatTransfer .seat-item.occupied .seat-icon {
        background-image: url("../img/st/st-seat1-occupied.svg");
    }

    #formChangeBusSeatTransfer .seat-item.adult.occupied .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-adult.svg");
    }

    #formChangeBusSeatTransfer .seat-item.child.occupied .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-child.svg");
    }

    #formChangeBusSeatTransfer .seat-item.senior.occupied .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-senior.svg");
    }

    #formChangeBusSeatTransfer .seat-item.others.occupied .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-others.svg");
    }


    #formChangeBusSeatTransfer .seat-item.adult.occupied.transfer-selected .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-adult-transferselect.svg");
    }

    #formChangeBusSeatTransfer .seat-item.child.occupied.transfer-selected .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-child-transferselect.svg");
    }

    #formChangeBusSeatTransfer .seat-item.senior.occupied.transfer-selected .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-senior-transferselect.svg");
    }

    #formChangeBusSeatTransfer .seat-item.others.occupied.transfer-selected .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-others-transferselect.svg");
    }

    #formChangeBusSeatTransfer .seat-item.transfer-to.available.can-transfer .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-transferdone.svg");
    }



    #formChangeBusSeatTransfer .seat-item.occupied.transfer-done .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-transferdone.svg");
    }

    #formChangeBusSeatTransfer .seat-item.adult.transfer-targeted .seat-icon {
        background-image: url("../img/st/st-seat1-adult-transfertarget.svg");
    }

    #formChangeBusSeatTransfer .seat-item.child.transfer-targeted .seat-icon {
        background-image: url("../img/st/st-seat1-child-transfertarget.svg");
    }

    #formChangeBusSeatTransfer .seat-item.senior.transfer-targeted .seat-icon {
        background-image: url("../img/st/st-seat1-senior-transfertarget.svg");
    }

    #formChangeBusSeatTransfer .seat-item.others.transfer-targeted .seat-icon {
        background-image: url("../img/st/st-seat1-others-transfertarget.svg");
    }

    #formChangeBusSeatTransfer .seat-item.occupied.notransfer .seat-icon {
        background-image: url("../img/st/st-seat1-occupied-notransfer.svg");
    }

    #formChangeBusSeatTransfer .seat-item.adult .seat-seatno {
        color: #fff
    }

    #formChangeBusSeatTransfer .seat-item.child .seat-seatno {
        color: #fff
    }

    #formChangeBusSeatTransfer .seat-item.senior .seat-seatno {
        color: rgba(0,0,0,0.9);
    }

    #formChangeBusSeatTransfer .seat-item.others .seat-seatno {
        color: rgba(0,0,0,0.9);
    }

    #formChangeBusSeatTransfer .seat-item.occupied .seat-seatno {
        color: #fff
    }

    #formChangeBusSeatTransfer .seat-item.occupied.notransfer .seat-seatno {
        color: rgba(0,0,0,0.9);
    }

    #formChangeBusSeatTransfer .seat-item.transfer-done .seat-seatno {
        color: rgba(0,0,0,0.9);
    }

/*Driver Waybill*/

.modal-header, #wbForm .st-label, #wbForm .form-control-plaintext {
    font-size: 1rem;
}

#wbForm .table-boarding, .btn-confirm-boarding {
    font-size: 1rem;
    font-weight: bold;
}

#wbForm .location-display {
    border: 1px solid #ccc;
    border-radius: .3rem;
    padding: 1px 3px !important;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    height: 3.5rem;
    width: 6rem;
}

@media screen and (max-width: 600px) and (min-width: 400px ) {
    #wbForm .table-boarding, .btn-confirm-boarding {
        font-size: .6rem;
        font-weight: bold;
    }

    #wbForm .location-display {
        font-size: .8rem;
        height: 2.5rem;
        width: 3.5rem;
    }

    .modal-header, #wbForm .st-label, #wbForm .form-control-plaintext {
        font-size: .8rem;
    }
}

@media screen and (max-width: 399px) and (min-width: 250px ) {
    #wbForm .table-boarding, .btn-confirm-boarding {
        font-size: .5rem;
        font-weight: bold;
    }

    #wbForm .location-display {
        font-size: .6rem;
        height: 2rem;
        width: 3rem;
    }

    .modal-header, #wbForm .st-label, #wbForm .form-control-plaintext {
        font-size: .7rem;
    }
}
