* {
  margin:0;
  padding:0;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  background:#fff;
}
br.clear {
  clear: both;
}
img {
  clear: both;
}
h1 {
  color: #003366;
  margin: 20px 0;
  padding: 13px 20px;
  border: 1px solid #E9E9E9;
  background:transparent url(../img/bg_h1.png) repeat-x bottom;
}
a {
  color: #003366;
}
a:hover {
  text-decoration: none;
}

textarea {
  min-height: 100px;
}

#container {
  width:980px;
  border: 0;
  margin: 0 auto;
}
#content {
}

/*Header*/
#header {
  height: 143px;
  width: 980px;
  position: absolute;
  z-index:100000000;
}
#logo {
  /*background:transparent url(../img/logo.jpg) no-repeat;*/
  width:980px;
  height: 143px;
  float:right;
}
#dummy-header {
	height: 90px;
}

#menu_top {
  display:inline;
  width: 478px;
  height: 83px;
  background:transparent url(../img/home_menu_sup.jpg) no-repeat;
  float: right;
}
#menu_top img {
  display:inline;
}


/*Home foto*/
#home_foto {
  width:980px;
  height: 241px;
  background:transparent url(../img/home_foto.jpg) no-repeat;
}

/*RSS*/
#rss_wrap {
  height: 25px;
  background:transparent url(../img/rss_bg.png) repeat-x ;
}

#rss_text {
  height: 25px;
  width: 218px;
  background:transparent url(../img/rss.png) no-repeat right;
  display:inline;
  float: right;
}

/*Footer*/
#footer {
  height: 49px;
  background:transparent url(../img/footer_bg.png) repeat-x;
}

#powered_by {
  width: 151px;
  height: 49px;
  float: left;
}

#powered_by img {
  border: 0;
}
#copyright {
  height: 49px;
  width: 829px;
  display:inline;
  float: left;
}
#copyright p {
  font-size: 10px;
  text-align: right;
  margin: 7px 4px 2px 0;
}

/*Content layout*/
#content_data {
  
}

#left, #content_layout, #right {
  display: inline;
  float: right;
}
#left {
  width: 206px;
  margin: 0 6px 0 0;
}
#content_layout {
  width: 590px;
}
#right {
  width: 170px;
  margin: 0 0 0 6px;
}


/*Menu*/
ul#menu {
  margin: 0 auto 10px auto;
}

ul#menu, ul#menu ul {
  list-style-type:none;
  padding: 0;
  width: 180px;
}
ul#menu ul {
  margin: 0 auto;
}
ul#menu a {
  display: block;
  text-decoration: none;
  font-family: times!important;
}
ul#menu li ul li {
  border-bottom: 1px solid #E0DFDC;
}
ul#menu li ul li ul li {
  border-bottom: none;
}

ul#menu li a {
  /*background: #F0EFED;*/
  background: #F0EFED;
  color: #003366;
  padding: 0.5em 0.5em 0.5em 20px;
  border: 1px solid #E0DFDC;
  font-weight: bold;
  font-style:italic;
}

ul#menu li a.parent {
   background-image: url(../img/menu_ico.png);
   background-repeat: no-repeat;
   background-position: 6px 2px;
}
ul#menu li a:hover {
  /*background: #000;*/
}
ul#menu li ul li a {
  border: none;
  background: #fff;
  padding-left: 40px;
}
ul#menu li ul li a:hover {
  /*background: #aaa;*/
  border-left: 5px #eee solid;
  padding-left: 35px;
}

ul#menu li ul li ul li a {
  background: #D1ECF7;
  padding-left: 50px;
}
ul#menu li ul li ul li a:hover {
  border-left: 5px #BDD6E5 solid;
  padding-left: 45px;
}
ul#menu li ul li ul li ul li a {
  background: #F1F7FF;
  padding-left: 60px;
}
ul#menu li ul li ul li ul li a:hover {
  border-left: 5px #BDD6E5 solid;
  padding-left: 55px;
}




h3 {
  background:#EA1C24;
  color:#FFF;
  font-size:13px;
  font-weight:bold;
  font-family:times;
  letter-spacing:1px;
  padding:6px 5px 2px 7px;
  line-height:13px;
  margin: 0 0 10px 0;
}

h4 {
  color: #003366;
  /*font-family: times!important;*/
  font-size: 15px;
  font-weight: bold;
  font-style:italic;
}

h4.left_title {
  width: 180px;
  margin: 10px auto 20px auto;
  padding: 10px 0;
  border-bottom: 1px solid #D1ECF7;
}



/* Notices and Errors */
div.message {
  clear: both;
  color: #900;
  font-size: 110%;
  font-weight: bold;
  /*margin: 1em 0;*/
}
div.error-message {
  clear: both;
  color: #900;
  font-weight: bold;
}
p.error {
  background-color: #e32;
  color: #fff;
  font-family: Courier, monospace;
  font-size: 120%;
  line-height: 140%;
  padding: 0.8em;
  margin: 1em 0;
}
p.error em {
  color: #000;
  font-weight: normal;
  line-height: 140%;
}
.notice {
  background: #ffcc00;
  color: #000;
  display: block;
  font-family: Courier, monospace;
  font-size: 120%;
  line-height: 140%;
  padding: 0.8em;
  margin: 1em 0;
}
.success {
  background: green;
  color: #fff;
}

#flashMessage, #authMessage {
  background:#FFFFD9  url(../img/messagebox_warning.png) no-repeat scroll 10px 50%;
  border-top:1px solid #DDD;
  border-left:1px solid #DDD;
  border-right:1px solid #DDD;
  border-bottom:1px solid #DDD;
  margin-bottom:10px;
  padding: 20px 5px 20px 80px;
}
.message_ok {
  background:#DEFFF7 url(../img/messagebox_ok.png) no-repeat scroll 10px 50%!important;
  border-color:#00D202!important;
}
.message_error {
  background:#FFE9F8  url(../img/messagebox_error.png) no-repeat scroll 10px 50%!important;
  border-color:#990000!important;
}


form {
	/*clear: both;*/
/*	margin-right: 20px;*/
	padding: 0;
/*	width: 80%;*/
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #999;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
  margin-top: 0px;
  margin-bottom: 20px;
  padding: 16px 10px;
}
fieldset fieldset legend {
  font-size: 120%;
  font-weight: normal;
}
fieldset fieldset div {
  clear: left;
  margin: 0 20px;
}
form div {
  clear: both;
  /*margin-bottom: 5px;
  padding: .5em;*/
  vertical-align: text-top;
}
form div.input {
  color: #444;
}
form div.required {
  color: #333;
  font-weight: bold;
}
form textarea {
  line-height: 14px;
  min-height: 100px;
}
form div.text input, form div.password input , form textarea {
  border-top: 1px solid #888;
  border-left: 1px solid #888;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  background: #fff;
  padding: 3px 4px;
}

form div.error input, form div.error textarea {
  background: #F7EBF0;
}
form div.submit {
  border: 0;
  clear: both;
  margin-top: 10px;
/*margin-left: 140px;*/
}
label {
  display: block;
  font-size: 110%;
  font-weight: bold;
  padding-right: 20px;
}

.required label {
  padding-left: 20px;
  background: transparent url(../img/requerido.png) no-repeat left 5px;
}
.field-group.required label {
  padding-left: 0;
}


/*Tabla admin*/

.tableContainer {
  border:  1px solid #DCDFE2;
}
table.view {
  width: 100%;
  border-collapse: collapse;
}
table.view th {
   padding: 2px 5px 2px 5px!important;
   font-weight: bold;
   text-align: left;
   color: #000;
   background: #ececec;
   border-top: 1px solid #f4f4f4;
   border-right: 1px solid #f4f4f4;
   border-bottom: 1px solid #DCDFE2;
   border-left: 1px solid #f4f4f4;
   white-space: nowrap;
}

table.view td {
  padding: 2px 5px 2px 5px!important;
}

table.view tr.odd {
  background: #f4f4f4;
}
table.view tr.pendiente {
  background: #f00;
}

.ml {
  table-layout:fixed;
}
.ml * td {
  empty-cells:show;
  overflow:hidden;
  white-space:nowrap;
  width:100%;
  font-size: 11px;
}

.checkbox label {
  display: inline;
  padding-left: 10px;
}
/*Log sql*/
.cake-sql-log {
  padding: 2px;
}


#pagenums ul{
  padding: 0;
  margin: 0;
  list-style: none;
}
#pagenums ul li{
  float: left;
  margin: 1px;
  padding: 1px 5px 1px 5px;
  background: transparent none repeat scroll 0%;
  border: 1px solid #333;
}
#pagenums ul li.current {
  background: #ccc;
}
#pagenums ul li a{
  color: #7088CE;
  text-decoration: none;
}
#pagenums ul li a:hover{
  color: #EA1C24;
}
#user {
  margin: 10px;
}
#user .picture {
  width:85px;
  height:98px;
  float: left;
}
#user .baloon {
  width: 90px;
  float: right;
}
#user .baloon .name {
  background:transparent url(../img/bg_baloon.png) no-repeat 50% 50%;
  width: 80px;
  padding: 10px 8px 17px 5px;
  font-weight: bold;
  overflow: hidden;
}
.calendar {
  margin-top: 15px;
}
.calendar .ico-calendar {
  position: relative;
  float: right!important;
  top: -23px;
  
}

ul#eventos {
  padding: 0;
  margin: 0;
  list-style: none;
}

ul#eventos li {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 10px;
  margin: 2px 0px;
}


/*Prods*/
ul#prods {
  margin: 20px 0 0 0;
  padding: 0;
  list-style-type:none;
}

ul#prods li {
  width: 231px;
  background: #fff;
  border-bottom: 1px solid #D1ECF7;
  margin: 0 20px 10px 30px;
  display: inline;
  float: left;
}
ul#prods .prod-header {
  /*height: 53px;*/
  background:transparent url(../img/header_bg.png) no-repeat top left;
}
ul#prods .prod-header .title {
  color: #003366;
  margin: 10px 15px;
  padding: 13px 0;
  text-align: center;
}
ul#prods .thumb {
  border: 1px solid #C2DBE6;
  width: 200px;
  height: 100px;
  margin: 0 auto;
}
ul#prods .desc {
  margin: 14px;
  text-align: justify;
  font-size: 11px;
}

ul#prods .more {
  margin: 0px 14px;
  text-align: right;
}
ul#prods .more a{
  color: #000;
}
.ad_link img{
  border: 0;
}
.advertisement {
  margin: 0 0 20px 0;
}
#fotogrande {
  margin: 0 5px;
}

.form-fields {
  background:#EEF3F8 none repeat scroll 0 0;
  border:1px solid #C4D3EA;
  clear:both;
  margin:0 0 30px 0.3em;
  padding:1em 1.4em 1.4em;
}
.form-fields legend {
  -moz-border-radius-bottomleft:0;
  -moz-border-radius-bottomright:0;
  -moz-border-radius-topleft:0;
  -moz-border-radius-topright:0;
  background:#FFFFFF none repeat scroll 0 0;
  border:1px solid #C4D3EA;
  color:#336699;
  font-size:1.2em;
  font-weight:bold;
  margin:0 -0.4em;
  padding:5px 10px;
  text-transform:capitalize;
}
.form-fields .field-group {
  clear:both;
  float:left;
  margin:6px 0 4px;
  width:100%;
}
.form-fields label {
  color:#555555;
  float:left;
  font-size:12px;
  font-weight:bold;
  margin-top:9px;
  text-align:right;
  text-transform:capitalize;
  width:30%;
}

.form-fields input, .form-fields textarea, .form-fields select {
  background-color:#FFFFFF;
  border:2px solid #CCCCCC;
  -moz-border-radius-bottomleft:4px;
  -moz-border-radius-bottomright:4px;
  -moz-border-radius-topleft:4px;
  -moz-border-radius-topright:4px;
  color:#666666;
  font-family:"Lucida Grande","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
  font-size:1.1em;
  margin-left:15px;
  padding:5px;
  width:60%;
}
.form-fields input.submit {
  -moz-border-radius-bottomleft:4px;
  -moz-border-radius-bottomright:4px;
  -moz-border-radius-topleft:4px;
  -moz-border-radius-topright:4px;
  background:#395C8A none repeat scroll 0 0;
  border:3px solid #83A4CA;
  color:#FFFFFF;
  display:block;
  font-size:120%;
  font-weight:bold;
  letter-spacing:0;
  margin:0;
  min-width:120px;
  width:auto !important;
}
.form-fields .error-message {
  text-align: right;
  margin: 2px 20px 2px 0;
}

.form-fields .fecha {
  width: 100px;
}

.form-fields .small {
  width: 20px;
}

.hora select {
  width: 60px!important;
}


/*Resultado calculadora*/
#resultado, #resultado-seguro, #resultado-total {
  width: 155px;
  text-align: right;
  font-size: 18px;
  color: #333;
}

#resultado-total {
	color:#000;
	font-weight: bold;
}
#search {
  margin: 20px 0 10px 0;
}

#search input {
  border-top: 1px solid #888;
  border-left: 1px solid #888;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  background: #f9f9f9 url(../img/ico-search.png) no-repeat 2px 50%;
  padding: 3px 0px 3px 20px;
  overflow: hidden!important;
  /*hack para el bendito I6*/
  _background-attachment: fixed;
  /* For IE 7 scrolling */
  *background-position: 2px 50%;
}


ul#result {
  margin: 0 auto 10px auto;
  list-style-type:none;
  padding: 0;
}
#prima, #contribucion, #total {
	display: block;
	text-align: center;
}

