/*** Autocompletar de los formularios ***/

.ui-autocomplete { position: absolute; cursor: default; font-family: Arial; font-size: 13px;    border: 1px solid #ccc;background-color: #ffffff}       
.ui-autocomplete-loading { background: white url('/img/loader.gif') right center no-repeat; }

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/* Menu
----------------------------------*/
.ui-menu {
        list-style:none;
        padding: 2px;
        margin: 0;
        display:block;
}
.ui-menu .ui-menu {
        margin-top: -3px;
}
.ui-menu .ui-menu-item {
        margin:0;
        padding: 0;
        width: 100%;
}
.ui-menu .ui-menu-item a {
        text-decoration:none;
        display:block;
        padding:.2em .4em;
        line-height:1.5;
        zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
color:#000;
    background-color:#eee
}

/* cites auxiliars */
blockquote {
  background: #e7e7e7;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";

}
blockquote:before {
  color: #aeaeae;
  content: open-quote;
  font-size: 4em !important;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote > p.cita {
	font-style:italic;
	font-weight: 300 !important;
  	display: inline;
	font-size: 20px;
	font-family: Times New Roman;
}

/** fi cites auxiliars **/


/* Estilos para la caja con texto para la validación */
.content .field-validation-error {
    font-size: 14px;
    color: #5F5E5D;
    font-family: Segoe UI, Helvetica, Arial;

    vertical-align: top;
    display: inline-block;
    zoom: 1;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 240px;
}

.field-validation-error input {
  margin-top: 4px;
  border: 1 solid #999;
}

.field-validation-error label {
  width: auto;
  margin-left: 10px;
}

.content .validation-summary-errors  {
  font-size: 14px;
  color: red;
  font-family: Segoe UI, Helvetica, Arial;
  vertical-align: top;
  display: inline-block;
  zoom: 1;
  margin-right: 52px;
  margin-left: 152px;
}
/* Fin:Estilos para la caja con texto para la validación */


#wrapper_contacta .content form {
    display: none;
}

.video_lateral iframe {
    width: 322px;
    height: 234px;
}

#serveis .contenido .llista_serveis > li p.empty:after,
#serveis .contenidoBig .llista_serveis > li p.empty:after {
    content: "\00a0";
}

.map-canvas { height: 300px; margin-bottom: 15px; }

.map-canvas-small {
    display: none;
}

.previous {
    margin-top: 15px;
    float: left;
}

.next {
    margin-top: 15px;
    float: right;
}

.page-count {
    float: right;
}

.subcategeorias li .mini {
    position: relative;
    margin-left: initial;
    width: 112px;
    height: 112px;
    padding: 15px;
}

.subcategeorias li .mini img{
    position: absolute;
    height: initial;
    width: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
}

/*** Formulario vida ***/

#contacte .blue-box {
	width: 57px;
	margin-left: 8px;
	background: #1F9DD1;
	color: #fff;
	padding: 6px 20px;
	border: 0;
	text-align: center;
	margin-right: 0;
	font-size: 14px;
    font-family: Segoe UI, Helvetica, Arial;
    display: inline-block;
    cursor: default;
}

#contacte .blue-box:first-of-type {
	margin-left: 14px;
}

/*** Media Queries ***/

@media (max-width: 979px) {
    .subcategeorias li .mini {
        width: 20%;
        height: 100%;
        padding: initial;
		overflow: hidden;
    }
	
	.subcategeorias li .mini img {
		width: 100%;
		height: auto;
        max-height: initial;
	}
}

@media (max-width: 400px) {
    .map-canvas {
        display: none;
    }

    .map-canvas-small {
        display: block;
    }
}


@media screen and (max-width: 640px) {
	table {
		overflow-x: auto;
		display: block;
	}
}
.responsive-image
{
        height:auto;
        width:100%;
}

/*** Slider ***/

.slider-custom .bx-controls-direction a {
    background: none;
    width: 10%;
    opacity: 0;
}

.slider-custom .bx-controls-direction a:hover {
    opacity: 1;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition:opacity 0.2s linear;
}

.slider-custom .bx-prev:hover {
    background: url('img/flecha_slider_left.png') 10px center no-repeat;
}

.slider-custom .bx-next:hover {
    background: url('img/flecha_slider_right.png') 42px center no-repeat;
} 

.bx-wrapper {
    margin: 0px;
}

#wrapper_contacta .content {
    margin-top: 0px;
}

.win-backbutton
{
    display: none;
    visibility: hidden;
    background-color: white;
    color: #5F5E5D;
    border-color: #5F5E5D;
    position: absolute;
    display: inline-block;
    min-width: 0px;
    min-height: 0px;
    background-clip: border-box;
    box-sizing: border-box;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    padding: 0px;
 
    /* Normal sizing */
    margin-right: 34px;
    width: 40px;
    height: 40px;
    font-size: 14pt;
    line-height: 36px; /* line-height must match the content box height */
    vertical-align: baseline;
}
 
.win-backbutton:hover, .win-backbutton:active, .win-backbutton:hover:active
{
    cursor: pointer;
    color: #7C7C7C;
    border-color: #7C7C7C;
}
 
.win-backbutton::before
{
    font-family: "Segoe UI Symbol";
    content: "\E0D5";
    vertical-align: 50%;
}
 
.win-backbutton:disabled, .win-backbutton:hover:active:disabled
{
    background-clip: padding-box;
}

.input_hidden {
    position: absolute;
    left: -9999px;
}

#contacte .marcas li {
    background-color: #FFF;
    border:none ;
}

#contacte .marcas li:hover {
    border: none;
}

#brandlogo label img {
    max-width: 96px;
    max-height: 96px;
}

#brandlogo label {
    clear: none;
    cursor: pointer;
    display: table-cell;
    width: 96px;
    height: 96px;
    border: 1px solid #FFF;
}

#brandlogo label:hover {
    border: 1px solid #AAA;
}

#brandlogo label.selected {
    border: 1px solid #AAA;
}

/*BRAND NAME. lista de marcas solo por nombre*/

/*elimina un molesto estilo superior*/
#contacte .otras_marcas ul li ul li:hover {
    background-color: #FFF;
}

#brandname label {
    display:block;
    text-align:left;
}


/*
#brandname .selected {
    background-color: #AAA;
}
*/

#brandname input:checked + label {
    background-color: #AAA;
}

#submitFormLife {
    float: right;
    width: 100%;
    margin-bottom: 20px;
}

#cookie-notice {
    position: fixed;
    left: 0;
    top: 0;
    background-color: #4E616D;
    color: white;
    font-family: Segoe UI, Helvetica, Arial;
    font-weight: normal;
    font-size: 16px;
    opacity: 0.9;
    padding: 10px;
    right: 0;
}

#cookie-notice-accept {
    float: right;
    background-color: #4BAF4B;
    padding: 3px 10px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 3px;
}

#cookie-notice-accept:hover {
    background-color: #97EB97;
    text-shadow: 1px 1px grey;
}

/*hack debio a que los p están limitados por ancho en algunos sitios de la maqueta*/
p.fullp {
    width:550px;
}

/*** FIN Autocompletar de los formularios ***/

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

#modal-launcher {
    cursor: pointer;
}

#modal-background {
    display: none;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#modal-content {
    display: none;
    
    background-color: white;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0 0 20px 0 #222;
    -webkit-box-shadow: 0 0 20px 0 #222;
    -moz-box-shadow: 0 0 20px 0 #222;

    left: 50%;
    margin: -232px 0 0 -300px;
    padding: 10px;
    position: fixed;
    top: 50%;
    width: 600px;
    z-index: 1000;
}

#modal-background.active, #modal-content.active {
    display: block;
    
    -webkit-animation: fadeIn 0.4s;
    animation: fadeIn 0.4s;
}

#modal-close {
    background: url("/img/x.png") no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -16px;
    cursor: pointer;
}

.mas_marcas {
    font-size: 55px;
    text-align: center;
    width: 96px;
    height: 100%;
}

.visible {
    display: block;
}

/*#contacte .otras_marcas ul li ul li:hover {
    background: none ;
}

#contacte .otras_marcas ul li ul li:hover label{
    color: #CCC ;
    background: #5F5E5D;
}*/

#brandname label:hover {
    cursor: pointer;
}
/* Form SMS */
#traspassans #contacte li.condiciones .field-validation-error {
  width: 400px;
  text-align: left;
  margin-left: 0;
  display:block;
  padding-left: 0;
}
#traspassans #contacte li.marca_seleccionada .field-validation-error{
  margin-left: 140px;
  display:block;
  padding-left: 0;
}
#contacte #marcas li p{
  width: 306px;
  margin-left: 221px;
}
#contacte #marcas li p.mas_marcas{
width: 94px;
height: 95px;
margin: 0;
}
#contacte #marcas li.otras_marcas p{
  /*width: 636px; */
  width: auto;
  margin-left: 0;
}

.concurso-grid {width: 100%;}
.concurso-grid tr:nth-child(odd) { background-color:#eee; }

/*#fancybox-wrap #fancybox-right{right:30px!important;}*/
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
