/* Références */

/* Base font color #383D47 */
/* Main blue #327EE6 */


/* General */

html {
  /* Fix pour le scroll elastique */
  position: fixed;
  width: 100%;
}

body, button {
  color:#383D47;
  font-family: 'Roboto', sans-serif;
  font-size:16px;
  font-weight: 300;
  overflow: hidden;
  padding:0;
  margin: 0;
}

body, body * {
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  -ms-box-sizing:border-box;
}

/* Titre */

.title {
  font-size: 1em;
  font-weight: 500;
  position: absolute;
  top: 0px;
  width: 100%;
  text-align: center;
  display: flex;
  background-color: #fff;
  height: 50px;
  padding: 0 10px 1px;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(51, 102, 153, 0.15);
  box-shadow: 0px 2px 5px 0px rgba(51, 102, 153, 0.15);
  z-index:999;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.title span {
  display: block;
  width:100%;
  line-height: 120%;
  margin-top: 0px;
  align-self: center;
  text-align: center;
}

/* Légende */

/* Menu */

/* Tray mobile */

/* Localiser */

/* Comparateur */

/* Carrousel */

/* Animations */

.legendContainer {
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border-radius: 3px;
  right: 30px;
  bottom: 30px;
  box-shadow:1px 1px 6px rgba(0,0,0,0.16);
}

#menu {
  background-color: #fff;
  border-radius: 3px;
  position: absolute;
  z-index: 1000;
  top: 80px;
  left: 30px;
  min-width:115px;
  box-shadow:1px 1px 6px rgba(0,0,0,0.16);
}

body:not(.mobileMap) #menu.mobile-only {
  display:none;
}

.compareMode ~ #menu {
  display: none;
}

.legendContent {
  max-width: 300px;
  overflow: hidden;
  max-height: 100000px;
}

.legendContent.hasVisibilityOption .legend:not(.nothumb):not(.visibility) {
  padding-left:60px;
}

*:not(.compareMode) .legendContainer .legendContent, #menu .buttons, *:not(.compareMode) .legendContentContainer {
  padding: 5px 0px 5px 0px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body.loaded *:not(.compareMode) .legendContainer .legendContent,
body.loaded #menu .buttons,
body.loaded *:not(.compareMode) .legendContentContainer {
  -ms-transition: max-height 0.5s;
  -webkit-transition: max-height 0.5s;
  -moz-transition: max-height 0.5s;
  -o-transition: max-height 0.5s;
  transition: max-height 0.5s;
  backface-visibility: hidden;
}


.legendContentContainer {
  max-height: 312px;
  overflow-y: auto;
  padding: 10px 5px 10px 10px;
}

.compareMode .legendContent {
  width: auto;
  max-width: 1000px;
}

.left .legendContainer, .right .legendContainer {
  position: absolute;
  z-index: 1000;
  background-color: white;
  border: solid 1px black;
  width: 98%;
  border-radius: 0px;
  left: 0px;
  bottom: 0px;
  height: auto;
  overflow: hidden;
  width: 100%;
  border: none;
  max-height: 130px;
}

.left .legendContentContainer, .right .legendContentContainer {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100px;
  border-radius: 0px;
}


#leftContainer, #rightContainer {
  position: absolute;
  width: calc(100% - 40px);
  margin: 20px;
  height: calc(100% - 50px);
  overflow: hidden;
  margin: 0 20px 0 20px;
}


#rightContainer {
  left: calc(50% - 0px);
  display: none;
}

@media all and (min-width: 1024px) {
  #leftContainer, #rightContainer {
    width: calc(50% - 40px);
  }
  #rightContainer {
    display: block;
  }
  .left .legendContainer,
  .right .legendContainer {
    max-height: 230px;
  }
  .left .legendContentContainer,
  .right .legendContentContainer {
    max-height: 200px;
  }
}

sup {
  font-size: 0.6em;
  vertical-align: top;
  position: relative;
  top: -0.5em;
}

.left .legendContent, .right .legendContent {
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.left .legend, .right .legend {
  display: inline-block;
  width: 100%;
  float:none;
}

.left.before > * , .right.before > * {
  left: -100%;
}

.left.after > * , .right.after > * {
  left: 100%;
}


.thumb {
  width: 20px;
  height: 20px;
  float: left;
  background-repeat: no-repeat;
  display:inline-block;
}


.interactiveMap {
  top: 50px;
  position: absolute;
  width: 100%;
  height: calc(100% - 50px);
  overflow: hidden;
  background-color: #F8F8F8;
}

.left .interactiveMap, .right .interactiveMap {
  background-color: #F8F8F8;
  width: 100%;
  height: calc(100% - 50px);
}

.legendToggleAllVisibility {
  display:none;
  font-size:100%;
  height:36px;
  width:100%;
  text-align: left;
  margin-bottom:5px;
  min-width:280px;
  line-height:36px;
}

.legendToggleAllVisibility button {
  background-color:#fff;
  background-image: url(images/oeil-visible.svg);
  background-size: 22px 20px;
  background-repeat: no-repeat;
  background-position: 9px 8px;
  font-size: 100%;
  border: 0;
  height: 36px;
  width: 40px;
  outline: none;
  display: block;
  float: left;
  margin-right: 10px;
  margin-left: 10px;
}

.legendToggleAllVisibility span {
  display: block;
  height: 36px;
  line-height: 36px;
  pointer-events: none;
}

.legendToggleAllVisibility.showBtn {
  display:block;
}

.legendVisibility {
  flex-grow:0;
  flex-shrink:0;
  width:50px;
}

.legendVisibility button {
  width:40px;
  height:20px;
  background-color:transparent;
  background-image:url(images/oeil-visible.svg);
  background-size: 22px 20px;
  background-repeat: no-repeat;
  background-position: 9px 0;
  text-align: center;
  text-indent:-99999px;
  border:0;
  outline: none;
}

.legendVisibility button.layerIsHidden,
.legendToggleAllVisibility.layerIsHidden button {
  background-image:url(images/oeil-masque.svg);
}

.legendText {
  overflow: visible;
  background-position: -5px center;
  background-repeat: no-repeat;
  vertical-align: top;
  display: inline-block;
  margin-left: 40px;
  line-height: 20px;

}
.nothumb .legendText {
  display: inline-block;
  font-weight:700;
  margin-left: 0px;
}

.compareMode .legendText {
  margin-left: 15px;
}

.legend.nohover .legendText {
  cursor: default;
}

.legend:not(.nohover):hover
{
  background-color: #F8FAFF;
  border-color:rgba(226,231,234,0.5);
  cursor: pointer;
}

.legend.active {
  color:#327EE6;
  background-color: #F8FAFF;
  border-color:rgba(226,231,234,0.5);
}

.layer, .map {
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top center;
  z-index:1;
}

.localizationImg {
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: contain;
  background-position: top center;
  display: none;
}

.highlight.active{
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top center;
  animation-name: blink;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .highlight.active{
    animation-name: blinkIE;
  }
}


.highlight.reverse.active{
  animation-name: reverseBlink;
}

.border.active{
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top center;
  animation-name: borderBlink;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.borderYellow.active,
.borderyellow.active{
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top center;
  animation-name: borderBlinkYellow;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}



.bordercolor, .bordercolornohalo{
  opacity: 0;
}

.bordercolor.active {
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top center;
  animation-name: borderBlinkColor;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.bordercolornohalo.active{
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: top center;
  animation-name: borderBlinkNoHalo;
  animation-duration: 2s;
  animation-iteration-count: infinite;



}


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .border.active, .bordercolor.active, .borderBlack.active, .borderYellow.active, .borderyellow.active{
    animation-name: blinkIE;
  }
}



.legend {
  display: flex;
  padding: 8px 15px 8px 15px;
  min-width: 150px;
  width:100%;
  box-sizing: border-box;
  border-top:1px solid transparent;
  border-bottom:1px solid transparent;
}

.legend.visibility {
  padding: 8px 15px 8px 10px;
}

.compareMode .legend {
  display: flex;
  overflow: hidden; /* fix for Firefox */
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
}

.mainMap {
  position: absolute;
  height: 100%;
  margin: 0 auto;
  top: 0px;
  transition: none;
  z-index: 100;
  background-color: #F8F8F8;
  /* -moz-transition: all 1s;
  -webkit-transition: all 1s;
  transition: all 1s; */
  backface-visibility: hidden;
}

.localize .mainMap {
  display: none;
}

.mainMap.ui-draggable:not(.ui-draggable-disabled) {
  cursor: pointer;
  z-index: 1;
}

#container {
  overflow:hidden;
}

#container:not(.compareMode) {
  margin: 0 auto;
  width: 1705px;
  height: 100%;
  background-color: #F8F8F8;
}

#container.compareMode {
  background-color: white;
}

.zoomMenu {
  position: fixed;
  height: 30px;
  padding: 00px 0px 0px 0px;
  right: 5px;
  top: 5px;
  z-index: 1000000;
  margin-right: 10px;
}

.compareMode .zoomMenu {
  position: absolute;
  right: 5px;
  top: 5px;
}

.button {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.localize + .legendContainer, .localize .zoomMenu {
  display: none;
}

#menu.minimized .buttons, .legendContainer.hidden .legendContentContainer {
  overflow-y: hidden;
  max-height: 0px;
  min-height: 0px;
  padding: 0px;
}

@keyframes blink {
  0%   {
    -webkit-filter: brightness(1), drop-shadow(5px 5px 5px black);
    filter: brightness(1);
  }
  50%  {
    -webkit-filter: brightness(0.7);

    filter: brightness(0.7);
  }
  100% {
    -webkit-filter: brightness(1);

    filter: brightness(1);
  }
}

@keyframes blinkIE {
  0%   {
    opacity: 1;
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  }
  50%  {
    opacity: 0;
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";


  }
  100% {
    opacity: 1;
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";

  }
}


@keyframes reverseBlink {
  0%   {
    opacity: 1;
  }
  50%  {

    opacity: 0;


  }
  100% {

    opacity: 1;

  }
}

@keyframes borderBlink {
  0%   {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    /*opacity: 1;*/
    /* width:120%;*/
  }
  50%  {
    -webkit-filter: drop-shadow(-3px 0px 0px white) drop-shadow(0px -3px 0px white) drop-shadow(3px 0px 0px white) drop-shadow(0px 3px 0px white);
    filter: drop-shadow(-3px 0px 0px white) drop-shadow(0px -3px 0px white) drop-shadow(3px 0px 0px white) drop-shadow(0px 3px 0px white);

    /* opacity: 0;*/
    /* width:100%;*/


  }
  100% {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);

    /* opacity: 1;*/
    /* width:120%;*/

  }
}
@keyframes borderBlinkColor {
  0%   {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    opacity: 0;
    /* width:120%;*/
  }
  50%  {
    /* -webkit-filter: drop-shadow(-3px 0px 0px white) drop-shadow(0px -3px 0px white) drop-shadow(3px 0px 0px white) drop-shadow(0px 3px 0px white);*/
    filter: drop-shadow(-2px 0px 0px #ffff00) drop-shadow(0px -2px 0px #ffff00) ;

    opacity: 1;
    /* width:100%;*/


  }
  100% {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);

    opacity: 0;
    /* width:120%;*/

  }
}

@keyframes borderBlinkYellow {
  0%   {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    opacity: 1;
    /* width:120%;*/
  }
  50%  {
    -webkit-filter: drop-shadow(-3px 0px 0px #ffff00) drop-shadow(0px -3px 0px #ffff00) drop-shadow(3px 0px 0px #ffff00) drop-shadow(0px 3px 0px #ffff00);
    filter: drop-shadow(-3px 0px 0px #ffff00) drop-shadow(0px -3px 0px #ffff00) drop-shadow(3px 0px 0px #ffff00) drop-shadow(0px 3px 0px #ffff00);

    opacity: 1;
    /* width:100%;*/


  }
  100% {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);

    opacity: 1;
    /* width:120%;*/

  }
}


@keyframes borderBlinkNoHalo {
  0%   {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    /*filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);*/
    opacity: 0;
    /* width:120%;*/
  }
  50%  {
    /* -webkit-filter: drop-shadow(-3px 0px 0px white) drop-shadow(0px -3px 0px white) drop-shadow(3px 0px 0px white) drop-shadow(0px 3px 0px white);*/
    /* filter: drop-shadow(-2px 0px 0px #ffff00) drop-shadow(0px -2px 0px #ffff00) ;*/

    opacity: 1;
    /* width:100%;*/


  }
  100% {
    -webkit-filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);
    /*filter: drop-shadow(-3px 0px 0px transparent) drop-shadow(0px -3px 0px transparent) drop-shadow(3px 0px 0px transparent) drop-shadow(0px 3px 0px transparent);*/

    opacity: 0;
    /* width:120%;*/

  }
}


.layer {
  position: absolute;
  top: 0px;
}

img {
  width: 100%;
  height: 100%;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.infoBox img {
  border-radius: 5px;
  display: block;
  max-width:100%;
}

.infoBox a {
  color:#327EE6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
}


.button {
  width: 44px;
  height: 44px;
  display: inline-block;
  background-repeat: no-repeat;
  margin-left: 20px;
  background-size: 143px 133px;
  background-image: url(images/iconsprite.png);
}

#menu .buttons {
  padding:20px 15px;
}

#menu .buttons > div {
  background:#F0F4FC;
  border-radius: 3px;
  margin-top:20px;
  padding:15px;
  cursor: pointer;
  width:90px;
}

#menu .buttons > div:hover {
  background:#D9E1EF;
}

#menu .buttons > div:first-child {
  margin-top:0;
}

#menu .buttons span {
  display: block;
  text-align: center;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size:14px;
  line-height: 110%;
}

#menu .button {
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: auto 24px;
  height:24px;
  width:100%;
  margin:0 0 10px;
  text-align: center;
}


.button.inactive {
  display: none;
}


#mapBtn {
  background-image: url(images/carte_gris.svg);
}

body.mapIsSchema #mapBtn {
  background-image: url(images/carte_gris_schema.svg);
}

#menu .buttons > div.menuLegendBtn {
  background:#327EE6;
  color:#fff;
  display: none;
}

@media all and (max-width:1024px) {
  body.mobileMap #menu {
    display: block!important;
  }
  body.mobileMap #container:not(.localize) + #menu .buttons > div.menuLegendBtn:not(.nolegend),
  body.mobileMap #container:not(.localize) #menu .buttons > div.menuLegendBtn:not(.nolegend) {
    display: block!important;
  }
}

#menuLegendBtn {
  background-image: url(images/legende_blanc.svg);
}

#legendBtn:hover {
  background-position: 0px -35px;
}

.noLegend #legendBtn {
  background-position: 0px 0px;
}

.glassBtn {
  background:#327EE6;
  background-image: url(images/loupe_zoom_blanc.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size:22px;
  border-radius:100%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.zoomed .glassBtn {
  background-image: url(images/loupe_dezoom_blanc.svg);
}

#localBtn {
  background-image: url(images/localiser_gris.svg);
}

#compareBtn {
  background-image: url(images/comparer_gris.svg);
}

body.mapIsSchema #compareBtn {
  background-image: url(images/comparer_gris_schema.svg);
}

#menu {
  display:none;
}

body.desktop-menu-visible #menu {
  display:block;
}

.map + #menu .mapBtn,
.localize + #menu .localBtn,
.compareMode #compareBtn {
  background:#327EE6!important;
  cursor:default!important;
  color:#fff;
}

.map + #menu #mapBtn {
  background-image: url(images/carte_blanc.svg);
}

body.mapIsSchema .map + #menu #mapBtn {
  background-image: url(images/carte_blanc_schema.svg);
}

#menu #maplabel1 {
  display:block;
}
#menu #maplabel2 {
  display:none;
}

.localize + #menu #localBtn {
  background-image: url(images/localiser_blanc.svg);
}

.compareMode + #menu #compareBtn {
  background-image: url(images/comparer_blanc.svg);
}

body.mapIsSchema .compareMode + #menu #compareBtn {
  background-image: url(images/comparer_blanc_schema.svg);
}


.legendHeader, .menuHeader {
  background-color: #327EE6;
  font-weight: 700;
  padding: 8px 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.compareMode .legendHeader,
.compareMode .menuHeader {
  border-radius: 0;
}

.localize #compareBtn {
  background-position: -252px -140px;
}

.localize #legendBtn {
  background-position: 0px -140px;
}

.legendHeader span, .menuHeader span {
  color: white;
}

.legendThumb {
  background-repeat: no-repeat;
  padding-right: 15px;
  padding-left: 0px;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-size: 30px 20px;
  background-position-x: 0px;
  flex-grow:0;
  flex-shrink: 1;
}

.compareMode .legendThumb {
  padding-right: 0px;
  width: 30px;
  height: 20px;
}

.legendThumb.nothumb {
  width: 0px;
}

.legendThumb.nothumb + .legendText {
  font-style: normal;
  font-weight: 700;
  margin-left: 7px;
}

.legendClose, .menuClose {
  background-image: url(images/chevron_blanc.svg);
  background-position: center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  display: block;
  height: 24px;
  width: 24px;
  float: right;
  cursor: pointer;
}


.legendContainer.hidden .legendClose, #menu.minimized .menuClose {
  transform: rotate(180deg);
}

.left, .right {
  position: absolute;
  width: 100%;
  height: 100%;
  /* float: left; */
  top: 0px;
}

.left .interactiveMap, .right .interactiveMap {
  border: solid 2px #327EE6;
}

.left:not(.notransition) > *, .right:not(.notransition) > *{
  transition: left 0.5s ;
  -webkit-transition: left 0.5s;
  backface-visibility: hidden;
}

.notransition {
  transition: left 0s;
  -webkit-transition: left 0s;
}

.left.active, .right.active {
  z-index:999999999;
}

.left.active .interactiveMap, .right.active .interactiveMap {
  left: 0%;
  z-index:9999;
}

.infoBox {
  background-color: #fff;
  border-radius: 3px;
  position: absolute;
  display: none;
  z-index: 1000;
  left: 30px;
  bottom: 30px;
  height: auto;
  width: auto;
  max-width: 400px;
  overflow: hidden;
  box-shadow:1px 1px 6px rgba(0,0,0,0.16);
}

.infoBox.unhide {
  display: block;
}

.localize .infoBox.unhide {
  display: none;
}


.infoBox h2 {
  margin: 10px;
  font-size:32px;
}


.infoBox h3 {
  margin: 10px;
}

.infoBox p {
  margin: 10px;
  font-size:24px;
}

.pastilleGeo {
  background-image: url("images/pastilleGeo.png");
  background-repeat: no-repeat;
  background-position: right top;
  width: 70px;
  height: 70px;
  background-size: cover;
  float: right;
}

.ui-resizable {
  position: absolute;
}

.nextArrow {
  position: absolute;
  right: 0px;
  top: 110px;
  width: 80px;
  z-index: 1000000000;
  opacity: 0;
  transition: opacity 0.1s;
  background-repeat: no-repeat;
  cursor: pointer;
}

.previousArrow {
  position: absolute;
  left: 20px;
  top: 110px;
  width: 80px;
  z-index: 1000000001;
  opacity: 0;
  transition: opacity 0.1s;
  cursor: pointer;
}

.nextArrow span {
  position: absolute;
  right: 0px;
  top: calc(50% - 60px);
  background-image: url(images/btn_navigation.png);
  background-position: -53px 0px;
  background-size: 200px 75px;
  width: 53px;
  height: 75px;
  z-index: 1000000002;
  background-repeat: no-repeat;
}

.previousArrow span {
  position: absolute;
  left: 0px;
  top: calc(50% - 60px);
  background-image: url(images/btn_navigation.png);
  background-position: 0px 0px;
  background-size: 200px 75px;
  width: 53px;
  height: 75px;    z-index: 1000000003;
}

.nextArrow:hover, .previousArrow:hover {
  opacity: 1;
}


.layer.hidden {
  opacity: 0;
  transition: opacity 1s;
}

.layer.hidden.revealed {
  opacity: 1;
}

.layer.layerIsHidden {
  visibility:hidden;
  opacity:0;
}

.footer {
  width: calc(50% - 40px);
  height: 50px;
  bottom: 0px;
  position: relative;
  float: left;
  margin: 5px;
  cursor: pointer;
  margin: 0 20px 0 20px;
  overflow: hidden;
}

#leftThumbContainer, #rightThumbContainer {
  margin: 7px auto;
  height: 40px;
}

.thumbContainer div, .thumbContainer div:not(.backBtn) {
  background-size: cover;
  position: relative;
  border: solid 2px #327EE6;
  border-radius: 5px;
  cursor: pointer;
  height: 32px;
  width: 64px;
  margin: 2px auto;
  background-color: white;
}


.thumbContainer {
  width: 76px;
  height: 40px;
  float: left;
  margin: 0;
}

.backmenu .thumbContainer {
  background-color: transparent!important;
}


.backmenu .thumbContainer div {
  border: solid 2px #327EE6!important;
}


.backmenu #rightThumbContainer  {
  margin-left: calc(50% - 92px);
}


#leftThumbContainer > div:hover > div:not(.active),
#rightThumbContainer > div:not(.backBtn):hover > div:not(.active),
#leftThumbContainer div.active, #rightThumbContainer div.active {
  border-width: 2px;
  transform: scale(1.2);
}


footer {
  width: 100%;
  height: 50px;
  position:absolute;
  bottom: 0px;
}


.localize ~ .legendContainer {
  display: none;
}

.localize #localizationImg {
  display: none;
}

.localize #localizationImg {
  display: block;
}


.customBox {
  font-family:Arial, Helvetica, sans-serif;
  text-align:center;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #666;
  position: absolute;
}

.nomOcean {
  font-family:Arial, Helvetica, sans-serif;
  text-align:center;
  font-size: 20px;
  font-weight: normal;
  font-style: italic;
  letter-spacing: 3px;
  color: blue;
  position: absolute;
  opacity: 0.4;
}

span.infoClose {
  background-image: url(images/croix_blanc.svg);
  background-position: 0 0;
  display: block;
  height: 20px;
  background-repeat: no-repeat;
  width: 20px;
  background-size: 14px 14px;
  text-align: right;
  right: 0px;
  float: right;
  cursor: pointer;
}


.infoHeader {
  background-color: #327EE6;
  padding: 10px;
  height: 34px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.buttons div span {
  vertical-align: middle;
}

.buttons div span, .buttons a span {
  vertical-align: middle;
}



#loading
{
  height: 100%;
  width: 100%;
  background-color: white;
  top: 0px;
  left: 0px;
  position: absolute;
  z-index: 10000000;
}

.loaded ~ #loading
{
  display: none;
}

.nomenu #menu {
  display: none;
}

ul#compareList {
  list-style-type: none;
  padding-left: 30px;
  margin-top: 0;
  max-height: 0;
  max-width: 200px;
  overflow: hidden;
  -webkit-transition: all 0.5s;
}

.active + ul#compareList {
  max-height: 1000px;
}


ul#compareList li:hover {
  font-weight: bold;
}

.backBtn {
  width: auto;
  display: inline-block;
  line-height: 110%;
  padding: 7px 10px 8px 34px;
  border-radius: 3px;
  background:  #327EE6;
  color: #fff;
  cursor: pointer;
  background-image: url(images/fleche_retour_blanc.svg)!important;
  background-position: 10px center;
  background-repeat: no-repeat;
  background-size:auto 12px;
}

.backBtn:hover {
  background-color:  rgb(0, 100, 170);
}


.ui-tooltip, .arrow:after {
  background: white;
  border: 2px solid #327EE6;
}
.ui-tooltip {
  padding: 5px 10px;
  border-radius: 5px;
  font-family: "arial narrow", "arial";
}
.arrow {
  width: 70px;
  height: 16px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: -16px;
}
.arrow.top {
  top: -16px;
  bottom: auto;
}
.arrow.left {
  left: 20%;
}
.arrow:after {
  content: "";
  position: absolute;
  left: 20px;
  top: -20px;
  width: 25px;
  height: 25px;
  box-shadow: 6px 5px 9px -9px black;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.arrow.top:after {
  bottom: -20px;
  top: auto;
}


.scrollLeft, .scrollRight {
  display: none;
  background-image: url(images/btn_navigation.png);
  background-size: 125px 35px;
  background-repeat: no-repeat;
  height: 40px;
  width: 35px;
  float: left;
  cursor: pointer;
  border: solid 3px #327EE6;
  box-sizing: border-box;
}

.scrollLeft {
  background-position: -66px 0px;
  margin: 7px 0px 4px 20px;
}

.scrollRight {
  background-position: -95px 0px;
  margin: 7px 20px 4px 0px;
}


.scroll.footer
{
  width: calc(50% - 110px);
  margin: 0px;
}

.thumbContainer:last-child
{
  border-radius: 0px 10px 10px 0px;
}

.thumbContainer:first-child
{
  border-radius: 10px 0px 0px 10px;
  margin-left: 4px;

}

@-moz-document url-prefix(){
  sup {
    font-size: 0.6em;
    vertical-align: top;
    position: relative;
    top: 0.2em;
  }
}


.nolegend.legendContainer
{
  display: none;
}


.transitioning .highlight.reverse {
  display: none;
}





@media all and (max-width:1024px) {

  /* **** Menu **** */
  body.mobileMap #menu {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
    left:0;
    bottom:30px;
    top:auto;
    min-width:0;
  }
  body.mobileMap .left.active #menu.carrouselmenu {
    display: block!important;
  }
  body.mobileMap #menu .menuHeader {
    display:none;
  }

  body.mobileMap #menu .buttons {
    padding:0;
  }

  body.mobileMap #menu .button {
    background-size: auto 22px;
    height:22px;
    margin-bottom:9px;
  }

  body.mobileMap #menu .buttons > div {
    background: #327EE6;
    color:#fff;
    border-radius: 0;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    padding:11px 1px 11px 0;
    width:80px;
  }

  body.mobileMap #menu .buttons > div span:last-child {
    pointer-events: none;
  }

  body.mobileMap #mapBtn {
    background-image: url(images/fleche_retour_blanc.svg)!important;
    background-position: center;
    background-repeat: no-repeat;
    background-size:auto 18px;
  }

  body.mobileMap #localBtn {
    background-image: url(images/localiser_blanc.svg);
    background-size: auto 24px;
    height:24px;
    margin-bottom:10px;
  }

  body.mobileMap #compareBtn {
    background-image: url(images/comparer_blanc.svg);
  }

  body.mobileMap.mapIsSchema #compareBtn {
    background-image: url(images/comparer_blanc_schema.svg);
  }


  body.mobileMap #menu #maplabel1 {
    display:none;
  }
  body.mobileMap #menu #maplabel2 {
    display:block;
  }

  body.mobileMap .map + #menu .buttons .mapBtn {
    display: none;
  }



  /* **** Mobile legend **** */


  /* Scrollbar always visible */
  .legendContentContainer::-webkit-scrollbar-track {
    background: #f9f9f9;
    border-left: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    border-radius: 3px;
  }

  .legendContentContainer::-webkit-scrollbar-thumb {
    border-radius: 20px;
    border: 4px solid transparent;
    border-left: 4px solid transparent;
    background-color: #c2c2c2;
    background-clip: content-box;
  }

  .legendContentContainer::-webkit-scrollbar {
    width: 14px;
  }

  body.mobileMap .legendHeader {
    background:transparent;
    height:50px;
    line-height: 50px;
    padding:4px 15px 0;
    display: flex;
    justify-content: space-between;
    font-size:1.15em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  body.mobileMap .legendHeader .legendHeaderTitle {
    color:#383D47;
  }

  body.mobileMap .legendHeader .legendClose {
    width:44px;
    height:44px;
    position: relative;
    top:3px;
    background-image: url(images/croix_gris.svg);
    background-size:14px;
    background-repeat: no-repeat;
    background-position: center;
  }

  body.mobileMap .legendContainer {
    border-radius: 0;
    width:100%;
    position: fixed;
    bottom:0px;
    left:0;
    z-index:2000;
  }
  body.mobileMap .legendContainer.hidden {
    bottom:-74px;
  }
  body.mobileMap .legendContentContainer {
    padding:0 0 10px!important;
    max-height: 39vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.mobileMap .legendContent {
    max-width: 100%;
    overflow-y: auto;
  }

  body.mobileMap .left .legendContent,
  body.mobileMap .right .legendContent {
    height: auto;
    -moz-column-count: 1;
    column-count: 1;
  }

  /* **** Mobile : autres css **** */
  body.mobileMap .zoomMenu {
    display:none;
  }
  body.mobileMap .title {
    z-index:999999;
    padding:0 10px;
  }
  body.mobileMap .title span {
    line-height: 110%;
  }
  body.mobileMap .title.carrousel-title {
    padding: 0 54px;
  }
  body.mobileMap .interactiveMap {
    top:0;
    height:100%;
  }
  body.mobileMap .mainMap {
    -moz-transition: none;
    -webkit-transition: none;
    transition: none;
  }



  /* **** Compare mobile **** */


  body.mobileMap .compareMode #leftContainer {
    width: 100%;
    float: none;
    margin: 0;
    height:100%;
  }

  body.mobileMap .compareMode footer {
    display: none;
  }

  body.mobileMap .left .interactiveMap {
    border:0;
  }

  body.mobileMap .left .legendContainer,
  body.mobileMap .right .legendContainer {
    max-height:100%;
  }

  body.mobileMap .compareMode .backBtn,
  body.mobileMap .backBtn {
    display:block;
    line-height: 110%;
    font-size:14px;
    padding: 33px 10px 10px 8px!important;
    background-size:auto 16px!important;
    background-position:49% 9px!important;
    background-repeat: no-repeat!important;
    text-align: center;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index:999;
    border-radius: 0;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }

  body.mobileMap .compareMode .previousArrow,
  body.mobileMap .compareMode .nextArrow {
    background:#327EE6;
    opacity:1;
    transition: none;
    top: 0!important;
    width:44px!important;
    height: 50px!important;
  }

  body.mobileMap .compareMode .previousArrow span,
  body.mobileMap .compareMode .nextArrow span {
    position: static;
    display: block;
    background-image: url(images/chevron_blanc.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
    width: 100%;
    height: 100%;
  }

  body.mobileMap .compareMode .previousArrow {
    left:0;
  }

  body.mobileMap .compareMode .previousArrow span {
    transform:rotate(-90deg);
  }
  body.mobileMap .compareMode .nextArrow span {
    transform:rotate(90deg);
  }

  body.mobileMap .comparerMode footer {
    position: fixed;
  }
  body.mobileMap .compareMode .thumbContainer {
    display: none;
  }



  /* **** Popups mobiles */

  body.mobileMap .infoBox {
    left: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    z-index:9999999999;
  }

  body.mobileMap .infoBox .infoHeader {
    background:transparent;
    height:50px;
    line-height: 50px;
    color:#383D47!important;
    padding:4px 5px 0 15px;
    display: flex;
    justify-content: flex-end;
  }
  body.mobileMap .infoBox .infoClose {
    width:44px;
    height:44px;
    position: relative;
    top:3px;
    background-image: url(images/croix_gris.svg);
    background-size:14px;
    background-repeat: no-repeat;
    background-position: center;
  }

  body.mobileMap .infoBox .infoContent {
    overflow-x:hidden;
    overflow-y:auto;
    max-height: 50vh;
    padding: 0 15px 15px;
  }

  body.mobileMap .infoBox .infoContent a {
    display:none;
  }

  /* Scrollbar always visible */
  body.mobileMap .infoBox .infoContent::-webkit-scrollbar-track {
    background: #f9f9f9;
    border-left: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    border-radius: 3px;
  }

  body.mobileMap .infoBox .infoContent::-webkit-scrollbar-thumb {
    border-radius: 20px;
    border: 4px solid transparent;
    border-left: 4px solid transparent;
    background-color: #c2c2c2;
    background-clip: content-box;
  }

  body.mobileMap .infoBox .infoContent::-webkit-scrollbar {
    width: 14px;
  }



  /* **** Localize mobile **** */

  body.mobileMap .localize + #menu .buttons > div:not(.mapBtn) {
    display:none;
  }


  /* **** Hide UI mobile **** */

  body.mobileMap .title,
  body.mobileMap .nextArrow,
  body.mobileMap .previousArrow {
    transition: top ease-in-out 0.2s!important;
  }

  body.mobileMap .title.mobile-hidden,
  body.mobileMap .nextArrow.mobile-hidden,
  body.mobileMap .previousArrow.mobile-hidden {
    top:-50px!important;
  }

  body.mobileMap #menu {
    transition: left ease-in-out 0.2s!important;
  }
  body.mobileMap #menu.mobile-hidden {
    left:-90px;
  }

}






.path-bg-image {
	position: absolute;
	top:0;
}

.path-bg-image + item {
	position: absolute;
	top:0;
	width: 100%;
	height: 100%;
}
