﻿/* DEFAULTS
----------------------------------------------------------*/

body
{
    font-size: .80em;
    /*font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;*/
     /*font:80% "Lucida Sans Unicode",Arial,Helvetica,sans-serif;
    font: 70% "Lucida Sans Unicode", Arial, Helvetica, sans-serif;*/

    font: 80%  'Trebuchet MS', Arial, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #444444;
}

body,html
{
    background: /*#e0eeef*/#eeeeee;  /*#D8D8D8;*/
    height: 100%;
    width: 100%;
}

a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}


/* MISC
----------------------------------------------------------*/

.clear{
    clear: both;
}

/*position and hide the menu initially - leave room for menu items to expand...*/
#description {
    margin-left: 40px;
    width: 500px;
}
#page {
    padding:20px 0;
    width:100%;
}

#topPanel {
    position:relative;
    height: 50px;
    line-height: 50px;
    width:100%;
    min-width: 800px;
    background-color: #0A61A9;
    z-index: 1;
}

#logo {
    position: relative;
    height: 100%;
    float: left;
    color: #FFF;
    font-size: 24px;
    padding-left: 5%;
    text-decoration: none;
}

#logo:hover {
    text-decoration: underline;
}

#menu {
    position:relative;
    height: 100%;
    float: left;
    padding-left: 10%;
    display:none;
    line-height: 100%;
}

#menu .jqDock {
    cursor:pointer;
}

#menu .jqDock img{
    padding-left: 5px !important;
}

#menu .jqDockWrap {
    margin-top: 5px;
}

#menu .hardware {
    margin-left: 5px !important;
}


#login
{
    position:relative;
    float: right;
    text-align:right;
    z-index: 1999;
    color: #9BCEF7;
    font-size:medium;
    vertical-align:middle;
}

#login a {
    color: #9BCEF7;
    }


#logo, #login {

}

#title
{
    width: 100%;
    height: 20px;
    background-color: #2e90bd;
    font-size: 14px;
    font-weight:bold;
    color: White;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

#title_gmt {
    position:absolute;
    top: 1px;
    right: 3px;
    font-weight: normal;
    text-align: right;
    color: #9bcef7;
}

#title_timer {
    position:absolute;
    top: 1px;
    left: 2px;
    font-weight: normal;
    color: #9bcef7;
}

#title_timer:hover {
   cursor: pointer;
}
#title_timer > div {
    float: left;
}

#countdown_spin {
    width: 20px;
    height: 20px;
}

#countdown_timer {
    margin-left: 3px;
}


#advanced_settings{
    position:absolute;
    top: 1px;
    left: 150px;
    font-weight: bold;
    padding: 0px 10px 0px 10px;
    display:none;
    /*visibility: collapse;*/
}

.comment
{
    background-color: Lime;
    border: 1px solid;
    padding: 5px;
    margin-left: 10px;
    margin-top: 1px;
}

#main
{
    padding: 20px;
}

div.jqDockLabel {
    font-size:medium;
    font-style:normal;
    font-weight:bold;
    white-space:nowrap;
    color:#000;
    cursor:pointer;
    background-color: #ADD8E6;
    -ms-opacity:.9;
    opacity:.9;
    border:1px solid;
    padding: 3px 5px 5px 5px;
    margin-top: 46px;
}

/* jquery */
.datepicker-wrap {
    display: inline-block;
    white-space: nowrap;
    font-size: 100%;
    padding: 1px 20px 0 10px;
    position: relative;
    zoom: 1;
    width: 120px;
}

.datepicker-wrap label {
    text-align: right;
    display: inline-block;
    width: 19px;
    /*padding-right: 3px;*/
}

.datepicker-wrap input[type="text"], .datepicker input[type="password"] {
    padding: 2px 1px 3px;
    width: 100px;
    border-width: 1px;
    border-style: solid;
    font-size: 100%;
    font-family: "Segoe UI",Arial,sans-serif;
    border-color: #a5b3c5;
    background-color: #fcfcfc;
    cursor: default;
    color: #000;
}

.datepicker-wrap img {
    height: 19px;
    width: 16px;
    position: relative;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.datepicker-wrap img:hover {
    cursor: pointer;
}

.calendar {
    position: relative;
    width: 100%;
}

.calendar > input {
    width: 100%;
}

.calendar img {
    position: relative;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
}

#searchButton .ui-button-text {
    padding: 0 !important;
}

.selectmenu-wrap {
    /*padding-left: 30px;*/
    display: inline-block;
    white-space: nowrap;
   /* border: 1px solid;*/
}


/* tabstrip*/

.tabstrip {
    border: 1px solid rgb(165, 179, 197) !important;
    /*min-height: 1000px;*/
    min-width: 1250px;
}

.tabstrip .tabstrip-items {
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.tabstrip .tab-page {
    border: 1px solid rgb(66, 102, 130) !important;
    border-radius: 0;
}

.select-menu {

}

.select-menu-content {
    border-radius: 0 !important;
}


.ui-selectmenu-button {
    border-radius: 0 !important;
    padding: 1px 1px !important;
    height: 20px !important;

}

.ui-selectmenu-text {
    padding: 1px 5px !important;
}



.ui-jqgrid tr.alt td
{
    background: #EEE;
}

.ui-jqgrid tr td.level0
{
    background: Lime;
}

.ui-jqgrid tr td.level1
{
    background: Yellow;
}

.ui-jqgrid tr td.level2
{
    background: Red;
}

.ui-jqgrid tr.selected-row
{
    background: #89DACF;
}

.ui-jqgrid tr.row-hover
{
    background: #C1DAD7;
}


.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column
{
    white-space: normal;
}

.ui-th-column
{
    padding: 5px;
}

.button
{
    padding: 3px 5px 3px 5px;
}

.hide
{
    display: none;
}


.form label
{
    width: 120px;
    clear: left;
    display: block;
    float: left;
}

    .ball {
         float: left;
         width: 16px;
         height: 16px;
         border-radius: 50%;
        position: relative;
    }

     .CriticalContinue, .Alarm, .AlarmNotEvent {
         background: #dc143c;
         background: linear-gradient(to bottom right, #ffa07a 0, #ff7f50 36%, #ff0000 100%) !important;
     }
     .WarningContinue, .Warning, .WarningNotEvent {
         background: #ffd700 !important;
         background: linear-gradient(to bottom right, #ffff00 0, #ffd700 36%, #ffa500 100%) !important;
     }
    .CriticalEnded
    {
         background: #ff0000;
         background: linear-gradient(to bottom right, #ffa07a 0, #ff7f50 36%, orangered 100%) !important;
         border: 3px solid rgba(0, 128, 0, 1) !important;
         box-sizing: border-box !important;
    }
    .WarningEnded
    {
         background: #ffd700;
         background: linear-gradient(to bottom right, #ffff00 0, #ffd700 36%, #ffa500 100%) !important;
         border: 3px solid rgba(0, 128, 0, 1) !important;
         box-sizing: border-box !important;
    }
     .Delayed, .Unknown {
         background: #696969;
         background: linear-gradient(to bottom right, #d3d3d3 0, #a9a9a9 36%, #696969 100%) !important;
     }

.Disassembled {
    background: rgb(72, 85, 108);
    background: linear-gradient(to bottom right, rgb(72, 85, 108) 0, rgb(27, 33, 43, 0.7) 36%, rgb(20, 25, 34) 100%) !important;
}

     .Normal {
         background: #008000;
         background: linear-gradient(to bottom right, #00ff00 0, #32cd32 36%, #008000 100%) !important;
     }

.div-table {
    display: table;
}
.div-table-row {
    display: table-row;
}
.div-table-cell {
    display: table-cell;
    padding: 2px;
    vertical-align: middle;
}


/* KENDO
----------------------------------------------------------*/
/* GRID
----------------------------------------------------------*/
.detail_grid {
    font-size:85%;
}


        .grid-command-btn {
            padding: 2px !important;
            min-width: 20px !important;
            width: 20px !important;
            min-height: 20px !important;
            height: 20px !important;

            margin: 0 0 0 2px !important;
            line-height: 20px !important;
            box-sizing: content-box !important;

            /*float: left !important;*/
        }
        .grid-command-btn span {
            margin: 0 !important;
            /*vertical-align:middle!important;*/
        }

        .grid-table-cell {
            white-space: nowrap !important;
            padding: 2px 0 2px 2px !important;
            /*min-width: 60px !important;*/
        }

        .grid-btn-exel {
            /*float: right;*/
        }

        .grid-column-header {
            /*text-align: center !important;*/
            vertical-align: middle !important;
            font-weight: bold !important;
            background-color: #f0f0f0 !important;
        }

        .k-grid-header .k-header {
            font-weight: bold !important;
        }


.k-grid-pager {
    border-width: 0 !important;
}

.k-grid tr td {
    /*border-bottom-width: 0;*/
}


.k-grid-toolbar {
    padding: 5px;
}

.k-grid {
    border-radius: 0 !important;
}


.k-grid tr:hover {
    cursor: pointer;
}
/*
.k-grid td {
    line-height: 18px;
    padding: 0.2em 0.6em;

}
*/
.k-grid th {
    position: inherit;

}

.k-grid .k-hierarchy-cell + td {
    border-left-width: 1px !important;
}


/* AMCHARTS
----------------------------------------------------------*/

.demo-flipper-front, .demo-flipper-back {
    height: 100%;
    position: absolute;
    width: 100%;
}

.demo-panel-white {
    background-color: #ffffff;
    -ms-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-top: 10px;
}

.fx-all-250 {
    -webkit-transition: all 250ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -moz-transition: all 250ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -ms-transition: all 250ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -o-transition: all 250ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
    transition: all 250ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
}


/*Validation*/

.input-validation-error {
     border: medium solid red !important;
}

.field-validation-error{
     border: medium solid red !important;
}



/* */
.ui-state-bold-text {
    font-weight: bold;
}

.ui-state-padding-text {
    padding-left: 10px;
}



/**/
#vendor_dropdownlist{
    width: 100px;
}

#global_gr_dropdownlist{
     width: 100px;
}

.my-table {
    border-collapse: collapse;
}

.my-table th {
    text-align: center;
    border: 1px solid lightgrey;
    padding: 7px
}

.my-table td {
    text-align: center;
    border: 1px solid lightgrey;
    padding: 7px
}

.left-top-panel {
    position: absolute;
    top: 100px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    width: 200px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.left-top-panel h5 {
    padding: 8px;
    margin: 2px 0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.left-top-panel h5:hover {
    background-color: #f0f0f0;
}

.left-top-panel h5.current {
    background-color: #2e90bd;
    font-weight: bold;
    color: white;
}

.left-top-panel::-webkit-scrollbar {
    width: 6px;
}

.left-top-panel::-webkit-scrollbar-track {
    background: transparent;
}

.left-top-panel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.help-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.help-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.help-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.help-popup {
    position: absolute;
    bottom: 75px;
    left: 75px;
    width: 400px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.help-popup h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.help-popup ul {
    padding-left: 20px;
}

.help-popup li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.help-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 999;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-group label {
        
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.right-top-panel {
    position: absolute;
    top: 100px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    width: 320px;
}

.right-top-panel h4 {
    margin: 0;
    margin-bottom: 10px;
}

.right-top-panel label {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

.right-top-panel input {
    width: 100%;
    padding: 5px;
    margin-top: 2px;
    font-size: 14px;
}

.right-top-panel select {
    width: 100%;
    padding: 5px;
    margin-top: 2px;
    font-size: 14px;
}

.right-top-panel textarea {
    width: 100%;
    padding: 5px;
    margin-top: 2px;
    font-size: 14px;
}

.right-top-panel button {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    font-size: 14px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.right-top-panel button:hover {
    background: #0056b3;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-container input {
    width: auto;
    margin-right: 8px;
}

.toast {
    position: fixed;
    top: 150px;
    right: 20px;
    background-color: #0D6EFD;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 9999;
}

.toast.success {
    background-color: #198754;
    color: #fff;
}

.toast.warning {
    background-color: #d5cb03;
    color: #fff;
}

.toast.error {
    background-color: #7c1e1e;
    color: #fff;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-80px);
}

.tm-upload-container {
    display: inline-flex;
    align-items: center;
    background: #EEEEEE;
    border-radius: 2px;
    border: 1px solid black;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 5px 2px 5px;

    transition: background 0.3s;
}

.tm-upload-container:hover {
    background: #E5E5E5;
}

.tm-btn-tool {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    vertical-align: middle;
}

.tm-simple-table {
    border-collapse: collapse;
    width: 30%;
    font-family: Arial, sans-serif;
}

.tm-simple-table th,
.tm-simple-table td {
    border: 1px solid #020101;
    padding: 8px;
    text-align: left;
}

.tm-simple-table th {
    background-color: #000000;
    font-weight: bold;
}

.tm-simple-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tm-simple-table tr:hover {
    background-color: #e2e2e2;
}

.link-button {
    background: none;
    border: none;
    color: blue;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.link-button:hover {
    text-decoration: underline;
}