* {
	box-sizing: border-box;
}

body,html{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body{
	background-image: url(../bg.jpg);
	background-size: cover;
    font-family: Montserrat, sans-serif;
    background-repeat: no-repeat;
    background-position: center center;
}

body.login{
	background-image: none;
}

input, select, button, textarea{
	    font-family: Montserrat, sans-serif;
	    font-size: 1em;
	    border: 1px solid #ccc;
	    padding: 0.4em;
	    margin: 0;
}

a{
	color: #405d7d;
	text-decoration: none;
}

h1{
    margin: 0.5em 0 0.2em;
    color: #415d7e;
}

#viewport{
	position: absolute;
}

.login #viewport{
	position: absolute;
	background-image: url(../login-bg.jpg);
	background-size: cover;
}

/**/

#login-logo{
	position: absolute;
	top: 17em;
    left: 36em;
    width: 19em;
}

#login-form{
	background-color: rgba(255,255,255,0.8);
    position: absolute;
    top: 30em;
    left: 36em;
    padding: 1em;
    width: 20em;
    border-radius: 1em;
}

#login-form label{
	display: block;
}

#login-form input{
	display: block;
	width: 100%;
}

#login-form button{
	display: block;
	background-color: #4d5976;
	color: white;
}

/***/

.main-wrap{
    width: 98%;
    height: 64.5em;
    margin: 1%;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 1em;
    box-shadow: 1px 1px 11px 2px rgba(0, 0, 0, 0.28);
}

.main-logo{
	position: absolute;
    top: 5em;
    left: 4.5em;
    width: 7em;
}

.main-menu{
	position: absolute;
	top: 22em;
	left: 5em;
	width: 9em;
	z-index: 1000;
}

.main-menu .menu-item{
	margin: 0.5em 0;
    padding: 0.5em;
    width: 10.3em;
    border: 0.2em solid transparent;
}

.menu-item.active {
    background-color: white;
    border-top: 0.2em solid #415d7e;
    border-bottom: 0.2em solid #415d7e;
    border-left: 0.2em solid #415d7e;
    border-radius: 0.5em 0 0 0.5em;
}

.main-pane{
	
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0.7+21 */
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 21%, rgba(255,255,255,0.7) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0.7) 21%,rgba(255,255,255,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0.7) 21%,rgba(255,255,255,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b3ffffff',GradientType=1 ); /* IE6-9 */

	width: 82em;
	height: 58em;
	position: absolute;
	top: 5em;
	left: 15em;
	padding: 1em;
	border: 0.2em solid rgba(65, 93, 126, 0.77);;
	border-radius: 1em;
}

.user-bar{
	position: absolute;
    top: 2em;
    right: 3em;
}

.user-bar a{
	color: black;
	padding: 0 1em;
}

.main-footer{
	position: absolute;
    bottom: 1.7em;
    right: 3em;
}

/****/

    
table.grid{
	border-spacing: 0.2em;
}

table.grid *{
	padding: 0;
	margin: 0;
	border: 0;
}

table.grid .value{
	overflow: hidden;
	height: 1.6em;
	padding: 0.3em 0.3em;
	color: #1c1f23;
	max-width:100%;
	text-overflow: ellipsis;
}

table.grid tbody tr:nth-child(even) {
    background-color: rgba(161, 179, 199, 0.49);
}

table.grid input[data-field]{
	width: 100%;
	border: 1px solid #ccc;
    padding: 0.2em;
}

table.grid th {
    background-color: #b1bfd0;
    padding: 0.2em;
}

table.grid tbody td {
    cursor: pointer;
}

table.grid tbody tr:hover td {
    background-color: #4e6b8c;
    color: white;
}

table.grid tbody tr:hover .value {
    color: white;
}

.paginator{
	position: absolute;
	top: 2em;
	right: 1em;
}

.paginator input{
	width: 4em;
	text-align:center;
}

.result-count{
    position: absolute;
    top: 2.6em;
    left: 33em;
    color: #777;
}

button {
    font-family: Montserrat, sans-serif;
    font-size: 1.1em;
    padding: 0.2em;
    color: rgba(64, 89, 116, 1);
    border: 1px solid rgba(64, 89, 116, 1);
    border-radius: 1em;
    padding: 0.3em 0.5em;
    cursor: pointer;
    outline: none;
    background-color: #F0F0F0;
}

.main-loader{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding-top: 33em;
    z-index: 10000;
}

.main-loader .loader-message{
	background-color: white;
    padding: 1em;
    border-radius: 1.5em;
}

.main-report{
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.preview-tools {
    height: 3em;
    text-align: right;
    padding-right: 1em;
    padding-left: 1em;
    background-color: #ccc;
}

.preview-tools td:first-child{
	display: none;
}

#print-preview {
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    width: 100%;
    height: 62.5em;
    z-index: 11000;
}


#resumen-especies {
width: 30em;
    position: absolute;
    left: 45em;
    top: 32em;
}


#resumen-exams {
	width: 30em;
	position: absolute;
	left: 6em;
	top: 7em;
}

#resumen-profesionales {
	width: 30em;
	position: absolute;
	left: 45em;
	top: 7em;
}

#resumen-propietarios {
	width: 30em;
    position: absolute;
    left: 6em;
    top: 32em;
}


#resumenes-contenedor{

	height: 17em;
}

.tresumen tr:nth-child(even) td{
		background-color: #ddd;
	}
	
.tresumen td:nth-child(2) {
		text-align: center;
		width:13%;
		padding-top: 0.3em;
		padding-bottom: 0.2em;
		padding-left: 0.2em;
		padding-right: 0.2em;
	}	
	
	
.tresumen td:nth-child(1){
	    text-transform: capitalize;
		padding-top: 0.3em;
		padding-bottom: 0.2em;
		padding-left: 0.5em;
		padding-right: 0.4em;
	}	


