@charset "utf-8";

/* ===============================================================
   layout.css — structure générale du site
   Les styles de la page contact vivent désormais dans contact.php.
   =============================================================== */

@import url("https://fonts.googleapis.com/css?family=Lato:100italic");
@import url("https://fonts.googleapis.com/css?family=Advent+Pro:200");

* {
    box-sizing: border-box;
}

body,
html {
    border: 0;
    padding: 0;
    margin: 0;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 12px;
    color: white;
    background-color: #2b2b2b;
    height: 100%;
    min-height: 100%;
}

#jet-slideshow-database {
    display: none;
}

div#fullpage {
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

div#center {
    width: 100%;
    height: 100%;
    background-color: #2b2b2b;
}

div#top {
    position: fixed;
    top: 0;
    height: 48px;
    width: 100%;
    z-index: 1000;
    background-color: #2b2b2b;
}

div#left {
    position: absolute;
    z-index: 1000;
    width: 48px;
    height: 100%;
}

div#bottom {
    position: fixed;
    bottom: 0;
    height: 20px;
    width: 100%;
    background-color: #2b2b2b;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 12px;
    z-index: 1000;
}

div#middle {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 65px 10px 20px 90px;
}

div.lang {
    position: fixed;
    top: 10px;
    right: 50px;
    padding: 2px;
    z-index: 1600;
}

#fullsize {
    position: absolute;
    background-color: #2b2b2b;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

div#denis_morel {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
}

div#denis_morel a,
div#denis_morel a:visited,
div#denis_morel a:active,
div#denis_morel a:link {
    text-decoration: none;
    color: #4B4B4B;
    transition: color 1s ease;
    margin: auto;
}

div#denis_morel a:hover {
    color: #AAA;
}

div#cgu {
    position: fixed;
    right: 20px;
    bottom: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #ffffff;
}

div#cg {
    position: fixed;
    left: 20px;
    bottom: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #ffffff;
}

/* Liens du bas de page (Conditions...) : blanc, visités compris */
div#bottom a,
div#bottom a:link,
div#bottom a:visited,
div#bottom a:active {
    color: #ffffff;
    text-decoration: none;
}

div#bottom a:hover {
    color: #00ffff;
}

img.portfolio {
    border: 1px solid #bbb;
    margin-right: 5px;
    height: 500px;
}

.watermark {
    opacity: 0.2;
}

/* --- Menu haut --- */

div#top > div {
    font-variant: small-caps;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    z-index: 1400;
    background-color: #2b2b2b;
}

div#top .breadcrum_menu {
    position: relative;
    display: inline-block;
    color: #00ffff;
    /* minuscules en petites capitales : « savoir faire » sans capitale */
    text-transform: lowercase;
    /* largeur libre : le titre n'est plus tronqué ni décalé */
    width: auto;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    /* sous le menu déroulant : le menu ouvert passe par-dessus le titre */
    z-index: 1;
}

/* --- Page À propos --- */

div#about-bg {
    position: relative;
    color: black;
    font-size: 12px;
    font-family: Helvetica, Arial, sans-serif;
    text-align: justify;
    text-indent: 30px;
    padding-right: 20px;
}

div#about-content {
    display: block;
    width: 100%;
    max-width: 900px;
    /* le cadre contient à la fois la photo et le texte */
    border: 1px solid #ffffff;
    background-color: #d9d9d9;
    color: #1a1a1a;
    padding: 24px;
    overflow: hidden;
    /* contient le flottement de la photo */
}

h1#about-title {
    float: none;
    clear: both;
    font-weight: bolder;
    font-variant: small-caps;
    font-size: 1.3em;
    margin: 0 0 18px 0;
}

div#about-text {
    clear: none;
    text-align: justify;
    text-wrap: pretty;
    padding: 0;
}

div#about-text p {
    margin: 0 0 1.1em 0;
}

#about-refs {
    /* le bloc de références passe sous la photo */
    clear: both;
    margin-top: 1.8em;
    margin-bottom: 0;
}

div#about-img {
    float: right;
    text-align: center;
    /* la photo est dans le cadre, le texte s'enroule autour */
    margin: 0 0 16px 22px;
    max-width: 45%;
}

div#about-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Écrans jusqu'à 1023px --- */

@media (max-width: 1023px) {

    div#about-content {
        padding: 16px;
    }

    div#about-img {
        /* photo pleine largeur au-dessus du texte sur petit écran */
        float: none;
        max-width: 100%;
        margin: 0 0 16px 0;
    }

    div#about-img img {
        width: 100%;
    }

    #fullsize {
        padding-left: 0;
        padding-top: 48px;
        padding-bottom: 0;
    }

    div#bottom {
        display: none;
    }

    /* bandeau de gauche : dimensions et typo dans left_banner.php */

    div.lang {
        right: 40px;
    }

    div#middle {
        /* dégage la barre de menu + le bandeau horizontal */
        padding: 115px 10px 20px 10px;
    }

    div#top .breadcrum_menu {
        /* sous la barre du haut (48px), aligné à droite,
           à l'écart de l'icône du menu et des drapeaux */
        position: fixed;
        display: block;
        top: 54px;
        right: 12px;
        left: auto;
        width: auto;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        text-align: right;
    }

    .jet-slideshow-thumbnail,
    .jet-slideshow-current-thumbnail {
        margin: 3px;
    }

    div#jet-slideshow-screen-navright,
    div#jet-slideshow-screen-navleft {
        background-size: 10px;
        width: 30px;
    }

    #jet-slideshow-playpause {
        top: 105px;
    }

}

/* --- Écrans 1024px et plus --- */

@media (min-width: 1024px) {

    div#about-img img {
        width: 100%;
    }

    #fullsize {
        /* même marge à droite qu'à gauche (bandeau de 70px) :
           la photo est centrée dans la page */
        padding-left: 70px;
        padding-right: 70px;
        padding-top: 48px;
        padding-bottom: 16px;
    }

    div#middle {
        background-color: #2b2b2b;
    }

    div#top .breadcrum_menu,
    div#top .breadcrum_menu_portfolio_fr,
    div#top .breadcrum_menu_portfolio_en,
    div#top .breadcrum_menu_personal_fr,
    div#top .breadcrum_menu_personal_en {
        /* centré sous l'entrée Portfolio (2e bouton) :
           80px de retrait du menu + 1 entrée de 150px = 230px,
           puis largeur 150px et texte centré */
        position: absolute;
        /* remonté dans la barre du haut (48px) : ne chevauche plus
           les photos, qui commencent à 48px */
        top: 28px;
        left: 230px;
        width: 150px;
        text-align: center;
        margin: 0;
        line-height: 14px;
    }

    #jet-slideshow-playpause {
        top: 130px;
    }

}

/* --- Terminaux sans souris (téléphones, tablettes) --- */

@media (hover: none) {

    div#jet-slideshow-screen-navright,
    div#jet-slideshow-screen-navleft {
        display: none;
    }

}
