*, *::before, *::after {
  box-sizing: border-box;
}
body{
    padding:0px;
    margin:0px;
    font-family:'Verdana';
    font-size:14px;
}

#loginpage .mod_login{
    position:fixed;
    width:100vw;
    height:100vh;
    left:0px;
    top:0px;
}
#loginpage .mod_login .formbody{
    display:inline-block;
    width:400px;
    height:200px;
    position:fixed;
    left: calc( 50% - 200px );
    top: calc( 50% - 350px );
}

@media screen and (max-width:998px) {
    #loginpage .mod_login .formbody{
        width:360px;
        height:200px;
        left: calc( 50% - 180px );
        top: calc( 50% - 100px );
    }
}

#loginpage .mod_login .formbody fieldset{
    border:none;
}
#loginpage .mod_login .formbody label{
    width:120px;
    display:inline-block;
}
#loginpage .mod_login .formbody fieldset label{
    width:200px;
    display:inline-block;
}

#loginpage button.submit{
    width: 100%;
    background-color: #ccc;
    padding: 10px 20px;
    font-size: 15px;
    border: none;
}

#loginpage #username,
#loginpage #password{
    width: calc( 100% - 130px );
}

nav.mod_customnav{    
    background-color:rgba(50,50,255,0.5);
}
nav.mod_customnav ul{
    display:block;
}
nav.mod_customnav ul li{
    display:inline-block;
    padding: 0px 10px;
}

nav.mod_customnav ul li:hover{
    /* background-color:rgba(50,50,255,0.75); */
}

nav.mod_customnav ul li a{
    display:inline-block;
    text-decoration:none;
    color:#fff;
}

#header-custom .mod_login{
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index:5
}

#header-bg{
    height:50px;
    width:100vw;
    z-index:3;
    top:0px;
    left:0px;
    position:fixed;
    background-color:#fff;
}

#header-custom .login_info{
    display:none;
}

#header-custom .mod_login button{
    border: none;
    background-color: #fff;
    padding: 15px 20px;
    font-size: 17px;
    cursor:pointer;
    position:fixed;
    right:0px;
    top:0px;
}

.new_artworks,
.new_eingang,
.new_ausgang{
    margin: 10px 5px 10px 5px;
    padding: 5px 0px;
    text-align: center;
    border: 1px dotted rgb(100, 100, 100);
    color:#aaa;
}

.new_artworks:hover,
.new_eingang:hover,
.new_ausgang:hover{
    background-color:rgba(50,50,50,0.25);
    cursor:pointer;
    color:#333;
}

.ist_abgegeben{
    color:#29B500;
}

.ist_vorbereitet{
    color:#D7B710;
}

.ist_bestellt{
    color:#AD0B0E;
}

.db_kw_1{
    display:inline-block;
    width:210px;
}
.db_kw_2{
    display:inline-block;
    width:50px;
}
.db_kw_3{
    display:inline-block;
    width:100px;
}

#kw_preis{
    width:100px;
}

#kw_vkpreis{
    width:100px;
    margin-left:10px;
    color:#00A900;
}


#eingangseditor,
#ausgangseditor{
    display:none;
    position:fixed;
    width:100vw;
    height:100vh;
    background-color:rgba(50,50,50,0.8);
    z-index:10;
    left:0px;
    top:0px;
}

#eingangseditor_inner,
#ausgangseditor_inner{
    position:fixed;
    top:0px;
    left: calc( 50% - 500px );
    padding: 25px;
    width:1000px;
    min-height:850px;
    background-color:#fff;
}

#eingangseditor_spalten{
    display:inline-block;
    width:100%;
    min-height:700px;
}

#ausgangseditor_spalten{
    display:inline-block;
    width:100%;
    min-height:700px;
}


#eingangseditor_links{
    display:inline-block;
    width:49%;
    min-height:700px;
    position:relative;
    vertical-align:top;
}

#eingangseditor_rechts{
    display:inline-block;
    width:49%;
    min-height:700px;
    position:relative;
    vertical-align:top;
}

#ausgangseditor_links{
    display:inline-block;
    width:49%;
    min-height:700px;
    position:relative;
    vertical-align:top;
}

#ausgangseditor_rechts{
    display:inline-block;
    width:49%;
    min-height:700px;
    position:relative;
    vertical-align:top;
}


#eingang_dropin,
#ausgang_dropin{
    border:2px dashed rgba(0,0,99,0.2);
    /* height:800px; */
    height:auto;
    min-height:685px;
    /* position:absolute; */
    top:0px;
    left:0px;
    width:100%;
    padding: 5px 10px;
    margin-top: 5px;
}

.eingang_entryline,
.ausgang_entryline{
    position:relative;
    font-size: 0.9em;
    padding: 2px 0px;
}

.eingang_entryline:hover,
.ausgang_entryline:hover{
    background-color:rgba(99,99,99,0.2);
}


.remove_eingang_entryline{
    display: inline-block;
    position: absolute;
    right: 0px;
    top: -1px;
    color: #f00;
    cursor:default;
}

.remove_ausgang_entryline{
    display: inline-block;
    position: absolute;
    right: 0px;
    top: -1px;
    color: #f00;
    cursor:default;
}

#eingang_addall{
    display: inline-block;
    position: absolute;
    right: 40px;
    cursor:pointer;
}

#eingang_addall:hover{
    color:#f00;
}

#ausgang_addall{
    display: inline-block;
    position: absolute;
    right: 40px;
    cursor:pointer;
}

#ausgang_addall:hover{
    color:#f00;
}


.eingang_entry_anzahl{
    position: absolute;
    right: 20px;
    width: 75px;
    height: 18px;
    text-align: right;
    padding-right: 6px;
}

.ausgang_entry_anzahl{
    position: absolute;
    right: 20px;
    width: 75px;
    height: 18px;
    text-align: right;
    padding-right: 6px;
}

#eingangseditor_name,
#ausgangseditor_name{
    width:465px;
    font-size:0.9em;
}

#eingangseditor_datum,
#ausgangseditor_datum{
    width: 90px;
    font-size: 0.9em;
    text-align: center;
}

#kunstwerkeditor{
    position:fixed;
    width:100vw;
    height:100vh;
    background-color:rgba(50,50,50,0.8);
    z-index:10;
    left:0px;
    top:0px;
}

#kunstwerkeditor_inner{
    position:fixed;
    top:calc( 50% - 350px );
    left: calc( 50% - 300px );
    padding: 25px;
    width:600px;
    height:500px;
    background-color:#fff;
}

#kunstwerkeditor_inner input[type=text],
#kunstwerkeditor_inner select{
    height:32px;
}

#kw_eingang,
#kw_ausgang{
    width:100px;   
}

.listenzeile:nth-child(2n+1){
    background-color:rgba(200,240,240,0.3)
}
.listenzeile:nth-child(2n){
    background-color:rgba(200,240,240,0.8)
}
.listenzeile:first-child{
    background-color:#eee;    
}


#kunstwerkeditor_inner .typ1,
.listenzeile.typ1,
.db_listenzeile.typ1,
.ei_listenzeile.typ1,
.au_listenzeile.typ1{
    background-color:#e2efda;
}

/*
#kw_typ:has(option[value="1"]:checked){
    background-color:#e2efda;
}
#kw_typ:has(option[value="2"]:checked){
    background-color:#ddebf7;
}
#kw_typ:has(option[value="3"]:checked){
    background-color:#fff2cc
}
#kw_typ:has(option[value="4"]:checked){
    background-color:#fce4d6;
}
*/

#kw_artikelnr_shop{
    position: absolute;
}



#kunstwerkeditor_inner .typ2,
.listenzeile.typ2,
.db_listenzeile.typ2,
.ei_listenzeile.typ2,
.au_listenzeile.typ2,
#kw_typ[value="2"]{
    background-color:#ddebf7;
}
#kunstwerkeditor_inner .typ3,
.listenzeile.typ3,
.db_listenzeile.typ3,
.ei_listenzeile.typ3,
.au_listenzeile.typ3,
#kw_typ[value="3"]{
    background-color:#fff2cc;
}
#kunstwerkeditor_inner .typ4,
.listenzeile.typ4,
.db_listenzeile.typ4,
.ei_listenzeile.typ4,
.au_listenzeile.typ4,
#kw_typ[value="4"]{
    background-color:#fce4d6;
}

#fixed_top_part{
    position: fixed;
    background-color: #fff;
    z-index: 2;
    width: 100vw;
    top:50px;
    left:0px;
}

nav{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 4;
}

.listenzeile{
    padding:0px 20px;
    font-size:1em;
    position:relative;
}

.db_listenzeile{
    padding:0px 20px;
    font-size:0.9em;
}

.listenzeile:hover{
    background-color:rgba(33,33,33,0.5);
    color:#fff;
}


.listenzeile .liste_kunstwerkbild{
    display:inline-block;
    width:80px;
    overflow:hidden;
}

.listenzeile .liste_kunstwerkbild_header{
    display:inline-block;
    width:98px;
    overflow:hidden;
}



.listenzeile .liste_kunstwerkbild{
    vertical-align:top;
    height:35px;
}

.listenzeile .liste_kunstwerkname_header,
.listenzeile .liste_kunstwerkname{
    display:inline-block;
    width:300px;
}

.listenzeile .liste_kunstwerknr_header,
.listenzeile .liste_kunstwerknr{
    display:inline-block;
    width:115px;
}


.listenzeile .liste_kunstwerkort{
    display:inline-block;
    width:350px;
    color:#555;
    padding-left:50px;
}

.listenzeile .liste_kunstwerkjahr{
    display:inline-block;
    width:50px;
    color:#555;
}

.listenzeile .liste_kunstwerkerp{
    display: inline-block;
    width: 85px;
    color: #aaa;
    position: absolute;
    right: 112px;
    font-style: italic;
    text-align:right;
}

.erpspan{
    color: #aaa;
    font-style: italic;
}

.err_preis{
    color: #aaa;
    font-style: italic;
}

.listenzeile .liste_kunstwerkstatus_header,
.listenzeile .liste_kunstwerkstatus{
    display:inline-block;
    width:80px;
}

.listenzeile .liste_kunstwerkchecks_header{
    display:inline-block;
    width: 114px;
    text-align: right;
    margin-right:32px;
}



.listenzeile .liste_kunstwerkstatus{
    font-style: italic;
    color: #555;
}

.sort_list_by{
    cursor:default;
}

.liste_kw_nr{
    display:inline-block;
    color:#55c;
}

.db_listenzeile .db_liste_kunstwerkname_header,
.db_listenzeile .db_liste_kunstwerkname{
    display:inline-block;
    width:400px;
}


.ei_listenzeile .ei_liste_kunstwerkname_header,
.ei_listenzeile .ei_liste_kunstwerkname,
.au_listenzeile .au_liste_kunstwerkname_header,
.au_listenzeile .au_liste_kunstwerkname,
.au_listenzeile_disabled .au_liste_kunstwerkname_header,
.au_listenzeile_disabled .au_liste_kunstwerkname{
    display:inline-block;
    width:375px;
}

#kw_status{
    margin-right:20px;
}

.listenzeile .liste_kunstwerkEK_header,
.listenzeile .liste_kunstwerkEK{
    display:inline-block;
    width:65px;
}

.listenzeile .liste_kunstwerkhp_header,
.listenzeile .liste_kunstwerkhp{
    display:inline-block;
    width:36px;
    text-align:center;
}

.listenzeile .liste_kunstwerkshop_header,
.listenzeile .liste_kunstwerkshop{
    display:inline-block;
    width:51px;
    text-align:center;
}

.listenzeile .liste_kunstwerkeingang_header,
.listenzeile .liste_kunstwerkeingang,
.listenzeile .liste_kunstwerkausgang_header,
.listenzeile .liste_kunstwerkausgang{
    display:inline-block;
    width:95px;
    text-align:center;
}



.db_listenzeile .db_liste_kunstwerkWert_header,
.db_listenzeile .db_liste_kunstwerkWert{
    display:inline-block;
    width:100px;
}

.db_listenzeile .db_liste_kunstwerkBestand_header,
.db_listenzeile .db_liste_kunstwerkBestand{
    display:inline-block;
    width:100px;
}


.ei_listenzeile .ei_liste_kunstwerkEK_header,
.ei_listenzeile .ei_liste_kunstwerkEK,
.au_listenzeile .au_liste_kunstwerkEK_header,
.au_listenzeile .au_liste_kunstwerkEK{
    display:inline-block;
    width:100px;
}

.listenzeile .liste_kunstwerkVK_header,
.listenzeile .liste_kunstwerkVK,
.ei_listenzeile .ei_liste_kunstwerkVK_header,
.ei_listenzeile .ei_liste_kunstwerkVK,
.au_listenzeile .au_liste_kunstwerkVK_header,
.au_listenzeile .au_liste_kunstwerkVK{
    display:inline-block;
    width:90px;
}

.listenzeile .liste_kunstwerkFVK_header,
.listenzeile .liste_kunstwerkFVK,
.ei_listenzeile .ei_liste_kunstwerkFVK_header,
.ei_listenzeile .ei_liste_kunstwerkFVK,
.au_listenzeile .au_liste_kunstwerkFVK_header,
.au_listenzeile .au_liste_kunstwerkFVK{
    display:inline-block;
    width:100px;
}

.listenzeile .liste_eingangname_header,
.listenzeile .liste_eingangname,
.listenzeile .liste_ausgangname_header,
.listenzeile .liste_ausgangname{
    display:inline-block;
    width:400px;
}

.listenzeile .liste_ausgangstatus_header,
.listenzeile .liste_ausgangstatus{
    display:inline-block;
    width:150px;
}


.listenzeile .liste_eingangdatum_header,
.listenzeile .liste_eingangdatum,
.listenzeile .liste_ausgangdatum_header,
.listenzeile .liste_ausgangdatum{
    display:inline-block;
    width:100px;
}
.listenzeile .liste_ausgangVK_header,
.listenzeile .liste_ausgangVK{
    display:inline-block;
    width:100px;
    text-align:right;
}

.listenzeile .liste_ausgangExcel_header,
.listenzeile .liste_ausgangExcel{
    display:inline-block;
    width:50px;
    text-align:right;
    height:100%;
    position:absolute;
}


.typ_fvk{
    background-color:rgba(0,99,0,0.15);
}

.typ_vk{
    background-color:rgba(99,99,99,0.1);
}

.export_ausgang,
.export_eingang{
    width: 40px;
    margin-left: 5px;
    padding: 0px 10px;
}

.liste_infoblock{
    display:inline-block;
    padding-left:12px;
}

.liste_infoblock_unten{
    position:relative;
}


.liste_kunstwerkEK,
.liste_kunstwerkVK,
.liste_kunstwerkFVK,
.liste_kunstwerkshop{
    text-align:right;
    padding:1.5px 10px 1.5px 0px;
    /* border-right:1px solid rgba(66,66,66,0.25); */
    border-right:1px solid transparent;
}

.liste_kunstwerkEK_header,
.liste_kunstwerkVK_header,
.liste_kunstwerkFVK_header,
.liste_kunstwerkshop_header{
    text-align:center;
    padding:1.5px 0px 1.5px 0px;
    border-right:1px solid rgba(66,66,66,0.25);
}

.liste_kunstwerknr,
.liste_kunstwerknr_header{
    padding:1.5px 0px 1.5px 0px;
    /* border-right:1px solid rgba(66,66,66,0.25); */
    border-right:1px solid transparent;
}

.liste_kunstwerkname,
.liste_kunstwerkname_header{
    padding:1.5px 0px 1.5px 0px;
    /* border-right:1px solid rgba(66,66,66,0.25); */
    border-right:1px solid transparent;
}

.db_liste_kunstwerkname,
.db_liste_kunstwerkname_header{
    padding:1.5px 0px 1.5px 0px;
    border-right:1px solid rgba(66,66,66,0.25);
}

.db_liste_kunstwerkWert,
.db_liste_kunstwerkWert_header{
    padding:1.5px 0px 1.5px 0px;
    text-align:right;
    /* border-right:1px solid rgba(66,66,66,0.25); */
}

.db_liste_kunstwerkBestand,
.db_liste_kunstwerkBestand_header{
    padding:1.5px 20px 1.5px 0px;
    border-right:1px solid rgba(66,66,66,0.25);
    text-align:right;
}

.remove_kunstwerk{
    display: inline-block;
    margin-left: 5px;
    color: #f00;
    position: relative;
    cursor:default;
}

.duplicate_kunstwerk{
    display: inline-block;
    margin-left: 5px;
    color: #00f;
    position: relative;
    cursor:default;
    top:2px;
}


.remove_kunstwerk_sure{
    display:none;
    position: absolute;
    background-color: #f00;
    color: #fff;
    z-index: 2;
    padding: 0px 15px;
    height: 100%;
    pointer:default;
}

.listenzeile{
    border-left:6px solid transparent;
}

.fertig{
    border-left:10px solid rgba(0,255,0,0.5);
}

.nichtfertig{
    border-left:10px solid transparent;
}

.verkauft{
    border-left:10px solid rgba(0,0,255,0.5);
}

.markiert{
    background-color: rgba(255,0,0,0.2) !important;
}

#calc_wert{
    padding-left:5px;
}

#calc_wert_container{
    position: absolute;
    right: 40px;
    font-weight: bold;
}

.notsure{
    margin-left: 10px;
    padding:0px 5px 0px 5px;
    color: #000;
    pointer:default;
}

.ausgang_sure,
.eingang_sure{
    margin-left: 10px;
    padding:0px 5px 0px 5px;
    color: #fff;
    font-weight:bold;
}


#kunstwerkeditor_inner select{
    display: inline-block;
    border: none;
    padding:2px 5px;
}

#kunstwerkeditor_inner > div.spaced{
    padding:10px 0px 10px 0px;
    position:relative;
}

#kw_name{
    width:500px;
    margin-left:5px;
}

.kw_vka,
.kw_mwst,
.kw_bp{
    width:50%;
    display:inline-block;
    position:relative;
    color:#a03;
    font-size:0.9em;
}

.kw_iz{
    width:66%;
    display:inline-block;
    position:relative;
    color:#a03;
    font-size:0.9em;
}


#kw_iz,
#kw_vka,
#kw_mwst,
#kw_bp{
    position:absolute;
    right:20px;
}
#kw_bp{
    color:#000;
}



.kw_drittel{
    display:inline-block;
    width:33%;
}

.kw_drittel input{
    width:100%;
    max-width:100%;
}

.kw_save,
.kw_cancel{
    width:50%;
    display:inline-block;
    text-align:center;
    padding: 5px 0px;
    cursor:pointer;
}

.kw_save{
    background-color:rgba(188,237,193,1.00);
}

.kw_cancel{
    background-color:rgba(245,181,182,1.00);
}

.ei_save,
.ei_cancel,
.au_save,
.au_cancel{
    width:50%;
    display:inline-block;
    text-align:center;
    padding: 5px 0px;
    cursor:pointer;
}

.ei_save,
.au_save{
    background-color:rgba(188,237,193,1.00);
}

.ei_cancel,
.au_cancel{
    background-color:rgba(245,181,182,1.00);
}

.preislistenexport{
    display: inline-block;
    background-color: rgba(20,20,100,0.4);
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    margin-top:20px;
}

.preislistenexport_friends{
    display: inline-block;
    background-color: rgba(20,100,20,0.4);
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    margin-top:20px;
}

.preislistenexport_ekbrutto{
    display: inline-block;
    background-color: rgba(100,20,20,0.4);
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    margin-top:20px;
}


#dashboard_links{
    width:680px;
    display:inline-block;
    min-height:100px;
    padding:20px;
    vertical-align:top;
}

#dashboard_rechts{
    width: 450px;
    display: inline-block;
    min-height: 100px;
    padding:20px;
    vertical-align:top;
}

.strikeout *{
    text-decoration: line-through !important;
}

#kw_entstehungsort{
    width:430px;
}

#kw_fertigstellung{
    width:110px;
}

#kw_titel{
    width:545px;
}

#kw_hoehe, #kw_breite{
    width:100px;
}

#kw_faktor{
    width:100px;
}

#filter_kw_typ,
#filter_kw_format{
    display: inline-block;
    border: none;
    padding:2px 5px;
}

#listfilter div.spaced{
    padding:5px 0px 5px 0px;
}

#listfilter{
    display: inline-block;
    border: 1px dotted #aaa;
    padding: 0px 5px 0px 5px;
    margin: 5px 0px 5px 5px;
}

#submitfilter{
    background-image:url('/files/inventar/gfx/funnel.svg');
    background-size: 17px;
    padding: 6px 10px 6px 20px;
    background-repeat: no-repeat;
    background-position: 2px;
    border: none;
}

#resetfilter{
    background-image:url('/files/inventar/gfx/undo.svg');
    background-size: 15px;
    padding: 6px 10px 6px 20px;
    background-repeat: no-repeat;
    background-position: 2px;
    border: none;
}
.bild-upload{
    display: inline-block;
    width: 140px;
    height: 140px;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: absolute;
    right: 30px;
    bottom: 85px;
    background-color:#ddd;
    background: url('/files/inventar/gfx/picture.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 55px;
    cursor:pointer;
    overflow:hidden;
}

.kunstwerk_thumb{
    display:inline-block;
    height:45px;
    width:80px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size:contain;
}

.jq-tip-dialog{
    position: absolute;
    background-color: rgba(200,240,240,0.8);
    display: none;
    border-radius: 2px;
    z-index:10;
}

.jq-tip-dialog h1{
    margin: 0;
    font-size: 10px;
    font-weight:300;
    color: rgba(50,50,50,0.8);
    padding: 5px 0 5px 5px;
}

.jq-tip-dialog .wrapper{
    padding: 0 3px 3px 3px;
}

.jq-tip-dialog .wrapper > div{
    background-color: rgba(200,240,240,0.8);
    max-width:450px;
    max-height:450px;
}

.jq-tip-dialog .wrapper > div .jq-tip-content{
    padding: 5px;
    margin: 0;
    font-size: 14px;
    overflow-y: auto;
    word-wrap: break-word;
    max-width:450px;
    max-height:450px;
}

.jq-tip-dialog .wrapper > div .jq-tip-content > img{
    max-width:398px;
    max-height:398px;    
}

body{
    padding: 182px 0px 0px 0px;
}

html.readonly body{
    padding: 130px 0px 0px 0px;
}

#listfilter{
    position:relative;
}

.generate_inventar_excel{
    background-image:url('/files/inventar/gfx/excel.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 35px;
    height: 25px;
    position:absolute;
    top: 8px;
    right: -40px;
    cursor:pointer;
}

.generate_inventar_word{
    background-image:url('/files/inventar/gfx/word.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 35px;
    height: 25px;
    position:absolute;
    top: 8px;
    right: -80px;
    cursor:pointer;
}

.out_checkboxen{
    display: inline-block;
    margin-left: -20px;
    margin-right: 20px;
}

.out_checkboxen label{
    padding:0px 12px 0px 12px;
}