body {
    margin: 0;
    overflow-x: hidden;
}

#header {
    display: flex;
    align-items: center;
    background: #C04D29;
}

img.logo.hatier {
    padding: 0 16px 0 0;
}

img.logo.evidenceb {
    width: auto;
    height:46px;
    padding: 0 16px 0 0;
}

#linkLogo {
    display: inline-block;
}

#deco {
    color: #007300;
    text-align: left;
}

#logo {
    background-color: white;
}
.validate , .gotoinscription {
    display: block;
    cursor:pointer;
    
    margin: 0 auto;
    margin-top: 2em;
}
a {
    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    color: #1890ff;
}
a:hover {
    color: #40a9ff;
}
.button {
    color: #fff;
    background-color: #1890ff;
    border-color: #1890ff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    cursor: pointer;
    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    line-height: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 4px;
    max-width: 150px;
}
.copyButton {
    display: inline-block;
    padding: 0px 10px;
    margin-left: 10px;
    width: 60px;
}
.textAreaCopyButton {
    display: block;
    margin: auto;
}
.button:hover {
    background-color: #40a9ff;
    border-color: #40a9ff;
}

.column{
    background-color: #f8f8f8;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.hidden {
    display:none;
}
form, #liens {
    display: flex;
}

#formElev{
    flex-direction: column;
    justify-content: center;
}

#liens label {
    text-align: center;
}

#liens {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



input{
    padding-left: 3px;
    border-style: solid;
    border-radius: 10px;
    margin: 3px;
    border-color: grey;
    border-width: 1px;
    line-height: 1.5em;
}

::-webkit-input-placeholder {
    color: #a8a8a8;
    padding-left: 5px;
    font-style: italic;
}

::-moz-placeholder {
    color: #a8a8a8;
    padding-left: 5px;
    font-style: italic;
}

::-ms-placeholder {
    color: #a8a8a8;
    padding-left: 5px;
    font-style: italic;
}

::placeholder {
    color: #a8a8a8;
    padding-left: 5px;
    font-style: italic;
}

.errorMsg {
    display: block;
    color: red;
    margin-top: 1em;
    text-align: center;
}
section {
    margin: 0 auto;
    max-width: 70em;
    font-family: "Helvetica", "Arial", sans-serif;
    line-height: 1.5;
    padding: 4em 1em;
    min-height: 70vh;
}

.butlesslarge{
    max-width: 50em;
}

#sectioninscription{
    max-width: 60em;
}

h2, h3 {
    text-align: center;
    margin-top: 1em;
    padding-top: 1em;
}
.tokenLink {
    word-break: break-word;
}
label {
    font-size: 1em;
    margin: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.labelText {
    display: inline-block;
    width: 160px;
    text-align: right;
    padding-right: 5px;
}
textarea {
    width: 100%;
    height: auto;
    overflow: auto;
    resize: none;
    font-size: 1em;
}
input[type="text"] {
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 1em;
}
#footer .col span.bold {
    font-size: 16px;
    font-weight: 500;
}
#footer {
    display: flex;
    justify-content: space-evenly;
    padding: 2em 0;
    text-align: center;
    background-color: #333;
}
#footer .col span {
    display: block;
    margin: 0 auto;
    color: white;
}
#footer a {
    text-decoration: none;
}
#mailtoContact {
    color: #1890ff;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}
#mailtoContact:hover {
    color: #40a9ff;
}

.col {
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-variant: tabular-nums;
    line-height: 1.5;
    font-feature-settings: 'tnum', "tnum";
    width: 200px;
}
#footer .col img {
    display: block;
    margin: 1em auto 0 auto;
    width: 50px;
    height: auto;
}
img.logo.evidenceb {
    width: auto;
    height: 46px;
}
.warning {
    font-weight: 600;
}
.info {
    text-align: center;
    width: 100%;
    border-radius: 10px;
    font-size: 14px;
    margin: auto;
    margin-bottom: 2em;
    padding: 10px;
    background-color: #f8f8f8;
}

.infoleft {
    text-align: left;
    width: 100%;
    border-radius: 10px;
    font-size: 14px;
    margin: auto;
    margin-bottom: 2em;
    padding: 10px;
    background-color: #f8f8f8;
}

.longinfo {
    text-align: left;
    border-radius: 10px;
    font-size: 14px;
    margin: auto;
    margin-bottom: 2em;
    padding: 10px;
    background-color: #f8f8f8;
}
.tooltip {
    display: inline-block;
    position: absolute;
    margin-left:5px;
    margin-top: 5px;
    font-size: 10px;
    border-radius: 50%;
    border: 1px solid black;
    text-align:center;
    width:12px;
    height:12px;
}
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 5px 30px;
    margin-left: 5px;
    border-radius: 6px;
    position: absolute;
    width: 200px;
    z-index: 1;

    bottom: 125%;
    left: 50%;
    margin-left: -120px;
}
.tooltip:hover {
    cursor: help;
}
.tooltip:hover .tooltiptext {
    visibility: visible;     
}

#classesDisplay {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
}
#classesDisplay div {
    margin: auto;
    margin-top: 0;
}

#teacher {
    flex: 2 0 0;
    margin-right: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#classesContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#checkboxContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: auto;
}

.classActionButton {
    display: inline-block;
    cursor: pointer;
    font-size: 18px;
    color: white;
    font-weight: 600;
    margin-left:5px;
    margin-top: 5px;
    line-height: 20px;
    border-radius: 50%;
    text-align:center;
    width:20px;
    height:20px;

    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#more-class {
    background-color: #00A800;
    border: 1px solid #00A800;
}

#more-class:hover {
    background-color: #00D800;
    border: 1px solid #00D800;
}

#less-class {
    display: none;
    background-color: #A80000;
    border: 1px solid #A80000;
}

#less-class:hover {
    background-color: #D80000;
    border: 1px solid #D80000;
}

.text-red {
  color: #951C2C;
}

h2, h3{
    color: #951C2C;
}

.modules ul li{
    list-style-type:none;
    line-height: 2em;
}
.flex {
  display: flex;
}
.logo_evib {
  padding-top: 1.5em;
  padding-left: 3em;
}
.validate, .btn{
    display: block;
    background: #951C2C;
    border: none;
    margin: 2em auto;
    border-radius: 20px;
    font-weight: bold;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.1rem;
}
    
.validate:hover, .btn:hover{border: none; background: #951C2C; ;}

input[type="checkbox"] {
    background-color: white;
    /* border: 0.125rem #808080 solid; */
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    height: 1rem;
    margin-top: 0;
    margin-right: 0.5rem;
    position: relative;
    /* transition: all 0.25s; */
    vertical-align: middle;
    width: 1rem;
}

input[type="checkbox"]:not(:checked){
    -webkit-appearance: unset !important;
    appearance: none;
}

:checked {
    background-color:grey;
    border:0.125rem grey solid;
    opacity: 1;
  }
.close {
  position: absolute;
  bottom: 80px;
}
#home{}
#home h1, h2{color: #951C2C;}
#home h1{ text-align: center; }
#home h2{font-size: 18px; text-align: left;}
#home button{display: inline-block; background: none; border: none; padding: 0; margin: 0; cursor: pointer;}
#home .flex{display: flex; flex-wrap: wrap;}
#home .col{width: 46%; padding: 0 2%;}
#home hr{margin: 2em 0;}
#home a{text-decoration: none;}

#home #modules{
  position: relative;
}
#home #modules .module{width:48%; height: 360px; margin: 1%; align-items: center; position: relative; transition: width 0.2s ease-out; overflow: hidden; background: rgb(245,246,247); }
#home #modules .module button{border-bottom: 1px solid #333;}

#home #modules .module .container{
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 100%;
  overflow: visible;
}

#home #modules .module .container .summary,
#home #modules .module .container .detail{width: 50%; float: left;}

#home #modules .module .container .summary{text-align: right;}
#home #modules .module .container .summary .img{margin: 0 auto; width: 290px;}
#home #modules .module .container .summary .img img{display: block; width: 100%; height: auto;}
#home #modules .module .container .summary h2{width:90%; margin: 0 auto; padding:1em 0; height: 45px; text-align: center; }
#home #modules .module .container .summary button{margin: 0 2em 0 0;}

#home #modules .module .container .detail{}
#home #modules .module .container .detail p,
#home #modules .module .container .detail li{font-size: 13px; padding: 0 1em 0 0;}
#home #modules .module .container .detail ul{padding: 0 0 0 1em;}
#home #modules .module .container .detail button{}
#home #modules .module.open .container .detail{}

#home #modules .module.open{width: 100%; overflow: visible;}
#home #modules .module.open .container .summary,
#home #modules .module.open .container .detail{width: 25%;}
#home #modules .module.open .summary button{opacity: 0;}
