@media print {
    .ui-panel {
        display: none;
    }
    #header.ui-header {
        left:0;
    }
    .ui-panel-wrapper {
        left:0;
    }
    #content {
        margin-right:0 !important;
    }

    .ui-table-columntoggle.ui-responsive th, .ui-table-columntoggle.ui-responsive td {
        display: table-cell;
    }
    .ui-table-columntoggle-btn {
        display: none;
    }

    form {
        display: none;
    }
    .ui-collapsible-collapsed {
        display: none;
    }
    #header {
        top: 0;
        position: absolute;
    }
    * {
        color:black !important;
    }
    .noprint {
        display: none;
    }

}
table{
    table-layout: fixed;
}
/*@media (min-width:480px){

	#header h1 {
		margin-left:35px;
	}

}*/
.ui-panel.ui-panel-open {
        position:fixed;
    }
    .ui-panel-inner {
        position: absolute;
        top: 1px;
        left: 0;
        right: 0;
        bottom: 0px;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .ui-panel-inner::-webkit-scrollbar { 
    display: none; 
}

    #header {
	overflow: hidden;
}

#content {
	padding:2em;
}

#menu ul li b {
	color: rgb(51, 51, 51);
	letter-spacing: 0.07em;
	text-transform: uppercase;
}
#menu ul li a {
    color: white;
    font-weight: 500;
    padding-top: 1em;
    padding-bottom: 1em;
    font-size: 1.0em;
}
/*
#menu ul li a:hover {
    color: rgb(51, 51, 51);
    background-color:#e2f0b6;
}
*/

#spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px; /* Half the height */
    margin-left: -25px; /* Half the width */
}
#menu ul li a:active {
    color: rgb(51, 51, 51);
    background-color:#e2f0b6;
}
.uppercase {
    text-transform: uppercase;
}
.incorrecto {
    color:red !important;
}
.correcto {
   color:rgb(133, 216, 122) !important;
}
.action a i.Icon {
    font-size:1.5em;
    margin-left:0.5em;
}
.action a:first-of-type i.Icon {
    margin-left:0em;
}
.btn-add {
    float:left;
}
.popup {
    background-color:#FA6565;
    border:2px solid #FA6565;
}
.popup h1 {
    margin: 0 1em;
    color: white;
}
.popup p {
    font-weight: 300;
}
.caravana_estancia .ui-select {
    float:left !important;
    width:35% !important;
}
.caravana_estancia .ui-input-text {
    float:right !important;
    width: 9em !important;
}
.caravana_estancia2 .ui-select {
    float:left !important;
    width:30% !important;
    margin-right:1em !important;
}
.caravana_estancia2 .ui-input-text {
    float:right !important;
    width:12% !important;
}

#c_raza {
    display: block;
    font-weight: bold;
    clear: both;
    float: right;
}
.ver li .ui-state-disabled {
    opacity: 1 !important;
}
.animal-ver-collapsible.no-columnas .ui-table-columntoggle-btn {
    display: none !important;
}
#tratamientos #fecha textarea {
    padding: 0.4em 0.4em !important;
    cursor:pointer;
    border: none;
}
#divTratamiento #fecha textarea {
    padding: 0.4em 0.4em !important;
    cursor:pointer;
    border: none;
}
#tratamientos #fecha .ui-input-text {
    border: none;
}
#tratamientos #tratamiento button {
    border: 1px solid #CCC;
}
form#permisos h2 {
    font-size: 18px;
    font-weight: bold;
}

form.libro_ventas .ui-select {
    width: 14em;
    float: left;
}
form.libro_inventario .ui-select{
    width: 14em;
    float: left;
    margin-right:1em;
}
form button#send {
    width: 10em;
    float: left;
    margin-right:1em;
}
form.libro_inventario .ui-input-text{
    width: 8em;
    float: left;
    margin-right:1em;

    background-color: rgba(0,0,0,0.1);
    border-top: 0px solid rgba(255,255,255,0.6);
    border-bottom: 0px solid rgba(255,255,255,0.3);
    border-right: 0px solid rgba(255,255,255,1);
    font-weight: 400;    
    padding:0.25em 2em;
    padding-right: 1em;
    cursor: pointer;
}

form.libro_inventario .ui-input-text:hover {
    color: #ffffff;
    background-color: #33B5E5;
}
form.libro_inventario .ui-input-text .datepicker {
    border: none;     
}
.datepicker.date {
    cursor: pointer;
}
#div_datepicker_month  .ui-select { width: 35%; float:left; }
#div_datepicker_year   .ui-select { width: 35%; float:right; }
#ui-datepicker-div {
    z-index: 9999 !important;
}
.datechecker label {
    font-size: 1.2em !important;
}
#frmAnimalAgregar {
    margin-top: -1.5em;
    margin-left: -1.5em;
    margin-right: -7em;
}
#frmAnimalAgregar ul li label.label,
#frmAnimalAgregar ul li fieldset .ui-controlgroup-label {
    width: 8em;
}
#frmAnimalAgregar ul li.inline fieldset {
    float: left;
    display: inline-flex;
    width: 21em;
}

/* pagina reporte de ecografias */

#dvBtnImprimir {
    clear:both;
    text-align:center;
}

#dvBtnImprimir > .btnGrisAzul {
    position:relative;
    top:-63px;
}

.btnGrisAzul {
    display:inline-block;
    padding:14px 23px;
    background-color:#EDEDED;
    font:400 18px Roboto;
    color:rgb(105,105,105);
}

.btnGrisAzul:hover {
    background-color:#33B5E5;
    cursor:pointer;
    color:#FFF;
}

/* inventario */

.labelJ {
    float:left;
    margin:21px 15px 0 0;
}

.captJ {
    width:185px;
}

/* inventario - detalle animal */

.borderBox {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
}

#vtn_det_animal {
    position:relative;
    z-index:10000;
}

#tapar_fondo {
    position:fixed;
    top:0;left:0;right:0;bottom:0;
    background:#FFF;
    opacity:0.8;
}

#cargando_det_animal {
    position:fixed;
    top:0;left:0;bottom:0;right:0;
    background: url(images/spinner.gif) 0/60px 60px no-repeat;
    width:60px;
    height:60px;
    margin:auto;
}

#dvDetalleAnimal {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    position:fixed;
    width:80%;
    height:360px;
    top:0;left:0;right:0;bottom:0;
    margin:auto;
    
    /* vieja forma de centrear
    
    top:50%;
    left:50%;
    transform: translate(-50%, -60%);
    -webkit-transform: translate(-50%, -60%);
    -ms-transform: translate(-50%, -60%);
    */
    background:#FFF;
    padding:15px 20px 20px 20px;
    white-space:nowrap;
    box-shadow: 0px 0px 10px #999;
    font-family:Roboto, sans-serif;
    font-size:14px;
    color: rgb(105, 105, 105);
    text-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
}

#cerrar_vtn {
    position:fixed;
    top:10px;
    right:6px;
}

#cerrar_vtn:before {
    display:block;
    width:25px;
    height:25px;
    font:22px FontAwesome;
    content: "\f00d";
}

#cerrar_vtn:hover {
    cursor:pointer;
}

#dvDetalleAnimal table {
    table-layout: fixed;
}

#nomDetAnimal {
    display:inline-block;
    font:bold 19px Roboto, sans-serif;
    margin:7px 0 15px 0;
}

#ver_ficha_animal {
    margin-left:10px;
    color: rgb(51, 181, 229);
}

#dvTables {
    width:100%;
}

.dvTable {
    vertical-align:top;
    font-size:14px;
}

.dvTable > table {
    width:100%;
    border-collapse:collapse; 
}

.dvTable > table td b {
    font-weight:600;
}

.dvTable > table > thead > tr:first-child {
    border-bottom:1px solid #CCC;
}

.dvTable > table > tbody > tr:first-child > td {
    padding-top:9px;
}

.dvTable > table > tbody td:first-child {
    padding-left:10px;
}

.dvTable > table > tbody td {
    padding:7px;
    white-space: normal;
    word-break: break-word;
}

#dvTablePesos {
    border-width:0 1px 0 1px;
    border-style:solid;
    border-color:#CCC;
}

#car_det_animal {
    word-break:break-all;
}

#tbl_datos {
    width:33%;
}

#tbl_pesos {
    width:33%;   
}

#tbl_ecos {
    width:33%;
}

.tlo_det_animal {
    text-align:center;
    padding-bottom:7px;
}