/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}*/

@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Poiret One';
    src: url('/css/font/PoiretOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Questrial';
    src: url('/css/font/Questrial-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    overflow-y: hidden;
    font-size: 62.5%;
    -webkit-text-size-adjust: 62.5%;
    -ms-text-size-adjust: 62.5%;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time,
mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    /*font-size: 62.5%;*/
    vertical-align: baseline;
}

body {
    line-height: 1;
    text-align: center;
    background: black url('/img/background.png') no-repeat fixed center;
    background-size: cover;
    font-family: 'Questrial', cursive, Helvetica, Arial, sans-serif;
}
a:focus {
    outline: thin dotted;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
    display: block;
}
#page {
    position: fixed;
    background: white;
    border: 1px black solid;
    top: 5%;
    right: 2%;
    bottom: 5%;
    left: 2%;
    z-index: 1;
}
.lame {
    height: 100%;
    width: 10%;
    max-width: 10%;
    z-index: 10;
    float: left;
}
.lame img {
    height: 100%;
    margin: 0 auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.75);
    top: 0;
    position: fixed;
    bottom: 0;
    display: block;
    max-width: 8%;
}
header h1 {
    /*transform-origin: 0 0;
    transform: rotate(-90deg);*/
    font-size: 6em;
    font-weight: normal;
    display: inline-block;
    text-align: right;
    word-break: keep-all;
}
header{
    width: 6%;
    height: 100%;
    float: left;
    font-family: 'Poiret One', cursive, Helvetica, Arial, sans-serif;
}
nav {
    float: left;
    width: 84%;
    height: 10%;
    line-height: 3rem;
    font-family: 'Poiret One', cursive, Helvetica, Arial, sans-serif;
}
nav ul {
    list-style-type: none;
    font-size: 2.4rem;
    z-index: 10;
}
nav li {
    float: left;
    display: block;
    width: calc(100% / 6 - .01rem);
    text-align: center;
}
nav a {
    text-decoration: none;
    color: black;
}
nav a:hover {
    color: #c5073d;
}
nav li.sel {
    border-bottom: .15rem #c5073d solid;
}
nav li.sel a {
    color: #c5073d;
}
#content {
    height: 100%;
}
#rubriques {
    width: 29%;
    float: left;
    overflow-y: hidden;
    height: 90%;
    list-style-type: none;
}
#rubriques li {
    text-align: left;
    height: calc(83% / 17);
    line-height: 1em;
    font-size: 1.2rem;
    padding: .2rem 0 .3rem;
}
#rubriques li:first-child {
    padding-top: 0;
}
#rubriques li a {
    text-decoration: none;
    color: black;
}
#rubriques li a.sel {
    font-weight: bold;
    color: #c5073d;
}
#rubriques li a:hover {
    color: #c5073d;
    border-left: 2px solid #c5073d;
    padding-left: .5rem;
}
span.date_oeuvre {
     font-size: 0.7em;
     padding-left: 3em;
 }
footer {
    clear: both;
    color: white;
    padding: 1rem 0 1rem 20%;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
@media screen and (orientation: portrait) {
    header {
        width: 100%;
        color: #c5073d;
        height: 4rem;
        font-size: 0.8rem;
    }
    header h1 {
        font-size: 5.5em;
    }
    .lame {
        display: none;
    }
    nav {
        width: 100%;
        height: 7%;
    }
    nav ul {
        line-height: 3.5rem;
        font-size: inherit;
    }
    h2 {
        margin-left: 2%;
        margin-right: 2%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #content, #liste {
        width: 100% !important;
        height: 86% !important;
    }
    #content p {
        padding: .5rem 1.5rem 1rem;
    }
    #rubriques {
        margin-left: 2%;
        margin-right: 2%;
        width: 36%;
        height: 83%;
    }
    #rubriques li {
        font-size: inherit;
        line-height: 1em;
        height: initial;
    }
    .date_oeuvre {
        display: none;
    }
    #rubriques li br {
        display: none;
    }
    .jcarousel {
        height: 83% !important;
    }
    .oeuvres {
        float: left;
    }
    .jcarousel {
        width: 60% !important;
    }
    .jcarousel-nav {
        width: 100% !important;
    }
    .actualite {
        float: left;
        height: 100% !important;
    }
    #content #liste {
        height: 100% !important;
    }
    #content #liste dt {
        font-size: 1.6em;
    }
    #content #liste dd {
        font-size: 1.2em;
    }
    .contact {
        overflow-y: auto;
    }
    .contact header {
        display: inline;
    }
    #content #adresse,
    #content #frm_contact {
        width: 100%;
    }
    #content #adresse {
        font-size: 2em;
        padding: 1em 0 2em;
        line-height: 1.6em;
    }
    #content #frm_contact {
        padding-top: 0;
        text-align: left;
    }
    #content #frm_contact label {
        width: auto;
        float: left;
        border-width: 0;
        padding: .5% 2%;
        clear: both;
        text-align: left;
        font-size: 1.3em;
        line-height: 1em;
    }
    #content #frm_contact input,
    #content #frm_contact textarea {
        width: 90%;
        padding: 2%;
        margin: 2%;
        border: .1rem solid black;
        text-align: left;
        font-size: 1.3em;
        line-height: 1em;
    }
    .divmention {
        width: 100% !important;
    }
    #content #frm_contact {
        padding-top: 0;
    }
    footer {
        padding: .5rem 10% 0 10% !important;
    }
}