/* ==========================================================================
Convention : SMACSS

Couleurs   :
Page :
    titre :
        color: #3a220a;
    text :
        color: #654f38;
Com list
    color           : #deb074;
    background-color: #3e250f

Messages :

========================================================================== */
.titre
{
    font-family: Immortal;

    color: #e19e69;
}

.titre-intro
{
    font-family: Immortal;
    font-size: 2em;
    font-weight: 400;

    text-align: center;

    color: #3e250f;
}
.page-description {
    margin-bottom: 2em;
    font-size: 1.2em;
    line-height: 1.5;
}
/*==========  Menu  ==========*/
/*.dropdown:focus .dropdown-menu,
.dropdown:hover .dropdown-menu,*/
/*.dropdown.active .dropdown-menu,*/
.nav-bar
{
    height: 64px;

    background: transparent url(../img/spritesheet/menu-middle.png) 0 0 repeat;
}
.nav-bar
{
    position: relative;

    min-width: 755px;
    max-width: 1140px;
    margin: 0 auto;
}
/*.dropdown-menu:after,*/
.nav-bar:after,
/*.dropdown-menu:before,*/
.nav-bar:before
{
    position: absolute;
    top: -1px;

    display: inline-block;

    width: 94px;
    height: 66px;

    content: '';

    background: transparent url(../img/spritesheet/menu-side.png) center right no-repeat;
}

.dropdown-menu:before,
.nav-bar:before
{
    right: -94px;
}

.dropdown-menu:after,
.nav-bar:after
{
    left: -94px;

    transform: scaleX(-1);
}

.is-top .nav-menu-padding
{
    margin-top: .9em;
    height: 64px;
}

.is-top .nav-menu
{
    margin-top: 1em;
}

.nav-picto
{
    position: absolute;
}

.nav-picto-left
{
    left: -3em;
}

.nav-picto-right
{
    right: -3em;

    transform: scaleX(-1); /* IE 10, Fx 16+, Op 12.1+ */

    filter: FlipH;
}

.nav-menu-sub ul
{
    display: none;
}

.nav-menu
{
    height: 64px;
    padding: 0;

    text-align: center;
}

.nav-menu-list .up
{
    font-size: 1.05em;
}
.nav-menu-list {
    height: 64px;
}
.dropdown:focus .dropdown-menu, .dropdown:hover .dropdown-menu, .dropdown.active .dropdown-menu {
    border-color: #84654b;
    border-radius: 1px;
}
.dropdown-menu {
    /*background: rgba(218, 198, 161, 0.8) url(../img/spritesheet/menu-middle.png) center center no-repeat;
    background-size: cover;*/
    background-color: rgba(218, 198, 161, 0.8);
    box-shadow: inset 0px 0px 32px 1px #623b23;
}
.dropdown-menu > ul,
.nav-menu-list
{
    font-size: 1.7rem;
    line-height: 1;

    position: relative;

    margin: auto;
    padding: 0;

    white-space: nowrap;
}

.nav-menu-list li
{
    display: inline-block;

    text-align: center;
}
.dropdown-menu .nav-link {
    display: block;
}

.nav-link
{
    font-size: .9em;

    display: inline-block;

    box-sizing: border-box;

    transition: all .3s,right .3s;
    text-transform: uppercase;

    color: #e19e69;
    height: 64px;
}

.nav-link a
{
    line-height: 4;

    display: inline-block;

    height: 64px;
    padding: 0 2em;

    vertical-align: middle;

    color: #39200a;
}

.l-nav a:hover
{
    text-decoration: none;
}

.dropdown-menu > ul a
{
    line-height: 3;
}

.dropdown-menu > ul a:hover
{
    color: #3e250f;
}

.nav-bar .com-list
{
    display: none;
}

.nav-mobile
{
    display: none;
}

/* ==========  Slideshow  ========== */
.home-slideshow
{
    width: 614px;
    height: 338px;
}

.home-slideshow img
{
    position: absolute;
    top: 10px;
    left: 36px;

    transition: opacity .4s ease-in;

    border-radius: 10px;
}
.home-slideshow img:not(:first-child)
{
    opacity: 0;
}
.home-spin-off
{
    margin-top: 6em;
}
.home-euraka-img
{
    height: 3em;
    margin-left: 1em;

    vertical-align: inherit;
}
/*==========  Team  ==========*/
cite
{
    font-style: italic;
    line-height: 20px;

    display: block;

    color: #8e5500;
}

cite:before
{
    content: '\2014 \00A0';
}

.team-profile
{
    display: inline-block;

    width: 100%;
    min-height: 275px;
}

.team-emphasis
{
    padding-top: 2em;
}

.img-circle
{
    border-radius: 50%;
}

.btn-link
{
    font-size: 14px;
    font-weight: 400;
    line-height: 1.428571429;

    display: inline-block;

    margin-bottom: 0;
    padding: 6px 12px;

    cursor: pointer;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;

    border: 1px solid transparent;
    border-radius: 4px;
    border-radius: 4px;
    background: #4e3630;
    background-image: none;
}

.btn-link:hover,
.btn-link.is-checked
{
    background: #e19e69;
}

/*==========  Artworks  ==========*/
.gallerie-filtre
{
    margin: 2em 0;
}

/* clearfix because of floats */
.gallerie-list:before,
.gallerie-list:after
{
    display: table;

    content: '';
}

.gallerie-list:after
{
    clear: both;
}

.item
{
    margin-bottom: 15px;
}

.item img
{
    max-width: 100%;
    max-height: 100%;

    vertical-align: bottom;
}

.first-item
{
    clear: both;
}

/* remove margin bottom on last row */
.last-row,
.last-row ~ .item
{
    margin-bottom: 0;
}

/*==========  News  ==========*/
.new-bg
{
    padding: .5em 1em .5em 2em;

    color: #3c312f;
    background: transparent url(../img/news-parchemin.jpg) 0 0 no-repeat;
}

.new-bg a
{
    color: #fff;
}

/*==========  Com  ==========*/
.aside-social
{
    z-index: 6;
    position: fixed;
    top: 25%;

    width: 3em;
    margin: 0;
    padding: .2em 0;

    transition: all .3s linear;

    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #28180b;
}

.com-list
{
    margin: .8em 0 .4em;
    padding: 0;

    list-style: none;

    text-align: center;
}

.com-list li
{
    display: block;

    margin-bottom: .5em;
}

.com li:last-child
{
    margin-bottom: 0;
}

.presentation
{
    text-align: justify;
}

.notfound-msg
{
    margin: 0 0 2em;

    text-align: left;
}

.com-bage {
    border-radius: 50%;
    border: 2px solid #dac7a7;
    color: #dac7a7;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    margin: 0 2px;
    text-align: center;
    padding: 8px;
    line-height: 0.8;
}
.com-bage:hover {
    box-shadow: 0px 0px 15px 0px #dac7a7;
}

.com-bage .fa-patreon,
.com-bage .fa-tipeee {
    width: 28px;
    height: 28px;
}

.com-bage[data-icon*="fancytreestudio"] {
    width: 64px;
    height: 60px;
}
.com-bage .fa-fancytreestudio,
.com-bage[data-icon*="fancytreestudio"] {
    padding: 0;
    border-radius: 50%;
}
.com-bage .fa-fancytreestudio {
    width: 60px;
    height: 60px;
}

.com-bage[data-icon*="facebook"] {
    background-color: #3a589b;
}
.com-bage[data-icon*="twitter"] {
    background-color: #2daae1;
}
.com-bage[data-icon*="google-plus"] {
    background-color: #d6492f;
}
.com-bage[data-icon*="youtube"] {
    background-color: #cf3427;
}
.com-bage[data-icon*="instagram"] {
    background-color: #517fa6;
}
.com-bage[data-icon*="pinterest"] {
    background-color: #cb2027;
}
.com-bage[data-icon*="linkedin"] {
    background-color: #007ab9;
}
.com-bage[data-icon*="patreon"] {
    background-color: #e6461a;
}
.com-bage[data-icon*="tipeee"] {
    background-color: #d84759;
}
.com-bage a:visited,
.com-bage a {
    color: #dac7a7;
}
/*==========  Support  ==========*/
.aside-support {
    position: fixed;
    right: 95px;
    z-index: 16;
    bottom: 18px;
    transform: scale(0.45);
    transform-origin: bottom right;
    /*background: rgb(41, 28, 34);*/
    border-radius: 10px;
}
.aside-support .hint--bottom:hover:after {
    transform: translateX(-50%) translateY(-6px) scale(2.3);
}

/* ==========================================================================
   Article
   ========================================================================== */
   article {
    position: relative;
}
article .bg
{
    position: relative;

    width: 460px;
    height: 212px;

    background: transparent url('../img/body/encadrement-news.png') 0 0 no-repeat;
    /*background-image: -webkit-image-set(url('../img/parallax/parallax-transition.webp') 1x);*/
    background-size: contain;
    font-size: 1.5rem;
}
article .curtain
{
    position: absolute;
    z-index: 2;
    top: 3%;
    left: 29%;

    width: 80px;
    height: 143px;
    padding: 10px 0;

    text-align: center;

    color: #fff;
    background: url('../img/body/news-tissus.png') 0 0 no-repeat;
    background-size: contain;
}

.date-day {
    font-size: 2rem;
}
.date-year,
.date-month {
    font-size: 1.5rem;
}

article .kaode .curtain,
article .general .curtain,
article .divers .curtain,
article .exploration .curtain,
article .map .curtain,
article .divers .curtain
{
    display: none;
}
article .exploration .parchment,
article .map .parchment
{
    background-image: url('../img/body/bg-map.png');
    background-size: contain;
}
article .kaode .parchment
{
    background-image: url('../img/body/bg-kaode.png');
    background-size: contain;
}

article .date
{
    padding: 0em 1.8em 0em 0.8em;
}

article .img,
article .parchment
{
    top: 21px;
}
article .img
{
    position: absolute;
    left: 5.5%;
}
article .parchment
{
    position: absolute;
    z-index: 1;
    left: 155px;
    width: 268px;
    height: 100%;
    background: transparent 0 0 no-repeat;
    padding-top: 0.5em;
}

article .news .parchment
{
    background-image: url('../img/body/bg-news.png');
    background-size: contain;
    left: 149px;
    width: 274px;
}
article .divers .parchment
{
    background-image: url('../img/body/bg-divers.png');
    background-size: contain;
}
article .exploration .parchment,
article .map .parchment
{
    background-image: url('../img/body/bg-map.png');
    background-size: contain;
}
article .kaode .parchment
{
    background-image: url('../img/body/bg-kaode.png');
    background-size: contain;
}
article .general .parchment
{
    background-image: url('../img/body/bg-general.png');
    background-size: contain;
}

article h2
{
    margin: 0;
    font-size: 1.2em;
    padding-left: 1em;
}

article .content
{
    margin: 0;
    padding: .5em .5em 0 1.5em;
    font-size: 1.3rem;
    text-align: justify;
    article .content
}

article .news h2 {
    padding-left: 2.9em;
}
article .news .content {
    padding-left: 4em;
}

article h2 a:visited,
article h2 a {
    color: #000;
}

article .content p
{
    margin: 0;
}

article .more {
    position: absolute;
    bottom: 55px;
    right: 5px;
    text-align: right;
}

/* ==========================================================================
   Lexique
   ========================================================================== */
   .lexique-content {
    position: relative;
    margin-top: 8em;
    margin-bottom: 5em;
    min-height: 20em;
    width: 100%;
    transition: height .4s ease-in;
}
.lexique-content-item {
    position: absolute;
    width: 100%;
    min-height: 26em;
    margin-right: 3em;
    padding-right: .5em;
    transition: opacity .4s ease-in;
    opacity: 0;
    text-align: center;
    margin: auto;
    padding: 0em 2em;
}
.lexique-content-item.show {
    opacity: 1;
}
.lexique-content-item .img {
    position: absolute;
    top: -5em;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 150px;
    height: 150px;
}
.lexique-content-item h2 {
    margin: 5em auto 0;
}
.curseur {
    position: absolute;
    right: 2em;
    top: 2em;
}
.lexique-item {
    position: relative;
    width: 80px;
    height: 80px;
}
.lexique-item.long {
    width: 127px;
}
.lexique-content-item .img img,
.lexique-item img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.lexique-content-item .img .lexique-animate,
.lexique-item .lexique-animate {
    top: 18px;
    left: -3px;
    animation: spin 2s linear infinite;
}
.lexique-content-item .img .lexique-animate {
    top: 30px;
}
.lexique-content-item .img .lexique-icon,
.lexique-item .lexique-icon {
    z-index: 1;
}
.lexique-item .bottom-right {
    left: inherit;
    top: inherit;
    right: 6px;
}
.lexique-content-item .img .bottom-right {
    top: 69%;
    right: 0;
    left: 60%;
    bottom: 0;
}
.lexique-item .left {
    right: inherit;
    bottom: inherit;
    top: 25px;
    left: -5px;
}
.lexique-content-item .img .left {
    right: inherit;
    bottom: inherit;
    top: 36%;
    left: -7%;
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    } to {
        transform: rotate(-360deg);
    }
}
/* ==========================================================================
   Team
   ========================================================================== */
   .team-card
   {
    padding: 1em 2em;
}
.team-card h3 {
    margin: 0;
    text-align: center;
}
.team-picture,
.team-frame,
.team-img
{
    width: 200px;
    height: 200px;
    margin: auto;
}

.team-picture
{
    position: relative;
    right: 0;
    left: 0;

    text-align: left;
    transition: opacity .2s ease-in;
}
.team-picture img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.team-picture:hover img {
    -webkit-filter: grayscale(10%);
    filter: grayscale(10%);
}
.team-picture.selected img,
.team-picture.selected:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}
.team-frame
{
    position: absolute;
    z-index: 2;

    background: url('../img/body/frame-inactive.png') center center no-repeat;
    background-size: cover;
}

.team-img
{
    position: absolute;
    z-index: 1;

    padding: 2%;
}
.old .team-picture,
.old .team-frame,
.old .team-img
{
    width: 100px;
    height: 100px;
    margin: auto;
}
.old .team-frame
{
    background-image: url('../img/body/frame-inactive.png');
}
.team-card.old
{
    padding: .5em;
}
.team-card h3 {
    font-size: 1.5rem;
}

.slider-member-old,
.slider-member
{
    position: absolute;

    overflow-y: auto;

    margin-right: 3em;
    padding-right: .5em;

    transition: opacity .4s ease-in;

    opacity: 0;
}
.slider-member-old.show,
.slider-member.show
{
    z-index: 1;

    opacity: 1;
}
.slider-members .text
{
    min-height: 30em;
    transition: height .4s ease-in;
}
.cd-words-wrapper {
    text-align: center;
}

.title-count {
    font-size: 1.2rem;
}
.title-link {
    float: right;
    font-size: 1.5rem;
    line-height: 3.4;
}

/* ==========================================================================
   Collapse
   ========================================================================== */
   .collapse-list  {
    margin-top: 2em;
}
.collapse-list section {
    margin-bottom: 2em;
}
.collapse-list .img {
    padding: .8em;
    margin: auto;
}
.collapse-list .img > img {
    border-radius: 4px;
}
.collapse-list .desc {
    max-width: 700px;
    padding: 1em 2em 1em 0;
}

/*!
 * Houdini v8.1.0: A simple collapse-and-expand script
 * (c) 2015 Chris Ferdinandi
 * MIT License
 * http://github.com/cferdinandi/houdini
 */

 /*  Hide the collapse and expand link or button by default */
 /* line 2, /Users/cferdinandi/Sites/houdini/src/sass/components/_houdini.scss */
 .collapse-toggle {
  display: none;
  visibility: hidden;
}

/*  If JavaScript is enabled, show the collapse and expand link or button */
/* line 8, /Users/cferdinandi/Sites/houdini/src/sass/components/_houdini.scss */
.js-houdini .collapse-toggle {
  display: inline;
  visibility: visible;
}

/*  When expanded, hide "show" text.
*  When collapsed, hide "hide" text. */
/* line 17, /Users/cferdinandi/Sites/houdini/src/sass/components/_houdini.scss */
.active .collapse-text-show,
.collapse-text-hide {
  display: none;
  visibility: hidden;
}

/*  When expanded, show "hide" text. */
/* line 23, /Users/cferdinandi/Sites/houdini/src/sass/components/_houdini.scss */
.active .collapse-text-hide {
  display: inline;
  visibility: visible;
}

/* If JavaScript is enabled, hide the collapsed element */
/* line 29, /Users/cferdinandi/Sites/houdini/src/sass/components/_houdini.scss */
.js-houdini .collapse {
    max-height: 3.8em;
    overflow: hidden;
    opacity: 1;
    /*  Add animation when content expands and collapses */
    transition: all 0.8s ease;
}

/*  When collapsed element has the .active class, show it
 *  Uses max-height instead of display: none to allow for
 *  CSS3 animations, which don't work on display values. */
 /* line 40, /Users/cferdinandi/Sites/houdini/src/sass/components/_houdini.scss */
 .js-houdini .collapse.active {
    transition: all 0.8s ease;
    max-height: 9999em;
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
   footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-menu {
    padding-left: 2em;
    font-size: 1em;
}
.footer-menu:not(:last-child) {
    border-right: 1px solid #805c3d;
    padding-right: 2em;
}
.footer-com-list {
    margin-top: 3em;
}
.catchphrase {
    width: 34%;
    text-align: justify;
}
/* ==========================================================================
   Misc
   ========================================================================== */
   .kaode-silouette {
    padding: 2%;
}

.secret {
    position: absolute;
    bottom: 5%;
    left: 21%;
    width: 8%;
    height: 8%;
}