/*
File Name: courses.css
Version: 3.0
*/

/*** courses sec1 ***/

#courses_sec1 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px 30px 30px;
    width: 100%;
}

#courses_sec1 h2 {
    background-color: #e8e0d0;
    border-radius: 5px;
    color: #604800;
    font-size: 2.5em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 15px;
    position: relative;
    text-align: center;
}

#courses_sec1 h2::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #e8e0d0;
    content: '';
    left: calc(50% - 10px);
    position: absolute;
}

#courses_sec1 > p {
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 0.5em;
    text-align: center;
}

#courses_sec1 > p:last-of-type {
    margin-bottom: 1.5em;
}

#courses_sec1 .sec1_items {
    width: 100%;
}

#courses_sec1 .sec1_item {
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    display: flex;
    margin-bottom: 15px;
    padding: 15px;
}

#courses_sec1 .sec1_item:last-of-type {
    margin-bottom: 0;
}

#courses_sec1 .sec1_item ul {
    width: 45%;
}

#courses_sec1 .sec1_item li {
    font-size: 1.2em;
    line-height: 1.5;
}

#courses_sec1 .sec1_item li::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-size: 1.6em;
    font-weight: bold;
    margin-right: 0.5em;
}

#courses_sec1 .sec1_item p:first-of-type {
    margin: 0 20px;
    text-align: center;
    width: 60px;
}

#courses_sec1 .sec1_item p:first-of-type i {
    background-color: #605850;
    border-radius: 50%;
    color: #ffffff;
    font-size: 3.0em;
    padding: 5px;
    width: 40px;
}

#courses_sec1 .sec1_item p:last-of-type {
    background-color: #f0f0e8;
    font-size: 1.2em;
    line-height: 1.5;
    padding: 15px;
    width: calc(55% - 100px);
}

#courses_sec1 .sec1_item p:last-of-type strong {
    color: #ee7800;
    font-size: 1.5em;
}

@media (max-width: 639px) {

    #courses_sec1 {
        padding: 15px 15px 30px;
    }

    #courses_sec1 h2 {
        font-size: 2.0em;
    }

    #courses_sec1 > p {
        font-size: 1.4em;
    }
    
    #courses_sec1 .sec1_items {
        display: block;
    }

    #courses_sec1 .sec1_item {
        display: block;
        max-width: 400px;
        margin: 15px auto;
        padding: 7.5px;
        width: 100%;
    }

    #courses_sec1 .sec1_item:last-of-type {
        margin-bottom: 0;
    }

    #courses_sec1 .sec1_item ul {
        height: auto;
        margin-bottom: 15px;
        width: 100%;
    }

    #courses_sec1 .sec1_item li {
        font-size: 1.2em;
    }

    #courses_sec1 .sec1_item li::before {
        font-size: 1.4em;
    }

    #courses_sec1 .sec1_item p:first-of-type {
        margin: 0 auto 15px;
    }

    #courses_sec1 .sec1_item p:first-of-type i {
        transform: rotate(90deg);
    }

    #courses_sec1 .sec1_item p:last-of-type {
        font-size: 1.1em;
        height: auto;
        padding: 7.5px;
        width: 100%;
    }

}

@media (min-width: 640px) and (max-width: 991px) {

    #courses_sec1 .sec1_items {
        display: flex;
        justify-content: space-between;
    }

    #courses_sec1 .sec1_item {
        display: block;
        margin-bottom: 0;
        padding: 7.5px;
        width: calc(50% - 15px);
    }

    #courses_sec1 .sec1_item ul {
        height: 150px;
        margin-bottom: 15px;
        width: 100%;
    }

    #courses_sec1 .sec1_item li {
        font-size: 1.2em;
    }

    #courses_sec1 .sec1_item p:first-of-type {
        margin: 0 auto 15px;
    }

    #courses_sec1 .sec1_item p:first-of-type i {
        transform: rotate(90deg);
    }

    #courses_sec1 .sec1_item p:last-of-type {
        font-size: 1.1em;
        height: 120px;
        padding: 7.5px;
        width: 100%;
    }

    #courses_sec1 .sec1_item p:last-of-type span.phrase {
        display: inline;
        white-space: normal;
    }

}

/*** courses sec2 ***/

#courses_sec2 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px;
    width: 100%;
}

#courses_sec2 h2 {
    background-color: #e8e0d0;
    border-radius: 5px;
    color: #604800;
    font-size: 2.5em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 15px;
    position: relative;
    text-align: center;
}

#courses_sec2 h2::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #e8e0d0;
    content: '';
    left: calc(50% - 10px);
    position: absolute;
}

#courses_sec2 > p {
    font-size: 1.6em;
    line-height: 1.5;
    margin-bottom: 0.5em;
    text-align: center;
}

#courses_sec2 ul {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 600px;
    padding: 30px 0;
    width: 100%;
}

#courses_sec2 li {
    width: calc(33.33% - 20px);
}

#courses_sec2 li a {
    border-radius: 50%;
    color: #ffffff;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    height: 100px;
    margin: 0 auto;
    text-align: center;
    width: 100px;
}

#courses_sec2 li:first-of-type a {
    background-color: #9fc24d;
    padding: 28px 0;
}

#courses_sec2 li:nth-of-type(2) a {
    background-color: #f89174;
    padding: 22px 0;
}

#courses_sec2 li:last-of-type a {
    background-color: #68a4d9;
    padding: 22px 0;
}

#courses_sec2 table {
    margin: 0 auto 15px;
    width: 100%;
}

#courses_sec2 th {
    background-color: #b0b0a0;
    border: 1px solid #d0d0d0;
    color: #ffffff;
    font-size: 1.4em;
    line-height: 1.5;
    padding: 0.6em 0.3em;
    text-align: center;
    vertical-align: middle;
}

#courses_sec2 td {
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    font-size: 1.2em;
    line-height: 1.5;
    padding: 0.6em 0.3em;
    text-align: center;
    vertical-align: middle;
}

#courses_sec2 tr:nth-of-type(2n) td {
    background-color: #f8f8f0;
}

#courses_sec2 td:nth-of-type(4){
    text-align: left;
}

#courses_sec2 td:nth-of-type(4),
#courses_sec2 td:nth-of-type(6) {
}

@media (max-width: 991px) {

   #courses_sec2 th {
        font-size: 1.0em;
        padding: 0.1em;
    }

    #courses_sec2 td {
        font-size: 1.0em;
        padding: 0.1em;
    }

    #courses_sec2 th span.nosp {
        display: none;
    }

}

@media (max-width: 639px) {

    #courses_sec2 {
        padding: 30px 15px;
    }

    #courses_sec2 h2 {
        font-size: 2.0em;
    }

    #courses_sec2 > p {
        font-size: 1.4em;
    }
    
    #courses_sec2 ul {
        padding: 15px 0;
    }

    #courses_sec2 li a {
        font-size: 12px;
        height: 80px;
        width: 80px;
    }

    #courses_sec2 li:first-of-type a {
        padding: 22px 0;
    }

    #courses_sec2 li:nth-of-type(2) a {
        padding: 16px 0;
    }

    #courses_sec2 li:last-of-type a {
        padding: 16px 0;
    }

}
