html, body
{
    margin: 0;
    height: 100%;
    font-family: arial, sans, verdana;
    background-color: #fef9e3;
}

h1
{
    font-weight: bold;
    color: #666;
    font-size: 60px;
}

img
{
    max-width: 100%;
}

a i
{
    padding: 10px;
    font-size: 150%;
    margin-right: 10px;
}

.hidden
{
    display: none;
}

.green
{
    color: #090;
}

.red
{
    color: #f00;
}

.bold
{
    font-weight: bold;
}

.right
{
    text-align: right;
}

.linkRename,
.linkMerge
{
    display: inline-block;
    background-color: #5577ff;
    color: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    text-decoration: none;
    border: 0;
}

.linkMerge
{
    background-color: #e61111;
}

.linkMerge:hover
{
    background-color: #ff4444;
}

.linkRename::after,
.linkMerge::after
{
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    content: '\f304';
    font-weight: 600;
    margin-left: 10px;
}

.linkMerge::after
{
    content: '\f061\f060'
}

.linkRename:hover
{
    background-color: #88aaff;
}

button.formButton
{
    padding: 10px 20px;
    border-radius: 10px;
    background: transparent;
    font-weight: bold;
    font-size: 16px;
    margin-right: 26px;
    border: 1px solid #7A0810;
    color: #7A0810;
    cursor: pointer;
}

a.selectAll::before
{
    font-family: 'Font Awesome 5 Free';
    content: '\f063';
    font-weight: 600;
    margin-right: 5px;
}

button.formButton:hover
{
    background-color: #ffd5bf;
}
button.formButton:active
{
    background-color: #ffccb7;
}

button.formButton.cta
{
    background-color: #7A0810;
    color: #fff;
}

button.formButton.cta:hover
{
    background-color: #821315;
    border-color: #821315;
}

button.formButton.cta:active
{
    background-color: #8d201d;
    border-color: #8d201d;
}

a.createLink,
a.createLink:hover,
a.createLink:active,
a.createLink:visited
{
    text-decoration: none;
    color: #1e1e1e;
    font-size: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

a.createLink:hover
{
    text-decoration: underline;
}

a.createLink::after,
a.createLink:hover::after,
a.createLink:active::after,
a.createLink:visited::after
{
    content: "+";
    color: #1e1e1e;
    font-size: 22px;
    margin-left: 5px;
    text-decoration: none;
}

a.betweenForm,
a.betweenForm:visited
{
    display: block;
    color: #E6181A; 
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    background-color: #f0f0f0;
    max-width: 1320px;
}

a.betweenForm::before,
a.betweenForm::after
{
    content:" ";
    display: block;
    height: 1px;
    width: 40%;
    position: absolute;
    top: 50%;
    left: 0;
    background: #E6181A;
}

a.betweenForm:hover::before,
a.betweenForm:hover::after
{
    background: #8d201d;
}

a.betweenForm:active::before,
a.betweenForm:active::after
{
    background: #7A0810;
}

a.betweenForm::after
{
    left: auto;
    right: 0;
}

a.betweenForm:hover
{
    color: #8d201d;
}
a.betweenForm:active
{
    color: #7A0810;
}

i.overviewAction
{
    color: #1e1e1e;
    /*font-weight: normal;*/
    margin-right: 10px;
    display: inline-block;
}

div#header-flex
{
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 1;
    min-height: 100%;
}
div#header-flex .header-area
{
    display: block;
    height: 70px;
    box-shadow: 0px 0px 18px 0px #ccc;
    z-index: 5;
    background-color: #fff;
    line-height: 70px;
    padding: 0 40px;
    font-size: 20px;
    color: #b6b6b6;
}
div#top-flex
{
    display: flex;
    flex-direction: row;
    height: auto;
    flex: 1;
}
.left-navigation
{
    background-color: #fff;
    margin-left: 0px;
    width: 270px;
    display: flex;
    order: 0;
    padding: 0;
    box-shadow: 1px 0px 1px 0px #ccc;
}
ul.navigation
{
    color: #000;
    display: block;
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0px;
}

ul.navigation li
{
    display: block;
}
ul.navigation li a,
ul.navigation li a:hover,
ul.navigation li a:active,
ul.navigation li a:focus,
ul.navigation li a:visited
{
    color: #000;
    text-decoration: none;
    display: block;
    padding: 20px 40px;
    font-size: 16px;
}
ul.navigation li a:hover
{
    background-color: #efefef;
}
ul.navigation li a.active
{
    color: #e6181a;
}

.left-navigation li .version
{
    text-decoration: none;
    display: block;
    padding: 20px 40px;
    font-size: 12px;
    font-weight: 100;
    color: #999;
}

div#content
{
    order: 1;
    padding: 20px 20px 40px 20px;
    width: 100%;
    background-color: #fef9e3;
}

/* Messages */
#messages
{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    font-size: 12px;
    font-weight: normal;
}
#messages .messageError,
#messages .messageSuccess,
#messages .messageNotice,
#messages .messageInfo,
.messageSuccess,
.messageError
{
    display: block;
    padding: 10px 20px;
    background-color: #fcc;
    color: #b00;
    margin-bottom: 20px;
    border-radius: 4px;
    padding: 18px 20px;
    font-size: 18px;
}

.messageSuccess,
.messageError
{
    font-size: 12px;
    padding: 5px 10px;
}

#messages .messageSuccess,
.messageSuccess
{
    background-color: #C4E7D2;
    color: #00732d;
}
#messages .messageInfo
{
    background-color: #C4D2E7;
    color: #00732d;
}

/* Page Elements */


.errorMsg
{
    display: block;
    color: #f66;
    font-size: 12px;
}

fieldset
{
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #000;
    padding: 20px;
}

fieldset.red
{
    border: 1px solid #E6181A;
}

fieldset legend
{
    font-size: 12px;
}

fieldset input[type=text]
{
    width: 384px;
    height: 48px;
    border: 1px solid #d9d9d9;
    padding: 0px 10px;
}

fieldset input[type=text].integer
{
    width: 60px;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

div.aosInputIntPlusMinusContainer button.aosInputIntPlusMinusButtonPlus, 
div.aosInputIntPlusMinusContainer button.aosInputIntPlusMinusButtonMinus
{
    height: 48px;
    width: 48px;
    font-size: 18px;
    border: 1px solid #d9d9d9;
}

.catRow .label
{
    min-width: 150px;
}
.catRow .categoryData
{
    display: block;
}
.catRow > div 
{
    display: inline-block;
}

.fold.active
{
    padding-bottom: 20px;
}

div.row span.label,
div.row span.erklarung
{
    display: block;
}

div.row span.label
{
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 6px;
    color: #1e1e1e;
    font-weight: bold;
}

div.row 
{
    margin-bottom: 20px;
}

.radioLabel,
.checkboxLabel
{
    color: #7f7f7f;
    font-size: 18px;
}

.erklarung
{
    font-size: 12px;
    color: #7f7f7f;
    margin-bottom: 10px;
}

.aosInputDatepickerContainer .aosInputDatepickerIcon::after
{
    margin-left: -30px;
    margin-top: 16px;
}

.aosInputDatepickerContainer .aosVisualDate
{
    padding: 13px 10px;
    color: #7f7f7f;
}

.aosInputCheckboxLabel.switch
{
    background-color: #b3b3b3;
    border: 1px solid #b3b3b3;
    height: 24px;
    width: 44px;
}

.aosInputCheckboxLabel.switch.checked
{
    background-color: #70E316;
    border: 1px solid #70E316;
}

.aosInputCheckboxLabel.switch::after
{
    background-color: #fff;
    border: 2px solid #fff;
    height: 18px;
    width: 18px;
}

.aosInputCheckboxLabel.checked.switch::after
{
    margin-left: 21px;
}

.aosInputRadioLabel
{
    color: #7f7f7f;
}

fieldset.editFieldset
{
    max-width: 1280px;
    position: relative;
}

div.twocolumn
{
    display: flex;
    flex-direction: row;
}

.twocolumn .column
{
    margin-right: 40px;
    width: 50%;
}

table.itemOverview
{
    border-collapse: collapse;
}

table.itemOverview tr
{
    margin-bottom: 2px;
}

table.itemOverview tr.row
{
    background-color: #fff;
    min-height: 40px;
}

table.itemOverview td
{
    padding: 20px;
}

table.itemOverview th 
{
    background-color: #d9d9d9;
    color: #1e1e1e;
    font-size: 12px;
    font-weight: normal;
    padding: 20px;
    text-align: left;
}

.clear
{
    clear: both;
}

th 
{
    padding: 5px;
    background-color: #ccc;
}

.changeMonth
{
    font-weight: bold;
    text-decoration: none;
}

.changeMonth::before,
.changeMonth::after
{
   font-family: 'Font Awesome 5 Free';
   content: '\f078';
   transform: rotate(90deg);
   display: inline-block;
   color: #000;
}
.changeMonth.next::before,
.changeMonth.next::after
{
    transform: rotate(-90deg);
}
.changeMonth::before
{
    margin-right: -5px;
}

.thSort
{
    cursor: pointer;
    vertical-align: top;
}

.thSort.active::before
{
    font-family: 'Font Awesome 5 Free';
    content: '\f078';
    margin-right: 5px;
    display: inline-block;
}

.thSort.active.desc::before
{
    transform: rotate(180deg);
}

.tdDate,
.tdCurrency,
.tdSource,
.tdAmount,
.tdText,
.tdType,
.tdCurrency,
.tdCategory,
.tdSource
{
    font-size: 12px;
}


.tdAmount
{
    text-align: right;
}

.tdText
{
    padding: 10px 0;
}

.tdType
{
    cursor: pointer;
}

.group
{
    display: block;
    padding: 5px 0;
    font-size: 14px;
}

.center
{
    text-align: center;
}

.group .legend
{
    display:block;
    font-size: 10px;
}

.inputsDiv
{
    padding: 20px;
    border: 1px solid #ccccee;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
}

.noContentText {
    display: block;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #ccc;
}

.rezeptView
{
    display: block;
    text-align: center;
}

.rezeptView h1
{
    font-size: 28px;
    margin-top: 0;
}

.rezeptViewData
{
    background-color: #fff;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    margin: 20px auto;
    padding: 20px;
    text-align: left;
}

.rezeptViewData .rezeptImg img
{
    border-radius: 4px;
    box-shadow: 3px 3px 3px #ccc;
}

.zutatTable
{
    border-collapse: collapse;
    border: 1px solid #ccc;
    overflow: hidden;
    font-size: 14px;
    border-radius: 4px;
}

.zutatTable td
{
    padding: 5px 3px 5px 8px;
}

.zutatTable tr
{
    background-color: #f8f8f8;
}

.zutatTable tr:hover
{
    background-color: #e8e8e8;
}

.portionenContainer
{
    padding: 10px 0;
}

.portionenContainer input[type=number]
{
    width: 40px;
    font-weight: bold;
}