/* @group Base */

*, *:before, *:after {
    margin: 0;
    padding: 0;
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*,*:focus { outline: none }
html {
    height: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
}
::selection {
    color: #ffffff;
    background: #348fe2;
}
body {
    font: 16px 'Merriweather', serif;
    line-height: 28px;
    background-color: #FFFFFF;
}
.group:before, .group:after, blockquote:before, blockquote:after {
    content: " ";
    display: table;
}
.group:after, blockquote:after { clear: both }
.group, blockquote { *zoom: 1 }
[class*='col-'] {
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 4%;
    display: inline-block;
    float: left;
}
/*[class*='col-'] .group {
    margin-left: -2%;
    margin-right: -2%;
}*/
.col-20 { width: 16% }
.col-25 { width: 21% }
.col-33 { width: 29.33333% }
.col-50 { width: 46% }
.col-66 { width: 62.66667% }
.col-100 { width: 96% }

@media only screen and (max-width: 640px) {

    [class*='col-'] { width: 96% }
    .col-20, .col-25, .col-33 { width: 46% }
    [class*='col-'].first, [class*='col-'].last { width: 96% }
    [class*='col-'].last-none { display: none }

}

@media only screen and (max-width: 520px) {

    [class*='col-'] { width: 96% }

}

/* @end */

/* @group Width content */

header[role="banner"], main[role="main"], footer[role="contentinfo"] {
    width: 95%;
    max-width: 677px;
    margin-left: auto;
    margin-right: auto;
}

/* @end */

/* @group Typo divers */

a:link, a:visited {
    color: #348fe2;
    text-decoration: none;
}
a:hover {
    color: #3023AE;
    border-bottom: 2px solid #348fe2;
}
p { margin-top: 0 }
article p:last-of-type { margin-bottom: 0 }
h1, h2, h3, h4 {
    color: #323232;
    font-family: 'Merriweather Sans', sans-serif;
}
h1 {
    /*font-weight: 400;*/
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 25px;
}
h2 {
    /*font-weight: 400;*/
    font-size: 21px;
    margin-top: 35px;
    margin-bottom: 15px;
}
h3 {
    /*font-weight: 400;*/
    font-size: 16px;
    margin-top: 35px;
    margin-bottom: 15px;
}
h4 {
    /*font-weight: 400;*/
    font-size: 12px;
    margin-bottom: 15px;
}
blockquote {
    font-style: italic;
    color: silver;
    border-left: 3px solid;
    border-color: #348fe2;
    margin: 30px 0px;
    padding-left: 20px;
    position: relative;
}
img {
    max-width: 100%;
    height: auto;
    border-width: 0;
    outline: 0;
}
ul li { list-style: square }
iframe { max-width: 100% }
.video-container {
    margin: 0 0 4%;
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: auto;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #DDD;
    width: 70%;
    height: 0;
}
.green { color: #5ccc79 }
.red { color: #ff5283 }
.center { text-align: center }
figure {
    margin: 1.5em 0;
    line-height: 0;
}

/* @end */

/* @group Formulaire + Button */

form {
    width: 100%;
    float: left;
}
label {
    color: #999;
    font-size: 16px;
    margin: 0 14px;
    display: block;
}
input, button, textarea, .button {
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    font-family: "Merriweather", sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #555;
    background: transparent;
    border: 1px solid #DDD;
    position: relative;
    display: block;
    appearance: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
input:hover, textarea:hover { border-color: #348fe2 }
input:focus, textarea:focus { border-color: #16a085 }
.error input, .error textarea { border-color: #ff5283 }
textarea {
    min-height: 150px;
    resize: vertical;
    display: block;
}
button, .button, a.button {
    width: auto;
    padding: 5px 15px;
    color: #348fe2;
    font-weight: 400;
    border: 1px solid #DDD;
    background: transparent;
    cursor: pointer;
}
button:hover, .button:hover, button:focus, .button:focus {
    color: #FFF;
    background: #348fe2;
    border-color: #348fe2;
}
button:active, .button:active, .toggle.active {
    color: #fff;
    background: #323232;
    border-color: #323232;
}

/* @end */

/* @group Notifications */

[class*='alert-'] {
    width: 100%;
    display: block;
    background-color: #e8e8e8;
    color: white;
    font-size: 20px;
    line-height: 25px;
    padding: 25px 20px 25px;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-box-shadow: 0px 3px 8px -4px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 3px 8px -4px rgba(0,0,0,0.15);
    box-shadow: 0px 3px 8px -4px rgba(0,0,0,0.15);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
[class*='alert-'] h1, [class*='alert-'] h2, [class*='alert-'] h3,
[class*='alert-'] h4, [class*='alert-'] h5, [class*='alert-'] h6 {
    color: #fff;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}
[class*='alert-'] p { margin-bottom: .5em }
[class*='alert-'] p:last-of-type { margin-bottom: 0 }
.alert-note {
    background: #fcfdba;
    color: #969900;
}
.alert-note h1, .alert-note h2, .alert-note h3,
.alert-note h4, .alert-note h5, .alert-note h6 {
    color: #969900;
}
.alert-info { background: #3398e1 }
.alert-success { background: #2fdab8 }
.alert-error { background: #ff5283 }

/* @end */

/* @group Header */

header[role="banner"] { padding-top: 40px }
header[role="banner"] .col-100 {
    margin-bottom: 40px;
    /* padding-bottom: 40px; */
    /* border-bottom: 1px solid #DDD; */
}
header[role="banner"] .logo {
    display: block;
    line-height: 0;
    float: left;
}
header[role="banner"] .logo img {
    width: auto;
    height: 50px;
    border-radius: 50%;
}
header[role="banner"] .logo:hover { border: none }
header[role="banner"] .toggle { display: none }
nav[role="navigation"] { float: right }
nav[role="navigation"] ul {
    margin: 0;
    padding: 0;
    line-height: 50px;
}
nav[role="navigation"] li {
    font-size: 18px;
    font-weight: 400;
    margin-left: 30px;
    list-style: none;
    float: left;
}
nav[role="navigation"] li a {
    // color: #323232;
    display: block;
}
nav[role="navigation"] li a:hover {
    color: #3023AE;
    border: none;
    text-decoration: underline;
}
nav[role="navigation"] li a.active { color: grey; text-decoration: underline; }
// nav[role="navigation"] li a.active:hover { color: #3023AE }

@media only screen and (max-width:480px) {

    header[role="banner"] {
        text-align: center;
        padding-top: 30px;
    }
    header[role="banner"] .logo, nav[role="navigation"] li, nav[role="navigation"] { float: none }
    header[role="banner"] .logo {
        margin-bottom: 30px;
        display: block;
    }
    header[role="banner"] .logo img {
        width: auto;
        height: 100px;
    }
    header[role="banner"] .toggle { display: inline-block }
    nav[role="navigation"] { display: none }
    nav[role="navigation"].active {
        border: 1px solid #DDD;
        margin-top: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        display: block;
    }
    nav[role="navigation"] li {
        margin: 0;
        border-bottom: 1px solid #DDD;
        float: none;
        text-align: center;
    }
    nav[role="navigation"] li:last-child { border-bottom: none }
    nav[role="navigation"] li a {
        line-height: 50px;
        display: block;
    }
    nav[role="navigation"] li a:hover {
        color: #323232;
        background: #EEE;
    }
    nav[role="navigation"] li a.active:hover { background: #FFF }

}

/* @end */

/* @group Footer */

footer[role="contentinfo"] {
    color: silver;
    font-size: 14px;
    position: relative;
}
footer[role="contentinfo"] .col-100 {
    margin-bottom: 3%;
}
footer[role="contentinfo"] p { margin-top: 0 }
footer[role="contentinfo"] .line {
    width: 25%;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 3%;
    background: #DDD;
}

/* @end */

/* @group Page Notes */

#notes article.col-100 { margin-bottom: 40px }
#notes article header h1 a { color: #323232 }
#notes article header h1 a:hover {
    color: #348fe2;
    border: none;
}
#notes article header time {
    color: silver;
    line-height: 32px;
    float: right;
}
article .meta {
    margin-top: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #DDD;
}
article:last-of-type .meta {
    padding-bottom: 0px;
    border-bottom: none;
}
article .meta .tags {
    line-height: 38px;
    float: right;
}
article .meta .button { display: inline-block }
@media only screen and (max-width:480px) {

    #notes article.col-100 { margin-bottom: 30px }
    #notes article header time {
        float: none;
    }
    article .meta { padding-bottom: 30px }
    article .meta .tags { display: none }

}

/* @end */

/* @group Pagination */

.pagination { margin-bottom: 0 }
.pagination a:hover { border: none }
.pagination .next { float: left }
.pagination .prev { float: right }

/* @end */

/* @group Page Note */

#note time {
    color: silver;
    text-align: center;
    display: block;
    margin-bottom: 4%;
}
#note article .meta {
    padding-bottom: 0;
    border: none;
}
#note .tweet {
    color: #1abc9c;
    border-color: #1abc9c;
}
#note .tweet:hover {
    color: #fff;
    background: #1abc9c;
}
#note .tweet:active {
    color: #fff;
    background: #00AA89;
    border-color: #00AA89;
}

/* @end */

/* @group Page About */

img.avatar {
    width: 100px;
    margin: 4% auto;
    display: block;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/* @end */

/* @group Page Contact */

#contact article.col-100, #contact form div.col-100:last-of-type { margin-bottom: 0 }
.help {
    font-size: 16px;
    line-height: 38px;
    margin-bottom: 20px;
    float: right;
}
.help span { font-size: 20px }
.verify{
    position: absolute;
    left:-9999em;
}
#contact [class*='alert-'] { margin-bottom: 4% }
@media only screen and (max-width:480px) {

    .help { float: none }

}

/* @end */

/* @group Page Erreur */

#error article {
    text-align: center;
    margin-top: 5%;
    margin-bottom: 10%;
}
#error article p { color: silver }

/* @end */

/* @group Archive */

#archive h2 { color: #348fe2 }
#archive h3 { margin: 10px 0 }
#archive h3, #archive span { color: silver }
#archive ul {
    margin-bottom: 30px;
    margin-left: 0px;
    padding-left: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid #EEE;
}
#archive ul:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* @end */

.headline {
    text-align: center;
    margin-bottom: 40px;
}

.social {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.social a {
    border-radius: 300px;
    border: 1px solid #ccc;
    padding: 5px;
    width: 40px;
    height: 40px;
    line-height: 28px;
    text-align: center;
    display: inline-block;
    color: #ccc;
}

.social a:hover {
    color: #348fe2;
    border-color: #348fe2;
}

p.email {
    text-align: center;
    font-size: 14px;
}

#note h1 {
    margin-top: 50px;
}

#note h1.blog-title {
    margin-top: 0;
    text-align: center;
}

#note div.blog-subtitle {
    color: silver;
    font-style: italic;
    margin-bottom: 20px;
}

#note article {
    margin-bottom: 70px;
}

figure figcaption {
    font-size: 10px;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

@font-face {
  font-family: 'fontello';
  src: url('/font/fontello.eot?80565389');
  src: url('/font/fontello.eot?80565389#iefix') format('embedded-opentype'),
       url('/font/fontello.woff?80565389') format('woff'),
       url('/font/fontello.ttf?80565389') format('truetype'),
       url('/font/fontello.svg?80565389#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

.demo-icon {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
}

.highlight pre {
    font-size: 14px;
    padding: 10px;
    overflow-x: auto;
    white-space: pre;
    border-radius: 5px;
}

.mugshot {
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 20px;
  width: 100px;
}
