﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('/_content/Mitra.AppFrame.Client.Core/MitraDefault.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    width: 100%;
}

    body > div {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%
    }

    body > label {
        margin-bottom: 0px;
    }

.main {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.Frame {
    overflow: hidden;
}

.flexFrame {
    overflow:hidden;
}

.top-row-height {
    height: 40px;
}

.LogoBig {
    display: inline;
}

.LogoSmall {
    display: none;
}

@media (max-width: 600px) {    

    .LogoBig {
        display: none;
    }

    .LogoSmall {
        display: inline;
    }
}

.top-row {
    width: 100%;
    flex-grow: 0;
    display: flex;
    align-items: flex-start;
    background-color: #eee;
}

.flexRow {
    flex-direction: row;
}

.flexColumn {
    flex-direction: column;
}

.brand {
    height: 100%;
    background-color: red;
    padding: 5px;
    padding-right: 5px;
    color: #d7d7d7;
    border-right: 1px solid white;
    display: inline-block;
    box-sizing: border-box;
}


    .brand a {
        color: #d7d7d7;
        width: auto;
        height: 100%;
    }

    .brand svg, img {
        width: auto;
        height: 100%;
        vertical-align: top;
    }


        .brand a:hover svg:hover, img:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

        .brand a:active svg:active, img:active {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.ActionBar .nav-link a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.ActionBar .menuIcon {
    width: 20px;
    height: 20px;
}

.nav-item
{
    font-size: 13px;
    line-height: 1.4;
}

.mainnavi {
    height: 100%;
}

    .mainnavi .menuIcon {
        width: 32px;
        height: 32px;
        fill: #d7d7d7;
    }

        .mainnavi .menuIcon:hover {
            fill: white;
        }

.navigationRow ul > li:hover > ul {
    display: block;
    position: absolute;
}

.navigationRow ul > li > ul > li {
    position: relative;
}

.sidenavi {
    height: 100%;
    border-left: 1px solid white;
}

.naviLevel1 {
    padding: 3px;
    background-color: red;
    color: #d7d7d7;
}

    .naviLevel1 .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        align-items: center;
    }

        .naviLevel1 .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .naviLevel1 .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }



.nav-item .dropdown-menu a {
    color: black;
}

    .nav-item .dropdown-menu a:active {
        color: black;
        font-weight: bold;
    }

    .nav-item .dropdown-menu a:hover {
        color: black;
        font-weight: bold;
    }

.nav-link {
    padding: .1rem .6rem;
}

nav-link active {
    background-color: red;
    color: white;
}

.vertical-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.horizontal-right {
    float: right;
}

.main {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-start;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }


    .main .bottom-row {
        height: 52px;
        background-color: #f7f7f7;
        border-top: 1px solid #d6d5d5;
        justify-content: flex-start;
        display: flex;
        flex-direction: row;
    }


a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

    .btn-primary.disabled,
    .btn-primary:disabled {
        color: #fff;
        background-color: #1b6ec2;
        border-color: #1861ac;
        opacity: 0.5;
    }

.btnAction {
    width: 80px;
}

.toggleRezeptAnsicht {
    position: relative;
}

    .toggleRezeptAnsicht .toggleRezeptAnsichtContent {
        position: absolute;
        top: 0px;
        right: 0px;
    }





.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#notify-ui {
    background: yellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    /*position: fixed;*/
    width: 100%;
    z-index: 1000;
}

    #notify-ui .dismiss {
        cursor: pointer;
        /*position: absolute;*/
        right: 0.75rem;
        top: 0.5rem;
    }


.blazored-modal-content {
    overflow: hidden;
    padding: 4px;
}

@media only screen and (max-width: 700px) {
    .blazored-modal-wrapper {
        width: 100%;
    }
}

/* Bootstrap Default themen */
.btn-primary {
    background-color: #42758A;
    color: #d7d7d7;
}

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:hover {
        background-color: #42758A;
        color: white;
    }

.btn-secondary {
    color: #d7d7d7;
}

    .btn-secondary:not(:disabled):not(.disabled):active,
    .btn-secondary:hover {
        color: white;
    }

a .btn-link {
    color: black;
}



/* Page Styles*/


.PageHeader {
    flex-grow: 0;
    margin-bottom: 5px;
    font-size: 18px;
}

.PageFooter {
    flex-grow: 0;
    font-size: 10px;
    color: gray;
}


.wizardPage {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.wizardContent {
    flex-grow: 1;
    overflow: auto;
    height: 100%;
}

.tabPage {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.tabSelector {
    background-color: lightgray;
    border-bottom: 1px solid black;
    flex-grow: 0;
}

.tabContent {
    border: solid 1px gray;
    flex-grow: 1;
    overflow: auto;
    height: 100%;
}




.tabSelector .btn-group {
    flex-wrap: wrap;
}

    .tabSelector .btn-group > .btn {
        flex-grow: 0;
    }

    .tabSelector .btn-group .btn {
        border-right-width: 1px;
        border-right-color: white;
        border-left-width: 1px;
        border-left-color: white;
        border-bottom-color: white;
        border-bottom-width: 1px;
        border-top-width: 0px !important;
        box-shadow: none !important;
    }

btn-group .btn.active:focus, .btn:active:focus, .btn:focus {
    outline: none !important;
    box-shadow: none;
}

/*Media Größenabhängigkeiten*/

.BurgerDropdownMenu .oi.oi-cog {
    width: 24px !important;
    height: 24px !important;
}

.BurgerDropdownMenu .menuIcon {
    width: 24px !important;
    height: 24px !important;
}

.Nav { /*Minimaler Standard*/
    display: inline-flex;
    /*flex-wrap: wrap;*/
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.NavItemTitle {
    display: none;
}

.primaryNavMenuItem {
    display: none;
}

.secoundaryNavMenuItem {
    display: none;
}

.BurgerDropdownMenu {
    display: initial
}

    .BurgerDropdownMenu .NavItemTitle {
        display: initial;
    }

    .BurgerDropdownMenu .primaryNavMenuItem {
        display: initial;
    }

    .BurgerDropdownMenu .secoundaryNavMenuItem {
        display: initial;
    }

        .BurgerDropdownMenu .secoundaryNavMenuItem.cog {
            display: inline-block;
            width: 100%;
        }

.welcomePageAnonym {
    display: flex;
    flex-wrap: wrap;
}

    .welcomePageAnonym h1 {
        font-size: 30px;
    }

    .welcomePageAnonym .card {
        width: 18rem;
    }

    .welcomePageAnonym .btn {
        position: relative;
    }

.navDatenschutz {
    display: initial;
}

@media (min-width: 240px) { /* Breite beträgt mindestens 240px */
    .NavItemTitle {
        display: none;
    }

    .navDatenschutz {
        display: none;
    }

    .nav-link {
        padding: .1rem .3rem;
    }

    .primaryNavMenuItem {
        display: initial;
        /*transform: scale(0.8);*/
    }

    .secoundaryNavMenuItem {
        display: none;
    }

    .BurgerDropdownMenu {
        display: none;
    }

        .BurgerDropdownMenu .NavItemTitle {
            display: none;
        }

        .BurgerDropdownMenu .primaryNavMenuItem {
            display: none;
        }

        .BurgerDropdownMenu .secoundaryNavMenuItem {
            display: none;
        }
}


@media (min-width: 320px) { /* Breite beträgt mindestens 440px */

    .NavItemTitle {
        display: none;
    }

    .navDatenschutz {
        display: none;
    }

    .nav-link {
        padding: .1rem .3rem;
    }

    .primaryNavMenuItem {
        display: initial;
        transform: scale(0.8);
    }

    .secoundaryNavMenuItem {
        display: initial;
    }

    .BurgerDropdownMenu {
        display: none;
    }

        .BurgerDropdownMenu .NavItemTitle {
            display: none;
        }

        .BurgerDropdownMenu .primaryNavMenuItem {
            display: none;
        }

        .BurgerDropdownMenu .secoundaryNavMenuItem {
            display: none;
        }
}

@media (min-width: 370px) { /* Breite beträgt mindestens 370px */

    .navDatenschutz {
        display: none;
    }
}


@media (min-width: 730px) { /* Breite beträgt mindestens 900px */

    .NavItemTitle {
        display: initial;
    }

    .navDatenschutz {
        display: initial;
    }

    .primaryNavMenuItem {
        display: initial;
    }

    .secoundaryNavMenuItem {
        display: initial;
    }

    .BurgerDropdownMenu {
        display: none;
    }

        .BurgerDropdownMenu .NavItemTitle {
            display: none;
        }

        .BurgerDropdownMenu .primaryNavMenuItem {
            display: none;
        }

        .BurgerDropdownMenu .secoundaryNavMenuItem {
            display: none;
        }
}

@media (max-width:499px) {
    .ActionbarItemTitle {
        display: none;
        height: 0px;
    }
}
/*Hamburger CSS*/
#menuToggle {
    display: inline-block;
    -webkit-user-select: none;
    user-select: none;
}

    #menuToggle a {
        text-decoration: none;
        color: black;
        transition: color 0.3s ease;
    }

        #menuToggle a:hover {
            color: red;
            fill: red;
            background-color: #f7f7f7;
        }


    #menuToggle input {
        display: block;
        width: 40px;
        height: 100%;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    #menuToggle .Burgermenu {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: white;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
    }

        #menuToggle .Burgermenu:first-child {
            transform-origin: 0% 0%;
        }

        #menuToggle .Burgermenu:nth-last-child(2) {
            transform-origin: 0% 100%;
        }

    #menuToggle input:checked ~ .Burgermenu {
        opacity: 1;
        transform: rotate(45deg) translate(2px, 1px);
    }

        #menuToggle input:checked ~ .Burgermenu:nth-last-child(3) {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }

        #menuToggle input:checked ~ .Burgermenu:nth-last-child(2) {
            transform: rotate(-45deg) translate(-1px, 3px);
        }

    #menuToggle input:checked ~ .dropdown-content {
        display: block;
        opacity: 1;
    }

.dropdown-content {
    display: none;
    background-color: #f1f1f1;
    min-width: 174px;
    max-height: 50vh;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: -1;
    position: absolute;
    top: 35px;
    right: -2px;
    opacity: 0;
    overflow: scroll;
}

    .dropdown-content a {
        display: inline-flex;
        color: black;
        padding: 8px 16px;
        text-decoration: none;
        display: block;
        overflow: hidden;
    }

.iconhover:hover {
    box-shadow: 0 0 5px silver;
}

.positionhover:hover {
    box-shadow: 0 0 5px silver;
}

.positionSelected {
    background-color: red !important;
    color: white !important;
}


.ConfigPage {
    display: flex;
    flex-wrap: wrap;
}

    .ConfigPage h1 {
        font-size: 20px;
    }

    .ConfigPage .card {
        width: 18rem;
    }

    .ConfigPage .btn {
        position: relative;
    }


