html, body, #app
{
    height: 100%;
    min-height: 100%;
}

body
{
    background-color: #f5f8fa;
}

.navbar-main
{
    clear: both;
    padding: 0 0 !important;
    color: #fff;
}

.navbar-main .navbar-skin
{
    background-color: var(--theme-color);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,.04);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.04);
    box-shadow: 0 2px 4px rgba(0,0,0,.04);
    padding: 0.5rem 1rem !important;
    width: 100%;
}

.header-logo-1
{
    max-height: 100px;
}

.brand-logo
{
    max-height: 90px;
}

.navbar-main .navbar-nav .nav-link
{
    color: #fff !important;
}

/* Pseudo content */
.navbar-main .navbar-skin::before
{
    content: "";
}

.navbar-main .navbar-toggler
{
    color:rgba(0,0,0,.5);
    border-color:#fff;
    float: right;
}

.navbar-main .navbar-collapse#navbarSupportedContent
{
    clear: both;
}

.navbar-main .navbar-toggler::before
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.navbar-main .navbar-toggler-icon
{
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.navbar-main li.active
{
    box-shadow: 0 3px #fff;
}

.navbar-main .dropdown-menu.locale-select
{
    min-width: 0!important;
}

.navbar-main #lang-icon
{
    border: 2px solid #fff;
    border-radius: 2px;
}

/* Items between them might be missing, so hide one */
.navbar-main .dropdown-menu .dropdown-divider + .dropdown-divider
{
    display: none;
}

.notifications-list-toggle
{
    background-color: darkseagreen;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.notifications-list-toggle #notifications-list-icon, .notifications-list-toggle #notifications-list-counter
{
    pointer-events: none;
}

#notifications-list-counter .ajax-loader
{
    display: inline-block !important;
    font-size: inherit !important;
}

.notifications-list-toggle .notifications-list-popover-container
{
    color: #212529;
    cursor: auto;
    display: none;
    width: 340px !important;
    top: calc(100% + 10px);
    left: auto !important;
    right: 10px;
}

.notifications-list-toggle .notifications-list-popover-container::after
{
    content: "";
    position: absolute;
    bottom: 100%;
    left: 90%;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #f7f7f7 transparent;
}

.notifications-list-toggle .notifications-list-popover-container #popover-close
{
    cursor: pointer;
    float: right;
}

#notifications-list
{
    max-height: 300px;
    overflow-y: auto;
}

#notifications-list .list-group .list-group-item:hover
{
    cursor: pointer;
}

#notifications-list .mark-read-btn
{
    font-size: 0.9rem;
    padding: 0;
}

#notifications-list .notification-date
{
    font-size: 0.85rem;
    font-weight: bold;
}

/* width */
#notifications-list::-webkit-scrollbar
{
    width: 10px;
}

/* Track */
#notifications-list::-webkit-scrollbar-track
{
    background: #f1f1f1;
    border-radius: 10px;
}
 
/* Handle */
#notifications-list::-webkit-scrollbar-thumb
{
    background: var(--theme-color);
    border-radius: 10px;
}

.dropdown-item
{
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item.active
{
    background-color: var(--theme-color);
}

.dropdown-item:active
{
    color: #212529;
    background-color: #e9ecef;
}

.clear-both
{
    clear: both !important;
}

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

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

.font-body
{
    font-size: 1rem;
}

.shadow-lg
{
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.fav-button
{
    cursor: pointer;
    font-size: 25px !important;
}

.break-word
{
    overflow: hidden;
    line-height: 1.5;
    word-wrap: break-word;
}

.text-underline
{
    text-decoration: underline;
    text-underline-position: under;
}

/* Custom outline button */

.btn-outline-custom
{
    color: var(--theme-color);
    background-color: transparent;
    background-image: none;
    border-color: var(--theme-color);
}

.btn-outline-custom:hover
{
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-outline-custom.disabled, .btn-outline-custom:disabled
{
    color: var(--theme-color);
    background-color: transparent;
}

.btn-outline-custom:not(:disabled):not(.disabled).active, .btn-outline-custom:not(:disabled):not(.disabled):active, .show>.btn-outline-custom.dropdown-toggle
{
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

/* Custom inline button */

.btn-custom
{
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-custom:hover
{
    color: #fff;
    background-color: #218838;
    border-color: #218838;
}

.btn-custom.disabled, .btn-custom:disabled
{
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-custom:not(:disabled):not(.disabled).active, .btn-custom:not(:disabled):not(.disabled):active, .show>.btn-custom.dropdown-toggle
{
    color: #fff;
    background-color: #218838;
    border-color: #218838;
}

.alert
{
    max-height: 200px;
    overflow-y: auto;
}

.card-header
{
    background-color: var(--theme-color);
    color: #fff;
}

.misc-container #filter-container, .misc-container #sorting-container
{
    min-width: 250px;
    max-width: 400px;
}

#sorting-list
{
    max-width: 300px;
}

.misc-container .row.table-bordered
{
    margin: 0 !important;
}

.data-table
{
    border-collapse: separate;
    border-spacing: 1px;
}

.data-table.table-hover tbody tr:not(.empty-row):hover
{
	background-color: #c3e6cb !important;
}

.data-table tr td, .data-table tr th
{
    vertical-align: middle;
    text-align: center;
}

.data-table tr td .link-thumbnail
{
    width: 100px;
}

.empty-row
{
    text-align: center;
    color: #FF0000;
}

ul.pagination
{
    margin-top: .5rem;
    display: flex !important;
    flex-wrap: wrap;
}

ul.pagination .page-link
{
    color: var(--theme-color);
}

ul.pagination .page-item.active .page-link
{
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

a.invalid-tab
{
    background-color: #FFB6C1 !important;
}

.closable-popover
{
    max-width: none !important;
}

.popover .list-group
{
    min-width: 125px !important;
}

.popover .list-group .list-group-item a
{
    font-size: .9rem !important;
}

#check-all, .row-check-box
{
    min-width: 15px !important;
}

.popover-footer
{
    padding: .5rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: inherit;
    background-color: #f7f7f7;
    border-top: 1px solid #ebebeb;
    border-bottom-left-radius: calc(.3rem - 1px);
    border-bottom-right-radius: calc(.3rem - 1px);
}

.ajax-loader
{
    animation: ajax-loader 1.5s infinite linear;
    font-size: 25px !important;
    left: calc(50% - 12.5px);
    line-height: 25px !important;
    position: absolute;
    top: calc(50% - 12.5px);
}

.ajax-inline
{
    font-size: initial !important;
    left: initial;
    line-height: initial !important;
    position: relative !important;
    top: initial;
}

@keyframes ajax-loader
{ 
    from
    { 
        transform: rotate(0deg); 
    }
    to
    { 
        transform: rotate(360deg); 
    }
}

select[data-type="multiselect"]
{
    display: none;
}

.multiselect-native-select .dropdown
{
    min-width: 220px;
    width: 100%;
}

.multiselect-native-select .dropdown .multiselect
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1rem;
    padding-right: 0.375rem;
}

.multiselect-native-select .dropdown .multiselect:after
{
    border-top: .4em solid;
    border-right: .2em solid transparent;
    border-left: .2em solid transparent;
}

.multiselect-native-select .dropdown .multiselect .multiselect-selected-text
{
    display: inline-block;
    max-width: 80%;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

ul.multiselect-container
{
    white-space: nowrap;
    min-width: 100%;
    max-width: 300px;
    border-radius: 0;
    z-index: 1061;
}

ul.multiselect-container li a
{
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    display: block;
}

ul.multiselect-container .caret-container:after
{
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.multiselect-item.filter .input-group *
{
    margin: 2px;
}

.check-box-lg
{
    zoom: 2.0;
}

.modal
{
    z-index: 1061;
}

@media (min-width: 1200px)
{
    .modal-lg
    {
        max-width: 1100px;
    }
}

footer
{
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
}

.back-to-top
{
    background-color: rgb(0, 0, 0, 0.7);
    border-radius: 40px;
    color: white;
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    
}

@media print
{
    @page
    {
        size: auto;
    }

    body
    {
        background-color: #fff;
    }
}