@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

/* ===============================================================
   +++++++++++++++++++++++++ COLORES +++++++++++++++++++++++++++++
   =============================================================== */

:root {
  --principal: #6c2099;
  --secundario: #ac90bd;
}


/* ===============================================================
   +++++++++++++++++++++++++ GENERAL +++++++++++++++++++++++++++++
   =============================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: white;
  color: #3e3e41;
  margin: 0;
}

img {
  margin: 0px;
  padding: 0px;
  display: block;
}

a {
  text-decoration: none;
  color: black;
}

/* ===============================================================
   +++++++++++++++++++++++++ CABECERA +++++++++++++++++++++++++++++
   =============================================================== */

#cabecera {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  background: var(--principal);
  border-bottom:1px solid var(--secundario);
}

#cabecera .logo{
  display:flex;
  width: 80px;
  justify-content: center;
  align-content: center;
}

#cabecera .logo img {
  width:30px;
  filter: invert(100%)
}

#cabecera .logout img {
  width:20px;
  filter: invert(100%)
}

#cabecera .logout {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

#cabecera .menu {
  display: flex;
  align-items: flex-end;
  flex-grow: 2;
}

#cabecera .menu .active {
  background: rgba(255,255,255, 1);
}

#cabecera .menu .tab {
  padding:5px 10px 5px 10px;
  font-weight: bold;
  margin-right:8px;
  color: black;
  background: linear-gradient( rgba(255,255,255,0.90), rgba(255,255,255,0.75));
  text-decoration: none;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;

}


#cabecera .menu .tab:hover {
  border-top: 5px solid var(--secundario);
  border-left: 1px solid var(--secundario);
  border-right: 1px solid var(--secundario);
}


#cabecera .menu .activo {
  background: rgba(255,255,255,1);
  border-top: 1px solid var(--secundario);
  border-left: 1px solid var(--secundario);
  border-right: 1px solid var(--secundario);
  padding: 6px 10px 5px 10px;
  margin-bottom:-1px;
}

#cabecera h1 {
    font-size: 1.5rem;
}

/* ===============================================================
   ++++++++++++++++++++ CONTENEDOR PRINCIPAL +++++++++++++++++++++
   =============================================================== */

   #contenedor_main {
    padding: 2rem;
  }
  
  #contenedor_main h1 {
    margin-top: 0;
  }
  
  .contenedor {
    padding:50px;
  }
  

  /* ===============================================================
   +++++++++++++++++++++++ LISTA DE SERVIDORES +++++++++++++++++++++
   ================================================================= */

  .lista_servidores {
    
  }
  
  .ficha_servidor {
    margin-bottom:20px;
    border: 1px solid #ccc;

  }

  .ficha_servidor img {
    height: 1.2rem;
    padding: 0;
    margin: 0;
  }
  
  .servidor_header {
    display:flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
  }
  .estado_servidor {
    width:60px;
    height: 2rem;
  }
  .nombre_servidor {
    padding: 0.25rem 1rem;
    font-weight: bolder;
  }
  .editar_servidor {
    margin-left: auto;
    padding-right: 1rem;
    display: flex;
  }

    .editar_servidor a {
      padding-left: 10px;
    }

  
  .servidor_log {
    display:flex;
    align-items: center;
    padding: 0.25rem 1rem;
  }

  .log_icono {
    
  }

  .log_texto {
    padding: 0.25rem 0.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
  }
  
  
  .contenedor .servidor {
    display:flex;
    padding:60px;
    border: 2px solid var(--principal);
    border-top: 30px solid var(--principal);
    flex-direction: column;
  }
  
  .contenedor .servidor .titulo {
    display:flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
  }
  
  .contenedor .lista_servidores .True_enb {
    background: green;
  }
  
  .contenedor .lista_servidores .False_enb {
    background: red;
  }

  .contenedor .lista_servidores .True_dsb {
    background: rgb(191, 206, 189);
  }

  .contenedor .lista_servidores .False_dsb {
    background: rgb(224, 198, 198);
  }



/* ===============================================================
++++++++++++++++++++++++++++++ LOGS ++++++++++++++++++++++++++++++
================================================================= */

.lista_log {
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.3rem;
}
  
  

/* ===============================================================
   +++++++++++++++++++++++ CONTENEDOR LOGIN ++++++++++++++++++++++
   =============================================================== */


#contenedor_login {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: calc(100vh - 80px);
}


#contenedor_login form {
  display:flex;
  padding:80px;
  border: 2px solid var(--principal);;
  border-top: 30px solid var(--principal);;
}

#contenedor_login td {
  padding:5px;
}

#contenedor_login input[type=submit] {
  margin:5px;
}
