/*** Estilos generales ***/
*{
	margin: 0px;
	padding: 0px;
	font-family: Geneva,Arial,Helvetica,sans-serif;
	font-size: 8pt;
}
iframe{
	width: 100% !important;
	height: 100% !important;
	 border:none; 
}
body {
	font-family: Geneva,Arial,Helvetica,sans-serif;
	overflow: auto;
	height: 100%;
}

/* Para que se autoajuste los panels cuando crezca la informacion en el tab */
html{
	/*padding-bottom: 30px;*/
	overflow: auto;
}


/*** Estilos sobreescritos ***/
body.ui-layout-container{
	background: url("#{resource['images/degrade.gif']}") !important;
}
body.ui-layout-container .ui-widget-content {
	background: none;
}
.ui-tabs-nav{
	width: 100%;
	padding-right: 0px;
}
.ui-selectonemenu label.ui-selectonemenu-label {
    cursor: pointer;
}
.ui-tabs{
	height: 95%;
	border: none;
}
.ui-tabs-panels{
	width: 99%;
}
#tabs .ui-tabs-panels .ui-tabs-panel {
	padding: 0.4em 0em 0em 0.6em !important;
	background: #ffffff /*url("#{resource['images/logo-maia.png']}")*/ bottom no-repeat !important;
	background-position: 50% 200px !important;
}
.ui-tabs-panel {
	position: absolute;
	width: 99%;
	height: 99%;
	min-height: 250px;	
}
.centerLayout .ui-layout-unit-content{
	overflow: hidden !important;
}
.ui-button-text-icon-left .ui-button-text {
	height: 14px !important;
}
.ui-inputNum .ui-widget {
	text-align:right;
}
.ui-messages{
	min-height: 25px;
	margin-top: 3px;
	margin-bottom: 2px;
	margin-right: 15px;
}
.ui-messages-info, .ui-messages-warn, .ui-messages-error, .ui-messages-fatal {
	margin: 0px !important;
	padding: 8px 5px 5px 5px !important;
}
.ui-messages-info-icon, .ui-messages-warn-icon, .ui-messages-error-icon, .ui-messages-fatal-icon {
	margin-top: -7px !important;
}
.ui-panelgrid .ui-panelgrid-header {
	text-align: left !important;
}
.ui-panelgrid .ui-panelgrid-cell {
	border-width: 0px !important;
}

input.ui-inputfield, .ui-selectonemenu{
	height: 20px !important;
	padding: 0px 4px 0px 4px;
}
input.ui-state-disabled, input.ui-widget-content .ui-state-disabled, input.ui-widget-header .ui-state-disabled {
	background: none !important;
	opacity: .80 !important;
	filter: Alpha(Opacity=80) !important;
	background-color: #F5F5F5 !important;	
}
label.ui-state-error, label.ui-widget-content .ui-state-error, label.ui-widget-header.ui-state-error {
	border: none !important;
	background: none !important;
}
input.ui-state-default, .ui-widget-content input.ui-state-default, .ui-widget-header input.ui-state-default, div.ui-selectonemenu{
	background: none;
	background-color: #ffffff;
	font-weight: normal !important;
	color: #000000 !important;
}
div.ui-selectonemenu{
	background: none !important;
	background-color: #FFFFFF !important;
}
ul.ui-widget-content{
	background-color: #ffffff !important;
}
.ui-selectonemenu label.ui-selectonemenu-label {
	width: 100% !important;
	padding-top: 1px !important;
	height: 15px;
}
.ui-selectonemenu-panel .ui-selectonemenu-list-item {
	padding: 2px 5px !important;
	font-size: 95%;
}
.ui-datatable{
	margin-bottom: 10px;
}
.ui-dialog-content{
	background-color: #ffffff !important;
	overflow-y: auto !important;
	width: auto;
	padding: .5em .5em !important;
}
.ui-menuitem-link{
	color: #ffffff;
}
.ui-panelmenu .ui-panelmenu-panel {
	margin-bottom: 1px !important;
}
.ui-panelmenu .ui-panelmenu-header {
	height: 20px;
}
.ui-panelmenu .ui-panelmenu-header a {
	padding: .3em .5em .5em 2.2em !important;
}
.ui-widget-content a {
	color: #ffffff;
}
h3.ui-state-active, h3.ui-widget-content h3.ui-state-active, h3.ui-widget-header h3.ui-state-active {
	border: none !important;
	background: none !important;
	color: #ffffff;
}
h3.ui-state-default, h3.ui-widget-content h3.ui-state-default, h3.ui-widget-header h3.ui-state-default {
	border: none !important;
	background: none !important;
	color: #ffffff;
}
h3.ui-state-hover a, h3.ui-state-hover a:hover, h3.ui-state-hover a:link, h3.ui-state-hover a:visited {
	color: #C6DEE9;
}
.ui-panelmenu .ui-icon-triangle-1-e
{
	background-position: 0 -96px;
}
.ui-panelmenu .ui-icon-triangle-1-s
{
	background-position: -16px -96px;
}
.ui-panelmenu .ui-widget-content
{
	border: none !important;
}
.ui-panelmenu .ui-menuitem-link{
	padding: 0.3em 0.3em 0.3em 0.6em !important;
}
.ui-panelmenu .ui-menu-parent .ui-menu-list {
	margin-left: 10px !important;
}
.ui-widget-overlay {
	height: 100% !important;
}
.ui-selectonemenu-panel .ui-selectonemenu-table td {
	border-color: white !important;
	white-space: nowrap;
}

.ui-selectonemenu-panel .ui-selectonemenu-items-wrapper {
	overflow-y: auto !important;
	overflow-x: hidden !important;
}
.ui-layout-unit .ui-layout-unit-content {
	padding: 0.2em 0em !important;
	border: 0px none !important;
	overflow: hidden;
}

.textAligmentRight{
	text-align: right;
}

.textAligmentLeft{
	text-align: left;
}
.gridTextLarge {
    white-space: normal !important;
}












/** Estilos propios **************************************************/
tbody td{
	padding-top: 1px !important;
	padding-bottom: 1px !important;
	
}
/** Propiedad para hacer referencia al tab activo y que se ubique al frente de todos **/
div[aria-hidden="false"]{
	visibility: visible;
	z-index: 20;
}
/** Propiedad para hacer referencia a los tabs inactivos y que se ubiquen al fondo **/
div[aria-hidden="true"]{
	visibility: hidden;
	z-index: 10;
}
.m-number-align { 
    text-align:right;
}
.m-form-login{
	width: 850px;
	height: 400px;
	position: relative;
	top: 20%;
	left: 0%;
	margin: 0 auto;
	background-image: url("#{resource['images/index.jpg']}") !important;
	background-repeat: no-repeat;
}
.m-panel-login{
	left: 20%;
	position: relative;
	top: 11%;
/*	background-image: url("#{resource['images/fondo.png']}") !important;*/
	background-repeat: no-repeat;
	height: 190px;
}
.m-panel-login-content{
	position: relative;
	top: 0%;
	left: 20%;
	min-width: 390px;
}
.m-panel-login-content input, .m-panel-login-content .ui-selectonemenu{
	width: 175px !important;
}
.m-panel-login-content label.ui-outputlabel{
	color: white !important;
	background: none;
	font-weight: bold;
}
.m-icon-button{
	width: 26px;
	height: 26px;
	background-repeat: no-repeat !important;
}
.m-icon-close {
	background-image: url("#{resource['images/icons/close.png']}") !important;
}
.m-icon-f2 {
	background-image: url("#{resource['images/icons/f2.png']}") !important;
}
.m-icon-f4 {
	background-image: url("#{resource['images/icons/f4.png']}") !important;
}
.m-icon-f5 {
	background-image: url("#{resource['images/icons/f5.png']}") !important;
}
.m-icon-f10 {
	background-image: url("#{resource['images/icons/f10.png']}") !important;
}
.m-icon-f1 {
	background-image: url("#{resource['images/icons/f1.png']}") !important;
}


.m-filters, .ui-panelgrid{
	margin-bottom: 8px;
	border: 1px solid #a6c9e2;
	border-collapse: collapse;
}
.m-filters tr{
	/**border: none;**/
}
.m-filters label{
	font-weight: bold;
	color: rgb(90, 78, 78);
}
.m-filters input{
	margin-right: 10px;
}
.m-filters tbody td, .ui-panelgrid tbody td{
	padding-right: 2px !important;
	padding-left: 2px !important;
	border: none;
}
.m-filters tbody tr td:first-child, .ui-panelgrid tbody tr td:first-child{
	padding-left: 10px !important;
}
.m-data-content{
	min-width: 300px;
	max-width: 99%;
	width: auto;
}
.m-data-content .ui-datatable-tablewrapper td{
	white-space: normal !important;
}
.m-controls{
	margin-bottom: 2px;
}

.m-dialog .ui-message-error {
	background-color: transparent !important;
	border-color: transparent !important;
}
.m-dialog .ui-messages {
	min-height: 10px;
	height: auto;	
}
.m-dialog label{
	font-weight: bold;
	color: rgb(90, 78, 78);
}
.m-action-column{
	width: 15px;
}
.m-action-button{
	width: 24px;
	height: 18px;
	margin-left: 4px;
	border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	-webkit-border-radius: 0px !important;
	-khtml-border-radius: 0px !important;
}
.m-action-button .ui-icon{
	top: 42% !important;
}
.m-lov-button{
	position: relative !important;
}
a.m-menuitem{
	min-width: 95%;
	width: auto;
}
.m-profile{
	/*background: url("#{resource['images/logo_comaco.png']}") no-repeat scroll 100% 0% transparent !important;*/
	float: right;
	position: fixed;
	right: 0%;
}

.m-profile2{
	background: url("#{resource['images/logo_comaco.png']}") no-repeat scroll transparent !important;
    float: left;
    position: fixed;
    left: 5px;    
    width: 200%;
    height: 200%;
    top: 0px;
}


.m-profile-controls{
	position: relative;
	left: -230px;
}
.m-profile-controls label{
	color: #FFFFFF;
	font-weight: bold;
}
.m-user-info{
	height: 100%;
	float: right;
}
.m-user-info-button{
	margin-top: 2px;
	width: 100%;
	height: 23px;
}
.m-layout-top{
	background: url("#{resource['images/logo_comaco.png']}") !important;
	background-repeat: no-repeat !important;
	border: none !important;
	z-index: 30 !important;
}
.m-layout-top .ui-layout-unit-content{
	overflow: hidden !important;
	height: 105% !important;
}
/* Usado en maia.js en el metodo upper para transformacion en mayuscula */
.m-upper-case{
	text-transform: uppercase;
}
/* Alinea un campo a la derecha */
.m-number{
	text-align:right;	
}

.m-dialog{
	min-width: 400px !important;
	width: auto;
	overflow: visible;
}
.m-dialog .ui-dialog-content form{
	width: 100%;
	margin-top: 0px;
}
.m-location{
	background-color: #FCFCFC;
	width: 250px;
	height: 180px;
	position: fixed;
	top: 87px;
	right: 3px;
	border: 1px solid #79b7e7;
	border-radius: 10px 0px 10px 10px;
	-moz-border-radius: 10px 0px 10px 10px;
	-webkit-border-radius: 10px 0px 10px 10px;
	-khtml-border-radius: 10px 0px 10px 10px;
	z-index: 2000 !important;
}
.m-location td{
	height: 23px;
}
.transaccion-display{
	display: flex;
	width: 200px;
	height: 30px;
	background-color: #4A8FCE;
	position: fixed;
	bottom: 0px;
	border: 1px solid #FFFFFF;
}
.transaccion-display input{
	margin-top: 0px;
	margin-left: 3px;
	height: 20px;
}

.transaccion-display button{
	margin-top: 2px;
	margin-left: 3px;
	height: 20px;
	width: 20px;
}

.m-bpm-log-title{
	position: relative;
	left: 50%;
	font-weight: bold;
	text-transform: uppercase;
}
.m-float-l{
	float: left;
}
.m-float-r{
	float: right;
}
 
/* BPM */
.m-flow-container{
	position: relative;
	top: 2px;
	left: 0px;
	overflow: auto;
	width: 100%; 
	height: 320px; 
	background-color: #FFFFFF; 
	border-width: 1px; 
	border-style: inset;
}
.m-image-flow{
	position: relative;
	top: 0px;
	left: 0px;
}
.done {
    background-color: #00FF00;
    border-radius: 14px;
    -moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	-khtml-border-radius: 14px;
	margin-left: 12px;
}
.common {
    opacity: 0.3;
}
.sub {
    background-color: #55EEDD;
    border-radius: 14px;
    -moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	-khtml-border-radius: 14px;
	margin-left: 10px;
}
.act {
    background-color: #55EEDD;
    border-radius: 14px;
    -moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	-khtml-border-radius: 14px;
	margin-left: 12px;
}

/* Estilos tabs side */
.m-tabs-side{
	width: 98%;
}
.m-tabs-side .ui-tabs-panels .ui-tabs-panel {
	background: none !important;
	padding-left: 0em !important;
	overflow: auto;
}

.m-tabs-side .ui-tabs-panel {
	width: 98% !important;
}

/*Estilos tbas BPM*/
.m-side-form{
	 height: 100%;
	 width: 99%;
}
.m-bpm-data{
}

.m-bpm-data-old{
	position: absolute;
	z-index: 100;
	bottom: 70px;
	width: 100%;
}
.m-bpm-data table{
	width: 100%;
}
.m-bpm-data textarea, .m-bpm-data select{
	width: 100%;
}
.m-bpm-data textarea{
	height: 50px;
	
}
.m-tabs-side .ui-panelgrid tbody tr td:first-child{
	padding-left: 0px !important;
}
.m-tab-inner{
	height: auto !important;
}
.m-tab-inner .ui-tabs-nav{
	background: none;
}

.m-tab-inner .ui-tabs-panels .ui-tabs-panel {
	padding: 0.4em 0em 0em 0.2em !important;
}
.m-tabs-side .ui-accordion-header{
	background: #FFFFFF !important;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px; 
	-webkit-border-radius: 4px;
	min-height: 11px;
	height: auto;
}
.m-tabs-side .ui-accordion-header a{
	color: #707070 !important;
	margin-top: -7px;
}
.m-tabs-side .ui-accordion{
	background-color: #E4E6E7;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px; 
	-webkit-border-radius: 8px;
}
.m-tabs-side .ui-accordion .ui-accordion-content{
	padding: 0.4em 1.8em 0.5em 2em !important;
}
.m-tabs-side table{
	border: none !important;
	margin-bottom: 5px !important;
}
.m-tabs-side table tr{
	border: none !important;
}
.m-accordion-detail .ui-accordion-header{
	background: #CACBCF !important;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px; 
	-webkit-border-radius: 4px;
	margin-top: 5px !important;
}

/*CFLORES*/
.m-accordion-detail .ui-accordion-header a{
	color: #4A4A4B !important;
}

 .ui-state-active a:link, .ui-state-active a:visited{
	color: #6fa925 !important;
}
.m-accordion-detail .ui-accordion-content{
	background-color: #FFFFFF !important;
	border-radius: 0px 0px 8px 8px;
	-moz-border-radius: 0px 0px 8px 8px;
	-khtml-border-radius: 0px 0px 8px 8px; 
	-webkit-border-radius: 0px 0px 8px 8px;
	margin-top: -3px !important;
	border: solid 1px #CACBCF;
}

/*AGENDA*/
.m-accordion-inbox .ui-accordion-header{
	color: #1D5987;
}

.m-accordion-inbox .ui-state-active{
	color: #6FA925;
}
.m-accordion-detail span{
	font-size: 11px!important;
}
/***/
.m-white-space-mormal{
	white-space: normal !important;
}

textarea {
   background : #F5F5F5  !important;
   border: 1px solid  #c5dbec !important;
   font-family: Geneva,Arial,Helvetica,sans-serif ;
   color: #000 !important;
   opacity: 0.8 !important;
}

/*CFLORES*/
/*DLOPEZ*/
.numerico{
	float: right;
	text-align: right;
}
.ui-dialog-title, .ui-tabs-nav li a, .ui-panelgrid-header tr td{
	text-transform: uppercase;
}

/*DLOPEZ*/

.centrar{
	text-align: center;
	margin: 0 auto;
}

/*WIZARD TABS*/
.ui-wizard-step-title {
	float: left;
	font-size: 8pt;
	margin: 0 3px 0 0;
	padding: 0.4em;
}

/*color menu*/
.ui-menu .ui-menuitem-text {
    float: left;
    color: #4A8FCE;
}

.ui-menu {
	outline: 0 none;
	padding: 0.3em;
	position: absolute;
	width: 13.5em;
}

.monitor-dialog{
	position: absolute !important;
	top: 0px !important;
}