/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 05/10/2016, 12:33:33
    Author     : Marlucio
*/
/**
//define tamanho completo com top right e left
z index para não ser sobreposto e posição fixa para se manter sempre no topo
*/
.sgw-toogle{
    float: left;
    color: #fff;
    line-height: 50px;
    margin-left: 15px;
}
.sgw-versao{
    float: left;
    color: #fff;
    line-height: 50px;
    margin-left: 15px;
}

.sgw-logado{
    color:white;
    float: right;
    line-height: 50px;
}

.sgw-logado-user{
    color:white;
    float: right;
    line-height: 50px;
}

/**
Adiciona o icone no lado direito do panel toogle
*/
.sgw-panel-tg.ui-panel .ui-panel-titlebar .ui-panel-titlebar-icon{
    float: left !important;
}
/**MENU
font 1.2 x maior que a font do pai, do body
*/
.sgw-menu{
    /*font-size: 1.1em;*/
}
.sgw-menu > ul{
    padding: 0;
    list-style: none;
}
.sgw-menu>ul a{
    padding: 10px 15px;
    font-weight: 500;
    display: block;
    text-decoration: none;
    color: #fff;
}
.sgw-menu>ul i{
    margin-right: 6px;
}
.sgw-menu>ul a:hover, .sgw-menu>ul a:focus{
    color: #ffffff;
    text-decoration: none;
    background-color: #cc3300;
    background-position: 0px;
    background-image: -moz-linear-gradient(top, #cc3300, #cc3300);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cc3300), to(#cc3300));
    background-image: -webkit-linear-gradient(top, #cc3300, #cc3300);
    background-image: -o-linear-gradient(top, #cc3300, #cc3300);
    background-image: linear-gradient(to bottom, #cc3300, #cc3300);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#cc3300', endColorstr='#cc3300', GradientType=0);

}
/*
SubMenu
*/

.sgw-menu>ul li ul{
    margin: 0;
    padding: 0;
    background-color: #272d34;
}
/*cor do texto do submenu do side bar*/
.sgw-menu  .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link .ui-menuitem-text{
    color: white!important;
}
/*cor do icone do submenu do side bar*/
.sgw-menu  .ui-menu .ui-menu-list .ui-menuitem .ui-menuitem-link .ui-menuitem-icon{
    color: #cc3300;
}
.sgw-menu  .ui-menu .ui-menu-list .ui-menuitem a:hover:not(.active){
    background-color: #cc3300;
}

.sgw-menu>ul li a:hover:not(.active) {
    background-color: #555;
    color: white;
}
.sgw-panel-header.ui-panel{
    padding: 0px;

}
.sgw-panel-header>.ui-panel-titlebar{
    background-color: #4e6b96;
    color: white;
    padding: 0;
    text-align: center;
}
.sgw-panel-header>.ui-panelgrid-header{
    text-align: center;
    background-color: #4e6b96!important;
    color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px ;
}
.sgw-panel-header-sm>.ui-panel-titlebar{
    background-color: white;
    color:#4e6b96;
    padding: 0;

}
.sgw-panel-header-sm .ui-panel-title{
    font-size: 12px!important;
    text-align: center;
}
.sgw-png-header-dark-outline>.ui-panelgrid-header{
    text-align: center;
    background-color: #fff!important;
    color: #4e6b96;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px ;
}
.sgw-panel{
    margin: 0px;
    font-family: "Open Sans", "Helvetica Neue",sans-serif;
}
.sgw-panel .ui-panelgrid .ui-panelgrid-cell{
    border:none;
    padding: 0.5em;
}
.sgw-panel .ui-grid{
    border:none;
}
/*.sgw-panel .ui-panelgrid-header{
    height: 20px;
}*/
.sgw-panel .ui-panelgrid-header>h5{
    margin-top: 5px;
}

.sgw-panel-default>.ui-panel-titlebar{
    border-top:none;
    border-left: none;
    border-right: none;
}
.sgw-panel.sgw-border-none{
    border: none;
}
.sgw-panel .ui-panel-content{
    margin: 0px!important;
}

.sgw-panel>.ui-panel-titlebar{
    font-size: 20px!important;
    text-align: left;
    border-bottom: solid 1px #dee4e9;
}
.sgw-panel .sgw-subTitle{
    font-size: 55%;
}
.sgw-panel-default.ui-panel{
    padding: 0em;

}
.sgw-subpanel-default{
    padding: 0px;
    border: none;
}
.sgw-subpanel-default.ui-panel{
    padding: 0px!important;

}
.sgw-panel-default .sgw-subpanel-default {
    border: none;
    border-radius: 0px;

}
.sgw-panel label{
    font-weight: bold;
}
.sgw-panel-default.sgw-png-pesquisa{
    border-bottom: none;
    border-bottom-color: inherit;
}
.sgw-panel-default .sgw-png-noborder .ui-widget-content{
    border: none;
}
.sgw-png-pesquisa .ui-widget-content{
    border:none;
}
.sgw-panel-dash{
    margin: 3px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px ;
    border: #dee2e6 solid 1px !important;
    border-radius: 5px;
}
.sgw-panel-dash>.ui-panel-titlebar{
    font-size: 14px;
}
.sgw-panel-dash .ui-panel{
    padding: 0px!important;
}
.sgw-panel-dash.ui-panel .ui-panel-footer{
    border: none;
    border-top: #dee2e6 solid 1px;
}
.sgw-panel-dash.ui-panel .ui-panel-content{
    border: none !important;
}
.sgw-panel-dash.ui-panel .ui-panel-titlebar{
    border: none !important;
    border-bottom:#dee2e6 solid 1px !important;
}
.sgw-panel-dash>.ui-panel-content{
    padding: 0.5em!important;
    height: 90px;

}
.sgw-panel-default>.ui-panel-titlebar{
    letter-spacing: 1px;
    text-align: left;
    font-size: 14px;
    background-color:white;
    color: #3c4f6c;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px ;
}
.sgw-subpanel-default>.ui-panel-titlebar{
    padding: 0em;
    letter-spacing: 1px;
    text-align: left;
    font-size: 14px;
    color: #3c4f6c;
    background-color: #f6f7f9;
    border-radius: 0px;
}
.sgw-panel-default .ui-datatable-header{
    padding: 0.4em!important;
    font-size: 14px;
    background-color:white;
    color: #3c4f6c;

}
.sgw-panel-green {
    padding: 0;
    border: green 1px solid;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px ;
}
.sgw-panel-green>.ui-panel-titlebar{
    border-radius: 0px;
    border: none;
    border-bottom:green solid 1px!important;
    background-color: white;
    color: green;
}
.sgw-panel-red {
    padding: 0;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px ;
}
.sgw-panel-red>.ui-panel-titlebar{
    border: none;
    border-bottom:#d9534f solid 1px!important;
    border-radius: 0px;
    background-color: white;
    color: #d9534f;
}
.sgw-panel-default .sgw-panel-red{
    border: inherit;
    background-color: inherit;
    color: inherit;
}

.sgw-panel-red-dash>.ui-panel-titlebar{
    background-color: #d9534f;
    color: white;
}
.sgw-panel-green-dash>.ui-panel-titlebar{
    background-color: #5cb85c;
    color: white;
}
.sgw-panel-yellow-dash>.ui-panel-titlebar{
    background-color: #f0ad4e;
    color: white;
}
.sgw-panel-purple-dash>.ui-panel-titlebar{
    background-color: #3a3042;
    color: white;
}
.sgw-panel-primary-dash>.ui-panel-titlebar{
    background-color: #265a88;
    border-color: #3c4f6c;
    color: #fff;
}
.sgw-panel-success.ui-panel{
    border: none;
    padding: 0;

}
.sgw-panel-success>.ui-panel-titlebar{
    padding: 0em;
    font-family: "Open Sans", "Helvetica Neue",sans-serif;
    font-size: 14px;
    background-color: #5cb85c;
    color: white;
}

.sgw-text-center>.ui-panel-titlebar{
    text-align: center;
}
.sgw-title{
    padding: 0em;
    margin-left:0.2em;
    font-family: "Open Sans", "Helvetica Neue",sans-serif;
}
.sgw-count-panel{
    float: right;
    margin-top: 10px;
    font-size: 30px;
    font-weight: normal;
    font-family: "Open Sans", "Helvetica Neue",sans-serif;
}
.sgw-count-panel-notificacoes{
    margin: 1em;
    background-image: none;
    background-clip: padding-box;
    background-color: rgb(250, 62, 62);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    direction: ltr;
    display: inline-block;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 10px;
    line-height: 13px;
    min-height: 13px;
    padding-bottom: 1px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 1px;

}
.sgw-inverse-header>.ui-panel-titlebar{
    font-size: 13px;
    background-color: #eee;
    color:  #2B3F52;
}
/*.ui-button{
background-color: #fff!important;
border-color: #3c4f6c!important;
color: #3c4f6c!important;
background-image: none!important;
color: #3c4f6c!important;
text-align: center!important;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
touch-action: manipulation;
vertical-align: middle;
white-space: nowrap;
font-weight: 400;
}*/
.sgw-btn{
    background-image: none!important;
    color: #fff!important;
    text-align: center!important;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    touch-action: manipulation;
    white-space: nowrap;
    font-weight: bold;
    text-shadow: none!important;
    margin:0.2rem !important;
}
.sgw-btn>.ui-icon{
    top:45%!important;
}
.sgw-btn>.ui-icon:hover{
    font-weight: bold;
    text-decoration: #3c4f6c underline solid ;
}
.sgw-btn.sgw-btn-success {
    background-color: #5cb85c!important;
    border-color: #4cae4c!important;
}
/*pequeno small*/
.sgw-btn.sgw-btn-sm {
    height: 27px;
    line-height: 17px;
}
.sgw-btn-sm .ui-button-text.ui-c{
    padding: 0em 1em 0em 1.5em;
}
.sgw-btn.sgw-btn-success-out {
    background-color: #fff!important;
    border-color: #5cb85c!important;
    color: #4cae4c!important;
}
.sgw-btn.sgw-btn-primary-out {
    background-color: #fff!important;
    border-color: #3c4f6c!important;
    color: #3c4f6c!important;
}
.sgw-btn.sgw-btn-danger {
    background-color: #d9534f!important;
    border-color: #d43f3a!important;
}
.rowContigencia {
    color: #009879!important;
}
.rowContigencia.ui-state-highlight {
    background-image: linear-gradient(to bottom, #009879, #00b38a)!important;
    color: white!important;

}

.sgw-png-pesquisa.sgw-panel-grid{
    border-bottom: #dee4e9 1px solid;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-bottom: 4px;
}
.sgw-panel-grid .ui-panelgrid{
    border-top-left-radius: 3px!important;
    border-top-right-radius: 3px;

}
.sgw-panel-grid .ui-panelgrid-header{
    border-top-left-radius: 3px!important;
    border-top-right-radius: 3px;
    background-color: inherit;

}
.sgw-panel-grid .sgw-panelgrid-border .ui-grid-responsive .ui-panelgrid-cell{
    border: 1px solid #f4f4f4!important;

}
.sgw-input-sm input{
    font-size: 13px;
    width: 80px!important;
    line-height: 1.2;
    opacity: 1;
}
.sgw-input-fake-disabled  .ui-state-disabled{
    opacity: 1;
    background-color: #dfdfdf;
}
/**
Regra para tabview selecionada
não marcado como sgw porque todas a tabview precisam de serem realçadas
*/
/*li.ui-tabs-selected a{
    background-color: #1c9ed5;
    color: #fff!important;
    font-weight: bold;
}*/
.ui-datepicker-calendar .ui-state-active{
    background-color:  rgb(43, 63, 82);
    color: #fff!important;
    font-weight: bold;
}
textArea.ui-state-error{
    border-left: 2px solid #b94a48 !important;
}
input.ui-state-error{
    border-left: 2px solid #b94a48 !important;
}
.ui-inputfield.ui-state-error{
    border-left: 2px solid #b94a48 !important;
}
.ui-state-error.ui-selectonemenu{
    border-left: 2px solid #b94a48 !important;

}
/**
DATATABLE
*/

/*.ui-datatable thead th, .ui-datatable tfoot td {

    vertical-align: baseline;
    text-decoration: underline #3c4f6c;


}*/
.sgw-intrucoes{
    padding-left:10px;
}
.sgw-intrucoes>.sgw-topico{

    outline: rgb(245, 245, 245) 1px solid;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.sgw-intrucoes>.sgw-topico li{
    border-left:rgb(245, 245, 245) 12px solid;
    outline:rgb(245, 245, 245)1px solid;
    font-size: 14px;
    font-weight: 800;
    padding: 10px;
    text-decoration: none;
    text-align: left;
    margin-bottom: 10px;
}
/*Caixa de dialogo splitbutton*/
.ui-menu .ui-menu-dynamic .ui-widget .ui-widget-content .ui-corner-all .ui-helper-clearfix .ui-shadow{
    width: auto;
    left: 80%;
}

.autocomplete_selected{
    background-color: #ddd!important;
}
.sgw_cmd_link_footer_dash{
    display: inline-block;
}
@media(max-width: 560px){
    .sgw_cmd_link_footer_dash{
        display: contents!important;
    }

}
@media(max-width: 802px){
    .sgw-tabView li{
        width: 100%;
    }
    .ui-panelgrid-header{
        height: auto !important;
    }
    .autoProd_input{
        width: 90% !important;
    }

    .sgw-img-fluid{
        max-width: 100%;
        height: auto;
    }
    .sgw-tabView li.ui-tabs-header.ui-state-hover {
        background: rgba(62, 70, 76, 0.04)!important;
    }
}
/* Correções da versão 11 do primefaces*/

.sgw-left-0-2{
    margin-left: 0.2em!important;
}

.red{
    color: red !important;
}
.sgw-border-none{
    border:none;
}
.ui-panelgrid-header{
    border:none !important;
}
/*proíbe control c*/
.sgw.no-copy{
    -webkit-user-select: none;  /* Chrome Todos / Safari Todos */
    -moz-user-select: none;     /* Firefox Todos */
    -ms-user-select: none;      /* IE 10+ */
    -o-user-select: none;
    user-select: none;
}

.sgw-height-250{
    max-height: 250px;
    overflow: scroll;
}

/*mantém label sempre no superior*/
.ui-float-label>label {
    top: -0.5rem !important;
    background-color: #ffffff;
    padding: 2px 4px;
    margin-left: -4px;
    margin-top: 0;
}
/*corrige não exibição de primeiro item, problema com layout ultima*/
.ui-selectonemenu-panel.ui-input-overlay-panel .ui-selectonemenu-items-wrapper .ui-selectonemenu-items li:first-child{
    display: block !important;
}
/*para componentes fluidos*/
.sgw-width-100{
    width: 100%;
    max-width: 100%;
}
/*Para usar float label com output*/
span.ui-float-label.sgw-top-label-out {
    padding-top: 10px;
    padding-left: 3.5%;
}

.sgw-color-saida-terceiros{
    color: #5cb85c !important;
}
/*será geral para o quando focar o botão*/
.ui-button:focus {
    opacity: 52%!important;
    /*    background-color: #2980b9 !important;  Cor de fundo quando o mouse estiver sobre o botão 
        color: #fff !important;  Cor do texto quando o mouse estiver sobre o botão */
}
/*será geral para o quando passar o mouse sobre o botão*/
.ui-button:hover {
    opacity: 52%!important;
    /*    background-color: #2980b9 !important;  Cor de fundo quando o mouse estiver sobre o botão 
        color: #fff !important;  Cor do texto quando o mouse estiver sobre o botão */
}
/*corrige drop down dentro de fiel float*/
.p-field .ui-autocomplete-dropdown.ui-button.ui-widget.ui-state-default.ui-corner-right.ui-button-icon-only {
    position: absolute;
}

.sgw-content-full{
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 999;
}

.ui-editable-column{
    cursor: alias;
    text-decoration: underline;
}
