﻿/*!
 * WellFrame Web Library
 *
 * Copyright (©) Wellcode Software owned by Khamis Abuelkomboz
 *
 * ALL RIGHTS RESERVED, see http://wellcode.de
 *
 */

@media print {
    html {
        height: initial;
    }

    body {
        height: unset;
    }

    h1 {
        font-size: 1em;
    }

    h2,
    h3,
    h4,
    h5 {
        font-size: 0.75em;
    }

    legend {
        color: inherit;
        background-color: white;
    }

    fieldset {
        /*border: 1px solid gray;*/
        border: 0px;
        padding-left: 5px;
        padding-right: 5px;
        margin: 0px;
        margin-top: 2px;
    }

    label {
        color: darkgray;
    }

    .field-title {
        font-size: x-small;
        color: inherit;
    }

    .field-value {
        font-size: small;
    }

    .item-text {
        font-size: small;
    }

    .itemstable .field-title {
        font-size: 0.6em;
    }

    .itemstable .field-value {
        font-size: 0.75em;
    }

    td {
        border-top-width: 1px;
        border-top-style: solid;
    }

    button.quick-command {
        display: none;
    }

    div.commands {
        display: none;
    }

    div.editpage.Find-page {
        display: none;
    }

/*    .itemtemplate .item-entry > button.item-a,
    .itemtemplate .item-entry > a.item-a {
        display: none;
    }
*/
    button.item-a,
    a.item-a {
        display: none;
    }
    .mediaimage a.item-a {
        display: unset;
    }

    td.itemstable-image-td {
        display: none;
    }

    div.item-commands {
        display: none;
    }
    .itemstable-body-tr:hover > .item-commands,
    .itemstable-body-td:hover > .item-commands,
    .itemstable-image-td:hover > .item-commands {
        display: none;
    }
    .mobiletemplate:hover > .item .item-commands,
    .itemtemplate .item:hover > .item-commands {
        display: none;
    }
}

.pagebreak {
    page-break-before: always;
}

body.printer {
    height: unset;
}

.printer .header {
    overflow: auto;
    /*border-bottom: 1px solid lightgray;*/
    padding-bottom: 2px;
}

.printer .contents {
    overflow: auto;
    border: 0px;
}

.printer .logo {
    float: left;
}

.printer .logo-image {
    max-height: 80px;
}

.printer .editpage {
    position: relative;
    -webkit-box-shadow: none;
    box-shadow: none;
    top: auto;
    left: auto;
    height: auto;
    width: auto;
    background-color: inherit;
    border: 0px;
    padding: 0px;
}

    .printer .editpage .editpage-fields {
        width: auto;
        height: auto;
    }

.printer .fieldgroup-elements {
    overflow: visible;
}

.printer h1 {
    font-size: medium;
    color: unset;
}

.printer h2,
.printer h3,
.printer h4,
.printer h5 {
    font-size: smaller;
    color: unset;
}

.printer legend {
    font-size: 1em;
    color: inherit;
    background-color: white;
}

.printer fieldset {
    border: 0px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0px;
    margin-top: 2px;
}

.printer label {
    color: darkgray;
}

.printer .field-title {
    font-size: x-small;
    color: inherit;
}

.printer .field-value {
    font-size: small;
}

.printer .field-value {
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
    border-bottom: 1px solid black;
    border-radius: 0px;
}

.printer .field-value {
    width: calc(100% - 12px);
    padding: 5px 5px 5px 0px;
}

.printer .field-List,
.field-Image,
.field-Places,
.field-NumberList,
.field-TextList {
    float: none;
}

.printer .itemstable .field-value {
    width: calc(100% - 6px);
    padding: 2px;
}

.printer .field-DateTime {
    white-space: nowrap;
}

.field-String.field-ComboBox,
.field-String.field-ImageName {
    width: auto;
    min-height: unset;
}

.printer .field-value {
    min-height: unset;
}

.printer .field-Boolean {
    width: auto;
}

.printer .field-Image {
    float: none;
}

.printer .fieldtemplate-Boolean {
    min-width: unset;
}

    .printer .fieldtemplate-Boolean .field-title {
        width: auto;
        padding: 0px;
    }

.printer .field-Memo,
.printer .editpage .field-Memo {
    height: auto;
    width: auto;
    min-height: unset;
    white-space: pre-wrap;
}

.printer td > .field-Memo {
    white-space: unset;
}

.printer .itemstable .field-Memo {
    min-height: unset;
}

.printer .field-Notice-area,
.printer .field-DriverNotice-area {
    width: 100%;
}

.header-telefon {
    padding: 2px;
    font-size: 0.75em;
    white-space: nowrap;
}

/*
   Listing
*/
.printer .itemstable-image-td {
    display: none;
}

.printer .itemstable .field-value {
    border-bottom: 0px;
    overflow: visible;
    min-height: unset;
}

    .printer .itemstable .field-value div {
        overflow: visible;
    }

.printer .itemstable-body-tr:hover {
    border-color: none;
    background-color: unset;
}

.printer .itemstable tr td {
    padding: 0px;
    overflow: visible;
    border-color: lightgray;
}

.printer table.header-table td {
    padding: 5px;
    border-left-width: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 1px;
}

.printer .itemtemplate2 .item-a {
    display: none;
}
