/***
COLORS
GENERAL
LAYOUT
PAGES
UI
***/

/*COLORS*/
:root {
    --white: #ffffff;
    --light-white: #f8f9f9;
    --main: #3a3a3a;
    --primary: #00365a;
    --primary-light: #267fba;
    --alert: #dc3545e6;
    --border-grey: #d7d7d7;
    --success: #67e103;
    --warning: #ffb005;
    --grey: #9c9c9c;
    --light-grey: #b9b9b9;
    --highlight: #e45609;
    --highlight-light: #e77335;

    --nav-height-desktop: 100px;
    --nav-height-tablet: 70px;
    --nav-height-mobile: 60px;

    --sidebar-width-desktop: 120px;
    --sidebar-width-tablet: 70px;
    --sidebar-width-mobile: 60px;
}

/* GENERAL */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body,
#app {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Nunito, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--main);
}

*,
:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


body {
    font-family: Nunito, sans-serif;
    font-size: .8rem;
    font-weight: 400;
    color: var(--main);
    background-color: var(--white);
    /* height: calc(100% - 100px); */
    height: 100%;
}

body.tablet {
    /* height: calc(100% - 120px); */
}

body.desktop {
    /* height: calc(100% - 140px); */
}

main {
    padding: 1rem 2rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.mobile main {
    padding: 0.5rem 0.5rem;
}

.spinner {
    display: none;
}

.loading .spinner {
    display: inline-block;
}

.btn.btn-ssm {
    height: 1.4rem;
    line-height: 0.4rem;
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    border-radius: 0.3rem;
}

/* LAYOUT */
main .container-fluid {
    padding-left: 0;
    padding-right: 0;
}



.logo-single {
    width: 110px;
    height: 35px;
    background: url(/images/logos/logo_orange_line2.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    display: inline-block;
    margin-bottom: 20px;
}

.logo {
    background: url(/images/logos/logo_orange_line2.png) no-repeat;
    width: 136px;
    height: 40px;
    background-size: 100%;
}

.tablet .logo {
    width: 170px;
    height: 50px;
}

.desktop .logo {
    width: 204px;
    height: 60px;
}


/* FORM */


.separator {
    border-bottom: 1px solid var(--border-grey);
    width: 100%;
    height: 0;
}

/* PAGES */
.page_title {
    min-height: 2rem;
    width: 100%;
    border-bottom: 1px solid var(--border-grey);
    margin: 1.7rem 0;
}

.page_title>div {
    padding: 0 4px;
}

.highlight-box {
    background-color: var(--light-white);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

/* UI */
.link {
    cursor: pointer;
}

.list {
    list-style: none;
    padding: 0;
}

.list>.item {
    border: 1px solid var(--border-grey);
    margin-top: -1px;
    box-shadow: 1px 2px 4px rgb(0 0 0 / 3%);
    display: inline-flex;
    min-height: 3.25rem;
    width: 100%;
    align-items: center;
    padding: .5rem 0;
}

.list>.item:hover {
    box-shadow: 1px 2px 10px rgb(0 0 0 / 10%);
    transition: all .3s ease-in-out;
}

.list>.item:first-of-type {
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.list>.item:last-of-type {
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid var(--border-grey) !important;
}

.list .options {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.list .options .option-item {
    margin: 0 .5rem;
}

.datatable table thead {
    background-color: var(--light-white);
}

.datatable table .sortable {
    cursor: pointer;
}

.datatable table .sortable.desc::after {
    content: '▼';
    color: var(--grey);
    margin: 0 1rem;
}

.datatable table .sortable.asc::after {
    content: '▲';
    color: var(--grey);
    margin: 0 1rem;
}

.datatable .filter {
    position: relative;
    width: 12rem;
}

.datatable .filter input {
    width: 12rem;

    background: var(--light-white);
    border: 1px solid var(--border-grey);
    border-radius: 3px;
    margin: 0.5rem 0;
    height: 2rem;
    padding: 0 1.5rem 0 0.5rem;
}


.datatable .filter .search-icon {
    position: absolute;
    top: 0;
    right: 0;
    top: 13px;
    right: 4px;
}

.datatable .filter:hover .search-icon {
    color: var(--primary-light);
}

.datatable .chart-head {
    cursor: pointer;
}