/* Estilo de la ficha de inmueble en los listados.
 *
 * Vivia repetido dentro de cuatro plantillas, en un bloque `stylesheets` de
 * trescientas lineas identico en las cuatro. Las paginas que no llevaban la
 * copia --la busqueda, y el listado de tipo por municipio-- pintaban la misma
 * ficha sin estilo: la foto sin recortar, el precio suelto sobre la imagen y
 * el numero de fotos caido debajo. En movil era donde mas se notaba.
 *
 * Ahora esta una sola vez y la carga base.html.twig, asi que la ficha se ve
 * igual la pinte quien la pinte. Los selectores estan todos bajo `.property`,
 * `.agent`, `.content-agent` y `.realstate_*`.
 */

.property h2 {
    line-height: 22px;
    margin: 10px 0px 0px 0px;
    padding: 0px 15px;
}

.property {
    display: inline-block;
    zoom: 1;
    -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
    background-color: #cde4f1;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    width: 100%;
}

.property:after {
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}

.property .image {
    overflow: hidden;
    position: relative;
}

.property .image .content{
    height: 267px;
}
    
.property h2 a {
    -moz-transition: color 0.1s ease-in;
    -o-transition: color 0.1s ease-in;
    -webkit-transition: color 0.1s ease-in;
    transition: color 0.1s ease-in;
    color: #06a7ea;
    font-size: 18px;
    font-weight: normal;
}

.property h2 a:hover {
    color: #0584b8;
    text-decoration: none
}

.property .location {
    padding: 0px 15px;
    color: #707070;
}

.property .area {
    color: #313131;
    float: left;
    margin-top: 8px;
}

.property .bathrooms {
    float: right;
    margin-right: 15px;
    padding-top: 8px;
}

.property .area .key {
    display: inline;
    font-weight: bold;
    padding: 0px 0px 0px 15px
}

.property .area .value {
    display: inline
}

.property .bedrooms {
    float: right;
    margin-right: 10px;
    padding-top: 8px
}

.property .photos {
    float: right;
    margin-right: 10px;
    padding-top: 8px;
}

.property .bedrooms .content {
    background-image: url(/img/icons/bedrooms.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 21px 12px;
    color: #313131;
    padding-left: 30px;
}

.property .photos .content {
    background-image: url(/img/icons/photo-camera.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 21px 21px;
    color: #313131;
    padding-left: 30px;
}

@media (-webkit-min-device-pixel-ratio: 2),
(-moz-min-device-pixel-ratio: 2) {
    .properties-grid .property .bedrooms .content {
        background-image: url("/img/icons/bedrooms@2x.png")
    }
}

.property .bathrooms .content {
    background-image: url(/img/icons/bathrooms.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 14px 20px;
    color: #313131;
    padding-left: 25px;
}

@media (-webkit-min-device-pixel-ratio: 2),
(-moz-min-device-pixel-ratio: 2) {
    .properties-grid .property .bathrooms .content {
        background-image: url("/img/icons/bathrooms@2x.png")
    }
}

.property .area .key {
    display: inline;
    font-weight: bold;
    padding: 0px 0px 0px 15px;
}

.property .image a {
    -moz-transition: background-color 0.2s ease-in;
    -o-transition: background-color 0.2s ease-in;
    -webkit-transition: background-color 0.2s ease-in;
    transition: background-color 0.2s ease-in;
    background-color: transparent;
    display: block;
    height: 100%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 200
}

.property .image a:hover {
    background-color: rgba(0,0,0,0.5);
    background-image: url(/img/icons/eye.png);
    background-position: center center;
    background-repeat: no-repeat;
}

.property .image img {
    height: auto;
    width: 100%;
    overflow: hidden;
}

.property .rent-sale {
    background-color: #fff;
    color: #313131;
    font-size: 18px;
    padding: 5px 16px;
    position: absolute;
    left: 15px;
    bottom: 15px;
}

.property .price {
    background-color: #fff;
    color: #313131;
    font-size: 18px;
    padding: 5px 16px;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.property .reduced {
    background-color: #313131;
    color: #fff;
    font-size: 18px;
    padding: 5px 16px;
    position: absolute;
    right: 15px;
    top: 15px
}

.agent {
    -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-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: 15px;
    padding: 8px 15px
}

.agent .image {
    float: left;
    margin-right: 20px;
    width: 70px;
}

.agent .image img {
    width: 70px
}
.agent .name {
    color: #313131;
    font-size: 16px;
    margin-bottom: 8px
}
.agent .name a {
    color: #313131;
    text-decoration: none
}
.agent .name a:hover {
    color: #313131
}

.agent .email,
.agent .phone {
    font-size: 12px
}
.agent:last-child {
    margin-bottom: 0px
}

@media (min-width: 768px) and (max-width: 1199px) {
    .agent {
        padding: 10px
    }
    .agent .image {
        margin-top: 3px;
        width: 50px
    }
    .agent .image img {
        width: 50px
    }
    .agent .name {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 0px
    }
    .agent .email,
    .agent .phone {
        line-height: 1.5
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .agent {
        text-align: center
    }
    .agent .image {
        display: none;
        float: none;
        margin-bottom: 10px;
        width: 100%
    }
    .agent .image img {
        width: auto
    }
}

.content-agent
{
	background-color: #2f3238;
	-moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}
.content-agent h3
{
	color:#b2b2b2;
}

.realstate_types ul
{
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}

.realstate_types ul li { 
display: inline; 
margin-bottom:5px;
line-height: 30px; 
overflow: hidden; 
text-overflow: ellipsis;
 white-space: nowrap; 
 }

.realstate_types ul li a
{
    text-decoration: none;
    padding: 5px 10px;
    color: #fff;
    background-color: #036;
    
    -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.realstate_types ul li a:hover
{
color: #fff;
background-color: #369;
}





.realstate_locations ul
{
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}

.realstate_locations ul li { 
display: inline; 
margin-bottom:5px;
line-height: 30px; 
overflow: hidden; 
text-overflow: ellipsis;
 white-space: nowrap; 
 }

.realstate_locations ul li a
{
    text-decoration: none;
    padding: 5px 10px;
    color: #fff;
    background-color: #036;
    
    -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.realstate_locations ul li a:hover
{
color: #fff;
background-color: #369;
}
