/* 
POST IT 
question (seo voc)
คลิป youtube
icon เอาไว้ copy
หน้า faverit
PlayAll 
Youtube Responsive 
Animated Accordion
Device Manager
hr สวยๆ
SHOP
top banner fix Article
Button Delete 
Button send 
soundletters
พิมพ์คำค้นหาด้วยเสียง
*/

/* POST IT */
.post_it{
    display: block;
    box-sizing: border-box;
    padding: 20px 0px;
}
.post_it-card{
    display: block;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    border: 2px;
    border-style: solid;
    border-color: red;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.post_it-img{
    display: block;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
}
    .post_it-card img{
        width: 100%;
    }
.post_it-text{
    display: block;
    padding: 30px 0px 20px;
    text-align: center;
}
    .post_it-text_en{
        display: block;
        font-weight: bold;
        font-size: 2.4rem;
    }
    .post_it-text_spell{
        display: block;
        padding-top: 5px;
        color: #4391ac;
    }
        .post_it-text_spell b{
            font-weight: bold;
            color: #ffa671 !important;
        }
    .post_it-text_th{
        display: block;
        color: #555;
    }
.post_it-sound{
    display: block;
    text-align: center;
}
    .post_it-sound_delimiter{
        display: inline-block;
        vertical-align: middle;
        height: 30px;
        width: 1px;
        background: rgba(0,0,0,0.3);
    }
    .post_it-sound_button{
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        width: 100px;
        padding: 10px;
        border-radius: 10px;
        color: #222;
        transition: all 0.3s ease;
        margin-bottom: 5px;
    }
    .post_it-sound_button:hover{
        /* background: #759aa8; */
        background: #b3c9d1;
    }
/* Post it Selection */
.post_it-speed{
    display: block;
    width: 180px;
    margin: 0 auto;
    padding-bottom: 10px;
}
.post_it-selection{
    display: block;
    box-sizing: border-box;
    width: 100%;
    background: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    border: 0px;
    outline: 0px;
    font-family: 'prompt';
    line-height: 30px;
    color: #555;
}
.post_it-null{
    display: block;
    padding: 30px 0px 20px;
    text-align: center;
    color: #ff5858;
}


/* question (seo voc) */
.question{
    display: block;
    box-sizing: border-box;
    padding: 20px 0px;
}
.question-card{
    display: block;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
}
    .question-card img{
        width: 100%;
    }
.question-text{
    display: block;
    padding: 30px 0px 20px;
    text-align: center;
}
    .question-text_en{
        display: block;
    }
    .question-text_th{
        display: block;
        color: rgb(255, 255, 255);
        background-color: #5bb986;
        border-radius: 10px;
    }
.question-sound{
    display: block;
    text-align: center;
}
    .question-sound_delimiter{
        display: inline-block;
        vertical-align: middle;
        height: 30px;
        width: 1px;
        background: rgba(91, 168, 231, 0.3);
    }
    .question-sound_button{
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        width: 100px;
        padding: 5;
        border-radius: 10px;
        color: #222;
        transition: all 0.3s ease;
        background: #84deff;
    }
    .question-sound_button:hover{
        /* background: #759aa8; */
        background: #369abe;
    }
    .question-ads{
        background: rgba(170, 0, 0, 0.3);
    }
    
    
    .video-container {
      margin: 10px auto;
      overflow: hidden;
      position: relative;
      width:100%;
  }
  
  .video-container::after {
      padding-top: 56.25%;
      display: block;
      content: '';
  }
  /* คลิป youtube */
  .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  .video-container_text {
      color: rgb(0, 158, 21);
  }
  .invalid-feedback  {
        color: rgb(255, 0, 0);
        font-size: 16px;
  }
  .recommend  {
    color: rgb(0, 167, 167);
    font-size: 16px;
  }
/* หน้า faq */
  /* #myDIV {
    width: 100%;
    padding: 50px 50px;
    text-align: left;
    background-color: lightblue;
    margin-top: 20px;
  } */
/* icon เอาไว้ copy */
  .table-tool_option_icon_copy{
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* icon เอาไว้ favorite */
.status_fav{
    cursor: pointer;
    content: url('../img/icon-favorite.png');
    display: inline-block;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    vertical-align: top;
}
.status_unfav{
    cursor: pointer;
    content: url('../img/icon-unfavorite.png');
    display: inline-block;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    vertical-align: top;
}

/* ////////////////////////////////////////// */
/* หน้า faverit */
.fav-main-con{
    width: 100%;
    margin-top: 20px;
    position: relative;
	display: flex;
	flex-direction:column;
	align-items: center;
	justify-content: center;
}
.container-fav{
	position: relative;
	background: rgb(255, 255, 255);
	display: flex;
	flex-direction:column;
	align-items: center;
	justify-content: center;
	width: 100%;
	border-radius: 10px;
	box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 10%);
}
@media only screen and (min-width: 800px){
	.container-fav{
        width: 50%;
	}
}    
.row-fav{
	position: relative;
	background: #f5f5f5;
    /* background: #ff0000; */
	display: flex;
	flex-direction:row;
	align-items: center;
	justify-content:space-between;
	margin-top:10px;
	padding: 10px;
	width: 96%;
	border-radius: 10px;
	flex-wrap: wrap;
}
.group-first-sec1{
    display: flex;
}
.first-line{
    align-self: flex-start;
    /* display: flex; */
}
.section-1{
	display: flex;
	flex-direction:column;
	align-items: left;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
@media only screen and (min-width: 800px){
	.section-1{
		border-bottom: 0px;
	}
}

.section-1 .en{
	padding: 0px 5px;
	font-size: 18px;
	font-weight: 600;
}
.section-1 .spell{
    /* margin-left: 50px; */
	padding: 0px 5px;
	font-size: 18px;
}
.section-1 .th{
    /* margin-left: 50px; */
	padding: 0px 5px;
	font-size: 18px;
}
.speed{
	display: flex;
	padding: 5px;
}
.speed .speed-text{
	padding: 5px;
	
}
.speed .speed-drop{
	padding: 5px;
	cursor: pointer;
}
.btn{
	display: flex;
	justify-content:center;
}
.btn .btn-uk{
    margin-right: 2.5px;
}
.btn .btn-us{
    margin-left: 2.5px;
}



/* PlayAll */
.fav_btn_playall{
    cursor: pointer;
    vertical-align: top;
    display: inline-block;
    background: #c5d4da;
    padding: 0px 10px;
    border-radius: 10px;
    font-size: 1.6rem;
    text-align: center;
    color: #55707c;
    transition: all 0.3s ease;
    user-select: none;
}
.fav_btn_playall:hover{
    background: #759aa8;
    color: #fff;
}
/* Youtube Responsive */
.iframe-container{
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
  }
.iframe-container iframe{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
  }


.math-video_row{
    display: block;
    padding: 30px 0px;
    text-align: center;
}
.math-video_download{
    cursor: pointer;
    display: inline-block;
    background: #39a96b;
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
}
    .math-video_download:hover{
        background: #2f8a58;
    }

/* YOUTUBE * ของ yellow ใช้ได้เหมือนกันแต่ยังไม่ได้ใช้ เก็บไว้ดูก่อน/
/* .youtube{
display: block;
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
}

.youtube-iframe{
display: block;
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid rgba(0, 0, 0, 0.7);
} */


/* Animated Accordion */
.accordion {
    background-color: rgb(255, 220, 246);
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    /* border: none; */
    border-style: solid;
    border-color: rgb(255, 255, 255);
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
  }
  
  .active_math, .accordion:hover {
    background-color: rgb(255, 145, 222);
    color: rgb(255, 255, 255);
  }
  
  .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  /* Device Manager */
 .userlog_table-head {
    display: flex;
    flex-direction: row;
    align-items: center;
	justify-content:space-around;
    color: #4a6375;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}
.userlog_table-head-mobile {
    display:none;
}
 .userlog_table-content {
    display: flex;
    flex-direction: row;
    align-items: center;
	justify-content:left;
    color: #4a6375;
    font-size: 16px;
    line-height: 30px;
}
 .userlog_table_row {
    color: #4a6375;
    font-size: 16px;
    line-height: 30px;
    width: 20%;
}
 .userlog_table_row_2 {
    color: #4a6375;
    font-size: 16px;
    line-height: 30px;
    width: 10%;
}
.btn_trash {
    background-color: #0bd8f7;
    padding: 3px;
    border-radius: 3px;
    color:#f5f5f5;
}
/* hr สวยๆ */
/* Gradient transparent - color - transparent */
hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.navigate-mobile_cart_link_op{
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
}

@media only screen and (max-width: 780px){
    .userlog_table-head {
        display: none;
    }
    .userlog_table-head-mobile {
        display:block;
        color: #4a6375;
        font-size: 16px;
        font-weight: bold;
        line-height: 30px;
    }
	.userlog_table-content{
		flex-direction:column;
	}
    .userlog_table_row {
        font-size: 14px;
        line-height: 20px;
        width: 80%;
    }
    .userlog_table_row_2 {
        font-size: 14px;
        line-height: 20px;
        width: 80%;
    }
    hr.style-two {
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
    } 
}
/* top banner fix Article */
/* .banner-tab{
    display: block;
    padding: 20px 0px 0px;
    text-align: center;
} */
.banner-tab{
    display: block;
    position:fixed;
    /* top: 100; */
    /* left: 0; */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    z-index: 100;  

}
/* Button Delete */
    .op_delete_button{
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        background: #ec7777;
        padding: 0px 10px;
        border-radius: 5px;
        font-size: 1.8rem;
        color: #222;
        transition: all 0.3s ease;
    }
    .op_delete_button:hover{
        background: #ec5858;
        color: #fff;
    }

/* Button send */
.table-tool_send{
    display: inline-block;
    vertical-align: middle;
    width: 100px;
    text-align: right;
}

.op_send_button{
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    background: #01bd5f;
    padding: 0px 10px;
    border-radius: 5px;
    font-size: 1.8rem;
    color: #fff;
    transition: all 0.3s ease;
    width: 100%;
}
.op_send_button:hover{
    background: #029149;
    
}

/* soundletters */
.letters-sound{
    display: block;
    text-align: center;
}
    .letters-sound_button{
        cursor: pointer;
        vertical-align: top;
        display: inline-block;
        background: #c5d4da;
        padding: 0px 10px;
        border-radius: 10px;
        font-size: 1.6rem;
        text-align: center;
        color: #55707c;
        transition: all 0.3s ease;
        user-select: none;
    }
        .letters-sound_button:hover{
            background: #759aa8;
            color: #fff;
        }
/* อื่นๆ */
.tool-train_box_text_2{
    /* display: block; */
    /* display: none; */
    font-family: 'prompt_medium';
    font-size: 2.6rem;
    line-height: 40px;
}
.tool-train_box_text_sign{
    /* display: block; */
    /* display: none; */
    text-indent: 50px;
    font-family: 'prompt_medium';
    font-size: 4rem;
    line-height: 40px;
}
.train_ans{
    /* display: block; */
    display: none;

}
/* พิมพ์คำค้นหาด้วยเสียง */
/* Speech Search */
.speech_search{
    display: block;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 5px 0px 20px;
    border-radius: 10px;
}
.speech_search_input{
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: calc( 100% - 60px );
    background: #ffffff;
    padding: 10px;
    border: 0px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    outline: 0px;
    font-family: 'prompt';
    text-align: center;
    line-height: 30px;
    color: #555;
}
.speech_search_submit{
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    width: 60px;
    height: 50px;
    background-color: #96a894;
    background-image: url('img/icon-tool_search.png');
    background-size: 40px 40px;
    background-position: center;
    background-repeat: no-repeat;
    border: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: all 0.3s ease;
}
    .speech_search_submit:hover{
        background-color: #7c887b;
    }
.speech_button{
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
    width: 60px;
    height: 50px;
    background-color: #e9f0e8;
    background-image: url('../img/icon_start_speech.png');
    /* background-image: none; */
    background-size: 40px 40px;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 20px;
    border-radius: 10px;
    border: 0px;
    outline: 0px;
    font-family: 'prompt_medium';
    font-size: 1.2rem;
    color: #fff !important;
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.15);
    user-select: none;
    transition: all 0.3s ease;
    align-items: center;
}