.leaf {
  background-image: url("/content/img/footer-border-red.png");
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 270px 1px;
  line-height: 30px;
}


.oficinas {
    color: #ffffff;
    float: left;
    font-size: 12px;
    list-style: outside none none;
}

a.oficinas {
    color: #b5b5b5;
    line-height: 15px;
}


span4 .claim {
    width: 415px;
}

form label {
	font-weight:normal
}

form .webform-component {
	margin-bottom:10px
}

form label.checkbox {
	margin:0px;padding:0px
}

form .form-actions {
	background-color:transparent;
	border:0px;
	margin:0px;
	padding:0px
}

form .fileupload .uneditable-input {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;
	height:40px !important;
	padding-bottom:9px !important;
	padding-top:9px!important;
	width:100px
}

form .fileupload .input-append {
	margin-bottom:0px
}

form .fileupload .input-append .btn.fileupload-exists {
	background-color:#511212
}

form .fileupload .btn {
	-webkit-transition:background-color 0.2s ease-in;
	-moz-transition:background-color 0.2s ease-in;
	-o-transition:background-color 0.2s ease-in;
	transition:background-color 0.2s ease-in;
	border-radius:0px !important;
	background-color:#bb2a2a;
	color:#fff;
	padding-bottom:10px;
	padding-top:10px
}

form .fileupload .btn span {
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px
}

form .fileupload .btn:hover {
	background-color:#912121
}

form input[type=submit].btn {
	-webkit-transition:background-color 0.2s ease-in;
	-moz-transition:background-color 0.2s ease-in;
	-o-transition:background-color 0.2s ease-in;
	transition:background-color 0.2s ease-in;
	border:0px;
	color:#fff
}

#header-wrapper {
	background-color: #666666;
    border-top: medium solid #2f2f2f;
}

#header-wrapper #header #header-inner .navbar .navbar-inner .logo {
	float:left;
	height:90px;
	margin:0px;
	line-height:85px;
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-name {
	float:left;height:70px;line-height:90px
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-name .brand {
	text-shadow:none;color:#511212;font-size:24px;margin:0px;padding:0px
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-slogan {
	color: #FFFFFF;
	float: left;
	margin-top: 29px;
	margin-left: 15px
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-slogan span {
	border-left:2px solid #f0f0f0;
	display:inline-block;
	line-height:18px;
	padding-left:15px;
	font-size: 12px
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-slogan h1 {
    border-left: 2px solid #f0f0f0;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
    margin: 0;
    padding-left: 15px;
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-phone span {
	background-image:url("/content/img/icons/phone-gray.png");
	background-position:left center;
	background-repeat:no-repeat;
	background-size:20px 20px;
	color:#b5b5b5;
	font-size:16px;
	font-weight:500;
	padding-left:30px
}

#header-wrapper #header #header-inner .navbar .navbar-inner .site-email a {
	background-image:url("/content/img/icons/mail-gray.png");
	background-position:left center;
	background-repeat:no-repeat;
	background-size:17px 11px;
	color:#b5b5b5;
	font-size:16px;
	font-weight:500;
	padding-left:30px;
	text-decoration:none
}

#header-wrapper #header #header-inner .navbar .navbar-inner .logoder {
	float:right;
	height:90px;
	margin:0px;
	line-height:85px;
}

.slider-wrapper {
	padding-top:30px;
	padding-bottom:30px;
}

.slider-wrapper .images .navigation li.active {
	background-color:#e10915
}

.navigation-wrapper .navigation .nav li:hover>.nolink,.navigation-wrapper .navigation .nav li:hover>a {
	background-color:#2F2F2F;
	border-top:2px solid #E10915;
	color:#E10915;
	text-decoration:none
}

.navigation-wrapper .navigation .nav li ul {
	background-image:none;
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;
	background-color:#2F2F2F;
	margin:62px 0px 0px 0px;
	position:absolute;
	padding:0px;
	top:0px;
	visibility:hidden;
	width:220px;
	z-index:999
}

.navigation-wrapper .navigation .site-search {
	float:right;
	margin:13px 0px 0px 0px
}

.navigation-wrapper .navigation .site-search input {
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;border-right:0px;
	width:70px;
}

.properties-grid .property {
	display:inline-block;
	zoom:1;
	-webkit-box-shadow:0px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 1px 1px rgba(0,0,0,0.1);
	box-shadow:0px 1px 1px rgba(0,0,0,0.1);
	background-color:#fff;
	margin-bottom:30px;
	position:relative
}

.properties-grid .property .reduced {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 100;
    height: 100%;
    line-height: 35px;
    padding: 0 15px;
    position: absolute;
    width: 100%;
}

.reduce-subtitle {
	font-size: 12px;
}

.property-filter {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	display:inline-block;
	zoom:1;
	background-color:#2f2f2f;
	display:block;
	padding:20px;
	width:100%;
	height:411px;
}

.property-filter .form-actions .btn {
	background-color:#E10915;
	font-weight:300;
	width:100%;
	letter-spacing:0.05em;
}

.carousel .content {
	background-color:#2f2f2f;
	padding:30px 30px;
}
	
.carousel .caroufredsel_wrapper {
	background-color:#2f2f2f;
	height:286px !important;
	margin:0px !important;
	overflow:hidden;
	width:100% !important
}

.bottom-wrapper .item .btn {
	-webkit-transition:background-color 0.2s ease-in;-moz-transition:background-color 0.2s ease-in;-o-transition:background-color 0.2s ease-in;transition:background-color 0.2s ease-in;background-image:none;-webkit-border-radius:0px;-moz-border-radius:0px;border-radius:0px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-shadow:none;background-color:#bb2a2a;background-image:url("/content/img/arrow-right-white.png");background-position:90% center;background-repeat:no-repeat;background-size:8px 11px;border:0px;color:#fff;padding:7px 30px 7px 15px
}
	
.bottom-wrapper .item .btn:hover,.bottom-wrapper .item .btn:active,.bottom-wrapper .item .btn:focus
{-webkit-border-radius:0px;-moz-border-radius:0px;border-radius:0px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;text-shadow:none}

.img-vractivo
{
    position: absolute;
    right: 5px;
    top: 5px;
}

@media (-webkit-min-device-pixel-ratio: 2), (-moz-min-device-pixel-ratio: 2)
{
    .bottom-wrapper .item .btn{background-image:url("/content/img/arrow-right-white@2x.png")}
 }
 
 .bottom-wrapper .item .btn:hover{background-color:#912121}
 .bottom-wrapper .item .btn a{color:#fff}
 .bottom-wrapper .item p{margin:0px 0px 30px 0px}
 .bottom-wrapper .item:hover .key,
 .bottom-wrapper .item:hover .gps,
 .bottom-wrapper .item:hover .address,
 .bottom-wrapper .item:hover .eu,
 .bottom-wrapper .item:hover .mobile
 {
     background-color:#511212;background-position:center top;border-color:#e63434
}
     
@media (max-width: 767px)
{
    .bottom-wrapper{padding-left:20px;padding-right:20px}
    .bottom-wrapper .item{margin-bottom:30px}
    .bottom-wrapper .item:last-child{margin-bottom:0px}
}
      
.bottom-wrapper .eu {
    background-image: url("/content/img/call-to-action-eu.png");
    background-size: 77px 260px;
}
@media not all, not all {
    .bottom-wrapper .eu {
        background-image: url("/content/img/call-to-action-eu@2x.png");
    }
}
.bottom-wrapper .mobile {
    background-image: url("/content/img/call-to-action-mobile.png");
    background-size: 77px 260px;
}
@media not all, not all {
    .bottom-wrapper .mobile {
        background-image: url("/content/img/call-to-action-mobile@2x.png");
    }
}      
      
      #footer-wrapper
      {background-color:#414141;color:#fff;width:100%}

#footer-wrapper .widget.properties .property {
	background-color:#414141
}
	
#footer-wrapper .widget.properties .property .price {
	color:#fff
}

#footer-wrapper #footer-top {
	background-color:#2F2F2F;padding-top:20px;padding-bottom:30px
}

#footer-wrapper #footer-top h2{color:#e63434;font-size:24px;font-weight:lighter;margin:0px 0px 30px 0px}

#footer-wrapper #footer-top .nav li {
	background-image:url("/content/img/footer-border.png");
	background-position:left bottom;
	background-repeat:repeat-x;
	background-size:270px 1px;
	color:#e63434;list-style:disc;
	list-style-position:inside;
	padding:6px 0px
}

.matricula {
    text-align: center;
    font-size: 12px;
    color: #666 !important;
    background-color: #222 !important;
}

.oficinas {
   	color: #ffffff;
    float: left;
    font-size: 12px;
    list-style: outside none none;
    width: 143px;
	float:left;
	!important
}

a.oficinas {
   	color: #b5b5b5;
	line-height:15px;
	!important
}

a:hover.oficinas {
   	color: #ffffff;
	line-height:15px;
	text-decoration:none;
	!important
}



ul, ol {
    padding: 0;
}
#footer-wrapper {
    color: #fff;
}
body {
    font-family: "Open Sans","Arial",sans-serif;
    font-size: 14px;
}

.btn.btn-primary {
	-webkit-transition:background-color 0.2s ease-in;
	-moz-transition:background-color 0.2s ease-in;
	-o-transition:background-color 0.2s ease-in;
	transition:background-color 0.2s ease-in;
	background-color:#595959;
	border:solid thin #6c6c6c;
}

.btn.btn-primary:hover {
	background-color:#474747;
}

.loading {
    display: inline-block;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	border-right: 2px solid #e10915;
	border-top: 2px solid #e10915;
	border-radius: 100%;
	height: 25px;
	width: 25px;
	-webkit-animation: spin .6s infinite linear;
	-moz-animation: spin .6s infinite linear;
	-ms-animation: spin .6s infinite linear;
	-o-animation: spin .6s infinite linear;
	animation: spin .6s infinite linear;
}

@keyframes "spin" {
 from {
    -webkit-transform: rotate(0deg);
   	-moz-transform: rotate(0deg);
   	-o-transform: rotate(0deg);
   	-ms-transform: rotate(0deg);
   	transform: rotate(0deg);
 }
 to {
    -webkit-transform: rotate(359deg);
   	-moz-transform: rotate(359deg);
   	-o-transform: rotate(359deg);
   	-ms-transform: rotate(359deg);
   	transform: rotate(359deg);
 }

}

@-moz-keyframes spin {
 from {
   -moz-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -moz-transform: rotate(359deg);
   transform: rotate(359deg);
 }

}

@-webkit-keyframes "spin" {
 from {
   -webkit-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -webkit-transform: rotate(359deg);
   transform: rotate(359deg);
 }

}

@-ms-keyframes "spin" {
 from {
   -ms-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -ms-transform: rotate(359deg);
   transform: rotate(359deg);
 }

}

@-o-keyframes "spin" {
 from {
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
 }
 to {
   -o-transform: rotate(359deg);
   transform: rotate(359deg);
 }

}

.control-precio .controls input[type="text"]
{
    display: inline-block;
    width: 48.9%;
}

@media (max-width: 1024px)
{
    .logo-wrapper
    {
        width: 370px;
    }

}

.hidden
{
    display:none;
    visibility: hidden;
}

.position-relative
{
    position: relative;
}

.bg-white
{
    background-color: #FFFFFF;
}

.clear-both
{
    clear:both;
}

/* ── n8n Chat — Variables de estilo Tizado ── */
  :root {
    --chat--color--primary: #e10915;
    --chat--color--primary-shade-50: #c50812;
    --chat--color--primary--shade-100: #9e060e;
    --chat--color--secondary: #e10915;
    --chat--color-secondary-shade-50: #c50812;
    --chat--color-dark: #1a1a1a;
    --chat--color-light: #f7f7f7;
    --chat--color-light-shade-50: #eeeeee;
    --chat--color-light-shade-100: #d4d4d4;
    --chat--color-white: #ffffff;
    --chat--color-medium: #d4d4d4;
    --chat--font-family: 'DM Sans', system-ui, sans-serif;
    --chat--heading--font-size: 1.15em;
    --chat--subtitle--font-size: 0.85rem;
    --chat--message--font-size: 0.9rem;
    --chat--message-line-height: 1.5;
    --chat--border-radius: 0.5rem;
    --chat--spacing: 0.85rem;
    --chat--window--width: 380px;
    --chat--window--height: 520px;
    --chat--window--border: 1px solid rgba(0,0,0,0.08);
    --chat--window--border-radius: 16px;
    --chat--toggle--size: 56px;
    --chat--toggle--background: #e10915;
    --chat--toggle--hover--background: #c50812;
    --chat--toggle--active--background: #9e060e;
    --chat--toggle--color: #ffffff;
    --chat--toggle--border-radius: 16px;
    --chat--header--background: #e10915;
    --chat--header--color: #ffffff;
    --chat--header--padding: 0.9rem 1rem;
    --chat--header-height: auto;
    --chat--message--bot--background: #f2f2f2;
    --chat--message--bot--color: #1a1a1a;
    --chat--message--bot--border: none;
    --chat--message--user--background: #e10915;
    --chat--message--user--color: #ffffff;
    --chat--message--user--border: none;
    --chat--message--padding: 0.65rem 0.9rem;
    --chat--message--border-radius: 14px;
    --chat--message--margin-bottom: 0.35rem;
    --chat--messages-list--padding: 0.75rem;
    --chat--textarea--height: 44px;
    --chat--input--font-size: 0.875rem;
    --chat--input--border: 1px solid rgba(0,0,0,0.1);
    --chat--input--border-active: 1px solid #e10915;
    --chat--input--border-radius: 10px;
    --chat--input--padding: 0.6rem 0.75rem;
    --chat--input--background: #f7f7f7;
    --chat--input--send--button--color: #e10915;
    --chat--input--send--button--color-hover: #c50812;
    --chat--body--background: #ffffff;
    --chat--footer--background: #ffffff;
  }

  /* Toggle button */
  #n8n-chat .chat-window-toggle {
    box-shadow: 0 4px 16px rgba(225, 9, 21, 0.35), 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  }
  #n8n-chat .chat-window-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(225, 9, 21, 0.4), 0 2px 6px rgba(0,0,0,0.12) !important;
  }

  /* Badge "Disponible" en header */
  .tz-availability {
    display: flex; align-items: center; gap: 5px; margin-top: 2px;
    font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.85);
    font-family: 'DM Sans', system-ui, sans-serif; letter-spacing: 0.01em;
  }
  .tz-availability__dot {
    width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
    flex-shrink: 0; animation: dotBlink 2s ease-in-out infinite;
  }
  @keyframes dotBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
  }

  /* Ventana del chat */
  #n8n-chat .chat-window-wrapper .chat-window {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(225, 9, 21, 0.08) !important;
  }

  #n8n-chat .chat-window .chat-layout {
    flex: 1;
    min-height: 0;
    overflow: hidden !important;
  }
  #n8n-chat .chat-layout .chat-body {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
  }
  #n8n-chat .chat-layout .chat-body::-webkit-scrollbar { width: 6px; }
  #n8n-chat .chat-layout .chat-body::-webkit-scrollbar-track { background: transparent; }
  #n8n-chat .chat-layout .chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
  #n8n-chat .chat-layout .chat-body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }

  /* Header gradient */
  #n8n-chat .chat-header {
    background: linear-gradient(135deg, #e10915 0%, #b30710 100%) !important;
    position: relative;
    overflow: hidden;
    gap: 0.25rem !important;
  }
  #n8n-chat .chat-header > .tz-availability {
    margin-top: 0;
  }
  #n8n-chat .chat-header::after {
    content: ''; position: absolute; top: -30px; right: -15px;
    width: 80px; height: 80px; background: rgba(255,255,255,0.07);
    border-radius: 50%; pointer-events: none;
  }

  /* Mensajes */
  #n8n-chat .chat-message-from-bot {
    border-radius: 4px 14px 14px 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  #n8n-chat .chat-message-from-user {
    background: linear-gradient(135deg, #e10915 0%, #c50812 100%) !important;
    border-radius: 14px 14px 4px 14px !important;
    box-shadow: 0 2px 8px rgba(225, 9, 21, 0.2);
  }

  /* Input */
  #n8n-chat .chat-input textarea:focus {
    box-shadow: 0 0 0 3px rgba(225, 9, 21, 0.12); outline: none;
  }
  #n8n-chat .chat-footer { padding: 10px 14px !important; }
  #n8n-chat .chat-footer .chat-input {
    display: flex !important; align-items: center !important; gap: 8px !important;
  }
  #n8n-chat .chat-footer .chat-input textarea { flex: 1 !important; }
  #n8n-chat .chat-input button,
  #n8n-chat .chat-input .chat-input-send-button,
  #n8n-chat .chat-footer .chat-input button[type="submit"],
  #n8n-chat .chat-footer .chat-input .chat-input-send-button {
    align-self: center !important; margin-top: auto !important;
    margin-bottom: auto !important; flex-shrink: 0;
  }
  #n8n-chat .chat-input button:not(:disabled):hover,
  #n8n-chat .chat-input .chat-input-send-button:not(:disabled):hover { color: #ffffff !important; }
  #n8n-chat .chat-input button:not(:disabled):hover svg,
  #n8n-chat .chat-input .chat-input-send-button:not(:disabled):hover svg {
    fill: #ffffff !important; stroke: #ffffff !important; color: #ffffff !important;
  }

  /* Ocultar branding n8n */
  .chat-powered-by { display: none !important; }

  /* Footer Correcaminos */
  .ccia-footer {
    box-sizing: border-box;
    width: 100%; display: flex; align-items: center; justify-content: center;
    gap: 4px; padding: 5px 12px 7px; background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06); font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 10px; color: #999; letter-spacing: 0.02em; user-select: none; flex-shrink: 0;
  }
  .ccia-footer a { color: #999; text-decoration: none; font-weight: 600; transition: color 0.2s; }
  .ccia-footer a:hover { color: #e10915; }
