.boxpad {
    margin: 5px;
    margin-left: 0px;
    margin-right: 10px;
    margin-bottom: 1px;
    width: 170px;
    height: 170px;
    font-size: 14px;
    text-align: center;
    padding: 5px;
    padding-top: 20px;
    color: #FFFFFF;
    display: inline-block;
    border: 1px solid #363f82;
    background-color: #363f82;
}

.boxpad .titledate {
    font-family: 'thaibevsansnew-semibold', 'Noto Sans Thai', sans-serif;
    font-size: 50px;
    line-height: 72px;
}

.boxpad .header {
    font-size: 28px;
    line-height: 18px;
}

.boxpad2 {
    margin: 5px;
    margin-left: 0px;
    margin-bottom: 1px;
    margin-right: 10px;
    width: 110px;
    height: 110px;
    font-size: 11px;
    line-height: 12px;
    text-align: center;
    padding: 5px;
    padding-top: 20px;
    color: #363f82;
    display: inline-block;
    border: 1px solid #363f82;
    background-color: #ffffff;
}

.boxpad2 .titledate {
    font-family: 'thaibevsansnew-semibold', 'Noto Sans Thai', sans-serif;
    font-size: 38px;
    line-height: 32px;
}

.boxpad2 .subheader {
    font-size: 16px;
    line-height: 20px;
}

.icoprogram {
    margin-left: -4px;
}

@media (max-width: 1200px) {
    .boxpad {
        width: 120px;
        height: 120px;
    }

    .boxpad .titledate {
        font-size: 40px;
        line-height: 50px;
    }

    .boxnews2 .subheader {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .boxpad {
        width: 120px;
        height: 120px;
        float: left;
    }

    .boxpad .titledate {
        font-size: 28px;
        line-height: 26px;
    }

    .boxpad .header {
        font-size: 20px;
        line-height: 18px;
    }
}

@media (max-width: 390px) {
    .icoprogram {
        margin-left: -3px;
    }

    .boxpad {
        width: 110px;
        height: 110px;
        float: left;
    }

    .boxpad .titledate {
        font-size: 22px;
        line-height: 24px;
    }

    .boxpad .header {
        font-size: 18px;
        line-height: 14px;
    }
}