html {
    scroll-behavior: smooth;
}
main {
    padding-left: 240px;;
}

#w-side-nav {
    top: 64px;
    width: 240px;
}

#active-page {
    position: relative;
}

#preloader-container {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    /*background: #ffffff8a;*/
    background: #fff;
}

@-webkit-keyframes rotate-scale-down-ver {
    0% {
        -webkit-transform: scale(1) rotateY(0);
        transform: scale(1) rotateY(0)
    }
    50% {
        -webkit-transform: scale(.5) rotateY(180deg);
        transform: scale(.5) rotateY(180deg)
    }
    100% {
        -webkit-transform: scale(1) rotateY(360deg);
        transform: scale(1) rotateY(360deg)
    }
}
@keyframes rotate-scale-down-ver {
    0% {
        -webkit-transform: scale(1) rotateY(0);
        transform: scale(1) rotateY(0)
    }
    50% {
        -webkit-transform: scale(.5) rotateY(180deg);
        transform: scale(.5) rotateY(180deg)
    }
    100% {
        -webkit-transform: scale(1) rotateY(360deg);
        transform: scale(1) rotateY(360deg)
    }
}

@-webkit-keyframes rotate-scale-down {
    0% {
        -webkit-transform: scale(1) rotateZ(0);
        transform: scale(1) rotateZ(0);
    }
    50% {
        -webkit-transform: scale(0.5) rotateZ(180deg);
        transform: scale(0.5) rotateZ(180deg);
    }
    100% {
        -webkit-transform: scale(1) rotateZ(360deg);
        transform: scale(1) rotateZ(360deg);
    }
}
@keyframes rotate-scale-down {
    0% {
        -webkit-transform: scale(1) rotateZ(0);
        transform: scale(1) rotateZ(0);
    }
    50% {
        -webkit-transform: scale(0.5) rotateZ(180deg);
        transform: scale(0.5) rotateZ(180deg);
    }
    100% {
        -webkit-transform: scale(1) rotateZ(360deg);
        transform: scale(1) rotateZ(360deg);
    }
}

#preloader-container img {
    /*-webkit-animation: rotate-scale-down-ver 1.5s linear infinite alternate both;*/
    /*animation: rotate-scale-down-ver 1.5s linear infinite alternate both;*/
    -webkit-animation: rotate-scale-down 1.6s linear infinite both;
    animation: rotate-scale-down 1.6s linear infinite both;
    width: 10%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loader-container {
    background: #ffffff61;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

@media only screen and (max-width: 992px) {
    main {
        padding-left: 0;
    }

    #w-side-nav {
        top: 0;
    }
}

.breadcrumb::before {
    /*content: '\203A';*/
}

input[type="date"]::-webkit-input-placeholder {
    visibility: hidden !important;
}

#toast-container {
    /*top: 15% !important;*/
}

.modal.small {
    width: 30% !important;
}


table.no-border tr {
    border: none !important;
}

table.responsive-table th {
    padding: 10px 5px;
}

table.responsive-table td {
    padding: 2px 5px;
}

table.responsive-table td input {
    margin: 0 !important;
    height: 2em !important;
}

table.responsive-table td .select-wrapper input.select-dropdown {
    height: 2em;
    line-height: 2em;
}

table.compact td {
    padding: 2px 2px;
}

.text-small {
    font-size: .8em;

}


.weaxis-list-container {
    box-sizing: border-box
}

.weaxis-list-container .list {
    padding-top: 20px
}

.weaxis-list-container .list > .list-item {
    padding: 10px;
    border-top: solid 1px rgba(255, 255, 255, 0.1);
    transition: .3s;
    display: block!important;
    margin: 5px 0;
}

.weaxis-list-container .list > .list-item.clickable {
    /*border-left: 3px solid transparent;*/
}
.weaxis-list-container .list > .list-item.clickable:hover {
    cursor: pointer;
    /*background-color: #0056ab1c;*/
    /*border-left-color: var(--primary);*/
}

.weaxis-list-container .avatar {
    max-width: 150px
}

.weaxis-list-container .avatar img {
    max-width: 100%
}

.weaxis-list-container h3, .weaxis-list-container h4, .weaxis-list-container h5, .weaxis-list-container h6, .weaxis-list-container h1, .weaxis-list-container h2 {
    /*font-size: 16px;*/
    /*font-size: 1.6rem;*/
    margin: 0 0 3px;
    font-weight: bold
}

.weaxis-list-container p {
    margin: 0
}

.weaxis-list-container input {
    border-radius: 25px;
    padding: 7px 14px;
    background-color: transparent;
    border: solid 1px rgba(0, 0, 0, 0.2);
    width: 200px;
    box-sizing: border-box;
    color: #2e2e2e;
    margin-bottom: 5px;
    height: unset;
}

.weaxis-list-container input:focus {
    outline: none;
    border-color: #aaa!important;
    box-shadow: none!important;
}

.weaxis-list-container .list-action {
    font-size: 12px;
    line-height: 1 !important;
    padding: 5px 15px;
    border-radius: 25px;
    border: none;
    display: inline-block;
    color: #2e2e2e;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.05);
    margin: 8px;
}

.weaxis-list-container .list-action:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1)
}

.weaxis-list-container .list-action:focus {
    outline: none
}

.weaxis-list-container .list-action:after {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid transparent;
    content: "";
    position: relative;
    top: -10px;
    right: -4px
}

.weaxis-list-container .sort.asc:after {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #2e2e2e;
    content: "";
    position: relative;
    top: 11px;
    right: -4px
}

.weaxis-list-container .sort.desc:after {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #2e2e2e;
    content: "";
    position: relative;
    top: -9px;
    right: -4px
}

.weaxis-list-container .not-found {
    margin: 0 10px;
    font-weight: lighter;
    font-size: 14px;
}

.paging {
    padding-bottom: 10px;
    clear: both;
    float: left
}

.paging li {
    display: block;
    float: left;
    padding: 10px 15px;
    border-radius: 50%
}

.paging li a {
    color: #999;
    text-decoration: none;
    display: inline-block;
    line-height: 14px
}

.paging li.active a {
    font-weight: bold;
    color: #eee;
    font-size: 18px;
    margin: -1px
}

.paging li a:hover {
    color: #eee
}


::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar
{
    width: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
    background-color: var(--primary);
}
::-webkit-scrollbar-thumb:hover
{
    background-color: var(--dark-primary);
}

.btn i{
    font-size: unset!important;
}


/* GRID JS*/
th.gridjs-th {
    /*min-width: unset!important;*/
    /*width: auto!important;*/
}
.gridjs-footer, .gridjs-wrapper {
    border-radius: 0!important;
}
th.gridjs-th .gridjs-th-content {
    overflow: unset!important;
    text-overflow: unset!important;
}


.ul.indent {
    margin-left: 2.5em;
}
.list-type-none{
    list-style: none;
}

select.browser-default {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #9e9e9e;
    outline: none;
    padding-left: 0;
}

.form-buttons{
    margin-top: 8px;
}

.required:after {
    content:" *" !important;
    color: red!important;
    opacity: unset!important;
    display: unset!important;
    position: unset!important;
}

.navbar-dropdown i {
    line-height: 60px;
}

.gridjs.gridjs-container {
    margin-bottom: 20px;
}


.gridjs.gridjs-container tbody .dropdown {
    position: relative;
    display: inline-block;
}

.gridjs.gridjs-container tbody .dropdown-contents {
    display: none;
    position: absolute;
    /* background-color: #f9f9f9; */
    /* min-width: 160px; */
    /*box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);*/
    box-shadow: 0 5px 16px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
    text-align: left !important;
    /* left: 40px; */
    /* top: -25px; */
    margin: 0;
    right: 45px;
    bottom: 0;
}

.gridjs.gridjs-container tbody .dropdown-contents a {
    /* color: var(--primary); */
    /* padding: 7px 12px!important; */
    /* text-decoration: none; */
    /* display: block; */
    /* border: none; */
    /* background: #fff; */
    /* text-align: center; */
    min-width: 60px;
    font-size: .625em;
    padding: 0 10px;
    white-space: nowrap;
    margin-bottom: 2px;
}

.gridjs.gridjs-container tbody .dropdown-contents a:hover {
    background-color: var(--primary);
    color: #fff!important;
}

.gridjs.gridjs-container tbody .dropdown:hover .dropdown-contents {
    /*display: flex;*/
    display: block;
}

.gridjs.gridjs-container tbody tr:last-child .dropdown:hover .dropdown-contents {
    /*bottom: 20px;*/
    /*bottom: 0;*/
    /*right: 45px;*/
}

.gridjs.gridjs-container tbody .dropdown:hover .dropdown-button {
    transform: none!important;
    background-color: #C1C7CE;
}

@media (max-width: 768px) {
    .gridjs.gridjs-container tbody .dropdown-contents {
        /*left: -60px;*/
    }

    .gridjs.gridjs-container tbody tr:last-child .dropdown:hover .dropdown-contents {
        /*bottom: 35px;*/
    }
}


.collection .collection-item:not(:last-child), .view_item:not(:last-child), .border-bottom-dotted {
    border-bottom: 1px dashed #c1c1c1!important;
}

.tabs {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.inline-icon {
    vertical-align: bottom;
    font-size: 18px !important;
}