
body
{
 		margin:0 auto;
 		padding:0px;
 		text-align:center;
 		width:100%;
 		font-family: "Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
 		/*background-color:#ECF0F1;*/
 		background-color:#424949;
}
#main {
		-webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 50%;
    padding: 20px;
    width: 100%;
	height: 100%;
}		
#submitFichaje {
		display: none;
}
#dvsup {
	width: 100%;
	display: -webkit-flex;
  	-webkit-flex-flow: row;
  	display: flex;
  	flex-flow: row;
	background-color: #d5d5d5;
	align-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 1.2vw;
}
#botonera {
	background-color: #424949;
	align-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 1.2vw;
	height: 22vw;/***AG-8419 - reduzco de 25vw a 22vw para dejar algo más de espacio por debajo*/
}
.dvBotonera {
	min-width: 100%;
  	align-self: auto;
  	height: 17%;
  	margin-top: 1.2%;
}
.btnBotonera {
	width: 100%;
	height: 100%;
	color: white;
	font-weight: bold; 
	cursor: pointer;
	border: none;
	font-size: 1.2vw;
	padding: 1vw;
	margin-top: 2vw;
}
.btnBotonera2 {
	width: 49%;
	height: 100%;
	color: white;
	font-weight: bold; 
	cursor: pointer;
	border: none;
	font-size: 1.2vw;
	padding: 1vw;
	margin-top: 2vw;
	margin-right: 0.5%;
}
.txtMuestra {
	  color: #424949;
	  font-size: 1vw;
}
#btnIDescanso {
	background-color: #66bb6a; 
}
#btnIDescanso:hover {
	background-color: #81c784; 
}
#btnSalida {
	background-color: #5d4037; 
}
#btnSalida:hover {
	background-color:#6d4c41; 
}
#btnEntrada {
	background-color: #1b5e20; 
}
#btnEntrada:hover {
	background-color: #2e7d32; 
}
#btnFDescanso {
	background-color: #8d6e63; 
}
#btnFDescanso:hover {
	background-color: #bcaaa4; 
}
#btnC1 {
	background-color: #d59617;
	color: #3D3D3D;
}
#btnC2 {
	background-color: #eac57b;
	color: #3D3D3D;
}
#btnC1:hover {
	background-color: #d3be94;
	color: #222222;
}
#btnC2:hover {
	background-color: #ecd7ae;
	color: #222222;
}
#btnIF {
	background-color: #8febff;
	color: #222222;
}
#btnFF {
	background-color: #007cc7;
	color: #fffbb0;
}
#btnIF:hover {
	background-color: #4ed6f5;
	color: #5e5d5d;
}
#btnFF:hover {
	background-color: #014d7c;
	color: #f5f3c9;
}
/**AG-8419 - Estilos de los nuevos botones:*/
#btnIE,#btnIPausa { /** AG-8711 - Añado botón nuevo VET Descanso **/
	background-color: #6d466b;
	color: white;
}
#btnIE:hover,#btnIPausa:hover { /** AG-8711 - Añado botón nuevo VET Descanso **/
	background-color: #886a86;
	color: whitesmoke;
}
#btnFE,#btnFPausa { /** AG-8711 - Añado botón nuevo VET Descanso **/
	background-color: #b49fcc;
	color: rgba(17, 27, 19, 0.591);
}
#btnFE:hover,#btnFPausa:hover { /** AG-8711 - Añado botón nuevo VET Descanso **/
	background-color: #cb9eff;
	color:  rgba(8, 22, 11, 0.591);
}
/*******/
#frm_fichajes {
	width: 100%;
}
#dvsup .colflex1 {
	-webkit-flex: 0 1 auto;
  	flex: 0 1 auto;
  	min-width: 27%;
  	align-self: auto;
}
#dvsup .colflex2 {
	-webkit-flex: 0 1 auto;
  	flex: 0 1 auto;
  	min-width: 63%;
  	align-self: auto;
}
#dvsup .colflex3 {
	-webkit-flex: 0 1 auto;
  	flex: 0 1 auto;
  	min-width: 10%;
	align-self: auto;
	background-color: #fff; 
	height: 3.9vw; 
}
#config {
	width: 100%;
	border: none;
	background-color: #fff;
	align-self: auto;
	cursor: pointer;
}
#config:hover {
	filter: sepia(60%);
}
#config img {
	width: 4vw;
	height: 3.8vw;
	border: none;
	align-self: auto;
}

.dvFullWidth {
	width: 100%;
	font-size: 1.2vw;
	background-color: #616A6B;
	color: white;
	font-weight: bold;
}
.fullHeight {
	height: 100%;
}
#logoff {
	width: 100%;
	max-height: 4vw;
	line-height: 4vw;
	background-color:  #3f51b5; 
	color: white;
	font-weight: bold; 
	cursor: pointer;
	border: none;
	font-size: 1.2vw;
}
#logoff:hover {
	background-color:  #c5cae9;
}

#dvEstado {
	margin-top: 4vw;
	margin-bottom: 6vw;/** AG-8419 - Modifico de 10vw a 6vw para que los botones no queden tan bajos y no haya que hacer scrolling*/
}
#txtEstado {
	font-weight: bold;
	color: white;
	font-size: 1.2vw;
	font-weight: bold;
	color: white;
}
#error {
	margin: 1vw;
	background-color: #ffcdd2; 
	max-height: 2vw;
	font-size: 1.4vw;
	font-weight: bold;
}
.clear {
	clear: both;
}
#wrapper
{
 	margin: 15% auto;
 	padding:0px;
 	text-align:center;
 	width:995px;
}
#wrapper h1
{
 	margin-top:50px;
 	font-size:45px;
 	color:#424949;
}
#wrapper h1 p
{
	font-size:18px;
}
.form_div,#primerIngreso,.form_divC
{
	width:330px;
	margin-left:320px;
	padding:10px;
	background-color:#d5d5d5;
}
#primerIngreso {
	font-size: 14px;
	font-weight: bold;
	color: #d5d5d5;
	
	background-color: #1e2d2c;
}
.dvformdiv {
	position: relative;
	height: 80%;
}
.form_div {
	position: absolute;
	left: 0%;
	/*top: -40%;*/
	/*z-index: 2;*/
}
#dvIcono {
	position: absolute;
	left: 20%;
	top: -6%;
	z-index: 1;
}
#menuIcon {
	height: 100px;
	width: 200px;
}
.form_div .form_label, .form_divC .form_label
{
	margin:15px;
	margin-bottom:30px;
	font-size:20px;
	font-weight:bold;
	color: #424949;
	text-decoration:underline;
}
.form_div .form_label_sub,.form_divC .form_label_sub {
	margin:5px;
	/*margin-bottom:30px;*/
	font-size:14px;
	font-weight:bold;
	color: #424949;
	text-decoration:none;
}
.form_div input[type="text"],input[type="password"],.form_divC input[type="text"]
{
	width:230px;
	height:40px;
	border-radius:2px;
	font-size:17px;
	padding-left:5px;
	border:none;
	background-color: white;
}
.form_div input[type="submit"],#btnLogin,.form_divC input[type="submit"]
{
	width:230px;
	height:40px;
	border:none;
	border-radius:2px;
	font-size:17px;
	background-color:#7F8C8D;
	border-bottom:3px solid #616A6B;
	color:white;
	font-weight:bold;
	cursor: pointer;
}
#pwrd 
{
	-webkit-text-security: disc;
}
.stealthy {
  	left: 0;
  	margin: 0;
 	max-height: 1px;
 	max-width: 1px;
 	opacity: 0;
  	outline: none;
  	overflow: hidden;
  	pointer-events: none;
 	position: absolute;
  	top: 0;
  	z-index: -1;
}
.close {
	position: relative;
}
.close .closeButton {
	background:url(img/close.png) no-repeat;
	width:26px;
	height:26px;
	top:-109px;
	right:-10px;
	position:absolute;
	cursor:pointer;
}
@media only screen and (min-width:700px) and (max-width:995px)
{
	#botonera {
		width: 50%;
		margin: 16.5vw auto;/***AG-8419 se arregla esta media query*****/
	}
	.dvBotonera {
		height: 6vw;
		margin-top: 1.5vw;
	}
	#wrapper
	{
		width:100%;
	}
	#wrapper h1
	{
		font-size:30px;
	}
	.dvFullWidth {
		font-size: 2vw;
	}
	#dvIcono {
		position: absolute;
		left: 13%;
		top: -3%;
		z-index: 1;
	}
	#menuIcon {
		height: 87px;
		width: 174px;
	}
	.form_div,#primerIngreso,.form_divC
	{
		width:50%;
		margin-left:25%;
		padding-left:0px;
		padding-right:0px;
	}
	.form_div input[type="text"],input[type="password"],.form_divC input[type="text"]
	{
		width:80%;
	}
	.form_div textarea,.form_divC textarea
	{
		width:80%;
	}
	.form_div input[type="submit"],#btnLogin,.form_divC input[type="submit"]
	{
		width:80%;
	}
	.btnBotonera,.btnBotonera2 {
		font-size: 2vw;
		padding: 2vw;
		margin-top: 1.5vw;
		margin-bottom: 1.5vw;
	}
	.txtMuestra {
	  	font-size: 1.5vw;
	}
	#dvsup {
		font-size: 1.8vw;
	}
	#logoff {
		font-size: 1.8vw;
		max-height: 3.5vw;
		line-height: 3.5vw;
	}
	#txtEstado {
		font-size: 2.3vw;
		line-height: 3vw;
		max-height: 3vw;
	}
	#error {
		font-size: 2.5vw;
		line-height: 3vw;
		max-height: 3vw;
	}
	#dvsup .colflex1 {
		-webkit-flex: 0 1 auto;
  		flex: 0 1 auto;
  		min-width: 27%;
  		align-self: auto;
  		height: 3.5vw;
  		line-height: 3.5vw;
	}
	#dvsup .colflex2 {
		-webkit-flex: 0 1 auto;
  		flex: 0 1 auto;
  		min-width: 63%;
  		align-self: auto;
  		height: 3.5vw;
  		line-height: 3.5vw;
	}
	#dvsup .colflex3 {
		-webkit-flex: 0 1 auto;
  		flex: 0 1 auto;
  		min-width: 10%;
		align-self: auto;
		background-color: #fff; 
		height: 3.5vw; 
		line-height: 3.5vw;
	}
	#config img {
		width: 4vw;
		height: 3.5vw;
		border: none;
		align-self: auto;
	}
	.close .closeButton {
		background:url(img/close.png) no-repeat;
		width:26px;
		height:26px;
		top:-109px;
		right:-2px;
		position:absolute;
		cursor:pointer;
	}
}
@media only screen and (min-width:400px) and (max-width:699px)
{
	#botonera {
		width: 100%;
		margin: 20vw auto; /***AG-8419 se arregla esta media query*****/
	}
	.dvBotonera {
		height: 6vw;
		margin-top: 3vw;
	}
	#wrapper
	{
		width:100%;
	}
	#wrapper h1
	{
		font-size:30px;
	}
	.dvFullWidth {
		font-size: 2.5vw;
	}
	.form_div,#primerIngreso,.form_divC
	{
		width:60%;
		margin-left:20%;
	}
	.form_div input[type="text"],input[type="password"],.form_divC input[type="text"]
	{
		width:80%;
	}
	.form_div input[type="submit"],#btnLogin,.form_divC input[type="submit"]
	{
		width:80%;
	}
	.btnBotonera,.btnBotonera2 {
		font-size: 3vw;
		padding: 0vw;
		max-height: 6vw;
		line-height: 6vw;
		margin-top: 2vw;
		margin-bottom: 2vw;
	}
	.txtMuestra {
		font-size: 2.3vw;
	}
	#dvsup {
		font-size: 2.3vw;
		height: 5vw;
	}
	#logoff {
		font-size: 2.3vw;
		line-height: 5vw;
		max-height: 5vw;
	}
	#txtEstado {
		font-size: 3vw;
		max-height: 3.5vw;
		line-height: 3.5vw;
	}
	.close .closeButton {
		top:-31vw;
		right: 3vw;
	}
	#error {
		font-size: 3vw;
		max-height: 4vw;
		line-height: 4vw;
	}
	#dvsup .colflex3 {
		-webkit-flex: 0 1 auto;
		flex: 0 1 auto;
		min-width: 10%;
		align-self: auto;
		background-color: #fff; 
		height: 5vw; 
		line-height: 5vw;
	}
	#config img {
		width: 4vw;
		height: 5vw;
		border: none;
		align-self: auto;
	}
	#dvIcono {
		position: absolute;
		left: 2%;
		top: -4%;
		z-index: 1;
	}
	#menuIcon {
		height: 75px;
		width: 150px;
	}
}
@media only screen and (min-width:100px) and (max-width:399px)
{
	.dvFullWidth {
		font-size: 2.5vw;
	}
	#botonera {
		width: 100%;
		margin: 40vw auto; /***AG-8419 se arregla esta media query*****/
	}
	.dvBotonera {
		height: 12vw;
		margin-top: 4vw;
	}
	.btnBotonera {
		width: 100%;
		height: 100%;
		background-color:  #3f51b5; 
		color: white;
		font-weight: bold; 
		cursor: pointer;
		border: none;
		font-size: 4vw;
		padding: 4vw;
	}	
	.btnBotonera2 {
		width: 49%;
		height: 100%;
		background-color:  #3f51b5; 
		color: white;
		font-weight: bold; 
		cursor: pointer;
		border: none;
		font-size: 4vw;
		padding: 4vw;
		margin-right: 0.5%;
	}
	#wrapper
	{	
		width:100%;
	}
	#wrapper h1
	{
		font-size:25px;
	}
	.form_div,#primerIngreso,.form_divC
	{
		width:90%;
		margin-left:5%;
		padding-left:0px;
		padding-right:0px;
	}
	
	.form_div input[type="text"],input[type="password"],.form_divC input[type="text"]
	{
		width:80%;
	}
	.form_div input[type="submit"],#btnLogin,.form_divC input[type="submit"]
	{
		width:80%;
	}
	#dvsup {
		font-size: 1.8vw;
		height: 5vw;
	}
	.txtMuestra {
		font-size: 3.3vw;
	}
	#logoff {
		font-size: 1.8vw;
		max-height: 5vw;
		line-height: 5vw;
	}
	#txtEstado {
		font-size: 2.3vw;
	}
	#error {
		font-size: 2.3vw;
		line-height: 3vw;
		max-height: 3vw;
	}
	#dvsup .colflex3 {
		-webkit-flex: 0 1 auto;
		flex: 0 1 auto;
		min-width: 10%;
		align-self: auto;
		background-color: #fff; 
		height: 5vw; 
		line-height: 5vw;
	}
	#config img {
		width: 4vw;
		height: 5vw;
		border: none;
		align-self: auto;
	}
	.close .closeButton {
		top:-28vw;
		right: 0vw;
	}
}
@media only screen and (min-width:100px) and (max-width:260px) {
	#dvIcono {
		position: absolute;
		left: -17%;
		top: -5%;
		z-index: 1;
	}
	#menuIcon {
		height: 50px;
		width: 100px;
	}
}
@media only screen and (min-width:261px) and (max-width:399px) {
	#dvIcono {
		position: absolute;
		left: -17%;
		top: -4.8%;
		z-index: 1;
	}
	#menuIcon {
		height: 70px;
		width: 140px;
	}
}
@media only screen and (min-width:995px) and (max-width:1080px)
{
	.dvFullWidth {
		font-size: 2vw;
	}
	.txtMuestra {
		font-size: 0.9vw;
	}
	#botonera {
		width: 50%;
		margin: 0vw auto;
	}
	.dvBotonera {
		height: 4.3vw;
		margin-top: 1vw;
	}
	.btnBotonera,.btnBotonera2 {
		font-size: 1.3vw;
		padding: 1.5vw;
	}
	#dvIcono {
		position: absolute;
		left: 21.5%;
		top: -4%;
		z-index: 1;
	}
	#menuIcon {
		height: 95px;
		width: 190px;
	}
}
@media only screen and (min-width:1080px) and (max-width:1599px)
{
	.txtMuestra {
	  	font-size: 0.8vw;
	}
	#dvIcono {
		position: absolute;
		left: 20%;
		top: -3%;
		z-index: 1;
	}
	#menuIcon {
		height: 100px;
		width: 200px;
	}
}
@media only screen and (min-width:1600px) and (max-width:1919px)
{
	.txtMuestra {
	  	font-size: 0.5vw;
	}
	#menuIcon {
		height: 100px;
		width: 200px;
	}
}
@media only screen and (min-width:1920px)
{
	.txtMuestra {
	  	font-size: 0.4vw;
	}
	#menuIcon {
		height: 100px;
		width: 200px;
	}
	#dvIcono {
		position: absolute;
		left: 20%;
		top: -4.5%;
		z-index: 1;
	}
}
@media only screen and (orientation: landscape) and (min-width:100px) and (max-width:260px) {
	#dvIcono {
		position: absolute;
		left: -17%;
		top: -20%;
		z-index: 1;
	}
	#menuIcon {
		height: 50px;
		width: 100px;
	}
}
@media only screen and (orientation: landscape) and (min-width:261px) and (max-width:399px) {
	#dvIcono {
		position: absolute;
		left: -13%;
		top: -17.2%;
		z-index: 1;
	}
	#menuIcon {
		height: 50px;
		width: 100px;
	}
}
@media only screen and (orientation: landscape) and (min-width:400px) and (max-width:699px) {
	#dvIcono {
		position: absolute;
		left: 6%;
		top: -7.5%;
		z-index: 1;
	}
	#menuIcon {
		height: 75px;
		width: 150px;
	}
}
@media only screen and (orientation: landscape) and (min-width:700px) and (max-width:995px) {
	#dvIcono {
		position: absolute;
		left: 14.6%;
		top: -6.9%;
		z-index: 1;
	}
	#menuIcon {
		height: 75px;
		width: 150px;
	}
}
@media only screen and (orientation: landscape) and (min-width:996px) and (max-width:1080px) {
	#menuIcon {
		height: 100px;
		width: 200px;
	}
	#dvIcono {
		position: absolute;
		left: 19.5%;
		top: -6.5%;
		z-index: 1;
	}
}
@media only screen and (orientation: landscape) and (min-width:1081px) and (max-width:1599px) {
	#menuIcon {
		height: 100px;
		width: 200px;
	}
	#dvIcono {
		position: absolute;
		left: 19.5%;
		top: -6.5%;
		z-index: 1;
	}
}
@media only screen and (orientation: landscape) and (min-width:1600px) and (max-width:1920px) {
	
}
@media only screen and (orientation: landscape) and (min-width:1921px) {
	
}