﻿@import url('/css/normalize.css');

@import url('/css/layout.css');
@import url('/css/data-menu.css');
* {
    box-sizing:border-box;
}
    html {
        font-size: 10px;
        line-height: 10px;
        font-family:'Poppins', sans-serif;
        color:#222;
        font-weight:400;
        padding:0;
        margin:0;
        width:100%;
        height:100%;
    }
    body {
        padding:0;
        margin:0;
        width:100%;
        height:100%;
        color:#333;
    }
    @media screen and (min-width: 768px) {
        body {
            padding-left:300px;
        }
    }

    .menu {
        position: fixed;
        z-index:200;
    }
        .menu ul li.langue a strong {
            display:block;
            line-height:40px;
            font-size:12px;
            font-weight:400;
            text-align:center;
            color:#FFF;
        }
        .menu ul li.icon-menu a span {
            background-position: -80px -0px;
        }

.intro {
    width:100%;
    height:100%;
    background:url(images/fond-texte.jpg) #dd1f26 no-repeat;
    background-size:cover;
    background-position:center center;
    background-attachment: fixed;
    position:relative;
    z-index:1000;
}
    .intro h1 {
        color:#fff;
        font-size:4rem;
        line-height:5rem;
        font-family:'Roboto';
        font-weight:700;
        text-align:left;
        padding:40px;
        height:100%;
        width:100%;
        position:absolute;
        top:50%;
        right:0;
        margin-top:-5rem;
    }
    .intro h1 small{
        font-size:3rem;
        line-height:3rem;
        display:block;
        font-weight:300;
    }
    .intro a.scroll{
        position:absolute;
        display:block;
        width:40px;
        height:40px;
        bottom:30px;
        left:50%;
        margin:0 0 0 -20px;
        background:url(images/sprite-ui.svg) -80px -0px no-repeat;
        background-size:400px 400px;
    }
    .intro a.logo{
        position:absolute;
        display:block;
        width:160px;
        height:120px;
        top:40px;
        left:40px;
        overflow:hidden;
        text-indent:-1000px;
        background:url(images/sprite-ui.svg) -0px -40px no-repeat;
        background-size:400px 400px;
    }

a.btn{
    background-color:#572976;
    border-radius:4px;
    color:#FFF;
    display:inline-block;
    padding:10px 20px;
    font-weight:bold;
}

.side-menu-button {
    background:#572976;
    border-radius:50%;
    width:30px;
    height:30px;
    top:10px;
    right:10px;
    position:fixed;
    z-index:3000;
}
.side-menu-button:before {
    content:"";
    display:block;
    position:absolute;
    top:9px;
    left:9px;
    width:12px;
    height:4px;
    border-top:1px solid #fff;
    border-bottom:1px solid #fff;
}
.side-menu-button:after {
    content:"";
    display:block;
    position:absolute;
    top:15px;
    left:9px;
    width:12px;
    height:4px;
    border-bottom:1px solid #fff;
}    
    .side-menu {
        position:fixed;
        height:100%;
        background:#EEE;
        padding:20px;
        width:300px;
        right:-300px;
        height:100%;
        z-index:3000;
        transition:right 0.2s ease-out;
        overflow: hidden;
        overflow-y:scroll;
    }
    .side-menu-box {
        width:320px;
        overflow-x: hidden;
        overflow-y: scroll;
    }
    .side-menu.active {
        right:-0px;
    } 
        .side-menu h5{
        font-size:2.1rem;
        line-height:2.4rem;
        font-family:'Roboto';
        color:#FFF;
        font-weight:300;
        margin-bottom:5px;
        margin-top:60px;
        text-align:left;
        color:#35986A;
        font-weight:bold;
    }
        .side-menu li a{
            font-size:1.3rem;
            color:#572976;
            text-decoration:none;
            line-height:1.4rem;
            padding:10px 10px;
            font-weight:400;
            display:block;
            border-top:0;
            position:relative;
            text-align:left;
            transition:color 0.2s linear;
            border-top:1px solid rgba(255,255,255,0.2);
        }
        .side-menu li a.active{
            color:#FFF;
            font-weight:normal;
            background:#572976;
            border-radius:3px;
        }
    .side-menu-fond {
        position:fixed;
        height:100%;
        width:100%;
        background:rgba(87,17,121,0.8);
        z-index:1500;
        display:none;
    }



    @media screen and (min-width: 768px) {
        .pied {
            padding-right:200px;
            padding-left:30px;
        }
        .icon-menu{
            display:none;
        }        
        .sous-menu{
            bottom:auto;
            top:0;
        }
        .sous-menu li{
            display:inline-block;
            margin-right:0px;
        }
        .sous-menu li a{
            padding:0 15px;
            height:50px;
            line-height:50px;
            font-size:13px;
        }

        .side-menu {
            width:300px;
            right:0!important;
            height:100%;
            top:0;
            left:0;
            overflow:hidden;
            padding:50px 20px 0;
            z-index:100;
        }
        .side-menu-box {
            width:300px;
            height:100%;
            padding-right:20px;
        }

        .side-menu h5{
            margin-top:30px;
        font-size:2.4rem;
        line-height:3.2rem;
    }
        .side-menu li a{
            font-size:1.4rem;
            line-height:1.6rem;
        }

        .side-menu-fond ,
        .side-menu-button {
            display:none!important;
        }

    .intro h1 {
        color: #fff;
        font-size: 7rem;
        line-height: 7.8rem;
        padding: 60px;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 45%;
        right: 0;
    }
    .intro h1 small{
        font-size:5rem;
        line-height:5rem;
        display:block;
        font-weight:300;
    }


    }

@media screen and (min-width: 1200px) {
    .intro h1 {
        color: #fff;
        font-size: 10rem;
        line-height: 11rem;
        padding: 60px;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 45%;
        right: 0;
    }
    .intro h1 small{
        font-size:7rem;
        line-height:7rem;
        display:block;
        font-weight:300;
    }

    .intro a.scroll{
        position:absolute;
        display:block;
        width:80px;
        height:80px;
        bottom:30px;
        left:50%;
        margin:0 0 0 -40px;
        background:url(images/sprite-ui.svg) -160px -0px no-repeat;
        background-size:800px 800px;

    }

}
blockquote {
    background:#dd1f26;
    color:#fff;
    margin:0;
    padding:20px;
    font-size:24px;
    line-height:30px;
    font-family:'Roboto';
    margin-bottom:20px;
    border-radius:3px;
}
blockquote small{
    font-size:16px;
    line-height:24px;
    font-family:'Roboto';
    display:block;
    margin-top:15px;
}
blockquote span{
    font-size:12px;
    line-height:16px;
    font-family:'Roboto';
    display:block;
    margin-top:5px;
}
    .contenu {
        padding:100px 30px 60px;
        max-width:960px;
        font-size:1.4rem;
        line-height:2.1rem;
        width: 100%;
        margin-left:0;
    }
    a {
        color:#dd1f26;
    }
    h2 {
        font-size:3.6rem;
        line-height:4.6rem;
        font-weight:300;
        color:#35986A;
        font-family:'Roboto';
        border-bottom:1px solid #35986A;
        padding-bottom:1rem;
        margin:0rem 0 2rem;
    }
    h2 span {
        font-size:2.4rem;
        line-height:2.4rem;
        display:block;
    }

    h3 {
        font-size:2.7rem;
        line-height:3.2rem;
        font-weight:300;
        color:#333;
        font-family:'Roboto';
        border-bottom:1px solid #ccc;
        padding-bottom:1rem;
        margin:4rem 0 2rem;
    }
    h4 {
        font-size:1.8rem;
        line-height:2.7rem;
        font-weight:700;
        color:#333;
        font-family:'Roboto';
        padding-bottom:1rem;
        margin-top:2.5rem;
    }
    h2.debut {
        margin:8rem 0 4rem;
    }
    p {
        margin:0 0 2rem;
    }
    p.note {
        font-size:1.3rem;
        line-height:1.6rem;
        color:#555;
        margin:0 0 2rem;
        padding:1.5rem;
        background:#eee;
    }
    .contenu li {
        padding-left:20px;
        margin:0 0 2rem;
        position:relative;
    }
    .contenu li:before {
        content:"";
        position:absolute;
        top:7px;
        left:7px;
        width:6px;
        height:6px;
        background:#333;
        display:block;
        border-radius:2px;
    }
strong {
    font-weight:700;
}

img {
    max-width:100%;
    margin:2rem auto;
    display:block;
}
img.smaller {
    max-width:450px;
    margin:2rem auto;

}
#references strong {
    display:block;
}

.contenu {
    display:none;
}
    .contenu.active {
        display:block;
    }


.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
    b {
        font-family:Söhne Mono,Monaco,Andale Mono,Ubuntu Mono,monospace!important;
        color:#572976;
        font-weight:bold;
    }

.code-header {
    position: absolute;
    top: 0px;
    right: 0px;
    background:#0A1F41;
    color:#CCC;
    width:100%;
    font-size:13px;
    padding:5px 10px;
    font-family:Söhne Mono,Monaco,Andale Mono,Ubuntu Mono,monospace!important;
}


span.command-copy {
  font-size: 13px;
  color: #4ac78d;
  font-style:normal;
  cursor:pointer;
  z-index:1000;
  float:right;

}
span.command-copy-ok {
  font-size: 13px;
  background-color: #35986A;
  color:#FFF;
  position:absolute;
  top:4px;
  right:4px;
  border-radius:2px;
  line-height:24px;
  display:block;
  text-align:center;
  width:0px;
  overflow:hidden;
}
span.command-copy-ok.active {
  animation-name: ok-copy;
  animation-duration: 2s;
}
span.command-copy-ok.active2 {
  animation-name: ok-copy2;
  animation-duration: 2s;
}
@keyframes ok-copy {
  0%   {width:0}
  10%   {width:140px}
  90%   {width:140px}
  100%   {width:0}
}
@keyframes ok-copy2 {
  0%   {width:0}
  10%   {width:140px}
  90%   {width:140px}
  100%   {width:0}
}

span.command-copy-ok:before {
    content:"C'est fait!"
}
code.console .code-header em:before{
    content:"console";
    font-style:normal;
}
code.python .code-header em:before{
    content:"python";
    font-style:normal;
}


span.command-copy i{
  font-style:normal;
  position:relative;
  display:block;
  padding-left:17px;
}

span.command-copy i:before{
    content:"";
    display:block;
    width:12px;
    height:12px;
    background:url(images/copy-icon.svg);
    position:absolute;
    left:0;
    top:5px;
}
span.command-copy i:after{
    content:"Copier le code"
}
span.command-copy:hover {
  cursor: pointer;
}


@media screen and (min-width: 768px) {

    .contenu {
        font-size:1.6rem;
        line-height:2.4rem;
    }
    h2 {
        font-size:6rem;
        line-height:7rem;
        padding-bottom:1rem;
        margin:0rem 0 4rem;
    }
    h2 span {
        font-size:3.0rem;
        line-height:2.4rem;
        display:block;
    }
    h3 {
        font-size:4rem;
        line-height:5rem;
        padding-bottom:1rem;
        margin:4rem 0 2rem;
    }
    h4 {
        font-size:2.1rem;
        line-height:3.2rem;
        padding-bottom:2rem;
        margin-top:3rem;
    }
    h2.debut {
        margin:8rem 0 4rem;
    }
    p {
        margin:0 0 2rem;
    }

    p.note {
        font-size:1.4rem;
        line-height:1.8rem;
        margin:0 0 2rem;
        padding:1.5rem;
    }
    .contenu li {
        padding-left:20px;
        margin:0 0 2rem;
    }
    .contenu li:before {
        top:7px;
        left:7px;
        width:6px;
        height:6px;
        border-radius:2px;
    }

    


}



/*
 * Visual Studio 2015 dark style
 * Author: Nicolas LLOBERA <nllobera@gmail.com>
 */
pre {margin:0 0 20px;overflow:auto;}
pre code.hljs{padding:0 1em;position:relative;overflow:auto;padding-top:30px;}

.pre-copy {
    padding:0 10px;
    background:#0E0E0E;
}
.hljs {
  background: #030c1a;
  color: #DCDCDC;
  font-weight:normal!important;
  border-radius:4px;

}

.hljs-keyword,
.hljs-literal,
.hljs-symbol,
.hljs-name {
  color: #569CD6;
}
.hljs-link {
  color: #569CD6;
  text-decoration: underline;
}

.hljs-built_in,
.hljs-type {
  color: #4EC9B0;
}

.hljs-number,
.hljs-class {
  color: #B8D7A3;
}

.hljs-string,
.hljs-meta .hljs-string {
  color: #d08543;
}

.hljs-regexp,
.hljs-template-tag {
  color: #9A5334;
}
.hljs-function{
  color: #dcdcaa;
  font-weight:normal!important;
}


.hljs-subst,
.hljs-title,
.hljs-formula {
  color: #dcdcaa;
  font-weight:normal!important;
}

.hljs-params
{
    color: #9cdcfe;
}

.hljs-comment,
.hljs-quote {
  color: #57A64A;
  font-style: italic;
}

.hljs-doctag {
  color: #608B4E;
}

.hljs-meta,
.hljs-meta .hljs-keyword,

.hljs-tag {
  color: #9B9B9B;
}

.hljs-variable,
.hljs-template-variable {
  color: #BD63C5;
}

.hljs-attr,
.hljs-attribute {
  color: #9CDCFE;
}

.hljs-section {
  color: gold;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

/*.hljs-code {
  font-family:'Monospace';
}*/

.hljs-bullet,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #D7BA7D;
}

.hljs-addition {
  background-color: #144212;
  display: inline-block;
  width: 100%;
}

.hljs-deletion {
  background-color: #600;
  display: inline-block;
  width: 100%;
}

