.imagesec1 {
    padding: 0px !important;
    height: 100%;        
}

.imagesec1 img {
    width: 100% !important;

}
.section1-img{
    background-size: cover;
    background-repeat: round;
}
.img-responsive-broker {
    width: 100%; 
    height: auto;     
    margin-bottom: 10px;      
    border-bottom: 1px solid rgba(0,0,0,0.1); 
}
.agentname {
    color: #00529e;
    font-weight: 300;
    font-style: normal;
    font-family: "Varela", sans-serif;
    text-transform: uppercase;
    font-size: 21px;
    margin-top: 10px;
}
.agentinfo p {
/*    color: rgb(119, 119, 119);
    font-family: "Varela", sans-serif;*/
    font-weight: 400;    
    font-size: 14px;
    margin-bottom: 5px;
}
.agentinfo p.info  {
    color: #444444;
}
.thumbnail {
    padding: 0px;
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%), 0 -1px 2px 0 rgb(0 0 0 / 10%);
    border-radius: 0px;
    height: 540px;
    transition: all 0.5s 0s ease;
}
.thumbnail:hover {
    box-shadow: 0 25px 20px 0 rgb(0 0 0 / 16%), 0 -1px 2px 0 rgb(0 0 0 / 10%);
}
.colorsec2style {
    padding-top: 10px;
}
.agent-bar {
    background-color: #444444 ;
    color: white;
    margin: 50px auto 10px auto;        
    min-height: 90px;  
}
.bar-text {
    padding: 35px 10px;
}
.btn-text {
    padding: 28px 0;
}
h2.ftype {
    margin-top: 12px;
}
.agents-content {
    padding: 0px;
    margin-bottom: 30px;
}
.agents-title {    
    margin-top: 40px;
}
.agents-office {
    margin-top: 20px;
}
.section1-img{
    height: 700px !important;       
}

@media (max-width: 767px) {
    .thumbnail {
        height: auto;
    }
    .section1-img{
        background-size: cover; 
    }
    .bar-text {
        padding: 20px 25px 10px 25px;
        text-align: justify;
    }
    .btn-text {
        padding: 5px 0px 20px 0px;
    }
    .img-responsive-broker {
        width: 100%; 
        height: auto;          
        margin-bottom: 10px;
        margin-right: auto;
        margin-left: auto;
        /*        width: 340px;
                height: 340px;*/
        border-radius: 3px;        
    }
    h1.ftype {
        font-size: 20px !important;
    }
    h2.ftype {
        font-size: 18px !important;
    } 
    .agents-title {
        padding: 15px 15px 0px 15px; 
    }
    .agents-office {
        margin-top: 23px; 
        text-align: center;
    }
    .agent-bar {
        margin-bottom: 10px; 
    }
}
@media (min-width: 768px) and (max-width: 991px) { 
    .thumbnail {
        height: 530px;
    }
    .bar-text {
        padding: 20px 25px 10px 25px;
        text-align: justify;
    }
    .btn-text {
        padding: 5px 0px 20px 0px;
    }
}
@media (max-width: 991px) {
    .section1-img{
        height: 400px;       
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .thumbnail {
        height: 470px;
    }
}