/* Estilos propios de pÃ¡ginas externas
 * Como siempre:
 * 	rojo:#9c1f2e
 * 	rojo 50%:#cd8f96
 */
body,table
{
	margin:0;
	padding:0;
	font-size:11px;
	font-family:Verdana,Arial,sans-serif;
	color:#333;
	text-align:center
}

body.mceContentBody
{
	text-align:left
}

table
{
	text-align:left;
	border-spacing:2px;
	margin-bottom:18px
}

table th
{
	color:#FFF;
	font-weight:700;
	background-color:#9C1F2E;
	font-size:1.1em;
	white-space:nowrap
}

table th,table td
{
	padding:2px
}

table td
{
	border-bottom:1px solid #D3D3D3
}

/* liNKS */
a,input,select,textarea
{
	outline-style:none
}

a:link,a:visited
{
	color:#9c1f2e;
	text-decoration:none
}
strong {font-weight: bold;}

a:hover
{
	color:#cd8f96
}

a img
{
	border:none
}

p
{
	margin-bottom:18px
}

dt,ul
{
	margin-bottom:18px
}

strong
{
	font-weight:bold;
}

.centrado
{
    display: block;
    margin-left: auto;
    margin-right: auto
}

/* PAGE STRUCTURE */
#container-wrap
{
	text-align:center;
	width:700px;
	margin-left:auto;
	margin-right:auto
}

#container
{
	background:#fff;
	margin:0;
	border-top:0
}

#topbar
{
	background:url(img/topbar.png);
	height:66px;
	background-position:bottom left
}

#topbarmenu
{
	vertical-align:bottom;
	font-size:1em;
	font-weight:700;
	text-align:right;
	padding-top:0
}

#topbarmenu ul li.barred
{
	border-left:1px solid #FFF
}

#topbar .horizontal-menu
{
	padding-right:0
}

#topbar .horizontal-menu ul li
{
	display:inline;
	padding:0 2px;
	padding-left:5px;
	background-position:bottom-left;
	margin-bottom:10px
}

#topbarmenu a:link,#topbarmenu a:visited
{
	color:#fff
}

#topbarmenu a:hover
{
	color:#ffc
}

#subwrap
{
	width:700px;
	margin:0 auto 18px;
	background:#eee;
	text-align:left
}

#header
{
}

#header #photobar
{
	background:#9c1f2e;
	min-height:75px;
	height:auto;
	padding-top:0
}

#header #photobar #photocontainer
{
	padding:0;
	margin:0
}

#header #photobar #photocontainer img
{
	margin:0;
	padding:0;
	display:inline
}

#photobar #sitemenu
{
	clear:both;
	vertical-align:middle;
	text-align:center;
	font-weight:700;
	font-size:1em;
	height:22px;
	padding-top:2px
}

#photobar #sitemenu a:link,#header #sitemenu a:visited
{
	color:#fff
}

#photobar #sitemenu a:hover
{
	color:#ffc
}

#photobar #sitemenu li:hover a,#sitemenu li.sfHover a
{
	color:#ffc
}

#sitemenu li:hover ul a,#sitemenu li.sfHover ul a
{
	color:#ffc
}

#sitemenu li:hover ul a:hover,#sitemenu li.sfHover ul a:hover
{
	color:#ffc
}

#sitemenu li ul
{
	padding:5px
}

#header
{
	padding-top:0;
	margin-bottom:20px
}

#header #logo
{
	height:60px;
	margin:10px 20px;
	padding:0
}

#content-related
{
	float:right;
	margin-top:0;
	width:200px;
	background:#cd8f96;
	padding:0;
	padding-bottom:10px
}

#content-related-wrap
{
	margin-right:0;
	padding:0
}

#content-related-wrap div.box div
{
	padding:0 5px
}

#content-related-wrap .title
{
	font-size:1.1em;
	font-weight:700;
	margin-bottom:3px;
	background:#9c1f2e;
	color:#fff
}

#content
{
	padding-left:10px;
	min-height:500px;
	width:480px;
	margin-bottom:18px
}

#content-main
{
	padding-bottom:18px
}

/* Misc formatting */
#content-related #links a,#content-related #links a:visited
{
	color:#000
}

#content-related #links a:hover
{
	color:#FFF
}

#content-related #callus .data
{
	text-align:center
}

#content-related #callus img
{
	width:150px
}

/* HEADERS */
h1,h2,h3,h4,h5,h6
{
	margin-bottom:18px;
	line-height:18px
}

h1
{
	color:#9c1f2e;
	font-size:16px;
	line-height:18px;
	border-bottom:1px solid #cd8f96;
	text-decoration:capitalize
}

h2
{
	font-size:14px;
	color:#9C1F2E
}

h3
{
	color:#000;
	font-weight:700
}

table.list
{
	border:1px solid #ffc757;
	width:90%;
	margin:8px
}

tr.odd
{
	background-color:#FFF5EE
}

tr.even
{
	background-color:#FFFAFA
}

/* MESSAGES & ERRORS */
ul.messagelist
{
	padding:0 0 5px;
	margin:0
}

ul.messagelist li
{
	font-size:12px;
	display:block;
	padding:4px 5px 4px 25px;
	margin:0 0 3px;
	border-bottom:1px solid #ddd;
	color:#666;
	background:#ffc url(img/icons/icon_success.gif) 5px .3em no-repeat
}

.successnote
{
	font-size:12px!important;
	display:block;
	padding:4px 5px 4px 25px;
	margin:0 0 3px;
	border:1px solid #666;
	color:#666;
	background:#ffc url(img/icons/icon_success.gif) 5px .3em no-repeat
}

.alertnote
{
	font-size:12px!important;
	display:block;
	padding:4px 5px 4px 25px;
	margin:0 0 3px;
	border:1px solid red;
	color:#000;
	background:#ffc url(img/icons/icon_alert.gif) 5px .3em no-repeat
}

.errornote
{
	font-size:12px!important;
	display:block;
	padding:4px 5px 4px 25px;
	margin:0 0 3px;
	border:1px solid red;
	color:red;
	background:#ffc url(img/icons/icon_error.gif) 5px .3em no-repeat
}

ul.errorlist
{
	margin:0!important;
	padding:0!important
}

.errorlist li
{
	font-size:12px!important;
	display:block;
	padding:4px 5px 4px 25px;
	margin:0 0 3px;
	border:1px solid red;
	color:#FFF;
	background:red url(img/icons/icon_alert.gif) 5px .3em no-repeat
}

td ul.errorlist
{
	margin:0!important;
	padding:0!important
}

td ul.errorlist li
{
	margin:0!important
}

.error
{
	background:#ffc
}

.error input,.error select
{
	border:1px solid red
}

div.system-message
{
	background:#ffc;
	margin:10px;
	padding:6px 8px;
	font-size:.8em
}

div.system-message p.system-message-title
{
	padding:4px 5px 4px 25px;
	margin:0;
	color:red;
	background:#ffc url(img/icons/icon_error.gif) 5px .3em no-repeat
}

/* ACTION ICONS */
.printlink
{
	padding-left:18px;
	background:url(img/icons/icon_print.gif) 0 .2em no-repeat
}

h1 .printlink
{
	font-size:10px;
	margin-left:9px
}

.pdflink
{
	padding-left:18px;
	background:url(img/icons/icon_pdf.gif) 0 .2em no-repeat
}

.addlink
{
	padding-left:18px;
	background:url(img/icons/icon_addlink.gif) 0 .2em no-repeat
}

.changelink
{
	padding-left:18px;
	background:url(img/icons/icon_changelink.gif) 0 .2em no-repeat
}

.deletelink
{
	padding-left:18px;
	background:url(img/icons/icon_deletelink.gif) 0 .25em no-repeat
}

a.deletelink:link,a.deletelink:visited
{
	color:#CC3434
}

a.deletelink:hover
{
	color:#933
}

/* FOR FORMS */
.error
{
	font-size:12px!important;
	display:block;
	padding:4px 5px 4px 25px;
	margin:0 0 3px;
	border:1px solid red;
	color:#FFF;
	background:red url(/media/icon_alert.gif) 5px .3em no-repeat
}

.form-row
{
	padding:4px 12px;
	font-size:11px;
	border-left:0 solid #ffc757;
	margin:4px 2px
}

.form-row .form-row
{
	border-left:0 solid blue
}

label
{
	font-weight:400!important;
	color:#666;
	font-size:12px;
	display:block
}

label.inline
{
	margin-left:90px
}

label.required
{
	font-weight:700!important;
	color:#333!important
}

input,textarea,select
{
	margin:2px 0;
	padding:2px 6px;
	vertical-align:middle;
	font-family:"Lucida Grande", Verdana, Arial, sans-serif;
	font-weight:400;
	font-size:11px
}

#contact_form input,#contact_form textarea,#contact_form select
{
	width:300px
}

#contact_form input#contact_form_submit
{
	width:150px
}

textarea
{
	vertical-align:top!important
}

input[type=text],input[type=password],textarea,select,.vTextField
{
	border:1px solid #ccc
}

select
{
	width:auto
}

input[type=submit],input[type=reset],input[type=button],.form-row input
{
	background:#FFF;
	padding:3px;
	color:#000;
	border:1px solid #bbb;
	border-color:#ddd #aaa #aaa #ddd
}

input:focus,textarea:focus,select:focus
{
	border:1px inset #CCC
}

/* Directory */
.advertiseredit textarea#id_desc
{
	width:100%
}

.advertiseredit p > input
{
	display:block
}

.advertiseredit p
{
	margin-bottom:10px
}

.advertiseredit p > label
{
	color:#9c1f2e
}

div#advertiser-detail
{
	height:510px;
	margin-top:10px
}

div#advertiser-detail div#data
{
    float:left;
    width:336px
}

div#advertiser-detail div#data DT
{
	color:#9c1f2e;
	font-weight:700
}

div#advertiser-detail div#data DD
{
	padding-left:4px
}

div#advertiser-detail div#desc
{
	font-size:14px;
}

div#advertiser-detail IMG#logo
{
	width:120px;
	height:120px
}

div#advertiser-detail div#logo
{
	border:2px solid #cd8f96;
	float:left;
	width:120px;
	height:120px;
	margin-right:10px
}

div#advertiser-detail div#logo.nologo
{
}

div#advertiser-detail IMG#foto
{
	height:156px;
	width:450px;
	float:right;
	border-right:2px solid #cd8f96;
	border-bottom:2px solid #cd8f96
}

div#advertiser-detail div#logo.nologo
{
	background:url('img/no_logo.png')
}

div#content-related div#directory IMG
{
	margin:10px;
	width:120px;
	height:120px;
	margin:5px 35px
}

div#directory a:hover
{
	color:#FFF
}

dl#directory-data
{
    margin-bottom:2em
}

dl#directory-data dt
{
    margin-bottom:0.2em;
}

dl#directory-data dd
{
    margin-bottom:1em;
}

#advertiser-list ul
{
	margin-left:5px
}

#advertiser-list ul li
{
	margin:5px;
	margin-left:10px
}

#advertiser-list ul li a#name:hover
{
}

#advertiser-list ul li a#name:visited,#advertiser-list ul li a#name:link
{
	font-weight:700
}

#advertiser-list ul li span#desc
{
}

/** normal list **/
ul
{
	margin:0 2px 18px;
	padding:0;
	list-style:none
}

li
{
	background:url(img/tribulletcol1.png) no-repeat;
	padding-left:20px
}

form P
{
	margin:0;
	padding:0
}

form ul.errorlist
{
	list-style:none;
	margin-top:0
}

form ul.errorlist li
{
	margin-top:0
}

/** Font sizing */
.xx-small
{
	font-size:.1em
}

.x-small
{
	font-size:.4em
}

.small
{
	font-size:.7em
}

.medium
{
	font-size:1em
}

.large
{
	font-size:1.3em
}

.x-large
{
	font-size:1.7em
}

.xx-large
{
	font-size:1.9em
}

.right
{
	text-align:right
}

ul#sitemenu li a#user:visited,ul#sitemenu li a#user:link,ul#sitemenu li a#user
{
	color:#000
}

#buscarPisos th
{
	padding:0 9px
}

#buscarPisos th label
{
	color:#FFF
}

#buscarPisos td
{
	padding-left:9px
}

#buscarPisos ul
{
	margin-bottom:0
}

#buscarPisos li
{
	background:none;
	padding-left:0;
	margin-bottom:0;
	position:relative
}

#buscarPisos ul.errorlist li
{
	padding:4px 5px 4px 25px;
	background:red url(img/icons/icon_alert.gif) 5px .3em no-repeat
}

#buscarPisos select
{
	width:100%
}

/* hack para ie6 */
*html #buscarPisos li,*html #buscarPisos input
{
	height:20px;
	margin:0
}

/* endhack */
#listadoPisos a
{
	display:block
}

#listadoPisos
{
	width:480px
}

#listadoPisos tr.lineaResultado
{
	cursor:pointer
}

#listadoPisos th a
{
	color:#FFF
}

#listadoPisos th a:hover
{
	color:#000
}

.cantidad
{
	color:blue;
	text-align:right
}

#piso_detail1
{
	width:222px;
	float:left
}

#piso_detail2
{
	width:204px;
	float:right
}

#piso_detail1 th,#piso_detail2 th
{
	background-color:#EEE;
	color:#9C1F2E
}

#piso_detail1 th,#piso_detail1 td,#piso_detail2 th,#piso_detail2 td
{
	padding-left:9px;
	padding-right:9px;
	width:50%;
	border:1px solid #EEE
}

#piso_detail1,#piso_detail2 tr.separador
{
	height:18px
}

#piso_fecha
{
	clear:both;
	width:480px
}

.titulo td
{
	padding:2px
}

.titulo h3
{
	margin-bottom:0;
	margin-top:18px;
	color:#000;
	font-weight:700
}

.fotospisos ul
{
	margin:0 0 18px
}

.fotospisos li
{
	background:none;
	padding-left:0;
	display:inline
}

#detalle_piso_photos
{
	width:480px;
	margin-bottom:36px
}

#detalle_piso_properties
{
	width:480px;
	margin-bottom:18px
}

#piso_observations
{
	width:480px;
	margin-bottom:18px
}

#footer_contact
{
	width:480px;
	clear:both
}

#footer p
{
	text-align:center;
	padding-bottom:18px;
	margin-bottom:0
}

.clear
{
	clear:both
}

.helpText
{
	color:#666;
	font-style:italic
}

/* Drop down menus */
.dropmenu a:link,.dropmenu a:visited
{
/* Cambiar en cada ID, Afecta a todos los items */
}

.dropmenu li:hover a,.dropmenu li.sfHover a
{
/* Cambiar en cada ID, Afecta a los enlaces del elemento con foco de raton */
}

.dropmenu li:hover ul a,.dropmenu li.sfHover ul a
{
/* Cambiar en cada ID, Afecta a los enlaces de lo submenus desplegados */
}

.dropmenu li:hover ul a:hover,.dropmenu li.sfHover ul a:hover
{
/* Cambiar en cada ID, Afect a los enlaces de los submenus desplegados con foco del raton */
}

/* Mejor no tocar nada a partir de aqui */
.dropmenu,.dropmenu ul
{
	text-align:left;
	list-style:none;
	margin:0;
	padding:0
}

.dropmenu
{
	z-index:100;
	position:relative
}

.dropmenu li
{
	float:none;
	display:inline;
	margin:auto;
	padding:0;
	position:relative
}

.dropmenu li a,.dropmenu li a:link,.dropmenu li a:active,.dropmenu li a:visited
{
	display:inline;
	padding:0 5px;
	text-decoration:none
}

.dropmenu ul
{
	display:inline;
	top:-99em;
	left:-5px;
	background:#9c1f2e;
	list-style:none;
	margin:0;
	width:250px;
	position:absolute
}

.dropmenu li:hover ul,.dropmenu li.sfHover ul
{
	top:13px
}

.dropmenu ul li
{
	border:0;
	float:none
}

.dropmenu ul a
{
	border-bottom:0;
	padding-right:20px;
	white-space:nowrap
}

.dropmenu ul a:hover
{
	background:#cd8f96;
	color:#9c1f2e
}

.dropmenu ul li a,.dropmenu ul li a:link,.dropmenu ul li a:active,.dropmenu ul li a:visited
{
	display:block;
	margin:0;
	padding:0 5px
}
