:root {
  --color-principal: #495057;
}
html, body {
    font-family: "Segoe UI", sans-serif;
}
html { background-size: cover; background: url('https://static.vecteezy.com/system/resources/previews/004/805/308/non_2x/flat-design-abstract-background-soft-liquid-shapes-template-with-modern-gradient-background-colors-cool-aesthetic-background-design-suitable-for-social-media-post-mobile-app-banner-web-ads-free-vector.jpg') }
body{
    /*min-height:100vh; /* force the BODY element to match the height of the HTML element */
    /*background: url("") top center no-repeat !important; 
    background-size: cover !important; 
    background-attachment: fixed !important;*/
    color: #666;
    margin: 0;
    font-family: "Segoe UI",sans-serif;
}
/* Safari fix: force font inheritance */
body * {
    font-family: inherit !important;
}
input {
	color: #333;
	font-family: "Segoe UI",sans-serif !important;
	padding: 0.25rem 0.5rem;
}

.ui-widget { font-family: "Segoe UI",sans-serif !important; }
.ui-widget * { font-family: "Segoe UI",sans-serif !important; }

.ui-state-loading .ui-icon-loading {
	font-size: 1rem !important;
}

body .ui-card .ui-card-body {
	padding: 0.5rem !important; 
}
body .ui-card .ui-card-content {
	padding: 0.5rem !important; 
}

.ui_tpicker_time  { padding: 0 !important; }
.ui_tpicker_time_input { font-size: 1rem; }
/*.ui-datepicker-title { display: none; }*/

body .ui-dialog .ui-dialog-titlebar .ui-dialog-title {
    font-size: 1.3em !important;
    font-weight: 500 !important;
}

body .ui-dialog .ui-dialog-titlebar {
	background: var(--color-principal);
    color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.ui-button-text-icon-left .ui-button-text {
    padding: 0.3em 1em 0.3em 2.1em !important;
}

.ui-card-header {
	font-size: 1.3em;
    font-weight: 500;
    padding: 0.5rem 1rem;
    /*background: var(--color-principal);
    color: white;*/
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 2px solid #4E596E;
}

.pi {
	font-family: 'primeicons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;	
}

body .ui-dialog .ui-dialog-titlebar {
    padding: .35rem 1rem !important;
}
body .ui-dialog .ui-dialog-content {
    padding: 0.5rem !important;
}
body .ui-confirm-dialog .ui-dialog-content {
    padding: 1.5rem !important;
}

body .confirmDialog .ui-dialog .ui-dialog-content {
   padding: 1rem 1.5rem 1rem 0.5rem !important;
}

body .ui-datatable thead th { 
	padding: 4px 10px !important;
	vertical-align: top !important;
}

body .ui-datatable .ui-datatable-data>tr>td {
	padding: 4px 10px !important;
}

body .ui-button.ui-button-text-only .ui-button-text {
    padding: 0.3em 1em !important;
}

.ui-panelgrid-cell { padding: 0.5rem !important; }
.ui-panelgrid-cell > * { vertical-align: middle !important; }

.layout-rightpanel { display: none; }
.ui-datatable-header { padding-top: 0px !important; padding-bottom: 0px !important; }
.logo-title { font-size: 45px; color: black; /*padding: 20px; */}
.card.card-w-title h1 { margin: 0px !important; margin-bottom: 30px !important; font-size: 20px !important; }
.topbar-right { padding-top: 5px !important; padding-bottom: 5px !important; } 
.topbar-left { padding-bottom: 12px !important; padding-top: 13px !important; height: 55px !important; }
.topbar { height: 53px !important; } 
.layout-menu { top: 55px !important; }
#topbar-menu-button { top: 10px !important; }

label.selectButton { position: relative; top: -60px; left: 5px; font-size: 12px;   }
label.selectfield { position: relative; top: -45px; left: 5px; font-size: 12px; white-space: nowrap;  }
.select-lbl { color: #3D7AD5; }
.select-lbl.small { font-size: 12px; left: 5px; }
.ui-widget-overlay {
    background-color: black !important;
    opacity: .1 !important;  
    cursor: not-allowed;	
}
.label-ontime {
    background-color: #337ab7 !important;
}
.label-delayed {
    background-color: #d9534f !important;
}
.label-closed {
    background-color: #5cb85c !important;
}
.label-closed-delayed {
    background-color: #367c36 !important;
}
.label-noaction {
    background-color: gray !important;
}
.label {
    display: inline;
    padding: .2em .6em .3em;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.circle-delayed{ color: #DD4B39;}
.circle-ontime{ color: #337AB7; }
.circle-closed{ color: #00B55B; }
.circle-delayed-containment{ color: #AA0000; }
.circle-closed-delayed{ color: #006400; }
.circle-unavailable{ color: #808080; }

.card.card-w-title h1 { 
	display: inline-block;
	font-weight: 600;
}

/*td > .ui-selectonemenu { border: none; }*/
@media screen and (max-width: 40em) {
	.ui-g-12 { padding-bottom: 15px; }
}

.target > table {
	margin-left: auto;
    margin-right: auto;
}
.md-inputfield > label {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.selectfield.select-lbl {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.md-inputfield {
	padding-bottom: 15px;
}
.ui-organigram-node { border-radius: 5px; }
body .ui-button { border-radius: 12px; }

.label-status {
	color: white !important;	
	padding: 5px;
    border-radius: 5px;
}
.CLOSED {
	background-color: #00B55B;
}
.DELAYED {
	background-color: #DD4B39;
}
.ONTIME {
	background-color: #337AB7;
}
.NOTPLANNED {
	background-color: #DD4B39;
}
.STARTED {
	background-color: #337AB7;
}
.PLANNED {
	background-color: gray;
}

body .ui-progressbar .ui-progressbar-label {
    top: 0 !important;
}

#footer-osprog {
	width: 100%;
    height: 20px;
    position: absolute;
    bottom: 40px;
    margin-left: 50px;
    color: white;
}

#copyright{
	text-align: center;		
}
/*button.secondary > span.ui-icon {
	color: #666 !important;
}*/
@font-face {
      font-family: "Cabin";
      src: url("");
      font-family: "Cleanvertising";
      src: url("");
}
@font-face {
      font-family: "Karla";
      src: url("/javax.faces.resource/fonts/Karla-VariableFont_wght.ttf.xhtml");
}
@font-face {
	font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: url("/javax.faces.resource/fonts/Segoe UI.woff.xhtml");
}
@font-face {
    font-family: 'Segoe UI Italic';
    font-style: normal;
    font-weight: normal;
    src: url("/javax.faces.resource/fonts/Segoe UI Italic.woff.xhtml");
}    
@font-face {
    font-family: 'Segoe UI Bold';
    font-style: normal;
    font-weight: normal;
    src: url("/javax.faces.resource/fonts/Segoe UI Bold.woff.xhtml");
}
@font-face {
    font-family: 'Segoe UI Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: url("/javax.faces.resource/fonts/Segoe UI Bold Italic.woff.xhtml");
}
.ui-confirm-dialog { width: auto !important; }
#topbar-nodo {
 	margin: 0;
    color: white;
    font-size: 22px;   
    position: relative;
    left: 25%;   
 }

@media screen and (max-width: 1050px) {
	#topbar-nodo {
		left: 10%;
	}
}
 
/*@media screen and (max-width: 850px) {
 	#topbar-nodo {
		left: 20px;
		top: 15px;
	}
	#oms-top-logo {
		display: none;
	}		
}

@media screen and (max-width: 620px) {
	.topbar-items > li {
		display: none;
	}
	.topbar-items > li.profile-item {
		display: block;
	}
}*/
 
 .topbar {
 	background-color: #F7F7F7 !important;
 }
 .topbar-left {
 	background-color: white !important; 
 }
 .layout-menu-dark {
 	background-color: #F7F7F7 !important;
 }
 .layout-wrapper.layout-menu-slim .layout-menu.layout-menu-dark ul.ultima-menu {
    background-color: #F7F7F7 !important;
}
.layout-wrapper.layout-menu-slim .layout-menu.layout-menu-dark ul.ultima-menu li.active-menuitem > a {
	color: black !important;
    box-shadow:inset 0 0 0 99999px rgba(0,0,0,0.15) !important;
    background-color: #F7F7F7 !important;
}
ul.ultima-menu li ul {
	color: black !important;
    background-color: #F7F7F7 !important;
} 
.topbar-right {
	display: inline;
}
.topbar-left {
	display: inline;
	width: auto !important;	
}
.topbar-items {
	padding: 10px !important;
}

.topbar.clearfix {
	border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #a60c17 0%, #bf0d19 35%) !important;	
    width: calc(100% - 75px);
    
}
.topbar.clearfix-test {
	border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #aaa 0%, #666 35%) !important;	
    width: calc(100% - 75px);
    
}

.ultima-menu > .current-menuitem {
	border-left: 3px solid red;
	box-shadow: none !important;
}
.ultima-menu > .current-menuitem > a > i {
	color: #DD0000 !important;
	filter: invert(48%) sepia(79%) saturate(255) hue-rotate(359deg) brightness(118%) contrast(119%);
}
.ui-organigram .ui-organigram-node {
	background:  #DD0000 !important;
	font-weight: 600;
}
.ui-organigram .ui-organigram-node.disabled {
	background: #E5E5E5 !important;
	color: #959595;
	pointer-events: none;
	-webkit-font-smoothing: antialiased;
}
td > div > .ui-button {
	margin-left: 3px !important; margin-right: 3px !important;
}
.layout-menu {
	top: 0px !important;
    border-radius: 0;
}
.ui-organigram .ui-organigram-node.selectable {
    cursor: pointer;
}
.ui-organigram .ui-organigram-node.selected {
	box-shadow: none;
}
#menu-button {
	display: none !important;
}


/*.menu-layout-static > .topbar {
	margin-left: 250px !important;
}
.layout-menu-slim > .topbar {
	margin-left: 75px !important;
}

.menu-layout-static > .topbar {
	margin-left: 250px !important;
	width: calc(100% - 250px) !important;
}
.layout-menu-slim > .topbar {
	margin-left: 75px !important;
	width: calc(100% - 75px) !important;
}*/

.ui-panel .ui-panel-titlebar {
    padding: 0.5em 1em 0.3em !important;
    background: var(--color-principal) !important;
    color: white;
    font-weight: normal !important;
}

.topbar-items > li {
	padding-right: 15px; 
}
.ui-dialog-titlebar {
	font-family: "Segoe UI";
}
.ui-inputfield {
	font-family: "Segoe UI" !important;
}
body .ui-inputfield {
	padding: 0.25rem 0.5rem !important;
}
.ui-widget {
	font-family: "Segoe UI" !important;
}
.selectfield {
	color: #999; 
}
hr {
	border: 0.5px solid #ddd;
	width: 100%;
}
.layout-menu-slim .search-panel {
	display: none;	
}
.search-panel > input:focus {
    outline: none;
}
#menuform\:um_menu > .layout-menu-tooltip {
	display: none !important;
}
.fa-icon-lighthouse {
   background: url("") no-repeat;
   height: 20px;
   filter: hue-rotate(0deg)  contrast(22%);
}
.layout-menu-slim #menuform\:um_lighthouse > a {
	height: 60px;
    padding-top: 15px;
}
.menu-layout-static > #menuform\:um_lighthouse > a {
	height: 36px;
    padding-top: 10px;
}
.ultima-menu > li > a > i {
	width: 24px !important;
}
li.disabled > a { pointer-events: none; opacity: 0.5; cursor: inherit; }
a.disabled { pointer-events: none; opacity: 0.5; cursor: inherit; }
/*.ui-treetable-header,.ui-datatable-header,.ui-picklist-caption {
	border-radius: 20px 20px 0 0 !important;
    background: linear-gradient(90deg, #a60c17 0%, #bf0d19 35%) !important;
}*/

.footer-floating.open {
	position: fixed; 
	bottom: 10px; 
	left: 50%;
    left: -webkit-calc(50% - 20px);
    left:    -moz-calc(50% - 20px);
    left:         calc(50% - 20px);
	/*width: 100%;*/
	z-index: 999;
	margin-left: -25px;
}
/*.ui-panel-titlebar {
	border-radius: 20px 20px 0 0 !important;
    background: linear-gradient(90deg, #a60c17 0%, #bf0d19 35%) !important;
}
.ui-panel { border-top: none !important; }*/
.ui-datatable .ui-paginator {
	border: none;
    background: #666;
}
.truncar-parrafo {
	overflow: hidden;
   	text-overflow: ellipsis;
   	display: -webkit-box;
   	-webkit-box-orient: vertical;
}
.truncar-parrafo.lineas-3 {
	-webkit-line-clamp: 3;
}
.truncar-parrafo.lineas-2 {
	-webkit-line-clamp: 2;
}
/*amCharts export button*/
li.export-main {
	display: none;
}
@media print {
	.layout-menu { display: none; }
	.topbar { display: none; }	
	.layout-wrapper.layout-menu-slim .layout-main { margin-left: 0; }
	.ui-lg-2 { width: 16.66666% !important; }
	.page-break { page-break-after: always; }
}
.ui-inputswitch.ui-inputswitch-checked { background-color: #11CCCC !important; }
.ui-fluid .ui-selectonemenu { min-width: inherit !important; }
body .ui-datepicker .ui-datepicker-calendar td { padding: 0 !important; }

.clr-field { display: block; }

body .ui-growl {
    top: 30px;
    left: 40%;
}
.ui-growl-item-container { opacity: 1; }

body .ui-dialog.ui-confirm-dialog .ui-dialog-content>span { line-height: 1.5; }
/*body .ui-tabs.ui-tabs-top>.ui-tabs-nav li.ui-tabs-header.ui-state-active { border-color: #4E596E; }*/
body .ui-tabs .ui-tabs-nav li.ui-tabs-header.ui-state-active a { color: #4E596E; }
body .ui-selectmanybutton>.ui-button.ui-state-active { background: #4E596E; border-color: #4E596E; }
body .ui-selectonebutton>.ui-button.ui-state-active, body .ui-selectmanybutton>.ui-button.ui-state-active { background: #4E596E; border-color: #4E596E; }
body .ui-panel .ui-panel-titlebar { color: #eee; }

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
.ui-datatable.ui-datatable-sticky {
	z-index: 99 !important; 
}
body .ui-selectonemenu-panel .ui-selectonemenu-filter-container .ui-selectonemenu-filter.ui-inputfield {
	padding-left: 1.5rem !important;
}
body .ui-picklist .ui-picklist-filter-container .ui-picklist-filter {
    padding-left: 1.5rem !important;
}
body .ui-picklist .ui-picklist-caption {
    padding: 0.25rem !important;
}
.ui-noselection-option { font-style: italic !important; }

.ui-organigram-node.level-0 { background: #4E596E !important; opacity: 0.5 !important; }
.ui-organigram-node.level-1 { background: #2F5597 !important; }
.ui-organigram-node.level-2 { background: #4472C4 !important; }
.ui-organigram-node.level-2.tipo-E { background: #6a9b55 !important; }
.ui-organigram-node.level-2.tipo-C { background: #f98553 !important; }
.ui-organigram-node.level-2.oee-OK { background: #6a9b55 !important; }
.ui-organigram-node.level-2.oee-NOK { background: #e35335 !important; }
.ui-organigram .ui-organigram-node .expander { display: none; }

body .ui-datatable thead th {
    vertical-align: middle !important;
}

.ui-datatable .ui-filter-column {
	vertical-align: bottom !important;
}
.ui-outputlabel.ui-state-error {
	background: #FFCDD2;
}
.ui-chkbox-label.ui-state-error {
	background: #FFCDD2;
}
th.ui-state-error {
	background: #FFCDD2 !important;
}