.A_L:link,.A_L:active,.A_L:visited {text-decoration:none; font-size: 11pt; font-family:  Century Gothic, arial, sans-serif; font-weight: bold; color: #FFFFFF; }
.A_L:hover {text-decoration:none; font-size: 11pt; font-family:  Century Gothic, arial, sans-serif; font-weight: bold; color: #FF2508; }
A:link,A:visited,A:active  {text-decoration:none; font-size: 11pt; font-family:  Century Gothic, arial, sans-serif; font-weight: bold; color: #FFFFFF}
A:hover {text-decoration:none;  font-family:  Century Gothic, arial, sans-serif; font-weight: bold; font-size: 11pt; color: #FF2508; }

H3 {font-size: 10pt; font-family: Century Gothic, arial, sans-serif; color:white; margin:2px;}
H4 {font-size: 10pt; font-family: Century Gothic, arial, sans-serif; color:white; margin:2px;}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background-color: #313131;
}
::-webkit-scrollbar-thumb {
    background-color: #ED303D;
}
::-webkit-scrollbar-button {
    /*background-color: navy;*/
}
::-webkit-scrollbar-corner {
    background-color: black;
}

.Estilo1{
    color: orange;
    font-size: 1rem;
}
p{
    margin-bottom: 0;
}
.importante{
    /*font-weight: bold;
    font-size: 1.1em;*/
}
.ver_mas{
    float: right;
    color: white;
}
.ver_mas:hover{
    color: white;
    text-decoration: underline;
}
.mas_switch{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
}
.mas_switch .mas_info{
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
}
.mas_switch .mas_cerrar{
    position: absolute;
    top: 15px;
    right: 20px;   
}
.mas_switch .mas_cerrar span.fa{
    font-size: 2rem;
    cursor: pointer;
}
table:nth-child(2) tbody tr td{
    /*background: white !important;*/
    padding: 3px;
    font-size: 14px;
}

tbody th{
    background: #f4d359;
    color: black;
    padding: 1px;
}

table:nth-child(2) tbody tr td .fa{
    color: #1A2032;
    transition-duration: 0.25s;
}
table:nth-child(2) tbody tr td a{
    text-decoration: none;
}
table:nth-child(2) tbody tr td .fa:hover{
    color: green;
    transform: scale(1.2);
}
table:nth-child(2) tbody tr td .fa.red{
    color: #ED303D;
}
table:nth-child(2) tbody tr td .fa.yellow{
    color: yellow;
}
table:nth-child(2) tbody tr td .fa.orange{
    color: orange;
}
table:nth-child(2) tbody tr td .fa.no_paro{
    color: red;
}
table:nth-child(2) tbody tr:hover td{
    background: #D0F5A9 !important;
}
.btn-download:hover > span.fa{
    color: green !important;
}
span.icons{
    font-size: 1.5em;
    color: #D0F5A9;
    margin-left: 5px;
}
span.icons:hover{
    color: green;
}
span.icons.green{
    color: green;
}
span.icons.red{
    color: #ED303D;
}
span.icons.green:hover, span.icons.red:hover{
    color: #D0F5A9;
}
a.active{
    color: #ED303D;
}
.iframe{
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
    padding: 20px 0;
    border-top: 2px solid #ED303D;
    border-bottom: 2px solid #ED303D;
}
.navbar-light .navbar-toggler{
    border-color: transparent;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}
.row, .container, .container-fluid, .col-md-4{
    padding: 0;
    margin: 0;
}
.no_show{
    display: none;
}
#cont_configura{
    margin-top: 20px;
}
#body_maq{
    height: fit-content;
    /*height: 100%;*/
    margin-top: 30px;
}
.cont_each_maq{
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}
@keyframes color_animate_bad{
    0%{
        color: red;
    }
    50%{
        color: white;
    }
    100%{
        color: red;
    }
}
@keyframes borderPalp{
    0%{
        background: white;
    }
    50%{
        background: red;   
    }
    100%{
        background: white;
    }
}
@keyframes girar{
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100%, 50% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.color_animate .fa-pulse{
    animation-name: girar;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.color_animate.bad{
    animation: color_animate_bad;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
.cont_each_maq.bad > div{
    animation: borderPalp;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
.cont_each_maq.good > div{
    background: green;
}
.cont_each_maq .c_nombre_maquina{
    text-transform: capitalize;
    color: white;
    margin-top: 0;
    padding: 10px 5px;
}
.cont_each_maq .c_nombre_maquina h4{
    margin-bottom: 0;
    font-size: 2rem;
}
.cont_each_maq .cont_graf{
    /*position: absolute;
    top: 10px;
    left: 0;
    z-index: 2;
    transition-duration: 0.25s;
    opacity: 0;*/
    background: black;
    border: 2px solid white;
    padding: 10px;
}
.cont_each_maq .cont_graf a img, .cont_each_maq .cont_graf a span{
    transform: scale(1);
    transition-duration: 0.25s;
    margin-right: 15px;
}
.cont_each_maq .cont_graf a:hover img, .cont_each_maq .cont_graf a:hover span{
    transform: scale(1.5);
}
.cont_each_maq .cont_fijo_add{
    border: 2px solid white;
    border-top: 0;
    padding: 20px;
    background: white url(../img/switchNegro.svg) center no-repeat;
    color: black;
}
.cont_each_maq .cont_graf .mas_cerrar{
    float: right;
    transform: scale(1);
    transition-duration: 0.25s;
}
.cont_each_maq .cont_graf .mas_cerrar:hover{
    transform: scale(1.5);
}
.cont_each_maq .fijo_add{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
}
.cont_each_maq .fijo_add > div{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    text-align: left;
    transform: translate(-50%, -50%);
}
.cont_each_maq .click{
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
/*.cont_each_maq .fijo_add .mas_info{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}*/
.cont_each_maq .fijo_add .mas_cerrar{
    cursor: pointer;
    font-size: 2em;
}
/*.cont_each_maq div:hover > .cont_graf{
    left: 20px;
    opacity: 1;
}*/
.cont_each_maq .cont_datos_maq{
    display: flex;
    padding: 10px 5px;
    margin-bottom: 105px;
}
.cont_each_maq .cont_img_maq{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 25%;
}
.cont_each_maq .cont_info_maq{
    color: white;
    text-align: left;
    padding-left: 15px;
}
.cont_each_maq .cont_uh{
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    color: white;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}
.cont_each_maq .cont_uh .cont_uh_img{
    
}
.cont_each_maq .cont_uh .cont_uh_img svg{
    width: auto;
    height: 50px;
}
.cont_each_maq .cont_uh .cont_uh_truput, .cont_each_maq .cont_uh .cont_uh_efic{
    padding: 5px;
}
.cont_each_maq .cont_uh .cont_uh_truput.bad, .cont_each_maq .cont_uh .cont_uh_efic.bad{
    width: 100%;
    background: red;
}
.cont_each_maq .cont_uh .cont_uh_truput.good, .cont_each_maq .cont_uh .cont_uh_efic.good{
    width: 100%;
    background: green;
}
.cont_each_maq .cont_uh .cont_uh_info{
    /*width: 35%;*/
    font-size: 13pt;
    text-align: left;
    /*margin-left: 10px;*/
}

.cont_each_maq .cont_uh_2{
    margin-top: 30px;
    color: white;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}
.cont_each_maq .cont_uh_2 .cont_uh_info_2{
    /*width: 35%;
    margin-left: 10px;*/
}

.cont_each_maq .cont_uh_info_2 *{
    /*vertical-align: middle;*/
}

.fondo_oscuro{
    background-color: #1A2032;
}

.fondo_oscuro *{
    color: white !important;
}

.fondo_rojo{
    background-color: #FFFFFF;
}

.slogan{
    padding: 0.8em;
}

.slogan p{
    margin-bottom: 5px;
    font-size: 1.3rem;
    font-weight: bold;
    font-style: italic;
    margin-left: 20px;
}

.dropdown-menu a{
    color: black!important;
}
.control{
    text-align: center;
    color: white;
    /* margin-bottom: 50px!important; */
    padding: 30px!important;
}
.control h3{
    text-align: center;
}
.avance_real{
    color: #00ff01;
    position: absolute;
    width: 100%;
}
.avance_real *{
    display: inline-block;
    vertical-align: middle;
}
.avance_real .barra_real{
    height: 5px;
    position: absolute;
    background: #00ff01;
}
.avance_real .sec_valor_real{
    position: absolute;
    text-align: right;
    font-size: 1.3rem;
    transform: translateY(-50%);
    font-style: italic;
}
.avance_real .barra_real, .avance_estimado .barra_estimado{
    left: 50%;
    width: 50%;
    transform: translateX(-50%);
}
.avance_real .sec_valor_real{
    left: initial;
    right: 0;
    width: 100%;
}
.avance_real .sec_valor_real p{
    text-align: center;
    margin-right: 10px;
    margin-bottom: 0;
}
/*.avance_real:before{
    content: '';
    background: #00ff01;
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 100%;
}*/
.avance_estimado{
    color: #ED303D;
    position: absolute;
    width: 100%;
}
.avance_estimado .barra_estimado{
    width: 40%;
    height: 5px;
    position: absolute;
    background: #ED303D;
}
.avance_estimado .sec_valor_estimado{
    position: absolute;
    width: 100%;
    text-align: right;
    font-size: 1.2em;
    transform: translateY(-50%);
    font-style: italic;
}
.avance_estimado .sec_valor_estimado p{
    margin-right: 155px;
    margin-bottom: 0;
}
.avance_estimado .sec_tiempo_transcurrido{
    position: absolute;
    width: 100%;
    text-align: left;
    font-size: 1.2em;
    transform: translateY(-50%);
    font-style: italic;
}
.avance_estimado .sec_tiempo_transcurrido p{
    margin-left: 140px;
    margin-bottom: 0;
    font-size: 1.2em;
    font-weight: bold;
}
/*.avance_estimado:after{
    content: '';
    background: #ED303D;
    height: 5px;
    position: absolute;
    bottom: 0;
    left: 100%;
}*/
.tanque{
    position: relative;
    height: 280px;
}
.tanque_barra{
    content: '';
    position: absolute;
    width: 270px;
    /*height: 40%!important;*/
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    background: #00ff01;
    background-position: center;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.tanque img{
    /*width: 325px;*/
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.tanque .tanque_img{
    width: 100%;
    height: 115%;
}
svg .avance_estimado{
    font-size: 1.3rem;
}
/*.tanque:after{
    background-image: url('../img/tanque.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
}*/
.img_truput{
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 90%;
}
@keyframes pop{
    0%{
        transform: scale(0.8);
    }
    50%{
        transform: scale(1);
    }
    100%{
        transform: scale(0.8);
    }
}
.img_truput.negativo{
    animation: pop;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
@keyframes color{
    0%{
        color: white;
    }
    50%{
        color: red;
    }
    100%{
        color: white;
    }
}
.text_palp{
    font-size: 1.2em;
    animation: color;
    animation-duration: 2s;
    animation-iteration-count: infinite;   
}
.limit{
    margin-bottom: 10px;
    text-align: center;
}
.limit *{
    display: inline-block;
    vertical-align: middle;
}

.txt_blanco{
    color: #ED303D;
}

.slogan p span.txt_blanco{
    font-size: 1.8rem;
}

.menu{
    padding-left: 70%;
}

.cont_prin{
    padding: 0;
}

.cont_prin a{
    text-decoration: none;
    color: white;
}

.cont_prin a > .img_mod{
    position: relative;
    max-width: 100%;
    height: 450px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    margin: 5px 0 5px 5px;
    transition-duration: 1s;
}

.cont_prin a:hover > .img_mod{
    background-size: 120% 120%;
}

.cont_prin .col-md-4:last-child a .img_mod{
    margin-right: 5px;
}

footer .pie_pagina{
    height: 73px;
}

.cont_prin a{
    font-weight: bold;
}

.cont_prin a .tit_mod{
    position: absolute;
    top: 15%;
    left: 5%;
    font-size: 4rem;
}

.cont_prin a .p_mod{
    position: absolute;
    bottom: 5%;
    right: 20px;
    font-size: 1.5rem;
}

#menuv > ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    flex-basis: 0;
    flex-wrap: wrap;
}
#menuv > ul li{
    flex-grow: 0;
    flex-basis: 25%;
}

.cont_item{
    position: relative;
    border: 1px solid white;
    padding: 20px;
    transition-duration: 1s;

    background: linear-gradient(to right, rgba(0,0,0,0.7) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position:right bottom;
    /*margin-left:10px;*/
    transition:all 0.5s ease;
}

.cont_item:hover{
    text-decoration: none;
    background-position:left bottom;
}

.cont_item > .submenu{
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 90%;
    left: 0;
    z-index: 2;
    background-color: white;
    width: 100%;
    padding: 20px 0;
    list-style: none;
    transition: visibility 0s, opacity 0.5s, top 0.5s, background-color 0.5s;
}

.cont_item:hover > .submenu{
    top: 100%;
    visibility: visible;
    background-color: white;
    opacity: 1;
}

.cont_item > .submenu a{
    text-decoration: none;
}
.cont_item > .submenu a li{
    padding: 5px 20px;
    color: #1A2032;
    background-color: transparent;
    transition-duration: 0.25s;
}
.cont_item > .submenu a:hover li{
    color: white;
    background-color: #1A2032;
}

.cont_item .img_item{
    width: 80px;
    display: inline-block;
}

.cont_item .p_item{
    display: inline-block;
    font-size: 1.2rem;
    /*margin-left: 25px;*/
    color: white;
    font-weight: bold;
    font-style: italic;
    text-align: center;
}

.cont_config{
    margin: 30px auto;
    margin-bottom: 50px;
}

.cont_config ul{
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.modal_user{
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2;
    transition-duration: 1s;
}

.modal_user .cont_user{
    width: 80%;
    height: 80%;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 50px;
}

.modal_user .cont_user form{
    width: 50%;
}

.modal_user .cont_user form .form-group *{
    display: inline-block;
}

.modal_user .cont_user form .form-group .form-control{
    max-width: 100%;
}
.navbar-brand{
    margin-left: 1em;
}
.navbar-nav li{
    font-size: 1.3em;
}
.navbar-nav li > a{
    position: relative;
    text-decoration: none;
    z-index: 1;
    color: white!important;
}
.navbar-nav li > a.sub:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background: white;
    visibility: hidden;
    border-radius: 2px;
    transform: scaleX(0);
    transition: 0.25s linear;
}
.navbar-nav li > a.sub:hover:before, .navbar-nav li > a.sub:focus:before {
    visibility: visible;
    transform: scaleX(1);
}
#row_form form{
    margin-left: 50%;
    transform: translateX(-50%);
}



















body{
    font-family: Century Gothic, arial, sans-serif;
    font-size: 10pt;
    background-color: #1A2032;
    color: #1A2032;
}
header{}
img{
    vertical-align: middle;
    max-width: 100%;   
}
.form-control:focus{
    border-color: #1A2032;
}
.btn{
    cursor: pointer;
}
.btn.btn-blue{
    background-color: #ED303D;
    color: white;
}
.btn.btn-blue:hover{
    background-color: #1A2032;
}
#no_access{
    margin-top: 100px;
    text-align: center;
    color: white;
}
#no_access .fa{
    font-size: 5em;
    color: #ED303D;
}

#row_logo{
    margin-top: 50px;
    text-align: center;
}
#row_inicio_sesion{
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.bold{
    font-weight: bold;
    font-size: 1.2em;
}
#cont_pie_pagina{
    background-color: #ED303D;
    color: white;
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}
#cont_pie_pagina span{
    vertical-align: middle;
}
#cont_pie_pagina span.bold{
    color: #1A2032;
}

#cont_user_info p{
    color: white;
    text-align: right;
    margin-bottom: 0;
    padding-top: 10px;
}

.leyenda{
    margin: 100px auto;
    width: 50%;
}
.leyenda h5{
    text-align: left;
    position: relative;
}
.leyenda h5:after{
    content: " ";
    width: 50%;
    height: 5px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.leyenda h5.real:after{
    background: #00ff01;
}
.leyenda h5.esperado:after{
    background: #ED303D;
}

@media screen and (min-width: 1370px){
    .img_truput{
        max-width: 50%;
    }
}

@media screen and (max-width: 768px){
    .leyenda{
        width: 100%;
    }
    .slogan p{
        font-size: 1rem;
    }
    .slogan p span.txt_blanco{
        font-size: 1.5rem;   
    }
    .control{
        padding: 0!important;
    }
    .control h3{
        padding: 0 20px;
        font-size: 1.25rem;
    }
    .control .des_truput{
        padding: 0 20px;
        margin-bottom: 50px;
    }
    .img_truput{
        height: 200px;
    }
    .avance_estimado .sec_tiempo_transcurrido{
    }
    .avance_estimado .sec_tiempo_transcurrido p{
        margin-left: 0;
        font-size: 0.8em;
    }
    .avance_estimado .sec_valor_estimado p{
        margin-right: 0;
        font-size: 0.8em;
    }
    .avance_real .barra_real, .avance_estimado .barra_estimado{
        left: 50%;
        height: 3px;
        width: 50%;
        transform: translateX(-50%);
    }
    .avance_real .sec_valor_real{
        left: initial;
        right: 0;
        width: 100%;
    }
    .avance_real .sec_valor_real p{
        font-size: 0.7em;
    }
    .limit *{
        font-size: 0.8em;
    }
    .limit p > img{
        width: 25px;
    }
    .tanque{
        height: 120px;
    }
    .tanque_barra{
        width: 115px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .tanque img{
        bottom: 0;
        top: initial;
        transform: translate(-50%, 0);
    }
}

@media screen and (max-width: 320px){
    .tanque_barra{
        width: 115px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
}



.titulo {
	font-family: "Trebuchet MS", Verdana;
	font-size: 18px;
	font-weight: bolder;
	color: white;
	text-decoration: none;
	border-top-width: 1px;
	border-bottom-width: 2px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #D4D0C8;
	border-bottom-color: #D4D0C8;
	text-align: left;
	padding-left: 30px;
}
.casilla {
	font-family: "Trebuchet MS", Verdana;
	font-size: 11px;
	font-weight: normal;
	color: #999999;
	text-decoration: none;
	border: 1px solid #D4D0C8;
}
.boton {
	border: 3px solid #D4D0C8;
	font-family: "Trebuchet MS", Verdana;
	font-size: 13px;
	font-weight: bold;
	color: #000000;
	text-decoration: none;
  border-radius: 4px;
	background-color: #D4D0C8;
	vertical-align: middle;
}
.boton:hover{
    opacity: 0.8;
    text-decoration: none;
}
.subtitulo {
	font-family: "Trebuchet MS", Verdana;
	font-size: 16px;
	font-weight: bolder;
	color: #999999;
	text-decoration: none;
	text-align: left;
	padding-left: 30px;
}
.subtitulo:hover {
	font-family: "Trebuchet MS", Verdana;
	font-size: 16px;
	font-weight: bolder;
	color: #999999;
	text-decoration: underline;
	text-align: center;
}
.subtext {
	font-family: "Trebuchet MS", Verdana;
	font-size: 12px;
	font-weight: normal;
	color: #999999;
	text-decoration: none;
	text-align: left;
	padding-left: 30px;
	background-color: #EFEFEF;
}
.infsub {

	font-family: "Trebuchet MS", Verdana;
	text-decoration: none;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D4D0C8;
}
.text {
	font-family: "Trebuchet MS", Verdana;
	font-size: 12px;
	font-weight: normal;
	color: white;
	text-decoration: none;
	text-align: left;
	padding-left: 30px;
	padding-top: 10px;
}

.blink {
    animation-duration: 1s;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;            
}
@keyframes blink {
    from {
        opacity: 1;                             
    }
    to {
        opacity: 0.5;
    }
}

/*INICIO MENU DESPLEGABLE*/
*{
  margin: 0;
  padding: 0;
  font-family: Century Gothic, arial, sans-serif;
  list-style: none;
  text-decoration: none;
}   

.middle{
  position: absolute;
  top: 70px;
  left: 40px;
  transform: translate(-50%,-50%);
}  

.menu{
  width: 400px;
  border-radius: 8px;
  overflow: hidden; 
  position: absolute;     
  
}  
.item{
  border-top: 2px solid black;
  overflow: hidden;
}   

.btn_menu{
  display: block;
  padding: 10px 10px;
  background: #ff9906;
  color: black;
  position: relative;
}  

.btn_menu:before{
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ff9906;
  left: 20px;
  bottom: -7px;
  transform: rotate(45deg); 
  
}  
.btn_menu i{
  margin-right: 10px;
}  

.smenu{
  background: #333;
  overflow: hidden;
  transition: max-height 0.3s;
  max-height: 0;
}  

.smenu a{
  display: block;
  padding: 10px 10px;
  color: white;
  font-size: 13px;
  font-weight: normal;
  margin: 4px 0;
  position: relative; 
} 

.smenu a:before{
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  background: #ff9906;
  left: 0;
  top: 0;
  transition: 0.3s;
  opacity: 0;
}  

.smenu a:hover:before{
  opacity: 1;
}   

.item:target .smenu{
  max-height: 500em;
}

/*FIN MENU DESPLEGABLE*/  

/* Estilos mejorados para el dashboard */

.dashboard-header {
    background: linear-gradient(135deg, #1A2032 0%, #2D374D 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.status-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    border: none;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.status-card.good {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
}

.status-card.bad {
    background: linear-gradient(135deg, #C62828 0%, #F44336 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

.machine-name {
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 15px;
    color: white;
    text-align: center;
}

.machine-info {
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    color: white;
}

.machine-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.kpi-container {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}

.kpi-box {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    margin: 0 5px;
    background: rgba(0,0,0,0.2);
}

.kpi-box.good {
    background: rgba(255,255,255,0.2);
}

.kpi-box.bad {
    background: rgba(0,0,0,0.4);
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.kpi-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    text-transform: uppercase;
}

.last-update {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    color: white;
}

.detail-panel {
    background: rgba(0,0,0,0.9);
    border-radius: 8px;
    padding: 20px;
    color: white;
    max-height: 80vh;
    overflow-y: auto;
}

/* Efectos para las tarjetas */
.status-card {
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 45%,
        rgba(255,255,255,0.05) 48%,
        rgba(255,255,255,0) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.3s;
}

.status-card:hover::before {
    left: 100%;
    top: 100%;
}

/* Responsividad */
@media (max-width: 768px) {
    .machine-name {
        font-size: 1.5rem;
    }
    
    .kpi-value {
        font-size: 1.5rem;
    }
    
    .machine-info p {
        font-size: 0.8rem;
    }
    
    .kpi-label {
        font-size: 0.7rem;
    }
}








