/* Tables */
table {
	background: transparent;
	border:1px solid #ccc;
	border-right:0;

	color: #333;
	margin-bottom: 10px;
	width: 96%;
	margin-left: 2%;
	margin-right: 2%;
}
th {
	background-color: transparent;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background-color: transparent;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
	color: #656565;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}

th.sortasc a {
	background-image: url('../img/icos/ico_sortasc.png');
	background-repeat: no-repeat;
	background-position: left;
}

th.sortdesc a {
	background-image: url('../img/icos/ico_sortdesc.png');
	background-repeat: no-repeat;
	background-position: left;
}

table tr td {
	background: transparent;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #EEECE8;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
	color: #00dfff;;
	font-weight: bold;
}
/* Paging */
div.paging {
	padding: 10px 20px;
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
	padding:0;
}
div.paging span.current {
	color: #000;
}
div.paging span a {
	padding: 0 2px;
}

div.paging span a:hover {
	background-color: #ccc;
}

/* Scaffold View */
dl {
	line-height: 2em !important;
	margin: 0em 2em !important;
	width: 80% !important;
}

dt {
	font-weight: bold !important;
	padding-left: 50px !important;
	vertical-align: top !important;
}
dd {
	margin-left: 20em !important;
	margin-top: -2em !important;
	vertical-align: top !important;
}

dt.altrow,
dd.altrow {
	background: #f8f8f8 !important;
}

/* Forms */
form {
	/* margin: 0 20px; */
	margin: 12px;
	padding: 0;
}
fieldset {
	border: 1px solid #ccc;
	/* margin-top: 30px; */
	padding: 16px 20px;

}
fieldset legend {
	color: #000;
	font-size: 160%;
}
fieldset fieldset {
	margin-top: 20px;
	margin-bottom: 0;
	padding: 16px 0;
	border: 1px dashed #444;
}

fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
	margin-left: 20px;
}

legend{
	background-color: #fff;
}

fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}

form div {
	position: relative;
	/* margin-bottom: 1em; */
	padding: .5em;
	vertical-align: text-top;
}

form div.input {
	color: #444;
}

form div.required {
	color: #333;
	font-weight: bold;
}

form div.submit {
}

label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}

label span{
	font-size: 70%;
	color: #666;
}

input, textarea {
	/*clear: both;*/
	/* display: block; */
	/* font-size: 140%; */
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 500px;

}

.count {
	position: absolute;
	right: 0;
}

/*
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
*/
select.idioma_listados {
	border: 1px solid #ccc;
	padding: 0;
	font-size: 10px;
}


select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=submit] {
	display: inline;
	/* font-size: 110%; */
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
	border: 1px solid #666;
}


.text input,
.password input,
.input select,
.text textarea,
.textarea textarea {
	border: 1px solid #666666;
}



input[disabled=disabled] {
	border-color:red!important;
}

input.disabled,
select.disabled,
textarea.disabled {
	background-color: #ccc!important;
}

label.disabled {
	text-decoration: line-through;
}

.subform {
	background-color: #e6e6e6;
}

.form-error,
div.file.error {
	border: 1px solid #FFA799 !important;
}

.error-message {
	color:#FF2200;
	font-weight:normal;
	margin-left:170px;
	padding:0;
}
/***** AVISOS *****/

.success_message,
.failure_message,
.info_message {
	border: 1px solid #000;
	border: 0;
	padding: 10px;
	margin-bottom: 20px;
	font-size: 120%;
	color: #000;
	position:relative;
}

.success_message {
	background-color: #3c3;
}

.failure_message {
	background-color: #c33;
	color: #fff;
}

.info_message {
	background-color: #cc3;
}


/* =================== LOGS DE MYSQL-CAKEPHP ===================  */
.cake-sql-log { /*display: none;*/

}

.cake-sql-log 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;
}

.cake-sql-log th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}

.cake-sql-log th a:hover {
	background-color: #ccc;
	color: #333;
	text-decoration: none;
}

table tr td {

}

.cake-sql-log table tr.altrow td {
	background: #f4f4f4;
}

.cake-sql-log td.actions {
	text-align: center;
	white-space: nowrap;
}

.cake-sql-log td.actions a {
	display: inline;
	margin: 0px 6px;
}

.cake-sql-log table {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	background: #f4f4f4;
}

.cake-sql-log td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
	padding: 4px 8px;
	text-align: left;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
	text-align: left;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}
