/* Reset et généralités */
* {
    margin:0; padding:0;
}
body {
    font-family:'Poppins', sans-serif; font-weight:400;
    font-size:18px; line-height:1.4em;
    font-variant-ligatures:no-common-ligatures; /* évite bug de rendu de ff et fi */
}
body.default-theme-BLACK {
    background:white;
}
body.default-theme-BLACK {
    background:black;
}
main, header, footer, aside, section, article, nav {
    display:block;
}
section.theme {
    box-sizing:border-box; min-height:100vh;
}
section.theme > .inner {
    box-sizing:border-box; min-height:600px;
}
h2, h3 {
    font-size:3.59vw; /* 1920 : 69px */
    line-height:1.2em;
    font-weight:600;
}
.center-vertical {
    display:flex; align-items:center;
}
.center-vertical > * {
    flex:1;
}
.std-vertical-padding {
    padding-top:10vw; padding-bottom:10vw;
}
.minimal-vertical-padding {
    padding-top:6vw; padding-bottom:6vw;
}
.std-horizontal-margin {
    margin-left:14.58vw; /* 1920 : 280px */
    margin-right:14.58vw; /* 1920 : 280px */
}
.reduced-right-margin {
    margin-right:9vw;
}
.minimal-horizontal-margin {
    margin-left:4.58vw;
    margin-right:4.58vw;
}
.half-left {
    box-sizing:border-box; width:50vw;
    padding-left:4.58vw;
}



/* Thèmes couleurs */
.theme-BLACK {
    background:black;
    color:white;
}
.theme-BLACK a {
    color:white;
}
.theme-WHITE {
    background:white;
    color:black;
}
.theme-WHITE a {
    color:black;
}


/* LOGO fixed */
#header {
    position:fixed; z-index:999;
    bottom:3.7vw;
    right:4.6vw; /* 1920 : 75px */
}
#header h1 {
    display:none;
}
#header .logo {
    position:relative;
    display:inline-block; text-decoration:none;
    width:10.42vw; /* 1920 : 200px */
    height:3.325vw;
}
.home-logo-mobile {
    display:none;
}
@media (min-width:981px) {
    body.home #header {
        right:-140vw;
        bottom:-25vw;
        transform: translateZ(0);
    }
    body.home #header .logo {
        width:416.8vw;
        height:133vw;
    }
}



/* Bouton BURGER */
#burger-btn {
    position:fixed; z-index:60000; /* doit être supérieur à #menu */
    top:4.6vw; /* 1920 : 75px */
    right:4.6vw; /* 1920 : 75px */
    width:3.125vw; /* 1920 : 60px */
    height:3.65vw; /* 1920 : 70px */
    cursor:pointer;
}
#burger-btn.force-WHITE .black-wrapper,
#burger-btn.force-BLACK .white-wrapper {
    display:none !important; height:0 !important;
}
#burger-btn.force-WHITE .white-wrapper,
#burger-btn.force-BLACK .black-wrapper {
    display:block !important; height:100% !important;
}
#burger-btn .close {
    position:absolute; top:0; right:calc(100%);
    width:3.125vw; /* 1920 : 60px */
    padding-right:.5vw;
    height:3.65vw; /* 1920 : 70px */
    transform:scale3d(0,0,0);
    background:rgba(0,0,0,0);
}
#burger-btn .close:before,
#burger-btn .close:after {
    content:" "; position:absolute; top:0;
    width:4.72vw; height:.21vw; border-radius:.105vw;
}
#burger-btn .close:before {
    transform-origin: top left; transform:rotateZ(49deg); left:.05vw;
}
#burger-btn .close:after {
    transform-origin: top right; transform:rotateZ(-49deg); right:.55vw;
}
#burger-btn.WHITE .close:before,
#burger-btn.WHITE .close:after {
    background:white;
}
#burger-btn.BLACK .close:before,
#burger-btn.BLACK .close:after {
    background:black;
}
#burger-btn.force-WHITE .close:before,
#burger-btn.force-WHITE .close:after {
    background:white !important;
}
#burger-btn.force-BLACK .close:before,
#burger-btn.force-BLACK .close:after {
    background:black !important;
}


/* Objets en bicolor */
.manage-bicolor svg.black path,
.manage-bicolor svg.black polygon {
    fill:black !important;
}
.manage-bicolor.single-color.WHITE .black-wrapper,
.manage-bicolor.single-color.BLACK .white-wrapper {
    display:none;
}
.manage-bicolor.bi-color.WHITE .white-wrapper,
.manage-bicolor.bi-color.BLACK .black-wrapper {
    z-index:20;
}
.manage-bicolor .white-wrapper,
.manage-bicolor .black-wrapper {
    position:absolute; z-index:10;
    top:0; left:0; width:100%; overflow:hidden;
}
.manage-bicolor svg {
    position:absolute; top:0; width:100%; height:auto;
}


/* MENU */
#menu {
    position:fixed; z-index:50000;
    top:0; right:0; height:100%;
    width:0%; overflow:hidden;
}
#menu .infos {
    position:absolute;
    bottom:4.17vw; /* 1920 : 80px */
    left:4.43vw; /* 1920 : 85px */
    font-size:0.78vw; /* 1920 : 15px */
    line-height:1.4em;
}
#menu .infos a {
    text-decoration:none;
}
#menu .infos a:hover {
    text-decoration:underline;
}
#menu ul.menu {
    list-style:none;
    position:absolute; top:0; height:100%;
    left:calc(50% + 8.07vw); /* 1920 : 155px */
    display:flex; flex-direction:column; justify-content:center;
}
.menu .wpml-ls-item {
	margin-top: 2em;
} 
#menu .menu a {
    position:relative;
    display:inline-block;
    text-decoration:none;
    font-size:3.59vw; /* 1920 : 69px */
    font-weight:600;
    line-height:1.1em;
    text-transform:uppercase;
}
#menu .menu a:after {
    content:" "; position:absolute; left:0; bottom:0.3vw;
    width:0; opacity:0;
    transition:width .4s ease-out, opacity .4s linear;
    font-size:0; height:0.16vw; background:white;
}
#menu .menu a:hover:after {
    width:100%; opacity:1;
}
#menu .line {
    position:absolute; 
    /* left:calc(50% + 0.78vw); */
  	left:calc(50% - 2vw);
    top:50%; height:200px; /* Modifié en JS pour correspondre à la hauteur du menu */
    font-size:0; width:0.21vw; background:white; border-radius:0.105vw;
}
#menu.theme-WHITE .line,
#menu.theme-WHITE .menu a:after {
    background:black;
}


/* Flèche : page suivante */
.has-continue {
    position:relative;
}
.has-continue .continue {
    position:absolute; bottom:1px;
    left:calc(50% - 4.3vw); width:8.6vw; height:3.3vw;
    text-align:center; cursor:pointer;
    transition:height .4s linear;
}
.has-continue .continue svg {
    height:3.3vw; width:auto;
    transform:rotateY(90deg);
    transition:transform .2s ease-out;
}
.has-continue.theme-BLACK .continue svg polygon {
    fill:white;
}
.has-continue .continue:hover svg {
    transform:rotateY(0deg);
}
.has-continue .continue:before {
    content:" "; position:absolute; top:0; left:calc(50% - .075vw);
    width:.15vw; height:100%;
    background:black;
    opacity:1;
    transition:opacity .1s linear;
}
.has-continue.theme-BLACK .continue:before {
    background:white;
}
.has-continue .continue:hover:before {
    opacity:0;
}
.has-continue.continue-hidden .continue {
    height:0;
}


/* Effet Mercure liquide homepage */
#water-wrapper {
    margin-bottom:-6px;
    overflow:hidden;
}
#water-wrapper canvas {
    outline:none;
}
#water-wrapper.has-continue .continue {
    bottom:7px;
}
@media screen and (min-aspect-ratio: 19/9) {
    #water-wrapper {
        min-height: 47vw;
    }
}



/* Vidéo */
section.home-video {
    position:relative; z-index:10; overflow:hidden;
    min-height:0 !important; height:56.25vw;
}
section.home-video .layer {
    position:absolute; z-index:20;
    top:0; left:0; width:100%; bottom:0;
    background:rgba(0,0,0,.3);
    cursor:pointer;
}
section.home-video .icon {
    position:absolute;
    top:calc(50% - 5vw); left:calc(50% - 5vw);
    width:10vw; height:10vw;
    opacity:.8;
    transition:all .3s ease-out;
}
section.home-video.playing .play {
    opacity:0; transform:scale(0);
}
section.home-video:not(.muted) .mute {
    opacity:0; transform:scale(10);
}
section.home-video.muted .mute {
    transition:all .1s ease-out;
}
section.home-video.playing:not(.muted) .layer {
    background:rgba(0,0,0,0);
}
#movie {
    box-sizing: border-box;
    width:100vw; height:56.25vw;
    background: url(../img/video-poster.jpg) no-repeat center center;
    background-size:cover;
}
#movie video {
    outline:none;
}



/* Services */
.services .columns {
    display:flex; justify-content:space-between; align-items:flex-start;
}
.services h2 {
    height:10vw;
    transition:height .4s ease-in;
}
.services.opened h2 {
    height:33vw;
}
.services ul {
    position:relative;
    list-style:none;
    width:39vw;
}
.services ul:before {
    position:absolute; content:" ";
    top:.6vw; bottom:0; width:.21vw; border-radius:.105vw;
    left:-1.7vw;
    background:white;
    opacity:0;
}
.services .item {
    opacity:0;
}
.services .item + .item {
    margin-top:.7vw;
}
.services .head {
    position:relative; display:inline-block;
    line-height:1.1em;
    cursor:pointer;
    margin-bottom:.6vw;
}
.services .head:after {
    content:" "; position:absolute; left:0; bottom:0.4vw;
    width:0; opacity:0;
    transition:width .4s ease-out, opacity .4s linear;
    font-size:0; height:0.21vw; background:white;
}
.services .item.opened .head:after,
.services .head:hover:after {
    width:100%; opacity:1;
}
.services .item .body {
    font-size:2.34vw; /* 1920 : 45px */
    line-height:1.3em; font-weight:500; font-style:italic;
    padding-bottom:.2vw;
    max-height:0; overflow:hidden;
    filter:blur(.1vw);
    opacity:0;
    transform:translateY(-2vw);
    transition:all .3s ease-out, max-height .5s ease-out;
}
.services .item.opened .body {
    max-height:12vw;
    filter:blur(0);
    opacity:1;
    transform:translateY(0);
    transition:all .4s ease-out, max-height .6s ease-out;
}



/* Logos */
.logos h2 {
    margin-bottom:4vw;
}
.logos .items {
    display:flex; flex-wrap:wrap; align-items:center;
    margin:-4vw 3vw;
}
.logos .items > * {
    box-sizing:border-box;
    text-align:center; padding:4vw 2vw 4vw;
    overflow:hidden;
}
.logos .items.by-row-1 > * {width:100%;}
.logos .items.by-row-2 > * {width:50%;}
.logos .items.by-row-3 > * {width:33.3%;}
.logos .items.by-row-4 > * {width:25%;}
.logos .items.by-row-5 > * {width:20%;}
.logos .items.by-row-6 > * {width:16.6%;}
.logos .items.by-row-7 > * {width:14.2%;}
.logos .items img {
    max-width:100%; max-height:3.5vw;
    width:auto; height:auto;
}



/* Instagram */
.instagram h2 {
    margin-bottom:6vw;
}
.instagram h2 br {
    display:none;
}
.instagram .feed {
    width:calc(100% - 4.53vw - 4.53vw);
    margin:0 auto;
}
.instagram .feed .sbi_photo {
    border:.24vw solid black;
    opacity:1 !important;
    transition:filter .2s linear;
}
.instagram .feed .sbi_photo:hover {
    filter:brightness(110%);
}



/* Page de texte */
.wysiwyg,
.wysiwyg p {
    font-size:2.55vw; line-height:1.4em; font-weight:500;
}
.wysiwyg p {
    margin-top:.7em;
    margin-bottom:.7em;
}



/* Page nos valeurs */
.valeurs .tabs {
    display:flex; flex-wrap: wrap; justify-content:flex-start;
    margin-bottom:5.46vw;
}
.valeurs .tab {
    position:relative;
    margin-right:1em;
    text-transform:uppercase;
    font-size:3.59vw; line-height:1.1em; font-weight:600;
    cursor:default;
}
.valeurs .tab:after {
    content:" ";
    position:absolute; bottom:.3vw;
    font-size:0; height:0.18vw;
    background:white;
    left:50%; width:0; opacity:.5;
    transition:all .3s linear;
}
.valeurs .tab.current:after {
    left:0; width:100%; opacity:1;
}
.valeurs .content {
    font-size:2.60vw; line-height:1.4em; font-weight:500;
    transform:translateY(-3vw); opacity:0;
    max-height:0; overflow:hidden;
    transition:transform .5s ease-out, opacity .5s linear;
}
.valeurs-mobile-title,
.valeurs .content .mobile-title {
    display:none;
}
.valeurs .content.current {
    max-height:300vh;
    transform:translateY(0); opacity:1;
}



/* Menu de sélection d'une réalisation */
nav#realisations > a:nth-child(odd) {
	display:none;
}

.realisations {
    position:relative;
}
.realisations:not(.loaded):before {
    content:" ";
    position:absolute; top:0; left:0; right:0; bottom:0;
    background-position:center center;
    background-repeat:no-repeat;
    background-image:url(../img/loader.gif);
}
.realisations .preview-layer {
    position:absolute; z-index:10;
    top:0; left:0; right:0; bottom:0;
    background:no-repeat center center;
    opacity:0;
    transition:opacity .4s linear;
}
.realisations .preview-layer[data-theme="BLACK"] {
    background-color:black;
}
.realisations .preview-layer[data-theme="WHITE"] {
    background-color:white;
}
.realisations.item-hovered .preview-layer.current {
    opacity:1;
}
.realisations > .inner {
    position:relative; z-index:20;
}
.realisations nav {
    display:flex; flex-wrap: wrap; justify-content:flex-start;
    opacity:0; transition:opacity 1s linear;
}
.realisations.loaded nav {
    opacity:1;
}
.realisations nav a {
    position:relative;
    padding:.1em .5em;
    text-transform:uppercase;
    font-size:3.59vw; line-height:1em; font-weight:600;
    text-decoration:none;
    opacity:1; transition:opacity .3s linear;
}
.realisations.item-hovered nav a:not(.current) {
    opacity:0;
}
.realisations.item-hovered nav a.current[data-theme="WHITE"] {
    color:black !important;
}
.realisations.item-hovered nav a.current[data-theme="BLACK"] {
    color:white !important;
}
.realisations nav a > span {
    display:inline-block;
    position:relative;
}
.realisations nav a > span:after {
    content:" ";
    position:absolute; bottom:0;
    height:0.18vw;
    background:white;
    left:50%; width:0; opacity:.5;
    transition:left .3s linear, width .3s linear, opacity .3s linear;
}
.realisations.item-hovered nav a.current[data-theme="WHITE"] > span:after {
    background:black;
}
.realisations.item-hovered nav a.current[data-theme="BLACK"] > span:after {
    background:white;
}
.realisations nav a:hover> span:after {
    left:0; width:100%; opacity:1;
}
body.realisation-hovered #header,
body.realisation-hovered #burger-btn {
    opacity:0;
}




/* Carte Google */
#google-map-wrapper {
    width:79.5vw;
    height:78vh;
}
.map .infos {
    display:flex; justify-content:flex-start;
    margin:1.98vw 0;
}
.map .infos > * {
    margin-left:4.58vw;
    font-size:1.09vw; font-weight:500; line-height:1.5em;
}
.map .infos a {
    text-decoration:none;
}
.map .infos a:hover {
    text-decoration:underline;
}



/* Une réalisation */
.realisation {
    position:relative;
}
.realisation.IMAGE > img {
    opacity:0; max-width:100%; max-height:100vh;
    width:auto; height:auto;
}
.realisation.IMAGE {
    background-repeat:no-repeat;
    background-position:center center;
}
.realisation.IMAGE.contain {
    background-size:contain;
}
.realisation.IMAGE.cover {
    background-size:cover;
}
.realisation.TEXT,
.realisation.TEXT p {
    font-size:0.9vw; font-weight:300; line-height:1.33em;
}
.realisation.TEXT p {
    margin:1em 0;
}
.realisation.TEXT strong {
    font-weight:700;
}
.realisation.TEXT a {
    text-decoration:none; font-style:italic; font-weight:500;
}
.realisation.TEXT a:hover {
    text-decoration:underline;
}
.realisation.IMAGE .button-wrapper {
    position:absolute; bottom:4.2vw; left:4.6vw;
}
.realisation.IMAGE .button-wrapper a {
    display:inline-block;
    color:white; border:.15vw solid white;
    text-transform:uppercase; text-decoration:none;
    font-size:1.1vw; line-height:1em; font-weight:500;
    padding:.9em 1.4em;
}



/* Page FORMULAIRE */
section.form {
    opacity:1;
    transition:opacity .4s linear;
}
section.form.processing .inner {
    opacity:.2;
}
section.form .inner {
    font-size:2.50vw; line-height:1.5em; font-weight:500;
}
section.form input[type="TEXT"].empty {
    min-width:18vw !important;
}
section.form input[type="TEXT"] {
    width:18vw;
    max-width:90vw !important;
    background:none; color:black;
    border:0; outline:none;
    appearance:none; -webkit-appearance:none;
    font-family:'Poppins', sans-serif; font-size:2.50vw; line-height:1.5em; font-weight:500;
}
section.form.theme-BLACK input[type="TEXT"] {
    color:white;
}
section.form input[type="TEXT"]:focus {
    color:rgba(0,0,0,.3);
}
section.form.theme-BLACK input[type="TEXT"]:focus {
    color:rgba(255,255,255,.3);
}
section.form .input-text-wrapper {
    position:relative; display:inline-block;
}
section.form .input-text-wrapper:after {
    position:absolute; content:" "; display:block;
    left:0; bottom:0; right:0; height:0.25vw;
    background:white;
    border-top:.18vw solid black;
}
section.form.theme-BLACK .input-text-wrapper:after {
    background:black;
    border-color:white;
}


section.form .select-wrapper {
    position:relative;
    display:inline-block; vertical-align:top;
}
section.form .select-wrapper .options > * {
    color:rgba(0,0,0,.3);
    transition:color .3s linear;
    cursor:pointer;
    overflow:hidden;
    max-height:2em;
    transition:max-height .3s ease-out;
}
section.form.theme-BLACK .select-wrapper .options > * {
    color:rgba(255,255,255,.3);
}
section.form .select-wrapper .options > *.selected,
section.form .select-wrapper .options > *:hover {
    color:black;
}
section.form.theme-BLACK .select-wrapper .options > *.selected,
section.form.theme-BLACK .select-wrapper .options > *:hover {
    color:white;
}
section.form .select-wrapper .options > * > span {
    display:inline-block;
}
section.form .select-wrapper .options > *.selected > span {
    border-bottom:.18vw solid black;
}
section.form.theme-BLACK .select-wrapper .options > *.selected > span {
    border-color:white;
}
section.form .select-wrapper.closed .options > *:not(.selected) {
    max-height:0;
}


section.form .textarea-wrapper {
    position:relative;
    display:inline-block; vertical-align:top;
    font-size:0; line-height:0;
    width:20vw;
}
section.form .textarea-wrapper > span {
    font-size:2.50vw; line-height:1.5em;
}
section.form .textarea-wrapper:after {
    position:absolute; content:" "; display:block;
    left:0; bottom:0; right:0; height:0.25vw;
    background:white;
    border-top:.18vw solid black;
}
section.form.theme-BLACK .textarea-wrapper:after {
    background:black;
    border-color:white;
}
section.form .textarea-wrapper textarea {
    background:none; color:black;
    border:0; outline:none;
    font-family:'Poppins', sans-serif; font-size:2.50vw; line-height:1.5em; font-weight:500;
    width:100%;
    height:1.5em; min-height:1.5em;
    resize:none; overflow:hidden;
    appearance:none; -webkit-appearance:none;
}
section.form.theme-BLACK .textarea-wrapper textarea {
    color:white;
}
section.form .textarea-wrapper textarea:focus {
    color:rgba(0,0,0,.3);
}
section.form.theme-BLACK .textarea-wrapper textarea:focus {
    color:rgba(255,255,255,.3);
}


section.form .input-text-wrapper.error {
    background:rgba(255,0,0,.1);
}
section.form .input-text-wrapper.error:after {
    border-color:red;
}
section.form .select-wrapper.error {
    background:rgba(255,0,0,.1);
}
section.form .textarea-wrapper.error {
    background:rgba(255,0,0,.1);
}
section.form .textarea-wrapper.error:after {
    border-color:red;
}


section.form .conditional,
section.form .conditional + br {
    display:none;
}


section.form .send {
    display:inline-block; vertical-align:middle;
    width:4.5vw; height:4.5vw;
    margin-left:4vw;
    background: url(../img/send-v2.svg) no-repeat center center;
    background-size:contain;
    cursor:pointer;
    position:relative; top:-.3vw;
    transform:rotateY(0);
}
section.form.theme-BLACK .send {
    background-image: url(../img/send-white-v2.svg);
}
section.form:not(.processing):not(.done) .send:hover {
    transform:scale(1.04);
}
section.form .done {
    display:inline-block; vertical-align:middle;
    margin-left:-6vw;
    width:6vw; height:6vw;
    background: url(../img/sent.svg) no-repeat center center;
    background-size:contain;
    transform:rotateY(-90deg); opacity:0;
    transition:all .6s linear;
}
section.form.theme-BLACK .done {
    background-image: url(../img/sent-white.svg);
}
section.form.done .send {
    transition:all .6s linear;
    transform:rotateY(90deg); opacity:1;
}
section.form.done .done {
    transform:rotateY(0); opacity:1;
}



/* bloc MOODZ */

section.patchwork > .patchwork-inner {
    position:relative; height:44vw;
}
section.patchwork .screen.mobile {
    display:none;
}
section.patchwork .photo {
    position:absolute; transform:scale(0);
}
section.patchwork .photo > img {
    width:100%; height:auto;
}
section.patchwork .edit-patchwork {
    position:absolute; z-index:1000; right:4.6vw; top:calc(50% - 1em);
}
section.patchwork .edit-patchwork a {
    display:inline-block;
    font-size:.9vw; font-weight:600; text-align:center;
    color:#FF0000;
}
section.patchwork .edit-patchwork a em {
    font-size:.7vw;
}
section.patchwork .edit-patchwork a:hover {
    opacity:1;
}



/* Pied de site */
#footer {
    position:relative;
    padding:6.14vw 3vw 9vw;
}
#footer .logo {
    display:inline-block; text-decoration:none;
    width:6vw;
    margin-top:.55vw;
}
#footer .logo svg {
    width:100%; height:auto;
}
#footer .logo svg.black path {
    fill:black !important;
}
#footer .copyright {
    position:absolute; bottom:2.1vw; right:4.68vw;
    font-size:.78vw; line-height:1em; font-weight:500;
}
#footer .copyright-mobile {
    display:none;
}
#footer .flex-global {
    display:flex; justify-content:space-around; align-items:flex-start;
}
#footer .flex-logo-nav {
    display:flex; justify-content:space-between; width:34vw;
}
#footer .flex-logo-nav ul {
    list-style:none; line-height:1em;
}
#footer .flex-logo-nav a {
    display:inline-block;
    font-size:1.04vw; font-weight:500; line-height:1.5em;
    text-decoration:none;
    text-transform:uppercase;
}
#footer .flex-widgets {
    display:flex; flex-wrap:wrap; width:34vw;
    margin-bottom:-1em;
}
#footer .flex-widgets > * {
    box-sizing:border-box; width:15.5vw; padding-right:1.5vw;
    margin-bottom:1em;
}
#footer .flex-widgets h4 {
    font-size:1.2vw; font-weight:500;
    text-transform:uppercase;
}
#footer .flex-widgets p {
    font-size:1.2vw; font-weight:300;
}
#footer .flex-widgets a {
    text-decoration:none;
}
#footer .flex-widgets .icon {
    display:inline-block;
    width:1.66vw; height:1.66vw;
    margin-top:1.15em; margin-right:.1vw;
}
#footer .flex-widgets .icon svg {
    width:100%; height:auto;
}
#footer.theme-BLACK .flex-widgets .icon svg path {
    fill:white;
}



/* MOODZ LIVE EDITOR */
#moodz-live-editor {
    margin-top:0 !important;
}
#moodz-live-editor .mobile-ratio-warning {
    display:none;
}
#moodz-live-editor #wpadminbar,
#moodz-live-editor #hiddendiv {
    display:none !important;
}
#moodz-live-editor.theme-WHITE {
    background:white;
}
#moodz-live-editor.theme-BLACK {
    background:black;
}
#moodz-live-editor #toolbar {
    position:fixed; z-index:20;
    top:0; left:0; right:0; height:32px; padding:0 20px;
    font-size:12px; font-weight:500; line-height:1em; white-space:nowrap;
    display:flex; justify-content:space-between; align-items:center;
}
#moodz-live-editor.theme-WHITE #toolbar {
    background:black; color:white;
}
#moodz-live-editor.theme-BLACK #toolbar {
    background:white; color:black;
}
#moodz-live-editor #toolbar .btns > * {
    padding:0 .5em; margin:0 .5em; cursor:pointer;
}
#moodz-live-editor.theme-WHITE #toolbar .btns > * {
    border:1px solid white;
}
#moodz-live-editor.theme-BLACK #toolbar .btns > * {
    border:1px solid black;
}
#moodz-live-editor.theme-WHITE #toolbar .btns > *:hover {
    background:white; color:black;
}
#moodz-live-editor.theme-BLACK #toolbar .btns > *:hover {
    background:black; color:white;
}
#moodz-live-editor #toolbar .info {
    opacity:.5;
}
#moodz-live-editor #toolbar:not(.no-selection) .info,
#moodz-live-editor #toolbar.no-selection .btns {
    display:none;
}
#moodz-live-editor #toolbar .actions > * {
    cursor:pointer; margin-left:1em;
}
#moodz-live-editor #toolbar .actions > *:hover {
    text-decoration:underline;
}
#moodz-live-editor #main {
    position:relative; z-index:10;
    top:0; left:0; right:0; height:44vw;
    border:2px dotted rgba(0,0,0,.5);
}
#moodz-live-editor .screen.mobile {
    display:none;
}
#moodz-live-editor #main .photo {
    display:inline-block;
    position:absolute; cursor:move; opacity:.8;
    transition:.3s opacity linear;
    border:3px solid rgba(0,0,0,0);
}
#moodz-live-editor #main .photo img {
    display:block; width:100%; height:auto;
}
#moodz-live-editor #main .photo.selected {
    opacity:1; border:3px dotted red;
}
#moodz-live-editor #main .photo .zindex {
    position:absolute; left:0; right:0; top:calc(50% - 0.5em);
    text-align:center;
    font-size:20px; font-weight:900;
    color:white; text-shadow:0 0 3px black;
}

#back-to-top {
    display:none;
}
