*{
    font-family: Arial !important;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: block;
    width: 46px;
    height: 17px;
    left: 95%;
    top: -28px;
    z-index: 15;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

#faults_container1 * {
    font-size: 10px;
}

#faults_container1 .datagrid-cell {
    font-size: 9px;
}

#faults_container1 .datagrid-header-row {
    font-size: 10px;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


#faults_container1 .datagrid-pager > table{
    opacity: 0;
}

#faults_container1 .datagrid-pager{
    background-color:#f7f7f7;
}

#faults_container1 .even{
    background-color: #DDD;
}

#faults_container1 .odd {
    background-color: #FFF;
}

#table-wrapper {
    float: left;
    height: 100%;
    width: 50%;
}

#chart-wrapper {
    position: relative;
    left: 50%;
    height: 100%;
    width: 50%;
}

#results_table {
    width: 98%;
    height: 95%;
    margin-top: 2%;
    margin-left: 1%;
}

#results_table tbody tr:hover {
    background-color: #e0eee0;
    cursor: pointer;
}

.history {
    display: none;
}


.clickable{
    border-radius: 5px;
}

.clickable img {
    margin: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.clickable:hover {
    background-color: #D3D3D3;
    border: solid silver 0.5px;
    cursor: pointer;
}


td label, .datagrid-header-row{
    font-weight: bold !important;
}

#btn_0 {
    margin-right: 15px;
}


#msg_writter{
    position: absolute;
    top: 0px;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}

#msg_writter img {
    position: relative;
    left: 50%;
    top: 50%;
    width: 50px;
}

.dvalert {
    padding: 3px 0px;
    min-width: 100px;
}

.dvalert span.badge {
    margin-top: -2px;
}

.alert5 {
    background-color: #FF0000;
}

.alert4 {
    background-color: #FF9900;
}

.alert3 {
    background-color: #FFFF00;
}

.alert2 {
    background-color: #87CEFA;
}

.alert1 {
    background-color: #CC99CC;
}

.alert0 {
    background-color: #99FF33;
}

.count_alert{
    /* width: 10%; */
    width: auto;
    height: 12px;
    cursor: pointer;
    /* margin-top: 3px; */
    /*IE*/
    filter: alpha(opacity=60);
    /*FireFox Opera*/
    opacity: .6;
    border-radius: 25%;
}

.count_alert_select, #severity_total{
    /* width: 10%; */
    width: auto;
    height: 18px;
    padding-top: 1%;
    cursor: pointer;
    border-radius: 15%;
    padding: 2px;
    text-align: center;
}

.link_cursor {
    cursor: pointer;
}

#datagrid1 .datagrid-cell {
    cursor: pointer;
}

#severity_total {
    background-color: #111111;
    color: #FFFFFF !important;
    font-size:10px;
}


#syslogToFallas,
#syslogToHistorial {
    width: 25px;
    height: 25px;
    font-size: 1.2em !important;
    cursor: pointer;
}


#syslogToHistorial {
    width: 30px;
    height: 30px;
    font-size: 1.2em !important;
    cursor: pointer;
}

#datagrid1 {
    width: 100% !important;
    height: 95% !important;
    overflow: hidden;
}

#datagrid2,
#datagrid3 {
    height: 95% !important;
    width: 100% !important;
    overflow: hidden;
}

.notificacion {
    position: relative;
    font-size: 22px;
    cursor: pointer;
    margin-right: 5px;
    user-select: none;
}

.val_notification {
    position: absolute;
    top: -6px;
    right: -8px;
    background: red;
    color: white;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 50%;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
}

.clean {
    background-image: url('../images/clean.png');
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.logs2 {
    margin-left: 5px;
    margin-right: 5px;
    text-align: left;
}

.panel-body {
    /*height: 300px !important; */
}

.icon-excel {
    background: url(../js/easyui/icons/excel.png) no-repeat;
    width: 20px;
    height: 20px;
    /* border: 1px solid red; */
    display: inline-block;
    background-size: 100% 100%;
}

.icon-pdf {
    background: url(../js/easyui/themes/icons/pdf.png) no-repeat;
    width: 20px;
    height: 20px;
    /* border: 1px solid red; */
    display: inline-block;
    background-size: 100% 100%;
}



#breadCrumb ul{list-style: none; padding: 0; max-width: 80%; height:20px; white-space:nowrap; font-weight: bolder; border-radius: 0 20px 20px 0; background-color: #DDD;  margin-top: 0px; overflow-x: scroll;  overflow-y: hidden; scrollbar-width: none; position: absolute; left:70px;}

#breadCrumb ul::-webkit-scrollbar { display: none;} 

.texto { display: inline-block; max-width: 60px; overflow: hidden;} 
.texto:hover { max-width:fit-content; } 
#breadCrumb > ul > li{display: inline !important; padding: 10px 20px;background: linear-gradient(90deg, transparent, white); border-radius: 0 20px 20px 0; cursor: pointer;}
#breadCrumbWindow > ul {list-style: none; padding: 10px; width: fit-content;  cursor: pointer;}
#breadCrumb  li .fmenu{border-radius: 20px; margin-left: 5px; height: 15px; border: 1px solid silver;}
.closeAllNotification{
	position: absolute;top: 25px;
	width: 97%;font-size: 13px !important;text-align: center;background-color: rgb(116 194 220);left: 3px;     
	border: 1px solid #6998ff;
	font-weight: bolder;
	color: white;
	cursor:pointer;
}

.closeAllNotification:hover{
    opacity:0.8;
    border-style:dashed
    
}


/*Estilos del preload */




@keyframes doubleLine {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes doubleLine {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes doubleLine {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes doubleLine {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

#faults_container1 .containerLoading {
    transition: .5s;
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.63);
    z-index: 0;
}

#faults_container1 .containerLoading.in {
    transition: .5s;
    z-index: 9999;
    opacity: 1;
}

#faults_container1 .doubleLine {
    position: relative;
}

#faults_container1 .doubleLine div {
    box-sizing: border-box;
}

#faults_container1 .doubleLine>div {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 35px;
    left: 35px;
    border-radius: 50%;
    border: 10px solid #000;
    border-color: #ea6363 transparent #ea6363 transparent;
    -webkit-animation: doubleLine 1s linear infinite;
    animation: doubleLine 1s linear infinite;
}

#faults_container1 .doubleLine>div:nth-child(2),
#faults_container1 .doubleLine>div:nth-child(4) {
    width: 106px;
    height: 106px;
    top: 47px;
    left: 47px;
    -webkit-animation: doubleLine 1s linear infinite;
    animation: doubleLine 1s linear infinite;
}

#faults_container1 .doubleLine>div:nth-child(2) {
    border-color: transparent #91b7ff transparent #91b7ff;
}

#faults_container1 .doubleLine>div:nth-child(3) {
    border-color: transparent;
}

#faults_container1 .doubleLine>div:nth-child(3) div {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#faults_container1 .doubleLine>div:nth-child(3) div:before,
#faults_container1 .doubleLine>div:nth-child(3) div:after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    left: 50px;
    background: #ea6363;
    border-radius: 50%;
    box-shadow: 0 120px 0 0 #ea6363;
}

#faults_container1 .doubleLine>div:nth-child(3) div:after {
    left: -10px;
    top: 50px;
    box-shadow: 120px 0 0 0 #ea6363;
}

#faults_container1 .doubleLine>div:nth-child(4) {
    border-color: transparent;
}

#faults_container1 .doubleLine>div:nth-child(4) div {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#faults_container1 .doubleLine>div:nth-child(4) div:before,
#faults_container1 .doubleLine>div:nth-child(4) div:after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    left: 38px;
    background: #91b7ff;
    border-radius: 50%;
    box-shadow: 0 96px 0 0 #91b7ff;
}

#faults_container1 .doubleLine>div:nth-child(4) div:after {
    left: -10px;
    top: 38px;
    box-shadow: 96px 0 0 0 #91b7ff;
}

#faults_container1 .doubleLine {
    width: 200px !important;
    height: 200px !important;
    -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
    transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

#faults_container1 .capaModalChild {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -100%;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(117, 112, 112, 0.479);
}

#faults_container1 .capaModalChild .containerBodyModal button.close {
    position: absolute;
    right: -10px;
    top: -7px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e64c4c;
    font-size: 15px !important;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
    cursor: pointer;
}

#faults_container1 .capaModalChild.on {
    transition: .5s;
    top: 0;
}

#faults_container1 .capaModalChild .containerBodyModal {
    transition: .5s;
    opacity: 0;
    width: 70%;
    height: 400px;
    background-color: white;
    border-radius: 5px;
    padding: 18px;
    position: relative;
}

#faults_container1 .capaModalChild.on .containerBodyModal {
    opacity: 1;

}

#faults_container1 .capaModalChild.on .containerBodyModal .bodyModal {
    /* border: 1px solid; */
    height: 100%;
    overflow: auto;
    position: relative;
}

#faults_container1 .capaModalChild.on .containerBodyModal .bodyModal p.note {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: max-content;
    height: max-content;
    font-size: 18px !important;
    border: 1px solid gray;
    padding: 8px 20px;
    border-radius: 5px;
}

#faults_container1 .capaModalChild.on .containerBodyModal .bodyModal h4 {
    position: absolute;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -15px;
    left: 0;
    border-radius: 5px;
}

#faults_container1 .capaModalChild.on .containerBodyModal .bodyModal h4 b {
    color: red;
    margin-left: 8px;
}

table.t-hijos {
    margin-top: 55px;
    width: 100%;
}

table.t-hijos thead tr {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fcfcfc+0,e8e8e8+87 */
    background: #fcfcfc;
    /* Old browsers */
    background: -moz-linear-gradient(top, #fcfcfc 0%, #e8e8e8 87%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fcfcfc 0%, #e8e8e8 87%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fcfcfc 0%, #e8e8e8 87%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#e8e8e8', GradientType=0);
    /* IE6-9 */
}

table.t-hijos thead tr td {
    background-color: transparent;
    padding: 5px 10px;
    border-right: 1px dotted #a7aaab;
    border-bottom: 1px dotted #a7aaab;
    border-top: 1px dotted #a7aaab;
}

table.t-hijos thead tr td:nth-child(1) {
    border-left: 1px solid #a7aaab;
}

table.t-hijos tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

table.t-hijos tbody tr td {
    padding: 4px 4px;
    border-right: 1px dotted #a7aaab;
}

table.t-hijos tbody tr td:nth-child(1) {
    border-left: 1px dotted #a7aaab;
}

table.t-hijos tbody tr td:nth-last-of-type(1) {
}

table.t-hijos tbody tr:nth-of-type(even) td {
}

table.t-hijos tbody tr td {
    border-bottom: 1px dotted #a7aaab;
}

.childRows {
    position: relative;
}

.bodyModal .childRows {
    min-width: 130px;
    padding-right: 15px;
}

.childRows .badge {
    cursor: pointer;
    background-color: #ffffff;
    width: auto;
    min-width: max-content;
    height: 15px;
    position: absolute;
    right: 5px;
    top: 1px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin: 0;
    padding: 0px 5px;
    font-size: 11px !important;
}

.datagrid-row-selected td .childRows .badge {
    color: #2492ca;
}

.actions {
    grid-column: 1 / -1;
    display: flex;
    // justify-content: center;
    top: 1px;
    padding: 0px;
    gap: 2px;
    margin-top: 3px;
    margin-left: 4px;
    margin-bottom: -9px;
}

//.panel.window{
//	height: 350px !important;
//}
#form_reconocer {
    margin-top: 10px;
    height: max-content;
}

#form_reconocer textarea {
    border-radius: 5px;
    resize: none;
    width: 99%;
    clear: both;
    //display: block;
}

#form_reconocer label {
    text-align: left;
    /* border: 1px solid; */
    display: inline-block;
    margin: 8px 0 8px 25px;
    float: left;
    max-width: 150px;
}

#form_reconocer button {
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    margin: 1px 5px;
    float: right;
}

#form_reconocer #logs {
    height: fit-content;
    overflow: auto;
    //border-top: 1px solid #9c9a9a;
    width: 100%;
}

#form_reconocer #logs .logs2 {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    width: 99%;
    padding: 5px 10px;
    background-color: #eaeaea;
    position: relative;
    text-align: justify;
    margin: 10px 0px;
}

#form_reconocer #logs .logs2 .badgeFecha {
    background-color: white;
    width: max-content;
    padding: 3px 10px;
    color: red;
    border-radius: 10px;
    position: absolute;
    right: 4px;
    top: 3px;
}

#form_reconocer #logs .logs2 h4 {
    line-height: 1;
    text-align: left;
    margin: 7px 0px;
    border-bottom: 1px dotted;
    padding-bottom: 2px;
}

#form_reconocer #logs .logs2 p {
    margin: 5px 0px;
}

._export {
    width: 25px;
    height: 25px;
    display: inline-block;
    cursor: pointer;
}
._exportPdf {
    width: 25px;
    height: 25px;
    display: inline-block;
    cursor: pointer;
}

buttton.btn-back {
    position: absolute;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #61b4e5;
    color: white;
}


/*
        Inicio || clase que adiciona parpadeo a un div
*/

.bg-parpadeo {
    background-color: #d9120b;
}

.parpadea {

    animation-name: parpadeo;
    animation-duration: .5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    -webkit-animation-name: parpadeo;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

blink {
    -webkit-animation: .8s linear infinite condemned_blink_effect;
    /* for Safari 4.0 - 8.0 */
    animation: .8s linear infinite condemned_blink_effect;
}

/* for Safari 4.0 - 8.0 */
@-webkit-keyframes condemned_blink_effect {
    0% {
        color: black;
    }

    50% {
        color: white;
    }

    100% {
        color: black;
    }
}

@keyframes condemned_blink_effect {
    0% {
        color: black;
    }

    50% {
        color: white;
    }

    100% {
        color: black;
    }
}

/* Fin || clase que adiciona parpadeo a un div */

/*
.panel.layout-panel.layout-panel-north.panel-htop{
   height: 85px !important;
}

.panel.layout-panel.layout-panel-north.panel-htop .panel-body.panel-body-noheader.layout-body{
   height: 85px !important; 
}
*/

.tdPersoJ1{
    height: 10px;
}

.tdPersoJ1_2{
    height: 90px;
}

.tdPersoJ2{
    height: 70px;
}

.tdPersoJ2_2{
    height: 70px;
}

.e-select .textbox.combo{
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);    
    display: flex;
    height: 20px;
    max-width: 300px !important;
    padding: 0px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 200px !important;
}

.e-select .textbox.combo .textbox-text {
    height: 18px !important;
    line-height: 18px !important;   /* <-- The real vertical centering fix */
    padding: 0 4px;                 /* optional: nice looking input */
}

.e-select .textbox.combo .textbox-addon {
    height: 18px !important;
    display: flex;
    align-items: center;
}

.state-icon {
    font-size: 22px;
    cursor: pointer;
    user-select: none;
}

.state-icon.refreshing1 {
    animation: pulse 1.2s infinite;
}
.state-icon.refreshing2 {
    animation: pulse 1.2s infinite;
    display: inline-block;
    animation: spin 1s linear infinite;
}

span[onclick] {
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

#tb_faults table {
/*    width: 98.7% !important; */
}

#tb_faults td>div {
    text-align: center;
    margin-left: 4px;
    float: left;
}

#tb_faults_div_img_wrapper {
    width: 30px;
    height: 30px;
}

#tb_faults_div_img_wrapper_last {
    float: right !important;
    text-align: center;
    vertical-align: middle;
}

#tb_faults_div_img_wrapper_last div {
    float: left;
    width: 30px;
    height: 30px;
}


/* Start new Version*/
/* Icons & buttons group (Excel, sound, Detener) */
.status-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;              /* icons keep fixed size */
}

.status-actions img {
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.status-actions input[type="button"] {
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
}

/* Make comboboxes and selects scale naturally */
.status-group select,
.status-group .combo,
.status-group .easyui-combobox {
  max-width: 120px;
  width: auto;
}

/* Start */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 14px;
}

.status-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-group label {
  white-space: nowrap;
  font-weight: 500;
}

.status-value {
    font-weight: 600;
    font-style: italic;
}

.status-actions img {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.status-actions input[type="button"] {
  padding: 4px 10px;
  cursor: pointer;
}

/* Small screens */
@media (max-width: 700px) {
  .status-bar { font-size: 13px; }
  .status-group { flex: 1 1 100%; }
}

/* -------------------- */

#filtros_table {
    width: 100%;
}

.filtros-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    position: relative;
}

.counter {
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.toolbar-right {
    margin-left: auto;   /* 👈 Esto manda toda la toolbar a la derecha */
    display: flex;
    align-items: center;
    gap: 3px;
}

.ver {
    display: flex;
    align-items: center;
    gap: 4px;
}

#cb_numreg + .textbox.combo {
    display: inline-flex !important;
    align-items: center;
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 !important;
}

.bold-span {
    font-weight: bold;
}

.ack-icon {
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    margin-left: 5px;
}
