/*
	reseteo
*/
* {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Geneva, Arial, sans-serif;
}

html {
    font-size: 75%;
}

/*
    clases utiles
*/

.clear {
    clear: both;
}

.hidden {
    display: none;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

.tleft {
    text-align: left;
}

.tcenter {
    text-align: center;
}

.tright {
    text-align: right;
}

.small {
    font-size: .9em;
}

.usmall {
    font-size: .75em;
}

/*
    estilos generales
*/
h2 {
    margin: 1em 0 0;
}

h3 {
    margin: 1em 0 .5em 0;
}

h4, h5 {
    margin: 1em 0 .5em 0;
}

a img {
    border: none;
}

p {
    margin: .5em;
}

table {
    width: 100%;
    margin: 1em auto;
    border-collapse: collapse;
}

table th {
    padding: .75em .5em;
    color: #EEEEDF;
    background: #880704;
}

table th a {
    color: #EEEEDF;
}

table td {
    padding: .7em .2em;
    color: black;
    border-bottom: solid 1px #aaa;
    text-align: center;
}

table .altrow td {
    background: #E3E3E3;
}

dl {
    margin: .5em 1em;
}

dl dt {
    margin-top: .5em;
    padding: 1em .5em;
    color: #eee;
    background: #ccc;
}

dl dd {
    padding: 1em .5em;
    background: #ddd;
}

form {
    padding: 1%;
}

fieldset {
    margin: 1% 0em;
    padding: 1% 2%;
    color: #555;
    background: #f5f5f5;
    background: rgba(230, 230, 230, .5);
    border: solid 1px #ddd;
    border-radius: 3px;
}

legend {
    color: #888;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0;
}

fieldset.foldable legend {
    cursor: pointer;
}

div.input {
    margin: 1em 2%;
}

div.input label {
    display: block;
}

.inputable,
.nicEdit-main,
div.input input,
div.input select,
div.input textarea {
    width: 96%;
    padding: .5em 2%;
    font-size: 1.4em;
    background: #fafafa;
    border: solid 1px #ccc;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

div.input select {
    width: 100%;
}

div.input textarea {
    height: 8em;
}

div.input textarea.nicEdit-main {
    height: 24em;
}

div.date select,
div.time select,
div.datetime select {
    width: 7em;
}

div.checkbox input {
    width: auto;
    margin: 0 .5em 0 0;
}

div.checkbox label {
    display: inline;
    font-size: 1.25em;
}

div.input input.form-error,
div.input select.form-error,
div.input textarea.form-error {
    border: solid 1px #cc0000;
}

div.input .error-message,
div.input div.form-error,
div.input span.form-error {
    color: #cc0000;
}

div.required label {
    font-weight: bold;
}

div.submit {
    clear: both;
    margin: 1.2em 0;
    text-align: right;
}

div.submit input,
div.submit button {
    position: relative;
    padding: .5em 2em;
    margin-left: .5em;
    color: #f5f5f5;
    background-color: #799EC2;
    border: solid 1px #006699;
    border-radius: 4px;
    font-size: 1.2em;
    font-weight: bold;
}

div.submit input.submitted {
    color: #D7D5C7;
    background-color: #BFBCA7;
}

button.minibutton {
    padding: 5px;
    color: #E3E3E3;
    background: #799EC2;
    border: solid 1px #006699;
    font-size: .8em;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

/*
	estilos comunes
*/

.showhide {
    cursor: pointer;
}

.message {
    margin: 1em 0;
    padding: 1em;
    color: black;
    background: #fff1a8;
    border: solid 1px #edd400;
    border-radius: 3px;
}

.message.info {
    background: #EEEEDF;
    border: solid 1px #BFBCA7;
}

.info h3 {
    margin: 0;
}

.message.success {
    color: darkgreen;
    background: lightgreen;
    border: solid 1px darkgreen;
}

.success a {
    color: #ddd;;
}

.message.error {
    color: darkred;
    background: #FDE3E3;
    border: solid 1px darkred;
}

.message.error ul {
    margin-left: 3em;
}

.message.error li {
    margin: 5px 0;
    line-height: 12px;
    list-style-image: url(error.png);
}

.cake-debug {
    padding: 1em;
    color: #006699;
    background: white;
    border: solid 1px #006699;
    font-family: Anonymouse, monospace;

}