/* Base styles */

.blog {
    display:flex;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 30px;
}

/*.slide-blog {
    margin-top: 30px;
}*/

.slide-blog {
    flex: 0 1 auto;
    width:100%;
    padding-left: 15px;
    padding-right: 15px;

}

.wrapper-blog {
    display: flex;
    flex-direction: row;
    justify-content:left;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top:25px;
}

/* CARDS - content */
.content-box1, .content-box2, .content-box3 {
    width: 280px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.9);
    background-color: #000;
}


/* Content inside box */

/* TEXTs - box - Reading READ MORE */


.title-blog {
        font-size: 1.8em;
        font-weight: 600;
        text-transform: uppercase;
        padding:0px 0px 0px 0px;
        letter-spacing: 1px;
        line-height: 1.2em;
}

.text-blog-box {
    padding:15px 15px 15px 15px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 20px;
}

/*
.text-blog-box:hover {
    background-color: rgba(0,0,0,0.2);
}
*/

.text-b1, .text-b2, .text-b3 {
    /*           
    overflow: hidden;
    text-overflow: ellipsis; 
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3; /* number of lines to show 
    -webkit-box-orient: vertical; */
    display: none;
    margin-bottom: 30px;
}


/* >>>>>>>> BUTTON READ MORE <<<<<<<<<< */

.clicker {
    display:inline-block;
    margin-top: 40px;
    margin-bottom: 40px;
}

.clicker.hidden {
    display:none;
}

/* card 1 */
#showservice1:target ~ div a[href="#showservice1"],
#showservice1:target ~ div a[href="#showservice1"],
#showservice2:target ~ div a[href="#showservice2"],
#showservice2:target ~ div a[href="#showservice2"],
#showservice3:target ~ div a[href="#showservice3"],
#showservice3:target ~ div a[href="#showservice3"] {
    display:none;
}

#showservice1:target ~ div a[href="#hideservice1"],
#showservice1:target ~ div a[href="#hideservice1"],
#showservice2:target ~ div a[href="#hideservice2"],
#showservice2:target ~ div a[href="#hideservice2"],
#showservice3:target ~ div a[href="#hideservice3"],
#showservice3:target ~ div a[href="#hideservice3"] {
    display:inline-block;
}

#showservice1:target ~ div .text-b1,
#showservice1:target ~ div .text-b1.nr2,
#showservice2:target ~ div .text-b2,
#showservice2:target ~ div .text-b2.nr2,
#showservice3:target ~ div .text-b3,
#showservice3:target ~ div .text-b3.nr2 {
    display: block;
}




/* SCROLL */

/* width */
.wrapper-blog::-webkit-scrollbar {
    display: none;
    height: 10px;
}

/* Track */
.wrapper-blog::-webkit-scrollbar-track {
    display: none;
    background-color: #fff;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 20px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}
 
/* Handle */
.wrapper-blog::-webkit-scrollbar-thumb {
    display: none;
    background: #444;
    border-radius: 20px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}


/* Slider */

.content-blog1 {
    background-image: url(../img/services/service1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.content-blog2{
    background-image: url(../img/services/service2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.content-blog3 {
    background-image: url(../img/services/service3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/*
#####################################################
    Extra small devices (phones, 320px and down)
#####################################################
*/
@media only screen and (max-width: 320px) {
    
    
    .content-box1, .content-box2, .content-box3, .content-box4, .content-box5, .content-box6 {
        width: 280px;
    }

    /*.wrapper-blog::-webkit-scrollbar-track {
        margin-left: 200px;
        margin-right: 200px;
    }*/


}    
    
/* 
#####################################################
    Medium devices (landscape tablets, 768px and up) 
#####################################################
*/
@media only screen and (min-width: 768px) {


    .blog {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin-left: 40px;
        margin-right: 40px;
    }

    .slide-blog {
        flex: 0 1 auto;
        width:100%;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 30px;
    }

    .content-box1, .content-box2, .content-box3 {
        width: 280px;
    }
    
    .wrapper-blog {
        display: flex;
        flex-direction: row;
        justify-content:left;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-top:25px;
    }

    .wrapper-blog::-webkit-scrollbar-track {
        display: block;
        margin-left: 200px;
        margin-right: 200px;
    }

    .wrapper-blog::-webkit-scrollbar {
        display: block;
        height: 10px;
    } 

    .wrapper-blog::-webkit-scrollbar-thumb {
        display: block;
        background: #444;
        border-radius: 20px;
        border-radius: 20px;
        -moz-border-radius: 20px;
        -webkit-border-radius: 20px;
    }

    /*.blog {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 0px;
    margin-bottom: 30px;
}

.wrapper-blog {
    display: flex;
    flex-direction: row;
    justify-content:left;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top:30px;
    padding-bottom: 40px;
}

/* Origin point for slides
.slide-blog {
    flex: 0 1 auto;
    width:100%;
    padding-left: 20px;
    padding-right: 20px;
}
*/
}

/* 
#####################################################
    Large devices (laptops/desktops, 992px and up) 
#####################################################
*/
@media only screen and (min-width: 992px) {

    /*
    .slide-blog {
        padding-left: 2%;
        padding-right: 2%;
    }*/

    .content-box1, .content-box2, .content-box3 {
        width: 350px;
    }

    .text-blog-box {
        padding: 15px 45px 15px 45px;
       /* text-align: left; */
    }

    .wrapper-blog::-webkit-scrollbar-track {
        margin-left: 300px;
        margin-right: 300px;
      }

    .wrapper-blog::-webkit-scrollbar {
        height: 10px;
    }  
    
    .btn {
        text-align: center;
    }

}

/* 
#####################################################
    Extra large devices (large laptops and desktops, 1290px and up)
#####################################################
*/
@media only screen and (min-width: 1290px) {

    /*
    .slide-blog {
        padding-left: 2%;
        padding-right: 2%;
    }
    */

    .content-box1, .content-box2, .content-box3 {
        width: 400px;
    }

    .text-blog-box {
        padding: 15px 45px 15px 45px;
        /* text-align: left; */
    }

    .btn {
        text-align: center;
    }

}