/* reestablecemos unas cosillas */

* {
  margin: 0;
  padding: 0;
}

body{
  font-size: 72%;
}

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{
    background: #f2f2f2;
    margin-bottom: 1em;
    padding-left: 3em;
  }

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: .85em;
}

.hidden{
	display: none;
}


.select_add{
  cursor: pointer;
  margin-left: .5em;
}


/* algun csshack */


/* formularios y tal */

form.classic{
  width: 80%;
  margin: auto;
}

form.classic fieldset{
  margin: 1em;
  padding: 1em;
  background: #fafafa;
  border: solid 1px #ddd;
  -moz-border-radius: 3px;
}
  form.classic legend{
    padding: .5em 1em;
    font-size: 2em;
	background: #f5f5f5;
	border: solid 1px #ddd;
	-moz-border-radius: 3px;
  }
  
  form.classic div.input{
    x-width: 80%;
    margin: 1.5em auto;
    padding: .5em;
  }
  form.classic div.submit{
    text-align: center;
  }
  
  form.classic div.input label{
    display: block;
    margin-left: 10%;
    margin-bottom: .3em;
    font-size: 1.5em;
  }
  form.classic div.required label{
    font-weight: bold;
  }
  
  form.classic div.input input,
  form.classic div.input textarea,
  form.classic div.input select{
    width: 80%;
    margin-left: 10%;
    padding: .3em;
  }
  form.classic div.input input.checkbox{
  	width: 5em;
  	float: left;
  }
  
  form.classic div.submit input{
    padding: .5em 1.5em;
    font-size: 2em;
  }

form.classic div.form_error, form.classic div.error-message {
  background: lightyellow;
	border: solid 1px lightsalmon;
}



/* cakeSQL log */

table {
	background-color: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	font-size: 1.3em;
}
th {
	background-color: #f2f2f2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	text-align: center;
}

th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}

th a:hover {
	background-color: #ccc;
	color: #333;
	text-decoration: none;
}

table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: center;
}
table tr.altrow td {
	background: #f4f4f4;
}

.cakeSqlLog table{
	background: #f4f4f4;
}

.cakeSqlLog td {
	padding: 4px 8px;
	text-align: left;
}



/* Debugging */
pre {
	color: #000;
	background: #fff;
	padding: 1em;
	font-size: 1.5em;
}

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;
}

