* {
    font-family: 'Mitr', sans-serif;
    transition: 0.3s;
}

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 2;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer;
    /* Add a pointer on hover */
}

.content-header {
    margin-top: -50px
}

.post-views-icon {
    display: none!important
}

#nav-below a.prev,
#nav-below a.next,
#nav-below a {
    padding: 10px;
    color: grey;
}

#nav-below>.current {
    padding: 10px;
    color: #e21111;
}

#nav-below {
    margin: auto;
    text-align: center;
    font-style: bold;
}

img {
    max-width: 100%;
    height: auto!important
}

.entry-content img {
    margin: 0 0 1.5em 0;
}

.alignleft,
img.alignleft {
    margin-right: 1.5em;
    display: inline;
    float: left;
}

.alignright,
img.alignright {
    margin-left: 1.5em;
    display: inline;
    float: right;
}

.aligncenter,
img.aligncenter {
    margin-right: auto;
    margin-left: auto;
    display: block;
    clear: both;
}

.alignnone,
img.alignnone {
    /* not sure about this one */
}

.wp-caption {
    margin-bottom: 1.5em;
    text-align: center;
    padding-top: 5px;
}

.wp-caption img {
    border: 0 none;
    padding: 0;
    margin: 0;
}

.wp-caption p.wp-caption-text {
    line-height: 1.5;
    font-size: 10px;
    margin: 0;
}

.wp-smiley {
    margin: 0 !important;
    max-height: 1em;
}

blockquote.left {
    margin-right: 20px;
    text-align: right;
    margin-left: 0;
    width: 33%;
    float: left;
}

blockquote.right {
    margin-left: 20px;
    text-align: left;
    margin-right: 0;
    width: 33%;
    float: right;
}

.gallery dl {}

.gallery dt {}

.gallery dd {}

.gallery dl a {}

.gallery dl img {}

.gallery-caption {}

.size-full {}

.size-large {}

.size-medium {}

.size-thumbnail {}

.canvas-menu .menu-item a {
    display: inline;
    padding: 25px 15px;
}

.canvas-menu li {
    padding: 15px;
}

.sub-foot a {
    color: white;
    text-decoration: none;
}

.sub-foot i {
    padding: 10px;
}

.sub-foot a:hover {
    color: #e21111;
}

.footer-menu ul {
    list-style: none;
    padding: 0px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #e21111
}

.canvas-menu .sub-menu {
    display: none;
    padding-left: 15px;
}

.canvas-menu .menu-item-has-children:before {
    content: '\f107';
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: white;
    position: absolute;
    right: 20px;
    font-size: 22px;
    -ms-transform: rotate(0deg);
    /* IE 9 */
    -webkit-transform: rotate(0deg);
    /* Safari 3-8 */
    transform: rotate(0deg);
}

.canvas-menu .menu-item-has-children:hover:before {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

li.menu-item a:hover {
    color: #e21111
}

.center-main-menu .menu-item-has-children:hover:after {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.center-main-menu .menu-item-has-children:after {
    content: '\f107';
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    margin-left: 5px;
    color: white;
    -ms-transform: rotate(0deg);
    /* IE 9 */
    -webkit-transform: rotate(0deg);
    /* Safari 3-8 */
    transform: rotate(0deg);
}

.center-main-menu .menu-item-has-children:hover:after {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.บทความที่น่าสนใจ-sidebar a {
    color: #333;
    text-decoration: none;
}

.บทความที่น่าสนใจ-sidebar a:hover {
    color: #e21111;
}

.share-mobile {
    position: fixed;
    bottom: 0px;
    text-align: center;
    width: 100%;
}


/* 
.cover-image-content {
    width: 100%;
    height: 85vh;
    background-position: center bottom;
    background-position-y: bottom;
} */

.share-mobile-icon {
    padding: 5px 10px;
    text-align: center;
}

.share-mobile-icon i {
    text-align: center;
    color: white;
}

#title-topbar {
    color: white;
    padding: 15px;
}

.main-menu-content-top {
    position: fixed;
    top: 0px;
    width: 100%;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 212, 255, 0) 100%);
}

.img-capsule {
    display: inherit!important;
}

.img-capsule img {
    max-width: 18px!important;
    max-height: 18px!important;
}

.บทความที่น่าสนใจ-sidebar {
    font-size: 14px;
}

.author-capsule a {
    display: inline-block;
    border-radius: 30px;
    padding: 5px 20px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #50bfda 0%, #7edff7 100%);
    color: white;
    text-decoration: none;
}

.author-capsule a:hover {
    color: #e21111;
}

.center-content {
    padding: 0 25px;
}

.center-content-inner p,
.center-content-inner b,
.center-content-inner i,
.center-content-inner em,
.center-content-inner strong,
.center-content-inner h1,
.center-content-inner h2,
.center-content-inner h3,
.center-content-inner h4,
.center-content-inner h5 {
    font-family: 'Maitree', sans-serif;
    line-height: 1.9;
    font-size: 18px;
}

.center-content h1 {
    padding-bottom: 25px;
    line-height: 1.5;
}

.share-btn-content {
    margin: 30px 0px 50px;
    background: #3a579a;
    color: white!important;
    padding: 3px 7px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    font-family: auto;
    font-weight: 700;
}

.share-btn-content:hover {
    background: #1352d8;
}

.share-btn-content a {
    color: white!important
}

.counter-share,
.counter-share h1 {
    font-family: 'PT Sans', 'Mitr';
    color: #333;
}

.writer {
    font-family: 'PT Sans', 'Mitr';
}

.writer a {
    color: black;
    text-decoration: none;
}

.writer a:hover {
    color: #e21111;
    text-decoration: none;
}

.counter-share {
    padding-top: 30px;
}

.icon-share-content-expand {
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background-color: #c7c7c7;
    padding: 14px;
    margin: 15px auto 15px auto;
    text-align: center;
    color: white;
    cursor: pointer
}

.icon-share-content-fb {
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background-color: #3A579A;
    padding: 14px;
    margin: 15px auto 15px auto;
    text-align: center;
    color: white;
    cursor: pointer
}

.icon-share-content-twit {
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background-color: #60aade;
    padding: 14px;
    margin: 15px auto 15px auto;
    text-align: center;
    color: white;
    cursor: pointer
}

.icon-share-content-in {
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background-color: #0077b5;
    padding: 14px;
    margin: 15px auto 15px auto;
    text-align: center;
    color: white;
    cursor: pointer
}

.icon-share-content-line {
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background-color: #00c500;
    padding: 14px;
    margin: 15px auto 15px auto;
    text-align: center;
    color: white;
    cursor: pointer
}

.img-author {
    border-radius: 50%;
    max-width: 55px;
}

.avatar {
    border-radius: 50%;
    max-width: 55px;
    max-height: 55px;
    width: 100%;
}

.container-content {
    max-width: 1200px;
    margin: auto
}

.pagination>li,
.pagination-prev,
.pagination-next {
    position: relative;
    padding: 0px 10px;
    vertical-align: middle;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    opacity: 0.5;
}

.pagination>li:hover,
.pagination-prev:hover,
.pagination-next:hover {
    background: #dfdfdf
}

.pagination>.active {
    color: #e21111;
}

input.search-page {
    border: 0px;
    border-bottom: 2px solid #dfdfdf;
    width: 100%;
    height: 36px;
    font-size: 20px;
    transition: 0.5s
}

input.search-page:focus {
    border-bottom: 3px solid #e21111;
    text-decoration: none;
    outline: none;
    transition: 0.5s
}

.about-container {
    max-width: 730px;
    margin: auto;
    font-size: 18px;
    color: #333;
    font-family: 'Maitree', sans-serif!important;
    padding: 15px;
}

.about-container,
.about-container p,
.about-container h1,
.about-container h2,
.about-container h3,
.about-container h4,
.about-container h5,
.about-container span {
    font-family: 'Maitree', sans-serif;
}

.sidebar-tag {
    color: #8F8F8F;
    font-size: 20px;
    width: 201px;
    text-align: center;
    margin: 20px auto 15px auto;
    border: 1px solid #E2E2E2;
    background: white;
    padding: 2px;
    font-family: 'Nunito' -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    z-index: 22;
    position: relative;
}

.tag-label-box {
    margin-top: 30px;
}

.tag-label {
    float: left;
    border: 1px solid #e2e2e2;
    color: #8F8F8F;
    text-align: center;
    padding: 10px 15px 10px 15px;
    font-size: 16px;
    margin: 0px 10px 10px 0px;
    cursor: pointer;
}

.tag-label:hover {
    color: #50bfda;
}

.center-main-menu {
    padding: 0px;
    margin: 0px;
    text-decoration: none!important;
}

.canvas-menu a {
    color: white;
    text-decoration: none!important;
}

.canvas-menu ul {
    list-style: none;
    padding: 0px;
}

.center-main-menu a {
    color: white;
    text-decoration: none!important;
}

.center-main-menu a:hover {
    color: #e21111;
}

.center-main-menu ul {
    padding: 0px;
    display: inline-block;
}

.center-main-menu li {
    list-style: none;
    display: inline-block;
    color: white;
    padding: 18px 20px 20px 20px;
    font-size: 18px;
}

.center-main-menu .sub-menu {
    display: none;
    z-index: 9999999999999999;
    max-width: 250px;
}

.line-tag {
    height: 1px;
    width: 100%;
    background-color: #E2E2E2;
    top: 35px;
    z-index: 1;
    position: relative;
}

.mini-logo {
    max-width: 90px;
    padding-bottom: 2px;
}

.header-home {
    background-size: cover;
}

.berger-menu {
    color: white;
    display: inline-block;
    font-size: 26px;
    padding: 10px;
}

.berger-menu:hover {
    cursor: pointer;
    color: #e21111;
}

.circle-btn-orange {
    display: inline;
    padding: 5px 15px;
    border-radius: 20px;
    border: 2px solid #e21111;
    color: #e21111;
    height: 36px;
    margin: 15px;
    cursor: pointer;
}

.circle-btn-readmore {
    display: inline;
    padding: 5px 30px;
    border-radius: 20px;
    border: 1px solid black;
    color: black;
    height: 36px;
    margin: 15px;
    opacity: 0.5;
    cursor: pointer;
}

.circle-btn-readmore:hover {
    opacity: 0.5;
}

.search-form {
    background: transparent;
    border: 0px;
    border-bottom: 2px solid #e21111;
    padding: 5px;
    color: white;
    max-width: 180px;
    display: inline-block;
    padding: 0px 15px 7px 15px;
}

.search-form::placeholder {
    color: white;
    opacity: 0.5;
}

.icon-search {
    font-size: 24px;
    color: white;
}

.icon-search :hover {
    font-size: 24px;
    color: #e21111;
    cursor: pointer;
}

.sidenav {
    height: 100%;
    width: 20%;
    position: fixed;
    z-index: 10000000;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #50bfda 0%, #7edff7 100%);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    display: none;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
    .sidenav {
        height: 100%;
        width: 70%;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background: linear-gradient(135deg, #50bfda 0%, #7edff7 100%);
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
        display: none;
    }
    #mySidenav {
        width: 80%;
    }
}

#mySidenav {
    width: 30%;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

blockquote {
    border-left: 3px solid #e21111;
    padding-left: 20px;
    margin: 40px 0px;
    margin-left: 32px;
    line-height: 40px;
    font-family: 'PT Serif', 'Mitr';
    font-size: 20px;
    color: #222;
}

.center-main-menu .sub-menu {
    display: none;
    position: absolute;
    background-color: #dfdfdf;
    z-index: 2;
    margin-top: 20px;
}

.canvas-menu .sub-menu {
    display: none;
    z-index: 1;
    margin-top: 20px;
}

.canvas-menu .sub-menu>li>a {
    color: white!important;
}

.center-main-menu .sub-menu>li {
    padding: 0px;
    width: 100%;
}

.canvas-menu .sub-menu>li {
    padding: 0px;
}

.center-main-menu .sub-menu a {
    color: black!important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.canvas-menu .sub-menu a {
    color: black!important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.center-main-menu .sub-menu>li>a:hover {
    color: #e21111!important;
    background-color: #ddd;
}

.canvas-menu .sub-menu>li>a:hover {
    color: #e21111!important;
}

.center-main-menu .menu-item:hover .sub-menu {
    display: block;
}

.canvas-menu .menu-item:hover .sub-menu {
    display: block;
}

.center-main-menu .sub-menu:hover {
    display: block;
}

.canvas-menu .sub-menu:hover {
    display: block;
}

.heading-title {
    font-family: 'PT Sans', 'Mitr';
    font-weight: bold;
    color: #50bfda;
    margin-bottom: 15px;
}

.heading-title span {
    border-bottom: 4px solid #e21111;
}

.title-underline {
    margin: 5px 0 25px 0;
    width: 30px;
    height: 4px;
    background-color: #e21111;
}

.text-head-home {
    padding-bottom: 50px;
    color: white;
}

.logo {
    max-width: 700px;
    padding: 50px 0px 15px;
    text-align: center;
    margin: auto;
    width: 100%;
}

.ads-row {
    padding: 10px 0px 10px
}

.main-menu {
    background: #50bfda;
}

.rounded {
    border-radius: .75rem!important;
}

.thumbnail {
    padding: 10px 0px
}

img.thumbnail:hover {
    opacity: 0.8
}

.title {
    margin: 10px 0px;
    font-size: 18px;
    font-weight: bold;
}

.title a {
    color: black;
}

.title a:hover {
    color: #e21111;
    text-decoration: none;
}

.excerpt {
    opacity: 0.5;
    font-size: 14px
}

.aut-name {
    opacity: 0.5;
    font-size: 14px
}

.aut-name a {
    color: black;
}

.aut-name a:hover {
    color: black;
    opacity: 1;
    text-decoration: none;
}

.cat-name {
    color: #e21111;
    font-size: 14px
}

.cat-name a,
.cat-name a:hover {
    color: #e21111;
    font-size: 14px;
    text-decoration: none;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.sticky+.content {
    padding-top: 102px;
}

.share-btn {
    display: block;
    color: black;
    opacity: 0.5;
    cursor: pointer;
}

.share-box {
    visibility: visible;
    opacity: 1;
    -webkit-transition: .2s;
    transition: .2s;
    position: absolute;
    margin: 0px 0px 0px -160px;
    padding: 0px;
    border: 2px solid #50bfda;
    background: white;
    z-index: 1;
    right: 15px;
    color: #50bfda;
    display: none;
    cursor: pointer;
}

.share-box a {
    color: #50bfda;
    text-decoration: none;
}

.class1 {
    display: none;
}

.share-box>ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.share-box>ul>li {
    padding: 5px;
}

.share-box>ul>li:hover {
    background: #dfdfdf;
}

.nav-item a {
    color: white;
    padding: 18px 20px 20px 20px;
    font-size: 18px;
}

.nav-item a:hover {
    color: #e21111;
}

#navigation {
    position: relative;
    clear: both;
    margin: 0;
    z-index: 901;
    height: auto;
    background: 0 0;
    border: 0;
    box-shadow: none;
}

#navigation>ul {
    padding-left: 0;
    border: 0;
    box-shadow: none;
    display: inline-block;
    /* display: flex; */
    flex-flow: row nowrap;
    /* justify-content: space-around; */
}

#navigation>ul>li {
    position: relative;
    padding: 0;
    float: none;
    flex: 1 0 auto;
    text-align: center;
}

#navigation ul>li {
    list-style-type: none;
    padding: 15px 0px 15px;
}

#navigation a {
    color: white;
    padding: 5px 0px 5px;
}

.navigation-lastitem:after {
    display: none!important;
}

#navigation>ul>li>a.selected {
    content: "";
    left: 0;
    bottom: 10;
    right: 0;
}


/* enable absolute positioning */

.inner-addon {
    position: relative;
}


/* style glyph */

.inner-addon .fa {
    position: absolute;
    padding: 10px;
    pointer-events: none;
}


/* align glyph */

.left-addon .fa {
    left: 0px;
}

.right-addon .fa {
    right: 0px;
    color: #ced4da
}


/* add padding  */

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.search-top {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #e9ecef;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 20px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
    height: 3em;
}

.search-top-div {
    height: 4em
}

.fa-check {
    background: #7FB231!important;
    color: white!important
}

footer {
    background: #50bfda;
    padding: 20px 40px
}

ul.footer-menu {
    list-style: none;
    padding: 0px;
}

.footer-contact {
    padding: 40px 0px;
    color: white
}

.credit-text {
    font-size: 12px;
    opacity: 0.5;
}

.footer-credit {
    padding: 20px 0px;
    background: #e9ecef;
    font-size: 12px
}

.footer-logo,
.footer-dbd {
    max-width: 160px;
    padding-bottom: 10px
}

.social-icons {
    width: 32px;
    margin-right: 5px;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.contact-phone a {
    color: black
}

.contact-email {
    font-size: 16px
}

@media only screen and (max-width: 1020px) {
    .mini-logo {
        max-width: 9px;
    }
}

@media only screen and (max-width: 813px) {
    .mini-logo {
        max-width: 80px;
    }
    .content-header {
        margin-top: 15px
    }
    header .col-md-6 {
        width: 100%;
        max-width: 100%;
    }
    header .col-sm-12 {
        width: 100%;
        max-width: 100%;
    }
    header .col-md-6 {
        flex: 0 0 100%;
        margin: auto;
        text-align: center;
    }
    header .logo {
        text-align: center
    }
    #mySidenav {
        width: 50%;
        z-index: 999999999999999;
    }
    .center-main-menu li {
        padding: 18px 5px 20px 5px;
    }
}

@media only screen and (max-width: 770px) {}

@media only screen and (max-width: 613px) {
    header .col-md-6 {
        width: 100%;
        max-width: 100%;
    }
    header .col-sm-12 {
        width: 100%;
        max-width: 100%;
    }
    header .col-md-6 {
        flex: 0 0 100%;
        margin: auto;
        text-align: center;
    }
    header .logo {
        text-align: center
    }
    #mySidenav {
        width: 90%;
    }
    .main-menu-content-top {
        position: fixed;
        top: 0px;
        width: 100%;
        background: #50bfda;
    }
    .center-content h1 {
        font-size: 1.5rem
    }
    .container-content {
        padding-top: 40px;
    }
    .author-capsule {
        margin-top: 20px
    }
    .cover-image-content {}
}