/* Styles for the course pages */
.courses-files{
    color: white;
    padding: 20px 10px;
    margin: 75px 60px 20px 60px;
}
.courses-files a{
    color: white;
}
 /* Course page interface */
 .courses-files .title{
    background-color: #2ea742;
    padding: 10px 30px;
    border-radius: 10px;
    display: inline-flex;
    margin: 5px 0 10px 0;
    width: 100%;
    justify-content: space-between;
    font-weight: bold;
}
.courses-files .title span{
    font-size: 20px;
}
 .courses-files .t-info{
    display: inline-flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.courses-files .t-info blockquote{
    font-size: 14px;
    height: auto;
    padding: 0 7px;
    margin: 0;
    line-break: loose;
}
.courses-files .t-info .quote{
    background-color: rgb(64, 65, 65);
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}
.courses-files .t-info .more-info span{
    background-color: #2ea742;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    display: inline-flex;
}
.courses-files .t-info .more-info span:first-child{
    margin-right: 10px;
}
.courses-files .course-head{
    background-color: rgb(64, 65, 65);
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0 0 5px 0;
    width: auto;
    max-width: 100%;
    cursor: pointer;
}
.courses-files .course-name{
    font-size: 22px;
}
.courses-files .course-name .files-count{
    font-size: 13px;
    background-color: rgb(56, 58, 59);
    margin-left: 30px;
    width: auto;
    padding: 4px 10px 3px 10px;
    border-radius: 15px;
    position: relative;
    top: -2px;
    display: inline-flex;
}
.courses-files .course-info-div{
    display: inline-flex;
    margin-top: 10px;
    width: 100%;
    font-size: 12px;
}
.courses-files .course-info-div p{
    border-radius: 9px;
    padding: 3px;
    display: flex;
    float: right;
}
.courses-files .course-info-div p .info{
    padding: 3px;
}
.courses-files .course-info-div .info-title1{
    background-color: rgb(78, 78, 78);
    width: auto;
    min-width: 100px;
    margin-right: 40px;
}
.courses-files .course-info-div .info-title1 .subtitle1{
    background-color: rgb(73, 73, 73);
    border-radius: 7px;
    padding: 3px 5px;
}
.courses-files .course-info-div .info-title2{
    background-color: rgb(78, 78, 78);
    width: auto;
    margin-right: 40px;
}
.courses-files .course-info-div .info-title2 .subtitle2{
    background-color: rgb(73, 73, 73);
    border-radius: 7px;
    padding: 3px 5px;
}
.courses-files .course-info-div .info-title3{
    background-color: rgb(78, 78, 78);
    width: auto;
}
.courses-files .course-info-div .info-title3 .subtitle3{
    background-color: rgb(73, 73, 73);
    border-radius: 7px;
    padding: 3px 5px;
}

.files{
    margin: 10px 7px;
    justify-content: center;
    border-radius: 20px;
    transition: display 0.5s;
}
.files .file{
    width: 130px;
    height: 260px;
    background-color: rgb(45, 46, 45);
    text-align: center;
    border-radius: 15px;
    border: 1px solid white;
    justify-content: center;
}
.files .file img{
    width: 100px;
    height: 100px;
}
.files .file p{
    margin: 0;
    font-size: 13px;
    padding: 0 3px;
    height: 80px;
    overflow: hidden;
}
.files .file .file-info{
    height: 20px;
    font-size: 12px;
    display: inline-flex;
    width: 100%;
    justify-content: space-around;
}
.files .file .file-info li{
    list-style-type: none;
}
.files .file .controls{
    display: inline-flex;
    width: 100%;
    margin: 0 0 10px 0;
    justify-content: space-around;
}
.files .file .controls a{
    text-decoration: none;
    color: white;
    padding: 2px 0 0 0;
    height: 35px;
}
.files .file .controls #view img{
    width: 25px;
    height: 25px;
    margin: 8px 0 0 5px;
}
.files .file .controls #view img:hover{
    width: 30px;
    height: 30px;
}
.files .file .controls #download img:hover{
    width: 45px;
    height: 45px;
}
.files .file .controls #download img{
    width: 40px;
    height: 40px;
}

/* styles for mobile */
@media screen and (min-width: 250px) and (max-width: 920px){
    .courses-files{
        color: white;
        padding: 15px 10px;
        margin: 70px 1px 10px 1px;
    }
    .courses-files a{
        color: white;
    }
    /* Course page interface */
    .courses-files .title{
        background-color: #2ea742;
        padding: 5px;
        border-radius: 10px;
        display: inline-flex;
        margin: 0 0 10px 0;
        width: 100%;
        justify-content: space-between;
        font-weight: bold;
    }
    .courses-files .title span{
        margin: 5px;
        font-size: 16px;
        padding-left: 3px;
    }
    .courses-files .t-info{
        justify-content: right;
    }
    .courses-files .t-info blockquote{
        font-size: 12px;
        padding: 2px 7px;
    }
    .courses-files .t-info .more-info span:first-child{
        margin-right: 10px;
        margin-left: 10px;
    }
    .courses-files .course-head{
        background-color: rgb(64, 65, 65);
        padding: 10px 7px 7px 7px;
        border-radius: 10px;
        margin: 0 0 5px 0;
    }
    .courses-files .course-name{
        font-size: 16px;
        padding-left: 6px;
    }
    .courses-files .course-name .files-count{
        font-size: 12px;
        margin: 0 0 0 5px;
        width: auto;
        padding: 3px 8px;
        border-radius: 15px;
        display: inline-flex;
        position: relative;
        top: -2px;
        background-color: rgb(56, 58, 59);
    }
    .courses-files .course-info-div{
        display: inline-flex;
        width: 100%;
        margin-top: 10px;
        padding-left: 4px;
        font-size: 12px;
    }
    .courses-files .course-info-div p{
        border-radius: 9px;
        padding: 3px;
        display: flex;
        float: right;
    }
    .courses-files .course-info-div p .info{
        padding: 3px;
    }
    .courses-files .course-info-div .info-title1{
        background-color: rgb(78, 78, 78);
        width: auto;
        margin-right: 5px;
    }
    .courses-files .course-info-div .info-title1 .subtitle1{
        background-color: rgb(73, 73, 73);
        border-radius: 7px;
        padding: 3px 3px;
        width: auto;
    }
    .courses-files .course-info-div .info-title2{
        background-color: rgb(78, 78, 78);
        width: auto;
        margin-right: 5px;
    }
    .courses-files .course-info-div .info-title2 .subtitle2{
        background-color: rgb(73, 73, 73);
        border-radius: 7px;
        padding: 3px 5px;
    }
    .courses-files .course-info-div .info-title3{
        background-color: rgb(78, 78, 78);
        width: auto;
    }
    .courses-files .course-info-div .info-title3 .subtitle3{
        background-color: rgb(73, 73, 73);
        border-radius: 7px;
        padding: 3px 5px;
    }
    
    /* files style for mobile */
    .files{
        margin: 5px 2px;
        justify-content: center;
    }
    .files .file{
        width: 110px;
        height: 250px;
        border-radius: 15px;
        text-align: center;
        background-color: rgb(45, 46, 45);
    }
    .files .file img{
        width: 100px;
        height: 100px;
    }
    .files .file p{
        font-size: 12px;
        max-width: 120px;
        margin: 0;
        padding: 0 3px;
        overflow: hidden;
        height: 75px;
        width: auto;
        line-height: 1.3;
    }
    .files .file .file-info{
        font-size: 11px;
        height: 20px;
        display: inline-flex;
        padding-bottom: 3px;
        margin-top: 5px;
        width: 100%;
        justify-content: space-around;
    }
    .files .file .file-info li{
        list-style-type: none;
    }
    .files .file .controls{
        display: inline-flex;
        width: 100%;
        margin: 0 0 20px 0;
        justify-content: space-around;
    }
    .files .file .controls a{
        text-decoration: none;
        color: white;
        padding: 2px 0 0 0;
        height: 35px;
    }
    .files .file .controls #view img{
        width: 30px;
        height: 30px;
        margin-top: 5px;
    }
    .files .file .controls #view img:hover{
        width: 35px;
        height: 35px;
    }
    .files .file .controls #download img:hover{
        width: 45px;
        height: 45px;
    }
    .files .file .controls #download img{
        width: 40px;
        height: 40px;
    }

    @media screen and (min-width: 250px) and (max-width: 360px){
        .files{
            margin: 5px 1px 8px 1px;
        }
        .files .file{
            width: 105px;
            height: 250px;
            border-radius: 15px;
            text-align: center;
            background-color: rgb(45, 46, 45);
        }
        .files .file img{
            width: 100px;
            height: 100px;
        }
        .files .file p{
            font-size: 11px;
            max-width: 104px;
            margin: 0;
            padding: 0 3px;
            overflow: hidden;
            height: 75px;
            width: auto;
            line-height: 1.3;
        }
        .files .file .file-info{
            font-size: 9px;
            height: 20px;
            display: inline-flex;
            padding-bottom: 3px;
            margin-top: 5px;
        }
        .files .file .file-info li{
            list-style-type: none;
        }
        .files .file .controls{
            display: inline-flex;
            width: 100%;
            margin: 0px 0 20px 0;
            justify-content: space-around;
        }
        .files .file .controls a{
            text-decoration: none;
            color: white;
            padding: 2px 0 0 0;
            height: 35px;
        }
        .files .file .controls #view img{
            width: 28px;
            height: 28px;
        }
        .files .file .controls #view img:hover{
            width: 30px;
            height: 30px;
        }
    }
}

/* styles for Tablet */
@media screen and (min-width: 920px) and (max-width: 1060px){
    /* Course page interface */
    .courses-files .title{
        background-color: #2ea742;
        padding: 5px;
        border-radius: 10px;
        display: inline-flex;
        margin: 5px 0 10px 0;
        width: 100%;
        justify-content: space-between;
        font-weight: bold;
    }
    .courses-files .title span{
        margin: 5px;
        font-size: 18px;
    }
    .courses-files .course-head{
        background-color: rgb(64, 65, 65);
        padding: 5px 8px;
        border-radius: 10px;
        margin: 0 0 5px 0;
    }
    .courses-files .course-name{
        font-size: 22px;
    }
    .courses-files .course-name .files-count{
        font-size: 14px;
        margin: 0 0 0 5px;
        width: auto;
        padding: 3px 8px;
        border-radius: 15px;
        display: inline-flex;
        background-color: rgb(56, 58, 59);
    }
.courses-files .course-info-div{
    display: inline-flex;
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
}
.courses-files .course-info-div p{
    border-radius: 9px;
    padding: 3px;
    display: flex;
    float: right;
}
.courses-files .course-info-div p .info{
    padding: 3px;
}
.courses-files .course-info-div .info-title1{
    background-color: rgb(78, 78, 78);
    width: auto;
    margin-right: 5px;
}
.courses-files .course-info-div .info-title1 .subtitle1{
    background-color: rgb(73, 73, 73);
    border-radius: 7px;
    padding: 3px 5px;
}
.courses-files .course-info-div .info-title2{
    background-color: rgb(78, 78, 78);
    width: auto;
    margin-right: 5px;
}
.courses-files .course-info-div .info-title2 .subtitle2{
    background-color: rgb(71, 71, 71);
    border-radius: 7px;
    padding: 3px 5px;
}
.courses-files .course-info-div .info-title3{
    background-color: rgb(78, 78, 78);
    width: auto;
    margin-right: 5px;
}
.courses-files .course-info-div .info-title3 .subtitle3{
    background-color: rgb(71, 71, 71);
    border-radius: 7px;
    padding: 3px 5px;
}
.files .file{
    background-color: rgb(45, 46, 45);
    width: 130px;
    text-align: center;
    border-radius: 15px;
    height: 260px;
    justify-content: center;
}
.files .file img{
    width: 100px;
    height: 100px;
}
.files .file p{
    margin: 0;
    font-size: 14px;
    padding: 0 3px;
    height: 80px;
    overflow: hidden;
}
.files .file .file-info{
    height: 20px;
    display: inline-flex;
    padding-bottom: 3px;
    width: 100%;
    justify-content: space-around;
}
.files .file .file-info li{
    list-style-type: none;
}
.files .file .controls{
    display: inline-flex;
    width: 100%;
    margin: 0px 0 10px 0;
    justify-content: space-around;
}
.files .file .controls a{
    text-decoration: none;
    color: white;
    padding: 2px 0 0 0;
    height: 35px;
}
.files .file .controls #view img{
    width: 30px;
    height: 30px;
    margin-top: 5px;
}
.files .file .controls #view img:hover{
    width: 35px;
    height: 35px;
}
.files .file .controls #download img:hover{
    width: 45px;
    height: 45px;
}
.files .file .controls #download img{
    width: 40px;
    height: 40px;
}
}