body .menu-header .navbar-brand {
    margin-left: 15px;
}
.select-langue .btn-lang img {
    margin: 0;
}
.select-langue .lang-dropdown {
    left: 0;
    right: auto;
}
.select-langue .lang-dropdown .btn-lang img {
    margin-left: 10px;
}
.select-langue .lang-arrow {
    margin-left: 0;
    margin-right: 5px;
}
body section#recherche div#PanelBtn div#languageLabel .select .select-styled:after {
    right: auto;
    left: 5px;
}
body section#recherche div#PanelBtn .left div#settingsLabel {
    border-right: none;
}
body section#recherche div#PanelBtn div#paste-clipboard,
body section#recherche div#PanelBtn .left div#settingsLabel {
    border-right: 1px solid #b4b6bc;
}
body section#recherche div#PanelBtn div#rephrase-fn {
    margin-left: -1px; /* hide border on near button */
}
body:not(.is-authorized) a#btncn:before,
body:not(.is-authorized) #global-wrapper > header ul.nav.navbar-nav > li button[data-toggle="collapse"]#btncn:before {
    margin-left: 7px;
    margin-right: 0;
}
#PanelBtn #actions ul {
    left: auto;
    right: 0;
}
#PanelBtn #actions ul li button {
    display: flex;
    text-align: right;
}
#PanelBtn #actions ul li span {
    position: relative;
    width: 25px;
}
#PanelBtn #actions ul li button#specialchars span img {
    top: calc(50% - 12.5px);
    left: 5px;
}
#PanelBtn #clear {
    border-left: 1px solid #b4b6bc;
}
.select-styled {
    padding: 8px 30px 8px 15px;
}
tr#se-connecter-blocks .Prem-SeConnecter-Input input {
    width: 100%;
    margin-left: 0;
}
.feature-box.media-left,
.feature-box.media-right {
    width: 350px;
}
.feature-box.media-left {
    display: flex;
    column-gap: 11px;
    align-items: center;
}
#presprem .row.img-absolute > div.pb:last-child { /* col-sm-6 col-md-4 pb */
    max-width: 300px;
}
#presprem .row.img-absolute > div.pb:last-child > .clearfix > .spetitlebwn {
    margin-right: 11px;
}
.feature-box.media-left i.medium:before {
    margin: 0;
}
.feature-box .feature-box-content,
.feature-box .feature-box-content p.scribsprems,
.feature-box .feature-box-content p.scribsletter {
    text-align: right;
}

html body#ortographe .flex.ortho-flex.compact-layout > .side-pub:first-child { /* #pub2 */
    display: flex !important;
    width: 290px;
    min-width: 290px;
}
html body#ortographe .flex.ortho-flex.compact-layout > .side-pub:last-child { /* #pub3 */
    display: none !important;
}
html body#ortographe .container-interface .flex.ortho-flex .sidebar {
    right: auto;
    left: 0;
    width: 292px;
    min-width: 292px;
}
html body#ortographe .container-interface .sidebar.visible {
    transform: translateX(calc(-100% - 15px));
}
.compact-layout .gauge--wrapper {
    left: 0;
}
.gauge--wrapper .gauge-needle {
    direction: ltr; /* fix gauge needle */
}
body section#recherche div#PanelBtn div#stylePanelLabel,
body section#recherche div#PanelBtn div#aiStylePanelLabel {
    margin-left: 0;
}

/** REWRITING **/
.hero.hero-4 .options-block .options-block--description,
.hero.hero-4c .faq-list--item-question,
.hero.hero-4c .faq-list--item-answer,
.hero.hero-5 .hero-5--faq-list-item .hero-5--faq-list-item--answer,
.hero.hero-4b .hero-content .hero-4b--text-wrapper,
.hero.hero-2 .hero-content .hero-2--text,
.hero.hero-3b#anchor-adapt-text .hero-3--overlay-text-wrapper .hero-3--overlay-text-header,
.hero.hero-3b#anchor-adapt-text .read-more--container {
    text-align: right;
}

/** MOBILE-APP **/
.hero.hero-3 .phone-emulator-container {
    right: auto;
    left: 47vw;
}
.hero.hero-3 .phone-emulator-container .phone-emulator-inner .view-2 > span {
    max-width: 90%;
}
.hero-5--contact-background {
    flex-direction: row-reverse;
}
.hero.hero-3 #hero-3-overlay-blue-text {
    text-align: right;
    align-items: flex-start;
}
.hero-2--row .text-container .text-promo {
    text-align: right;
}

@media screen and (min-width: 640px) {

    /** MOBILE-APP */
    .hero.hero-2 .phone-emulator-container #phone-emulator-anchor {
        transform: translateX(-85%);
    }
    .hero.hero-2 .phone-emulator-container .phone-emulator-behind {
        right: 0;
        left: auto;
        transform: translate(-90px, 35px);
    }
}

@media screen and (min-width: 768px) {
    body #content .container-interface.container-fluid > .flex,
    .hero.hero-5 .hero-5--content,
    .hero.hero-5 .hero-5--content .hero-5--logo-background {
        flex-direction: row-reverse;
    }
}

@media screen and (min-width: 768px) {

    /** REWRITING **/
    .hero.hero-5 .hero-5--logo {
        flex-basis: 30%;
    }

    /** MOBILE-APP **/
    .hero.hero-5 .hero-5--contact {
        flex-basis: 30%;
    }
}

@media screen and (min-width: 992px) {
    body #se-connecter-blocks .signin-wrapper {
        padding-left: 30px;
        padding-right: 0;
        padding-top: 0;
    }
    body #se-connecter-blocks .signup-wrapper {
        padding-left: 0;
        padding-right: 50px;
        padding-top: 0;
    }
}

@media screen and (min-width: 1024px) {
    body .menu-header .navbar-header {
        max-width: none;
        width: auto;
        margin-left: 15px;
    }

    /** REWRITING */
    .hero.hero-2 .hero-2--image {
        right: 50px;
    }
    .hero.hero-2 .hero-2--grid {
        min-height: 500px;
    }
    .hero.hero-3b#anchor-adapt-text {
        left: auto;
    }
    .hero.hero-3 #femme {
        left: auto;
        right: 61vw;
    }

    /** MOBILE-APP **/
    .hero.hero-2 .phone-emulator-container {
        left: 40%;
        right: auto;
    }
    .hero.hero-2 .phone-emulator-container #phone-emulator-anchor {
        transform: translateX(0);
    }
    .hero.hero-2 .phone-emulator-container .phone-emulator-behind {
        transform: translate(180px, 35px);
    }
}

@media screen and (min-width: 1536px) {


    /** REWRITING */
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="angry"] {
        top: -300px;
        left: 320px;
    }
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="persuasive"] {
        top: -300px;
        left: -110px;
    }
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="informal"] {
        top: -430px;
        left: -30px;
    }
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="educative"] {
        top: -550px;
        left: 130px;
    }
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="optimistic"] {
        top: -470px;
        left: 280px;
    }
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="professional"] {
        top: -600px;
        left: 0px;
    }
    .hero.hero-3 #femme .hero-3--icons-wrapper div[data-icon="friendly"] {
        top: -630px;
        left: 250px;
    }
    .hero.hero-3b#anchor-adapt-text {
        row-gap: 50px;
        top: -665px;
    }
    .hero.hero-3 #femme {
        left: auto;
        right: 65vw;
    }

    /** MOBILE-APP **/
    .footer--outer .footer--right-arrow {
        left: auto;
    }
}

@media screen and (max-width: 1280px) {
    #PanelBtn > .right {
        border: none;
    }
    #PanelBtn > #rephrase-fn {
        border-right: 1px solid #b4b6bc;
    }
}


@media screen and (min-width: 1024px) {
    html body#ortographe.mode-abonne-premium .container-interface .flex.ortho-flex:not(.compact-layout) .side-pub {
        display: block !important;
    }
}
@media screen and (min-width: 1280px) {
    html body#ortographe.mode-abonne-premium .container-interface .flex.ortho-flex.compact-layout .side-pub:first-child {
        display: block !important;
    }
    html body#ortographe.mode-abonne-premium .container-interface .flex.ortho-flex.compact-layout .side-pub:last-child {
        display: none !important;
    }
}

@keyframes skating {
    0% {
        transform: translateX(0) scaleX(-1);
    }
    50% {
        transform: translateX(60vw) scaleX(-1);
    }
    51% {
        transform: translateX(60vw) scaleX(1);
    }
    100% {
        transform: translateX(0) scaleX(1);
    }
}
