/* Beheer pagina campers. */
body {
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    text-align: center;
}

/* TinyMCE statusbar kleiner dan default. */
div.mce-path {
    padding-top: 2px;
    padding-bottom: 2px;
}

body, p, input, option, select, textarea, button {
    color: #333;
    font-family: Verdana, arial, sans-serif;
    font-size: 13px;
}

h1, h2, h3 {
    font-size: 13px;
    font-weight: normal;
}

p {
    margin: 0;
    padding: 0;
}

/* Links ook tonen als links */
a, a:hover, a:visited {
    color: blue;
    outline: 0;
    text-decoration: underline;
}

a img {
    border: 0;
}

h1 {
    font-family: Times new roman, serif;
    text-align: left;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: #ff6600;
    margin: 0 0 0 2px;
    padding: 0 0 .5em 0;
}

h2 {
    font-size: 16px;
    display: block;
    color: #ff6600;
    margin: 0 0 2em 0;
    font-weight: bold;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 1em 0;
    margin: 0;
}

ul {
    padding: 0;
    margin: 2em 0 1em;
}

li {
    padding: 0;
    margin: 0 0 0 1.5em;
}

/* ===================================== */
/* Layout */
/* ===================================== */

#main {
    width: 810px;
    margin: 0 auto;
}

#header {
    margin-top: 1em;
}

#logoutaction {
    float: left;
    margin-right: 5px;
    margin-left: 2px;
}

#logcontexttekst {
    text-align: right;
    float: right;
}

#maincontent {
    text-align: left;
    width: 810px;
    min-height: 500px;
    background-color: white;
    border: 1px solid #ddd;
}

#maincontent .padding {
    padding: 25px;
}

#nodecorator {
    background-color: white;
    overflow: auto;

}

#nodecorator #maincontent {
    background-color: inherit;
    border: 0;
    width: auto;
    min-height: inherit;
    height: auto;
    -moz-box-shadow: 0 0 0 white;
    -webkit-box-shadow: 0 0 0 white;
    box-shadow: 0 0 0 white;

    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

#broodkruimel {
    padding: 10px 0 10px 25px;
    text-align: left;
}

#footer {
    text-align: center;
    color: gray;
    margin: 1em 0;
}

/* Vaste breedte ongedaan maken */
#undecorated #maincontent {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border: 0;
}

/* In een popup andere background */
body.nodecorator {
    background-color: white;
}

/* ===================================== */
/* Menu */
/* ===================================== */

#mainmenu {
    padding: 0 0 0 15px;
    text-align: left;
    margin: 1em 0 2em 0;
    min-height: 25px;
    border: 1px solid #ddd;
    background-color: white;
    clear: both;
}

ul.nav, .nav ul {
    text-align: left;
    margin: 0;
    padding: 0;
    cursor: default;
    list-style-type: none;
    display: inline;
}

ul.nav > li {
    display: table-cell;
    position: relative;
    padding: 12px 10px;
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

ul.nav li > ul {
    display: none;
    position: absolute;
    margin-left: -6px;
    background-color: white;
    padding: 0 10px 10px 0;
}

ul.nav li:hover > ul, ul.nav li.active > ul {
    /* When hovered, make them appear */
    display: block;
    z-index: 1;
    padding-top: .5em;
    margin-top: 10px;
}

.nav ul li a {
    display: block;
    padding: 2px 5px 4px;
    color: blue;
    text-decoration: underline;
    white-space: nowrap;
}

.nav ul {
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .5);
    box-shadow: 0 0 4px rgba(0, 0, 0, .5);
}

.nav a:hover {
    background-color: #f4f4f4;
}

.nav li.groupstart {
    padding-top: .8em;
}

/* ===================================== */
/* Formulieren */
/* ===================================== */

form {
    margin: 0;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 15px 0;
}

form label {
    font-weight: normal;
    display: block;
    margin-top: .7em;
    margin-bottom: .2em;
    cursor: pointer;
    color: #888;
}

/* readonly waarde in een form */
.value {
    color: black;
    font-weight: normal;
    line-height: 18px;
}

/* Label naast element kunnen zetten */
.checkboxgroup {
    margin-top: 5px;
}

.checkboxgroup label {
    display: inline;
    margin: auto;
}

/* Lable naast checkbox, struts2 style */

/* Labels links naast de tekstvelden */
.horizontallabel label {
    display: inline-block;
    width: 200px;
    line-height: 18px;
    text-align: right;
    margin-right: .5em;
}

.horizontallabel label:after {
    content: ':';
}

.horizontal-label-and-field-40-width {
    width: 649px;
}

.hide {
    display: none;
}

.tekst-5 {
    display: inline-block;
    min-width: 5em;
}

/* Styling voor textboxen */
.invoer-veld {
    color: #333;
    border: 1px solid #ddd;
    background-color: rgba(245, 245, 245, 0.5);
    margin: 2px 0;
    padding: 4px 10px
}

.invoer-veld:focus {
    background-color: white;
}

.invoer-veld-5 {
    width: 5em;
    min-width: 0 !important;
}

.invoer-veld-6 {
    width: 6em;
    min-width: 0 !important;
}

.invoer-veld-10 {
    width: 10em;
    min-width: 0 !important;
}

.invoer-veld-15 {
    width: 15em;
    min-width: 0 !important;
}

.invoer-veld-30 {
    width: 30em;
    min-width: 0 !important;
}

.invoer-veld-35 {
    width: 35em;
    min-width: 0 !important;
}

.invoer-veld-40 {
    width: 40em;
    min-width: 0 !important;
}

.select-veld-25 {
    min-width: 25em;
}

.invoer-veld-helpblock {
    color: #666;
    font-size: 10px;
    margin-bottom: 16px;
}

ul .grouped {
    margin: 5px 0 5px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.grouped > div {
    display: inline-block;
    margin: 0;
    padding: 0 10px 0 0;
}

/* Toon readonly tekstveld niet als tekstveld */
input.readonly {
    color: #011f8f;
    font-weight: normal;
    border: 1px solid transparent;
    /*noinspection CssOverwrittenProperties*/
    border-bottom: 1px solid #ddd;
    background-color: transparent;
}

select {
    border: 1px solid #ddd;
    background-color: white;
}

select option {
    border: 0;
    background-color: white;
}

/* tbv client side form validate. */
.errorfield {
    border: 1px solid #cc0000;
    background-color: #f9f1f1;
}

/* Tonen errormelding bovenaan pagina */
.errortekst {
    margin: 0 0 2em 0;
    padding: 10px 25px;
    color: #c00000;
    font-weight: bold;
    border: 1px solid #c00000;
    background-color: white;
}

.errortekst ul {
    margin: 1em 0 0 0;
    padding: 0;
}

.errortekst li {
    margin: 0 0 0 3em;
    padding: 0;
    color: #c00000;
}

/* Struts label met error */
.errorLabel {
    color: #c00000;
}

/* Error tekst boven label */
.wwerr {
    margin: 2em 0 -.5em 0;
}

/* Error tekst naast label */
.errorMessage {
    color: #c00000;
    background-color: yellow;
}

.errortekst .errorMessage {
    background-color: inherit;
}

.verplichtlabel {
    color: red;
    font-weight: bold;
}

/* Struts required * */
.required {
    color: red;
    font-weight: bold;
}

.wildcardlabel {
    color: red;
    font-weight: bold;
}

/* Minimale breedte voor velden, textarea's en selectboxen */
input[type=text] {
    min-width: 200px;
}

/* fix op select die altijd iets kleiner is */
select {
    min-width: 202px;
    color: #000090;
}

option {
    color: #000090;
}

/* Bijvoorbeeld + knop naast een veld voor toevoegen nieuw veld */
.fieldbutton {
    vertical-align: bottom;
}

/* Velden dynamisch toegevoegd */
.dynamicformelement {
    margin-top: 2px;
}

/* Buttons in het algemeen */
input.button, a.button, button {
    background-color: #ff6600;
    padding: 4px 5px 4px 5px;
    border: 1px solid #bb2200;
    outline: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    color: white;
    font-weight: normal;
    text-decoration: none;
    vertical-align: middle;
}

input.button:hover, a.button:hover, button:hover {
    background-color: #ff8822;
}

button img, a.button img {
    vertical-align: middle; /* hoogte img geen invloed op button */
    margin: -8px 0;
}

/* correctie op link met image */
a.button img {
    padding-bottom: 3px;
}

a.button, a.button2 {
    display: inline-block;
}

/* Alternatieve button */
.button2 {
    background-color: transparent;
    text-decoration: underline;
    display: inline-block;
    padding: 5px 5px 5px 5px;
    cursor: pointer;
    font-weight: normal;
    border: 0;
    outline: 0;
    color: blue;
}

.button2:hover {
    background-color: transparent;
}

/* Firefox fix: hoogte gelijk aan a.button en button.button */
input.button, button, a.button {
    padding: 4px 10px;
}

.button:focus {
    outline: 0;
}

.backbutton {
    display: block;
    margin-top: 1.5em;
}

/* Reset button nooit tonen */
input[type=reset] {
    display: none !important;
}

input[type=submit], button, a.button, a.button2 {
    margin-top: 20px;
    margin-left: 0;
}

.actionbutton {
    vertical-align: bottom;
    margin: 0 1em;
}

/* Buttons op foto wijzigen pagina */
.imgbutton {
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: pointer;
    border: 0;
    text-indent: -999em;
    vertical-align: middle;
}

a.imgbutton {
    display: inline-block;
}

.button-verwijderen {
    background: url(../img/action_delete_16.png) no-repeat;
}

.button-unarchive {
    background: url(../img/action_undo_16.png) no-repeat;
}

.button-wijzigen {
    background: url(../img/action_edit_16.png) no-repeat;
}

.button-kopieren {
    background: url(../img/action_copy_16.png) no-repeat;
}

.button-omhoog {
    background: url(../img/action_up_16.png) no-repeat;
}

.button-omhoog-eerste {
    background: url(../img/action_first_16.png) no-repeat;
}

.button-eerste {
    background: url(../img/action_up_16.png) no-repeat;
}

.button-omlaag {
    background: url(../img/action_down_16.png) no-repeat;
}

.button-omlaag-laatste {
    background: url(../img/action_last_16.png) no-repeat;
}

/* Sort sequence of photos. */
#javascriptfotos {
    display: block;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#javascriptfotos > div {
    display: inline-block;
    float: left;
    padding: 0;
    margin: 5px;
}

/* Shows the target drop location of photo drag'n drop. */
#javascriptfotos .sortable-placeholder {
    display: inline-block;
    float: left;
    width: 129px;
    height: 129px;
    padding: 0;
    margin: 5px;
    border: 2px dashed black;
    background-color: #ccc;
}

/* Status "gepubliceerd" of "concept" */
.statusgepubliceerd, .statusconcept {
    display: block;
    width: 16px;
    height: 16px;
    text-indent: -999em;
    overflow: hidden;
}

.statusgepubliceerd {
    background: url(../img/round_green.gif) no-repeat center;
}

.statusconcept {
    background: url(../img/round_gray.gif) no-repeat center;
}

/* ================================== */
/* Tabellen (niet tbv opmaak!) */
/* ================================== */

table {
    border-collapse: collapse;
    margin: 1em 0 1.5em 0;
    border: 0;
}

th {
    padding: 2px 1em 2px 0;
    font-weight: bold;
    text-align: left;
    color: black;
}

td {
    border-bottom: 1px solid white;
    padding: 2px 1em 2px 0;
}

tbody tr:nth-child(odd) {
    background: #f5f5f5;
}

tbody tr:hover {
    background-color: #feece0;
}

tfoot tr td {
    text-align: left;
    color: gray;
    background-color: transparent;
}

/* Getallen in een cel rechts uitlijnen */
.number {
    font-family: Courier New, Courier, monospace;
    text-align: right;
}

/* Datum in niet proprtioneel lettertype, zodat onder elkaar uitgelijnd */
.date {
    font-family: Courier New, Courier, monospace;
    white-space: nowrap;
}

table.campers {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
}

.id-column {
    width: 40px;
}

.id-volgorde {
    width: 50px;
}

.volgorde-column {
    white-space: nowrap;
}

.titelfoto-column {
    width: 134px;
}

.modified-column {
    width: 11em;
    white-space: nowrap;
}

.prijs-column {
    width: 6em;
    white-space: nowrap;
}

.last-column {
    text-align: right;
}

.camper-status {
    font-weight: bold;
    margin-bottom: 5px;
}

.campers-vraagprijs {
    display: block;
    margin-top: 10px;
}

.verkocht {
    color: red;
}

/* ================================== */
/* Modifications tbv TinyMCE wysiwyg editor */
/* ================================== */

.mceContentBody {
    text-align: left;
    background-color: white;
}

/* Eigenlijk willen we geen statusbar, maar moet wel aan staan ivm resizing mogelijkheid. */
.mceStatusbar {
    background-color: white !important;
}

.mceStatusbar div {
    display: none;
}

.mceIframeContainer {
    border-bottom: 0 !important;
}

/* Floating message window, getoond na bv succesvol opslaan, initieel niet zichtbaar */

#floatmessagebox {
    top: 3px;
    position: fixed;
    text-align: center;
    width: 100%;
}

#floatmessagebox div {
    border: 1px solid darkkhaki;
    background-color: yellow;
    font-weight: normal;
    margin: auto;
    max-width: 550px;
    padding: 3px;
}

#floatmessagebox ul, #floatmessagebox li {
    padding: 0;
    margin: 0;
}

#floatmessagebox li.info {
    font-weight: normal;
    color: darkgreen;
    display: block;
}

#floatmessagebox li.warning {
    font-weight: bold;
    color: #a0a000;
    display: block;
}

#floatmessagebox li.error {
    font-weight: bold;
    color: red;
    display: block;
}

/* Paging displaytag */

.pagelinks {
    text-align: center;
}

.pagelinks a, .pagelinks a:visited {
    color: blue;
    border: 1px solid #dddddd;
    padding: 2px 6px;
    text-decoration: none;
    background-color: white;
    margin: 0 2px;
}

.pagelinks a:hover {
    color: white;
    border: 1px solid #003366;
    padding: 2px 6px;
    text-decoration: none;
    background-color: #0063dc;
    margin: 0 2px;
}

.pagelinks .current {
    color: #ff0084;
    font-weight: bold;
    border: 0;
    padding: 2px 6px;
    text-decoration: none;
    background-color: white;
    margin: 0 2px;
}

.pagelinks a.previous, .pagelinks a.next, .previous, .next {
    padding: 2px 6px;
    margin: 0 20px;
}

span.previous, span.next {
    color: #aaaaaa;
}

.results {
    text-align: center;
    color: #aaaaaa;
    line-height: 15px;
    font-size: 11px;
    margin-top: 8px;
}

/* Preview image in overzicht. */
.previewimage {
    border: 1px solid #d0d0d0;
    width: 129px !important;
    height: 99px;
    background-color: white;
    text-align: center;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

/* Preview image in wijzigen scherm. */
.previewimagemenu {
    border: 1px solid #d0d0d0;
    width: 289px !important;
    height: 219px;
    background-color: white;
    text-align: center;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    float: right;
    line-height: 219px;
}

.previewimagemenu img {
    padding-top: 4px;
}

/* Preview image in scherm "wijzigen foto's" */
.previewimageimages {
    border: 1px solid #d0d0d0;
    width: 129px;
    height: 129px;
    background-color: transparent;
    text-align: center;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

img.previewimageimage {
    max-width: 129px;
    max-height: 129px;
    /* Prevent bottom gap. */
    vertical-align: bottom;
}

.deletableimage {
    float: left;
    margin-right: 25px;
    text-align: center;
}

.deletableimage:hover {
    background-color: #eee;
}

.deletableimage a {
    visibility: hidden;
}

.deletableimage:hover a {
    visibility: visible;
}

.deletableimage .imgbutton {
    margin: 4px;
}

.upload {
    clear: left;
    padding: 30px 0 0 0;
}

/* Na het aanklikken van camper getoond, samenvatting (edit mode) */
.campersummary {
    background-color: #f5f5f5;
    margin: .5em 0 .5em 0;
    padding: 1em;
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

/* Algemene disabled class */
.disabled {
    opacity: .5;
}

/*
======================================
jQuery popup
======================================
*/
#backgroundPopup {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #000000;
    z-index: 1;
    border: 0;
}

#popup {
    display: none;
    position: fixed;
    width: 400px;
    height: 400px;
    background: white;
    border: 2px solid black;
    z-index: 2;
    margin: 0;
    padding: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
}

#popupClose {
    display: block;
    position: absolute;
    top: -22px;
    right: -22px;
    cursor: pointer;
    background-image: url(../img/action_close_22.png);
    width: 22px;
    height: 22px;
    font-size: 0;
}

#internalframe {
    border: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.clearfix {
    clear: both;
}
