﻿/*--------------------------------------------------------------------------------------------------
// IHM Engenharia e Sistemas de Automação Ltda
// Módulo: Padrão do sistema
// Autor Criação: Flávio Leite
// Data Criação: 26/10/2014 17:00:00
// Observações: N/A
//------------------------------------------------------------------------------------------------*/
/*
    Resolução mínima: 800 x 600
    
    * HTML e BODY:
        - Altura em 100% da janela (window)
        - Largura em 100% da janela (window)
    * Search:
        - Altura default do controle TexBox
        - Largura calculada em px e posição absoluta correspondendo 25% da janela (window)
    * Message:
        - Altura mesma do controle TexBox do Search
        - Largura:
            > Date/Time - fixada em px e posição absoluta
            > Group - fixada em px e posição absoluta
            > Result - fixada em px e posição absoluta
            > Message - calculada em px e posição absoluta correspondendo ao restante da janela (window)
    * Treeview:
        - Altura calculada em px e posição absoluta correspondendo ao restante da janela (window)
        - Largura calculada em px e posição absoluta correspondendo 25% da janela (window)
    * Menu
        - Altura default do jquery.ui.menu
        - Largura calculada em px e posição absoluta correspondendo ao restante da janela (window)
    * PageContent:
        - Altura calculada em px e posição absoluta correspondendo ao restante da janela (window)
        - Largura calculada em px e posição absoluta correspondendo ao restante da janela (window)
*/

html
{
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

body
{
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

.div-loading
{
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
    background: white;
    z-index: 9999;
}

/*
    Formatação VALE genérica
    ===========================================================================
*/
input[type='text'], input[type='password'], input[type='file'], textarea
{
    width: auto;
    color: black;
    font-size: 12px !important;
    font-weight: normal !important;
    font-family: Sans-Serif !important;
}

button
{
    width: auto;
    color: black;
    font-size: 12px !important;
    font-weight: normal !important;
    text-align: center !important;
    font-family: Sans-Serif !important;
}

.button-export
{
    background: #bfbfbf !important;
}

select
{
    font-family: sans-serif !important;    
    font-size: 12px !important;
    font-weight: normal !important;
    height: 20px;
    width: 180px;
}
.active-result{
    width: auto;
    color: black !important;
    font-size: 12px !important;
    font-weight: normal !important;
    font-family: Sans-Serif !important;
}
.active-result:hover{
    color: #fff !important;
}

.highlighted{
    color: #fff !important;
}

.result-selected{
    color: #fff !important;
}

.chosen-container .chosen-results li {
    padding: 2px 3px!important;
}

.chosen-single span{
    width: auto;
    color: black !important;
    font-size: 12px !important;
    font-weight: normal !important;
    font-family: Sans-Serif !important;
}

.chosen-container-single .chosen-single {
    padding: 0 0 0 0px!important;
    height: 20px!important;
}

.chosen-single{
    border-radius: 0px !important;
    background: #fff !important;
    background: #fff !important;
}

.input-new {
    height: 15px !important;
    width: 182px !important;
    border: 1px solid #aaa !important;
}

h1
{
    text-align: left !important;
    color: #edb111;
    font-size: 16px !important;
    font-weight: bold !important;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

h3{
    color: #007e7a;
}

hr
{
    margin: 2px 0px 2px 0px;
    padding: 0px;
}

p
{
    text-align: right;
    color: #007e7a;
    font-size: 12px !important;
    font-weight: normal !important;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

.ui-widget
{
    font-family: sans-serif !important;
    font-size: 12px;
}

/* Remove a borda dos botões*/
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
{
    border: 0px;
}

.ui-state-hover, ui-widget-content .ui-state-hover, .ui-widget-header .uistate-hover
{
    border: 0px;
}

/*
    Search
    ===========================================================================
*/
#input-text-search
{
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 2px 0px 0px 2px;
}

#button-cmd-search
{
    position: absolute;
    top: 0px;
    margin: 2px 0px 0px 0px;
    width: 25px;
}

.ui-autocomplete-category
{
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
    font-size: 12px;
    color: #747678;
}

.ui-autocomplete-loading
{
    background: white url("../../plugin/vakata-jstree-e2596f5/dist/themes/default/throbber.gif") right center no-repeat;
}

.ui-autocomplete
{
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

ul.ui-autocomplete .ui-menu-item
{
    font-size: 12px;
    font-weight: normal;
    color: #bfbfbf;
}

ul.ui-autocomplete .ui-state-hover, ul.ui-autocomplete .ui-widget-content .ui-state-hover, ul.ui-autocomplete .ui-widget-header .ui-state-hover, ul.ui-autocomplete .ui-state-focus, ul.ui-autocomplete .ui-widget-content .ui-state-focus, ul.ui-autocomplete .ui-widget-header .ui-state-focus
{
    border: 0px;
    background: transparent;
    color: #007e7a;
    font-weight: bold;
}

/*
    Treeview
    ===========================================================================
*/
#div-treeview-container
{
    position: absolute;
    overflow: auto;
    margin: 2px 0px 0px 2px;
    padding: 2px 5px 2px 5px;
    border: 0px solid #f0f0f0;
}

#div-treeview-container .jstree-anchor
{
    color: #747678;
    font-size: 12px;
    font-weight: normal;
}

#div-treeview-container .jstree-default .jstree-clicked
{
    color: #007e7a;
    background: transparent;
    border-radius: 0px;
    box-shadow: inset 0 0 0px transparent;
    font-weight: bold;
}

#div-treeview-container .jstree-default .jstree-hovered
{
    color: #007e7a;
    background: transparent;
    border-radius: 0px;
    box-shadow: inset 0 0 0px transparent;
    font-weight: bold;
}

/*
    Menu
    ===========================================================================
*/
#ul-menu
{
    position: absolute;
    width: 530px;
    margin: 2px 0px 0px 2px;
    border: 0px solid #f0f0f0;
}

#ul-menu > li
{
    float: left;
    width: 75px;
    
    padding: 10px 1em 10px .4em;
    border: 0px;
    color: #747678;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

#ul-menu > li.ui-state-hover, #ul-menu > li.ui-widget-content .ui-state-hover, #ul-menu > li.ui-widget-header .ui-state-hover, #ul-menu > li.ui-state-focus, #ul-menu > li.ui-widget-content .ui-state-focus, #ul-menu > li.ui-widget-header .ui-state-focus, #ul-menu > li.ui-state-active, #ul-menu > li.ui-widget-content .ui-state-active, #ul-menu > li.ui-widget-header .ui-state-active
{
    background: #edb111;
    margin: 0px;
}

#ul-menu > li li
{
    min-width: 155px;
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    color: #747678;
}

span
{
    display: inline-block !important;
}

#ul-menu > li li span.ui-icon-carat-1-s
{
    background-position: -32px 0;
}

#ul-menu > li li.ui-state-hover, #ul-menu > li li.ui-widget-content .ui-state-hover, #ul-menu > li li.ui-widget-header .ui-state-hover, #ul-menu > li li.ui-state-focus, #ul-menu > li li.ui-widget-content .ui-state-focus, #ul-menu > li li.ui-widget-header .ui-state-focus, #ul-menu > li li.ui-state-active, #ul-menu > li li.ui-widget-content .ui-state-active, #ul-menu > li li.ui-widget-header .ui-state-active
{
    border: 0px;
    background: transparent;
    margin: 0px;
    color: #007e7a;
    font-weight: bold;
}

#li-menu-log div
{
    width: 200px;
    padding: 5px 0px;
    background: white;
}

#li-menu-log input
{
    margin: 2px 0px 2px 0px;
}

#div-smenu-log a
{
    color: Blue;
    font-size: 10px;
    font-weight: normal;
    text-decoration: underline;
}
    
#li-menu-sbr #div-smenu-sbr-vale
{
    width: 400px;
    padding: 5px 5px;
    background: white;
}

#li-menu-sbr #div-smenu-sbr-ihm
{
    width: 300px;
    padding: 5px 5px;
    background: white;
}

#li-menu-sbr .ui-widget-content a
{
    color: blue;
    text-decoration: underline;
}

/*
    Current User
*/
#div-current-user
{
    position: absolute;
    overflow: auto;
    margin: 2px 0px 0px 0px;
    padding: 3px 5px 3px 0px;
    border: 0px solid #f0f0f0;
    font-size: 12px;
    font-weight: normal;
    text-align: right;
}

/*
    Page content
    ===========================================================================
*/
#div-page-content
{
    position: absolute;
    border: 0px solid #f0f0f0;
}

/* Estilo da div título da tela*/
#div-title-page{
    width: auto;
    height: 18px;
    margin: 5px 0px 5px 0px;
    padding: 10px;
    cursor:default;
    overflow:hidden;
    border: 1px solid #f0f0f0;
}

/* Estilo para as tds de tabela de filtro*/
#div-page-content #table-consulta-filtro td
{
    padding: 0px 5px 5px 0px;
}

/* Estilo para as tds de tabela de cadastro*/
#div-page-content #table-cadastro-cadastro td
{
    padding: 0px 5px 5px 0px;
}

/* Estilo para as tds de tabela de cabeçalho dos registros */
#div-page-content #div-reg-header td
{
    padding: 0px 5px 5px 0px;
    font-size: 12px !important;
    font-weight: normal !important;
}

/* Estilo para o botão de seleção de usuário do cabeçalho de registros */
#div-page-content #div-reg-header #button-reg-header-sel-usuario
{
    width: 25px;
    height: 20px;
}

/*
    Logout
    ===========================================================================
*/
#div-logout
{
    position: absolute;
    margin: 0px 0px 0px 2px;
    padding: 2px 5px 2px 5px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 13px;
    overflow: hidden;
    color: #fff;
    background-color: #007e7a;
    font-weight: bold;
    /*visibility: hidden;*/
}

/*
    Message
    ===========================================================================
*/
div[id^='div-message-']
{
    position: absolute;
    margin: 0px 0px 0px 2px;
    padding: 2px 5px 2px 5px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 13px;
    overflow: hidden;
    color: #fff;
    background-color: #007e7a;
    font-weight: bold;
}

#div-message-title
{
    /*color: #bb133e;*/
    color: #edb111;
}

/*
    PopUp content
    ===========================================================================
*/
#div-popup-content
{
    display: none;
}

.ui-dialog .ui-dialog-content
{
    padding: 5px;
    overflow:hidden;
}

.ui-dialog-title
{
    font-size: 14px;
}

.ui-dialog .ui-dialog-buttonpane
{
    text-align: center;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset
{
    float: none;
}

/*
    Tabs
    ===========================================================================
*/
.div-tab-header
{
    border: 0px !important;
}

.ul-tab-header
{
    background: #fff !important;
    border: 0px !important;
}

.ul-tab-header li
{
    background: White !important;
    border: 1px solid #f0f0f0 !important;
    border-bottom-width: 0px !important;     
}

.ul-tab-header .ui-state-default a
{
    background: White !important;
    color: #747678 !important;
    font-weight: normal !important;
    font-size: 12px !important;
}

.ul-tab-header .ui-state-hover a
{
    background: White !important;
    color: #007e7a !important;
    font-weight: bold !important;
    font-size: 12px !important;
}

.ul-tab-header .ui-state-active a
{
    background: White !important;
    color: #007e7a !important;
    font-weight: bold !important;
    font-size: 12px !important;
    outline: none;
    cursor: default !important;
}

.div-tab-content
{
    border: 1px solid #f0f0f0 !important;
}

.ui-tabs .ui-tabs-panel
{
    padding: 1em 1em;
}

/*
    SlickGrid
    ===========================================================================
*/
.slick-headerrow.ui-state-default
{
    text-align: center !important;    
}

.slick-headerrow.ui-state-default input
{
    width: 95% !important;
}

.slick-headerrow.ui-state-default select
{
    width: 95% !important;
}

/* Estilo para os títulos das colunas */
.ui-state-default.slick-header-column
{
    font-size: 13px !important;
    font-weight: bold;
    text-align:center;
    font-weight: bold;
}

/* Estilo para o conteúdo das células do grid */
.slick-cell
{
    font-size: 12px;
   
}

/* Estilo personalizado para colunas do grid */
.slick-column-custom
{
    text-align:left !important;
}

/* Estilo personalizado para colunas do grid */
.slick-imagecolumn-custom
{
    text-align:center !important;
}

/* Estilo para os filtros comboBox do grid */
.option-comboBox-grid
{
    color: Black;
}

.slick-row.selected .cell-selection {
    background-color: transparent;
     text-align:center;
}

.percent-complete-bar {
  display: inline-block;
  height: 6px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

/* Estilo personalizado para colunas do grid */
.slick-column-custom-header
{
     text-align:left !important;
     background-color: #bfbfbf;
     color: #ffffff;
     font-weight: bold;
}

.menu-mobile{
    min-width: 155px;
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    color: #747678!important;
}

.menu-mobile:hover{
    font-weight: bold;
    color:#007e7a!important;
}