
/**
 * CONTENTS
 *
 * 1. Styling Reset 
 *
 * 2. ...
 *
 */



/*------------------------------------*\
    #1. Styling Reset 
\*------------------------------------*/

.casestudy__single--content,
.casestudy__single--title,
.casestudy--single,
.casestudy,
.casestudy--course,
.casestudy--image,
.casestudy--info,
.casestudy--title,
.casestudy--wrap,
.casestudy-list{ 
    display: block;
    padding: 0; 
    margin: 0; 
    list-style: none; 
    border: none; 
}


.casestudy-list{
    overflow:auto;
    padding-bottom:40px;
}
/*------------------------------------*\
    #2. Click through
\*------------------------------------*/

.casestudy__single--title{
    text-align:center;
    padding:20px 0 40px 0;
}

.casestudy--single{
    border-bottom:1px solid #000;
    padding-bottom:60px;
}


@media screen and (max-width:720px){
    
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    
}
 
@media screen and (min-width:1281px){
    
}



/*------------------------------------*\
    #3. List
\*------------------------------------*/

.casestudy--image{
    margin:0 auto;
    width:100%;
}

.casestudy--info{
    padding:20px;
}

.casestudy--title{
    margin-bottom:10px;
}

.casestudy--course{
    font-weight:700;
    margin-bottom:20px;
}


@media screen and (max-width:720px){
    .casestudy{
        float:none;
        margin:0 auto 20px auto;
        width:100%;
        max-width:400px;
    }
    
    .casestudy--title{
        font-size:24px;
        line-height:38px;
        font-weight:700;
    }
    .casestudy--course{
        font-size:18px;
        line-height:24px;
    }

}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .casestudy{
        float:left;
        margin: 0 20px 20px 0;
        width:calc((100% - 40px) /2 - 0.1px);
    }
    .casestudy:nth-child(2n+2){
        margin-right:0;
    }
    
    .casestudy:nth-child(2n+3){
        clear:left;
    }
    
    .casestudy--title{
        font-size:24px;
        line-height:38px;
        font-weight:700;
    }
    .casestudy--course{
        font-size:18px;
        line-height:24px;
    }
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    .casestudy{
        float:left;
        margin: 0 20px 20px 0;
        width:calc((100% - 20px) /2 - 0.1px);
    }
    .casestudy:nth-child(2n+2){
        margin-right:0;
    }
    
    .casestudy:nth-child(2n+3){
        clear:left;
    }
    
    .casestudy--title{
        font-size:30px;
        line-height:38px;
    }
    .casestudy--course{
        font-size:22px;
        line-height:28px;
    }
}
 
@media screen and (min-width:1281px){
    .casestudy{
        float:left;
        margin-right: 20px;
        margin-bottom: 20px;
        width:calc((100% - 40px) /3 - 0.1px);
    }
    .casestudy:nth-child(3n+3){
        margin-right:0;
    }
    
    .casestudy:nth-child(3n+4){
        clear:left;
    }
    
    .casestudy--title{
        font-size:30px;
        line-height:38px;
    }
    .casestudy--course{
        font-size:22px;
        line-height:28px;
    }
}



