/* --------- PRIMEFACES OVERLOAD --------- */

.ui-layout-north {
    z-index:20 !important;
    overflow:visible !important;
}

.ui-layout-north .ui-layout-unit-content {
    overflow:visible !important;
}

.ui-datatable-header {
    padding: 2px !important;
    text-align: left !important;
    background-color: #f2f1f1 !important;
    border-color: silver !important;
}

.ui-treetable-header {
    padding: 2px !important;
    text-align: left !important;
    background-color: #f2f1f1 !important;
    border-color: silver !important;
}

.ui-dialog-title {
    font-size: 16px !important;
}

.ui-dialog.ui-widget-content .ui-dialog-titlebar-close {
    margin-top: 3px;
}

/* colunas ficavam com tamanhos iguais: */
.ui-datatable table {
    table-layout: auto !important;
}

/* colunas ficavam com tamanhos iguais: */
.ui-treetable table {
    table-layout: auto !important;
}

/* datagrid sem borda */
.ui-datagrid-content {
    border: none !important;
} 

/* datagrid sem espaco no topo */
.ui-datagrid-column {
    padding-top: 0px !important;
    padding-left: 0px !important;
    padding-right: 6px !important;
    padding-bottom: 6px !important;
}

/* há 1px acima do item selecionado */
.ui-menu {
    margin: 0px !important;
}

.ui-menuitem {
    margin: 0px !important;
}

ul.ui-menu-child{
    width: 180px !important;
}

.ui-picklist .ui-picklist-list {
    width: initial !important;
    min-width: 200px;	
}

.ui-progressbar .ui-progressbar-label {
    display: block !important;
}

.ui-buttonset {
    /* Utiliza a mesma margem dos bot�es normais */ 
    margin-right: .1em !important;
}

.ui-picklist-item.ui-state-highlight td {
    color: #ffffff !important;
}

.ui-selection-column .ui-chkbox-icon.ui-icon, .ui-picklist-item .ui-chkbox-icon.ui-icon {
    background-image: url("/lavanderia/javax.faces.resource/images/ui-icons_333333_256x240.png.jsf?ln=primefaces-bootstrap");
}

.ui-linkbutton.ui-button.ui-state-default a {
    text-decoration: none !important;
}

.btn-novo-repositorio .ui-button, .btn-novo-repositorio .ui-splitbutton-menubutton {
    color: white;
    border-color: green;
    background: -webkit-gradient(linear, left top, left bottom, from(limegreen), to(green)) repeat-X;
    background: -moz-linear-gradient(270deg, limegreen, green);
    background-color: green;
    display: inline;
}
.btn-novo-repositorio .ui-splitbutton-menubutton .ui-icon {
    background-image: url("/lavanderia/javax.faces.resource/images/ui-icons_ffffff_256x240.png.jsf?ln=primefaces-bootstrap");
}

.btn-green {
    color: white !important; 
    border-color: green !important; 
    background: -webkit-gradient(linear, left top, left bottom, from(limegreen), to(green)) repeat-X !important; 
    background: -moz-linear-gradient(270deg, limegreen, green) !important;
    background-color: green !important; 
}

/*button novo repositorio ficava sobre os outros botoes*/
.ui-splitbutton .ui-button.ui-splitbutton-menubutton {
    width: 25px !important;
}

.select-modelo-repositorio .ui-selectonemenu-label {
    min-width: 120px !important;
}


/* Customizacao do componente PickList com checkbox que adiciona checkboxes para selecionar/deselecionar todos no titulo das listas (primefaces_override.js)  */
.ui-picklist-caption.ui-picklist-checkbox {
    text-align: initial !important;
    padding-left: 4px !important;

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.ui-picklist-caption.ui-picklist-checkbox .ui-chkbox {
    margin-right: 6%;
}

.ui-toolbar .ui-separator {
    margin-top: -4px;
}

/* --------- LAYOUT --------- */
html, body {
    height: 100%
}

form {
    margin: 0px;
}

.div-top {
    display: table;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#15153f), to(#344f74)) repeat-X;
    background: -moz-linear-gradient(270deg, #15153f, #344f74); 
    background-color: #253f63;
    color: white;
}

.div-bottom {
    display: table;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#F1F1F1), to(#FFF)) repeat-X;
    background: -moz-linear-gradient(270deg, #F1F1F1, #FFF);
    background-color: #F1F1F1;
    color: gray;
    padding-top: 5px;
    padding-bottom: 5px;    
    position: fixed;
    bottom: 0px;
}

.div-bottom-space {
    height: 20px;
}

.div-content {
    padding: 10px; 
    min-height: 300px;
}

.icon-edit {
    background-image: url("/lavanderia/javax.faces.resource/images/edit.png.jsf") !important;
    width: 16px;
    height: 16px;
    background-position: 0px;
}

.icon-up {
    background-image: url("/lavanderia/javax.faces.resource/images/up.png.jsf") !important;
    width: 16px;
    height: 16px;
    background-position: 0px;
}

.icon-down {
    background-image: url("/lavanderia/javax.faces.resource/images/down.png.jsf") !important;
    width: 16px;
    height: 16px;
    background-position: 0px;
}

.icon-delete {
    background-image: url("/lavanderia/javax.faces.resource/images/delete.png.jsf") !important;
    width: 16px;
    height: 16px;
    background-position: 0px;
}

.div-flow {
    display: inline-block; 
    overflow-x: auto; 
    vertical-align: top; 
    padding-right: 10px; 
    padding-bottom: 10px
}

/*Chrome atualizou e está gerando uma scroll bar horizontal nas datatable, isso corrigi*/
/*.ui-datatable-tablewrapper {
    overflow: hidden !important;
}

.allowSideBar {
    overflow: auto !important;
}*/
/* --------- CUSTOM --------- */

@page {
    size: A4 landscape;
}

body, table, div, button, select,option {
    font-size: 12px;
    font-family: Verdana, "Verdana CE",  Arial, "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
}

@media screen {
    body, table, div, button, select,option {
        font-size: 12px;
    }
}

@media print {
    body, table, div, button, select,option {
        font-size: 8px;
    }

    .onlyScreen {
        display: none;
    }

}

.div-painel {
    display: inline-block; 
    padding-bottom: 0.45em;
    width: 25em;
}

.div-top-label {
    display: inline;
}

.div-filtro-consumo {
    display: inline-block; 
    padding: 2px;
    vertical-align: middle;
}

.div-filtro {
    display: inline-block; 
    padding: 2px;
    vertical-align: middle;
}

.textBold {
    font-weight: bold !important;
}

.textBoldRed {
    font-weight: bold;
    color: red;
}

.textRight {
    text-align: right !important;
}

.textCenter {
    text-align: center;
}

.color-gray {
    color: gray;
}

.icone-row {
    height: 16px;
    width: 16px;
}

.icone-default {
    height: 40px;
    width: 40px;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable {
    -webkit-touch-callout: initial;
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

.receita-evento-list .actions {
    min-width: 120px;
}

.receita-evento-list .evento {
    margin-left: 22px;
}

#canvas {
    width: 800px;
    height: 500px;
}

.select-maquina {
    font-size: 1.0em; 
    height: 2.0em;
}

.select-empresa {
    font-size: 1.0em; 
    height: 2.0em;
    max-width: 200px
}

.chart-memoria {
    display: inline-block;
}

.websocket-disconnected {
    color: red;
    text-decoration: none;
}

.websocket-disconnected:hover {
    text-decoration: underline;
}

.discrete-link {
    text-decoration: none;
}

.discrete-link:hover {
    text-decoration: underline;
}

/* mobile configs */

@media only screen and (max-width: 980px) {
    .div-bottom {
        display: none;
    }

    .div-bottom-space {
        display: none;
    }

    .div-top-label {
        display: none;
    }

    .icone-row {
        height: 40px;
        width: 40px;
    }

    #canvas {
        width: 400px;
        height: 250px;
    }
    
    .div-flow {
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {
    .div-painel {
        width: 100%;
    }
    
    .select-maquina {
        max-width: 125px;
    }
    
    .select-empresa {
        max-width: 120px;
    }
    
    .chart-memoria {
        width: 100%;
    }
}

/*-------------------------------------- consumoGeral.xhtml -----------------------------------------------------------*/
.containerGraficoTorta {
    width: 48%;
    float: left;
}

@media screen and (max-width: 980px){
    .containerGraficoTorta {
        width: 100%;
        float: left;
    }
}

/* The Modal (background) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0, 0, 0); 
    background-color: rgba(0, 0, 0, 0.9); 
}

/* Modal Content */
.modalContent0 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 400px;
}

.modalContent1 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

.modalContent2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

.modalContent3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

.modalContent4 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

/* -------------------------------------------- CONTROLE DE ESTOQUE --------------------------------------------*/
.conjunto_graficos div{
    margin: 0px auto !important
}

.invisible{
    display: none;
}

/*GALOES*/
.wrapper_grupoGaloes .grupoGaloes {
    display: block;
    width: 100%;
    height: auto;
}

.wrapper_galoes {
    display: table;
    min-width: 500px;
    height: auto;
    overflow: auto;
}

.galao {
    display: inline-block;
    width: 250px;
    height: auto;
    border: solid 1px transparent;
    float: left;
    margin: 1%;
    border-radius: 10px;
}

.nome_galao {
    margin: 0px auto;
    display: table
}

.desenho_galao {
    display: block;
    width: auto;
    height: auto;
    background-color: transparent;
    margin: 0px auto;
}

.desenho_tampaGalao {
    display: block;
    width: 30px;
    height: 10px;
    background-color: black;
    margin: 0px auto;
    position: relative;

}

.desenho_corpoGalao {
    display: block;
    overflow: hidden;
    width: 150px;
    height: 225px;
    background: rgb(150, 150, 150);
    /* Old browsers */
    background: -moz-linear-gradient(left, rgba(150, 150, 150, 1) 0%,
        rgba(201, 201, 201, 1) 50%, rgba(150, 150, 150, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(150, 150, 150, 1) 0%,
        rgba(201, 201, 201, 1) 50%, rgba(150, 150, 150, 1) 100%);
    border: solid 5px #333;
    border-radius: 15px;
    margin: 0px auto;
    vertical-align: bottom;
    position: relative;

}

.desenho_conteudoGalao {
    border-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background: -webkit-linear-gradient(top, rgba(85, 157, 250, 1) 0%,
        rgba(4, 58, 138, 1) 100%);
    width: 100%;
    height: 0px;
    position: absolute;
    bottom: 0;
    transition: 1s; 
    z-index: 1;
}
/*TRIGGERS*/
.trigger {
    background-color: transparent;
    border-top: solid 1px white;
    width: 20px;
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    height: 100px;
}

.t01 {
    height: 200px
}

.t02 {
    height: 150px
}

.t03 {
    height: 100px
}
/*FIM TRIGGERS*/
/*GALÃO SELECIONADO*/
#galao_selecionado {
    background-color: lightblue;
}
/*PAINEIS*/
.info_galaoSelecionado {
    width: 49.5%;
    height: auto;
    background-color: #d4d4d4;
    display: inline-block;
    float: left;
}
@media screen and (max-width: 980){
    .info_galaoSelecionado {
        width: 100%;
        height: auto;
        background-color: #d4d4d4;
        display: inline-block;
        float: left;
    }
}

.informacoes_galaoSelecionado {
    margin-right: 0.5%;
}

.triggers_galaoSelecionado {
    margin-left: 0.5%;
}

.info_galaoSelecionado_header {
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#15153f), to(#344f74)) repeat-X;
    background: -moz-linear-gradient(270deg, #15153f, #344f74);
    background-color: #253f63;
    overflow: hidden;
}
/*FIM PAINEIS*/
/*FIM GALÃO SELECIONADO*/
/*FIM GALOES*/

.gatilho {
    width: 30px;
    background-color: transparent;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: 10px;
    border-top: solid 1px white;
    color: transparent;

}

.gatilho:hover{
    cursor: pointer;
}

#selectedGalao{
    border: solid 3px red;	
}

/*para a popup do google chart não ficar piscando */

svg > g > g:last-child { 
    pointer-events: none 
}

.chartsRelatorio{
    width: 49%;
    height: auto;
    overflow: hidden;
    float: left;
    display: flex;
}

.aguarde {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.wrap { 
    white-space: pre-wrap;      /* CSS3 */   
    white-space: -moz-pre-wrap; /* Firefox */    
    white-space: -pre-wrap;     /* Opera <7 */   
    white-space: -o-pre-wrap;   /* Opera 7 */    
    word-wrap: break-word;      /* IE */
}

.manutencao {
    opacity: 0.4 !important;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                          supported by Chrome and Opera */
}