:root {
    --color-background-header: #f2f2f2;
    --color-title: #4f5875;
    --color-chart-border: #f7941d;
    --color-link: #4f5875;
    --color-link-active: #f7941d;
    --color-table-head: #adadad;
}

* {
    font-family: "Inter";
}

.link-active {
    color: var(--color-link-active);
}

/* --- HEADER --- */
.larose__user-info {
    background: var(--color-background-header);
    width: 100vw;
    text-align: right;
    padding: 0 5rem;
}

.larose__logo {
    margin-top: 2rem;
    margin-left: 3rem;
}

.larose__logo > img {
    width: 200px;
    height: 60px;
}


/* --- BODY --- */
.filter-link {
    color: var(--color-link);
}
.filter-link:hover {
    color: var(--color-link-active);
    text-decoration: none;
}
.filter-link.active {
    color: var(--color-link-active);
    font-weight: bold;
}

/* Chart */
.larose__page-title {
    font-weight: bold;
    color: var(--color-title);
    justify-content: center;
}

.larose__content {
    border: 1px solid var(--color-chart-border);
    margin: 10px 25px;
    padding: 10px 15px;
}

.larose__content-1, .larose__content-2 {
    width: calc(100% - 50px);
    height: 450px;
}

.larose__content-3, .larose__content-4 {
    width: calc(100% - 50px);
    /*height: 280px;*/
}

.col-left-chart {
    padding-left: 3rem;
    padding-right: 0;
}

.col-right-chart {
    padding-left: 0;
    padding-right: 3rem;
}

#pie-chart-1 {
    margin-top: 20px;
}

/* Table */
.container-table { 
    border: 1px solid var(--color-chart-border);
    min-height: 100px;
    margin: 0 3.5rem;
    padding: .25rem;
}

.table-title {
    font-size: large;
    color: var(--color-title);
    margin: 3rem 3.5rem 0 3.5rem;
}

div.dataTables_filter input[type='search'] {
    line-height: 17px;
}

div.dataTables_length select {
    height: 31px;
}

table thead th {
    background-color: var(--color-table-head);
}

table.dataTable thead th, table.dataTable tbody td {
    padding: 4px 10px;
}

div.dataTables_info {
    margin-left: .25rem;
}

/* TABLE 1 */
td.details-control {
    background: url('./assets/images/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('./assets/images/details_close.png') no-repeat center center;
}

/*
#table-1 tr th:nth-child(5) {
    text-align: center;
}
#table-1 tr th:nth-child(6) {
    text-align: center;
}
#table-1 tr th:nth-child(7) {
    text-align: center;
}
#table-1 tr th:nth-child(8) {
    text-align: center;
}
#table-1 tr th:nth-child(9) {
    text-align: center;
}
#table-1 tr th:nth-child(10) {
    text-align: center;
}
*/

#table-1 tr td:nth-child(1), #table-1 table.table-1-childtable tr td:nth-child(1) {
    width: 15%;
}
#table-1 tr td:nth-child(2), #table-1 table.table-1-childtable tr td:nth-child(2) {
    width: 5%;
}
#table-1 tr td:nth-child(3), #table-1 table.table-1-childtable tr td:nth-child(3) {
    width: 15%;
}
#table-1 tr td:nth-child(4), #table-1 table.table-1-childtable tr td:nth-child(4) {
    width: 8%;
    text-align: right;
}
#table-1 tr td:nth-child(5), #table-1 table.table-1-childtable tr td:nth-child(5) {
    width: 8%;
    text-align: right;
}
#table-1 tr td:nth-child(6), #table-1 table.table-1-childtable tr td:nth-child(6) {
    width: 8%;
    text-align: right;
}
#table-1 tr td:nth-child(7), #table-1 table.table-1-childtable tr td:nth-child(7) {
    width: 8%;
    text-align: right;
}
#table-1 tr td:nth-child(8), #table-1 table.table-1-childtable tr td:nth-child(8) {
    width: 8%;
    text-align: right;
}
#table-1 tr td:nth-child(9), #table-1 table.table-1-childtable tr td:nth-child(9) {
    width: 8%;
    text-align: right;
}
#table-1 tr td:nth-child(10), #table-1 table.table-1-childtable tr td:nth-child(10) {
    width: 8%;
    text-align: right;
}

#table-1 td[colspan="10"] {
    padding: 0;
}

#table-1 table.table-1-childtable {
    border: none;
}

#table-1 table.table-1-childtable thead {
    display: none;
}

/*
#table-1 tbody tr:last-child {
    font-weight: bold;
}*/

/* TABLE 2 */
.container-table-2 div.dataTables_paginate{
    display: none;
}

.container-table-2 div.dataTables_length {
    margin-top: 5px;
    margin-left: calc(10vw + 100px);
}

.container-table-2 .custom-filter-container {
    /*position: absolute;*/
    margin: 5px;
    z-index: 1;
}

.container-table-2 #filter-table-2-year {
    display: inline;
}
.container-table-2 #filter-table-2-categories {
    display: inline;
    margin-left: 100px;
}

/* TABLE 3 */
.container-table-3 div.dataTables_paginate{
    /*display: none;*/
}

.container-table-3 div.dataTables_length {
    margin-top: 5px;
    margin-left: calc(10vw + 100px);
}

.container-table-3 .custom-filter-container {
    /*position: absolute;*/
    margin: 5px;
    z-index: 1;
}

.container-table-3 div.dataTables_filter {
    /*margin-top: 3rem;*/
}

/* TABLE 4 */
.container-table-4 div.dataTables_paginate{
    /*display: none;*/
}

.container-table-4 div.dataTables_length {
    margin-top: 5px;
    margin-left: calc(10vw + 100px);
}

.container-table-4 .custom-filter-container {
    /*position: absolute;*/ 
    margin: 5px;
    z-index: 1;
}

/* TABLE 5 */
.container-table-5 div.dataTables_paginate{
    /*display: none;*/
}

.container-table-5 div.dataTables_length {
    margin-top: 5px;
    margin-left: calc(10vw + 100px);
}

.container-table-5 .custom-filter-container {
    /*position: absolute;
    margin: 30px 5px 5px 5px;*/
    z-index: 1;
}

.container-table-5  div.dataTables_filter {
    /*margin-bottom: 30px;*/
}
.container-table-4 tbody td,
.container-table-5 tbody td {
    vertical-align: top;
}
#table-1_wrapper .dataTables_wrapper .dataTables_info,
.container-table-4 .dataTables_info,
.container-table-4 .dataTables_length,
.container-table-4 .dataTables_paginate,
.container-table-5 .dataTables_info,
.container-table-5 .dataTables_length,
.container-table-5 .dataTables_paginate {
    display: none;
}
#table-1_wrapper .tr-with-child > td {
    padding: 0;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    /* --- HEADER --- */
    .larose__user-info {
        padding: 0 1rem;
    }
    .larose__logo {
        margin-top: 2rem;
        margin-left: auto; /*6rem;*/
        margin-bottom: auto; /*2rem;*/
    }

    /* Chart */
    .col-left-chart {
        padding-left: 0;
    }
    .col-right-chart {
        padding-right: 0;
    }
    .larose__content-1 canvas{
        height: 35px;
    }
    .larose__content-2 canvas{
        height: 35px;
    }

    .larose__content-3 {
        height: auto; /*500px;*/
    }

    .larose__content-3 canvas{
        height: 260px;
    }

    .larose__content-4 {
        height: 150px;
    }

    /* Table */
    .container-table { 
        border: 1px solid var(--color-chart-border);
        min-height: 100px;
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: .25rem;
        overflow-x: auto;
    }

    .container-table table.dataTable {
        width: 1366px;
        margin-left: 0;
    }

    .container-table div.dataTables_length {
        margin-left: 0;
    }

    .table-title {
        font-size: large;
        color: var(--color-title);
        margin: 3rem 0.5rem 0 0.5rem;
    }

    /* Table 1 */
    .container-table-1 table#table-1 table.table-1-childtable{
        width: 1366px;
    }

    /* Table 2 */
    .container-table-2 div.dataTables_filter {
        /*margin-top: 3.5rem;*/
    }

    .container-table-2 #filter-table-2-categories {
        display: block;
        margin-left: 0;
    }

    /* Table 3 */
    .container-table-3 div.dataTables_filter {
        /*margin-top: 7rem;*/
    }

    /* Table 5 */
    .container-table-5 div.custom-filter-container {
        margin: 5px;
    }
    .container-table-5 div.dataTables_filter {
        margin-bottom: 0;
        /*margin-top: 2.5rem;*/
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 1199px) {
    /* HEAD */
    .larose__user-info {
        padding: 0 1rem;
    }
    .larose__logo {
        margin-top: 2rem;
        margin-left: 0.5rem;
        margin-bottom: 2rem;
    }

    /* Chart */
    .col-left-chart {
        padding-left: 0;
    }
    .col-right-chart {
        padding-right: 0;
    }
    .larose__content-1 canvas{
        height: 35px;
    }
    .larose__content-2 canvas{
        height: 35px;
    }

    .larose__content-3 {
        /*height: 500px;*/
    }

    .larose__content-3 canvas{
        height: 260px;
    }

    .larose__content-4 {
        height: 150px;
    }

    /* Table */
    .container-table { 
        border: 1px solid var(--color-chart-border);
        min-height: 100px;
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        padding: .25rem;
        overflow-x: auto;
    }

    .container-table table.dataTable {
        width: 1366px;
        margin-left: 0;
    }

    .table-title {
        font-size: large;
        color: var(--color-title);
        margin: 3rem 0.5rem 0 0.5rem;
    }

    /* Table 1 */
    .container-table-1 table#table-1 table.table-1-childtable{
        width: 1366px;
    }

    /* Table 2 */
    .container-table-2 div.dataTables_filter {
        /*margin-top: 3.5rem;*/
    }

    .container-table-2 #filter-table-2-categories {
        display: block;
        margin-left: 0;
    }

    /* Table 3 */
    .container-table-3 div.dataTables_filter {
        /*margin-top: 7rem;*/
    }

    /* Table 5 */
    .container-table-5 div.custom-filter-container {
        margin: 5px;
    }
    .container-table-5 div.dataTables_filter {
        margin-bottom: 0;
        /*margin-top: 2.5rem;*/
    }
}

.dataTables_filter {
    margin-top: -25px;
}
#DataTables_Table_1_filter {
    margin-top: 0;
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    /* Chart */
    .larose__content-1 canvas{
        height: 50px;
    }
    .larose__content-2 canvas{
        height: 69px;
    }
    .larose__content-3 canvas{
        height: 200px;
    }

    .larose__content-3, .larose__content-4 {
        /*height: 250px;*/
    }
}

/* Utilities */
.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
.underline {
    text-decoration: underline;
}
.uppercase {
    text-transform: uppercase;
}
.text-black {
    color: var(--color-link);
}
.text-white {
    color: #FFF;
}
.text-gray {
    color: var(--color-title);
}
.text-red {
    color: red;
}
.text-bold {
    font-weight: bold;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-30 {
    font-size: 30px;
}
.text-40 {
    font-size: 40px;
}
.bg-orange {
    background-color: var(--color-link-active);
}
.w-150 {
    width: 150px;
}
.w-200 {
    width: 200px;
}
.w-450 {
    width: 450px;
}
.w-full {
    width: 100%;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mr-5 {
    margin-right: 5px;
}
.mr-10 {
    margin-right: 10px;
}
.mb-10 {
    margin-bottom: 10px;
}
.px-5 {
    padding-right: 5px !important;
    padding-left: 5px !important;
}
.px-50 {
    padding-right: 50px;
    padding-left: 50px;
}
.py-5 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.border-0 {
    border: none;
}
.border-2 {
    border-width: 2px;
    border-style: solid;
}
.border-orange {
    border-color: var(--color-link-active);
}

@media (min-width:640px) {
    .sm\:w-450 {
        width: 450px;
    }
    .sm\:text-40 {
        font-size: 40px;
    }
    .sm\:mt-30 {
        margin-top: 30px;
    }
}
@media (min-width:768px) {
    .md\:mr-45 {
        margin-right: 45px;
    }
}