:root{
    --main-color:white;
    --main-color2:black;
    --main-color3: #444444;
    --main-color4: #9b9b9b;
}

body{
    background-color: var(--main-color);
    color: var(--main-color2);
}

.h-10{
    height: 10%;
}
.h-90{
    height: 90%;
}

.h-80{
    height: 80%;
}

p{
    margin-bottom: 0;
}

#content{
    height: calc(100% - 50px);
}


#keep_alive_module{
    height: 0px;
}

#keep_alive_full_screen_overlay{
    z-index: 2000;
}

#index_body{
    padding: 0 !important;
}

#current_datetime, #version{
    color: var(--main-color4);
}

/*#region Login */
@media screen and (max-width: 785px) {
    body{
        right: auto !important;
    }
    .proxersafe_login_infos{
        background: #ebebeb;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
        display:flex;
        justify-content:flex-end;
        flex-direction: column;
    }
    .proxersafe_login_infos_line{
        width:100% !important;
    }
    .proxersafe_login_flex{
        flex-direction: column;
    }
    .proxersafe_login{
        display:flex;
        justify-content:center;
        align-items:center;
        height:100vh;
    }
    @media screen and (max-height: 760px) {
        .proxersafe_login{
            display:block;
            height:100vh;
        }
    }
}
@media screen and (min-width: 786px) {
    .proxersafe_login_infos{
        background: #ebebeb;
        min-width:240px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        display:flex;
        justify-content:flex-end;
        flex-direction: column;
        border-left:1px solid #bfbfbf;
    }
    .proxersafe_login{
        display:flex;
        justify-content:center;
        align-items:center;
        height:100vh;
    }
    @media screen and (max-height: 633px) {
        .proxersafe_login{
            align-items: unset;
            height:max-content;
        }
    }
}

/*#endregion */

/*#region credit management */
.szemelyek_kredit_webgrid {
    overflow: auto;
}
.center_content{
    justify-content: center;
}

.credit_history_webgrid{
    flex-grow: 1;
    overflow: scroll;
}
.credit_history_webgrid  > * thead tr:nth-child(2) th{
    background-color: #1a64b7;
    position: sticky;
    top: 0;
    z-index: 4;
}

.center_box_div_export{
    padding: 0.5em;
}

#wg_head > div:first-child {
    flex-wrap: wrap;
    align-items: center;
}
#wg_head > div:first-child > button{
    margin-top: 0 !important;
}

/*#endregion */