.hhr{

}

.searchBy p{
    font-size: 18px;
    color: #333333;
}

.searchBy ul{
    flex-wrap: wrap;
    background: #F6F8FA;
    border: 1px solid #EBEFF3;
    margin-top: 18px;
}

.searchBy ul li{
    width: 36px;
    height: 36px;
    margin: 18px 33px;
}

.searchBy ul li a{
    display: block;
    width: 100%;
    height: inherit;
    font-size: 18px;
    color: #333333;
    text-align: center;
    line-height: 36px;
}

.letterActive{
    background: #C7001A;
}

.searchBy ul .letterActive a{
    color: white;
}

.searchForm{
    margin: 30px 0;
}

.searchForm .form{
    flex-wrap: wrap;
}

.formItem{
    margin-right: 20px;
    margin-bottom: 10px;
}

.formItem label{
    font-size: 18px;
    color: #333333;
}

.formItem input, .formItem select{
    min-width: 276px;
    font-size: 16px;
    color: #9DA3AB;
    box-sizing: border-box;
    padding: 0 10px;
    height: 50px;
    background: #F6F8FA;
    border: 1px solid #E2E6EB;
    outline: none;
}

.submitBtn{
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    height: 50px;
    background: #C7001A;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: bold;
    box-sizing: border-box;
    padding: 0 10px;
    margin-bottom: 10px;
}

.submitBtn img{
    width: 18px;
    height: 18px;
    margin-left: 3px;
}

.lawyerL{
    flex-wrap: wrap;
}

.lawyerI{
    width: 23%;
    margin-right: 2%;
    margin-bottom: 2%;
    box-shadow: 0px 0px 5px #e0dfdf;
    flex-direction: column;
}

.lawyerI .cover{
    width: 100%;
    height: 395px;
    background-size: cover !important;
    background-position: center center !important;
}

.info{
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 5%;
    background: linear-gradient(90deg, #F6F8FA, #E9ECEF);
}

.info .name{
    font-size: 24px;
    color: #333333;
    font-weight: bold;
    transition: all .3s;
}

.info .name img{
    width: 14px;
    height: 14px;
}

.info .name img:nth-child(3){
    display: none;
}

.info .post{
    font-size: 16px;
    color: #75797E;
    margin: 19px 0;
    transition: all .3s;
}

.info .phone{
    height: 60px;
    line-height: 20px;
    overflow: hidden;
    border-top: 1px solid #DCE0E4;
    font-size: 16px;
    color: #75797E;
    padding-top: 20px;
    transition: all .3s;
}

.info .phone label{
    flex-shrink: 0;
}

.info .phone span{
    display: block;
}

.info .consult{
    height: 45px;
    background: #FFFFFF;
    border: 1px solid #E6E9EC;
    font-size: 18px;
    color: #75797E;
    transition: all .3s;
}

.consult img{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.consult img:nth-child(2){
    display: none;
}

.lawyerI:hover .info{
    border-bottom: 3px solid #E40001;
}

.lawyerI:hover .info .name{
    color: #E40001;
    border-left: 5px solid #E40000;
    box-sizing: border-box;
    padding-left: 10px;
}
.lawyerI:hover .info .name img:nth-child(3){
    display: block;
}
.lawyerI:hover .info .name img:nth-child(2){
    display: none;
}
.lawyerI:hover .info .consult{
    background: #E40001;
    color: white;
}
.lawyerI:hover .consult img:first-child{
    display: none;
}
.lawyerI:hover .consult img:nth-child(2){
    display: block;
}
.lawyerI:hover .info .post{
    color: #333333;
}
.lawyerI:hover .info .phone{
    color: #333333;
}

@media screen and (max-width: 998px){
    .lawyerI{
        width: 32%;
    }
    
    .lawyerI:nth-child(3n){
        margin-right: 0;
    }
    
    .info .phone{
        flex-wrap: wrap;
    }

    .info .post{
        margin: 10px 0;
    }
}

@media screen and (max-width: 768px){
    .lawyerI{
        width: 49%;
    }
    
    .lawyerI:nth-child(3n){
        margin-right: 2%;
    }

    .lawyerI:nth-child(2n){
        margin-right: 0;
    }
}

@media screen and (max-width: 540px){
    .searchForm{
        margin: 10px 0;
    }

    .lawyerI:hover .info .name{
        border-left-width: 2px;
    }

    .lawyerI:hover .info{
        border-bottom-width: 1px;
    }

    .searchBy p{
        font-size: 12px;
    }

    .searchBy ul li{
        width: 25px;
        height: 25px;
        margin: 9px 15px;
    }

    .searchBy ul li a{
        font-size: 14px;
        line-height: 25px;
    }

    .formItem label{
        display: none;
    }

    .formItem:first-child{
        width: 100%;
        margin-right: 0;
    }

    .formItem:first-child input{
        width: 100%;
    }

    .submitBtn{
        width: 105px;
        height: 35px;
        font-size: 16px;
        margin-bottom: 2%;
    }

    .submitBtn img{
        width: 14px;
        height: 14px;
    }

    .formItem{
        margin-right: 5px;
        width: calc((100% - 105px - 10px)/2);
        margin-bottom: 2%;
    }

    .formItem select, .formItem input{
        min-width: 0;
        width: 100%;
    }

    .formItem input, .formItem select{
        height: 35px;
        font-size: 12px;
    }
    
    .lawyerI .cover{
        height: 310px;
    }
    
    .info .name{
        font-size: 14px;
    }

    .info .name img{
        width: 8px;
        height: 8px;
    }

    .info .post{
        font-size: 12px;
        margin: 5px 0;
    }

    .info .phone{
        height: 40px;
        font-size: 12px;
        padding-top: 10px;
    }

    .info .consult{
        height: 30px;
        font-size: 12px;
        margin-top: 5px;
    }

    .consult img{
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 450px){
    .lawyerI .cover{
        height: 230px;
    }
}