html{
    font-size: 100%;
}
body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    background-color: #f8f9fd !important;
}
.rem9{
    font-size: 0.9rem;
}

#exampleModal{
    z-index: 999999;
}

.btn-primary{
    background-color: #1E7AAD;
    border-color: #1E7AAD;
    font-size: 18px;
}

.btn-primary:hover{
    background-color: #3e869e;
    border-color: #3e869e;
}
/*
.dashboard .btn-primary, .answer_page .btn-primary{
    background-color: #085E54;
    border-color: #085E54;
}*/

.avatar_row{
    width:38px;
    min-width:38px;
}

#block_stats{
    padding-bottom: 60px;
}

.content_q_block{
    
    padding-right: 8px;
}

.wrap{
    width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 10px 34px -15px rgb(0 0 0 / 24%);
}

.blue{
    background-color: #1E7AAD;
}
.violet{
    background-color: #CB1267; 
}
.unactive{
    background-color: #999999;
}
.unactive img{
    opacity: .7;
}

.header{
    top:0;
    position: sticky;
    z-index: 999998;
}

.header .l1{
    padding: 14px 0;
    color:white;
}
.header .l2{
    padding: 8px 0;
    color:white;
}
.chat-layout .header .l1{
    background-color: #1E7AAD;
}
.chat-layout .header .l2{
    background-color: #0F4D70;
}

.unicode-layout .header .l1{
    background-color: #CB1267;
}
.unicode-layout .header .l2{
    background-color: #6C0535;
}
.header a{
    color:white;
    text-decoration: none;
}

.under-header{
    background-color: #E6E6E6;
    padding: 30px 0 20px 0;
}

footer{
    background-color: #E6E6E6;
    font-size: 0.75rem;
}
footer p{
    margin-bottom: 0;
    padding: 8px 0;
}

.home-root{
    padding-top: 30px;
}
.home-root .tools{
    gap: 50px;
}
.home-root .tool a{
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-root .tool p{
    text-align: center;
}
.global-home .link_back, .global-login  .link_back{
    display: none;
}



#eye:hover{
    cursor: pointer;
}

#selectLang{
    max-width: 100px;
    display: inline;
}

.note-editable{
    background-color: white;
}
#flexSwitchCheckDefault:hover, .form-switch label:hover{
    cursor: pointer;
}

.question{
    width:80%;
    clear: both;
    position: relative;
}

.dashboard .question{
    width:100%;
}

.question_title{
    font-size: 22px;
    font-weight: bold;
}

.clear{clear: both;}

.question_dash{
    background-color: white;
    display: block;
    padding: 12px 12px;
    color: black;
    
    margin-bottom: 2px;
}
.question_dash a{
    color: black;
    text-decoration: none;
}

#dashboard_live .translate a{
    color: grey;
    font-size:11px;
    text-decoration: underline;
}

#dashboard_live .translate a:hover{
    cursor: pointer;
}

.question_link .content_q{
    padding-top: 12px;
    padding-bottom: 12px;
}

.question_bubble{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 1px;
    background-color: white;
    display: block;
    padding: 12px 12px 5px 12px;
    color: black;
    text-decoration: none;
    margin-left: 4px;
    border-radius: 0px 10px 10px 10px;
}

.question_bubble::before{
    background-color: #ffffff;
    box-shadow: -2px 2px 2px -3px rgb(0 0 0 / 65%);
    content: "\00a0";
    display: block;
    height: 10px;
    left: 0px;
    position: absolute;
    top: 3px;
    transform: rotate( 45deg );
    -moz-transform: rotate( 45deg );
    -ms-transform: rotate( 45deg );
    -o-transform: rotate( 45deg );
    -webkit-transform: rotate( 45deg );
    width: 10px;
    z-index: 1;
}

.question_bubble img{
    max-width: 100% !important;
}

.user_message .question_bubble::before{
    background-color: #E2FFC8;
    box-shadow: 2px -2px 2px -3px rgb(0 0 0 / 65%);
    right: -1px;
    top: 1px;
    left: auto;
}

.in_question{
    position: relative;
}

.user_message .question_bubble{
    border-radius: 10px 0px 10px 10px;
    margin-right: 4px;
}

.wrap_bubble{
    position: relative;
    z-index: 99999;
}

.user_message{
    float:right;
}

.bottom_bubble{
    font-size: 11px;
    
    margin-top: 6px;

}
.bottom_bubble a, .time, .side_question{
    color: grey;
}

.side_question{
    font-size: 11px;
    min-width: 58px;
}

.user_message .question_bubble{
    background-color: #E2FFC8;
}

.new_messages span{
    background-color: #16C566;
    padding: 4px 8px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
}

.question_link > div{
    gap:10px;
}

.footer_question{
    font-size: 12px;
}
.emoji{
    font-size: 16px;
    border: none;
    background-color: transparent;
    padding: 0;
}
.emoji.selected{
    font-size: 22px;
}
.nb_emoji{
    font-size: 11px; 
    color:grey;
    margin-left:-8px;
}

.block_emoji{
    margin-top: -12px;
    justify-content: center;
}

.wrap_emoji{
    background: white;
    border-radius: 30px;
    padding: 0px 15px;
    box-shadow: rgba(0, 0, 0, 0.22) 0px 0px 2px;
}
.wrap_emoji.green{
    background-color: #E2FFC8;
}

textarea{
    min-height: 130px !important;
}

hr{
    margin-bottom: 40px;
}

.pagination{
    justify-content: center;
    margin-top: 20px;
}

.active>.page-link, .page-link.active{
    background-color: #2984b3;
    border-color: #2984b3;
}

.page-link{
    color: #2984b3;
}

.logout{
    text-decoration: none;
    color:black;
}

.delete{
    font-size: 14px;
    color: red !important;
}

.lang{
    padding-left: 0 !important;
}

.block_search{
    position: relative;
}

.block_res_search{
    background: white;
    padding: 10px 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    position:absolute;
    z-index: 999999;
    width: 100%;
}

.block_res_search .res_search{
    display: block;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #f8f9fd;
    padding:8px 10px;
}

.block_res_search .res_search:hover{
    background-color: #f3f3f3;
}

.block_search form{position: relative;}
.block_search i{
    position: absolute;
    font-size: 18px;
    left: 8px;
    top: 5px;
}
.block_search input{
    padding: 5px 35px;
}

.answer_page h2{
    text-align: left;
    
}

.underline{
    text-decoration: underline;
}

.fleche{
    position: relative;
    top: -10px;
}

.fleche a{
    color: #1E7AAD;;
    text-decoration: none;
}

#title_block form{
    display:none;
}

#close_title{
    cursor: pointer;
    text-align: right;
}

.question_block_left{
    width:30%;
   
}

#question_block_left{
    border: 1px #e5e5e5 solid;
    background-color: white;
    border-radius: 5px;
    max-height: 1000px;
    overflow-y: auto;
}

.question_block_left h3{
    padding-top: 10px;
    padding-left: 10px;
    color:#1E7AAD;
    
}
.question_block_left .question_dash
{
    border-left: 5px solid transparent;
    border-top: 1px solid #f9f5f5;
    margin-bottom: 0 !important;
}

.question_block_left .question_dash:hover
{
    border-left: 5px solid #1E7AAD;
    background-color : #E8F0F7;
}

.line_avatars{
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
}

.answer_page .line_avatars{
    display: none;
}

.selected_theme{
    border-left: 5px solid #1E7AAD !important;
    background-color : #f6f6f6;
}


.answer_page{
    width:70%;
}

.login-page{
    padding-top: 50px;
   
}

.global-login{
    background-image: url('../img/login_background.jpg');
    background-size: cover;
}

.global-login footer{
    opacity: 0.6;
}

.login-page .btn-primary{
    background-color: #CB1267;
    border-color: #df1472;
}

.login-page .btn-primary:active
{
    background-color: #6C0535;
    border-color:#8b0745;
}

.login-page a{
    color: rgb(33, 37, 41);
    font-weight: bold;
}


#page_answer_global{
    gap: 50px;
    padding-top: 25px;
}

.note-editor .dropdown-toggle::after{
    display: none;
}

@media (max-width: 991px) {
    .question_block_left{
        display: none;
    }
    .answer_page{
        width: 100%;
    }
    
    .answer_page .line_avatars{
        display: flex;
        margin-bottom: 20px;
    }

    .question_block_left  .line_avatars{
        display: none;
    }
}

@media (max-width: 455px) {
    .header .row{
        flex-direction: column;
        gap: 10px;
    }
    .header .row .col{
        text-align: center !important;
    }
}
