﻿* {
    /* Don't take the font from master.css*/
    font-family: unset;
}

#reportViewer1 {
    display: inline-block;
    position: relative; /* essential for Telerik layout engine */
    width: calc(100% - 200px) !important;
    height: 100vh !important;
}
    /* Force inner splitter to inherit container height instead of fixed flex-basis */
    #reportViewer1 .trv-parameters-splitter,
    #reportViewer1 .trv-document-map-splitter {
        height: 100% !important;
    }

    #reportViewer1 .k-pane.k-scrollable {
        flex-basis: auto !important;
        height: 100% !important;
    }

#topHeader {
    display: none;
}

#mainContent {
    /* Remove mainContent css */
    flex: unset;
    margin: unset;
    overflow: hidden;  
}

#main {
    width: 100vw;
    margin:unset;
}

#modules {
    margin-top: auto;
    margin-bottom: auto;
}

@media screen and (max-width: 768px) {
    body {
        overflow: auto;
    }

    #masterContainer {
        display: unset;
        height: unset;
    }

    #leftBanner {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 10px 0px;
        top: 0;
        left: 0;
        min-height: 50px;
    }

    .leftBannerItem {
        margin: unset;
    }

    #logoAndContactsContainer {
        margin-top: 10px;
        margin-left: 10px;
    }

    #logo {
        display: block;
        margin: 0;
        width: 100px;
    }

    #contacts {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2px;
        top: 5%
    }

    .contactImages {
        width: 20px;
        height: auto;
    }

    #modules {
        display: flex;
        justify-content: end;
        gap: 10px;
        width: 100%;
        margin-top: 0px;
        margin-right: 10px;
        margin-bottom: unset
    }

    .moduleImages {
        width: 100px;
        height: auto;
        margin-top: 10px;
    }

    #reportViewer1 {
        width: 100% !important
    }
}

@media screen and (max-width: 360px) {
    #modules {
        display: none; /* Hide the module images on extreme small screens so there is no overlap between logo & module images*/
    }
}
