/** MEDIA BREAKS **/
/*   see: https://blazor.radzen.com/breakpoints 
        xs - Extra Small >= 576px
        sm - Small >= 768px
        md - Medium >= 1024px
        lg - Large >= 1280px
        xl - Extra Large >= 1920px
        xx - Extra Extra Large >= 2560px
    */

/** VARIABLES **/
:root {
    --tgpl-red: #EE473D;
    --tgpl-green: #BABC31;
    --tgpl-blue: #48C1E1;
    --tgpl-white: #FFFFFF;
    --tgpl-std-width: 0.5rem;
    --tgpl-max-image-width: 250px;
    --tgpl-max-image-height: 400px;
    --tgpl-small-image-width: 128px;
    --tgpl-small-image-height: 64px;
    --tgpl-max-description-height: 8rem;
    --rz-sidebar-width: 150px;
    --rz-text-display-h1-font-size: 24pt;
    --rz-text-display-h1-margin-bottom: 0;
    --rz-text-display-h2-font-size: 18pt;
    --rz-text-display-h2-margin-bottom: 0;
    --rz-text-display-h3-font-size: 14pt;
    --rz-text-display-h3-margin-bottom: 0;
    --rz-text-display-h4-font-size: 12pt;
    --rz-text-display-h4-margin-bottom: 0;
    --rz-dialog-background-color: #f5f5f5;
    --rz-dialog-title-background-color: #f5f5f5;
}

/** HTML **/
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

/** RADZEN **/
.rz-header {
    background-color: var(--tgpl-red);
    color: var(--tgpl-white);
}
.rz-footer {
    background-color: var(--tgpl-blue);
    color: var(--tgpl-white);
}
.rz-row {
    margin-bottom: 0.5rem;
}

.rzi {
    min-width: initial!important;
}

.rz-notification {
    bottom: 0 !important;
    float: left !important;
    left: 10px !important;
    top: unset !important;
    right: unset !important;
}

.person-address-cell .rz-text-body1,
.person-address-cell .rz-text-body2 {
    margin-bottom: 0;
}

/** TOP TOOLBAR **/
ul.rz-profile-menu {
    background-color: transparent;
}

/** HOME PAGE **/
.home-actions {
    margin-right: auto;
    margin-left: auto;
}
.home-actions .rz-row {
    margin-bottom: 2rem;
    margin-top: 2rem;
}
    .home-actions > div > div {
        max-width: 20rem;
    }

/** FOOTER **/
.rz-footer a {
    color: var(--tgpl-white);
    text-decoration: underline;
}
.footer-display {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

/** MOBILE BODY **/
.rz-body {
    padding: 0;
}
.inner-section {
    width: calc(100% - 8px);
    height: 100%;
    margin-left: 4px;
    margin-right: 4px;
}
.rzi {
    min-width: 2rem;
}

/** DESKTOP BODY **/
@media only screen and (min-width: 1024px) {
    .rz-body {
        padding: var(--tgpl-std-width);
    }
}

/** MENUS **/
.tgpl-site-menu {
    margin-left: var(--tgpl-std-width);
}
.tgpl-profile-menu {
    margin-right: var(--tgpl-std-width);
}

/** HELPER CLASSES **/
.tgpl-min-button-width {
    min-width: 15rem;
}
.tpgl-no-header thead {
   display: none;
}

/** IMAGE EDITOR **/
.tgpl-item-image-editor {
    width: 320px;
}