html, body {
    height: 100%;
    padding: 0;
    margin: 0
}

.page {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
    line-height: 1.625rem;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    color: #000;
    font-weight: 300;
}

strong {
    font-weight: 700;
}

h1, h2, h3, h4, h5 {
    line-height: 1.3;
    font-weight: normal;
}

.bg-position-top {
    background-position: 50% 0
}

.bg-position-middle {
    background-position: 50% 50%
}

.bg-position-bottom {
    background-position: 50% 100%
}

.page:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    filter: alpha(opacity=40);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    opacity: 0.4
}

.content-header {
    background-color: #f6f4fd;
    height: 7em;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    width: 100%;
}

img {
    max-width: 100%;
    width: auto \9;
    height: auto
}

.img-wrapper {
    margin: 10px 0;
    text-align: center;
}
/*a, a:link {
    color: inherit;
    filter: alpha(opacity=85);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    opacity: 0.85
}

a:hover, a:focus, a:active {
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    opacity: 1;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}*/

.bold {
    font-weight: bold;
}

a {
    color: #1f7fe5;
    text-decoration: none;
}

p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.1em;
}

ul, ol {
    /*display: inline-block;*/
    text-align: left;
    max-width: 95%
}

li ul, li ol {
    max-width: 100%;
}

ul.wide {
    max-width: 100%;
}

.container {
    position: relative;
    display: table-cell;
    width: 100%;
    /*vertical-align: middle;*/
    padding: 1em 2em;
    z-index: 1
}

body .container.center {
    display: inherit;
}

li {
    padding-bottom: 8px;
}

li.nav-item {
    padding-bottom: inherit;
}

.content {
    max-width: 1200px;
    margin: 0 auto
}

.social-links:empty {
    outline: 1px solid yellow
}

.social-links {
    padding: 1em 0;
    vertical-align: middle
}

.social-links a {
    padding: 0 0.3em;
    line-height: normal
}

.hosting-info {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1em;
    font-size: 0.8em
}

.hosting-info p {
    margin: 0;
    padding: 0;
    font-size: 12px
}

.overlay-dark {
    background-color: #fff
}

.overlay-dark:before {
    background-color: #fff
}

.overlay-bright {
    background-color: white
}

.overlay-bright:before {
    background-color: white;
    filter: alpha(opacity=70);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    opacity: 0.7
}

body.debug:after {
    content: "default";
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: white;
    color: black;
    padding: 0.5em;
    font-size: 10px;
    text-transform: uppercase
}

@media screen and (max-width: 640px) {
    body.debug:after {
        content: "small"
    }

    h1 {
        font-size: 2em
    }

    ul, ol {
        max-width: none
    }

    .page {
        min-width: 300px
    }

    .page .container {
        padding: 3em
    }
}

@media screen and (min-width: 641px) and (max-width: 1199px),(min-height: 500px) and (max-height: 1199px) {
    body.debug:after {
        content: "medium"
    }

}

@media screen and (min-width: 1200px) {
    body.debug:after {
        content: "large"
    }

}

.page .fallback-bg {
    display: none
}

.ie8 .page .fallback-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: inherit;
    z-index: 0
}

iframe {
    border: 1px solid #ccc !important;
}

.breadcrumb {
    /*border-bottom: 1px solid rgba(31, 127, 229, 0.5);*/
    padding: 5px 0 0 0;
    color: #000000;
}

.breadcrumb a {
    color: #000000;
}

#menu-btn {
    float: right;
    display: block;
    margin-top: -30px;
}

h1 {
    border-bottom: 1px solid #ccc;
    margin-bottom: 27px;
    font-size: 30px;
}
h1.inactive {
    color: #a4a4a4;
}
.tp h1 {
    border: none;
    margin-top: 50px;
}

.content-header h1 {
    border-bottom: none;
}

h2 {
    margin-top: 40px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 20px;
}

h2.accordion-header {
    margin-top: 0;
}

h3 {
    color: #1f7fe5;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

h4 {
    font-weight: bold;
}

h4 + ol {
    margin-top: 0px;
}

.pl-30 {
    padding-left: 30px;
}

.pl-60 {
    padding-left: 60px;
}

.timetable {
    margin-top: 15px;
}

.timetable tr td {
    border-color: #cccccc;
    border-width: 1px;
}

.timetable tr:first-child,
.timetable tr:nth-child(2) {
    background-color: #e6f4fb;
}
.timetable tr:first-child td:first-child {
    border-left: none;
    border-top: none;
    background-color: white;
}

td.dayoff {
    background-color: #e6f4fb;
}

td.dayoff-spec {
    background-color: #94ff2e;
}

#pageM6 .timetable td:nth-child(1),
#pageM6 .timetable td:nth-child(3),
#pageM6 .timetable td:nth-child(5) {
    width: 10%;
}
#pageM6 .timetable td:nth-child(2) {
    width: 40%;
}

#pageM7 .timetable td:nth-child(1),
#pageM7 .timetable td:nth-child(3),
#pageM7 .timetable td:nth-child(5) {
    width: 10%;
}
#pageM7 .timetable td:nth-child(2),
#pageM7 .timetable td:nth-child(4) {
    width: 35%;
}

.announce {
    /*border-left: 7px double #333;*/
    margin: 20px;
    border-radius: 5px;
    padding: 10px;
    position: relative;
}
.announce-exercice {
    border-color: #1f7fe5;
    background-color: #e6f4fb;
}
.announce-exercice2 {
    border-left: 7px double #1f7fe5;
    padding: 0;
    box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,.05), 0 0 0.0625rem rgba(0,0,0,.1);
}
.announce-exercice2 .header {
    background-color: rgb(89 51 209 / 10%)!important;
    padding: 5px;
    font-weight: bold;
}
.announce-exercice2 p {
    padding-left: 10px;
}

.announce-exercice .fa {
    color: #3fa5db;
}
.announce-theory {
    border-color: #00a113;
    background-color: #fdefe1;
}
.announce-theory .fa {
    color: #f39539;
}
.announce-question {
    border-color: #565656;
    background-color: #f4f4f4;
}
.announce-question .fa {
    color: #565656;
}

.announce .header {
    font-style: italic;
    cursor: pointer;
}

.announce-theory .header {
    /* font-style: italic; */
    cursor: pointer;
    font-weight: 600;
    padding-left: 10px;
}

.announce .data {
    padding: 10px 30px 10px 10px;
    font-size: 14px;
}

.announce .data {
    display: none;
}
.announce-exercice .data,
.announce-exercice2 .data,
.announce-theory .data {
    display: block;
}

.fa {
    float: right;
    margin-right: 20px;
    font-size: 22px;
}
.foldable h1 .fa {
    margin-top: 10px;
}
.foldable {
    padding-bottom: 50px;
}
.announce .fa {
    position: absolute;
    font-size: 24px;
    left: -12px;
    top: -12px;
}

.announce .fa.see-more,
.announce-exercice2 .fa{
    position: static !important;
}

.link-file {
    color: #395e0b;
}

.link-file .fa {
    margin-right: 0;
    float: none;
}
.link-right .fa {
    /*float: right;*/
}

.fa-right {
    display: inline-block;
    float: right;
    margin-left: 20px;
}

.fa-left .fa {
    float: left;
    margin-right: 7px;
}

.fa-rel {
    display: contents;
}

.btn .fa {
    float: none;
    margin: 0;
    font-size: inherit;
}

.blue {
    color: #1f7fe5;
}

.green {
    color: #5ba111;
}

span.menu {
    font-size: 12px;
    font-style: italic;
}

.table {
    border-collapse: collapse;
    width: 100%;
}

.table-nb tr td {
    border: none !important;
}

.table td {
    border-style: solid;
    padding: 10px;
    vertical-align: middle;
}

.table-truth {
    margin: 10px auto;
    border: none;
    text-align: center;
    width: auto;
    margin-bottom: 20px !important;
}

.table-truth tr {
    height: 30px;
}

.table-truth tr {
    background-color: #fff;
}

.table-truth tr:first-child {
    font-weight: bold;
    background-color: #a1ddff;
}

.table-truth tr td {
    border: 1px solid #000 !important;
    width: 60px;
    padding: 3px;
}
.table-truth tr td.out {
    border-left-width: 2px !important;
}

.table-truth tr td.output {
    background-color: cadetblue;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.footer-small {
    text-align: right;
    font-style: italic;
    font-size: 11px;
    color: #333;
}

.btn {
    border-radius: 5px;
    border: 1px solid #000;
    cursor: pointer;
}

.btn-x-large {
    padding: 20px 30px;
    font-size: 24px;
}

.btn-info {
    color: white;
    background-color: #1f7fe5;
    border-color: #104c89;
}

.btn-msg {
    color: white;
    background-color: #5ba111;
    border-color: #395e0b;
}

.foldable-icon {
    cursor: pointer;
}

.foldable-content{
    display: block;
}

.text-img {
    display: flex;
    align-items: flex-start;
}
.text-img p {
    flex: 1;
    text-align: left;
}

figcaption {
    width: 70%;
    background: inherit;
    position: static;
    margin: 10px auto 10px auto;
    padding-top: 5px;
    border-top: 1px solid rgba(0,0,0,.1);
    font-size: .813rem;
    line-height: 1.438rem;
    color: rgba(0,0,0,.45);
}
.img-wrapper img {
    width: 70%;
}

.img-wrapper.w90 img {
    width: 90%;
}
.img-wrapper.w50 img {
    width: 50%;
}
.img-wrapper.mw200 img {
    width: 200px;
}

.img-wrapper.border {
    border: 1px solid #333;
    border-radius: 5px;
    -webkit-box-shadow: 5px 5px 10px -2px #333333;
    box-shadow: 5px 5px 10px -2px #333333;
}

li ul {
    margin-top: 10px;
}

p.code {
    text-align: center;
    margin-top: 0;
    font-size: 1.25rem;
}

p:has(code) {
    line-height: normal;
}

p:has(+ p.code) {
    margin-bottom: 0;
}

code {
    font-size: 1.2em;
}

select {
    width: 100%;
    padding: 10px;
}

#class-selector {
    display: none;
}

.accordion-button {
    background-color: #eee;
}

.no-margin-top {
    margin-top: 0;
}

.no-margin-bottom {
    margin-bottom: 0;
    padding-bottom: 0;
}

