/* https://getbootstrap.com/docs/4.0/examples/sticky-footer-navbar/
   https://getbootstrap.com/docs/4.0/examples/sticky-footer-navbar/sticky-footer-navbar.css
*/
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /*   Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;
    line-height: 30px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

.zeroPadding {
    padding: 0;
}

.dashboardAudit {
    position: absolute;
    left: 30px;
    top: calc(100% - 413px);
    vertical-align: bottom;
    width: 97%;
    /*margin-right: 50px;
    margin-left: 1px;
    margin-bottom: 100px;*/
    height: 500px;
}

.draggable {
    /*width: 90px;
        height: 80px;*/
    padding: 5px;
    float: left;
    margin: 0 10px 10px 0;
    font-size: .9em;
}
/* Bootstrap colors */
.ui-widget-header p, .ui-widget-content p { margin: 0; }


.noMargin {
    margin: 4px;
}

.MakeWideDropDownList {
    font-family: "HelveticaNeueLTCCom";
    width: 280px;
    height: 35px;
    border-color: lightsteelblue;
}

.MakeMiddleWideDropDownList {
    font-family: "HelveticaNeueLTCCom";
    width: 140px;
    height: 35px;
    border-color: lightsteelblue;
}

.CheckBoxStyle {
    width: 15px;
    height: 15px;
    border-color: lightsteelblue;
    outline-color: transparent;
}


.SmallCheckBoxStyle {
    width: 20px;
    height: 20px;
    border-color: lightsteelblue;
}

.summaryLoading {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #0082a2;
    border-bottom: 16px solid #0082a2;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ExportButton {
   
    width: 40px; 
    height: 40px;
    cursor: pointer;
}

/* Hettich Color */
.SYCLControlButton {
    background-color: #0082a2;
}

 .SYCLControlButton.disabled, 
 .SYCLControlButton:disabled {
        color: #fff;
        background-color: gray;
        border-color: black;
 }

.editor-field textarea {
    width: 270px;
    height: 150px;
    resize: none;
    border-color: lightsteelblue;
}

.hettichFont {
    font-family: "HelveticaNeueLTCCom";
  /*  font-size: 14px;*/
    
}

label, input, button {
    font-family: "HelveticaNeueLTCCom";
    font-size: 14px;
   /* color: orange;*/
}

.gridHeader {
    font-family: "HelveticaNeueLTCCom";
    font-size: 14px;
    font-weight: bold;
    /* color: fuchsia;*/
    text-align: center;
    background-color: #0082a2;
}
.gridHeaderNotBold {
    font-family: "HelveticaNeueLTCCom";
    font-size: 14px;
    /* color: fuchsia;*/
    text-align: center;
    background-color: #0082a2;
}
/* over-write Infragistics themes*/
.ui-iggrid th, .ui-iggrid th.ui-state-default {
    border-right: 5px solid #0082a2;
}
.ui-widget-header {
    background: #0082a2;
}

.ui-igsplitter-splitbar-horizontal.ui-state-default {
    background-color: white;
    border: 1px solid black;
    height: 10px;
}
.ui-igsplitter-collapse-button-horizontal-right.ui-igsplitter-collapse-single-button {
    border: 1px solid black;
    height: 10px;
}


.gridContent {
    font-family: "HelveticaNeueLTCCom";
    font-size: 16px;
    /*color: orange;*/
}

.gridHeaderCenter {
    font-family: "HelveticaNeueLTCCom";
    font-size: 18px;
    /*color: orange;*/
    text-align: center;
}

th#grid_IsActive {
    text-align: center;
   /* color: yellow;*/
}

th#grid_UseZero {
    text-align: center;
   /* color: yellow;*/
}


.thinbr {
    height: 10px;
}


button[type=button].disabledWrite {
    background-color: lightsalmon;
    border-color: black;
}

/* Dashboard Device Style */
.dashboard-location {
    padding: 0;
    font-family: "HelveticaNeueLTCCom";
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    background-color: #0082a2;
    cursor: pointer;
}

.dashboard-device-value {
    font-family: "HelveticaNeueLTCCom";
    font-size: 14px;
    color: white;
    font-weight: bold;
    margin-left: 0;
    margin-right: 0;
    margin-top: 3px;
    text-align: center;
    /*margin-bottom: 3px;*/
    height: 25px;
    width: 90px;
}

/* device images */
.Temp-device-Image {
    width: 15px;
    height: 30px;
    margin-left: 2px;
}

.pressure-device-Image {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: 2px;
}

.Water_Drop-device-Image {
    width: 15px;
    height: 22px;
    margin-top: 5px;
    margin-left: 2px;
}

.carbon-dioxide-device-Image {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: 2px;
}

.switch_off-device-Image {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: 2px;
}

.device-body {
    padding-left: 0;
    padding-right: 0;
}

.location-body {
    padding: 0;
    margin-left: 10px;
    margin-right: 10px;
}

.device-alram-spot {
    margin-top: 5px;
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.device-old-value {
    margin-top: 6px;
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.valueLine {
    border-left: 3px solid black;
    height: 25px;
    position: initial;
    margin-top: 3px;
    left: 0px;
}

.dashboardBackcolor {
    background-color: #e5e5e6;
}

:root {
    --hettich-color: #0082a2;
}

.device-old-value-animation {
    animation: oldValue 5s linear 1s infinite alternate;
}

@keyframes oldValue {
    0% {
        width: 12px;
        height: 12px;
    }

    25% {
        width: 15px;
        height: 15px;
    }

    50% {
        width: 24px;
        height: 24px;
    }

    75% {
        width: 15px;
        height: 15px;
    }

    100% {
        width: 12px;
        height: 12px;
    }
}

    .rotate {
        animation: rotation 2s infinite linear;
    }

@keyframes rotation {
    from { transform: rotate(0deg); }

    to { transform: rotate(359deg); }
}


/* summary window */
@media screen and (min-width: 676px) {
    .modal-dialog {
        max-width: 800px; /* New width for default modal */
        width: 800px;
        height: 400px;
        max-height: 400px;
    }
}

/* Alarm Tab style */
th#auditgrid_Date, th#auditgrid_User,
th#auditgrid_Type, th#auditgrid_PropertyName,
th#auditgrid_New, th#auditgrid_Old {
    background: var(--hettich-color);
}

.alarmDevicesGrid {
    height: calc(100% - 55px);
    padding-left: 15px;
}

/* Validation Tab style */
th#auditgrid_Date, th#auditgrid_User,
th#auditgrid_Type, th#auditgrid_PropertyName,
th#auditgrid_New, th#auditgrid_Old {
    background: var(--hettich-color);
}


/* Device Tab style */
th#grid_IsActive, th#grid_Name, th#grid_Type,
th#grid_Organization, th#grid_Unit, th#grid_Location,
th#grid_FilterCard, th#grid_Index, th#grid_Card, th#grid_SummaryName {
    background: var(--hettich-color);
}

.devicesGridDeviceTab {
    height: calc(100% - 400px);
    padding-left: 15px;
}

.zeroRightPadding {
    padding-right: 0;
}


/* User Tab style */
th#grid_IsActive, th#grid_Name, th#grid_UserRight, th#grid_WindowsIdentity {
    background: var(--hettich-color);
}

.userGrid {
    height: calc(100% - 320px);
    padding-left: 15px;
}

/* Configured Alarm Tab style */
.configGrid {
    height: calc(100% - 435px);
}

/* User right Tab style*/
.userRightMainGrid {
    height: calc(100% - 150px);
}
.groupRightMainGrid {
    height: calc(100% - 150px);
}


/* Calibration Tab style */
th#grid_DeviceName, th#grid_DeviceType, th#grid_UserName,
th#grid_CalibrationDate, th#grid_UseZero, th#grid_Zero, th#grid_ZeroString {
    background: var(--hettich-color);
}

.calibGrid {
    height: calc(100% - 370px);
    padding-left: 15px;
}
/* Card Tab style */
.cardGrid {
    height: calc(100% - 100px);
    padding-left: 15px;
}
.ui-iggrid-scrolldiv {
    background: transparent;
    border-bottom: 1px solid transparent !important;
    
}

/* Dashboard Tab style */
.dashClass {
    height: calc(100% - 100px);
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    
}

.auditTableClass {
    border: 1px solid black;
    width: 100%;
    height: 100%;
}

.NoAuditDashClass {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

th#audits_Date, th#audits_User, th#audits_ObjectName,
th#audits_Type, th#audits_ObjectName, th#audits_PropertyName,
th#audits_New, th#audits_Old {
    background: var(--hettich-color);
}

th#modalAudits_Date, th#modalAudits_User, th#modalAudits_ObjectName,
th#modalAudits_Type, th#modalAudits_ObjectName, th#modalAudits_PropertyName,
th#modalAudits_New, th#modalAudits_Old {
    background: var(--hettich-color);
}

.summary-size {
    width: 800px;
    height: 400px;
}

.truncate {
    height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-igsplitter-splitbar-horizontal.ui-state-default {
    height: 15px;
    /* background-color: orange;*/
}

.ui-igsplitter-collapse-button-horizontal-right.ui-igsplitter-collapse-single-button {
    width: 40px;
    height: 15px;
}

.showValueCheckBox {
    margin-left: 20px;
    margin-top: 100px;
    width: 200px;
    border: 1px black solid;
    height: 25px;
}

.dashboardDeviceLabel {
    font-family: HelveticaNeueLTCCom;
    font-size: 15px;
    color: white;
    font-weight: bold;
}

.dashboardBG {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAN0lEQVQoU2NkIAIwEqHmPyFF/xkYGBgJKQJbhEsR2ASYU7ApQlGAzyQU/yCbhGECunU4FYAUAgBp4wYJ31jKswAAAABJRU5ErkJggg==) repeat;
}


/* Report Tab styles */

th#grid_DeviceId,
th#grid_Selected,
th#grid_DeviceName,
th#grid_OrganizationName,
th#grid_UnitName,
th#grid_LocationName {
    background: var(--hettich-color);
}

th#pointsGrid_table_Order,
th#pointsGrid_table_DeviceName,
th#pointsGrid_table_TimeStamp,
th#pointsGrid_table_Value {
    background: var(--hettich-color);
}

th#auditsGrid_table_Date,
th#auditsGrid_table_User,
th#auditsGrid_table_Type,
th#auditsGrid_table_PropertyName,
th#auditsGrid_table_ObjectName,
th#auditsGrid_table_Old,
th#auditsGrid_table_new {
    background: var(--hettich-color);
}

.devGrid {
    height: calc(100% - 330px);
}

.group-fields {
    margin-bottom: 10px;
}

.group-fields .inline {
    display: inline;
    padding: 5px;
}

.group-fields .ui-igcheckbox-normal {
    margin-right: 5px;
    float: left;
}

.pointsGridClass {
    height: calc(100% - 50px);
}

#legend {
    position: relative;
    float: left;
}

#legend tr {
    display: inline-block;
}

