li{
    margin-bottom:10px;
}

/* todo: enquêter sur l'utilité de cette règle */
.form-group{
    display: inline-grid;
}
/* 2019/01/16: répare popin media pour ne pas avoir leurs champs en 3 colonnes */
.modal .createMedia .form-group{
    display: block;
}
/* 2019/03/04: répare popin leçon pour occuper dans la largeur */
[name="coursesbundle_lecon"] .form-group{
    display: block;
}

#form_courses_composant .form-Header{
    display: inline-grid !important;
}

/* ASSOCIATION */

.association{
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    position: relative;
}

.removeAsso, .removeQCM_reponse, .removeQCM_question{
    cursor: pointer;
    color: #ababab;
    z-index: 100;
}

.removeAsso{
    position: absolute;
    right: 30px;
}

.association .btnMedia, .qcmBlock .btnMedia{
    float:right;
    margin: 10px 0 0 0;
}

.tinymce {
    min-height: 70px;
}

/* MULTIPLE CHOICE */

#qcm-list{
    padding: 0;
}

#qcmBlock .tinymce{
    min-height: 100px;
}

#qcmBlock .btnMedia{
    float:right;
    /*margin: 10px 0;*/
}

.iconQuestion{
    padding: 3px 0;
}

.removeQCM_question{
    color: #ababab;
    cursor: pointer;
}

.textareaormedia{
    margin-top: 30px;
}

.btnVrai, .btnFaux{
    border-color: #eaeaea;
    color : #fff !important
}

.headerReponses .btn {
    border-color: #eaeaea;
    color: #fff !important;
}

.btnBorderRadius{
    border-radius: 0.25rem !important;
}

.qcm-reponses-list .widget_media p{
    display: none;
}

.qcm-reponses-list .widget_media{
    max-width: 200px;
    max-height: 200px;
}

    /* BOUTONS TOGGLE */

.btn-toggle {
    margin: 0 4rem;
    padding: 0;
    position: relative;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
    color: #6b7381;
    background: #bdc1c8;
}
.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
    outline: none;
}
.btn-toggle:before,
.btn-toggle:after {
    line-height: 1.5rem;
    width: 4rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 0;
    transition: opacity .25s;
}
.btn-toggle:before {
    content: 'Off';
    left: -4rem;
}
.btn-toggle:after {
    content: 'On';
    right: -4rem;
    opacity: .5;
}
.btn-toggle > .handle {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 1.125rem;
    background: #fff;
    transition: left .25s;
}
.btn-toggle.active {
    transition: background-color 0.25s;
}
.btn-toggle.active > .handle {
    left: 1.6875rem;
    transition: left .25s;
}
.btn-toggle.active:before {
    opacity: .5;
}
.btn-toggle.active:after {
    opacity: 1;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
    display: none;
}
.btn-toggle:before,
.btn-toggle:after {
    color: #6b7381;
}
.btn-toggle.active {
    background-color: #7e7e7e; /* coleur du toggle, default: #29b5a8; */
}
.btn-toggle.btn-xs {
    margin: 0 0;
    padding: 0;
    position: relative;
    border: none;
    height: 1rem;
    width: 2rem;
    border-radius: 1rem;
}
.btn-toggle.btn-xs:focus,
.btn-toggle.btn-xs.focus,
.btn-toggle.btn-xs:focus.active,
.btn-toggle.btn-xs.focus.active {
    outline: none;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
    line-height: 1rem;
    width: 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 0;
    transition: opacity .25s;
}
.btn-toggle.btn-xs:before {
    content: 'Off';
    left: 0;
}
.btn-toggle.btn-xs:after {
    content: 'On';
    right: 0;
    opacity: .5;
}
.btn-toggle.btn-xs > .handle {
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.75rem;
    background: #fff;
    transition: left .25s;
}
.btn-toggle.btn-xs.active {
    transition: background-color 0.25s;
}
.btn-toggle.btn-xs.active > .handle {
    left: 1.125rem;
    transition: left .25s;
}
.btn-toggle.btn-xs.active:before {
    opacity: .5;
}
.btn-toggle.btn-xs.active:after {
    opacity: 1;
}
.btn-toggle.btn-xs.btn-xs:before,
.btn-toggle.btn-xs.btn-xs:after {
    display: none;
}

#mediaBlock img{
    max-height: 600px !important;
}

#delete_media{
    margin-left: 15px;

}

#delete_media :hover{
    color: #fff;
    background-color: #63c2de;
    padding: 5px;
    border-radius: 5px;
}