﻿.div_main {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.div_topbar {
    width: 100%;
    height: 72px;
    max-height: 72px;
    min-height: 72px;
}

.cls_main {
    /*margin-top: 72px !important;*/ /* Add a top margin to avoid content overlay */
    display: flex;
    width: 100%;
    height: calc(100vh-72px);
    max-height: calc(100vh-72px);
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
}

.auto-style5 {
    width: 100%;
    height: 540px;
}

A {
    COLOR: #2489db;
    TEXT-DECORATION: none
}

.div_sidebar {
    z-index: 1000 !important;
    pointer-events: none;
}

.content {
    display: flex;
    flex-grow: 1;
    min-height: calc(100vh - 90px);
    height: calc(100vh - 90px);
    max-height: calc(100vh - 90px);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: auto;
    overflow-x: hidden;
}

.div_filter {
    width: 100%;
    padding: 5px;
}

.div_filter_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1px;
}

.div_filter_label {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.div_filter_content {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.div_filter_contract {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.filter_contract_dropdown {
    z-index: 0
}

.div_filter_options {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.div_chart {
    width: 100%;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 15px;
}

.div_chart_row {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 0;
}

.div_chart_row_item {
    width: 50%;
    display: flex;
    margin: 0;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.div_copyright {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-items: center;
    justify-content: center;
    background: url("/images/bottom_union.png");
    background-repeat: no-repeat;
    background-size: cover;
}


@media screen and (max-width: 768px) {
    /* For mobile phones: */
    .div_sidebar {
        min-width: auto;
    }

    .div_filter_header {
        flex-direction: column;
    }

    .div_filter_content {
        flex-direction: column;
    }

    .div_filter_contract {
        flex-direction: column;
        width: 100%;
    }

    .filter_contract_dropdown {
        width: 100%;
    }

    .div_filter_options {
        width: 100%;
    }

    .cls_main {
        height: auto;
        max-height: auto;
    }

    .content {
        min-height: auto;
        height: auto;
        max-height: auto;
    }

    .div_chart_row {
        flex-direction: column;
    }

    .div_chart_row_item {
        width: 100%;
    }

    .div_copyright {
        min-height: 125px;
        background-size: contain;
        background-position-y: bottom;
    }
}
