.id1201 {
    padding-top: 0;
}

/* don't display the lms-menu inside entries generated from bazarliste action */
.bazar-list .lms-container div.lms-menu {
    display: none;
}
/* don't display the boutonretour bazar field inside entries generated from bazarliste action */
.bazar-list div.BAZ_cadre_fiche > div.BAZ_boutonretour {
    display: none;
}

/* the lms container takes the full width, and adds minimum padding left and right */
.lms-container {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 1em;
}
/* specific rendering when in iframe */
.yeswiki-iframe-body .lms-container {
    left: 0;
    right: 0;
}
/* specific rendering when a user preview a lms in a modal */
/* for width */
#YesWikiModal .lms-container {
    width: 100% !important;
    margin-left: -50%;
    margin-right: -50%;
}
/* to hide the navigation menu */
#YesWikiModal .lms-container .lms-menu {
    display: none;
}

/* remove the info bar below the entry, but keep for admins */
.lms-container ~ .BAZ_fiche_info {
    display: none;
}
.lms-container.admin-user ~ .BAZ_fiche_info {
    display: block;
}
.lms-container .row {
    position: relative;
}
.lms-menu {
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
}

/* remove all margins in iframe */
.yeswiki-iframe-body > .container, .yeswiki-iframe-body > .container > .yeswiki-page-widget {
    padding: 0;
}

/* display menu link which are not actived in the main text color */
.panel-menu-lms .list-group-item a,
.panel-menu-lms .list-group-item a:visited {
    color: inherit;
}

.bazar-list .lms-container {
    width: 100% !important;
    left: auto;
    right: auto;
    margin: 0;
    padding: 0;
}
.bazar-list .lms-module-content,
.bazar-list .lms-activity-content {
    width: 100%;
}

.module-launch {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*display: inline-block;*/
}
.module-launch > a {
    width: 160px;
}
.module-nav .pager-lms {
    margin: 0
}
.module-nav li.square>a {
    border-radius: 0;
    margin-left: 5px;
}

/* reactions */
.reactions-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.reaction-img {
    width: 80%;
}
.reaction-content {
    width: 7em;
    text-align: center;
    margin-bottom: 1em;
    font-size: 0.9em;
}
.reaction-title {
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 1em;
    align-items: center;
}
.reaction-numbers {
    color: #333;
    font-size: 1.1em;
    font-weight: bold;
}
.add-reaction {
    display: flex;
    align-items: center;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5em;
    padding: 1em 0.5em;
    transition: all 200ms ease-in;
    box-shadow: none;
}
.add-reaction:hover {
    border: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}
.add-reaction:focus,
.add-reaction:active,
.add-reaction:visited {
    text-decoration: none;
}
.disabled,
.disabled:hover {
    cursor: not-allowed !important;
}
.user-reaction {
    border: 1px solid var(--primary-color);
}

/**
 * Comments
 ---------------------------*/
.comments-list:before {
    content: "";
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    left: 0;
    position: absolute;
    top: 0;
}
/* .comments-list:after {
	content: '';
	position: absolute;
	background: #c7cacb;
	bottom: 0;
	left: 27px;
	width: 7px;
	height: 7px;
	border: 3px solid #dee1e3;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
} */
.reply-list:before,
.reply-list:after {
    display: none;
}
.reply-list li:before {
    content: "";
    height: 2px;
    position: absolute;
    width: 30px;
    background: var(--primary-color);
    top: 19px;
    left: 1px;
}
.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}
.comments-list li:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    width: 0;
}
.reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}
/* avatar */
.comments-list .comment-avatar {
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.comments-list .comment-avatar img {
    width: 100%;
    height: 100%;
}
.reply-list .comment-avatar {
    width: 30px;
    height: 30px;
}
.comment-main-level:after {
    content: "";
    width: 0;
    height: 0;
    display: block;
    clear: both;
}
/* comments - cards */
.comments-list {
    margin-top: 30px;
    margin-left: 0;
    position: relative;
    padding: 0;
}
.comments-list .comment-box {
    width: calc(100% - 12px);
    float: right;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
}
.comments-list .comment-box:before,
.comments-list .comment-box:after {
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    display: block;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    top: 8px;
    border-color: transparent var(--primary-color);
    left: -12px;
}
.comments-list .comment-box:before {
    border-width: 11px 13px 11px 0;
    border-color: transparent rgba(0, 0, 0, 0.05);
    left: -13px;
}
.reply-list .comment-box {
    width: calc(100% - 40px);
}
.comment-box .comment-head {
    background: #fcfcfc;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}
.comment-box .comment-head i {
    float: right;
    margin-left: 14px;
    position: relative;
    top: 2px;
    color: #a6a6a6;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
.comment-box .comment-head i:hover {
    color: #03658c;
}
.comment-box .comment-name {
    color: #283035;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}
.comment-box .comment-name a {
    color: #283035;
}
.comment-box .comment-head span {
    float: left;
    color: #999;
    font-size: 13px;
    position: relative;
    top: 5px;
}
.comment-box .comment-content {
    background: #fff;
    padding: 12px;
    font-size: 15px;
    color: #595959;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

/* module display */
.module-list {
    margin: 1em 0;
}
.module-card {
    box-shadow: 0 7px 30px -10px rgba(150, 170, 180, 0.75);
    padding: 1em;
    margin: 1em 0;
    border-radius: 0.5em;
    border: 1px solid var(--primary-color, #444);
    display: flex;
    align-items: stretch;
}
.module-image {
    margin: -1em 1em -1em -1em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.module-image img {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0;
    width: 200px;
}
.module-content {
    flex: 1;
    display: flex;
    align-content: space-between;
    flex-direction: column;
}
.module-content > h3 {
    margin-top: 0;
    font-size: 1.3rem;
}
.module-status {
    margin-top: 0.5em;
}
.description-module {
    flex: 1;
    font-size: 0.9em;
    line-height: 1.2em;
    margin-right: 1em;
}
.module-activities {
    width: 160px;
    display: flex;
    align-content: space-between;
    flex-direction: column;
    font-size: 0.85em;
}
.module-activities .activities-duration {
    white-space: nowrap;
}

.activities-infos {
    flex: 1;
}
.activities-action {
    text-align: right;
}
.activities-action .btn-xs {
    font-size: 0.8em;
}
/* todo : only available for margot theme */
.panel-title a:hover {
    color: #fffd;
    text-decoration: none;
}
.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
    color: var(--primary-color);
    background-color: transparent;
    border-color: transparent;
    font-weight: bold;
}

.status-0, /* UNKNOWN */
.status-1, /* CLOSED */
.status-2 /* TO_BE_OPEN */
.status-not_accessible { /* NOT_ACCESSIBLE */
    opacity: 0.7;
}

/* lms admin dashboard */
.dashboard-title {
    margin-bottom: 50px;
}
.dashboard-summary {
    border: .3rem solid transparent;
    border-radius: 0.5em;
    background: var(--neutral-light-color);
    padding: 10px 15px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.dashboard-summary .summary-title {
    font-size: 1.2rem;
    font-weight: 600;
    flex: 2;
}
.dashboard-summary .finished-ratio {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: right;
    flex: 1;
}
.dashboard-summary .finished-ratio .label-icon,
.panel-lms-dashboard .panel-heading .finished-ratio .label-icon {
    color: #8dc63f;
    margin-right: 5px;
}
.dashboard-summary .estimated-time,
.dashboard-summary .first-access {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: right;
    flex: 1;
}
.dashboard-summary .estimated-time .label-icon,
.panel-lms-dashboard .panel-heading .estimated-time .label-icon,
.dashboard-summary .first-access .label-icon,
.panel-lms-dashboard .panel-heading .first-access .label-icon {
    color: var(--neutral-soft-color);
    margin-right: 5px;
}
.panel-lms-dashboard {
    border-radius: .5em;
    margin-top: .6rem !important;
    background-color: transparent;
    transition: border .3s, margin .3s;
    padding: 0 5px;
    border: .2rem solid transparent;
    margin-left: 50px;
    box-shadow: none;
}
.panel-lms-dashboard .panel-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
/* display the right chevron according to the panel state */
.panel-lms-dashboard .panel-heading.collapsed .fa-chevron-up {
    display: none;
}
.panel-lms-dashboard .panel-heading:not(.collapsed) .fa-chevron-down {
    display: none;
}
.panel-heading[data-toggle="collapse"] {
    --chevron-color: transparent; /* hack to not display the bootstrap right chevron */
}
.panel-lms-dashboard .panel-heading .fa-chevron-up,
.panel-lms-dashboard .panel-heading .fa-chevron-down {
    margin-right: 20px;
}
.panel-lms-dashboard .panel-heading .panel-title {
    font-size: 1rem;
    font-weight: 600;
    flex: 2;
}
.panel-lms-dashboard .panel-heading .panel-title a:not(.btn) {
    color: var(--link-color);
    font-weight: 600;
}
.panel-lms-dashboard .panel-heading .panel-title a:not(.btn):focus,
.panel-lms-dashboard .panel-heading .panel-title a:not(.btn):hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}
.panel-lms-dashboard .panel-heading .finished-ratio {
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    flex: 1;
}
.panel-lms-dashboard .panel-heading .estimated-time,
.panel-lms-dashboard .panel-heading .first-access {
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
}
.panel-lms-dashboard .panel-heading .estimated-time {
    flex: 1;
}
.panel-lms-dashboard .panel-heading .first-access {
    flex: 2;
}
.dashboard-course {
    color: var(--secondary-color-1);
}
.dashboard-course-frame {
    border-color: var(--secondary-color-1);
}
.dashboard-module {
    color: var(--secondary-color-2);
}
.dashboard-module-frame {
    border-color: var(--secondary-color-2);
}
.dashboard-activity {
    color: var(--secondary-color-1);
}
.dashboard-activity-frame {
    border-color: var(--secondary-color-1);
}
.dashboard-legend-frame {
    border-color: var(--neutral-soft-color);
}
.course-back {
    margin-bottom: 30px;
}
.learners-groups {
    display: flex;
    flex-wrap: wrap;
}
.learners-groups .learners-group {
    flex: 1 1 300px;
}
.learners-groups .fieldset-group {
    position: relative;
    box-shadow: 0 7px 20px -10px rgba(150, 170, 180, 0.75);
    padding: 1em;
    margin: 1em 10px 2em 10px;
    border-radius: 0.5em;
    border: 1px solid var(--primary-color, #444);
    display: flex;
}
.learners-groups .fieldset-group label {
    position: absolute;
    z-index: 5;
    height: 1.3em;
    left: 1.7rem;
    background-color: var(--neutral-light-color);
    bottom: calc(100% - 15px);
    padding: 0 10px;
    font-size: 1.8em;
    margin: 0;
}
.learners-groups .fieldset-group label i.fa-user-check{
    color: #8dc63f;
}
.learners-groups .fieldset-group label i.fa-user-times{
    color: var(--danger-color);
}
.learners-groups .learner-details {
    /*margin: 10px 5px 0px 5px;*/
    margin: 10px auto 0px auto;
    padding: 0;
    list-style: none;
    /* doesn't manage to make work grid, the nowrap on li make it exceed the learner-details */
    /*display: grid;*/
    /*grid-auto-flow: column;*/
    /*grid-template-columns: max-content max-content;*/
    /*repeat(auto-fill, minmax(200px, 1fr));*/
    /*grid-row-gap: 2rem;*/
    /*grid-column-gap: 1rem;*/
}
.learners-groups .learner-details li{
    display: block;
    margin-bottom: 2px;
    /*white-space: nowrap;*/
    /*margin: 5px 10px;*/
    /*min-width: 200px;*/
}