@charset "utf-8";

/* CSS Document */

.banner-calendar {
    margin: 0;
    padding: 0;
}

.bt-all-top {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 40px;
}

.ebook-132-1 .bottom{
    margin-top: 20px;
}
.banner-calendar .help-fund {
    margin: 0;
    padding: 0;
}

.banner-calendar .help-fund .top {
    margin: 0;
    padding: 0;
    padding-top: 36px;
    padding-bottom: 20px;
    font: 32px/24px 'thaisanslite', Arial, sans-serif;
    font-weight: bold;
    /* letter-spacing:1px; */
    color: #9c5503;
}

.banner-calendar .help-fund .mid {
    margin: 0;
    padding: 0;
}

.banner-calendar .help-fund .mid img {
    width: 100%;
    height: auto;
}

.banner-calendar .help-fund .bottom {
    margin: 0;
    padding: 0;
    margin: 20px 0px;
}

.banner-calendar .activity-coming {
    margin: 0;
    padding: 0;
}

.banner-calendar .cr-top {
    margin: 0;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 20px;
    font: 32px/24px 'thaisanslite', Arial, sans-serif;
    font-weight: bold;
    /* letter-spacing:1px; */
    color: #55950b;
}

.banner-calendar .activity-coming .top {
    margin: 0;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 20px;
    font: 32px/24px 'thaisanslite', Arial, sans-serif;
    font-weight: bold;
    /* letter-spacing:1px; */
    color: #b59021;
}

.banner-calendar .activity-coming .mid {
    margin-top: 15px;
    padding: 0;
    background: #dfebd4;
    height: 294px;
}

.banner-calendar .activity-coming .mid ul {
    margin: 0;
    padding: 0;
}

.banner-calendar .activity-coming .mid ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.banner-calendar .activity-coming .mid .date {
    width: 44px;
    height: 44px;
    padding-top: 5px;
    text-align: center;
    font-size: 22px;
    line-height: 20px;
    color: #fff;
}

.banner-calendar .activity-coming .mid .month {
    text-align: center;
    font-size: 12px;
    line-height: 14px;
}

.banner-calendar .activity-coming .mid .detail {
    /* width:267px; */
    height: auto;
    font-size: 16px;
    line-height: 20px;
}

.banner-calendar .activity-coming .mid .date-detail {
    width: 100%;
    height: auto;
    color: #761021;
    font-size: 12px;
    line-height: 18px;
}

.banner-calendar .activity-coming .bottom {
    margin-top: 20px;
    margin-bottom: 20px;
}

.banner-calendar .news-activity-text {
    margin: 0;
    padding: 0;
    padding-top: 60px;
    padding-bottom: 30px;
    font: 32px/32px 'SukhumvitSetMedium', Arial, sans-serif;
    color: #3f3f3f;
    text-align: center;
}

.c-d1 {
    background: #9f8b04;
}

.c-d2 {
    background: #a07c00;
}

.c-d3 {
    background: #914512;
}


/********************************************/

.ebook-132-1 {
    width: 100%;
    height: auto;
}

.ebook-top {
    margin: 0;
    padding: 0;
    padding-top: 38px;
    padding-bottom: 20px;
    font: 32px/24px 'thaisanslite', Arial, sans-serif;
    font-weight: bold;
    /* letter-spacing:1px; */
    color: #9c5503;
}

.ebook-mid {
    width: 100%;
    height: 220px;
    background: #ebedea;
}

.ebook-block {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.ebook-pic {
    width: 100%;
    height: auto;
}

.ebook-pic img {
    max-width: 100%;
}

.ebook-text a {
    margin: 0;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 30px;
    font: 14px/24px 'Tahoma', Arial, sans-serif;
    color: #3f3f3f;
    text-align: left;
}

@media (max-width: 374px) {
    .ebook-block {
        height: 230px;
    }
    .ebook-mid {
        height: 300px;
    }
}

@media (min-width: 375px) and (max-width: 419px) {
    .ebook-block {
        height: 255px;
    }
    .ebook-mid {
        height: 300px;
    }
    .ebook-text a {
        padding-bottom: 20px;
        font: 11px / 18px 'Tahoma', Arial, sans-serif;
    }
}

@media (min-width: 420px) and (max-width: 575px) {
    .ebook-block {
        height: 230px;
    }
    .ebook-mid {
        height: 300px;
    }
    .ebook-text a {
        padding-bottom: 20px;
        font: 13px / 18px 'Tahoma', Arial, sans-serif;
    }
    .ebook-text  {
        margin-top: 30px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .ebook-block {
        height: 175px;
    }
    .ebook-mid {
        height: 175px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ebook-top {
        padding-top: 0px;
    }
}

@media (min-width: 1200px) and (max-width: 1280px) {
    .ebook-mid {
        height: 151px;
    }
}

@media (min-width: 1281px) and (max-width: 1366px) {
    .ebook-mid {
        height: 150px;
    }
}

@media (min-width: 1367px) and (max-width: 1440px) {
    .ebook-mid {
        height: 169px;
    }
}

@media (min-width: 1441px) and (max-width: 1600px) {
    .ebook-mid {
        height: 182px;
    }
}