/* 
Created by Matthias Wiels - http://mwiels.eu
*/
* {padding: 0;margin: 0;}
html, body {height: 100%;}

body {
    /*background-color: #f6f6eb; oldMagazinRoyal*/
    background-color: #fde7c7;
    font-family: Arial, Helvetica, sans-serif;
}

p {
    margin: 0.5em 0 0.5em 0;
}
a {
    color: black;
    font-size: smaller;
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}

img {
    border: none;
}

/***********************
* DESIGN CONTAINERS
***********************/
#container {
        position: relative;
        min-height: 100%;
        height:auto !important; /* moderne browsers */
        height:100%; /* IE */
    }
#header {
    height: 100px;
    background: #ffd89f url("/inc/img/bg_top.png") repeat-x bottom;
    padding: 10px 0 0 10px;
}
#center {
    min-height: 100px;
    width: 755px;
    margin-right: 9px;
    padding-bottom: 75px;
}
#nav {
    margin-left: 7px;
    float: left;
    font-size: 0.95em;
    white-space: nowrap;
}
#content {
    padding-left: 185px;
}

#footer {
    height: 75px;
    width: 100%;
    background: #ffd89f url("/inc/img/bg_bottom.png") repeat-x top;
    position: absolute;
    bottom: 0;
    text-align: center;
    font-size: 0.9em;
}

#footer p {
    position: absolute;
    bottom: 3px;
    width: 100%;
}

#nav a {
    text-decoration: none;
}
#nav a:hover, #nav .active a:hover{
    color: #db8b5d;
}
#nav .active a {
    color: #d87238;
}

#nav li {
    margin-bottom: 15px;
}

/* Messages */
div.message {
    font-size:110%;
    display: block;
    padding: 0.3em;
    margin: 1em 0;
}
div.message div.msg {
    margin: 5px;
    margin-right: 100px;
}

div.message a {
    color: #003d4c;
    text-decoration:underline;
}
div.message a:hover {text-decoration:none;}

.formError {
    color: red;
    font-weight:bold;
}
.error{
    background: #ffd594;
    border-top: 2px solid #ff9703;
    border-bottom: 2px solid #ff9703;
}
.success, .info {
    background: #c6e05f;
    border-top: 2px solid #83b500;
    border-bottom: 2px solid #83b500;
}

div.stack-trace {
    background: #fff;
    border: 1px dashed #000;
    padding: 6px;
    font-size: 80%;
}
div.stack-trace pre{
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}

.right {
    float:right;
}
.center {
    text-align: center;
}

/********* 
 ==FORM==
*********/
form {
    margin-right: 20px;
    padding: 0;
    width: 95%;
}
input[type=radio], input[type=checkbox] {
    float:left;
    width:auto;
    margin: 5px 3px 0 0;
}

label {
    display: block;
    padding-right: 20px;
    margin-top: 10px;
}
div.radio label {
    float: left; /* Remove this if you want them underneath each other */
    margin: 0;
    font-size: medium;
}

input, select {
    font-size: 110%;
    padding: 2px;
}
input, textarea {
    width: 100%;
}
textarea {
    height:60px;
}
select { margin-right: 5px;}
input[type=submit] {
    display: inline;
    font-size: 110%;
    padding: 2px 5px;
    width: auto;
    vertical-align: bottom;
    margin: 5px;
}

fieldset {
    border: 1px solid #000; /*#db8b5d*/
    padding: 16px 20px;
    margin: 10px 10px 10px 0;
}

fieldset legend {
    font-size: 110%;
    color: #000;
    padding: 5px;
}

.results {width:100%;}
.results > div, .box {
    border: #669304 1px dashed;
    margin: 5px;
    padding: 5px;
}
.results > div.active {
    border: #000 1px solid;
}
.results > div.active .hide {
    visibility: hidden;
}
.results > div {
    float:left;
    overflow:hidden;
    white-space:nowrap;
}

.results > div > img {
    border: #000 1px solid;
}
.results > div > img:hover {
    border-color: #f8fede;
}
.results > div div {
    font-size: 75%;
}
.results > div span {
    font-weight: bold;
    font-size: 90%;
}
.afterFloat {
    clear: both;
}
#overlay {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:transparent url(/inc/img/overlay.png) repeat scroll 0 0;
    height:100%;
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
}
#overlay #dialog {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    -moz-border-radius-bottomleft:8px;
    -moz-border-radius-bottomright:8px;
    -moz-border-radius-topleft:8px;
    -moz-border-radius-topright:8px;
    -moz-box-shadow:0 3px 100px #000000;
    background-color: #FFF;
    border:3px solid #FFFFFF;
    overflow:auto;
    padding:20px 25px 35px;

    height:auto;
    margin-left: 180px;
    margin-right: 180px;
    margin-top: 150px;
    width:450px;
}
#dialog #closeDialogLink {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:transparent url(inc/img/ico/close.png) no-repeat scroll right center;
    color:#AAAAAA;
    font-size:0.91em;
    padding:0 18px 0 0;
    text-decoration:none;
}

.items > div {
    border: 2px solid #ff9703;
    margin-bottom: 15px;
    padding: 5px;
    background-color: #ffd89f;
}

.items > div:hover {
    background-color: #ffdeae;
}
.items img {
    margin-top: 6px;
}
