.icv {
  position: relative;
  overflow: hidden;
  cursor: row-resize; }
  .icv__icv--vertical {
    cursor: row-resize; }
  .icv__icv--horizontal {
    cursor: col-resize; }
  .icv__img {
    pointer-events: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
        user-select: none;
    max-width: none;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    top: 0;
    display: block; }
  .icv__is--fluid .icv__img {
    display: none; }
  .icv__img-a {
    height: auto;
    position: static;
    z-index: 1;
    left: 0px; }
  .icv__img-b {
    height: 100%;
    position: absolute;
    z-index: 2;
    left: auto;
    right: 0px;
    width: auto; }
  .icv__icv--vertical .icv__img-b {
    width: 100%;
    height: auto; }
  .icv__imposter {
    z-index: 4;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%; }
  .icv__wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0px;
    top: 0px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    z-index: 3; }
  .icv__is--fluid .icv__wrapper,
  .icv__icv--vertical .icv__wrapper {
    width: 100% !important; }
  .icv__is--fluid .icv__wrapper,
  .icv__icv--horizontal .icv__wrapper {
    height: 100% !important; }
  .icv__fluidwrapper {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }
  .icv__control {
    position: absolute;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    box-sizing: border-box;
    height: 100%;
    top: 0px;
    z-index: 5; }
  .icv__icv--vertical .icv__control {
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    left: 0;
    width: 100%; }
  .icv__control-line {
    height: 50%;
    width: 2px;
    z-index: 6; }
  .icv__icv--vertical .icv__control-line {
    width: 50%; }
  .icv__theme-wrapper {
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    transition: all 0.1s ease-out 0s;
    z-index: 5; }
  .icv__icv--vertical .icv__theme-wrapper {
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column; }
  .icv__arrow-wrapper {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    transition: all 0.1s ease-out 0s; }
  .icv__arrow-a {
    -webkit-transform: scale(1.5) rotateZ(180deg);
        -ms-transform: scale(1.5) rotate(180deg);
            transform: scale(1.5) rotateZ(180deg);
    height: 20px;
    width: 20px;
    -webkit-filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.33));
    filter: drop-shadow(0px -3px 5px rgba(0, 0, 0, 0.33)); }
  .icv__arrow-b {
    -webkit-transform: scale(1.5) rotateZ(0deg);
        -ms-transform: scale(1.5) rotate(0deg);
            transform: scale(1.5) rotateZ(0deg);
    height: 20px;
    width: 20px;
    -webkit-filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.33));
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.33)); }
  .icv__circle {
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    border-radius: 999px; }
  .icv__label {
    position: absolute;
    bottom: 1rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.33);
    color: white;
    border-radius: 3px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    max-width: 200px; }
  .icv__label.vertical {
    bottom: auto;
    left: 1rem;
    max-width: 70%; }
  .icv__label.on-hover {
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    transition: 0.25s cubic-bezier(0.68, 0.26, 0.58, 1.22); }
  .icv:hover .icv__label.on-hover {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1); }
  .icv__label-before {
    left: 1rem; }
  .icv__label-after {
    right: 1rem; }
  .icv__label-before.vertical {
    top: 1rem; }
  .icv__label-after.vertical {
    bottom: 1rem;
    right: auto; }
  .icv__body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }

.icv__label {
  transition: opacity 300ms;
  opacity: 0;
  will-change: left, transform;
  display: none !important;
  max-width: 25rem;
  right: auto;
  padding: 1rem 2rem; }

.gp-has-before-text .icv__label-before {
  display: block !important;
  text-align: left !important; }

.gp-has-after-text .icv__label-after {
  display: inline-block !important;
  text-align: left !important;
  min-width: unset !important; }

img + .icv__label-after {
  display: none !important;
  opacity: 0 !important; }

img + .icv__wrapper + .icv__label-before {
  display: none !important;
  opacity: 0 !important; }

.icv__wrapper.icv__wrapper + .icv__label_before-keep {
  display: block !important;
  opacity: 1 !important; }

/**
Workaround pour https://github.com/kylewetton/image-compare-viewer/issues/31
 */
body {
  overflow-y: scroll !important;
  padding-right: 0 !important; }

.gpImageCompare {
  position: relative; }
  .gpImageCompare.show-labels-hover .icv__label {
    opacity: 0;
    transition: opacity 300ms; }
  .gpImageCompare.show-labels-hover:hover .icv__label {
    opacity: 1; }
  .gpImageCompare .icv__label-before {
    z-index: 2; }
  .gpImageCompare figure {
    margin: 0; }
  .gpImageCompare-text-before, .gpImageCompare-text-after {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 2rem;
    background: rgba(255, 255, 255, 0.7);
    z-index: 4;
    color: #333;
    padding: 1rem;
    max-width: 20%;
    text-align: center; }
  .gpImageCompare-text-after {
    left: auto;
    right: 2rem; }
  .gpImageCompare-title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.4; }
  .gpImageCompare-desc {
    margin-top: 0.25em;
    font-size: 1.2rem;
    line-height: 1.4; }
  .gpImageCompare.label-top .icv__icv--horizontal .icv__label {
    top: 2rem;
    bottom: auto; }
  .gpImageCompare.label-center .icv__icv--horizontal .icv__label {
    top: 50%;
    bottom: auto;
    -webkit-transform: translate3d(-50px, -50%, 0);
            transform: translate3d(-50px, -50%, 0); }
  .gpImageCompare .icv__icv--horizontal .icv__label {
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
    color: #333; }
  .gpImageCompare.labels-default-text .icv__icv--horizontal .icv__label {
    width: auto; }