/*Layout---------------------------------------------------------------------------------------------------------------------------*/
main 
{
    display: grid;
    grid-template-columns: 17em 1fr;
    max-width: 990px;
    width: 90%;
    margin: 0 auto 0 20px;
    text-align: justify;
}

.content
{
    padding: 0 20px ;
    max-width: 720px;
}

.H1
{
    margin-bottom: 50px;
}

main div {position: relative;}
/*Titrage---------------------------------------------------------------------------------------------------------------------------*/
.BigTitle
{
    font-size: 70px;
    text-align: center;
    margin-bottom: 32px;
    color: var(--black);
    line-height: 65px;
}

.H1 h1
{
    font-size: 50px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: center;
    margin: 20px 12px 0px 12px;
    color: var(--main-text);
    display: inline-block;
}
h2
{
    font-size: 40px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: left;
    margin: 32px 12px 0px 12px;
    color: var(--main-text);
    display: inline-block;
}
h3
{
    font-size: 33px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: left;
    margin: 32px 5px 0px 5px;
    color: var(--main-text);
    display: inline-block;
}
h4
{
    font-size: 25px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: left;
    margin: 20px 5px 0px 5px;
    color: var(--dark-grey);
    display: inline-block;
}
h5
{
    font-size: 21px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: left;
    margin: 20px 5px 0px 5px;
    color: var(--dark-grey);
    display: inline-block;
}
h6
{
    font-size: 21px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: left;
    color: var(--dark-grey);
    display: inline-block;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 50px 10px 5px;
    position: relative;
    text-align: left;
    margin: 0;
}

/*Mise-en-Page---------------------------------------------------------------------------------------------------------------------------*/
.icon-ep-redogrey, .icon-ep-redo, .icon-ep-undogrey, .icon-ep-undo, .icon-ep-bookmarkred, .icon-ep-bookmark, .icon-ep-stylus 
{vertical-align: middle;}

p {font-size: 19px;}
.H1 p {font-weight: normal;}
.H2 p{font-weight: normal;}
.H3 p
{
    font-weight: normal;
    color: var(--dark-grey);
}
.H5 p
{
    font-weight: normal;
    color: var(--dark-grey); 
}
.H6 p
{
    font-weight: normal;
    color: var(--dark-grey); 
}
pre
{
    white-space: pre-wrap;
    text-align: left !important;
    margin: 3vw;
}

a
{
    color: var(--EP-Blue);
    cursor: pointer;
}
main ul {margin-left: 20px;}
main li
{
    text-align: left;
    font-size: 18px;
    display: list-item;
    font-weight: normal;
    line-height: normal;
    color: var(--dark-grey);
    margin: 0 3vw;
}
.imageeraser
{
    max-width: 500px;
}
hr
{
    border: 0;
    height: 1px;
    background: var(--main-text);
    background-image: linear-gradient(to right, #ccc, var(--main-text), #ccc);
}
.http { word-break: break-all;}
code
{
    background: var(--EP-gray);
    color: var(--grey);
    padding: 0 5px;
    font-size: 15px;
    display: inline-block;
}

/*CheckBox---------------------------------------------------------------------------------------------------------------------------*/
ul.submenu {display: none;}
label 
{
position: relative;
display: inline-block;
cursor: pointer;
padding: 0;
}
label a {margin-right: 10px;}

.toc-check:checked~ul.submenu {display: block}
.toc-check
{
    appearance: none;
    margin: 1px;
    color: #ccc;
    width: 10px;
    height: 10px;
    border-top: 3px solid;
    border-right: 3px solid;
    border-radius: 0.15em;
    rotate: 45deg;
    transition:  0.3s ease;
}
.toc-check:checked {transform: rotate(90deg);}

.burger {
    display: block;
    font-size: 24px;
}

/*Table-Of-Content-----------------------------------------------------------------------------------------------------------------------*/
html {scroll-behavior:auto;}
div {scroll-margin-top: 50px;}

.toc 
{
    position: sticky;
    align-self: start;
    padding-left: 0;
    z-index: 2;
    overflow-y: auto;
    left: 0px;
}
.toc a  
{
    text-decoration: none;
    display: block;
    padding: .125rem 0;
    color: #b8b8b8;
    transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}
.toc ul, .toc ol 
{
    list-style: none;
    margin: 0;
    padding: 0;
}
.toc li
{
    text-align: left;
    font-size: 20px;
    line-height: 1.5;
    font-weight: normal;
    letter-spacing: normal;
    display: block;
    margin:0;
    padding: 0 16px;
}
.sub-faq a {font-size: 16px;}
.toc li.active > a, .toc label.active > a 
{
    color: #333;
    font-weight: 500;
}
.toc a:hover, .toc a:focus, .toc label:hover, .toc label:focus {color: #666;}

#toc-faq ul li
{
    font-size: 16px;
    line-height: 2;
}

.hidden-toc 
{
    border-radius: 50%;
    border: none;
    color: #f5f5f7;
    font-size: 30px;
    width: 45px;
    height: 45px;
    padding: 5px;
    background-color: #333;
    position: sticky;
    z-index: 3;
    top: 4rem;
    right: 5%;
    float: right;
    display: none;
}


/*Post-its-----------------------------------------------------------------------------------------------------------------------*/
.Tip
{
    background-color: rgb(255, 255, 169); 
    rotate: 1deg;
    display: block;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); 
    padding: 31px;
    margin: 25px auto;
    width: 288px;
    max-width: 450px;
    font-family: 'Patrick Hand', 'brush script MT', cursive;
    font-size: 15px;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;
}

.container
{
    position: absolute;
    right: -400px;
    transform: translateY(-90%);
}
.Note
{
    background-color: rgb(181, 246, 255); 
    rotate: -1deg;
    display: block;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); 
    padding: 31px;
    margin: 25px auto;
    width: 288px;
    max-width: 450px;
    font-family: 'Patrick Hand', 'brush script MT', cursive;
    font-size: 15px;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;

    /* position: absolute;
    right: -400px;
    transform: translateY(-150%); */
}
.Ex
{
    background-color: rgb(255, 255, 255); 
    rotate: 0deg;
    display: block;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); 
    padding: 31px;
    margin: 25px auto;
    width: 288px;
    max-width: 450px;
    font-family: 'Patrick Hand', 'brush script MT', cursive;
    font-size: 15px;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;

    /* position: absolute;
    right: -400px;
    transform: translateY(-150%); */
}
.Warning
{
    background-color: rgb(255, 186, 101); 
    rotate: -1deg;
    display: block;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); 
    padding: 31px;
    margin: 25px auto;
    width: 288px;
    max-width: 450px;
    font-family: 'Patrick Hand', 'brush script MT', cursive;
    font-size: 15px;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;

    /* position: absolute;
    right: -400px;
    transform: translateY(-150%); */
}

/*Médias-----------------------------------------------------------------------------------------------------------------------*/
video
{
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%); 
    width: 100%;
    max-width: 730px;
    display: block;
    margin: 3vw auto 0 auto;
}
#video-0 { box-shadow: none;}
main img
{
    /* box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);  */
    filter:
        drop-shadow(0 4px 8px rgb(0 0 0 / 20%))
        drop-shadow(0 6px 20px rgb(0 0 0 / 19%));
    width: 100%;
    max-width: 800px;
    margin-top: 3vw; 
}
.Logo
{
    box-shadow: none;
    width: auto;
    margin: 0;
    height: 20px;
}

img[alt~="zoom-factor"]
{
    width: auto;
    max-width: 100%;
    max-height: 500px;
    height: 50vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ep-webxp
{
    width: fit-content;
    position: relative;
    margin: 23px auto;

    max-width: 674px;
    width: 100%;
}
.ep-webxp iframe
{
    border: 13px solid transparent;
    border-radius: 16px;
    background-image: linear-gradient(white, white), radial-gradient(circle at top left, #151523, #050509);
    background-origin: border-box;
    background-clip: content-box, border-box;
    outline: 2px ridge #d3d3d342;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    box-shadow: var(--shadow-ipad);
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
}
.ep-webxp::after
{
    content: '';
    width: 9%;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-image: linear-gradient(to right, #505050 0%, #979797, #a2a2a2, #979797, #505050 45%, transparent 45%, transparent 55%, #505050 55%, #979797, #a2a2a2, #979797, #505050 100%) 100% 1;
    display: block;
    position: absolute;
    top: -2px;
    left: calc(4% + 10px);
    opacity: 0.66;
}
.ep-webxp::before
{
    content: '';
    height: 5%;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-image: linear-gradient(to top, #505050, #979797, #a2a2a2, #979797, #505050) 1 100%;
    display: block;
    border-bottom: 0;
    position: absolute;
    top: calc(5% + 10px);
    left: -2px;
    opacity: 0.66;
}

/*highlight-vidéos-----------------------------------------------------------------------------------------------------------------------*/
.epmd-video-timecode 
{
    /* transition: all 500ms linear; */
}
.highlight 
{
    background: linear-gradient(104deg, rgba(156, 196, 60,0) 0.45%, rgba(156, 196, 60,1.25) 1.2%, rgba(156, 196, 60,0.6) 2.9%, 
    rgba(156, 196, 60,0.3) 96.5%, rgba(156, 196, 60,0.7) 98%, rgba(156, 196, 60,0) 100%);
    padding: 2px 0px;
    -webkit-box-decoration-break: clone;
    margin: 0;
    border-radius: 7.5px;   
}

@webkit-keyframes in 
{
    from {top: -100vh;}
    to {top: 0vh;}
}
@-webkit-keyframes out 
{
    from {top: 0vh;}
    to {top: -100vh;}
}

@keyframes in 
{
    from {top: -100vh;}
    to {top: 0vh;}
}
@keyframes out 
{
    from {top: 0vh;}
    to {top: -100vh;}
}

/*Frequently-Asked-Questions----------------------------------------------------------------------------------------------------------*/
.H6 
{
    overflow: hidden;
    transition: height 0.4s ease;
    border-bottom: solid 1px var(--EP-gray);
}
h6::after 
{
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
    top: 50%;
    right: 10px;
    position: absolute;
    border-radius: 2px;
}
.open h6::after{transform: translateY(-50%) rotate(225deg);}
.H6 > *:not(h6) 
{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.H6.open > *:not(h6) 
{
  opacity: 1;
  transform: translateY(0);
}

/*Media-Sizes-------------------------------------------------------------------------------------------------------------------------*/
@media(min-width: 1401px)
{
    .toc
    {
        display: block !important;
        top: 11vh;
        max-height: 89vh;
    }
}

@media(max-width: 1400px)
{
    main 
    {
        /* grid-template-columns: auto 347px;
        max-width: 990px;
        margin: 0 auto; */

        /* grid-template-columns: 60% auto; */
        grid-template-columns: auto 255px;
        max-width: 100%;
    }
    .container
    {
        position: absolute;
        right: -350px;
        transform: translateY(-100%);
    }
    .Tip, .Warning, .Ex, .Note
    {
        padding: 2vw;
        width: 245px;
        font-size: 13px;
        text-align: center;
        line-height: 18px;
    }

    .toc
    {
        height: calc(100% - 60px);
        width: 100%;
        background-color: #f5f5f7;
        display: none;
        top: 0vh;
        padding-top: 60px ;
        animation-duration: 0.5s;

        display: none;
        position: fixed;
        top: 0px;
        left: 0px;

    }

    .hidden-toc
    {
        display: block;
    }
}

@media(max-width: 1150px)
{
    .container
    {
        right: -315px;
    }
}
@media(max-width: 765px)
{
    main
    {
        display: block;
    }
    .container
    {
        position: relative;
        right: auto;
        transform: translateY(0px);

    }
    .Tip, .Warning, .Ex, .Note
    {
        width: 100%;
        font-size: 15px;
        line-height: 20px;
    }
}
@media(max-width: 600px)
{
    p {font-size: 17px;}
    code{font-size: 15px;}
    main li {font-size: 16px;}
    .Tip, .Ex, .Note, .Warning
    {font-size: 16px;}
    
    .H1 h1{font-size: 40px;}
    h2 {font-size: 33px;}
    h3{font-size: 26px;}
    h4{font-size: 20px;}
}

@media(max-width: 400px)
{
    p{font-size: 14px;}
    code{font-size: 11px;}
    main li {font-size: 13.5px;}
    .H1 h1{font-size: 35px;}
    h2 {font-size: 30px;}
    h3{font-size: 25px;}
    h4{font-size: 20px;}

    .Tip, .Ex, .Note, .Warning
    {font-size: 13px;}
}







.question-faq {
    font-size: 21px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: 0em;
    margin: 20px 5px 0px 5px;
    color: #6f6e6e;
    display: inline-block;
}

.faq-item {
    display: grid;
    grid-template-columns: auto auto;
    /* margin: 30px 0; */

    border-bottom: 1px solid #dee2e6;
  }


.faq-item input{
    appearance: none;
    color: #ccc;
    width: 10px;
    height: 10px;
    border-top: 3px solid;
    border-right: 3px solid;
    border-radius: 0.15em;
    rotate: 135deg;
    align-self: center;
    margin: 12px;

    transition:  0.3s ease;
}

.faq-item input:checked {
    /* rotate: 312deg; */
    transform: rotate(180deg);
}


.answers {
    padding: 0px 15px;
    margin: 5px 0;
    width:100%!important;
    height: 0;
    overflow: hidden;
    /* z-index: -1; */
    position: relative;
    opacity: 0;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;


    translate: none;
    transform: translate(0px,20px);

    display: grid;
  }


.questions:checked ~ .answers{
    height: auto;
    opacity: 1;
    padding: 15px;

    translate: none;
    transform: translate(0px,0px);
    
  }