﻿html {
    background-color:#f0efef;
    border: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.eformPrintForm
{
    width:100%;
    height:100%;
    display:flex;
}

.eFormPrintPanel
{
    margin:10px;
}

.button-bar-align-right {
    width: 100%;
}

#options-container
{
    flex:0 0 auto;
    width:350px;
}


#options-container li > input,
#options-container li > label {
    vertical-align: middle;
}

.previewTypeDescription
{
    font-size:12px;
    color:#757575;
}

.previewTypeDescription,
.optimizedLayoutOptions
{
    margin:0 0 0 25px;
}

[dir=rtl] .previewTypeDescription,
[dir=rtl] .optimizedLayoutOptions
{
    margin:0 25px 0 0;
}

#preview-container
{
    flex: 1 1 auto;
    overflow:hidden;
    overflow-x:auto;
    display:flex;
    flex-direction:column;
    margin:10px;
}

#preview-rendering
{
    overflow: hidden;
    width:80%;
    min-width:600px;
    border: 2px solid white;
    box-shadow: rgba(0, 0, 0, .2) 0 2px 6px;
    background-color:white;
    flex:1 1 auto;

    /*relative needed to support absolute position of the preview frame*/
    position:relative;
}

#content-frame {
    display: none;
}

#print-container {
    display: none;
    min-height: 100%;
}

#formatted-print-table {
    width: 100%;
}

#formatted-print-table p {
    margin: 0;
    min-height: 12px;
    padding: 3px;
    border: 1px solid rgb(215, 215, 215);
}

#formatted-print-table > tbody > tr {
    vertical-align: middle;
}

#formatted-print-table > tbody > tr > td:nth-child(1) {
    width: 15%;
    padding-top: 15px;
    font-weight: bold;
}

#formatted-print-table > tbody > tr > td:nth-child(2) {
    width: 85%;
    padding-top: 15px;
}

#row-layout h2 {
    font-size: 12px;
}

#row-layout p {
    padding: 0 10px;
    min-height: 12px;
}

#preview-frame {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    border: none;
}

.eformPrintButtons.dialog-button-bar
{
    border:0;
    position: relative;
    background-color:none;
}

#note-text-table 
{
    width: 100%;
    margin-top: 20px;
}
#note-text-table tr:nth-child(even) {
    border-bottom: 1px solid black;
}
#note-text-table td {
    padding: 3px;
}
.label-bold
{
    margin-top:10px;
}

@media print {
    #options-container,
    #preview-container {
        display: none;
    }

    #print-container {
        display: block;
    }
}