/**********/
/* Slider */
/**********/
.serviceslider .item{
    padding-bottom: 50px;
    font-family: 'Figtree', Arial, sans-serif;
}
.serviceslider .service-img{
    overflow: hidden;
    max-height: 360px;
    margin-bottom: 20px;
}
.serviceslider .service-img img{
    width:100%;
    height:auto;
    /*border-radius: 15px;*/
    margin-bottom: 25px;
    transition: 300ms;
}
.serviceslider .item:hover .service-img img{
    transform: scale(1.1);
}
.serviceslider .service-content h5{
    font-weight: 700;
    margin-bottom: 15px;
}
.serviceslider .service-content .service-text{
    margin-bottom: 25px;
}
.service-content h5{
    color: #121b24;
}
.serviceslider button.owl-prev,
.serviceslider button.owl-next{
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-color: rgba(0,0,0,.2)!important;
}
.serviceslider button.owl-prev i,
.serviceslider button.owl-next i{
    color: #fff!important;
}
.serviceslider .owl-dots .owl-dot span {
    background: rgba(0, 0, 0, .5)!important;
    border-color: rgba(0, 0, 0, .5)!important;
}
.serviceslider .owl-dots .owl-dot.active span {
    background: rgba(255, 255, 255, 1)!important;
    border-color: var(--color-primary)!important;
}

@media screen and (max-width: 767px) {
    .serviceslider > *{
        text-align: center;
    }
}

/*********/
/* Block */
/*********/
.serviceblock .service-img img{
    width:100%;
    height:auto;
    transition:1200ms;
}
.serviceblock .service-img{
    overflow: hidden;
}
.serviceblock .item:hover .service-img img{
    transform: scale(1.05);
}
.serviceblock .item > *{
    position: relative;
    z-index: 1;
}
.serviceblock .service-img::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity:.5;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    transition:1200ms;
}
.serviceblock .item:hover .service-img::after {
    opacity:1;
}
.serviceblock .service-content{
    position: absolute;
    bottom:20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 0 10% 0 10%;
}
.serviceblock .service-content h5{
    color: #fff;
    font-size: 30px;
}
.serviceblock .service-content .service-text{
    margin-bottom: 30px;
}
.serviceblock .service-content .btnservice{
    color: #fff;
    padding: 13px 30px;
    border: 1px solid #fff;
    background-color: transparent;
    letter-spacing: 1px;
    font-size: 13px;
    text-transform: uppercase;
}
.serviceblock .service-content .btnservice:hover{
    color:var(--color-primary);
    background-color: #fff;
}
.serviceblock .item .service-content-in {
    margin-top: -20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 600ms;
}
.serviceblock .item:hover .service-content-in {
    margin-top: 0;
    margin-bottom: 20px;
    max-height: 300px;
    opacity: 1;
    overflow: visible;
}
.serviceblock .item .service-content-in > * {
    position: relative;
    top: 20px;    
    opacity: 0;
    transition: 600ms;
}
.serviceblock .item:hover .service-content-in > * {
    top: 0;
    opacity: 1;
}
@media only screen and (max-width: 767px) {
    .serviceblock .service-content{
        position: absolute;
        bottom:0px;
        left: 0;
        right: 0;
        text-align: center;
        color: #fff;
        padding: 0 10% 0 10%;
    }
    .serviceblock .service-content h5{
        font-size: 18px!important;
    }
    .serviceblock .item .service-content-in{
        display: none!important;
    }
}