* { margin: 0; padding: 0; }

@font-face {
    font-family: open;
    src: url(fonts/OpenSans-Regular.ttf);
}

body {
    margin: 0;
    padding: 0;
    font-family: open, Arial, sans-serif;
    font-size: 10px;
    background-color: #444;
    width:100%;
}

/* GENERAL */
a, a:hover, a:visited { text-decoration: none; color: inherit;}

h1 {
    color: #444;
    text-align: center;
}

h2 {
    color: #444;
    text-align: center;
}

input[type='date'] { width: 130px; }
input[type='number'] { width: 50px; }
.inputNombre { width: 350px; }

.body {
    width: 100%;
    margin: 31px auto;
}

.boto {
   /* display: inline-block;
    font-size: 12px;
    margin: 0 10px;*/
    cursor: pointer;
    /*color: white;*/
}

.boto2 {
    display: inline-block;
    background-color: #888;
    border: 1px solid black;
    border-radius: 3px;
    font-size: 12px;
    padding: 3px;
    margin: 10px auto;
    cursor: pointer;
    color: white;
    box-shadow: 3px 3px 3px #444;
}

.boto1 {
    display: inline-block;
    background-color: #888;
    border: 1px solid black;
    border-radius: 3px;
    font-size: 12px;
    padding: 3px;
    margin: 10px auto;
    cursor: pointer;
    color: red;
    box-shadow: 3px 3px 3px #444;
}

.boto1 a {
    color: red;
}

.boto2 a {
    color: white;
}

.boto2:hover, .boto1:hover {
    background-color: #444;
    box-shadow: none;
}

.boto2.actiu, .boto1.actiu {
    background-color: darkred;
    color: white;
}

.boto {
    cursor: pointer;
}

.boto:hover {
    background-color: rgba(0,0,0,.4);
}

.rojo {
    color: red !important;
    padding: 0 10px;
}

.dreta { float: right; }
.esquerra { float: left; }
.canvas {	
    background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%);
    border: 1px solid #444;
    border-radius: 3px;
}

.editaNombre, .editaApellidos, .editaDireccion, .editaPoblacion {
    width: 350px;
}

.editaPais {
    width: 292px;
}

.editaTelefono, .editaCodigoME {
    width: 150px;
}

.editaGEMEO {
	width: 250px;
}

.editaDNI {
		width: 80px;
}

.editaCP {
    width: 50px;
}

.editaBanco {
    width: 40px;
}

.editaDto {
    width: 30px;
    text-align: right;
}

.editaMinimo {
    width: 40px;
    text-align: right;
}

.editaControl {
	width: 20px;
}

.editaCuenta {
	width: 100px;
}

.grabar {
    background-color: darkred;
    color: yellow;
}

.tarifa {
    width: 60px;
    text-align: right;
}

.none {
    display: none;
}

.block {
    display: block;
}

/* TOP */
#top {
    position: fixed;
    padding: 0;
    border-bottom: 1px #eee solid;
    height: 30px;
    top: 0px;
    z-index: 999;
    background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%);
    border-bottom: 1px solid #888;
    width: 100%;
}

ul.menuTop {
	float: right;
}

#user {
	display: inline-block;
	float: right;
	line-height: 30px;
	vertical-align: middle;
}

.menuTop li {
	float: left;
	line-height: 30px;
	vertical-align: middle;
	list-style: none;
    border: 1px solid #444;
    padding: 4px;
    margin-right: 10px;
    width: 100px;
    text-align: center;
    line-height: 16px;
    vertical-align: middle;
    border-radius: 3px;
    background: linear-gradient(to bottom, #cccccc 0%, #eeeeee 100%);
    cursor: pointer;
    box-shadow: 2px 2px 2px gray;
    z-index: 999;
}

#logo {
    position: relative;
    left: 0;
}
/*
#user {
    position: relative;
    width: 100%;
    text-align: right;
    line-height: 30px;
    vertical-align: middle;
}*/

#login {
    background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%);
    width: 250px;
    height: 150px;
    margin: 0 auto;
    border: 1px solid #888;
    border-radius: 3px;
}

table {
    margin: 0 auto;
    padding: 0;
    /*width: 100%;*/
    border-collapse: collapse;
}

th
{
    background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%);
    padding: 2px;
}

td {
    font-size: 11px;
}

.dades tr:nth-child(odd) {
    background-color: #fff;
}
.dades tr:nth-child(even) {
    background-color: #ddd;
}

.dades td {
    border-right: 1px solid #bbb;
    padding: 2px 4px;
}

.dades td:last-child {
    border-right: none;
    padding: 2px 4px;
}

/* COS */
#contingut {
    position: absolute;
    top: 31px;
    width: 75%;
    right: 0;
}

/* MENU ESQUERRA. GESTIONS */
#lateral {
    position: absolute;
    top: 31px;
    float: left;
    background: linear-gradient(#444, #666);
    border-right: 1px solid #eee;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#menu {
    padding: 0;
    left: 0;
    margin-top: 1px;
    width: 100%;
}

#menu .dades {
    height: 350px;
    overflow-y: auto;
}

#lateralNuevoPropietario, #lateralNuevaUbicacion, #lateralNuevoSoporte, #lateralNuevoCircuito {
    float: right;
}

.ui-front {
	z-index: 999999999;
}

#resizeRight {
	font-size: 20px;
	position: absolute;
	margin-left: 2px;
	left: 100%;
	z-index: 99;
	cursor: pointer;
}

#working {
	z-index: 999;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -50px;
	margin-bottom: -50px;
	width: 100px;
	height: 100px;
	border-left: 16px solid #eee;
	border-right: 16px solid #eee;
	border-top: 16px solid #ccc;
	border-bottom: 	16px solid #ccc;
	font-size: 60px;
	border-radius: 50%;
    animation: spin 2s linear infinite;
}

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