@media print {
    @page {size: landscape !important;}
    body {-webkit-print-color-adjust: exact;}
}

html,body
{
    height: 100%;
    font-size: 100%;
    font-family: sans, arial, verdana;
    padding: 0;
    margin: 0;
}

.bold
{
    font-weight: bold;
}

.albumLink
{
    display: block;
    margin: 20px 0;
}

#header-flex
{
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    flex: 1;
    min-height: 100%;
}
#header-flex .header-area
{
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #999;
    border-bottom: 2px solid #999;
}

#header-flex .header-area a.profileLink,
#header-flex .header-area a.profileLink:hover,
#header-flex .header-area a.profileLink:active,
#header-flex .header-area a.profileLink:visited
{
    float: right;
    text-decoration: none;
    color: #0282bf;
    font-weight: normal;
    
}

#top-flex
{
    display: flex;
    flex-direction: row;
    height: auto;
    flex: 1;
    min-height: 100%;
}

.left-navigation
{
    padding: 20px 0;
    border-right: 2px solid #999;
}

ul.navigation 
{
    padding: 0;
}
.navigation li
{
    display: block;
    margin: 0;
    padding: 0;
}

.navigation li a,
.navigation li a:visited,
.navigation li a:hover,
.navigation li a:active
{
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    color: #0282bf;
    background-color: #fff;
}
.navigation li a:hover
{
    background-color: #d2f0ff;
}

.adminNavContent
{
    display: none;
}

.adminNavContentGroupLink:after {
    font-family: "Font Awesome 5 Free";
    content: '\f078';
    transition: .3s all;
    margin-left: 10px;
    display: inline-block;
    color: #0282bf;
    font-weight: 900;
    transform: rotate(-90deg);
    float: right;
}

.adminNavContentGroupLink.active:after {
    transform: rotate(0deg);
}

div#loginForm
{
    margin: 100px auto;
    max-width: 360px;
    border: 1px solid #000;
    padding: 20px;
}

div.horizontal
{
    display: inline-block;
}

div.messageError,
div.messageInfo,
div.messageSuccess
{
    display: block;
    padding: 20px;
    border-radius: 5px;
    background-color: #fbb;
}
div.messageSuccess
{
    background-color: #a3fba0;
}

div#content
{
    padding: 20px;
}

.column .row,
.column .row
{
    display: block;
}

.column .row .label,
.column .row .input
{
    min-width: 120px;
    display: inline-block;
    padding: 0 0 20px 0;
    vertical-align: top;
    display: block;
}
.column .row .label
{
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.column .row input,
.column .row textarea,
.column .row select
{
    margin-top: 0;
    border-radius: 4px;
    border: 1px solid #ededed;
    background-color: #fff;
    padding: 16px 13px;
    margin: 2px 0 0;
    font-size: 16px;
    line-height: 16px;
    min-width: 300px;
}
.column .row textarea
{
    min-height: 150px;
}

.newFormTrigger a,
.newFormTrigger a:hover,
.newFormTrigger a:active,
.newFormTrigger a:visited
{
    display: inline-block;
    padding: 20px 0;
    text-decoration: none;
    color: #0282bf;
}

.newFormTrigger a::after
{
    font-family: "Font Awesome 5 Free";
    content: '\f078';
    transition: .3s all;
    margin-left: 10px;
    display: inline-block;
    color: #0282bf;
    font-weight: 900;
}
.newFormTrigger a.open::after
{
    transform: rotate(180deg);
}
.fa-arrow-right
{
    font-weight: 900;
    margin-right: 5px;
}

.navRow:hover
{
    background-color: #def;
}

#newForm
{
    overflow: hidden;
    max-height: 0;
    margin-bottom: 20px;
    transition: .3s all;
    padding: 0 0;
}
#newForm.open
{
    max-height: 1200px;
    padding: 0 0 20px 0;
}

th
{
    min-width: 100px;
}

td.datetime
{
    font-size: 80%;
    color: #666;
    width: 105px;
}

.mobileOnly,
.mobileOnlyInline
{
    display: none;
}

.aosCalendarWidget th
{
    min-width: 0;
}

.aosInputDatepickerContainer .aosVisualDate
{
    padding: 18px;
}
.aosInputDatepickerContainer .aosInputDatepickerIcon::after {
    margin-left: -32px;
    margin-top: 13px;
    font-size: 28px;
}
/*.aosInputDatepickerContainer .aosVisualDate {display: none;}*/

#modalBg
{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    opacity: 0.8;
    z-index: 10;
}

#modal
{
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 727px;
    min-height: 200px;
    width: 90%;
    padding: 40px 36px 40px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 3px 5px rgba(0, 0, 0, 0.19), 0 12px 24px 0 rgba(0, 0, 0, 0.14);
    background-color: #fafafa;
    z-index: 20;
    font-size: 13px;
    overflow-y: scroll;
}

#modal.promo
{
    padding: 0;
    display: flex;
    flex-direction: row;
}

#rezeptList
{
    padding: 20px;
    padding-bottom: 60px;
}

#rezeptList .rezeptSelection
{
    margin-bottom: 20px;
}
#rezeptList .rezeptSelection span
{
    display: block;
}
#rezeptList .rezeptSelection span span
{
    display: inline-block;
}

#rezeptList .rezeptSelection .rezeptSelectionBild img
{
    float: left;
}
#rezeptList .rezeptSelection .rezeptAddLink
{
    display: inline-block;
    margin-left: 20px;
    height: 120px;
    font-size: 500%;
    line-height: 120px;
}

#newRezeptForm #document
{
    display: none;
}

input#score
{
    border: 0px;
    width: 50px;
    min-width: 50px;
}

a.scoreLink
{
    color: #666;
    display: inline-block;
    border: 1px solid #ccc;
    width: 50px;
    margin-right: 20px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 10px;
}


.tagItem,
.tagFilter
{
    display: inline-block;
    border: 1px solid #ffbbbb;
    padding: 4px 20px;
    margin-right: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #ffdddd;
    text-decoration: none;
    color: #666;
}

.tagFilter.active
{
    background-color: #ddffdd;
    border: 3px solid #bbffbb;
}

.tagItem .tagDelete
{
    color: #666;
    margin-left: 20px;
    text-decoration: none;
    font-size: 80%;
}

.selectionSpacer
{
    min-height: 200px;
}

.planWeekday
{
    margin-bottom: 40px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.planWeekday .weekdayName
{
    font-size: 120%;
    font-weight: bold;
}

.planWeekday .weekdayDate
{
    font-size: 80%;
    color: #999;
    display: inline-block;
    margin-left: 20px;
}

.planWeekday .planEntryInput .label
{
    font-size: 110%;
}

.planWeekday .planEntryInput
{
    margin-top: 20px;
}

.wochenPlanView
{
    margin: 20px;
    background-color: #fdfdfd;
    padding: 20px;
}

.wochenPlanView td
{
    background-color: #f6f6f6;
    padding: 20px;
}

td.planViewDay
{
    font-weight: bold;
    font-size: 110%;
}

td.planViewDay .dateView
{
    display: block;
    font-size: 80%;
    font-weight: normal;
}

td.planViewDaytime .viewText
{
    color: #999;
}

td.planViewDaytime svg
{
    width: 100px !important;
    height: 100px !important;
    float: right;
    margin-left: 20px;
}

#inhalt
{
    position: relative;
}

.einkaufslisteItem
{
    position: relative;
    display: block;
    padding: 10px;
    padding-left: 50px;
    background-color: #f6f6f6;
    margin-bottom: 10px;
}
.einkaufslisteItem.dragging
{
    position: absolute;
    left: 4px;
    right: -4px;
}
.einkaufslisteItemName
{
    float: left;
}
.einkaufslisteItemUnits
{
    display: block;
    margin-right: 10px;
}
.einkaufslisteItemUnit
{
    display: block;
    text-align: right;
}

.einkaufslisteItem .sortItem
{
    cursor: move;
    position: absolute;
    top: 0;
    left: 0;
    height: 27px;
    width: 20px;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    font-size: 150%;
}

.einkaufslisteItem .sortItem i
{
    height: 50px;
    width: 50px;
    line-height: 47px;
}

div#inhalt .dragReplace
{
    border: 1px dashed #ccc;
    border-radius: 5px;
    background-color: #fefefe;
    margin-bottom: 10px;
    touch-action: none;
    user-select: none;
}

.einkaufslisteItem .deleteItem
{
    display: inline-block;
    margin-left: 30px;
    margin-bottom: 10px;
}

.einkaufslisteItemInput
{
    position: relative;
}
.einkaufslisteItemInput .minilabel
{
    position: absolute;
    font-size: 80%;
    font-weight: bold;
    top: 5px;
    margin-left: 5px;
}

#newEinkaufslisteForm #document
{
    display: none;
}

#newForm #newEinkaufslisteForm .einkaufslisteItemInputRow
{
    display: none;
}

.einkaufslisteView
{
    columns: 300px 5;
    font-size: 120%;
}

.einkaufslisteViewItem
{
    padding: 10px 20px;
    background-color: #fafafa;
    margin-bottom: 10px;
    max-width: 300px;
}

.einkaufslisteViewItem .einkaufslisteViewItemName
{
    float: left;
    margin-right: 30px;
}
.einkaufslisteViewItem .einkaufslisteViewUnit
{
    text-align: right;
}

.sortItem
{
    touch-action: none;
    user-select: none;
}

.einkaufslisteItemName,
.einkaufslisteItemUnits
{
    user-select: none;
    touch-action: none;
}

body.stopMoving
{
    touch-action: none;
}

.clickIcon
{
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    text-align: center;
}

.clickIcon i
{
    font-size: 200%;
    margin-bottom: 10px;
}

.clickIcon .label
{
    display: block;
    font-size: 80%;
}

@media screen and (max-width: 767px)
{
    .notMobile 
    {
        display: none;
    }
    
    .mobileOnly
    {
        display: block;
    }
    
    .mobileOnly.label
    {
        font-weight: bold;
        font-size: 80%;
    }
    
    .mobileOnlyInline
    {
        display: inline-block;
    }
    
    .linkIcons
    {
        font-size: 150%;
    }
    
    .linkIcons a
    {
        margin-right: 30px;
        margin: 10px 10px 10px 10px;
        display: inline-block;
    }
    
    #top-flex
    {
        display: block;
    }
    table.users 
    {
        width: 90%;
    }
    table.users tr,
    table.users tr td
    {
        display: block;
    }
    
    table.users tr
    {
        border: 1px solid #aaa;
        width: 100%;
        padding: 20px;
    }
}