@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@charset "UTF-8";

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden
}

body {
    width: 100%;
    background: none #dadada;
}

#fi2022 {
    min-height: 130vh;
}

.contentsbox li b {
    display: block;
}

.contentsbox li {
    margin-bottom: 10px;
}

#skybg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: url('../img/skybg.png') no-repeat 0 0;
    background-size: cover;
}

#infodata {
    background-color: #d09138
}

#safarifloor {
    width: auto;
    height: auto
}

.secbox {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.textbox h1 {
    font-size: 40px;
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.textbox h2 {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5em;
    width: 100%;
    max-width: 500px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.textbox h3.eng {
    font-size: 40px;
}

.m0 {
    margin: 0 !important;
}

.pad20 {
    padding: 20px 0;
}

.pad40 {
    padding: 40px 0;
}

.pad60 {
    padding: 60px 0;
}

.pad80 {
    padding: 80px 0;
}

.txtbox {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    padding: 20px;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 20px;
    margin: 0 0 20px 0;
    left: 0 !important;
    display: flex;
    align-items: center;
}

@media(max-width:992px) {
    .txtbox {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}

.season {
    margin: 30px 0;
}

.season li {
    margin: 0 0 30px 0;
    display: block
}

.season li img {
    width: 50px;
    height: 50px;
    margin-right: 20px
}

.season li span {
    display: inline-block
}

.txtbox img {
    width: 80px;
    height: auto
}

.contentsbox li span, .txtbox span {
    color: #FFF;
    font-weight: bold
}

.crop300 {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.crop300 img {
    width: 100%;
    height: auto
}

.imgmid {
    position: relative;
    width: 100%;
    padding: 30px 0
}

.imgmid img {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .6);
    border-radius: 5px
}

.txtred {
    color: #b3000e !important;
    font-size: 15px !important;
    font-weight: 600 !important
}

.bgcolor1 {
    background-color: #333
}

.bgcolor2 {
    background-color: #F6F5F5
}

.bgcolor3 {
    background-color: #EE6F57
}

.seczero {
    height: 0;
}

.text-left {
    text-align: left
}

.contentsbox {
    position: relative;
    width: 100%;
    padding: 30px 0;
}

h1, h2, h3, h4, h5, p, li, span {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.contentsbox h1, .contentsbox h2, .contentsbox h3, .contentsbox h4, .contentsbox h5, .contentsbox p, .contentsbox li {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    color: #333;
}

.contentsbox h1 {
    font-size: 40px;
}

.contentsbox h2 {
    font-size: 28px;
    font-weight: 600
}

.contentsbox h3 {
    font-size: 22px;
    font-weight: 500
}

.contentsbox h4 {
    font-size: 20px;
    line-height: 1.5em
}

.contentsbox p, .contentsbox li {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5em;
    color: #333
}

.contentsbox ul {
    list-style: none;
}

.contentsbox li {
    list-style-position: inside;
    list-style: none;
}

.darktext, .darktext h1, .darktext h2, .darktext h3, .darktext h4, .darktext h5, .darktext p, .darktext li, .darktext span {
    color: #333 !important
}

h2.darktext {
    font-weight: 600 !important;
}

.hrdark {
    border-color: #333
}

.blockers {

    /* Container */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* 
.blocker {
padding: 20px;
margin: 0 0 12px 0;
flex: 0 1 24%;
font-size: 1.8rem;
text-align: center;
font-weight: 400;
background-color: #FFF !important;
border-radius: 5px;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
}

.blocker img {
display: block;
margin: 0 auto 20px auto;
}
*/
.blocker100 {
    padding: 20px;
    margin: 0 0 12px 0;
    flex: 0 1 100%;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 400;
    background-color: #FFF !important;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
}

.blocker100 a {
    display: block;
    padding: 0;
}

.blocker100 img {
    display: inline-block;
    width: 25%;
    height: auto;
    float: left;
}

.blocker100 h2, .blocker100 h3 {
    width: 70%;
    display: inline-block;
    float: right;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 0 10px 0;
}

.blocker100 h2 {
    font-weight: 400
}

.blocker100 h3 {
    font-size: 1.1em
}

.blocker100 p, .blocker100 ol {
    width: 70%;
    display: inline-block;
    float: right;
    text-align: left;
}

.blocker100 li {
    width: 70%;
    border: none;
    font-weight: 600
}

.darktext p {
    font-weight: 400;
}

.darktext li {
    width: 100%;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.darktext li span {
    width: 50%;
    font-size: 20px;
    display: inline-flex;
    font-weight: 500 !important;
}

.colon:before {
    content: " : ";
    margin-right: 5px
}

.columns {
    float: left;
    width: 33%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.rows {
    margin: 0 -5px;
}

.rows:after {
    content: "";
    display: table;
    clear: both;
}

.cards {
    text-align: center;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .1)
}

.card-img-top {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-img-bottom {
    width: 100%;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-body {
    padding: 2rem;
}

#tip {

    /* Lion */
    background: url('../img/fi2023/23.png') #dadada no-repeat bottom right;
    background-size: 50% auto;
    padding-bottom: 30vh;
}

.bgcolor3 {
    background-color: #d09138;
}

.card-body h3 {
    font-weight: 600;
    font-size: 1.4em;
    text-align: left;
    line-height: 1.5em;
    color: #444;
}

.card-body h4 {
    font-size: 1.8em;
    text-align: left;
    color: #444;
}

.card-body small {
    font-size: 1.1em;
    text-align: left;
    color: #444;
    font-weight: 300;
    letter-spacing: 1px;
}

.card-body p {
    font-size: 1.1em;
    text-align: left;
    color: #444;
}

.cards * {
    transition: all .5s;
    opacity: .6;
}

.cards:hover *, .cards:focus * {
    opacity: 1;
    object-fit: cover;
}

@media (max-width:766px) {
    .cards *, .cards:hover *, .cards:focus * {
        opacity: 1;
    }

}

.cards:hover .card-body, .cards:focus .card-body {
    padding: 2rem 2rem 2rem 4rem;
    transition: all ease-in-out .35s;
}

.eng {
    font-family: 'Staatliches', cursive !important;
}

h1.eng {
    margin: 0;
    padding: 0;
}

h4.eng {

    /*   font-size: 24px; */
    margin: 0 0 10px 0;
    padding: 0;
}

.mt50 {
    margin: 50px 0 0 0 !important;
}

@media (max-width:992px) {
    .secbox {
        min-height: 160vh;
    }

    #giraffe1, #giraffe2 {
        width: 200px;
        transform: none !important;
        right: -10%;
        top: 80vh;
        bottom: auto
    }

    #giraffe1 {
        right: 20%
    }

    #zebra {
        display: none;
    }

    #tip {
        background-position: bottom center;
        background-size: 100% auto;
    }

    #safarifloor {
        transform: none !important;
    }

    .shadow1 {
        display: none;
    }

    .textbox h3 {
        width: 80%;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .textbox h2 {
        font-size: 22px;
        width: 90%;
        line-height: 1.2em;
        font-weight: 500
    }

    .textbox {
        left: 0 !important;
        right: 0 !important;
    }

    .blocker100 img {
        width: 150px;
        margin: 0 auto;
        display: block;
        float: none;
        text-align: center;
        border-radius: 50%;
        overflow: hidden;
    }

    .blocker100 h3 {
        width: 100%;
        display: block;
        float: none;
        text-align: center;
        font-weight: 600;
        margin-top: 30px;
        line-height: 1.5em
    }

    .blocker100 p, .blocker100 ol {
        text-align: center;
        width: 100%;
        display: block;
        float: none;
        text-align: left;
    }

    .contentsbox {
        padding: 0
    }

    .columns {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

}

@media (max-width:480px) {
    #footersec {
        margin-top: 0;
    }

    .blocker100 img {
        width: 90%;
        display: block;
        float: none;
        text-align: center;
    }

    .secbox {
        min-height: 120vh
    }

    .txtbox img {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

}

@media (max-width:375px) {

    /* iPhone 5/SE */
    .secbox {
        min-height: 150vh !important;
    }

}

@media (max-width:320px) {

    /* iPhone SE */
    .secbox {
        min-height: 180vh !important;
    }

    .lbeem {
        width: 100%
    }

    .contentsbox h1 {
        font-size: 30px
    }

}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) {

    /* ipad*/
    .secbox {
        min-height: 120vh !important;
    }

    .textbox h1 {
        font-size: 4.5rem !important;
    }

    .textbox h2 {
        font-size: 2.5rem !important;
    }

    .textbox h4 {
        font-size: 3.5rem !important;
    }

}

@media only screen and (height:600px) and (width:1024px) {

    /* Nest */
    .secbox {
        min-height: 180vh !important;
    }

    #safarifloor {
        width: 200vw
    }

}

@media only screen and (height:800px) and (width:1280px) {

    /* Nest hub max */
    .secbox {
        min-height: 160vh;
    }

}
