/*
 * =============================================================================
 * VARIABLES
 * =============================================================================
 */

:root {
    --sidemenu-bg-color: rgba(60,83,142,1);
}

/*
 * =============================================================================
 * GENERAL SETTING
 * =============================================================================
 */

* {margin:0; padding:0}

html, body {
    height:100% ! important;
    font-family: "Trebuchet MS", "Verdana", Arial, Helvetica, sans-serif;
    font-size: 100%;
    background-color: #f8f8f8;
    line-height: 1.2em;
    color: #303030;
    min-height: 100%;
    text-align: justify;
}

a {
    color: rgb(48,62,136);
    text-decoration: none;
}

/* internal anchors should be of this class */
.anchor {
    scroll-margin-top: 10rem;
}

hr {
    border: 2px solid var(--sidemenu-bg-color);
    opacity: 1;
    border-radius: 1px;
    margin: 0.5rem;
}

/* triangular list bullets */
ul.myUL, ol.myOL {
    list-style: none;
    margin-top: 0.4rem;
    margin-bottom: 0.6rem;
}

ul.myUL li:before {
    content: "\25BA \0020";
    color: var(--sidemenu-bg-color);
    display: inline-block;
    position: relative;
    left: -1.3em;
    width: 0;
}

ol.myOL {
    counter-reset: item;
    margin-left: 0.1rem;
}

ol.myOL li:before {
    content: counter(item) ". ";
    counter-increment: item;
    color: var(--sidemenu-bg-color);
    font-weight: bold;
    display: inline-block;
    position: relative;
    left: -1.3em;
    width: 0;
}

li {
    margin-right: 1em;
}

ul.myUL li:not(:last-child) {
    margin-bottom: 0.5rem;
}

ol.myOL li:not(:last-child) {
    margin-bottom: 0.5rem;
}


/*
 * =============================================================================
 * HEADER AND FOOTER
 * =============================================================================
 */

.mycontainer {
    padding: 1rem 4% 1rem 4%;
    background-color: #f8f8f8;
}

.mylogo {
    font-size: 180%;
    margin-left: 10px;
}

.mynavbar {
    margin: 0 30px 0 30px;
    background: linear-gradient(90deg,
                                rgba(60,83,142,1) 0%,
                                rgba(109,135,200,1) 41%,
                                rgba(80,113,194,1) 100%);
    border-radius: 5px;
    height: 3.5em;
}

.mynavbar-item {
    color: white;
}

.mynavbar-item:hover {
    color: #d9c19f;
    background: radial-gradient(circle,
                                rgba(192, 202, 226, 0.10) 0%,
                                rgba(119, 143, 201, 0.90) 0%,
                                rgba(192, 202, 226, 0.10) 100%);
}

.mynavbar-item-selected {
    color: #f2cf89 !important;
    font-weight: bold;
}

.mysidemenu, .mysidemenu-dropdown {
    background-color: var(--sidemenu-bg-color);
    color: white;
    border: none;
}

.nav-item {
    margin-top: 0.1rem !important;
    margin-bottom: 0.1rem !important;
}
.nav-link {padding:0 !important;}
a.active {color: #f2cf89 !important;}

.mysidesubmenu {
    margin-top: 0.4rem !important;
    margin-bottom: 0.1rem !important;
    font-style: italic;
}

.myside-1 {margin-left: 2em;}
.myside-2 {margin-left: 4em;}

.myFooterContainer {
    position: absolute;
    bottom: 0.5rem;
    width:100%;
}

.myfooter {
    background: linear-gradient(90deg,
                                rgb(60,83,142) 0%,
                                rgb(109,135,200) 41%,
                                rgb(80,113,194) 100%);
    text-align: center;
    margin: 1.5em 6% 0.2em 6%;
    padding: 1em 0 1em 0;
    border-radius: 5px;
    color: white;
}

.myPageContainer {
    position: relative;
    min-height: 100%;
}

/*
 * =============================================================================
 * SECTIONS
 * =============================================================================
 */

.mysection {
    border: 1px solid #cbcbcb;
    border-left: 5px solid var(--sidemenu-bg-color);
    border-radius: 3px;
    padding: 1rem;
    margin: 0.5rem 14% 0.5rem 14%;
    background-color: white;
}

.section-arrow {
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 0px;
    background-color: white;
    border-top: 13px solid var(--sidemenu-bg-color);
}

.section-arrow-down {
    transform: rotate(180deg);
    transition: all 1s;
}

.section-arrow-up {
    transition: all 1s;
}

.section-arrow-rotate_down {
    transform: rotate(0deg);
}

.section-arrow-rotate_up {
    transform: rotate(180deg);
}

h1 {
    color: var(--sidemenu-bg-color);
    font-size: 140%;
    font-weight: bold;
    margin: 1.5rem 14% 0.5rem 14%;
}

h1.exo {
    color: #f46052;
}

.myexo {
    border: 1px solid #cbcbcb;
    border-left: 5px solid #f46052;
    border-radius: 3px;
    padding: 1rem;
    margin: 0.5rem 14% 0.5rem 14%;
    background-color: white;
}

h3.item {
    margin-top: 0.1em;
    font-size: 100%;
}

.myitem {
    border: 1px solid #cbcbcb;
    border-left: 5px solid #f46052;
    border-radius: 3px;
    padding: 1rem;
    margin: 0.5rem 0 0.5rem 0;
    background-color: white;
    display: none;
}

.myindice {
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    padding: 1rem;
    margin: 0.5rem 0.1rem 0.5rem 0.1rem;
    background-color: white;
    display: none;
}

.indice1 {
    color: #4dc50d;
}

.indice2 {
    color: #f29c47;
}

.indice3 {
    color: #e51c1c;
}

h3 {
    color: var(--sidemenu-bg-color);
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top:2rem;
}

h3.top {
    margin-top: 0.3rem;
}

h4 {
    color: var(--sidemenu-bg-color);
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top:0.5rem;
}

/*
 * =============================================================================
 * DIVERSE SETTINGS
 * =============================================================================
 */

.boldbleuclair {
    color: var(--sidemenu-bg-color);
    font-weight: bold;
}

.my-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
}

.my-seance-card {
    width: 18rem;
    height: 14rem;
}

.my-card-header {
    color: white;
    background-color: #4289f3;
    text-align: center;
}

.my-card-anchor {
    color: black !important;
}

.boldred {
    color: #cc0000 !important;
    font-weight: bold;
}

.red {
    color: #cc0000 !important;
}

.myTopTableCell {
    white-space: nowrap;
    vertical-align: top;
}

td.nowrap {
  white-space: nowrap;
}

table.polys {
    border-style: none;
    vertical-align: middle;
    margin: 12px;
}

table.polys img {
    vertical-align: middle;
}

table.polys td {
  padding: 3px;
}

.myVideoCourse {
    margin-left: auto;
    margin-right: auto;
}

.myVideoCourse td {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
    white-space: nowrap;
}

.myVideoCourse .descr td {
    padding-bottom: 30px;
}

.videobox {
  margin-top: -10px;
  width: 266px;
  height: 200px;
  background-color: #73859f;
  border: 1px solid black;
}

.copieEcran {
    display:block;
    text-align: center;
    margin: 0.7rem;
}

table.listing {
    border-collapse: separate;
    border-spacing: 5px;
    border: 1px solid #8CACBB;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

table.listing th {
    background: #6581c6;
    border-top: 1px solid #8CACBB;
    border-bottom: 1px solid #8CACBB;
    border-right: 1px solid #8CACBB;
    color: white;
    padding: 0em 1em 0em 1em;
    font-weight: bold;
    white-space: nowrap;
}

table.listing tr.odd {
    background: transparent;
}

table.listing tr.even {
    background: #E7E9EA;
}

table.listing td {
    padding: 5px;
}

table.listing td.nomInterro {
    white-space: nowrap;
    text-align: left;
}

table.listing td.left {
    text-align: left;
}

table.latex {
    border-collapse: collapse;
    border-spacing: 5px;
    border: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

table.latex td, th {
    border: 1px solid #8CACBB;
    padding: 5px;
}

table.latex td.noborder, th.noborder {
    border: none !important;
}