/* 
    Document   : main
    Created on : 12-oct-2012, 13:19:16
    Author     : Investigaciones
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

input[type='text'], textarea, input[type='password'] { 
    border: 1px solid #CCCCCC;
    border-radius: 5px 5px 5px 5px;
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin: 0;
    font-size: 1em;
}

body{
    background-color: #F7F7F7 !important;
    background-size: 100% 100%;
    background-repeat: repeat-y;
    background-attachment: fixed;
    font-family: helvetica, sans-serif;
    font-size: 10pt;
    margin: 0;
}

fieldset {
    background-color: white;
    border-color: #E5E5E5 #DBDBDB #D2D2D2;
    border-style: none;
    border-width: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    height: auto;
    margin: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

fieldset legend{ 
    font-weight: bold;
}

.record_properties th { text-align: left; }
.record_actions li { list-style: none; float: left;}

#nav {
    height: 58px;
    font-family: sans-serif;
    font-size: 14pt;
    padding-top: 20px;
}

#nav ul{
    top: 0;
    padding: 0;
    margin-bottom: 0px; 
    margin-top: 85px; 
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: block;
    clear: both;
    float: left;
    background-color: #0089CE;
}

#nav ul li { 
    float: left;
    list-style: none outside none;
    font-size: 10pt;
    text-align: center;
    border-image: url("../images/borde.png") 0 2 0 1;
    border-style: solid;
}

#nav ul li:last-child{
    border-style: none;
    padding-top: 3px;
}

a, a:hover, a:visited, a:active, a:enabled, a:valid, a:link {
    text-decoration: none;
    color: #0089ce;
}

#nav li a:hover {
    color: #FFF;
    background-color: #005989;
}

#nav li a {
    color: #eee;
    display: block;
    float: left;
    font-size: 1.1em;
    margin-right: 3px;
    padding: 9px 10px;
}

div#mainBody{
    margin: 0 auto;
    width: 90%;
}

div#content{
    display: block;
    border-color: #E5E5E5 #DBDBDB #D2D2D2;
    border-style: solid;
    border-width: 1px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    margin: 0px 10px 10px 10px;
    background-color: white;
    height: auto;  
    padding: 10px;
    padding-bottom: 20px;
}

div#pageTitle{
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
    margin-top: -10px;
    color: white;
    background: none repeat scroll 0 0 #0089CE;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    border-radius: 10px 10px 0 0;
    padding: 10px;
    padding-top: 25px;
    font-size: 18px;
    line-height: 18px;
}

div#pageTitle img{
    height: 40px;
    vertical-align:  middle;
    margin-right: 10px;
}

#sucursales { background-color: white;}

.user_name{
    display: block;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
}

div#header{
    padding-left: 100px;
    border-radius: 15px 15px 0px 0px;
    background-image: url('../images/logo.png'); 
    background-repeat: no-repeat;
    background-position: 0px 20px;
    padding-bottom: 20px;
}

#header_title{
    margin-right: 10px;
    margin-top: 10px;
    background-color: #0089CE;
    color: white;
    text-shadow: 0 1px 0 #333333;
}

ul.pager li {
    list-style: none; 
    float: left;
    padding-right: 10px;
}

ul.record_actions{
    display: inline-block;
}

ul.record_actions img{
    height: 28px;
    vertical-align: middle;
}

ul.record_actions a, submit, button, input[type='button'] {
    background-color: #0089ce;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    margin-right: 5px;
    font-size: 1.1em;
    border: 1px solid #0079be;
}

ul.record_actions a{
    padding: 5px 7px;
    float: left;
}

button img{
    height: 28px;
    vertical-align: middle;
}

submit, button, input[type='button']{
    padding: 4px 7px;
}

ul.indicadores{
    margin: auto;
}

ul.indicadores li {
    list-style: none;
    font-size: 14pt;
    border-width: 1px;
    border-style: solid;
    border-color: #CDCDCD #F0F0F0 #F0F0F0 #CDCDCD;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 10px auto;
    width: 70%;
    text-align: center;
    border-radius: 10px;
}


table.records_list {
    width: 100%;
    background-color: #FFFFFF;
    background-color: #FFFFFF;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom-color: #DFDFDF;
    border-top-color: #DFDFDF;
    border-left-color: #DFDFDF;
    border-right-color: #DFDFDF;
    border-collapse: collapse;
}

.records_list td{ 
    padding: 10px;
    border: inset 0pt;
    text-align: left;
}

table.records_list th {
    background-color: #0089CE;
    color: white;
    border: 0;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
}

table.records_list tr:nth-child(even){
    background-color: #eee;
}

table.records_list tr:first-child{
    height: 40px;
}

table.record_properties tr{
    vertical-align: top;
}

.divList{
    max-height: 120px; 
    overflow: auto;
    border: 1px solid #CCC;
}

.divList p { 
    margin-top: 0px; 
    margin-bottom: 0px; 
}

.divOption{
    display: block; 
    float: left; 
    border: 1px solid #CCC; 
    padding: 0 0;
    text-align: center;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
    margin-right: 30px;
    margin-bottom: 30px;
    width: 150px;

}

.divOption h4{
    border-bottom: 1px solid #BBBBBB;
    text-shadow: 0 2px 2px #CCCCCC;
    padding: 0 7px;
    height: 30px;
}

.divOption img{
    padding: 0 20px 10px;
    width: 80px;
    height: 80px;
}

table#form tr{
    vertical-align: top;
}

button.selected{
    background-color: #FAE053;
}

h1, h2 { color: #0089ce; }

h3{
    font-size: 11pt;
    color: #5c9ccc;
    margin-bottom: 5px;
}

div.subForm{
    margin: 20px;
}

div#map_canvas{ width: 100%; 
                height: 400px; 
                box-shadow: 2px 2px 10px #b1b1b1;
}

table.records_list { margin-top: 10px; }
table.records_list img { height: 32px; }

img.icon { height: 40px; }
td.number, th.number { text-align: right !important; }
td.numero, th.number0 { text-align: right !important; }

ul.error_list  li { color: red; font-weight: bold; }

div.flash_error
{
    color: red;
    font-weight: bold;
    font-size: 1.2em;
}

select {
    font-size: 1em;
}

td.center, th.center {
    text-align: center;
}

.rojo {
    color: red;
}

.azul {
    color: blue;
}

.amarillo {
    color: goldenrod;
}

.verde {
    color: green;
}

#visitas img { height: 48px; width: 48px; }
img.visita { width: 48px; height: 48px;}

div.semaforo {
    height: 28px;
    width: 50px;
    text-align: center;
    background-size: cover;
    padding-top: 10px;
    display: block;
}

label.semaforo {
    color: white;
}

label.semaforo a {
    color: white;
    font-weight: bold;
}
