:root {
    --primary: #C1B29A;
    --primary-soft: #f9f9f9;
    --primary-soft-2: #E8E6E3;
}
html {
    font-size: 16px;
}
body {
    background: #fff;
    font-family: Roboto, Helvetica, Arial;
    padding-bottom: 40px;
}
body.page-node-type-book {
    padding-bottom: 280px;
}
body.path-frontpage {
    padding-bottom: 0;
}

p {
    margin: 0 0 1rem;
}

a {
    color: blue;
    text-decoration: none;
}

.layout-container {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}



#player-menu {
    position: fixed;
    z-index: 8;
    bottom: 90px;
    width: 100%;
    right: 0;
    left: 0;
    background: #fff;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
}
.play-button:hover {
    cursor: pointer;
}
.play-button.opacity-0 {
    opacity: 0;
}
.play-button.opacity-0 svg {
    /* height: 10px; */
}
.play-button svg {
    width: 80px;
    height: 80px;
    /* width: 89px; */
    /* height: 80px; */
}
.mobile-button.prev svg,
.mobile-button.next svg {
    /* width: 60px; */
    /* height: 60px; */
    width: 40px;
    height: 40px;
}

#mobile-menu {
    height: 90px;
    position: fixed;
    z-index: 10;
    bottom: 0;
    width: 100%;
    right: 0;
    left: 0;
    background: #fff;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.08);
}
#player-menu .player-menu-bar,
#mobile-menu .mobile-menu-bar {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: stretch;
    height: 100%;
}
.mobile-button.disabled {
    opacity: .3;
}
.mobile-button {
    display: flex;
    flex-direction: column;
    /* padding: 1rem 0; */
    /* padding: 16px 0; */
    padding: 10px 0;
    flex: 1 1 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: .9rem;
}
.mobile-button.logo img {
    width: 55px;
    height: auto;
}

.mobile-button.play-button {
    flex-grow: 0;
}

#player-menu .mobile-button,
#player-menu .mobile-button svg {
    color: var(--primary);
}
#mobile-menu .mobile-button,
#mobile-menu .mobile-button svg {
    color: #444;
}
.mobile-button span {
    margin-top: .25rem;
}

.mobile-button span,
.mobile-button svg {
    display: block;
}
.hidden {
    display: none!important;
}



ul.primary,
ul.primary li,
main nav ul,
main nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.primary li a,
main nav ul li a {
    display: block;
    padding: 24px;
    font-weight: 500;
    background: var(--primary-soft);
    color: var(--primary);
    margin: 16px 24px 0;
    border-radius: 5px;
}

#block-hent-content {
    min-height: 100vh;
}
body.gin--classic-toolbar #block-hent-content {
    min-height: calc(100vh - 39px);
}
body.gin--classic-toolbar.toolbar-horizontal.toolbar-tray-open #block-hent-content {
    min-height: calc(100vh - 78px);
}

h1 {
    font-size: 1.75em;
}

.node h1 {
    margin: 16px 24px;
    padding: 8px 12px 7px;
    display: inline-block;
}

.node__links {
    display: none;
}
h2 {
    margin-top: 0;
}
.node--view-mode-teaser h2 {
    padding: 16px 24px;
    margin: 0;
}
.region-header,
.breadcrumb {
    padding: 16px 24px;
}
.wrapper-flags {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 100vh;
    flex-direction: column;
}
body.gin--classic-toolbar .wrapper-flags {
    height: calc(100vh - 39px);
}
body.gin--classic-toolbar.toolbar-horizontal.toolbar-tray-open .wrapper-flags {
    height: calc(100vh - 78px);
}
.wrapper-parcours,
/* .tabs, */
.page-title,
.field--name-field-temoin,
.field--name-field-texte {
    padding: 16px 24px;
}
.node--type-book.node--view-mode-teaser {
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    display: block;
    color: inherit;
    margin-bottom: 24px;
}
/*

blockquote {
    padding: 24px 0 16px 28px;
    position: relative;
    margin: 0;
}

blockquote::before {
    content: " ";
    background: url(/modules/custom/visite/quotes.svg) no-repeat left top;
    z-index: -1;
    width: 66px;
    height: 66px;
    position: absolute;
    top: 1rem;
    left: 0;
}

.field--name-field-temoin {
    background: var(--primary-soft);
}
.field--name-field-temoin .node--type-temoin {
    padding: 1.5rem;
    position: relative;
    padding-left: 86px;
}
.field--name-field-temoin .node--type-temoin h2 {
    margin: 0;
    padding: 0;
}
.field--name-field-temoin .node--type-temoin h2 a {
    color: #444;
    margin-bottom: .5rem;
    font-size: 1.15rem;
    text-decoration: none;
}

.field--name-field-temoin .node--type-temoin .field--name-field-description {
    color: #999;
    font-weight: 300;
}

.field--name-field-temoin .node--type-temoin .field--name-field-portrait {
    position: absolute;
    top: 1.5rem;
    left: 0;
}
.field--name-field-temoin .node--type-temoin .field--name-field-portrait img {
    border-radius: 400px;
}
*/

.field--name-field-audio {
    display: none;
}

.field__label {
    color: #999;
    font-weight: 400!important;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: 1px;
}

/*
body .tabs a {
    border-radius: 50px;
    font-size: .9rem;
}
*/

.qr-code {
    max-width: 100%;
}

.breadcrumb {
    color: #999;
}

.breadcrumb li::before {
    content: " › ";
}

.breadcrumb a {
    color: #999;
    font-size: .9rem;
}

h1.page-title {
    margin: 0;
}


.fullscreen {
    position: fixed;
    z-index: 6;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* min-height: 100vh; */
    height: 100vh;
    overflow-y: scroll;
    padding: 24px;
    background: #fff;
    /* overflow: scroll; */
}
body.gin--classic-toolbar .fullscreen {
    top: 39px;
    height: calc(100vh - 39px);
}
body.gin--classic-toolbar.toolbar-horizontal.toolbar-tray-open .fullscreen {
    top: 78px;
    height: calc(100vh - 78px);
}

.fullscreen#language {
    z-index: 10;
}

#info .layout-container {
    padding-bottom: 280px;
}

#parcours .block-book-navigation {
    /* max-width: 480px; */
    /* margin: 0 auto; */
    padding-bottom: 280px;
}

#parcours .block-book-navigation a {
    color: var(--primary);
    display: block;
}
#parcours .block-book-navigation ul,
#parcours .block-book-navigation li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#parcours .block-book-navigation > ul  {
    border-left: 1px dashed #eee;
    margin-left: 1rem;
    counter-reset: section;
}
#parcours .block-book-navigation > ul > li > ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}
#parcours .block-book-navigation > ul > li > ul > li > a {
    font-weight: 300;
    padding: .5rem 0;
}
#parcours .block-book-navigation > ul > li > ul > li > a.is-active {
    font-weight: 600;
    /* text-decoration: underline; */
    /* color: #333; */
}
#parcours a.is-active {
    text-decoration: underline;
}
#parcours .block-book-navigation > ul > li > a {
    position: relative;
    padding: .5rem 0 .5rem 2rem;
    /* font-weight: 500; */
    margin-bottom: 1rem;
}

#parcours .block-book-navigation > ul > li.is-active > a {
    font-weight: 500;
}
#parcours .block-book-navigation > ul > li.is-active > a::before {
    background: var(--primary);
    color: #fff;
}
#parcours .block-book-navigation > ul > li > a::before {
    background: var(--primary-soft-2);
    color: var(--primary);
    counter-increment: section;
    content: counter(section);
    /* content: "1"; */
    width: 2rem;
    height: 2rem;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: -1rem;
    border-radius: 999px;
}


.field--name-field-image img {
    width: 100%;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.close-button:hover,
.language-switch:hover {
    cursor: pointer;
}

.close-button {
    position: absolute;
    z-index:12;
    /* top: .5rem; */
    /* right: .5rem; */
    top: -12px;
    right: -12px;
    color: #444;
}
.close-button svg {
    height: 2rem;
    width: 2rem;
}

/*
.region-header {
    position: absolute;
    display: flex;
    right: 8px;
    top: 8px;
}
body.gin--classic-toolbar .region-header {
    top: calc(8px + 39px);
}
body.gin--classic-toolbar.toolbar-horizontal.toolbar-tray-open .region-header {
    top: calc(8px + 78px);
}
*/

header {
    display: flex;
}
body .region-breadcrumb {
    margin: 0;
}
.region-header {
    display: flex;
    margin-left: auto;
    /* right: 8px; */
    /* top: 8px; */
}
.modal-trigger:first-child {
    margin-left: none;
}
.modal-trigger {
    margin-left: 8px;
}
.modal-trigger:hover {
    cursor: pointer;
    border-color: #444;
}
.modal-trigger .chevron {
    margin-left: 4px;
}

/*
.logo {
    position: absolute;
    top: .5rem;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    display: block;
    height: 64px;
}
*/


.modal-trigger {
    color: #444;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
.modal-trigger {
    top: 8px;
    position: absolute;
}
*/

.field--name-field-texte {
    font-size: 1.15rem;
    line-height: 1.6rem;
}

.region-breadcrumb {
    margin-top: 0;
}

.language-link {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: black;
    font-size: 2rem;
}
.language-link img {
    margin-right: 2.5rem;
}
