/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    /*display: none;*/
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 0;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */
.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

.v-offset-0 { margin-top: 2px; }
.v-offset-1 { margin-top: 5px; }
.v-offset-2 { margin-top: 10px; }
.v-offset-3 { margin-top: 15px; }
.v-offset-4 { margin-top: 30px; }
.v-offset-5 { margin-top: 40px; }
.v-offset-6 { margin-top: 60px; }
.v-offset-7 { margin-top: 80px; }
.v-offset-8 { margin-top: 100px; }
.v-offset-9 { margin-top: 150px; }

.navbar-nav > li.navbar-image > a {
    padding-bottom: 0px;
}

div[class^='form-input-'] input{
    height: 30px !important;
}
section.conteudo-ficha{margin-bottom: 60px;}

.numeric_column{
    text-align:right;
    width: 100%;
    display:block;
}

.flexigrid div.form-div input[type=number]
{
    font-size: 15px;
    width: 500px;
    height:30px;
    border: 1px solid #AAA;
    padding: 5px 5px 5px 5px;
    background: #fafafa;
}

.flexigrid div.form-div input[type=number]:hover
{
    border: 1px solid #555;
    background: #fff;
}

.custom-item-crud img{
    width: 15px;
}

input[type=text]{
    height:30px;
}

header.banner{
    margin: 0px;
    background: linear-gradient( rgba(82, 135, 242, 1), #070b13 );
    opacity: 0.8;
}

img.logo-banner{
    height: 80px;
}

.texto-banner h1{
    font-size: 25px;
    margin: 5px 0 0;
}
body{
    height: 100%;
}

.sidebar{
    margin-top: -20px;
    top: 0px;
    position: relative;
    overflow-y: scroll !important;
    min-height: 740px !important;
    height: 100%;
}

.titulo-aplicacao, .titulo-aplicacao:hover, .titulo-aplicacao:visited{
    color: #AAA !important;
    text-decoration: none !important;
}

.item-collapse{
    color: white;
    font-size: 20px;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .sidebar-toggle {
        display: block !important;
    }
}

.navmenu, .navbar-offcanvas {
    width: 240px !important;
}

.link-btn, .link-btn:hover, .link-btn:visited{
    text-decoration: none !important;
    color: #fff !important;
}

.texto-banner h1{
    color: #eee;
}

.navbar{border-radius:0px !important;}

/* modificações para o select customizado das unidades */
/*.form-input-box{float:none !important;}*/
#unidade_id_pai_input_box{float:none !important;}
#unidade_id_pai_display_as_box{width:184px !important;}


/* fix de impressão */
@media print
{
    body {width:1200px;}
    .table {width: 100%;}

    .table-responsive {
        border: 0px;
        margin-bottom: 0px;
        overflow-x: hidden;
        overflow-y: hidden;
        width: 100%;
    }

}

.error{
    color:red;
    background-color: #ffffcc;
    border: solid 1px red;
    padding: 5px;
}

.input-group-btn{
    width: 0px !important;
}

td.operations{
    white-space: nowrap;
}

.child_rows .panel{
    margin-top: 20px;
}

.campo_numerico_pequeno{
    width: 55px !important;
}

input.valor_estimado{
    width: 200px !important;
}

td.valor_estimado input{
    width: 200px !important;
}

.rodape{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #f8f8f8;
    font-size: small;
}

.contratacaoColuna{
    white-space: normal;
}


div.ui-multiselect{
    width: 100% !important;
    border: none;
}

.campo_contratacao_id .form-control{
    margin-bottom: 10px;
}

.condicoes_risco{
    background-color: #f1f1f1;
}

.condicao-risco{
    margin-top: 20px;
    margin-bottom: 10px;
    border-top: solid 2px #cccccc;
    /*border-bottom: solid 2px #cccccc;*/
    padding-top: 20px;
}

