
.questions-pool .list
{
    margin-top: 1em;
    max-height: calc(100vh - 9em);
    overflow: auto;
    overflow-x: hidden;
}

.question
{
    margin-bottom: 0.5em;
    border: 5px solid transparent;
    border-radius: 5px;
    width: calc(100% - 20px);
    transition : border-color 0.3s;
}

.question.claimed.me
{
    border-color: #26c97e;
}

.question.claimed .head,
.question.claimed .foot
{
    border-radius: 0;
}

.question.claimed.other
{
    border-color: #777272;
    cursor: not-allowed;
    filter: saturate(0) brightness(0.5);
}

.question button.unclaim
{
    width: initial;
    margin-top: 1em;
    margin-right: 0;
    margin-left: auto;
    background: #620000;
}

.question .head
{
    background: #373636;
    padding: 0.7em;
    width: calc(100% - 1.4em);
    border-radius: 5px 5px 0px 0px;
    transition : background 0.3s;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-drag: none;
    -moz-user-select: none;
    cursor: pointer;
    overflow: auto;
}

.question .head:hover
{
    background: #454545;
}

.question-head
{
    text-align: left;
    padding: 0.7em;
    padding-bottom: 0;
    width: calc(100% - 1.4em);
    text-wrap: nowrap;
    overflow: hidden;
    font-style: italic;
    font-size: 0.9em;
    text-overflow: ellipsis;
    border-top: 1px solid #898989;
    margin-top: 0.8em;
}

.question .inscription-date
{
    position: absolute;
    z-index: 1;
    background: #312f2f;
    padding: 0.5em;
    border-radius: 5px;
    font-size: 0.7em;
    margin-top: 45px;
    margin-left: -7px;
    box-shadow: 0 0 15px #00000057;
    pointer-events: none;
    width: 180px;
}

.question .head .up
{
    flex-direction: row;
}

.question .head .up .user
{
    flex-direction: row;
    margin-left: 0;
    margin-right: 0;
    width: initial;
}

.question .head .up .user img
{
    flex-direction: row;
    margin-right: 0;
    margin-left: 0;
    border-radius: 40px;
    width: 40px;
}

.question .head .up .user label
{
    width: auto;
    margin-left: 0.2em;
    margin-right: 0;
    font-size: 0.9em;
}

.question .head .up .softs
{
    flex-direction: row;
    margin: auto;
    margin-left: 0.5em;
    width: initial;
}

.question .head .up .softs img
{
    width: 27px;
    margin: auto 0.5em;
}

.question .head .up .concepts
{
    flex-direction: row;
    margin-right: 0;
    margin-left: auto;
    width: initial;
}

.question .head .up .concepts label
{
    background: #1f4543;
    border-radius: 30px;
    font-size: 0.7em;
    text-wrap: nowrap;
    padding: 0.5em 1em;
    box-shadow: 0px 0px 19px 0 #00000059;
    margin: 2px;
}

.question .head .up .question
{

}

.question .body
{
    background: #2d2b2b;
}


.question .question-body
{
    padding: 1em;
    text-align: left;
    width: calc(100% - 2em);
    font-style: italic;
}

.question .attached .imgs
{
    display : grid;
}

img.fullscreen
{
    cursor: pointer;
    transition : box-shadow 0.3s;
}

img.fullscreen:hover
{
    box-shadow: 0px 0px 19px 0 #00000059;
}

.question .attached .imgs img
{
    margin: 1em;
    max-width: calc(100% - 2em);
    width: initial;
}

.question .files 
{

}

.question .files .file
{
    flex-direction: row;
    padding: 0.2em 0.5em;
    width: calc(100% - 2em);
    background: #434343;
    margin-bottom: 4px;
    border-radius: 3px;
}

.question .files .file label
{
    width: initial;
    margin-left: 1em;
    margin-right: auto;
    text-wrap: nowrap;
    font-style: italic;
    font-size: 0.8em;
}

.question .files .file img.icon
{
    width: 22px;
    filter: invert(1);
    margin: auto 0;
    position: relative;
    opacity: 1;
}

.question .files .file button
{
    width: initial;
    margin-left: auto;
    margin-right: 0;
    padding: 6px;
}

.question .files .file button img.icon
{

}

.question .chrono
{
    flex-direction: row;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    width: initial;
    background: #555555;
    border-radius: 5px;
    padding: 0.2em 0.6em;
    padding-right: 0;
}

.question .waiting
{
    padding: 0.2em 0.6em;
    font-size: 0.8em;
    font-style: italic;
}

.question .chrono *
{
    margin: auto;
    width: initial;
    text-align: right;
    margin-left: 0;
    margin-right: 0.4em;
}

.question .chrono .nombre
{
    font-weight: bold;
}

.question .chrono .labels
{
    font-style: italic;
    font-size: 0.8em;
    color : #DDDDDD;
}

.question .time
{
    margin-right: 0;
    width: initial;
    font-size: 0.7em;
    color: #939292;
    font-style: italic;
}

.question .foot
{
    background: #434343;
    border-radius: 0px 0px 5px 5px;
    padding: 0.5em;
    width: calc(100% - 1em);
    flex-direction: row;
    align-items: center;
}

.question .foot .claim
{
    width : initial;
    margin-left: 0;
}

.page .loader div
{
    background: #dfdede;
}

.question .foot .awnser-head
{
    flex-direction: row;
}

button.help
{
    border-radius: 50px;
    width: initial;
    margin-left: 0.5em;
    font-weight: bold;
}

.awnser textarea
{
    max-width: calc(100% - 2em);
}

.awnser .dnd
{
    background: #5b5b5b;
    padding: 5em;
    width: calc(100% - 10em);
    border-radius: 10px;
    cursor: pointer;
    font-style: italic;
}

.awnser .dnd img
{
    position: absolute;
    opacity: 0.2;
    width: 25%;
    height: 60%;
    object-fit: contain;
}

.awnser .dnd button.help
{
    margin-left: auto;
}

button.send
{
    margin: 1em;
    text-align: center;
    display: block;
    width: calc(100% - 2em);
    background: #037345;
}

button.send:disabled
{
    background: #4f4f4f;
    color: grey;
}

.question p.awnser-text
{
    font-size: 0.85em;
    font-style: italic;
}

div.tchat header div.name
{
    font-size: 0.8em;
}

.windows-manager div.tchat
{
    font-size : 0.85em;
}

.list .elmts
{
    max-height: 85vh;
    overflow: auto;
}

.list .elmt
{
    background: #474646;
    border-radius: 3px;
    margin-top: 2px;
    cursor: pointer;
    transition: background 0.1s;
    padding: 0.5em;
    width: calc(100% - 1.5em);
    font-size: 0.85em;
    text-align: left;
    padding-left: 1em;
}

.list .elmt:hover
{
    background:#575757
}

.list .elmt.selected
{
    background: #285d58;
}

.dialog .lecteur div.buttons
{
    padding-bottom: 2em;
}

.lecteur .settings-bloc
{
    z-index: 100;
}

.elmt .id
{
    display: initial;
}

.dialog .lecteur
{
    width: 95%;
}

.dialog .lecteur .gradient
{
    position: relative;
}

.question .links a
{
    display: block;
    padding: 1em;
    text-align: left;
    background: #353535;
    width: initial;
    margin: 0.5em;
    border-radius: 3px;
    font-size: 0.85em;
}

.questions-pool .pool-head
{
    display: flex;
    flex-direction: row;
}

.questions-pool .pool-head button.refresh
{
    width: initial;
    padding: 0.8em;
    margin-left: 1em;
}

.questions-pool .pool-head button.refresh img
{
    filter: invert(1);
    width: 22px;
}

button.modify
{
    width: 30px;
    padding: 0;
    margin-left: auto;
    margin-right: 0;
}

button.modify img
{
    filter: invert(1);
    width: calc(100% - 10px);
    margin: 5px;
}

button.tchat,
button.upload
{
    padding: 5px;
    width: 32px;
    border-radius: 50px;
    margin-left: auto;
    margin-right: 0;
}

button.upload
{
    padding : 9px;
    margin-left: 0.5em;
}

button.tchat img,
button.upload img
{
    filter: invert(1);
    width: calc(100% - 3px);
}

body div.tchat div.msg footer
{
    position : static;
}

button.page-tchat-btn
{
    transition: background-color 0.25s;
}

button.page-tchat-btn.unread
{
    background-color: #2e5872;
}

button.page-tchat-btn > div
{
    flex-direction: row;
    width: inherit;
}

button.page-tchat-btn div.name
{
    width: inherit;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

button.page-tchat-btn img.icon
{
    width: 32px;
    filter: invert(1);
    margin-left: auto;
    margin-right: 0;
}

button.context-fixed
{
    position: fixed;
    width: inherit;
    z-index: 1000;
    text-align: left;
    text-wrap: nowrap;
    padding: 0.5em 0.8em;
}

.dialog .add-as-question
{
    width: calc(100% - 10px);
}

.add-as-question .softs
{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
}

.add-as-question button
{
    transition: background-color 0.3s;
    user-select: none;
    webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-drag: none;
}

.add-as-question button.active
{
    background-color: #017639;
}

.add-as-question .softs button
{
    padding: 0.2em;
    margin: 0.1em;
    width: initial;
}

.add-as-question .softs button img
{
    width: 20px;;
}

.question .head .claimed
{
    text-align: right;
    color: #9a9a9a;
    font-style: italic;
    font-size: 0.8em;
    display: block;
}

.student
{
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-bottom: 3px;
    padding: 0.5em;
    background: #414141;
    box-shadow: 0 0 12px 0 #00000066;
    border-radius: 3px;
    width: calc(100% - 1em);
    cursor: pointer;
}

.student img
{
    border-radius: 100px;
    width: 32px;
    margin: auto;
    margin-left: 0;
    margin-right: 0;
}

.student label.name
{
    width: initial;
    margin-left: 1em;
}

div.page main button.add-conv
{
    position: fixed;
    bottom: 0;
    margin: 1em;
    right: 0;
    width: initial;
}
