﻿* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', sans-serif;
    color: #1c2127;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #1c2127;
    margin-bottom: .5rem;
    font-family: 'Sarabun', sans-serif;
}

h1 {
    font-size: 28px
}

h2 {
    font-size: 24px
}

h3 {
    font-size: 22px
}

h4 {
    font-size: 18px
}

h5 {
    font-size: 16px
}

h6 {
    font-size: 15px
}

p {
    font-size: 16px;
    color: #1c2127;
    line-height: 24px
}

a {
    text-decoration: none;
    color: #146efd;
    cursor: pointer
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle
}

table {
    border-collapse: collapse;
    width: 100%
}

.table td,
.table th {
    padding: 7px 5px;
    color: #353e48;
    vertical-align: top;
    border-top: 1px solid rgba(222, 226, 230, .5)
}

input,
button,
textarea {
    font-family: 'Sarabun', sans-serif;
}

    input[type=search]::-ms-clear {
        display: none;
        width: 0;
        height: 0
    }

    input[type=search]::-ms-reveal {
        display: none;
        width: 0;
        height: 0
    }

    input[type=search]::-webkit-search-decoration,
    input[type=search]::-webkit-search-cancel-button,
    input[type=search]::-webkit-search-results-button,
    input[type=search]::-webkit-search-results-decoration {
        display: none
    }

select,
option {
    -webkit-appearance: none;
    appearance: none
}

html {
    scroll-behavior: smooth
}

.text-left {
    text-align: left !important
}

.text-center {
    text-align: center !important
}

.text-right {
    text-align: right !important
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 768px;
    margin: 0px auto;
}

.clickable {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.headerSec {
    box-shadow: rgba(0, 0, 0, 0.14) 0px 1px 4px 0px;
    background: #fff;
    padding: 7px 10px;
    /*for_Stick_Header*/
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it stays on top of other content */
}

.logo {
    max-width: 80px;
    margin: 0px auto;
}

.downloadBTN {
    position: absolute;
    right: 15px;
    top: 25px;
    max-width: 150px;
}

.middleWrap {
    padding: 15px 0px;
}

.postList .postBox {
    list-style: none;
    margin-bottom: 40px;
}

.postHead {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

    .postHead .avtar {
        width: 50px;
        height: 50px;
        border-radius: 100%;
        overflow: hidden;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    }

        .postHead .avtar img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .postHead p {
        width: calc(100% - 50px);
        padding-left: 15px;
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
    }

        .postHead p span {
            display: block;
            font-size: 16px;
            font-weight: normal;
            opacity: 0.6;
        }

.postDisc {
    margin-top: 15px;
}

    .postDisc h2 {
        font-weight: normal;
        margin-bottom:20px;
    }

        .postDisc h2 a {
            color: #1c2127;
        }

    .postDisc h4 {
        font-weight: normal;
        color: #878787;
        font-size: 15px;
    }

.leftStickyAds {
    position: fixed;
    left: calc(50% - 180px*3.55);
    top: 140px;
    width: 180px;
    height: 500px;
}

.rightStickyAds {
    position: fixed;
    right: calc(50% - 180px*3.55);
    top: 140px;
    width: 180px;
    height: 500px;
}
/*
.footerSec {
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding: 5px 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
    display: flex;
    justify-content: flex-end;
    z-index: 10;
    background: #fff;
}

.footerSec ul {
    padding: 0px;
    display: flex;
}

.footerSec ul li {
    list-style: none;
}

.footerSec ul li a {
    color: #1c2127;
    font-size: 14px;
    padding: 5px 15px;
    display: block;
}

.footerSec ul li a:hover {
text-decoration: underline;
}*/

.footerSec {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #f8f9fa;
position: fixed;
bottom: 0px;
width: 100%;
}

.footerSec .lefttext {
margin-right: auto;
}

.footerSec ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}

.footerSec ul li {
margin-right: 10px;
}

.footerSec ul li a {
color: #1c2127;
text-decoration: none;
                
}
.footerSec ul li a:hover {
text-decoration: underline;
}

.postAds {
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

@media (max-width:1440px) {
    .leftStickyAds {
        left: calc(50% - 180px*3.25);
    }

    .rightStickyAds {
        right: calc(50% - 180px*3.25);
    }
}

@media (max-width:1240px) {
    .leftStickyAds,
    .rightStickyAds {
        display: none;
    }
}

@media (max-width:768px) {
    .headerSec {
        padding: 5px 10px;
    }

    .logo {
        max-width: 55px;
    }

    .downloadBTN {
        right: 10px;
        top: 14px;
        max-width: 125px;
    }

    .postHead {
        padding: 10px 15px;
        margin-bottom: 0px;
    }

    .postDisc {
        padding: 10px 15px;
        margin: 0px;
    }

    .postList .postBox {
        margin-bottom: 5px;
    }

    h2 {
        font-size: 20px;
    }

    .postDisc h4 {
        font-size: 14px;
    }

    .footerSec ul li a {
        padding: 1px 10px;
    }

    .postHead p {
        font-size: 16px;
        line-height: 20px;
    }

        .postHead p span {
            font-size: 14px;
        }

    .postAds {
        margin: 10px auto;
    }
}

/*@media (max-width:450px) {
    .downloadBTN {
        display: none;
    }
}*/
