@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree&family=Mitr:wght@500&family=Prompt:wght@300&family=Fahkwang:ital,wght@1,500&family=Prompt&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Itim&family=Kodchasan:wght@600&family=Mali:wght@600&family=Mitr&family=Noto+Sans+Thai:wght@600&family=Pattaya&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Sriracha&display=swap');

@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

* {box-sizing: border-box;}

/* @font-face {
  font-family : 'LINE Seed Sans TH', sans-serif;
  src: url('../font/LINESeedSansTH_W_Rg.woff2') format('woff2'),
      url('../font/LINESeedSansTH_W_Rg.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
} */

@font-face {
  font-family: 'line_seed_sans_thregular';
  src: url('../font/LINESeedSansTH_W_Rg.woff2') format('woff2'),
       url('../font/LINESeedSansTH_W_Rg.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'line_seed_sans_thbold';
  src: url('../font/lineseedsansth_bd-webfont.woff2') format('woff2'),
       url('../font/lineseedsansth_bd-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'cu';
  src: url('../font/chulabhornlikittext-regular.woff2') format('woff2'),
       url('../font/chulabhornlikittext-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.font_line{

  font-family : 'line_seed_sans_thregular', sans-serif;

}

.font_cu{

  font-family : 'cu', sans-serif;

}

* 
{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

html 
{
    /* ฟอนต์หลัก */
    /* font-family : "Lucida Sans", sans-serif; */
    /* font-family : "Bai Jamjuree", Lucida Sans, sans-serif; */
    -webkit-text-size-adjust: 100%;

}

body {
    -webkit-font-smoothing: subpixel-antialiased;
    /* font-family : "Lucida Sans", sans-serif; */
    font-family : "LINE", sans-serif;
    left: 0px;
    margin: 0px;
    padding: 0px;
    /* background: #F7F7F5; */
    background:#fff; 
    /* background-color: #cecece; */
    /*color: #424743;*/
    color:#000;
    font-size : 1em;
}

h1,h2,h3,h4,h5
{
    font-family: "Prompt", sans-serif;
    font-family: "Noto Sans Thai", sans-serif;
    font-family: 'Noto Sans Thai', sans-serif;
    margin: 0;
    padding: 0 0 18px;
    color:#424743;
    
}

h1{font-size: 1.5em;}
h2{font-size: 1.3em;}
h3{font-size: 1.1em;}
h4{font-size: 1.0em;}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
  }

.font_prompt , label
{
    font-family: 'Prompt', sans-serif;
    font-family: "Noto Sans Thai", sans-serif;
}

.font_sriracha
{
    font-family: 'Sriracha', sans-serif;
}

.iconfont
{
    font-family: 'fontello';
}

a {
    text-decoration: none;
    text-decoration-color: #0094cd;
  }

/*แก้ปัญหาสีลิงค์เป็นสีขาว*/
.fixcolorlink {color:#0094cd;}

/*แก้ปัญหาลิงค์บทความเป็นสีฟ้า*/
.fixcolorlink2 {color:#424643;}
.fixcolorlink3 {color:#ffffff;}


a:link {
  text-decoration: none;
}

a:active {
  text-decoration-color: none;
}

a:hover {
  text-decoration-color: #013881;
}

a:visited {
  text-decoration-color: #7d01a3;
}



@font-face {
    font-family :  'fontello';
    src :  url('../font/fontello.eot?54586004');
    src :  url('../font/fontello.eot?54586004#iefix') format('embedded-opentype'),
        url('../font/fontello.woff?54586004') format('woff'),
        url('../font/fontello.ttf?54586004') format('truetype'),
        url('../font/fontello.svg?54586004#fontello') format('svg');
    font-weight :  normal;
    font-style :  normal;
}



@font-face {
    font-family: 'UID DEEPSEA 2021 News';
    src: url('../font/UIDDEEPSEA2021-News.woff2') format('woff2'),
        url('../font/UIDDEEPSEA2021-News.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FC Iconic';
    src: url('../font/FCIconicBoldItalic.woff') format('woff'),
        url('../font/FCIconicBoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FC Iconic';
    src: url('../font/FCIconicRegular.woff') format('woff'),
        url('../font/FCIconicRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FC Iconic';
    src: url('../font/FCIconicItalic.woff') format('woff'),
        url('../font/FCIconicItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FC Iconic';
    src: url('../font/FCIconicBold.woff') format('woff'),
        url('../font/FCIconicBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.font_itim{font-family: 'Itim', cursive;}
.font_kodchasan{font-family: 'Kodchasan', sans-serif;}
.font_mali{font-family: 'Mali', cursive;}
.font_mitr{font-family: 'Mitr', sans-serif;}
.font_notosans{font-family: 'Noto Sans Thai', sans-serif;}
.font_pattaya{font-family: 'Pattaya', sans-serif;}


.font_bai{font-family : 'Bai Jamjuree', fontello;}

.font_deepsea{

    font-family: 'UID DEEPSEA 2021 News';
    
}

.font_fciconic{

    font-family: 'FC Iconic';
    
}

.font_green {color: #4CAF50;}

.font_red {color: #7b0d1e;}

#container {
    width: 48px;
    height: 48px;
}

#container img {
    width: 100%;
}

textarea { 
    border: none;
    width: 100%;       
  }

.column-base {
    position:relative;
    border:1px solid #e9ecef; 
    background-color:#f8f9fa;
    opacity: 1.0;
    border-radius:7px;
    width:100%; 
    float:left; 
    padding:10%;
    margin-bottom:25px; 
}

.remark{
    font-size:0.7em; 
    width:100%; 
    color:#838F86;
    margin-bottom:25px;
}

.shownote{
    width:100%;
    background-color:rgb(253, 249, 133);
    color:red;
    padding: 5%;
    font-size:0.8em;
    border:1px solid red;
}

.draft{
    width:100%;
    background-color:rgb(233, 233, 233);
    color:red;
    padding: 5%;
    font-size:0.8em;
    border:1px solid rgb(133, 133, 133);
}

.result-box{
    padding: 5%;
    position: relative;
}

.form-box {
    /* color: rgb(14, 12, 41);
    top: 52%;
    left: 50%; 
    position: absolute;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    padding: 30px 30px;
    border-radius: 0px; */

}



.form-box p
{
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.form-box input
{
    width: 100%;
    margin-bottom: 20px;
}

input[type="text"]
{
    width:100%;
    font-family : "Bai Jamjuree", fontello;
    box-sizing: border-box;
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;border-radius: 0%;-webkit-appearance: none;-moz-appearance: none;appearance: none;
}

textarea {
    font-family : "Bai Jamjuree", fontello;
    padding:10px;
    border:none; 
    width:100%
}

button {
    /* display:block;
    width:100%; 
    border-radius:3px; 
    border:1px solid #005583;
    background-color:#005583;
    padding:5px;
    font-family: 'Prompt', sans-serif;
    font-family: "Noto Sans Thai", sans-serif;
    margin: 0;
    font-size: 1em;
    color: #FAF9FA; */

    background-image: linear-gradient(-180deg, #37AEE2 0%, #1E96C8 100%);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-size: 16px;
    justify-content: center;
    padding: 1rem 1.75rem;
    text-decoration: none;
    width: 100%;
    border: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-family : 'line_seed_sans_thregular', sans-serif;

}

button:hover {
  background-image: linear-gradient(-180deg, #20ACE8 0%, #20ACE8 100%);
  color : #F7A81E;
}

.a-button,a:visited  {
    color: #FAF9FA;
}

.label-to-button {
    /* display:block; 
    border-radius:3px; 
    border:1px solid #005583;
    background-color:#005583;
    padding:5px;
    text-align:center;
    margin-top:5px;
    margin-bottom:5px;
    font-family: "Noto Sans Thai", sans-serif; */


    background-image: linear-gradient(-180deg, #37AEE2 0%, #1E96C8 100%);
    border-radius: .5rem;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-size: 16px;
    justify-content: center;
    padding: 1rem 1.75rem;
    text-decoration: none;
    width: 100%;
    border: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-family : 'line_seed_sans_thregular', sans-serif;
}

.label-to-button:hover {
  background-image: linear-gradient(-180deg, #20ACE8 0%, #20ACE8 100%);
  color : #F7A81E;
}


.label-to-button-link {
    display:block; 
    border-radius:0px; 
    border:0px solid #4F706C;
    background-color: none;
    padding:5px;
    text-align:center;
    margin-top:5px;
    margin-bottom:5px;
}

.label-to-button-small .label-to-button {
    width:auto;
    margin-left:85%; 
    position:relative;
}

label {

    display:block; 
    border:none;
    background-color:none;
    padding:0px;
    text-align:left;

}

.benefit-icon {

  font-size:48px;
  font-weight: bold;
  text-align: center;
  
  /* height:80px;
  border-radius:50%;
  -moz-border-radius:50%;
  -webkit-border-radius:50%;

  width:80px;
  border:1px solid #000; */

}

.benefit-topic {

  font-size:1.3em;
  font-weight: bold;
  text-align: center;
  margin-bottom:15px;

}

.benefit-des {

  font-size:0.8em;

}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

.form-box input[type="text"]
{
    border: none;
    border-bottom: 1.25px solid #B8C7BC;
    background: transparent;
    outline: none;
    height: 40px;
    color: #7E8868;
    font-weight: bolder;
    font-size: 16px;
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    border-radius: 0%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family : "Bai Jamjuree", fontello;
}

.row :: after 
{

    content :  "";
    clear :  both;
    display : table;

}

[class *= "col-"]
{

    float : left;
    padding : 10px;
    /* font-size:1em; */

}

/* For mobile phones */
[class *= "col-"] 
{

    width :  100%;
    /* font-size:1em;  */
    font-family : 'Bai Jamjuree', fontello;

}

[class *= "form-"]
{

    float : left;
    /* font-size: 1em; */
    color : #0094cd;
    padding : 15px;
    font-family : 'Prompt';
    /* font-family : 'Bai Jamjuree', fontello; */

}

[class *= "form-"] 
{

    width :  96%;
    margin : 2%;
    float : left;
    padding : 15px;

}

.new-button
{

  width:35%;

}

.flex-box {

  display:flex; 
  flex-direction:row;
  width:100%;

}

.flex-box-1 {

  width:30%;
  padding:20px;
  border:1px solid #DEE2E6; border-radius:7px;
  margin-bottom:25px;
  margin-left:20px;

}

.course {

  line-height:26px; margin-left:28%; width:45%;
  padding-top:150px;

}

/* For tablets */
@media only screen and (min-width :  600px) 
{

    .col-s-1 {width :  8.33%;}
    .col-s-2 {width :  16.66%;}
    .col-s-3 {width :  25%;}
    .col-s-4 {width :  33.33%;}
    .col-s-5 {width :  41.66%;}
    .col-s-6 {width :  50%;}
    .col-s-7 {width :  58.33%;}
    .col-s-8 {width :  66.66%;}
    .col-s-9 {width :  75%;}
    .col-s-10 {width :  83.33%;}
    .col-s-11 {width :  91.66%;}
    .col-s-12 {width :  100%;}

}

/* มือถือ */
@media all and (max-width: 768px) 
{

    .col-1 {width :  100%;padding-left:5%; padding-right:5%; border:0px solid #000;margin-top:70px;}
    .col-2 {width :  100%; padding:10px; margin-top:70px; border:0px solid #000;}
    .col-3 {width :  100%; padding:10px; margin-top:0px; border:0px solid #000;}
    .col-9 {width :  100%; padding:5%; margin-top:70px; border:0px solid  blue; font-size:1em; padding-top:0px;}
    .col-10 {width :  100%; padding:5%; margin-top:70px; border:0px solid  blue; font-size:1em; padding-top:0px;} /*เฉพาะไฟล์ read.php เลย*/
    .footer{width:100%; padding:0px; padding-left: 5%;padding-right: 5%;}
    .col-onebox{width :  100%; padding:10px; margin-top:70px; border:0px solid #000;}
    .col-benefit{width :  100%; padding:10px; margin-top:70px; border:0px solid #000;}
    .col-15 {width :  100%;padding-left:0%; padding-right:0%; margin-top:50px;}

    .flex-container-benefit {
      display: flex;
      flex-direction: column;
    
      
    }
    
    .flex-item-left-benefit {
      background-color: #f1f1f1;
      padding:10px;
      flex: 50%;
      padding-left:30px;
      padding-right:30px;
      margin:10px;
      border-radius:7px;
    }

    .benefit-h1
    {

      padding-top:35px;

    }

    .new-button
    {

      width:100%;
    }

    .flex-box { 
      flex-direction:column;
    }

    .flex-box-1 {

      width:100%;
      margin-left:0px;

      
    }

    .course {

      margin-left:0px; 
      width:100%;
      padding-left:10px;
      padding-right:10px;
      padding-top:50px;

    }


}

/* For desktop */
@media only screen and (min-width :  768px) 
{

    .col-1 {width :  100%;padding-left:15%; padding-right:15%; border:0px solid #000;margin-top:70px;}
    .col-2 {width :  18%; padding:10px; margin-top:70px; border:0px solid rgb(51, 51, 51)}
    .col-3 {width :  18%; padding:10px; margin-top:70px; border:0px solid rgb(51, 51, 51)}
    .col-4 {width :  33.33%;}
    .col-5 {width :  41.66%;}
    .col-6 {width :  50%;}
    .col-7 {width :  58.33%;}
    .col-8 {width :  66.66%;}
    .col-9 {width :  64%; padding:10px; margin-top:70px;}
    .col-10 {width :  64%; padding:10px; margin-top:70px;} /*เฉพาะไฟล์ read.php เลย*/
    .col-11 {width :  91.66%;}
    .col-12 {width :  100%;}
    .col-onebox{width:50%;margin-left:25%;margin-top:70px;}
    .col-benefit{width:60%;margin-left:20%;margin-top:120px;}
    .col-15 {width :  100% ;padding-left:15%; padding-right:15%; margin-top:60px;}

    .flex-container-benefit {
      display: flex;
      flex-direction: row;
      margin-bottom:25px;
    }
    
    .flex-item-left-benefit {
      background-color: #f1f1f1;
      padding: 10px;
      flex: 50%;
      padding-left:20px;
      padding-right:15px;
      margin:10px;
      border-radius:7px;
    }

}

/* For desktop */
@media only screen and (min-width :  768px) 
{

     /* สำหรับแบบฟอร์ม */

     .form-3 {width:46%; margin:2%}

     .footer {

        width:50%; margin-left:25%

     }

     button {
      padding: 1rem 2rem;
    }

    .label-to-button {

      padding: 1rem 2rem;
    }

 

}

@media only screen and (orientation :  landscape) and (min-width :  600px) 
{

    body {

        background-color :  #fff;
    
    }

}

.header 
{

    background-color :  #9933cc;
    color :  #ffffff;
    padding :  15px;

}

.menua ul {

    list-style-type :  none;
    margin :  0;
    padding :  0;
    
}

.menua li 
{

    padding :  8px;
    margin-bottom :  7px;
    background-color :  #33b5e5;
    color :  red;
    box-shadow :  0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

}

.menua li : hover 
{

    background-color :  #0099cc;

}

.icon_user
{

    width : 16px;
    height : auto;
    padding : 0%;
    margin : 0%;
    vertical-align : middle;
    vertical-align : middle;

}

.imageauto 
{
    width:100%;
    height:auto;
    /* background-color: rgb(187, 187, 187); */
}

.imageauto2 
{
    width:100%;
    height:auto;
    display:block;
    vertical-align: bottom;
  
}

/* ซ่อน div ที่ต้องการ เมื่อแสดงผลบนมือถือ */
@media screen and (max-width: 600px) 
{
    
    #col-left {

      display: none;

    }

    benefit-h1 {

      text-align:center;
    }

}

.box100{width:100%;margin-left:0%;clear:left}

.box_content_tag_out {
	display:block;
	float:left;
	position:relative;

	padding-left: 0px;
	padding-right: 0px;

	width: 100%;
	height:auto;
	overflow:hidden;

	border: 0px;
	background-color: none;
	border: 0px solid #D1D0D0;
}


.box_content_tag_display {
	display:block;
	height:24px;
	width:100% auto;
    font-family: Prompt;
    font-family: "Noto Sans Thai", sans-serif;
	font-size:12px;
	float:left;
	margin-top:0px;
	margin-left:0px;
	margin-right:5px;
	margin-bottom:5px;
	padding:5px;
	border:1px solid #bebebe;
	/*border:0px solid #eeeeee;*/
	/*background-color:#0A85CB;*/
	/*background-color:#38abec;*/
	background-color:#ffffff;
	/*background-color: none;*/
	color:#666666;
	text-align:center;
	line-height:16px;
	font-weight: normal;
	text-decoration:none;
	position:relative;
	float:left;
	border-radius:3px 3px 3px 3px;

	border-top-left-radius: 3px 3px 3px 3px;
	-moz-border-radius-topleft: 3px 3px 3px 3px;
	-webkit-border-top-left-radius: 3px 3px 3px 3px;

	border-bottom-right-radius: 3px 3px 3px 3px;
	-moz-border-radius-bottomright: 3px 3px 3px 3px;
	-webkit-border-bottom-right-radius: 3px 3px 3px 3px;

	border-bottom-left-radius: 3px 3px 3px 3px;
	-moz-border-radius-bottomleft: 3px 3px 3px 3px;
	-webkit-border-bottom-left-radius: 3px 3px 3px 3px;
}

/* Reset */
*:before, *:after { content: ''; }
hr {
  border: 0;
  margin: 1.35em auto;
  max-width: 100%;
  background-position: 50%;
  box-sizing: border-box;
}

/* hr style - vertical */
.vertical{
height: 10px;
color: rgb(56, 56, 56);
background-image: linear-gradient(
  90deg,
  currentColor,
  currentColor 33.33%,
  transparent 33.33%,
  transparent 100%);
background-size: 3px 100%;
width: 100%; 
}

.vertical2{
    height: 10px;
    color: rgb(56, 56, 56);
    content : "tam";
    background-image: linear-gradient(
      90deg,
      currentColor,
      currentColor 33.33%,
      transparent 33.33%,
      transparent 100%);
    background-size: 1px 100%;
    width: 100%; 
    }

/* hr style - Charlie */
.charlie {
  position: relative;
  font-size: 0.7em;
  height: 1em;
  border: 0;
  /* -webkit-filter: drop-shadow(hsla(0, 0%, 0%, 0.75) 1px 3px 5px); */
  width: 100%;
}

.charlie:before,
.charlie:after {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  background-size: 1em 100%;
  height: inherit;
}

.charlie:before {
  background-image:
    linear-gradient(315deg, hsla(0, 0%, 91%, 0.75) 25%, transparent 25%),
    linear-gradient(45deg, hsla(0, 0%, 91%, 0.75) 25%, transparent 25%);
  background-position: 50%;
  top: -0.5em;
}

.charlie:after {
  background-image: 
    linear-gradient(135deg, hsla(0, 0%, 91%, 0.75) 25%, transparent 25%),
    linear-gradient(225deg, hsla(0, 0%, 91%, 0.75) 25%, transparent 25%);
  background-position: -webkit-calc(50% - 0.5em);
  top: 0.5em;
}

hr.style1{
	border-top: 1px solid #8c8b8b;
}


hr.style2 {
	border-top: 3px double #8c8b8b;
}

hr.style3 {
	border-top: 1px dashed #8c8b8b;
}

hr.style4 {
	border-top: 1px dotted #8c8b8b;
}

hr.style5 {
	background-color: #fff;
	border-top: 2px dashed #8c8b8b;
}


hr.style6 {
	background-color: #fff;
	border-top: 2px dotted #8c8b8b;
}

hr.style7 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}


hr.style8 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}
hr.style8:after {
	content: '';
	display: block;
	margin-top: 2px;
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}

hr.style9 {
	border-top: 1px dashed #8c8b8b;
	border-bottom: 1px dashed #fff;
}

hr.style10 {
	border-top: 1px dotted #8c8b8b;
	border-bottom: 1px dotted #fff;
}


hr.style11 {
	height: 6px;
	background: url(http://ibrahimjabbari.com/images/hr-11.png) repeat-x 0 0;
    border: 0;
}


hr.style12 {
	height: 6px;
	background: url(http://ibrahimjabbari.com/images/hr-12.png) repeat-x 0 0;
    border: 0;
}

hr.style13 {
	height: 10px;
	border: 0;
	box-shadow: 0 10px 10px -10px #8c8b8b inset;
}


hr.style14 { 
  border: 0; 
  height: 1px; 
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
}


hr.style15 {
	border-top: 4px double #8c8b8b;
	text-align: center;
}
hr.style15:after {
	content: '\002665';
	display: inline-block;
	position: relative;
	top: -15px;
	padding: 0 10px;
	background: #f0f0f0;
	color: #8c8b8b;
	font-size: 18px;
}

hr.style16 { 
  border-top: 1px dashed #8c8b8b; 
} 
hr.style16:after { 
  content: '\002702'; 
  display: inline-block; 
  position: relative; 
  top: -12px; 
  left: 40px; 
  padding: 0 3px; 
  background: #f0f0f0; 
  color: #8c8b8b; 
  font-size: 18px; 
}


hr.style17 {
	border-top: 1px solid #8c8b8b;
	text-align: center;
}
hr.style17:after {
	content: '§';
	display: inline-block;
	position: relative;
	top: -14px;
	padding: 0 10px;
	background: #f0f0f0;
	color: #8c8b8b;
	font-size: 18px;
	-webkit-transform: rotate(60deg);
	-moz-transform: rotate(60deg);
	transform: rotate(60deg);
}


hr.style18 { 
  height: 30px; 
  border-style: solid; 
  border-color: #8c8b8b; 
  border-width: 1px 0 0 0; 
  border-radius: 20px; 
} 
hr.style18:before { 
  display: block; 
  content: ""; 
  height: 30px; 
  margin-top: -31px; 
  border-style: solid; 
  border-color: #8c8b8b; 
  border-width: 0 0 1px 0; 
  border-radius: 20px; 
}


/* Display Popup Bottom*/
.advertisement {
    position: fixed;
    bottom: 0;
    padding: 50px 30px;
    background: #433eff;
    z-index: 1;
    transition: all 0.5s;
}
.hide {
    opacity:0;
    bottom:-100%;
}
.show {
    opacity:1;
    bottom:0;
}

.hide2 {
    opacity:0;
    bottom:-100%;
}
.show2 {
    opacity:1;
    bottom:0;
}

/* Display Popup Top*/
.advertisement_top {
  position: fixed;
  top: 0;
  padding: 0px 0px;
  z-index: 1;
  transition: all 0.5s;
}
.hide_top {
  opacity:0;
  top:-100%;
}
.show_top {
  opacity:1;
  top:0;
}

/* Display Popup Bottom*/
.advertisement_bottom {
  position: fixed;
  bottom: 0;
  padding: 50px 30px;
  background: #433eff;
  z-index: 1;
  transition: all 0.5s;
}

.hide_bottom {
  opacity:0;
  bottom:-100%;
}

.show_bottom {
  opacity:1;
  bottom:0;
}


.advertisement_bottom_right {
  position: fixed;
  bottom: 0;
  padding: 50px 30px;
  background: #433eff;
  z-index: 1;
  transition: all 0.5s;
}

.hide_bottom_right {
  opacity:0;
  bottom:-100%;
}

.show_bottom_right {
  opacity:1;
  bottom:0;
}

/* สีขอบกระพริบ */
@keyframes blink { 
    50% { border-color: #5C95AE; } 
 }

 /* สีขอบมาตรฐาน */
.border-dot {
 border:1px dotted #E4E7EA; background:#F4F4F5; border-radius:7px; 

 border:1px solid #E9ECEF; 
 background-color:#FEFEFE;
}

/* resultbox */
.box-result
{

    position: fixed; top: 40%; left: 50%; transform: translate(-50%, -50%); width:25%; padding:2%;

}

.box-normal {

  border:1px dotted gray; background:#fff; border-radius:10px; padding:10px; margin-bottom:30px; width:100%;

}

/* Line button */
.buttonline {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius:10px;
  }

  .out-buttonline{ width:20%; margin-left:40%}

@media screen and (max-width: 600px) 
{
    
    .box-result { width:75%;}
    .out-buttonline{ width:50%; margin-left:25%}

}

/* Floating button for Desktop */
  h3{
    color: #555;
  }
  
  #presentation{
    width: 480px;
    height: 120px;
    padding: 20px;
    margin: auto;
    background: #FFF;
    margin-top: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); 
    transition: all 0.3s; 
    border-radius: 3px;
  }
  
  #presentation:hover{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    transition: all 0.3s;
    transform: translateZ(10px);
  }
  
  #floating-button{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #db4437;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    box-shadow: 0px 2px 5px #666;
  }
  
  .plus{
    color: white;
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 55px;
    font-size: 38px;
    font-family: 'Roboto';
    font-weight: 300;
    animation: plus-out 0.3s;
    transition: all 0.3s;
  }
  
  #container-floating{
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    z-index: 50px;
  }
  
  #container-floating:hover{
    height: 400px;
    width: 90px;
    padding: 30px;
  }
  
  #container-floating:hover .plus{
    animation: plus-in 0.15s linear;
    animation-fill-mode: forwards;
  }
  
  .edit{
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    display: block;
    right: 0;
    padding: 0;
    opacity: 0;
    margin: auto;
    line-height: 65px;
    transform: rotateZ(-70deg);
    transition: all 0.3s;
    animation: edit-out 0.3s;
  }
  
  #container-floating:hover .edit{
    animation: edit-in 0.2s;
     animation-delay: 0.1s;
    animation-fill-mode: forwards;
  }
  
  @keyframes edit-in{
      from {opacity: 0; transform: rotateZ(-70deg);}
      to {opacity: 1; transform: rotateZ(0deg);}
  }
  
  @keyframes edit-out{
      from {opacity: 1; transform: rotateZ(0deg);}
      to {opacity: 0; transform: rotateZ(-70deg);}
  }
  
  @keyframes plus-in{
      from {opacity: 1; transform: rotateZ(0deg);}
      to {opacity: 0; transform: rotateZ(180deg);}
  }
  
  @keyframes plus-out{
      from {opacity: 0; transform: rotateZ(180deg);}
      to {opacity: 1; transform: rotateZ(0deg);}
  }
  
  .nds{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: fixed;
    z-index: 300;
    transform:  scale(0);
    cursor: pointer;
  }
  
  .nd1{
    background: #d3a411;
    right: 40px;
    bottom: 120px;
    animation-delay: 0.2s;
      animation: bounce-out-nds 0.3s linear;
    animation-fill-mode:  forwards;
  }
  
  .nd3{
    background: #3c80f6;
    right: 40px;
    bottom: 180px;
    animation-delay: 0.15s;
      animation: bounce-out-nds 0.15s linear;
    animation-fill-mode:  forwards;
  }
  
  .nd4{
    background: #ba68c8;
    right: 40px;
    bottom: 240px;
    animation-delay: 0.1s;
      animation: bounce-out-nds 0.1s linear;
    animation-fill-mode:  forwards;
  }
  
  .nd5{
    background-image: url('https://lh3.googleusercontent.com/-X-aQXHatDQY/Uy86XLOyEdI/AAAAAAAAAF0/TBEZvkCnLVE/w140-h140-p/fb3a11ae-1fb4-4c31-b2b9-bf0cfa835c27');
    background-size: 100%;
    right: 40px;
    bottom: 300px;
    animation-delay: 0.08s;
    animation: bounce-out-nds 0.1s linear;
    animation-fill-mode:  forwards;
  }
  
  @keyframes bounce-nds{
      from {opacity: 0;}
      to {opacity: 1; transform: scale(1);}
  }
  
  @keyframes bounce-out-nds{
      from {opacity: 1; transform: scale(1);}
      to {opacity: 0; transform: scale(0);}
  }
  
  #container-floating:hover .nds{
    
    animation: bounce-nds 0.1s linear;
    animation-fill-mode:  forwards;
  }
  
  #container-floating:hover .nd3{
    animation-delay: 0.08s;
  }
  #container-floating:hover .nd4{
    animation-delay: 0.15s;
  }
  #container-floating:hover .nd5{
    animation-delay: 0.2s;
  }
  
  .letter{
    font-size: 23px;
    font-family: 'Roboto';
    color: white;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    line-height: 40px;
  }
  
  .reminder{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    line-height: 40px;
  }
  
  .profile{
    border-radius: 50%;
    width: 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 20px;
  }

  .buttonfloat-small{
    position:fixed;
    z-index:100;
    }

/* Text Flip for Writer */
.blinking{
	animation:blinkingText 0.5s infinite;
}
@keyframes blinkingText{
    0%{     color: #000;    }
    49%{    color: red; }
    60%{    color: transparent; }
    99%{    color:transparent;  }
    100%{   color: blue;    }
}



.box2 {
  width: 300px;
  margin: 0px auto;
  border: 1px dotted #474747;
  padding: 20px;
  text-align: center;
  font-weight: 900;
  color: #474747;
  font-family: Prompt;
  position: relative;
}


/* speech bubble 9 */

.sb9:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #00bfb6;
  border-bottom: 10px solid transparent;
  right: 50%;
  bottom: -23px;
}

.sb9:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
  border-bottom: 10px solid transparent;
  right: 50%;
  bottom: -18px;
}


/* speech bubble 10 */

.sb10:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid #00bfb6;
  right: 50%;
  top: -23px;
}

.sb10:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid #fff;
  right: 50%;
  top: -18px;
}


/* speech bubble 11 */

.sb11:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #00bfb6;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  left: -23px;
}

.sb11:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  left: -17px;
}


/* speech bubble 12 */

.sb12:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid #00bfb6;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  right: -23px;
}

.sb12:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid #fff;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  right: -17px;
}



.egg {
  display: block;
  width: 126px;
  height: 180px;
  background-color: red;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}


.curvedarrow {
  position: relative;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-right: 9px solid red;
  transform: rotate(200deg);
}
.curvedarrow:after {
  content: "";
  position: absolute;
  border: 0 solid transparent;
  border-top: 3px solid red;
  border-radius: 20px 0 0 0;
  top: -12px;
  left: -9px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}


/* CSS */
.button-77 {
    align-items: center;
    appearance: none;
    background-clip: padding-box;
    background-color: initial;
    background-image: none;
    border-style: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    flex-direction: row;
    flex-shrink: 0;
    font-family: line_seed_sans_thregular;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    line-height: 24px;
    margin: 0;
    min-height: 64px;
    outline: none;
    overflow: visible;
    padding: 19px 26px;
    pointer-events: auto;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    width: auto;
    word-break: keep-all;
    z-index: 0;
}

@media (min-width: 768px) {
    .button-77 {
        padding: 19px 32px;
    }
}

.button-77:before,
.button-77:after {
    border-radius: 80px;
}

.button-77:before {
    background-color: rgba(249, 58, 19, .32);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}

.button-77:after {
    background-color: initial;
    background-image: linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
    bottom: 4px;
    content: "";
    display: block;
    left: 4px;
    overflow: hidden;
    position: absolute;
    right: 4px;
    top: 4px;
    transition: all 100ms ease-out;
    z-index: -1;
}

.button-77:hover:not(:disabled):after {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    transition-timing-function: ease-in;
}

.button-77:active:not(:disabled) {
    color: #ccc;
}

.button-77:active:not(:disabled):after {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
    bottom: 4px;
    left: 4px;
    right: 4px;
    top: 4px;
}

.button-77:disabled {
    cursor: default;
    opacity: .24;
}


/* For benefit */

.benefit-fieldset {

  border-radius:7px; margin-bottom:80px;

}

.benefit-legend {

  font-size:1em; font-weight:bold; background-color:#0d65bc; color:#fff; padding:10px; border-radius:7px;margin-bottom:25px
}

.flex-item-left-benefit
{
  
  background-color:rgba(255,255,255,0.5); 
  /* border-radius:7px; 
  border:0px dashed #eee; 
  padding:30px; 
  margin-bottom:50px;  */
  /* box-shadow: 0px 0px 0px 3px rgba(254,221,132,0.7) */

  /* box-shadow: 0px 0px 0px 3px rgba(233, 236, 239,0.7) */

}

.pagination{

  width:auto;
  border:1px solid #ccc; 
  margin-top:0px; 
  padding:10px;
  margin-right:10px;
  border-radius:2px;
  background-color:#fafafa;

}

.pagination-active {


  width:auto;
  border:1px solid yellow; 
  margin-top:0px; 
  padding:10px;
  margin-right:10px;
  border-radius:2px;
  background-color:#f2e3b3;

  
}

.disabled-linkall {
  pointer-events: none;
  cursor: default;
  opacity: 0.6;
}


/* Slide สำหรับหน้าแรก */

.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 50px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {
  .text {font-size: 11px}
}

.youtube {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.box-gradient{
  Border:12px solid transparent;
  Border-radius:7px;
  Background:
  Linear-gradient(rgb(255, 255, 255),rgb(255, 255, 255)) padding-box,
  Linear-gradient(45deg,#ff52e5,#f6d242) border-box;}

.creditimage{

  font-size:0.7em;
  color:#6c757d;

}