html {
    position: relative;
    min-height: 100%;
}

body {
    color: #333;
    padding-top: 4rem;
    padding-bottom: 8rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
}

h2 {
    font-weight: 600;
    border-bottom: #6ca0e8 solid 2px;
    margin: 2rem 0;
}

h3, h4 {
    border-bottom: #94b9eb solid 2px;
    margin: 2rem 0;

}

h6 {
    color: #555;
    font-style: italic;
}

pre {
    color: #333;
    display: block;
    padding: .75rem;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
}

blockquote {
    font-weight: 400;
    font-size: 1.35rem;
    margin: 1rem 0 2rem;
    border-left: 2px solid #ccc;
    padding-left: 2rem;
}

.container {
    font-size: 1.1rem;
}

.pagination {
    font-size: .95rem;
    margin-top: 4rem;
}

.footer {
    background-color: #f7f7f7;
    font-size: .85rem;
    padding: .875rem 0 .875rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 6rem;
    overflow: visible;
}

.table {
    font-size: 1rem;
    color: inherit;
    width: auto;
    margin: auto;
}

.navbar {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.bd-navbar {
    background-color: #563d7c;
}

.bd-navbar .navbar-nav .nav-link {
    padding-right: .65rem;
    padding-left: .65rem;
    color: #cbbde2;
}

.bd-navbar .navbar-nav .nav-link.active,
.bd-navbar .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: transparent;
}

.bd-navbar .navbar-nav .nav-link.active {
    font-weight: 600;
}

.bd-toc {
    font-size: .875rem;
    top: 3rem;
    right: 0;
    position: fixed;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    height: calc(100vh - 4rem);
    overflow-y: auto;
}

.section-nav {
    padding-left: 0;
    border-left: 1px solid #eee;
}

.section-nav ul {
    padding-left: 1rem;
}

.toc-entry {
    margin-left: -15px;
    display: block;
}

.toc-entry a {
    display: block;
    padding: .125rem 1.5rem;
    color: #77757a;
}

.toc-entry a:hover {
    color: #007bff;
    text-decoration: none;
}

.toc-entry ul {
    list-style: none;
}
/*

!* Alert *!
code span.al {
    color: #ff0000;
    font-weight: bold;
}

!* Annotation *!
code span.an {
    color: #60a0b0;
    font-weight: bold;
    font-style: italic;
}

!* Attribute *!
code span.at {
    color: #7d9029;
}

!* BaseN *!
code span.bn {
    color: #40a070;
}

!* BuiltIn *!
code span.bu {
    color: #06287e;
}

!* ControlFlow *!
code span.cf {
    color: #007020;
    font-weight: bold;
}

!* Char *!
code span.ch {
    color: #4070a0;
}

!* Constant *!
code span.cn {
    color: #880000;
}

!* Comment *!
code span.co {
    color: #60a0b0;
    font-style: italic;
}

!* CommentVar *!
code span.cv {
    color: #60a0b0;
    font-weight: bold;
    font-style: italic;
}

!* Documentation *!
code span.do {
    color: #ba2121;
    font-style: italic;
}

!* DataType *!
code span.dt {
    color: #902000;
}

!* DecVal *!
code span.dv {
    color: #40a070;
}

!* Error *!
code span.er {
    color: #ff0000;
    font-weight: bold;
}

!* Extension *!
code span.ex {
    color: #06287e;
}

!* Float *!
code span.fl {
    color: #40a070;
}

!* Function *!
code span.fu {
    color: #06287e;
}

!* Import *!
code span.im {
    color: #007020;
    font-weight: bold;
}

!* Information *!
code span.in {
    color: #60a0b0;
    font-weight: bold;
    font-style: italic;
}

!* Keyword *!
code span.kw {
    color: #007020;
    font-weight: bold;
}

!* Operator *!
code span.op {
    color: #666666;
}

!* Other *!
code span.ot {
    color: #007020;
}


!* Preprocessor *!
code span.pp {
    color: #bc7a00;
}

!* SpecialChar *!
code span.sc {
    color: #4070a0;
}

!* SpecialString *!
code span.ss {
    color: #bb6688;
}

!* String *!
code span.st {
    color: #4070a0;
}

!* Variable *!
code span.va {
    color: #19177c;
}

!* VerbatimString *!
code span.vs {
    color: #4070a0;
}

!* Warning *!
code span.wa {
    color: #60a0b0;
    font-weight: bold;
    font-style: italic;
}
*/


pre > code {
    display: block;
    margin: 20px;
    color: #210e9c;
//background:#f5f5f5;
}

.sourceCode {
    display: block;
    margin: 20px;
    color: #210e9c;
//background:#f5f5f5;
}

.questions {
    counter-reset: qtcounter;
    counter-increment: exocounter;
    content: "Exercice " counter(exocounter) ".\0000a0\0000a0";
}

.exercice:before {
    font-size: 2em;
    content: "Exercice " counter(exocounter) ".\0000a0\0000a0";
}

.question:before {
    counter-increment: qtcounter;
    font-size: 1.3em;
    color: red;
    /*  font-size: larger;*/
    font-weight: 400;
    content: "Question " counter(exocounter) "." counter(qtcounter) ".\0000a0\0000a0";
}

.question {
    border: 2px solid red;
    padding: 10px;
    border-radius: 25px;
    background: rgba(255, 179, 189, 0.3);
}

.commande {
    border: 2px solid #0d9c14;
    padding-top: 10px;
    border-radius: 25px;
    background: rgba(218, 255, 80, 0.3);
    margin: 0px;
    padding-left: 60px;
    background-image: url('../images/engrenage.png');
    background-repeat: no-repeat;
    /*background-position: center;*/
    background-size: 50px;
    background-position: 5px 5px;
    min-height:80px;
}

.danger {
    border: 2px solid #cc383a;
    padding-top: 10px;
    border-radius: 25px;
    background: rgba(246, 28, 18, 0.36);
    margin: 0px;
    padding-left: 60px;
    background-image: url('../images/danger.png');
    background-repeat: no-repeat;
    /*background-position: center;*/
    background-size: 50px;
    background-position: 5px 5px;
    min-height:80px;
}

div.question {
    margin-bottom: 1rem;
}

blockquote {
    color: #666666;
    margin: 0;
    padding-left: 3em;
    border-left: 0.5em #EEE solid;
}

.aide {
    margin: 0px;
    padding-left: 50px;
    background-image: url('../images/ampoule.png');
    background-repeat: no-repeat;
    /*background-position: center;*/
    background-size: 50px;
    min-height:80px;

}
.solution {
    border: 2px solid green;
    /* border-radius: 25px;*/
    margin: 10px;  
  }
  
  summary{
    font-size:large;
    font-weight:bold;
    color: green;
  }

