﻿@media screen   /* BD 2018-06-07 Printed Page was always taking an extra page */
{
    html, body
    {
        height: 100%;
    }
}
.psWrapper, #psContentMain
{
    min-height: 640px; /* get below the Action Pane */
}

.psWrapper
{
    background-color: #ffffff;
    margin: 0 10px;
    overflow: hidden;
    padding-bottom: 5px;
}
/*
body
{
    background-color: #678fc2;
}
*/

.rbRibbon
{
    border-top: 10px solid #678fc2;
    background-color: #678fc2;
    z-index: 1000; /* ribbon > App Panel > Page*/
}

#signIO
{
    position: absolute;
    top: 7px;
    right: 6px;
    text-align: right;
    color: #666;
}

#psHeaderEdition
{
    position: absolute;
    top: 4px;
    right: 6px;
    text-align: right;
}

.psPageHeadingLeft
{
    margin: 0 0 8px 0;
    cursor: pointer;
}

.psPageHeading
{
    padding-bottom: 4px;
}

@media screen
{
    .psPageHeadingRight
    {
        float: right;
        display: none;
    }
}
@media print
{
    .psPageHeadingRight
    {
        float: right;
        display: block;
    }
}

@media screen
{
    #psContentMain
    {
        position: relative;
        padding: 5px 5px 43px 5px;
    }
}


#psContent
{
    padding: 0;
    overflow: hidden;
}

.psFooter
{
    /*     width: 100%;     position: fixed;     bottom: 0px;     height: 20px;     */
    height: 20px;
    border-top: solid 1px black;
    border-bottom: 10px solid #678fc2;
    background-color: #d7e4f5;
    padding: 7px 9px 2px 9px;
    margin: 0 10px;
}

/*
** ********************************************************************************************
**  Modal Dialog START
** ********************************************************************************************
*/
.modalBackground
{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2001;
    background-image: url(../images/SemiTransBack.png);
}

.modalPanel
{
    left: auto;
    min-width: 320px;
    display: inline-block;
    top: 200px;
    margin: 0 auto; /* border: solid 2px #666; */
    border: none !important; /* allow each section within the dialog to have it's own border shade so that header border can be darker (default UI is #aaa) */
    background-color: #FFFFFF;
}

.modalPanel table, table.DefaultFont
{
    font: 11px Verdana, Arial, Helvetica, sans-serif; /* see also body css in common.css */
}

.modalTemplate
{
    display: none; /* use on templates embedded in the page and called via ShowModal */
}

.modalHeader
{
    text-align: center; /* font-size: 12px; */
    font-weight: bold; /* background-color: black; BD 2013-09-09*/
    padding: 4px;
    margin-bottom: 0px; /* border-bottom: 1px solid gray; BD 2017-09-24 No idea why 3 sides of the title are one color and the bottom is another */
    border: 1px solid #aaa !important;
    vertical-align: middle;
    background-image: url(../Library/jQuery/jquery.alerts.images/title.gif);
    background-repeat: repeat-x;
    color: #666; /* background-color: rgb(204,204,204); not used -- image background */
}

.modalHeader.Thin
{
    height: 8px;
    padding: 0;
    font-size: 0;
}

.modalClose
{
    /* BD 2016-07-26 changed to float right / middle     position: absolute;     top: 3px;     right: 3px;     */
    cursor: pointer;
    float: right;
    vertical-align: middle;
}

.modalContent /* class used by form.modalContent and div.modalContent */
{
    padding: 10px !important;
    margin: 0; /* text-align: center; bd disabled for testing */
    border: 1px solid #d3d3d3 !important;
    border-top: none !important;
    position:relative;  /* BD 2019-10-02 Added */
}

.modalButtonPane
{
    margin-top: 0 !important; /* override bizarre 0.5em jQuery UI default */
    padding: 0.3em !important;
    border: 1px solid #d3d3d3 !important; /* set border for all sides and then turn off top border */
    border-top: none !important;
    height: 35px;
}

.modalButtonSet button
{
    min-width: 50px;
    float: right;
}

.modalButton /* ONLY USED ONE PLACE */
{
    text-decoration: none;
    color: #000000;
    height: 22px;
    min-width: 130px;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 3px;
    margin-right: 3px;
    text-align: center; /* border: 1px grey solid; */
    background-color: rgb(250, 255, 194);
}

.modalFooter /* BD 2017-09-24 .psEditStatusBar was actually doing the styling */
{
    text-align: left;
    padding: 3px;
    min-height: 14px;
    background-color: #eee;
    border: 1px solid #d3d3d3 !important; /* set border for all sides and then turn off top border */
    border-top: none !important;
}

/*
** ********************************************************************************************
**  Modal Dialog END
** ********************************************************************************************
*/

#ReportOptionsDropdown
{
    display: none;
    position: absolute;
}

.rbSearchPopup
{
    display: none;
    position: absolute;
}


#FacilityPicker, .AreaPicker
{
    position: absolute;
    top: 57px;
    right: 24px;
    z-index: 1000;
    height: 420px;
    font-weight: normal;
}
#ChangeAreaLink, #ChangeFacilityLink
{
    min-width: 200px;
    display: inline-block;
    margin-top: 2px;
    margin-right: 8px;
    border: 1px solid transparent;
    background-color: rgba(255,255, 255, 0.6);
    height: 14px;
}
#ChangeFacilityLink img, #ChangeAreaLink img
{
    vertical-align: middle;
    float: right;
}
#UserPicker
{
    position: absolute;
    top: 104px;
    right: 24px;
    z-index: 1000;
    width: 240px; /* height: 200px; it's rare for users to be working for more than a couple PIs and forcing it to a height makes things ugly  */
}

#FacilityPicker option:hover, #UserPicker option:hover
{
    background-color: #ddd;
}

#ChangeUserLink
{
    width: 240px;
    display: inline-block;
    border: 1px solid transparent;
    background-color: rgba(255,255, 255, 0.6);
    height: 14px;
}
#ChangeUserLink img
{
    vertical-align: middle;
    float: right;
}
button.ui-dialog-titlebar-close
{
    background: transparent !important;
    border: none;
    box-shadow: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus
{
    /* background: transparent !important; BD 2017-07-21 */
    border: none;
    box-shadow: none;
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-button:hover .ui-icon, .ui-button:focus .ui-icon, .ui-widget-header .ui-icon
{
    background-image: url("../Library/jquery/images/ui-icons_222222_256x240.png") !important;
    border: none !important;
}
/* ********************************************************************************************
        ____         _         __ 
       / __ \ _____ (_)____   / /_
      / /_/ // ___// // __ \ / __/
     / ____// /   / // / / // /_  
    /_/    /_/   /_//_/ /_/ \__/
  
                               http://patorjk.com/software/taag/#p=display&h=1&f=Slant&t=Print
******************************************************************************************** */
@media print
{
    .headerMain /*can't hide reg header on print*/
    {
        display: none;
    }
    .rbRibbon
    {
        display: none;
    }
}
