@import url('https://fonts.googleapis.com/css?family=Bai+Jamjuree|Kanit|KoHo|K2D|Maitree|Sarabun&display=swap');


html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
    /*padding-top: 200px;*/
    font-family: Kanit !important;
    font-weight: 300;
    font-size: 15px;
}

* {
    box-sizing: border-box;
}

/* Add a gray background color with some padding */
body {
    font-family: 'Kanit', sans-serif !important;
    /*padding: 20px;*/
    background: #f1f1f1;
}

/* Header/Blog Title */
.header {
    /*padding: 30px;*/
    font-size: 40px;
    text-align: center;
    background: white;
}

.section-bottom-head {
    padding: 40px 0px 40px 0px;
    font-size: 40px;
    text-align: center;
    background: #abd3ef;
}

.section-head {
    padding: 30px 0px 30px 0px;
    font-size: 40px;
    text-align: center;
    background-image: url("../img/bg/bg1.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.section-head .nayok .img-fluid {
    border-radius: 50%;
    border: 10px solid gold;

}

.img-resize img {

    width: 540px;
    height: auto;

}

.img-resize {
    width: 540px;
    height: 340px;
    overflow: hidden;
    text-align: center;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
    float: left;
    width: 70%;
}

/* Right column */
.rightcolumn {
    float: left;
    width: 25%;
    padding-left: 20px;
    padding-right: 20px;
}

.rightcolumn h2 {
    font-size: 18px;
    font-family: 'Kanit', sans-serif !important;
}

.rightcolumn a {
    font-size: 16px;
    font-family: 'Kanit', sans-serif !important;
}

/*-----------------------------------------------------*/
/* Fake image */
.fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
}

/* Add a card effect for articles */
.card {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
}

.card-body-index {
    background-image: url("../img/bg/bg1.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 25px;
    padding: 20px;
    margin-top: 20px;
}

.section-news {
    padding: 0px 0px 0px 0px;
}

.card-side {
    background-color: #abd3ef;
    padding: 20px;
    margin-top: 20px;
    border: 10px solid white;
    border-radius: 20px;
}

.title-tag {
    background-image: url("../img/bg/bar.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;

}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Footer */
.footer-main {
    padding: 0px 0px 0px 0px;
    text-align: center;
    background: #c2e0f3;
    margin-top: 20px;
}



/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    .leftcolumn, .rightcolumn {
        width: 100%;
        padding: 0;
    }
}

/*------ menu ----*/

/*---- table ---*/