﻿/* --------------------------PAGE DEFAULTS--------------------------*/

html, body
{
    font-size: 10pt;
    font-family: Arial;
    margin: 0 0 0 0;
    height: 100%;
    width:100%;
}

textarea {
   resize:none;
}

/*
a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    text-decoration: none;
}

a:active
{
    color: #034af3;
}
*/

/* ------------------------------- UI Updates 05-03-2022 ---------------------------------- */

@media(max-width: 1199px) {
    .DashChart, .DashBox {
        width: 98% !important;
        height: auto !important;
    }
 }
 

tr.DGBackColor, tr.DGAltBackColor, tr.DGHighlight {
    position: relative;
    z-index: 40;
    /* padding: 16px 0; */
}

#ContentPlaceHolder1_Alarms_dgAlarms tr br, #ContentPlaceHolder1_Alarms_dgAlarms tr:hover br, #ContentPlaceHolder1_Dashboard_Alerts_Alarms_dgAlarms tr br, #ContentPlaceHolder1_Dashboard_Alerts_Alarms_dgAlarms tr:hover br {
    display: none;
}

tr.DGBackColor a, tr.DGAltBackColor a, tr.DGHighlight a {
    float: left;
    vertical-align: middle;
    line-height: 23px;
    cursor: pointer;
}

tr.DGBackColor br, tr.DGAltBackColor br, tr.DGHighlight br {
    line-height: 24px;
}

#ContentPlaceHolder1_SensorDetails1_ClearAlarm_dgActions tbody tr.DGBackColor, #ContentPlaceHolder1_SensorDetails1_ClearAlarm_dgActions tbody tr.DGAltBackColor  {
    line-height: 16px;
    height: 28px;
}

#ContentPlaceHolder1_Alarms_dgAlarms, #ContentPlaceHolder1_Dashboard_Alerts_Alarms_dgAlarms, #ContentPlaceHolder1_Users1_dgUsers {
    width: 100%;
}

#ContentPlaceHolder1_Alarms_dgAlarms tr, #ContentPlaceHolder1_Dashboard_Alerts_Alarms_dgAlarms tr {
    height: 72px;
}

#ContentPlaceHolder1_Alarms_dgAlarms tbody tr td:nth-of-type(8), #ContentPlaceHolder1_Dashboard_Alerts_Alarms_dgAlarms tbody tr td:nth-of-type(8) {
    min-width: 320px;
}

#ContentPlaceHolder1_Users1_dgUsers tbody tr td:nth-of-type(4) {
    min-width: 400px;
}

div #ContentPlaceHolder1_SensorDetails1_dvDetails table {
    margin-bottom: 8px;
}

.BtnLink {
    margin: 4px 4px;
    color: #1a1a1a !important;
    border: 1px solid rgb(106,115,120,0.2);
    background: hsl(204deg 4% 87%);
    border-radius: 4pt;
    padding: 6px 8px 6px 8px;
    position: relative;
    text-decoration: none;
    line-height: 16px;
    white-space: nowrap;
    display: inline-block;
}

.BtnLink_Primary {
    background: #2779AA;
    color: #FFFFFF !important;
    border: 1px solid #2779AA;
    margin: 4px 4px;
    border-radius: 4pt;
    padding: 6px 8px 6px 8px;
    position: relative;
    text-decoration: none;
    line-height: 16px;
    white-space: nowrap;
    display: inline-block;
}



#ContentPlaceHolder1_SensorDetails1_dgReadings .DGBackColor, #ContentPlaceHolder1_SensorDetails1_dgReadings .DGAltBackColor {
    height: 32px;
}

/*table {
    overflow: hidden;
}*/

td {padding-left: 8px;}

table {
    border-collapse: collapse;
    vertical-align: middle;}

.SensorDetails_Actions {
    padding-top: 16px;
}

.SensorReadings {
    font-size: 12pt;
}

table tr:nth-child(2n) .rightBack {
    background-color: #EAEBEC;
}

[id^="ContentPlaceHolder1_Dashboard_IssueCount"] {
    padding-top: 4px;
}

.ui-dialog td {
    padding-left: 2px;
}

#ContentPlaceHolder1_Dashboard_ConfigChanges_dvConfig table tbody tr {
    line-height: 22px;
}

/* -----------------PRIMARY LAYOUT ELEMENTS-----------------------*/

.Header
{
    height: 130px;
    width: 100%; /*height: 10%;     background: url(../Images/HeaderBG.jpg);     background-position: right;     background-repeat: no-repeat;*/
    background-color:#ffffff;
    position: relative;
}

.HeaderBottom
{
    height: 37px;
    width: 100%;
    position:absolute;
    bottom:0;
    background-image:url('../Images/Header/bottom.png');
    padding-top:3px;
}

.TempTrakLogo
{
    border:none; 
    position:absolute; 
    left:5px; 
    top:8px;
}

.MainBody
{
    width: 100%;
    height: 90%;
    /*margin: -4px 0 0 -4px;*/
    table-layout: fixed;
}

.LeftBody
{
    width:25px;
    height: 100%;
    vertical-align: top;
    font-size: 8pt;
    position:relative;
}

.RightBody
{
    vertical-align: top;
    padding: 10px 0 0 10px;
    height: 100%;
}

.AlertBox
{
    position:absolute; 
    top:5px; 
    left:160px;
}

.AlertItem
{
    margin-top: 5px; 
    padding:1px; 
    cursor:pointer; 
    width:375px;
}

.UserPnl td
{
    border-right: 3px solid #4973a3;
}

.BoxLabel
{
    height:25px;
    width:25px;
    border:1px solid #666666;
    padding:10px;
    font-size:10pt;
}
    
/* ------------------------------- Grid Options ---------------------------------- */

.DGBackColor 
{
    background-color: #F7F8F8;
    text-align: left;
    vertical-align: middle !important;
    cursor: default;
    line-height: 32px;
    border-bottom: 1px solid rgb(106,115,120,0.2);
    z-index: 1;
}

.DGAltBackColor {
    background-color: #EAEBEC;
    text-align: left;
    vertical-align: middle;
    cursor: default;
    line-height:32px;
    border-bottom: 1px solid rgb(106,115,120,0.2);
    z-index: 1;
}

.DGHighlight {
    background-color: hsl(35, 100%, 72%);
    text-align: left;
    vertical-align: middle;
    cursor: default;
    line-height: 32px;
    border-bottom: 1px solid rgb(106,115,120,0.2);
    z-index: 1;
}


.DGHeader {
    background-color: hsl(211deg 41% 70%);
    height: 32px !important;
    font-weight: bold;
}

tr.DGBackColor:hover, tr.DGAltBackColor:hover {
    background-color: #E0F1FF;
    line-height: 32px;
    /*box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.19);*/
    position: relative;
    z-index: 40;
}

table tr.DGBackColor:hover, tr.DGAltBackColor:hover {
    overflow: hidden;
}


/* ------------------------------- Text Options ---------------------------------- */

.BoldText
{
    font-weight: bold;
}

.BlueText
{
    color:#4973A3;
}

.BlackText 
{
    color:#000000;
}

.GrayText 
{
    color:Gray;
    text-decoration:none;
}

a.GrayText 
{
    color:Gray;
    text-decoration:none;
}

.WhiteText
{
    color:#ffffff;
}

.LargeText
{
    font-size: 15pt;
}

.MidText
{
    font-size:12pt;
}

.SmallText
{
    font-size:8pt;
}

.NoTextDecoration
{
    text-decoration:none;
}

a.NoTextDecoration:visited, a.NoTextDecoration:active
{
    color:#2779AA;
}

/* ------------------------------- Text Align ------------------------------- */

.TextAlignTopRight
{
    position: absolute;
    right: 4px;
    top: 3px;
}

.TextAlignMidRight
{
    position: absolute;
    right: 4px;
    top: 30px;
}

.TextAlignMidRight2
{
    position: absolute;
    right: 4px;
    top: 52px;
}

/* ------------------------------- FORM ELEMENTS -------------------------------*/

.leftBack
{
    background-color: hsl(211deg 41% 70%);
    border-bottom: 1px solid rgb(106,115,120,0.2);
    text-align: left;
    padding-left: 8px;
    color: rgb(23, 23, 23);
    width: 120px;
    font-size: 9pt;
    height: 20px;
}

.rightBack
{
    background-color: #F7F8F8;
    border-bottom: 1px solid rgb(106,115,120,0.2);
    padding-left: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 10pt;
}

.LeftSideTable
{
    width: 120px;
}

.txt
{
    border: solid 1px #ccc;
    padding-left: 3px;
    width: 95%;
    font-size: 8pt;
}

.txt2
{
    border: solid 1px #ccc;
    padding-left: 3px;
    width: 95%;
    font-size: 10pt;
}



.error
{
    font-size: 8pt;
    color: Red;
}

.formTbl
{
    width: 500px;
}

.NoDisplay
{
    display: none;
}

.PadTop
{
    padding-top: 3px;
}


.ScrollDiv
{
    overflow:auto; 
    height:423px;
}


/*---------------------------LOGIN PAGE----------------------------*/

.LoginBack
{
    
     /*
    background-image: url('../Images/LoginBack.png');
    background-repeat:repeat-x;
    */
   
    background-color: Black;
    color: #fff;
    background-image: url('../Images/temptrak_backgrnd.jpg');
    background-position:bottom;
    background-repeat:no-repeat;
    
}

.txtLogin
{
    border: solid 1px #ccc;
    padding-left: 3px;
    width: 95%;
    font-size: 10pt;
    /*background-color:#1E4F8A;
    color:#fff;*/
    height:25px;
}

.LoginLogo
{
    background-image: url('../Images/TempTrak.png');
    background-repeat:no-repeat;
    height:69px;
    width:354px;
    margin-left:auto;
    margin-right:auto;
}

.LoginBottom
{
    background-image: url('../Images/heartbeat.png');
    background-repeat:no-repeat;
    background-position:center;
    height:126px;
    width:774px;
    margin-left:auto;
    margin-right:auto;
}

.LoginWorld
{
    /*background-image: url('../Images/TempTrak_Login.gif');*/
    background-repeat: no-repeat;
    width: 800px;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.LoginBox
{
    /*
    position: absolute;
    top:130px;
    left:180px;
    
    position:absolute;
    top:30%;*/
    margin-top:60px;
    margin-left:auto;
    margin-right:auto;
    width: 425px;
    text-align: right;
    background-image: url('../Images/LoginBox2.png');
    height: 350px;
    border:2px solid #fff;
    
}


/*---------------------------Dashboard Items----------------------------*/

.DashChart
{
    height: 450px;
    width: 45%;
    border: solid 1px #666666;
    margin-bottom: 5px;
    margin-right: 5px;
    float:left;
    background-color: #f0f0f0;
}

[id^="ContentPlaceHolder1_SensorDetails1_"] .DashChart {
    width: 48%;
}

.DashChartNoBreak
{
    height: 450px;
    width: 45%;
    border: solid 1px #666666;
    margin-bottom: 5px;
    margin-right: 5px;
    
}

.DashBox
{
    background-color: #f0f0f0;;
    width: 90.5%;
    height:auto;
    border: solid 1px #666666;
    padding-bottom: 10px;
    margin-bottom: 5px;
    margin-right: 5px;
}

.DashTitle
{
    width: 100%;
    height: 100px;
    border: solid 1px #666666;
    background-color: #cccccc;
    margin-bottom: 5px;
}

/*
.DashHeading
{
    background-color: #4974A3;
    width: 100%;
    text-align: left;
    text-indent: 5px;
    font-size: 10pt;
    padding: 3px 0 3px 0;
    color: #ffffff;
    height: 22px;
    position: relative;
}
*/

.DashHeading a
{
    color: #fff;
}

/*-----------------------------------------------------*/

.GroupList
{
    width: 300px;
    height: 100px;
    background-color: #CCCCCC;
    border: Solid 1px #666666;
    margin-top: 5px;
    margin-left: 4px;
    padding: 5px 5px 5px 5px;
    cursor: pointer;
    font-size: 8pt;
    display:inline-block;
}

.SensorBox
{
    width: 233px;
    height: 208px; 
    font-size: 8pt;
    margin:5px 0px 0px 5px;
    cursor: default;
    display:inline-block;
    color:#000;
}

.SensorBoxBig
{
    position: relative;
    height: 225px;
    width: 45%;
    border: solid 1px #666666;
    margin-bottom: 5px;
    margin-right: 5px;
    float: left;
    cursor: default;
}

.Highlight_View
{
    width: 300px;
    height: 100px;
    background: #ffeb80 url(images/ui-bg_inset-hard_55_ffeb80_1x100.png) 50% bottom repeat-x;
    border: 1px solid #ffde2e;
    margin-top: 5px;
    margin-left: 4px;
    padding: 5px 5px 5px 5px;
    display:inline-block;
}

.Highlight_Sensor
{
    
    background: #ffeb80 url(images/ui-bg_inset-hard_55_ffeb80_1x100.png) 50% bottom repeat-x;
    width: 233px;
    height: 208px; 
    font-size: 8pt;
    margin:5px 0px 0px 5px;
    cursor: default;
    display:inline-block;
  
}

/*-------------------------------------------------------------------------*/

.SensorIcon
{
    display: inline;
    float: left;
    cursor: default;
    width: 150px;
    margin: 5px;
    font-size: 8pt; 
    /*border: Solid 1px #CCCCCC;     
    background-color:#EBDDE2;     
    opacity:0.4;     filter:alpha(opacity=40); */
    z-index: 40;
    height: 60px;
}

.GroupIcon
{
    display: inline;
    float: left;
    cursor: default;
    width: 150px;
    margin: 5px;
    font-size: 8pt; 
    /*border: Solid 1px #CCCCCC;     
    background-color:#EBDDE2;     
    opacity:0.4;     filter:alpha(opacity=40); */
    z-index: 40;
    height: 64px;
    background-image:url(../Images/iconMapGroup.png);
    background-repeat:no-repeat;
    padding-left:3pt;
}

.thinBorder
{
    border: solid 1px #4974A3;
}

/*----------------------TOPOLOGY REPORT--------------------------------*/

.TopologyCompany
{
    width: 1170px;
    height: 100px;
    background-image: url('../Images/topologyComp2.jpg');
    margin-left: 5px;
    text-align: center;
    color: #fff;
}

.TopologyBaseBox
{
    /*display: inline;
    float: left;*/
    margin-bottom: 10px;
}

.TopologyBase
{
    width: 240px;
    height: 125px;
    background-image: url('../Images/topologyBase.png');
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 5px 5px 5px;
    display: inline;
    float: left;
    margin-right: 10px;
    font-size: 8pt;
    cursor: default;
    position: relative;
    color:#fff;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

.TopologySensor
{
    width: 250px;
    height: 50px;
    color: #000;
    background-image: url('../Images/TopologySensor.png');
    background-size: cover;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px;
    font-size: 8pt;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

.TopologySensorHot
{
    width: 250px;
    height: 50px;
    color: #000;
    background-image: url('../Images/TopologySensorHot.png');
    background-size: cover;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px;
    font-size: 8pt;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

.TopologySensorCold
{
    width: 250px;
    height: 50px;
    color: #000;
    background-image: url('../Images/TopologySensorCold.png');
    background-size: cover;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px;
    font-size: 8pt;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

.TopologyRepeator
{
    width: 250px;
    height: 50px;
    color: #000;
    background-image: url('../Images/topologyRepeator.png');
    background-size: cover;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px;
    font-size: 8pt;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

.TopologyListDescription
{
    display: inline-block;
    width: 300px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*----------------------REPORT SCH-------------------------*/

.ReportList
{
    width:300px;
    padding-bottom:5px;
}

.GrayBack
{
    background-color:#ccc;
}



.CustomTitle
{
    background-color:#cccccc;
}


/*-----------------------MAIN BTNS--------------------------------*/

.MainBnsPassword
{
    background-image:url('../Images/Buttons/btnPassword.png'); 
    width:100px; 
    background-position:right; 
    background-repeat:no-repeat;
    background-color:#D5D5D5;
    height:20px;
    cursor:pointer;
    text-indent:2px;
}

.MainBnsSettings
{
    background-image:url('../Images/Buttons/btnSettings.png'); 
    width:100px; 
    background-position:right; 
    background-repeat:no-repeat;
    background-color:#D5D5D5;
    height:20px;
    cursor:pointer;
    text-indent:2px;
}

.MainBnsHelp
{
    background-image:url('../Images/Buttons/btnHelp.png'); 
    width:100px; 
    background-position:right; 
    background-repeat:no-repeat;
    background-color:#D5D5D5;
    height:20px;
    cursor:pointer;
    text-indent:2px;
}

.MainBnsSearch
{
    background-image:url('../Images/Buttons/btnSearch.png'); 
    width:100px; 
    background-position:right; 
    background-repeat:no-repeat;
    background-color:#D5D5D5;
    height:20px;
    cursor:pointer;
    text-indent:2px;
}

.MainBnsHACCP
{
    width:100px; 
    background-position:right; 
    background-repeat:no-repeat;
    background-color:#D5D5D5;
    height:20px;
    cursor:pointer;
    text-indent:2px;
}

.MainBnsLogout
{
    background-image:url('../Images/Buttons/btnLogout.png'); 
    width:100px; 
    background-position:right; 
    background-repeat:no-repeat;
    background-color:#FF6600;
    height:20px;
    cursor:pointer;
    text-indent:2px;
}


.NoWrap
{
    
}

/* Set the z-index of the calendar so that it is shown above all others.
 * For instance, on the Daily Summary Report the calendar would show below
 * behind the list of sensors.  You need a full page of sensors for this to
 * be an issue. */
.ui-datepicker {
    z-index: 9999 !important;
}

/* The UserSettings->Access Permissions tab uses the jquery accordion.
 * The default height was 0px, which resulted in an almost unusable interface.
 * Setting the height to 100% makes it usable. */
.ui-accordion-content {
    height: 100% !important;
}
