
* {
  touch-action: manipulation;
}
*, *:before, *:after {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
}

*:focus, *:active {
  outline: none !important;
  box-shadow: none !important;
}


body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
}
:root {
    --main-bg-color: linear-gradient(to bottom, #00af70, #37c13d);
    --main-color: #00bf6c;
    --font-color-menu: #5a5a5a;
    --font-color: #1d6548;
    --font-color-gray: #5a5a5a;
    --link-color: #00bf6c;
}
.prompt-thin {
  font-family: "Prompt", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.prompt-extralight {
  font-family: "Prompt", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.prompt-light {
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.prompt-regular {
  font-family: "Prompt", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.prompt-medium {
  font-family: "Prompt", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.prompt-semibold {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.prompt-bold {
  font-family: "Prompt", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.prompt-extrabold {
  font-family: "Prompt", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.prompt-black {
  font-family: "Prompt", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.prompt-thin-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.prompt-extralight-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.prompt-light-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.prompt-regular-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.prompt-medium-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.prompt-semibold-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.prompt-bold-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.prompt-extrabold-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.prompt-black-italic {
  font-family: "Prompt", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* ---------------------- */

body{
    background-color: #333;
    min-height: 100vh;
    height: auto;
    background-repeat: no-repeat  !important;
    /*background-attachment: fixed  !important;*/
    background-position: center top !important;
}

.wrap_slide{
    width: 100%;
    margin: auto;
    max-width: 390px;
    display: none;
    color: #FFF;
    font-family: "Prompt", sans-serif;
    font-style: normal;
    padding: 10px;
}
.active_slide{
    /*display: block;*/
}
.header_text{
    font-family: "Prompt", sans-serif;
    font-size: 14px;
    color: #FFF;
}
.wrap_img{
    text-align: center;
}
.text_class_th_slide1{
    font-size: 48px;
    text-align: center;
    font-weight: bold;
}
.text_class_en_slide1{
    font-size: 20px;
    text-align: center;
    line-height: 32px;
    opacity: 0.6;
}
.text_number_slide_1{
    font-size: 66px;
    font-weight: bold;
    text-align: center;
    margin-top: 0px;
}
.text_label_slide_1{
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-top: -20px;
}
.tag_line_slide_1{
    font-size: 18px;
    text-align: center;
    color: #FFF;
    width: 220px;
    margin: auto;
}


/* ---------------------- */

.text_class_slide2{
    font-size: 26px;
    text-align: center;
    margin-top: 0px;
    line-height: 30px;
}
.text_description_slide2{
    text-align: center;
    font-size: 20px;
    line-height: 26px;
    color: #004627;
    font-style: italic;
    margin-top: 15px;
}
.text_read_page_slide2{
    font-size: 46px;
    text-align: center;
    font-weight: bold;
    margin-top: 0px;
}
.text_book_slide2{
    font-size: 36px;
    text-align: center;
    margin-top: -5px;
    margin-bottom: 10px;
}   

/* --------------------- */

/*.wrap_btn_page{
  display: table;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 0px;
  bottom: 10px;
  left: 0;
  padding: 0px 10px;
}*/
.wrap_btn_page{
    position: absolute;
    width: 390px;
    left: 50%;
    right: 50%;
    top: 350px;
    transform: translate(-50%, -50%);
}
#btn_prev{
    float: left;
    
}
#btn_next{
    float: right;
}
.long_btn{
    width: 100%;
    border: 1px solid #CCC;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0);
    color: #FFF;
    padding: 7px;
    border-radius: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    font-family: "Prompt", sans-serif;
}
.short_btn{
   /* width: 57px;
    border: 1px solid #CCC;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0);
    color: #FFF;
    padding: 3px;
        padding-bottom: 3px;
    border-radius: 65px;
    cursor: pointer;
    padding-bottom: 9px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;*/
    background: unset;
    border: unset;
    cursor: pointer;
    padding: 100px 30px;
    padding-right: 20px;
}
#btn_prev{
    padding-left: 20px;
    padding-right: 30px;
}

img, button {
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -moz-outline: none;
  -webkit-focus-ring-color: transparent;
}

img:focus,
img:active,
img:-moz-focusring,
button:focus,
button:active,
button:-moz-focusring {
  outline: none;
  border: none;
}

/* --------------------- */

.text_class_en_slide4{
    text-align: center;
    font-size: 22px;
}
.text_class_th_slide4{
    text-align: center;
    font-size: 50px;
    font-weight: bold;
}
.text_description_1_slide4{
    font-size: 20px;
    text-align: center;
    margin-top: 30px;
    font-style: italic;
}
.text_description_2_slide4{
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}
.text_description_3_slide4{
    font-size: 20px;
    text-align: center;
    margin-top: 100px;
}
#bg_slide_4{
    position: absolute;
    height: 402px;
    background-attachment: fixed;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 600px 402px;
    z-index: 1;
    right: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 200;
    background-position: 50% 0%;
}


/* --------------------- */

.text_header_th_slide5{
    text-align: center;
    font-size: 48px;
    font-weight: bold;
}
.text_class_en_slide5{
    text-align: center;
    font-size: 22px;
    opacity: 0.6;
}
.text_main_copy_th_slide5{
    font-size: 22px;
    text-align: center;
    color: #FBFF00;
    margin-top: 20px;
    font-style: italic;
}
.text_sub_copy_th_slide5{
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}
.text_stat_badge_slide5{
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    color: #004627;
    font-style: italic;
}

/* --------------------- */

.content{
    width: 100%;
    max-width: 390px;
    /*max-height: 844px;*/
    position: relative;
    margin: auto;
    padding-bottom: 80px;
}
.wrap_tab{
    width: 16.66%;
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}
.tab_skip_page_6_4{
    width: 20% !important;
}
.tab_skip_page_6_3{
    width: 20% !important;
}
.tab_skip_page_6{
    width: 16.66% !important;
}
.tab_skip_page_5{
    width: 20% !important;
}
.tab_skip_page_4{
    width: 16.66% !important;
}
.tab{
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.30);
    border-radius: 5px;
}
.active_tab .tab{
    background: rgba(255, 255, 255, 1);
}
.user_image img{
    width: 40px;
    height: 40px;
    background-color: #FFF;
    border-radius: 50%;
}

#canvas_slide7_preview{
    width: 320px;
}
#wrap_canvas_slide_7{
    height: 410px;
    margin-top: 20px;
    text-align: center;
}
.swal2-modal button.styled{
    background-color: #00bf6c !important;
    border-left-color: #00bf6c !important;
    border-right-color: #00bf6c !important;
}

@media screen and (max-width: 600px)
{
    #canvas_slide7_preview{
        width: 100%;
        left: 0 !important;
    }
/*  .wrap_btn_page{
    display: none;
  }*/
  /*  .fixed_btn{
        position: fixed;
        bottom: 0;
    }*/
   /* #wrap_canvas_slide_7{
        height: 475px;
    }*/
}

/* แถบ Progress ด้านบน */
/*.progress-bar-container {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
*/
/*.progress-bar {
  height: 100%;
  width: 0%;
  background: white;
  transition: width 0.1s linear;
}
*/
/* สำหรับคลิกหยุด/เล่นต่อ */
/*.story-container:active .progress-bar {
  animation-play-state: paused;
}*/