/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.form-check-input {
     visibility: hidden;
 }

.characterEmoCss > img {
     height: auto;
     max-width: 75px;
     width: 100%;
     flex-wrap: nowrap;
     background-size: contain;
     background-repeat: no-repeat;
     border-radius: 50%;
 }

 .talking-caret {
    position: relative;
    padding: .5rem .5rem .5rem 2rem;
    border-radius: 10px;
 }

 .talking-caret > a {
    padding-left: 17px;    
    font-size: 1.1rem;
    text-align: left;
 }

 .talking-triangle {
    position: absolute;
    left: 0%;
    top: 13%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    border-color: transparent #eaeaea transparent transparent;
 }

 .option-img {
     height: 11rem;
     max-height: 11rem;
     max-width: 100%;
 }

 .option-card {
     min-height: 5rem;
     max-height: 18rem;
     max-width: 100%;
     padding: 1.5rem;
     align-content: center;
     overflow: hidden;
 }

 .form-check-input {
     height: 0rem;
     width: 0rem;
     display: none;
     position: absolute;
 }


 .tab-label {
   text-decoration: none;
 }

/*  -------結果頁樣式-------- */
.answer_result{
    font-weight: bold;
    line-height: 2.5;
}

/* 錯誤題目 */
.answer_result > #showQuiz {
    color:#604040;
    background-color: #fbe7ea;
    border-radius: 50rem;
    padding: 0.5rem 1.3rem;
    margin-bottom: 0.3rem;
    margin-top: 1rem;
    display: inline-block;
    line-height: 1.7;
}

/* User的選擇 */
.answer_result > #optUser{
    color: #dc3545;
}

/* 正確答案 */
.answer_result > #optCorr {
    color: #208737;
}

/* 延伸閱讀 */
.answer_result > #readMorePost {
    color: #888;
    margin: 0.5rem 0rem 0.7rem 0rem;
    line-height: 1.7;
}

/* 延伸閱讀超連結文字 */
.answer_result > #readMorePost > a {
    color: #4171a5;
}

/* 背景知識 */
.panlab_bg_know{
    /*display: none;*/ /*預設關閉or開啟*/
    max-height: 150px;
    overflow: auto;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
.panlab_bg_know::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.panlab_bg_know::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.panlab_info{
    max-width: 500px;
    margin:0 auto;
}
.panlab_info a, .panlab_info a:focus, .panlab_info a:hover{
    color: #ffffff;
    text-decoration: underline;
}