.service {
    /* border: 1ox solid red; */

    background: #f8f8f8;
}
body {
    background: #f8f8f8;
}
.servicelist{
    padding: 0px 0px;
    margin: 40px 0px;
    border-left: 4px solid #efefef;
    position:relative;
  
}
.timeblock {
    width: 5px;
    height: 20px;
    position: absolute;
    top: 0;
    left: -5px;
    background: #f8f8f8;
}
.servicelist .serviceitem {
    box-sizing: border-box;
    padding: 20px 0px;
}
.servicelist .serviceitem1{
    padding:0px 0px 20px 0px;
}
.servicelist .serviceinner{
    position: relative;
    padding: 0px 0px 0px 40px;
    box-sizing: border-box;
}

.servicelist .serround{
    position: absolute;
    top: 20px;
    left: -11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    border: 4px solid #4290d1;
}
.servicelist .servicecontent {
    float: right;
    box-shadow: 0px 0px 10px rgba(204, 204, 204, 0.5);
    border-radius: 10px;
    padding: 15px;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    width: 100%;
    background: white;
}
.servicelist .servicecontent:hover{
    box-shadow: 0px 0px 10px rgba(0, 101, 182, 0.5);
  }

.servicelist .servicecontent::after{
    content: "";
    position: absolute;
    top: 15px;
    left: -0px;
    transform: rotate(0);
    width: 25px;
    height: 25px;
    background: white;
}
.servicelist .servicecontent::before{
    content: "";
    position: absolute;
    top: 20px;
    left: -7px;
    transform: rotate(45deg);
    width: 15px;
    height: 15px;
    background: white;
    box-shadow: 0px 0px 10px rgba(204, 204, 204, 0.5);
}
.servicelist .servicecontent:hover::before{
    box-shadow: 0px 0px 5px rgba(0, 101, 182, 0.5);
  }
    .servicelist .rightservice {
        float: right;
        width: 35%;
        padding-bottom: 28%;
        border-radius: 5px;
        overflow: hidden;
        position: relative;
    }
        .servicelist .rightservice img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            border-radius: 5px;
        }
        .servicelist .leftservice {
            padding: 10px 20px;
            overflow: hidden;
            position: relative;
            z-index: 5;
            box-sizing: border-box;
        }
.servicelist .servicetitle{
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 0px 0px 20px 0px;
    box-sizing: border-box;

}
.servicelist .servicetext {
    font-size: 15px;
    color: #555;
    line-height: 30px;
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    height: 210px;
}
.servicelist .address{
    float: left;
    padding: 30px 0px 0px 0px;
}
.servicelist .addimg{
    width: 15px;
    height: 15px;
    float: left;
    margin: 3px 0px 0px 0px;
}
.servicelist .addtext{
    float: right;
    font-size: 14px;
    color: #999;
    padding-left: 5px;
}

@media screen and (max-width:1200px) {
    .servicelist  .rightservice{
        float: right;
        width: 40%;
        border-radius: 5px;
        overflow: hidden;
    }
}
@media screen and (max-width:1000px) {
    .servicelist .rightservice{
        width: 48%;
    }
}
@media screen and (max-width:900px) {
    .servicelist .servicetext {
        -webkit-line-clamp: 3;
        height: 90px;
    } 
}
@media screen and (max-width:800px) {
    .servicelist .servicetext{
        font-size: 14px;
    
    } 
}
@media screen and (max-width:700px) {
    .servicelist .servicetitle{
        font-size: 16px;
        padding: 0px 0px 10px 0px;
    
    }
    .servicelist .servicetext {
        line-height: 24px;
        -webkit-line-clamp: 3;
        height: 72px;
    } 
    .servicelist .address{
        float: left;
        padding: 10px 0px 0px 0px;
    }
}
@media screen and (max-width:600px) {
    .servicelist .serviceinner{
        padding: 0px 0px 0px 0px;
    }
    .servicelist .servicecontent{
        width: 92%;
        border-radius: 5px;
        padding: 10px;

    }
    .servicelist .leftservice{
        padding: 0px 10px;

    }
    .servicelist .servicetitle{
        font-size: 16px;
        padding: 0px 0px 5px 0px;
    
    }
    .servicelist .rightservice{
        width: 45%;
    }
    .servicelist .servicetext {
        line-height: 22px;
        -webkit-line-clamp: 2;
        font-size: 12px;
        height: 44px;
    } 
    .servicelist  .address{
        padding: 10px 0px 0px 0px;
    }
    .servicelist .addimg{
        width: 12px;
        height: 12px;
    }
    .servicelist .addtext{
        float: right;
        font-size: 12px;
        color: #999;
        padding-left: 5px;
    }
    .servicelist  .serviceitem{
        padding: 10px 0px;
    }
    .servicelist  .serviceitem1{
        padding:0px 0px 10px 0px;
    }
}