/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

* {
    margin: 0px;
}
.sidebar-widget {
    display: none;
}
body {
    max-width: 100%;
    margin: auto;
    height: auto;
    background: #f4f4f4;
    /*border: solid 3px blue;*/
}
.wrapper {
    font-family: "Texta-Book";
    margin: 0px 1%;
}
@media screen and (max-width: 500px) {
    .wrapper {
        margin: 0px 10px;
    }
}
a {
    text-decoration: none;
    color: inherit;
}
p,
li {
    color: black;
}
strong {
    font-family: "Texta-Heavy";
}
.click {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    background: rgba(255, 255, 255, 0);
    display: none;
    z-index: 50;
}
/* -- HEADER -- */

header {
    background: #f4f4f4;
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 50;
}
@media screen and (max-width: 700px) {
    header {
        width: 100%;
        max-width: 700px;
        top: -10px;
        position: absolute;
    }
}
@media screen and (max-width: 500px) {
    header {
        width: 100%;
        max-width: 500px;
        top: -10px;
        position: fixed;
    }
}
.llp,
.lenalep {
    position: absolute;
    top: 25px;
    font-size: 22px;
    font-family: "Texta-Heavy";
    width: 270px;
    color: black;
}
.llp {
    opacity: 1;
}
.lenalep {
    opacity: 0;
}
@media screen and (min-width: 700px) {
    .logo:hover .llp {
        opacity: 0;
    }
    .logo:hover .lenalep {
        opacity: 1;
        z-index: 500;
    }
}
.nav {
    position: relative;
    top: 24px;
    z-index: 20;
    max-width: 100%;
    margin-left: 33.3%;
}
@media screen and (max-width: 750px) {
    .logo {
        max-width: 500px;
        top: 34px;
    }
    header {
        display: inline-block;
    }
    .lenalep {
        display: none;
    }
    .llp {
        width: 50px;
    }
    .nav {
        top: 32px;
        line-height: 20px;
    }
    .nav div {
        display: inline;
        text-align: right;
    }
    li.menu {
        display: inline;
        margin-right: 3.2%;
    }
}
@media screen and (max-width: 500px) {
    .nav {
        width: auto;
        max-width: 700px;
        position: absolute;
        top: 32px;
        right: 15px;
        display: inline;
        text-align: center;
    }
}
.menu {
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    width: auto;
    margin-right: 4%;
    font-family: "Texta-Heavy";
    text-align: center;
}
nav div ul {
    display: inline;
    padding: 0px;
}
@media screen and (max-width: 600px) {
    li.menu {
        font-size: 16px;
    }
    .nav{
        top: 35px;
    }
}
@media screen and (max-width: 500px) {
    .nav div {
        width: 250px;
        display: inline-block;
    }
    li.menu {
        display: inline;
        padding: 0px;
        width: auto;
        font-size: 12px;
        text-align: right;
        margin-right: 2%;
    }
}
/* -- PROJETS -- */

.depliant {
    position: absolute;
    top: 80px;
    left: -3%;
    z-index: 800;
    background: white;
    width: 100%;
    padding: 15px 0px;
    box-shadow: 0px 5px 5px rgba(100, 100, 100, 0.24);
}
.depliant p {
    background: white;
    /*border : solid 2px blue;*/
    margin-top: -2px;
    margin-left: 34%;
    width: 140px;
    height: 25px;
    text-align: left;
    font-family: 'Texta-Book';
    font-size: 16px;
    transition: 200ms;
}

@media screen and (max-width: 500px) {
    .depliant{
        padding: 12px;
    }
    .depliant p {
           margin-left: calc(100% - 265px);
        height: 20px;
        padding: 5px;
        font-size: 14px;
    }
}
.projets:hover .depliant {
    transform: opacity(1);
    top: 55px;
    opacity: 1;
}
.tous:hover,
.nav-mandats:hover,
.nav-ecole:hover,
.nav-typographie:hover,
.nav-calligraphie:hover {
    font-family: "Texta-Heavy";
}
.category-typographie {
    opacity: 1;
}
/* -- ABOUT -- */

.toggle,
.toggleng {
    position: absolute;
    left: -1%;
    height: auto;
    background: white;
    padding: 15px 0px;
    box-shadow: 0px 5px 5px rgba(100, 100, 100, 0.24);
    /*z-index: 30;*/
}
.toggle {
    top: 80px;
}
.toggleng {
    top: 80px;
}
.toggle p,
.toggleng p {
    margin-bottom: 3px;
    margin-left: 33.7%;
    padding: 5px 32px 5px 0px;
    font-size: 16px;
    line-height: 19px;
}
.toggle a:hover,
.toggleng a:hover {
    font-family: "Texta-Heavy";
}
@media screen and (max-width: 700px) {
    .toggle,
    .toggleng {
        padding: 12px;
        overflow-y: scroll;
        left: -3%;
    }
    .toggle p,
    .toggleng p {
        font-size: 14px;
        line-height: 15px;
        padding: 3px;
    }
}

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

    .toggle p,
    .toggleng p {
        margin-left: calc(100% - 250px);
        position: relative;
        font-size: 14px;
        line-height: 15px;
        padding: 2px;
    }
}

/* -- MAIN -- */

main {
    margin: auto;
}
.col-middle,
.col-right,
.col-left {
    display: inline-block;
    vertical-align: top;
    width: 32.4%;
    padding-top: 80px;
}
@media screen and (max-width: 700px) {
    .col-middle,
    .col-right,
    .col-left {
        padding-top: 70px;
    }
}
@media screen and (max-width: 500px) {
    .col-middle,
    .col-right,
    .col-left {
        width: 100%;
        margin: auto;
        margin-top: -20px;
        height: auto;
        padding: 0px;
    }
}
@media screen and (max-width: 500px) {
    .col-left {
        padding-top: 80px;
    }
}
.col-middle {
    margin: 0% 1%;
}
@media screen and (max-width: 950px) {
    .col-middle {
        margin: 0px 2px;
    }
}
.entry {
    margin-bottom: 4px;
    max-height: 530px;
    text-align: center;
    position: relative;
}
.vignettes {
    height: 100%;
    width: 100%;
    display: inline-block;
    vertical-align: middle;
}
centrage {
    width: 100%;
    text-align: center;
}
.title {
    font-family: "Texta-Heavy";
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    font-size: 32px;
    color: #fff;
    opacity: 0;
    margin: auto;
    line-height: 30px;
    position: absolute;
    top: 40%;
    transform: translateX(-50%);
    ;
}
@media screen and (min-width: 800px) {
    .entry:hover {
        background: #000;
    }
    .entry:hover img {
        opacity: 0;
    }
    .entry:hover .title {
        opacity: 1;
    }
}
/* -- ARTICLES -- */

h1,
.author,
.date,
.comments {
    display: none;
}
.comments,
.post-edit-link,
.vc_inline-link,
.sidebar {
    display: none;
}
article p,
article a,
.num-slide-total {
    font-family: "Texta-Heavy";
    line-height: 22px;
    font-size: 18px;
}
article a:hover {
    text-decoration: underline;
}
/* -- HEADER-SINGLE -- */

.nav-single {
    width: 440px;
    margin: auto;
    margin-top: 30px;
}
    .nav-single ul {
        padding: 10px !important;
        text-align: center;
        display: inline;
    }
.previous,
.next {
    font-size: 14px;
    position: relative;
    display: inline;
    font-family: "Texta-Book";
    margin: 0px 10px;
}
.previous:hover,
.next:hover {
    font-family: "Texta-Heavy";
}


@media screen and (max-width: 500px) {
.nav-single {
    max-width: 100%;
        position: fixed;
        display: block;
            bottom: 20px;
    text-align: center;
    margin-left: -10px;
    }

    .previous, .next {
        display: inline-block;
        margin: 1%;
    }
    #previous-txt, #next-txt {
        font-size: 12px;
    }
}
/* -- PAGES IMAGES -- */

.single .post {
    height: 100%;
}
.articles {
    padding-top: 80px;
    max-width: 100%;
    margin: 0px 20px;
    height: 100%;
    text-align: center;
}
@media screen and (max-width: 700px) {
    .articles {
        padding-top: 65px;
        height: 100%;
        vertical-align: center;
        margin: 0px 10px;
    }
}
@media screen and (max-width: 500px) {
    .articles {
        padding-top: 60px;
    }
}
.articles img,
iframe,
.inside {
    width: auto !important;
    max-width: 100%;
    height: auto;
    max-height: 650px!important;
    margin: auto;
}

iframe{
    width: 100% !important;
}
@media screen and (min-width: 1500px) {
    .articles img,
    iframe {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        max-height: 900px;
    }
    img.imgs {
        bottom: auto;
    }
    div.slideshow div {
        width: 100%;
        heigth: 90%;
    }
    -webkit-.slideshow img,
    .slideshow iframe {
        width: 100%;
        max-width: 100%;
        max-width: 2000px;
        height: auto;
        max-height: 900px;
    }
}
@media screen and (max-width: 750px) {
    .articles img {
        vertical-align: middle;
        max-width: 100%;
        height: auto;
        max-height: 320px !important;
        margin: auto;
    }
}
@media screen and (max-width: 500px) {
    .articles img {
        vertical-align: middle;
        max-width: 100%;
        height: auto;
        margin: auto;
    }
}
-webkit-.slideshow {
    background: rgba(255, 255, 255, 0)!important;
}
/* -- ARTICLES - SLIDES -- */

/*.slideshow_container, .slideshox_content {
    display: block;
    width: 100%;
}*/

.container {
    text-align: center;
}
.container,
p.slideshow,
p.slideshow2 {
    position: relative;
    margin: auto;
    height: auto;
    max-height: 650px;
    -webkit-text-align: center!important;
}
img.slideshow img.slideshow2 {
    display: inline!important;
}
iframe,
.inside {
    position: relative!important;
    display: inline!important;
}
.bouton-prev,
.bouton-next {
    position: absolute;
    z-index: 50;
    width: 50%;
    height: 80%;
    top: 0px;
}
.bouton-next {
    left: 50%;
    cursor: e-resize;
}
.bouton-prev {
    cursor: w-resize;
}
#pagination {
    display: inline;
    position: relative;
    right: 0px;
    top: 0px;
    text-align: right;
}
#pager a {
    display: none;
}
#pager,
#pager a.activeSlide,
.num-slide-total {
    display: inline-block;
    text-align: right;
}
.thumbnail_block {
    display: none;
}
/* -- FOOTER -- */

footer {
    font-family: "Texta-Book";
    padding: 20px 0px;
    font-size: 12px;
    position: fixed;
    bottom: 0px;
    z-index: -800;
    margin: 0px 0px;
}
@media screen and (max-width: 700px) {
    footer {
        margin: 0px 10px;
    }
}