
.subject-title{
    font-family: 'Kanit', sans-serif;
}

/* 
    cr:https://catalin.red/css3-ordered-list-styles/
*/
ol {
    counter-reset: li; /* Initiate a counter */
    list-style: none; /* Remove default numbering */
    *list-style: decimal; /* Keep using default numbering for IE6/7 */
    /* font: 15px 'trebuchet MS', 'lucida sans'; */
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

    ol ol {
        margin: 0 0 0 2em; /* Add some left margin for inner lists */
    }

.rounded-list a{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;   
    font-size:1em;
}

.rounded-list a:hover{
    background: #eee;
}

/* .rounded-list a:hover:before{
    transform: rotate(360deg);  
} */

.rounded-list a:before{
    content: counter(li);
    counter-increment: li;
    position: absolute; 
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: #87ceeb;
    height: 2.5em;
    width: 2.5em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}
/* 
    end cr:https://catalin.red/css3-ordered-list-styles/
*/


.card-custom{
    background-color: #fff;
    border-radius: 6px;        /* มุมโค้งนิดหน่อย */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* เงาจางๆ */
    transition: box-shadow 0.2s ease;
    padding: 60px;
}

/* เวลา hover ให้เงาชัดขึ้น */
.card-custom:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.container-custom{
    position: relative;
    margin-top: -60px;
    z-index: 1; 
}
