/* CSS Admin */
* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px;
	color: #000;
	text-align: center;
	background-image: url(../img/admin/body.gif);
	background-repeat: repeat-x;
}

a img {
	border: 0;
}

a {
	color: #268CCD;
	font-weight: bold;
	text-decoration: none;
	outline: 0pt;
}

a:hover {
	color: #14476D;
	text-decoration: none;
}

a.link {
	color: #999999;
}
a.link {
	text-decoration: underline;
}

.clear {
	clear: both !important;
}

/* STRCTURE */

#container {
	width: 100%;
	text-align: left;
}

#header {
	background-color: #3e4c59;
	height: 56px;
	padding: 10px 20px;
}

#main {
	clear: left;
	width: 1150px;
}

/* NAV */

#nav {
	float: right;
	margin: 1em 0;
	font-size: 1.1em;
	font-weight: bold;
	vertical-align: middle;
}

#nav li {
	display: inline;
	list-style: none;
	margin: 0 0 0 2em
}

#nav img {
	vertical-align: bottom;
}

#nav a:link, #nav a:visited {
	color: #FFF !important;
}

/* MENU */

#menu {
	width: 100%;
	height: 35px;
	margin: 0;
	padding: 0;
	line-height : normal;
	background-image: url(../img/admin/menu_bg.gif);
	background-repeat: repeat-x;
}

#menu li {
	float: left;
	list-style: none;
	margin: 0 5px;
	font-weight: bold;
}

#menu a {
	display: block;
	padding: 10px;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1.1em;
	font-style: normal;
	color: #666;
	text-decoration: none;
}

#menu li.active a, #menu li.active:hover a, #menu li:hover a {
	background-color: #3e4c59;
	color: #FFF;
}

.submenu {
	background-image: url(../img/admin/submenu_bg.gif);
	background-repeat: repeat-x;
	width: 100%;
	height: 22px;
	border-bottom: 1px solid #b2d5e9;
	clear: left;
}

.submenu li {
	margin-left: 5px;
	display: block;
	float: left;
	font-size: 0.9em;
	font-weight: normal;
}

.submenu a {
	display: block;
	padding: 5px 10px;
	font-weight: inherit;
}

.submenu a:hover {
	background-color: #268CCD;
	color: #FFF;
}

/* SUBMENU */

#left {
	float: left;
	width: 180px;
	padding: 30px 15px;
	margin-right: 10px;
	font-size: 0.9em;
	font-family: Verdana,Helvetica,sans-serif;
}

#left a {
	text-decoration: none;
	font-style: normal;
	font-weight: normal;
}

#submenu {
	clear: left;
	margin: 0;
	padding: 0;
	color: #666;
	list-style-type: none;
	line-height: 1.8em;
}

#submenu a {
	color: #003363;
}

#submenu a:hover {
	text-decoration: underline;
}

/* CONTENT */
.contentContainer {
	float: left
}

h2 {
	display: block;
	height: 20px;
	background-image: url(../img/admin/contentTop.gif);
	background-repeat: no-repeat;
	margin-top: 20px;
	margin-bottom: 0;
	color: #5f5f5f;
	
	font-family: Verdana, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1.7em;
	padding: 28px;
	width: 870px
}

#content {
	width: 870px;
	padding: 0 20px;
	background-image: url(../img/admin/container.gif);
	background-repeat: no-repeat;
}

/* FOOTER */

#footer {
	clear: both;
	text-align:right;
	font-size:12px;
	color:#CCCCCC;
	margin-left: 210px;
	width: 870px;
	padding: 0 20px;
}

#footer a{
	color:#CCCCCC!important;
	font-weight:bold;
}
#footer a:hover{
	text-decoration:none;
}

/* END STRUCTURE */
/*****************/

/* Tables */
table {
	background-color: #fff;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	color: #333;
	margin: 0 0 20px 0;
	width: 100%;
}
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: top;
}
table tr td.text {
	text-align: left;
}
table tr td.fecha {
	width: 150px;	
}
table tr td.tipoNoticia {
	width: 50px;	
}
table tr td.id {
	width: 50px;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	width: 170px;
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	display: inline;
	margin: 0px 6px;
}

td.order {
	width: 15px;
	text-align: center;
}

td.icon {
	width: 50px;
}

.galeria .actions {
	width: 230px;
}

.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
/*dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}*/

/* Forms */
form {
	margin-right: 20px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 0;
	padding: 16px 20px;
	margin-bottom: 10px;
}
fieldset legend {
	color: #14476D;
	font-size: 120%;
	font-weight: bold;
}
fieldset p {
	color: #666;
	margin: 5px;
	font-size: 0.95em;
	font-weight: normal !important;
}
fieldset small {
	color: #666;
	font-size: 0.8em;
}

fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 16px 0;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
	margin-left: 20px;
}
fieldset fieldset div {
	margin: 0 20px;
}
form div {
	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 {
	border: 0;
	margin-top: 10px;
	margin-left: 140px;
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
	margin-bottom: 5px;
}
label #templateHelp {
	color: #00F;
	cursor: pointer;
}
input, textarea {
	display: block;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 100%;
}

input.button {
	width: auto !important;
	display: inline;
}

select {
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	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;
}

div.radiogroup {
	padding: 0;
}

.radiogroup input, .radiogroup label {
	display: inline;
	width: auto;
	padding: 0;
}

.fullRadiogroup label, .fullRadiogroup input {
	margin: 0;
	padding: 0
}

.radiogroup input {
	margin-right: 5px;
}

.radiogroup label p {
	font-size: 0.8em;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}

/* Notices and Errors */
div.flash {
	background-image: url(../img/admin/container.gif);
	background-repeat: no-repeat;
	padding: 0 20px 10px 6px;
}

div.message {
	color: #14476D;
	font-size: 110%;
	font-weight: bold;
	background-color: #cfe1e7;
	padding: 10px;
}
div.error-message {
	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-color: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background-color: green;
	color: #FFF;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
	float:left;
	width: 150px;
}
div.actions li {
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

div.pages {
	margin-left: 180px;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
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: #000000;
	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: #FFFF00;
	padding: 4px;
}

/* template_loader.js */
.mensaje {
	border: 1px solid #999;
	background-color: #FAFAFA;
	position: absolute;
	padding: 10px 50px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
}

/* CATEGORIAS */
.legend {
	color: #333;
	font-size: 0.9em;
}

.legend dt {
	float: left;
	clear: left;
	margin: 2px 5px 2px 0;
}

.legend dd {
	line-height: 20px;
}

#addBlock {
	margin-left: 10px;
}

#blockSystem fieldset {
	padding: 0 !important;
}

#blockSystem legend {
	margin-left: 20px;
}

#blockSystem .input {
	padding: 10px 20px 0 20px;
}

#blockSystem p {
	padding: 5px 10px;
}

#blocks, #blocks p {
	padding: 0;
}

#blocks .imageLink {
	padding-top: 10px;
}

#blocks .imageLinkInput {
	width: 650px;
	margin-bottom: 10px;
}

#blocks .blank {
	float: left;
	margin-top: 5px;
	margin-right: 150px;
}

#blocks .blank, #blocks .blank input,
#blocks .imageBlank, #blocks .imageBlank input {
	padding: 0;
	width: auto;
	font-size: 0.9em;
}

	#blocks .blank input {
		margin-right: 5px;
	}

#blocks .alt0 {
	background-color: #F8F8F8;
}

#blocks .input {
	clear: left;
	margin: 0 !important;
	padding: 10px 10px 10px 20px;
}

#blocks .galerias {
	width: 663px;
}

#blocks .bloque {
	width: 450px;
}

#blocks .bloqueTipo {
	width: 200px;
}

#blocks input, #blocks textarea, #blocks select {
	width: 663px;
	display: inline;
}

#blocks input.disabled {
	color: #666;
}

#blocks input.file3 {
	width: 330px;
}

#blocks input.dfile3 {
	width: 320px;
}

#blocks input.file9, #blocks input.dfile9 {
	width: 320px;
}

#blocks input.file4 {
	width: 335px;
}

#blocks input.dfile4 {
	width: 320px;
}

#blocks input.file6 {
	width: 430px;
}

#blocks input.dfile6 {
	width: 420px;
}

#blocks .size3 {
	width: 60px;
}

#blocks .size6 {
	width: 60px;
}

#blocks .linkText {
	width: 271px;
}

#blocks .dlinkText {
	width: 276px;
}

#blocks select {
	width: 140px;
	margin-left: 10px;
}

#blocks .controls {
	position: absolute;
	width: 0px;
}

	.controls div {
		position: relative;
		left: -225px;
		background-color: #d2d2d2;
		width: 200px;
		height: 25px;
		padding: 0;
		font-weight: bold;
		color: #115f85;
	}
	
	.type2 .controls div {
		background-color: #CAFFE5
	}
	
	.type3 .controls div {
		background-color: #DDEBC4
	}
	
	.type4 .controls div {
		background-color: #EDE3FF;
	}
	
	.type5 .controls div {
		background-color: #CDC7CF;
	}
	
	.type6 .controls div {
		background-color: #FFBE9A;
	}
	
	.type7 .controls div {
		background-color: #ADB740;
	}
	
	.type8 .controls div {
		background-color: #FFC4C1;
	}
	
	.type9 .controls div {
		background-color: #36CAD0; 
	}
	
	.type10 .controls div {
		background-color: #D8DFFF; 
	}
	
	.type11 .controls div {
		background-color: #DDC5B6; 
	}

#blocks .controls label {
	display: block;
	padding: 0;
	margin: 0 5px;
	width: 145px;
	_width: 140px;
	float: left;
	line-height: 25px;
}

#blocks input.delete {
	margin: 0;
	padding: 0;
	display: inline;
	position: relative;
	top: 4px;
}

#blocks input.order {
	width: 20px;
	height: 20px;
	padding: 0;
	font-size: 0.9em;
	text-align: center;
	float: left;
}

#blocks div.sizesContainer {
	position: absolute;
}

	#blocks div.sizesContainer select {
		font-size: 0.9em;
		position: relative;
		top: -15px;
		left: 490px;
	}

#layoutSystem, #blockSystem {
	margin: 0 !important;
	padding: 0 !important;
}

#blockSystem .inline {
	display: inline;
	padding: 0 10px 0 0;
}

div.langContainer {
	padding: 0 0 0 15px;
	margin-bottom: 7px;
	_margin-left: -15px;
}

div.insideLabel {
	float: left;
	_height: 25px;
	_margin: 0;
	_padding: 0 10px 0 0;
	_position: relative;
	_top: 15px;
}

div.langContainer span {
	display: inline;
	background-color: #d3e1e9;
	padding: 5px 10px;
	cursor: pointer;
	color: #000;
	font-size: 0.9em;
	
	position: relative;
	top: 2px;
	left: -15px;
	
	_position: static;
}

div.langContainer span.active,
div.langContainer span:hover {
	background-color: #268CCD;
	color: #FFF;
}

#preview {
	width: 818px;
	padding-left: 5px;
	height: 600px;
	border: 0 none;
}

/* GALERÍAS */
.galleryImages p {
	margin: 10px 0;
}

.galleryImages a {
	display: block;
	padding: 5px;
	border: 1px solid #999;
	background-color: #FAFAFA;
	margin: 5px 5px 5px 0;
	width: 100px;
	height: 100px;
	text-align: center;
	float: left;
}

.index p {
	padding: 10px 0 15px 0;
}

/* LAYOUTS */
.botonera {
	float: right;
	width: 200px;
	margin-top: 10px;
}

.botonera p {
	margin: 0;
}

.botonera dt {
	background-color: #EFEFDE;
	border: 1px solid #B7B7A6;
	padding: 5px;
	display: block;
	text-align: center;
	width: 90px;
	margin-top: 20px; 
}

.botonera dd {
	font-size: 0.95em;
	margin-top: 5px;
	color: #666
}

#StructureLayoutContent {
	width: 600px;
}

.layouts {
	margin-top: 10px;
	border: 1px solid #ccc;
	padding: 10px 10px 0 10px !important;
	height: 390px;
	overflow: auto;
}

.layouts label {
	width: 135px;
	float: left;
	padding: 7px;
	margin: 0 5px 5px 0;
	cursor: pointer;
}

.layouts span {
	font-size: 0.85em;
	padding: 5px;
}

.layouts input {
	float: right;
}

.layouts label img {
	display: block;
	margin-bottom: 5px;
}

.layouts .themePreview {
	border: 1px solid #CCC;
	background-color: #FFF;
	padding: 10px;
	position: absolute;
	display: none;
}

	.layouts .themePreview {
		vertical-align: middle;
	}

/* SUSCRIPTORES */
#SubscriberExportForm {
	float: right;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: right;
	position: relative;
	top: -10px;
}

#SubscriberExportForm .submit {
	margin: 0;
}

/* NEWSLETTER */
div.send .input {
	float: left;
	width: 400px;
}

div.send .input select, div.send .input textarea {
	height: 400px;
}

/* PROFILES */
.privileges .input {
	float: left;
	width: 300px;
}