/* reestablecemos unas cosillas */

* {
  margin: 0;
  padding: 0;
}

body{
  font-size: 62.5%;
}

h1{
  font-size: 3.5em;
  clear: both;
}
h2{
  font-size: 2.5em;
  clear: both;
}
h3{
  font-size: 2em;
  clear: both;
}

ul{
  margin: 1em;
}

dl{
  font-size: 1.2em;
}
  dl dt{
    font-weight: bold;
  }

  dl dd{
  	margin-bottom: 1em;
    padding: 1em 1em 1em 3em;
	background: #f5f5f5;
	border-top: solid 2px #eee;
  }

a img{
  border: none;
}


/* clases generales */

.clear{
	clear: both;
}
.fleft{
  float: left;
}
.fright{
  float: right;
}

.tleft{
  text-align: left;
}
.tcenter{
  text-align: center;
}
.tright{
  text-align: right;
}

.usmall{
  font-size: .75em;
}
.small{
  font-size: .9em;
}

.nomargin{
	margin: 0;	
}
.margin1{
	margin: 1em;
}
.minimargin{
	margin: .5em;
}

.hidden{
	display: none;
}


.select_add{
  float: right;
  cursor: pointer;
  margin-right: 1em;
}


/* algun csshack */


/* formularios y tal */

form.classic{
  width: 100%;
  margin: auto;
}

form.classic fieldset{
  margin: 1em;
  padding: 1em;
  background: #fafafa;
  border: solid 1px #ddd;
  -moz-border-radius: 3px;
}
  form.classic legend{
	padding: .5em;
	color: #333;
	background: #ddd;
	font-size: 1.5em;
	-moz-border-radius: 3px;
  } 
  form.classic h4.title{
  	margin: 1em 0 0 4em;
	font-size: 1.25em;
  }  
  form.classic div.input{
  	clear: both;
	margin: 1em 0;
    padding: .5em;
  }
  form.classic div.submit{
  	margin-right: 1em;
    text-align: right;
  }
  form.classic div.checkbox{
  	margin-left: 12em;
	padding: .5em;
  	font-size: 1.25em;
  }
  
  form.classic div.input label{
  	float: left;
    display: block;
	width: 8em;
	margin-top: .3em;
    margin-left: 2em;
    font-size: 1.25em;
	color: #333;
	text-align: right;
  }
  form.classic div.required label{
    font-weight: bold;
  }
  
  form.classic div.input input,
  form.classic div.input textarea,
  form.classic div.input select{
    width: 60%;
	margin-left: 1em;
    padding: .3em;
	font-size: 1.25em;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  }
  form.classic div.input select.datetime{
  	width: 8em;
  }
  form.classic div.submit input, input.submit{
    padding: .5em 1em;
	background: #eee;
	border: 3px double #ccc;
	border-top-color: #ddd;
	border-left-color: #ddd;	
    font-size: 1.33em;
  }

form.classic table td{
	text-align: left;
}

form.classic div.mceEditor{
	margin-left: 23%;
}
form.classic table.mceEditor td{
	background: #fafafa;
}
form.classic table.mceEditor select{
}

.mceMenuItem .preview{
	text-align: left;
}

/* y los errores */
form .error-message{
	margin-left: 14em;
	color: red;
}
form .form-error, form .form-error{
	border: solid 2px red;
}


/* cakeSQL log */

table {
	table-layout: fixed;
	clear: both;
	width: 100%;
	margin-bottom: 10px;
	color: #333;	
	background-color: #fff;	
	font-size: 1.3em;
	border-collapse: collapse;
}

table th {
	padding: .5em;
	color: white;
	background: #888 url("/img/d.png") repeat-x center top;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	text-align: center;
}

table tbody tr th{
	color: black;
	background: #ddd url("/img/d.png") repeat-x center top;
}

table tbody tr.altrow th{
	color: black;
	background: #eee url("/img/d.png") repeat-x center top;
}

table th a {
	color: #555;
	display: block;
	padding: 2px 4px;
}

table th a:hover {
	color: #888;
}

table tr td {
	padding: .3em;
	background: #fff url("/img/d.png") repeat-x center top;
	border: 1px solid #ddd;
	text-align: center;
	vertical-align: middle;
}
table tr.altrow td {
	background: #f3f3f3 url("/img/d.png") repeat-x center top;;
}

table tr td, table tr th{
	overflow: hidden;
}
table tr td:hover, table tr th:hover{
	overflow: visible;
}

.cakeSqlLog table{
	background: #f4f4f4;
}

.cakeSqlLog td {
	padding: 4px 8px;
	text-align: left;
}



/* Debugging */
pre {
	color: #000;
	background: #fff;
	padding: 1em;
	font-size: 1.5em;
}

table.cake-sql-log{
	table-layout: auto;
}
pre.cake_debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 18px;
	margin: 4px 2px;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 4px 2px;
	padding: 4px;
	font-size: 120%;
	line-height: 18px;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000000;
	background-color: #F0F0F0;
	border: 1px dotted #606060;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 5px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #FFFF00;
}
