.nowrap {
    flex-wrap: nowrap !important;
}

.borderReduce {
    border-radius: 0 0 0 20px !important;
}


.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px !important;
    grid-row-gap: 0px !important;
}

.div1 {
    grid-area: 1 / 1 / 2 / 6;
}

.div2 {
    grid-area: 2 / 1 / 3 / 6;
}

.div3 {
    grid-area: 3 / 1 / 4 / 6;
}

.div4 {
    grid-area: 4 / 1 / 5 / 6;
}

.div5 {
    grid-area: 5 / 1 / 6 / 6;
}

.div6 {
    grid-area: 2 / 1 / 3 / 2;
}

.div7 {
    grid-area: 2 / 2 / 3 / 3;
}

.space-around {
    justify-content: space-around;
}

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

.mb-5 {
    margin-bottom: 5px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.ml-5 {
    margin-left: 5px !important;
}

.mr-5 {
    margin-right: 5px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.ml-30 {
    margin-left: 30px !important;
}

.mr-30 {
    margin-right: 30px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.mr-20 {
    margin-right: 20px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pt-5 {
    padding-top: 5px !important;
}

.pl-5 {
    padding-left: 5px !important;
}

.pr-5 {
    padding-right: 5px !important;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pl-30 {
    padding-left: 30px !important;
}

.pr-30 {
    padding-right: 30px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pl-20 {
    padding-left: 20px !important;
}

.pr-20 {
    padding-right: 20px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pr-10 {
    padding-right: 10px !important;
}


.center-text {
    text-align: center;
}

.borders {
    border: 1px solid rgb(214, 214, 214)
}

.boldtext {
    font-weight: bolder;
    font-family: revert;
}

.container_flex {
    display: flex;
    /* or inline-flex */
    flex-wrap: wrap;
    /* width: 200vh; */
    justify-content: flex-start;
    align-items: stretch;
}

.item {
    flex-basis: auto;
    align-self: end;
}

.box_item {
    flex-basis: auto;
    margin: 10px;
    width: 280px;
}

.btn {
    padding: 10px;
    font-weight: bold;
    background-color: #34495E;
    /* background-color: #9B75A7; */
    color: white;
    border: 0px;
    border-radius: 5px;
    width: fit-content;
}

.btn>* {
    color: white;
}

.btn:hover {
    background-color: #5D6D7E;
    /* background-color: #AB8BB5; */
}

.btn:active {
    background-color: #34495E;
}

.styled-table {
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); */
}

.styled-table thead tr {
    background-color: #1B2631;
    color: #ffffff;
    text-align: center;
}

.styled-table th,
.styled-table td {
    /* padding: 3px 15px; */
    padding: 3px 5px;
    width: fit-content;
}


.styled-table tbody tr td {
    border: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #1B2631;
}

.maxwidth>* {
    width: 100%;
}

.tablarge th,
.tablarge td {
    padding: 8px 18px;
    width: 100%;
}

#numbers {
    white-space: nowrap;
}

.mintab th,
.mintab td {
    padding: 3px 8px;

}

.maxsize {
    max-height: 300px;
    overflow-y: auto;
    width: fit-content;
}

.maxwidth_40percent {
    max-width: 40% !important;
}

.maxwidth_60percent {
    max-width: 60% !important;
}

.maxwidth_80percent {
    max-width: 80% !important;
}

.maxwidth_100percent {
    max-width: 100% !important;
}

.canvas {
    width: 520px !important;
    height: 260px !important;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(214, 214, 214);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #1B2631;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1B2631;
}

.styled-table tbody tr:hover {
    background-color: #d3d1d1;
}

.links:link {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.smaller {
    font-size: x-small;
    padding: 3px !important;
}

.self_start {
    align-self: start !important;
}

.min_width_200 {
    min-width: 200px !important;
}


.selectBox {
    position: relative;
}

.selectBox select {
    width: 100%;
    font-weight: bold;
}

.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#checkboxes {
    display: none;
    border: 1px #dadada solid;
}

#checkboxes label {
    display: block;
}

#checkboxes label:hover {
    background-color: #1e90ff;
}

.position_absolute {
    position: absolute !important;
    border-bottom: 2px solid #1B2631;
    ;
}

.background_color_white {
    background: rgb(255, 255, 255) !important;
}

.flex_end {
    justify-content: flex-end !important;
}

.right_pos_1 {
    right: 275px;
}

.width_300 {
    width: 300px;
}

.border_bottom_lgray {
    border-bottom: 1px solid lightgray;
}

.container_flex .item_grow {
    flex-shrink: 0;
    flex-grow: 1;
}

.item_grow {
    align-self: end;
}

.flex_grow {
    flex-grow: 0 !important;
}


@media print {

    /* @page {
        size: A4 portrait;
        margin: 20px 10px 20px 10px;
    } */
    body {
        /* zoom: 80%; */
        -webkit-print-color-adjust: exact !important;
    }

    #Formdate,
    #optionslist,
    #formannees,
    #linkstolist {
        display: none;
    }

    hr {
        display: none;
    }

    .side-nav-vert,
    .side-nav {
        display: none;
    }

    canvas {
        height: 260px !important;
        width: 300px !important;
        margin-left: 20px !important;

    }

    p {
        font-size: 14px !important;
        margin-top: 20px !important;

    }

    /*   .container_flex {
        display: flex; 
        flex-wrap: wrap;

        justify-content: flex-start;
        align-items: stretch;
    } */

    /* .item, .item_grow {
        align-self : start;
        vertical-align: top;
        width: max-content;
    } */

    div.titre {
        font-size: 16px;
        font-weight: bold;
        color: black !important;
    }

    tr.titre {
        border-bottom: 1px solid black !important;
    }

    table.styled-table,
    table.styled-table>thead>tr>th,
    table.styled-table>tbody>tr>td,
    table.styled-table>tfoot>tr>td {
        padding: 2px !important;
    }

    table.styled-table {
        min-width: 300px;
    }

    .canvas {
        width: 320px !important;
        height: 220px !important;
    }

    div.item,
    div.item_grow,
    div.box_item {
        display: inline-block;
        /* break-inside: avoid; */
        vertical-align: top;
        width: max-content;
    }

    .container_flex {
        display: block;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .maxsize {
        overflow: visible;
        position: relative;
        top: 10px;
        bottom: 10px;
        max-height: none;

    }

    .border_bottom_lgray {
        border-bottom: none !important;
    }
}

@media only screen and (max-width: 1400px) {
    .canvas {
        width: 480px !important;
        height: 220px !important;
    }

    .right_pos_1 {
        right: 274px;
    }
}

.no_data_style {
    border-bottom: 1px solid #c7c7c7;
    border-top: 1px solid #c7c7c7;
    background-color: #f3f3f3;
    font-size: 15px;
    color: gray;
    font-style: italic;
    padding-left: 20px;
    position: relative;
    top: 60px;
}

.errormsg {
    border: 1px solid #f39595;
    margin: 5px 0px 20px 0px;
    background-color: #fbc5c5;
    border-radius: 10px;
    color: darkred;
    font-style: italic;
    display: block;
}

.info-box-icon-edited {
    opacity: 1;
    filter: inherit !important;
}

.info-box-edited {
    position: initial !important;
}

.info-box-title-edited {
    opacity: 1 !important;
}

.max_hight_300 {
    max-height: 300px;
    overflow-y: auto;
}

.color_btnaction {
    color: #1B2631;
}

.container_flex_son {
    display: flex;
    /* or inline-flex */
    flex-wrap: wrap;
    /* width: 200vh; */
    justify-content: flex-start;
    align-items: stretch;
}