/* CSS Document */
@-ms-viewport {
  width: device-width;
}

* {
  box-sizing: border-box;
}

body {
  background-image: url("/imagenes/fondo.png");
  margin: 0;
  min-height: 100vh;
  font-family: 'Open Sans',sans-serif;
  font-size: 10pt;
  color: #999;
  text-rendering: optimizeLegibility;
  line-height: calc(1ex / 0.32);
  letter-spacing: 0.05em;
  overflow-y:scroll;
  display:flex;
}

.filtros {
	margin: 0px 8px 20px 8px;
  display:flex;
  align-items: center;
  border: thin solid #999;
}

a {
	cursor:pointer;
	text-decoration:none;
	color:#69c;
}

table {
  border-collapse: collapse;
  margin: 0px 0px 10px 0px;
}

.w100 {
  width: 100%;
}

.lista {
  background-color: #fff;
  border: thin solid #ccc;
}

.lista:hover {
  background-color: #fff6dd;
  color: #666;
  cursor: pointer;
}

.lista td {
  padding: 2px 10px 2px 10px;
  border: thin dotted #aaa;
}

.cabecera {
  background-color: #936;
  border: thin solid #936;
  color: #eee;
}

.cabecera td {
  padding: 2px 10px 2px 10px;
  border: thin dotted #d67;
}

.icono_accion {
  width: 40px;
  text-align: center;
}

button:hover {
	background-color: rgba(240, 195, 50, 0.7);
}

button:active {
	background-color: rgba(200, 100, 0, 0.2);
}

a button {
  display: inline-flex;
  align-items: center;
  color: #777;
  font-family: 'Open Sans',sans-serif;
  letter-spacing: 0.05em;
  padding: 6px;
	border-radius:4px;
	border:thin solid #999;
	background-color: rgba(240, 235, 230, 0.7);
  cursor: pointer;
  margin: 0px 0px 6px 0px;
  width: 180px;
  text-align: left;
}

a button label {
  cursor:pointer;
}

a button:hover {
  color:#666;
}

a button:active {
  color:#fff;
}

button img {
  height: 32px;
  margin: 0 10px 0 0;
}

label {
  margin: 4px 4px 0px 10px;
}

input:not([type]), input[type="text"], input[type="password"], input[type="email"] {
	font-family: 'Open Sans',sans-serif;
	font-size: 10pt;
	color:#333;
	background-color: #fff;
	padding: 4px 8px 4px 8px;
  margin: 4px;
	border: 1px solid #ccc;
	letter-spacing: 0.05em;
  width: 200px;
}

input[type="file"] {
	font-family: 'Open Sans',sans-serif;
	font-size: 10pt;
	color:#999;
	background-color: #fff;
  width: 360px;
	padding: 4px;
	border: 1px solid #ccc;
	letter-spacing: 0.05em;
}

input[type="file"]::file-selector-button {
  font-family: 'Open Sans',sans-serif;
  color: #999;
  letter-spacing: 0.05em;
  padding: 10px;
	border-radius:4px;
	border:thin solid #999;
	background-color: rgba(240, 235, 230, 0.7);
  cursor: pointer;
  margin: 0px 10px 0px 6px;
  text-align: left;
}

input[type="file"]::file-selector-button:hover {
	background-color: rgba(220, 120, 45, 0.7);
  color:#fff;
}

input[type="image"] {
  margin: 0px 10px 0px 10px;
  height: 32px;
}

select {
	font-family: 'Open Sans',sans-serif;
	font-size: 10pt;
	color:#999;
	background-color: #fff;
	padding: 4px;
	border: 1px solid #ccc;
	letter-spacing: 0.05em;
}

.menu {
  padding: 10px;
	margin: 10px 10px 100px 10px;
	border-radius:4px;
	border:thin solid #999;
	background-color: rgba(250, 245, 240, 0.7);
  display:flex;
  flex-direction: column;
}

.principal {
  flex-grow: 1;
  padding: 10px;
	margin: 10px 10px 100px 0px;
	border-radius:4px;
	border:thin solid #999;
	background-color: rgba(250, 245, 240, 0.7);
  /* box-shadow: 4px 4px 10px #111; */
}

.login {
	width: 100vw;
	margin: 20px 20px 100px 20px;
  padding: 10px;
	text-align: center;
	border-radius:4px;
	border:thin solid #999;
	background-color: rgba(250, 245, 240, 0.7);
	/* box-shadow: 4px 4px 10px #666; */
}

.logo {
  margin: 0px 0px 20px 0px;
  width: 180px;
}


@media only screen and (max-width: 1200px) and (orientation : portrait) {
  body {
    background-image: url("/imagenes/fondo.png");
    margin: 0;
    font-family: 'Open Sans',sans-serif;
    color: #333;
    overflow-y:scroll;
    display:flex;
    flex-direction: column;
  }

  .login {
    width: 90%;
    margin: 20px 20px 100px 20px;
    padding: 10px;
    text-align: center;
    border-radius:4px;
    border:thin solid #999;
    background-color: rgba(250, 245, 240, 0.7);
    /* box-shadow: 4px 4px 10px #666; */
  }
  
  .logo {
    visibility: hidden;
    width:0px;
  }

  .menu {
    min-width: 524px;
    padding: 8px;
    flex-direction: row;
    margin: 10px 10px 0px 10px;
  }

  .principal {
    min-width: 524px;
    padding: 10px;
    margin: 10px 10px 100px 10px;
    border-radius:4px;
    border:thin solid #999;
    background-color: rgba(250, 245, 240, 0.7);
    /* box-shadow: 4px 4px 10px #111; */
  }

  a button {
    padding: 8px;
    border-radius:8px;
    border:thin solid #999;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    margin: 4px;
    width: 64px;
  }

  button img {
    height: 48px;
    margin: 0;
  }

  a button label {
    visibility: hidden;
  }
}