@import 'https://fonts.googleapis.com/css?family=Kanit&display=swap';

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-nav {
    font-family: kanit, sans-serif !important
}

* {
    font-size: 100%
}

.web-header {
    line-height: 1
}

.web-header img {
    max-width: 100%;
    height: auto
}

.web-header-logo {
    font-family: playfair display, Georgia, times new roman, serif;
    font-size: 2.25rem
}

.web-header-logo:hover {
    text-decoration: none
}

.bg-yellow {
    background: #ff558c
}
.bg-warning {
    background-color: #ff0763!important;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: playfair display, Georgia, times new roman, serif
}

.display-4 {
    font-size: 2.5rem
}

@media(min-width:768px) {
    .display-4 {
        font-size: 3rem
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2rem;
    overflow-y: hidden;
    font-size: 13px
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch
}

.nav-scroller .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem
}

.dropdown-submenu {
    position: relative
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem
}

.dropdown-submenu .dropdown-menu a {
    color: #333
}

.dropdown-submenu .dropdown-menu a:hover {
    text-decoration: none
}

.card-img-right {
    height: 100%;
    border-radius: 0 3px 3px 0
}

.flex-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto
}

.h-250 {
    height: 250px
}

@media(min-width:768px) {
    .h-md-250 {
        height: 250px
    }
}

.web-pagination {
    margin-bottom: 4rem
}

.web-pagination>.btn {
    border-radius: 2rem
}

.web-post {
    margin-bottom: 4rem
}

.web-post-title {
    margin-bottom: .25rem;
    font-size: 2.5rem
}

.web-post-meta {
    margin-bottom: 1.25rem;
    color: #999
}

main a {
    color: #333
}

main img,
.main-content img,
.main-content iframe {
    max-width: 100%
}

.img-hover-zoom {
    overflow: hidden
}

.img-hover-zoom img {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease
}

.img-hover-zoom:hover img {
    -webkit-transform: translateZ(0) scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: translatZ(0) scale(1.1);
    transform: translatZ(0) scale(1.1);
    opacity: .8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
    -moz-opacity: .8;
    -khtml-opacity: .8
}

.web-footer {
    padding: 2.5rem 0;
    color: #999;
    text-align: center;
    background-color: #f9f9f9;
    border-top: .05rem solid #e5e5e5
}

.web-footer p:last-child {
    margin-bottom: 0
}

#lotto_frame {
    position: absolute;
    top: -133px
}

#lotto_div {
    position: relative;
    overflow: hidden;
    height: 225px;
    width: 100%;
    margin-bottom: 17px
}

.content-pagenation {
    padding: 35px 0;
    text-align: center
}

.content-pagenation ul,
.content-pagenation li {
    list-style: none;
    padding: 0;
    margin: 0
}

.content-pagenation li {
    display: inline-block
}

.content-pagenation li a {
    color: #303030;
    font-size: .8em;
    font-family: tahoma;
    background: #fff;
    padding: 10px 12px;
    box-shadow: 0 0 5px #adadad;
    -webkit-box-shadow: 0 0 2px #adadad;
    -moz-box-shadow: 0 0 2px #adadad;
    -o-box-shadow: 0 0 2px #adadad;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s
}

.content-pagenation li a:hover,
.content-pagenation li.active a {
    background: #ffe955;
    color: #fff
}

li.active {
    font-weight: 700
}

main img,
main iframe {
    -webkit-animation: fadein 1s;
    -moz-animation: fadein 1s;
    -ms-animation: fadein 1s;
    -o-animation: fadein 1s;
    animation: fadein 1s
}

@keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-moz-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-ms-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-o-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}