.UbiCS-map-border 
{
    border: 1px solid black;
    background: white;
    z-index: 0;
}

.UbiCS-full-screen
{
    position: fixed;
    left: 5px;
    top: 35px;
    right: 5px;
    bottom: 5px;
}

.UbiCS-unselectable {   
}

#UbiCS-searchButton 
{
    position: fixed;
    left: 9px;
    top: 40px;
    height: 50px;
    width: 50px;
    z-index: 1;
}

#UbiCS-searchButton span
{
    padding-left: 0.6em;    
}

.Ubi-loading
{
    position: fixed;
    right: 4px;
    top: 2px;
    z-index: 200;
}

.UbiCS-no-dialog-header .ui-dialog-titlebar 
{ 
    display:none
}

#UbiCS-searches
{
    position: fixed;
    left: 9px;
    top: 40px;
    margin-right: 10px;
    z-index: 10;
    max-width: 39em;    
    overflow: auto;
}

.UbiCS-search-panel-close
{
    float: left;
    z-index: 10;
    width: 21px;
    height: 2em;
    margin: 3px 2px 0 0;
}

#UbiCS-searches .ui-tabs-panel
{
    padding-top: 3px;
    padding-bottom: 3px;
}

.ui-tabs-nav a
{
    font-size: 110%;
}

.UbiCS-search-select 
{  
}

.UbiCS-search-invalid
{
    border-color: red;
}
    
.UbiCS-search-clear-button
{
    height: 1.8em;
    margin: -3px 8px 0 -2px;
}

.UbiCS-search-form
{
    display: block;
}

.UbiCS-search-form input
{
    margin-right: 5px;
    width: 18em;
}

.UbiCS-search-form input.UbiCS-invalid:enabled
{
    border: 1px solid #ff0000;
}

.UbiCS-search-form input:enabled
{
    border: 1px solid #707070;
}

.UbiCS-search-form select:enabled
{
    border: 1px solid #707070;
}

.UbiCS-search-form input:disabled
{
    color: #808080;
    background-color: #eeeeee;
    border: 1px solid #aaaaaa;
}

.UbiCS-search-form select:disabled
{
    color: #808080;
    background-color: #eeeeee;
    border: 1px solid #aaaaaa;
}

.UbiCS-search-form input:focus
{
    border: 1px solid #50a8d4;
}

.UbiCS-search-form select:focus
{
    border: 1px solid #50a8d4;
}

.UbiCS-search-form select
{
    padding: 4px 2px 4px 2px;
    margin: 5px 0 6px 0;
}

.UbiCS-search-warning
{
    z-index: 10;
    border: 1px solid #FF0000;
    position: absolute;
}

.UbiCS-search-pair
{
    width: 25em;	
}

.UbiCS-search-single
{
    max-width: 36em;
    width: 90%;
}

.UbiCS-search-single input, textarea
{
    width: 90%;
}

.UbiCS-search-single select
{
    width: 90%;
}

.UbiCS-search-submit
{
    margin-top: 5px;
    margin-bottom: 6px;
}

.UbiCS-right-icon-button 
{
    float: right;
    padding-top: 1.5ex;
    min-height: 4.5ex;
    min-width: 4.5ex;
}

.UbiCS-search-result-panel
{
    padding: 5px 5px 25px 5px;
    margin: 3px;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}


.UbiCS-search-results label
{
    font-size: 0.9em;
    font-weight: normal;
}

.UbiCS-search-results table.dataTable
{
    margin: 0 0 5px 0;
}


.UbiCS-search-results select
{
    padding: 4px 2px 4px 2px;
    margin: 5px 0 6px 0;
}

.UbiCS-search-results .dataTables_info
{
    margin-bottom: 5px;
}

/* styles for selectable and settable rows */

.UbiCS-property-settable
{
    text-decoration:underline;
    cursor: pointer;
}

table.dataTable tr.UbiCS-row-selected {
    background-color: #BED2FA;
}

table.dataTable tr.UbiCS-row-selected-current {
    background-color: #9FAFD1;
}


@media only screen and (max-width: 600px) and (orientation: portrait) {

    .UbiCS-full-screen
    {
        position: fixed;
        left: 5px;
        top: 35px;
        right: 5px;
        bottom: 0px;
    }
    
    #UbiCS-searchButton 
    {
        left: 9px;
        top: 40px;
    }

    .UbiCS-search-panel
    {
        left: 9px;
        top: 40px;
    }
}

/* For high resolution displays, make the font a bit larger. */
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), 
only screen and (   min--moz-device-pixel-ratio: 2), 
only screen and (     -o-min-device-pixel-ratio: 2/1), 
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
  
    .ui-widget
    { 
        font-size: 1em;
    }
}

