/* Font style */
@font-face {
    font-family: 'anakotmai-light';
    src: url('../../assets/fonts/anakotmai-light.eot');
    src: url('../../assets/fonts/anakotmai-light.eot?#iefix') format('embedded-opentype'),
         url('../../assets/fonts/anakotmai-light.woff') format('woff'),
         url('../../assets/fonts/anakotmai-light.woff2') format('woff2');
}

@font-face {
    font-family: 'anakotmai-medium';
    src: url('../../assets/fonts/anakotmai-medium.eot');
    src: url('../../assets/fonts/anakotmai-medium.eot?#iefix') format('embedded-opentype'),
         url('../../assets/fonts/anakotmai-medium.woff') format('woff'),
         url('../../assets/fonts/anakotmai-medium.woff2') format('woff2');
}

@font-face {
    font-family: 'anakotmai-bold';
    src: url('../../assets/fonts/anakotmai-bold.eot');
    src: url('../../assets/fonts/anakotmai-bold.eot?#iefix') format('embedded-opentype'),
         url('../../assets/fonts/anakotmai-bold.woff') format('woff'),
         url('../../assets/fonts/anakotmai-bold.woff2') format('woff2');
}

@font-face {
    font-family: 'sarabun-light';
    src: url('../../assets/fonts/sarabun-light.ttf') format('truetype');
}

.anakotmai-light { font-family: 'anakotmai-light'; }
.anakotmai-medium { font-family: 'anakotmai-medium'; }
.anakotmai-bold { font-family: 'anakotmai-bold'; }

.sarabun-light { font-family: 'sarabun-light'; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.modal-open {
    overflow: auto !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'anakotmai-bold';
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2.25rem; }

h4 { font-size: 1.5rem; }
h4::after {
    color: #221f20;
    background-color: #ffcc01;
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

.blank-space-top {
    margin-top: 160px;
}





/* Buttons style*/
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.btn-outline-ffcc01 {
    color: #221f20;
    background-color: transparent;
    border: 1px solid #221f20;
    border-radius: 0;  
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-ffcc01:hover, .btn-outline-ffcc01:focus {
    color: #221f20 !important;
    background-color: #ffcc01 !important;
    border-color: #221f20 !important;
    outline: none;
}





/* Hyperlink */
.hyperlink {
    color: white;
    text-decoration: none;
}

.hyperlink:hover, .hyperlink:focus {
    color: #ffcc01;
    text-decoration: none;
    text-wrap: nowrap;
    transition: all 0.3s ease;
}

.hyperlink-2, .hyperlink-2:hover, .hyperlink-2:focus {
    color: #221f20;
    text-decoration: none;
    text-wrap: nowrap;
    transition: all 0.3s ease;
}

.hyperlink-3, .hyperlink-3:hover, .hyperlink-3:focus {
    color: #221f20;
    text-decoration: none;
    text-wrap: balance;
    transition: all 0.3s ease;
}





/* Pagination style */
.pagination>li.active>a {
    color: #221f20;
    background: #ffcc01;
    border: 1px solid #221f20;
}

.page-link {
    font-family: 'sarabun-light';
    color: #221f20;
    box-shadow: none;
    margin-top: 10px;
}

.page-link:focus {
    color: #221f20;
    box-shadow: none;
}

.page-item:hover .page-link:hover {
    color: white;
    background-color: #221f20;
    border: 1px solid #221f20;
    box-shadow: none;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0;
}





/* Image style */
.default-profile {
    width: auto;
    height: 250px;
    object-fit: cover;

}

.circular-image {
    width: 32px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}