/*Listado de agentes*/
header.header_buscador {
    height: 90px;
}
.agentes {
    display: inline-block;    
    width: 100%;
}
.agentes h2{
    margin: 0 0 20px 0;
    text-transform: uppercase;
    background-color: #920d2e;
    color: #fff;
    font-weight: 300;
    text-align: center;
}
.equipo_agentes {
    display: inline-block;
    text-align: center;
    width: 100%;
}
    .equipo_agentes .ficha_agente {
        display: inline-block;
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        height: 215px;
        width: 160px;
        margin: 5px;
        padding: 10px;
        overflow: hidden;
    }
    .equipo_agentes .ficha_agente .foto {
        border: 1px solid transparent;
        background-color: #fff;
        clear: both;
        height: 180px;
        margin: 0 auto;
        overflow: hidden;
        text-align: center;
        width: 130px;
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */  
        -webkit-transition:all .2s ease;
        -moz-transition:all .2s ease;
        -o-transition:all .2s ease;
        transition:all .2s ease;  
    }
        .equipo_agentes .ficha_agente .foto img {
            text-align: center;         
            height:180px;
        }
    
    .equipo_agentes .ficha_agente .nombre {
        font-size: 1.2em;
        text-align: center;
        color: #920d2e;
    }
    .equipo_agentes .ficha_agente .tfno{display: none;}
    .equipo_agentes .ficha_agente .email{display: none;}
    .equipo_agentes .ficha_agente a{text-decoration: none;}
    .equipo_agentes .ficha_agente a:hover{
        border-top:2px solid #eb2943;
        -webkit-transition:all .5s ease;
        -moz-transition:all .5s ease;
        -o-transition:all 1s ease;
        transition:all .5s ease;    
    }
    .equipo_agentes .ficha_agente a:hover p{
        text-decoration:underline;
    }
    .equipo_agentes .ficha_agente a:hover .foto{
        border:1px solid rgba(204, 204, 204, .5);
        -webkit-border-radius:50%; 
        -moz-border-radius:50%;
        border-radius:50%;
    }


/*Detalle de un agente*/
.agentes .agente_datos{
    display: inline-block;
    width:100%;
    margin-bottom: 2%;
}
    .agentes .agente_datos .fotocinti{
        display: inline-block;
        width: 300px;
    }
        .agentes .agente_datos .fotocinti .foto{                
            display: inline-block;
            width: 300px;
            text-align: center;
        }
            .agentes .agente_datos .foto img{
                border: 1px solid #ccc;
                max-width: 250px;
            }
        
.agentes .agente_datos .cintillo{
    text-transform: uppercase;
    background-color: #920d2e;
    color: #fff;
    font-weight: 300;
    width:calc(100% - 340px);
    display: inline-block;
    position: absolute;
    top: 0;
    right:0;
}
    .agentes .agente_datos .cintillo p{
        color: #fff;
        font-size: 2em;
        padding: 0.5em 0 0.5em 30px;
        text-indent: 15px;
    }
    
.agentes .agente_datos .datbasic{
    display: inline-block;
    margin-left: 40px;
    width: calc(100% - 350px);
    margin-top: 80px;
    vertical-align: top;
}
    .agentes .agente_datos .datbasic p.tfno{
        font-size: 2em;
    }
    .agentes .agente_datos .datbasic p.tfno::before{
        font-family: 'icomoon';
        content: '\ea1d';
        margin-right: 10px;
    }
    
    .agentes .agente_datos .datbasic p.skype{
        font-size: 2em;
    }
    .agentes .agente_datos .datbasic p.skype::before{
        font-family: 'icomoon';
        content: '\ef22';
         margin-right: 10px;
         color:#18B6EF;
    }
    
    .agentes .agente_datos .datbasic p.email{
        font-size: 2em;
    }
    .agentes .agente_datos .datbasic p.email::before{
        font-family: 'icomoon';
        content: '\ea2f';
        vertical-align: text-top;   
         margin-right: 10px;
    }
    .agentes .agente_datos .datbasic p.slogan{
        background-color: #f8f8f8;
        border-left: 2px solid #eb2943;
        color: #333;
        float: right;
        font-size: 1.5em;
        font-style: italic;
        margin: 1em 0;
        padding: 4%;
        text-align: justify;
        width: 88%;
    }
    .agentes .agente_datos .datbasic p.slogan:before {
        content: '\201C';
        margin-left: -13px;
        margin-top: -22px;
        position: absolute;
    }
    
.agentes .agente_datos .datbasic ul.social{
    display: inline-block;
    width: 100%;
}
    .agentes .agente_datos .datbasic ul.social li{
        display: inline;
        margin: 0 1%;
        font-family: icomoon;
        font-size: 2em;
    }
    .agentes .agente_datos .datbasic ul.social a{
        text-decoration:none;
    }
    .agentes .agente_datos .datbasic ul.social li.fb a:before{
        color: rgba(59, 89, 152, .7);
        content: '\eee9';       
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    .agentes .agente_datos .datbasic ul.social li.fb:hover a:before{
        color: rgba(59, 89, 152, 1);
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    
    .agentes .agente_datos .datbasic ul.social li.tw a:before{
        color: rgba(88, 204, 255, .7);      
        content: '\eeee';       
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    .agentes .agente_datos .datbasic ul.social li.tw:hover a:before{
        color: rgba(88, 204, 255, 1);
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    
    .agentes .agente_datos .datbasic ul.social li.bg a:before{
        color: rgba(30, 140, 190, .7);              
        content: '\e925';       
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    .agentes .agente_datos .datbasic ul.social li.bg:hover a:before{
        color: rgba(30, 140, 190, 1);
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    
    .agentes .agente_datos .datbasic ul.social li.ld a:before{
        color: rgba(0, 121, 190, .7);       
        content: '\ef24';       
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }
    .agentes .agente_datos .datbasic ul.social li.ld:hover a:before{
        color: rgba(0, 121, 190, 1);
        -webkit-transition:all 0.4s ease;
        -moz-transition:all 0.4s ease;
        -o-transition:all 0.4s ease;
        transition:all 0.4s ease;
    }

.agente_textos{display: none;}
.agente_zonas{display: none;}
.agente_inmuebles{text-align:center;margin-bottom:200px;}
.agente_inmuebles .boton{
    background-color: #920d2e;
    border-radius: 2px;
    border-width: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    color: #ecf0f1;
    display: inline-block;
    margin: 30px auto;
    outline: medium none;
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: background-color 0.3s ease 0s;
    z-index: 2;    
}
.agente_inmuebles .boton:hover, .agente_inmuebles .boton:focus {
    background-color: #646464;    
}
.agente_inmuebles .boton a{
    background-color: transparent;
    border: medium none;
    border-radius: 0;
    color: #fff;
    display: block;
    padding: 12px 50px;
    position: relative;
    z-index: 3;
}   
.agente_inmuebles .boton a:hover{
    color:#fff;
}
.agente_inmuebles .boton a::before{
    content:"";
}
.agente_inmuebles .boton:before {
  content:"\00a0";  
  position: absolute;
  top: 50%;
  left: 50%;  
  display: block;
  width: 0;
  padding-top: 0;    
  border-radius: 100%; 
  z-index:1; 
  background-color: rgba(236, 240, 241, .3);  
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Smartphones (portrait and landscape)----------- */ 
@media (max-width: 767px){
    .agente_inmuebles {
        margin-left: 250px;
    }
}
/* Smartphones  */ 
@media (max-width: 450px){
    .agentes .agente_datos .datbasic{width:calc(100% - 50px);margin-top: 20px;}
    .agente_inmuebles{
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
    .agentes .agente_datos .fotocinti{
        width:100%;
        text-align: center;
    }
    .agentes .agente_datos .cintillo{
        position: relative;
        width: 100%;
        text-align: center;
    }
        .agentes .agente_datos .cintillo p{
            padding: 0.5em 0;
            text-indent: 0px;
            text-align: center
        }
}