/* Overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    -webkit-transform: translate3d(0,0,0);
}

#loading {
    border:1px solid #2a67ac;
    padding: 10px 10px 10px 60px;
    width: 300px;
    height: 100px;
    background: rgb( 255, 255, 255) url('../images/FhHRx-Spinner.gif') 10px 50% no-repeat;
    position: fixed;
    display: none;
    z-index: 3000;
}

#loading h4 { margin: 3px 0 0 0; padding: 0; color: #d80; }

.pull-right {
    float: right;
}

.non-local-image {
    display: inline-block;
    border: 3px dashed #eee;
    border-radius: 5px;
}

.non-local-image:after {
    background: url(../logo.php) center center no-repeat;
    background-size: cover;
    content: "";
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.3;
}

div.section-break {
    margin-top: 1em;
    margin-bottom: 0.5em;
    padding-top: 0.8em !important;
    border-top: 1px solid #ccc;
}

input.dp {
    width: 10em;
}

/* Custom css for datepicker */
.ui-datepicker-trigger {
    display:inline-block;
    border:0;
    padding:0;
    margin-left:2px;
    position:relative;
    top:-2px;
    width:16px;
    height:16px;
    background:inherit;
}

.draft-saved {
    background-color: black;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px 6px;
    border-radius: 3px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    line-height: 14px;
    position: absolute;
    top: 3em;
    right: 0.5em;
}

.delete-draft:hover {
    background-color: #fc9f41 !important;
}

.notice_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #0a0; background: url('../assets/default/images/icons/ok.png') 10px 50% no-repeat #e0ffe0; }

.warning_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #f26522; background: url('../assets/default/images/icons/alert.png') 10px 50% no-repeat #ffffdd; }

.error_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #a00; background: url('../assets/default/images/icons/error.png') 10px 50% no-repeat #fff0f0; }

/* --- Custom Branding Evionyx Colors --- */
h1, h2, h3, #logo, .header-title { 
    color: #035B2C !important; 
}
#header { 
    border-bottom: 3px solid #035B2C !important; 
}
#nav { 
    background-color: #035B2C !important; 
}
#nav a:hover, #nav a.active { 
    background-color: #05A550 !important; 
}
a { 
    color: #05A550; 
}
/* Buttons und Formulare */
input[type='submit'], input[type='button'], .button, .action-button, .btn { 
    background-color: #035B2C !important; 
    border: none !important; 
    color: #ffffff !important; 
    text-shadow: none !important;
}
input[type='submit']:hover, .button:hover, .btn:hover { 
    background-color: #05A550 !important; 
}
/* Lade-Balken / Overlays */
#loading {
    border-color: #035B2C !important;
}


/* --- Hintergrund-Optimierung Evionyx --- */
body {
    background-color: #f4f7f6 !important; /* Ein sehr helles, frisches Grau-Grün */
    background-image: linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%) !important;
    background-attachment: fixed;
}

#container {
    background: #ffffff !important;
    border: 1px solid #e1e8e5 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
}

#footer {
    background: transparent !important;
    color: #666 !important;
}
/* --- Header & Footer Refinement --- */

/* Header-Bereich */
#header {
    background: linear-gradient(135deg, #035B2C 0%, #024521 100%) !important;
    padding: 20px 0 !important;
    border-bottom: 4px solid #05A550 !important; /* Akzentfarbe als Trenner */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

/* Logo-Text im Header (falls Text genutzt wird) */
#logo {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* Navigations-Leiste */
#nav {
    background: #024521 !important; /* Etwas dunkler als der Header */
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

#nav a {
    color: #e0e0e0 !important;
}

#nav a:hover, #nav a.active {
    background-color: #05A550 !important; /* Dein Akzent-Grün */
    color: #ffffff !important;
}

/* Footer-Bereich */
#footer {
    background-color: #f0f4f2 !important; /* Sehr helles Pastell-Grün-Grau */
    border-top: 1px solid #d1d9d5 !important;
    padding: 30px 0 !important;
    color: #555555 !important;
    margin-top: 50px !important;
}

#footer a {
    color: #035B2C !important;
    font-weight: bold;
}
