html, body{
	height:100%;
	font-family:"Open Sans",Helvetica,Arial,sans-serif;
	font-size:10.5pt;
	line-height:175%;
	background:#fff;
	letter-spacing:normal;
	background-image:url(../images/bkg-gris.png);
	background-repeat:repeat-x;
	background-position: top left;
}


div.bkg {
    background-image: url(../images/login_bkg.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 96%;
    height: auto;
    /*max-height: 800px;*/
    min-height: 300px;
}


h1 {
	font-size: 1em;
	font-weight: 400;
	color: #525252;
	margin-top:.2em;
	padding-top:.3em;
	padding-bottom:0em;
}

.top45em {
	margin-top:4.5em;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
	margin: 0 auto;
	height: auto;
    min-height: 50px;
    background-color: #f3f3f3;
	border-top:1px solid #ccc;
	text-align:center;
	padding-top:10px;
	font-size: .9em;
}

p.footertxt {
	color:#1A1A1A;
}

img.bloque-titulo {
	width: 90%;
	max-width: 500px;
	margin-top:25%;
}

@media (max-width: 2560px) {
    .footer {
        position: absolute;
    }

    div.bkg {
        min-height: 915px;
    }
}

@media (max-width: 1650px) {
    .footer {
        position: absolute;
    }

    div.bkg {
        min-height: 700px;
    }
}

@media (max-width:1400px) {
div.bkg {	
	min-height:700px;
}
    .footer {
        position: absolute;
    }

}


@media (max-width: 1155px) {
    .footer {
        position: absolute;
    }

div.bkg {	
	min-height:600px;
	
}

img.bloque-titulo {
	width: 90%;
	max-width: 400px;
	margin-top:15%;
}

}


@media (max-width: 996px) {
	div.bkg {	
	height:auto;
	min-height:400px;
	
}
	
}



@media (max-width: 768px) {
div.bkg {
	background-size: 96%;
	height:auto;
	min-height:100px;
}

  
}

@media (max-width: 480px) {
div.bkg {	
	height:auto;
	min-height:300px;
	background-size: 100%;
}
    .footer {
        position: relative;
    }
}


/*----- Formulario I -----*/

.form-bkg {
	background-color:#FFF;
	border:none;
	border-radius:10px;
}

.form-control-static {
  min-height: 34px;
  padding-top: 7px;
  padding-bottom: 7px;
  margin-bottom: 0;
}
.form-control-static.input-md {
  padding-right: 0;
  padding-left: 0;
}
.input-md {
  height: 30px;
  padding: 5px 10px;
  font-size: .9em;
  line-height: 1.5;
  border-radius: 4px;
}
select.input-md {
  height: 30px;
  line-height: 30px;
}
textarea.input-md,
select[multiple].input-md {
  height: auto;
}
.form-group-md .form-control {
  height: 30px;
  padding: 5px 10px;
  font-size: 1em;
  line-height: 1.5;
  border-radius: 4px;
}
.form-group-md select.form-control {
  height: 30px;
  line-height: 30px;
}
.form-group-md textarea.form-control,
.form-group-md select[multiple].form-control {
  height: auto;
}
.form-group-md .form-control-static {
  height: 30px;
  min-height: 32px;
  padding: 7px 10px;
  font-size: 1em;
  line-height: 1.5;
}


img.logo {
	width: 80%;
	max-width: 300px;
	margin-top:20%;
}

.top45em {
	margin-top:4.5em;
}

.derecha {
	text-align: right;
}

a.acceso {
	font-size: .9em;
}


@media (max-width: 996px) {
	.top45em {
		margin-top:4em;
	}
	
	img.logo {
		width: 55%;
		max-width: 300px;
		margin-top:8%;
	}
	
}

@media (max-width: 768px) {
	.top45em {
		margin-top:5em;
	}
	
	img.logo {
		width: 50%;
		max-width: 200px;
		margin-top:4%;
	}
	
	.acceso-bloque {
		background-color: #FFF;
		border: 1px solid #ddd;
		padding-top: 6px;
		padding-bottom: 2px;
		border-radius: 6px;
		margin-bottom: 2em;
		margin-right: 1em;
	}
	
	.control-label {
		font-size: .9em;
	}
	a.acceso {
	font-size: .8em;
}
}

@media (max-width: 480px) {
	.top45em {
		margin-top:4em;
	}
	
	img.logo {
		width: 45%;
		max-width: 200px;
		margin-top:4%;
	}
	
	a.acceso {
	font-size: .8em;
}
	
}
