﻿@charset "UTF-8";

* {
    outline:none;
}

html, body, form {
    margin:0px; 
    padding:0px; 
    height:100%;
}

html  
{
    overflow-y:scroll;
}

body {
    font-family:Arial,Verdana,Tahoma; 
    font-size:12px; 
    color:#333333;
    background-image:url('../../imgs/bg_pagina.jpg'); background-repeat:repeat-x; background-position:top;
}

body.freetexbox { background-color:#FFF; background-image:none; }

small {
    color:#666 !important;
    font-weight:normal !important;
}

/* LINKS */

a:link { color:#666666; text-decoration:none; }
a:visited { color:#666666; text-decoration:none; }
a:active { color:#666666; text-decoration:none; }
a:hover { color:#333333; text-decoration:underline; }

/* TITULOS */

h1 {
    font-size:25px; 
    font-weight:500; 
    color:#ff9900; 
    padding:0px; 
    margin:0px; 
}

h1.home { color:#333333; font-weight:bold; }

h2 {
    font-size:22px; 
    font-weight:normal; 
    color:#CCCCCC; 
    padding:0px; 
    margin:0px; 
}

h3 {
    font-size:18px; 
    font-weight:bold; 
    color:#666666; 
    padding:0px; 
    margin:0px; 
}

hr { background-color:transparent; height:1px; border:none; border-bottom:1px solid #CCCCCC; }

label { margin-right:10px; font-weight:normal; }

.dir {text-align:right}
.cen {text-align:center}
.ajax__calendar td { padding:0px !important; }
.tachado { text-decoration:line-through;}

/* DIVs */

#barra { margin:10px; margin-bottom:0px; padding-left:8px; padding-right:8px; background-image:url('../../imgs/bg_barra_usuario.jpg'); background-repeat:repeat-x; background-position:bottom; height:30px; line-height:30px; -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
#barra img { margin-top:-2px; vertical-align:middle; }
#barra img:first-child { margin-left:-2px; margin-top:-5px; margin-right:12px; height:42px; float:left; }
#barra .usuario { font-weight:bold; }
#barra .acesso { color:#999; }
#barra input { float:right; margin-top:5px; }

#pagina { vertical-align:top; border:0px; padding:10px; padding-top:12px; }

#menu { display:none; z-index:5000; padding:10px; background-image:url('../../imgs/bg_menu.jpg'); background-repeat:repeat-x; background-position:bottom; background-color:#FFFFFF; border:1px solid #E8E8E8; margin-bottom:10px; -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;}
#menu a { display:block; border-left:2px solid #E8E8E8; padding:4px; padding-left:8px; margin-top:5px; color:#666666; }
#menu a:hover { border-left:2px solid #ff9900; background-color:#f5f5f5; text-decoration:none; color:#ff9900 }
#menu a.sub { margin-left:10px; padding-left:15px; background-image:url('../../imgs/seta_sub_off.gif'); background-repeat:no-repeat; background-position:top left; border:none; }
#menu a.sub:hover { background-image:url('../../imgs/seta_sub_on.gif'); }
#menu table { width:100%; }
#menu table td { padding-right:15px; width:15%; height:1%; padding-bottom:15px; white-space:nowrap; }
#menu h1 { white-space:nowrap; }
#menu h1 img { vertical-align:bottom; margin-right:8px;}

#aba_menu { height:21px; padding-top:2px; width:100px; position:relative; left:50%; margin-left:-50px; text-align:center; margin-top:-13px; background-image:url('../../imgs/bg_aba_menu.png'); color:#666; font-size:13px; font-weight:bold; cursor:pointer; text-transform:uppercase; }

#conteudo { padding:10px;  z-index:4000; margin-top:-10px; background-color:#FFFFFF; border:1px solid #E8E8E8; margin-bottom:5px; -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }

#rodape { float:right; font-size:11px; padding-right:15px; padding-bottom:5px; clear:both; }

#processando, #erro {
    position:fixed; 
    top:0px; 
    left:0px; 
    width:100%; 
    height:100%; 
    background-image:url('../../imgs/transparente_b.png'); 
    display:none; 
}

#processando div {
    position:absolute; 
    top:20px; 
    left:40%; 
    color:#666666; 
    background-color:#FFFFCC; 
    border:2px solid #CCCCCC; 
    font-weight:bold; 
    padding:20px; 
}

#erro div {
    position:absolute; 
    top:40%; 
    left:40%; 
    color:#990000; 
    background-color:#FFFFFF; 
    border:2px solid #CC0033; 
    font-weight:bold;
    padding:40px;
    width:350px;
}

/* TABELAS */

td {
    vertical-align:top; 
    padding:0px; 
    margin:0px; 
}

table.filtro { background-color:#F5F5F5; border-color:#E8E8E8; border-width:1px; border-style:solid; width:100%; margin-bottom:8px; }
table.filtro td { padding:4px; white-space:nowrap; vertical-align:middle; text-align:center; }
table.filtro td:first-child { text-align:left; width:1%; white-space:nowrap; }
table.filtro td:last-child { text-align:right; width:1%; white-space:nowrap; }
table.filtro td a { margin-right:5px; color:#666666; text-decoration:none; }
table.filtro td table td { padding:0px; margin:0px; }
table.filtro select { width:auto !important; }
table.filtro input[type=text] { width:100px !important; }
table.filtro td input.input.cen { width:70px !important; text-align:center; }

table.grid_cabecalho { background-color:#CCCCCC; border-color:#E8E8E8; border-width:1px; border-style:solid; border-bottom:none; width:100%; }
div.grid_cabecalho { background-color:#666666; border-color:#E8E8E8; border-width:1px; border-style:solid; border-bottom:none; padding:2px; }
table.grid_cabecalho td { padding:4px; }

table.none td { padding:0px; padding-right:3px; }

.ficha {
    padding:0px;
    width:100%;
}

#ficha_cabecalho {
    border:1px solid #E8E8E8; 
    background-color:#F5F5F5; 
    padding:6px; 
    margin-bottom:5px; 
    height:24px;
}

#ficha_conteudo { 
    font-size:12px; 
    font-weight:bold; 
    color:#666666;
    width:100%; /*width:545px;*/
}

.ficha_rodape {
    clear:both;
    border:1px solid #E8E8E8; 
    background-color:#F5F5F5; 
    padding:6px; 
    margin-bottom:5px; 
    height:22px;
}

.campo { 
    float:left; 
    padding:5px;
    border:1px solid transparent;
}

.campo input, .campo select, .campo label { 
    font-size:16px;
    color:#000000;
}

.campo input[type=button], .campo input[type=submit] { 
    font-size:12px;
    color:#666666;
}

.campo input[readonly=readonly], .campo select[readonly=readonly], .campo textarea[readonly=readonly] { 
    background-color:#F5F5F5;
}

.campo input[disabled=disabled], .campo select[disabled=disabled], .campo textarea[disabled=disabled] { 
    background-color:#E0E0E0;
}

.campo a:link, .campo a:visited, .campo a:visited, .campo a:hover {
    color:#666666;
    text-decoration:none;
    border-bottom:1px dotted #666666;
    font-weight:normal;
}

.colW1   { width:15%; } /*{ width:115px; }*/
.colW2   { width:31%; } /*{ width:240px; }*/
.colW3   { width:47%; } /*{ width:365px; }*/
.colW4   { width:63%; } /*{ width:490px; }*/
.colW5   { width:79%; } /*{ width:615px; }*/ /*{ width:552px; }*/
.colW6   { width:95%; } /*{ width:740px; }*/
.colW1_5 { width:22%; }


.separador { 
    width:100%; 
    height:1px; 
    background-color:#E8E8E8; 
    margin-top:5px; 
    margin-bottom:5px; 
    float:left; 
}

.colWBox 
{
    float: left;
    border:1px solid #E8E8E8; 
    background-color:#FFC; 
    padding:2px;
    width:95%;
}


/* FORMULARIOS */

.btn {
    border:1px solid #C0C0C0; 
    background-image:url('../../imgs/bg_btn.jpg'); 
    background-position:center center; 
    background-repeat:repeat-x; 
    color:#666666; 
    cursor:pointer; 
    font-size:12px; 
    font-weight:bold; 
    height:21px; 
}

.btn_grid {
    background-image:url('../../imgs/bg_btn.jpg'); 
    background-position:center center; 
    background-repeat:repeat-x; 
    color:#666666; 
    border-width:1px; 
    border-color:#C0C0C0; 
    border-style:solid; 
    cursor:pointer; 
    font-size:9px; 
    font-weight:bold; 
    text-align:center; 
    height:16px; 
}

.btn_busca {
    background-image:url('../../imgs/btns/bg_busca.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    padding-left:22px; 
    width:75px; 
    height:21px;
    text-align:left; 
}

.btn_limpa_busca {
    background-image:url('../../imgs/btns/bg_limpar.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    width:20px !important;
    height:21px;
    border-left:none;
    border-top-color:#333;
    border-bottom-color:transparent;
}

.btn_novo {
    background-image:url('../../imgs/btns/bg_novo.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    padding-left:21px; 
    text-align:left; 
}

.btn_gravar {
    background-image:url('../../imgs/btns/bg_salvar.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    padding-left:21px; 
    width:60px; 
    text-align:left; 
}

#ficha_cabecalho input.btn_gravar, #ficha_cabecalho input.btn_voltar {
    float:right; 
    margin-right:5px; 
}

.btn_voltar {
    position:relative; 
    background-image:url('../../imgs/btns/bg_voltar.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    padding-left:22px; 
    width:70px; 
    /*float:right;*/
    height:21px; 
}

.btn_voltar {
    background-image:url('../../imgs/btns/bg_voltar.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    padding-left:20px; 
    margin-right:5px; 
    text-align:left; 
    width:90px;
    height:21px;
}

.input {
    background-color:#F5F5F5; 
    color:#000000; 
    border:1px inset #CCCCCC; 
    width:100%; 
}

.input_login {
    color:#666666; 
    border:1px inset #CCCCCC; 
    font-size:14px; 
    padding:5px; 
    width:100%; 
}

.agenda {
    background-image:url('../../imgs/icos/agenda_altera.gif'); 
    background-position:left center; 
    background-repeat:no-repeat; 
    padding-left:19px; 
    background-color:transparent; 
    color:#FFFFFF; 
    font-size:19px; 
    font-weight:normal; 
    border:none; 
    vertical-align:middle; 
}

.clear { clear:both; }
.none { padding:0px; margin:0px; background-color:transparent; border:none; }
.hidden { display:none; }

/* BORDAS */

.BD1 {
    border-color:#E8E8E8; 
    border-width:1px; 
    border-style:solid; 
}


/* GRIDS */

.grid { width:100%; border-width:1px; border-color:#E8E8E8; border-style:solid; }
.grid th { text-align:left; } 
.grid td { padding:4px; }
.grid tr td img, .grid tr td input[type=image], .grid tr td input[type=checkbox] { -moz-opacity: 0.25; filter: alpha(opacity=25); opacity:0.25; }
.grid tr:hover td img, .grid tr:hover td input[type=image], .grid tr:hover td input[type=checkbox], .grid:hover tr.grid_rodape td input, .grid tr td input[type=checkbox]:checked { -moz-opacity: 1.00; filter: alpha(opacity=100); opacity:1.00; }
.grid tr td img.nop, .grid tr td input[type=image].nop, .grid tr td input[type=checkbox].nop, .grid tr:hover td img, .grid tr:hover td input[type=image], .grid tr:hover td input[type=checkbox], .grid:hover tr.grid_rodape td input, .grid tr td input[type=checkbox]:checked { -moz-opacity: 1.00; filter: alpha(opacity=100); opacity:1.00; }
.grid_cabecalho { background-color:#666; color:#FFFFFF; }
    .campo .grid_cabecalho { background-color:#666666; color:#FFFFFF; }
    .campo .grid_cabecalho a { border:none; text-decoration:none; }
.grid_cabecalho th { text-align:left; padding:6px; }
.grid_cabecalho a:link, .grid_cabecalho a:visited, .grid_cabecalho a:active, .grid_cabecalho a:hover { color:#FFFFFF; text-decoration:none; }
.grid_cabecalho a:hover { text-decoration:underline; }
.grid_linha { background-color:#FFFFFF; }
.grid_linha2 { background-color:#F5F5F5; }
.grid_linha:hover, .grid_linha2:hover, .grid tr.selecionada td { background-color:#FFF8DC; }
.grid_rodape { font-weight:bold; text-align:left; }
.grid_paginacao { font-weight:bold; text-align:center; }
.grid_vazio { color:#CCCCCC; }

.grid tr td div.tooltip { display:none; background-color:#FFFBBB; position:absolute; padding:10px; margin-top:10px; left:25px; border:1px solid #CCC; color:#666 !important; font-style:italic; }
.grid tr td div.tooltip img:first-child { position:absolute; margin-top:-21px; left:10px; }
.grid tr td div.tooltip div { float:left; margin-right:20px; min-width:100px; min-height:15px; }
.grid tr td div.tooltip hr { clear:both; padding:0x; margin:0px; margin-top:20px; margin-bottom:5px; }
.grid tr:hover td div.tooltip { display:block; }

/* Modal Popup */

.modal {
	background-image:url('../../imgs/transparente_p.png'); 
	z-index:5; 
}

.overlay  {
    position:fixed;
    display:none;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-image:url('../../imgs/transparente_p.png');
    -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
}

.overlay > div  {
    position:absolute;
    width:1150px;
    top:50%;
    left:50%;
    margin-left:-590px;
    background-color:#FFF;
    border:3px solid #CCC;
    padding:10px;
    -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
}

.fecha_overlay  {
    cursor:pointer;
    float:right;
    margin-top:-22px;
    margin-right:-22px;
    display:block;
    background-color:#CCC;
    border:1px solid #C0C0C0;
    padding:6px;
    padding-top:3px;
    padding-bottom:3px;
    color:#333;
    -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
}

.novo_overlay {
    float:right;
    margin-right:5px;
    margin-bottom:-10px;
}