li:first-child {
    margin: 6px 0;
}
.main-container {
    background-color: #F2F2F3;
}
#arcgis {
    position: relative;
    width: 100%;
    height: 480px;
    padding-top: 130px;
}
@media screen and (min-width: 768px) {
    #arcgis {
        padding-top: 80px;
        height: 500px;
    }
}
@media screen and (min-width: 912px) {
    #arcgis {
        padding-top: 0;
        height: 625px;
    }
}
.esriControlsBR {
    display: none;
}
.esriSimpleSliderIncrementButton:focus,
.esriSimpleSliderDecrementButton:focus {
    outline: 2px dashed #1b3665;
}
.customLity-desc {
    background-color: white;
}
.lity-content:after {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.lity {
    background: rgba(0, 0, 0, 0.9);
}
.lity-content .bx-wrapper .bx-next {
    background: url(/themes/romaine/images/btn-next-white.png) no-repeat center center;
}
.lity-content .bx-wrapper .bx-prev {
    background: url(/themes/romaine/images/btn-prev-white.png) no-repeat center center;
}
.bx-prev:focus,
.bx-next:focus {
    outline: cornflowerblue !important;
}
#hq-diapo-dyn-thumbs {
    display: block;
}
#hq-diapo-dyn-thumbs li {
    display: inline-block;
}
#diapo-sublinks {
    padding-bottom: 20px;
}
@media screen and (min-width: 912px) {
    #diapo-sublinks {
        padding-left: 0;
        padding-bottom: 15px;
    }
}
@media screen and (min-width: 1200px) {
    #diapo-sublinks {
        padding-bottom: 0;
    }
}
#diapo-sublinks ul {
    margin-bottom: 15px !important;
}
#diapo-sublinks li {
    display: inline-block;
}
#diapo-sublinks li a {
    padding: 5px 25px;
    border: 1px solid #1b3665;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4rem;
    color: #1b3665;
}
#diapo-sublinks li a:hover,
#diapo-sublinks li a.selected,
#diapo-sublinks li a.active,
#diapo-sublinks li a:focus {
    background-color: #1b3665;
    color:white;
}
#maplinks-floating-container {
    position: absolute;
    padding-top: 20px;
    display: none;
    z-index: 999;
    width: 100%;
    top: 0;
    height: 130px;
    background-color: #fff;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container {
       height: 80px;
    }
}
@media screen and (min-width: 912px) {
    #maplinks-floating-container {
        height: auto;
        width: auto;
        background-color: transparent;
    }
}
#maplinks-floating-container ul {
    list-style: none;
    padding-left: 0;
    width: 255px;
    margin: auto;
    position: relative;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container ul {
        list-style: none;
        padding-left:20px;
        width: 100%;
    }
}
#maplinks-floating-container ul.back-btn {
    width: 300px;
    padding-left: 45px;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container ul.back-btn {
        width: 100%;
        padding-left: 20px;
    }
}
#maplinks-floating-container li {
    margin-bottom: 20px;
    display: inline-block;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container li {
        display: inline-block;
    }
}
@media screen and (min-width: 912px) {
    #maplinks-floating-container li {
        display: list-item;
    }
}
#maplinks-floating-container li a {
    /* padding: 8px 15px 10px 40px; */
    padding: 8px 15px 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    color:white;
    /* background: #1b3665 url("/themes/romaine/images/ico-centrale.jpg") no-repeat 10px 9px; */
    background-color: #1b3665;
}
#maplinks-floating-container li a:hover,
#maplinks-floating-container li a.selected,
#maplinks-floating-container li a:focus {
    color:#1b3665;
    font-weight: 500;
    /* background: white url("/themes/romaine/images/ico-centrale-alt.jpg") no-repeat 10px 9px; */
    background-color: white;
}
@media screen and (max-width: 911px) {
    #maplinks-floating-container li a.selected {
        border: 1px solid #1b3665;
    }
}
#maplinks-floating-container .btn-retour a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 85px;
    padding: 5px 5px 8px 35px;
    background: orange url("/themes/romaine/images/ico-retour.jpg") no-repeat center center;
    color:black;
    font-weight: 500;
    width: auto;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container .btn-retour a {
        display: block;
        position: relative;
        /* padding: 5px 15px 8px 40px; */
        padding: 5px 15px 8px 35px;
        background: orange url("/themes/romaine/images/ico-retour.jpg") no-repeat 16px 9px;
        color:black;
        font-weight: 500;
        /* width: 138px; */
        height: auto;
        width: 118px;
    }
}
@media screen and (min-width: 912px) {
    #maplinks-floating-container .btn-retour a {
        display: block;
        position: relative;
        /* padding: 5px 15px 8px 40px; */
        padding: 5px 15px 8px 35px;
        background: orange url("/themes/romaine/images/ico-retour.jpg") no-repeat 16px 9px;
        color:black;
        font-weight: 500;
        /* width: 138px; */
        height: auto;
        width: 118px;
    }
}
#maplinks-floating-container .btn-retour a:hover,
#maplinks-floating-container .btn-retour a:focus {
    background: orange url("/themes/romaine/images/ico-retour.jpg") no-repeat center center;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container .btn-retour a:hover,
    #maplinks-floating-container .btn-retour a:focus {
        background: orange url("/themes/romaine/images/ico-retour.jpg") no-repeat 16px 9px;
        color:black;
    }
}
#maplinks-floating-container .btn-retour #btn-retour span {
    display: none;
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container .btn-retour #btn-retour span {
        display: block;
    }
}
@media screen and (min-width: 768px) {
    #maplinks-floating-container .btn-retour {
        float: left;
        margin-top: 0;
        margin-right: 5px;
    }
}
@media screen and (min-width: 912px) {
    #maplinks-floating-container .btn-retour {
        margin-top: 40px;
    }
}
.mention-legale {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: auto;
    display: block;
    padding: 2px 10px;
    background-color: rgba(255, 255, 255, 0.6)
}
.mention-legale p {
    font-size: 10px;
}
@media screen and (min-width: 912px) {
    .mention-legale p {
        font-size: 12px;
    }
}
.mention-legale p img {
    vertical-align: bottom;
}
#map-legend {
    /* position: absolute; */
    padding: 15px;
    /* z-index: 999; */
    /* bottom: 0; */
    /* left: 0; */
    background-color: #fff;
    /* width: 100%; */
}
@media screen and (min-width: 768px) {
    #map-legend {
        width: auto;
    }
}
#map-legend ul {
    padding: 0;
}
#map-legend img {
    float: left;
    margin-right: 10px;
}
#map-legend ul li {
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
    #map-legend ul li {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 10px;
        margin-right: 20px;
    }
}
#hq-diapo-dyn-thumbs img {
    width: 65px;
}
/* Modification des éléments de la carte */
.esriSimpleSliderTL {
    display: none;
}
@media screen and (min-width: 768px) {
    .esriSimpleSliderTL {
        display: block;
        top:20px;
        right:20px;
        left: auto;
    }
}
.esriPopup.esriPopupVisible {
    display: none;
}
text {
    font-size: 15px;
    font-weight: 700;
    font-family: "Lucida Sans","Lucida Sans Unicode","Lucida Grande",sans-serif;
}
#arcgis_graphics_layer g path {
    stroke:orange;
}
#arcgis_gc .centrale text {
    font-size: 18px!important;
}
#romaine-123 g,
#romaine-4 g,
#romaine-4-annexes g {
    cursor: pointer;
}
.selected-path {
    stroke: orange!important;
    stroke-opacity: 1;
    stroke-width: 2;
}
#romaine-4-annexes path:hover,
#romaine-4-annexes path:focus {
    stroke: orange;
    stroke-opacity: 1;
    stroke-width: 2;
}
#arcgis_gc .centrale:hover circle,
#arcgis_gc .centrale:hover rect {
    fill:orange!important;
    fill-opacity: 1;
    stroke: orange;
    stroke-opacity: 1;
}
#arcgis_gc #romaine-4 .centrale text {
    color: #1b3665!important;
    fill: #1b3665!important;
}
#arcgis_gc #romaine-123 .centrale text {
    color: #fff!important;
    fill: #fff!important;
}
#arcgis_gc #romaine-123 .centrale:hover text {
    color: #1b3665!important;
    fill: #1b3665!important;
}
#diapoContainer {
    padding-left: 0;
    display: none;
}
@media screen and (min-width: 912px) {
    #diapoContainer {
        padding-right: 0;
    }
}
.module-diaporama {
    padding: 15px 0 0 0;
    margin: 0;
    overflow: hidden;
}
@media screen and (min-width: 912px) {
    .module-diaporama {
        padding: 25px 20px 25px 25px;
        min-height: 625px;
    }
    .module-diaporama ul#hq-diapo-dyn-thumbs {
       margin-left: -5px!important;
    }
}
@media screen and (min-width: 1200px) {
    .module-diaporama ul#hq-diapo-dyn-thumbs {
       margin-left: 0!important;
       margin-top: -6px!important;
    }
}
#gallery-desc {
    display: block;
    margin-top: 15px;
}
.module-diaporama  #gallery-desc ul {
    display: list-item;
    padding-left: 20px!important;
    margin-bottom: 10px!important;
}
.module-diaporama  #gallery-desc ul li {
    list-style-image: url(/images2016/puce-hqr.svg)!important;
}
@media screen and (min-width: 1200px) {
    .hide-for-xlarge-only {
        display: none!important;
    }
}
@media screen and (max-width: 1199px) {
    .show-for-xlarge-only {
        display:none!important;
    }
}
.module-diaporama *:focus {
    outline: 1px dotted #1b3665 !important;
}
#diapo-items:focus,
#diapo-items .bxslider li:focus {
    outline: 1px dotted #1b3665 !important;
}
@media screen and (min-width: 768px) {
    .hide-thumbs .diapo-thumbs {
        display: none;
    }
}
#diapo-pagination {
    padding-left: 12px;
    padding-right: 12px;
}
@media screen and (min-width: 912px) {
    #diapo-pagination {
        padding-left: 0;
        padding-right: 0;
    }
}
#diapo-pagination #hq-diapo-dyn-thumbs li a img {
    opacity: 0.5;
    transition: opacity .3s;
}
#diapo-pagination #hq-diapo-dyn-thumbs li a:focus img,
#diapo-pagination #hq-diapo-dyn-thumbs li a:hover img,
#diapo-pagination #hq-diapo-dyn-thumbs li a.active img {
    opacity: 1;
}

#diapo-title {
    font-weight: 500;
    margin-left: 15px;
    margin-right: 15px;
}
@media screen and (min-width: 912px) {
    #diapo-title {
        margin-left: 0;
        margin-right: 0;
    }
}
.diaporama-content > div.columns {
    padding-left: 0;
    padding-right: 0;
}
.diaporama-content a[data-lity] svg {
    right: 35px;
}
.module-diaporama #diapo-items + .figcaption {
    background-color: #48433f;
    color: #fff;
    padding-top: 10px;
}
@media screen and (min-width: 912px) {
    .module-diaporama #diapo-items + .figcaption {
        background-color: #fff;
        color: #48433f;
    }
}
@media screen and (min-width: 1200px) {
    .xlarge-4 {
        width: 33.33333%;
        padding-left: 5px!important;
    }
    .xlarge-8 {
        width: 66.66667%;
    }
    .xlarge-push-8 {
        position: relative;
        left: 66.66667%;
    }
    .xlarge-pull-4 {
        position: relative;
        left: -33.33333%;
    }
}

/* Patrick Gosselin-1 conseiller soutien info */
#diapo-fullscreen figcaption {
    background-color: white;
    padding: 10px;
}

#mapContainer {
    background-color: #a8c5f0;
}
@media screen and (min-width: 912px) {
    #mapContainer {
        padding-left: 0;
        padding-right: 0;
        -webkit-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }
    .large-uncollapse {
        margin: auto!important;
    }
}
.see-diaporama-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    opacity: 0.9;
    transform: translateY(100%);
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
    transition-delay: 0.3s;
}
.see-diaporama-banner.hq-bloc-bleu {
    padding-top: 15px;
    padding-bottom: 30px
}
.see-diaporama-banner a:after,
.see-diaporama-banner a::after {
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(135deg);
  content: "";
  width: 10px;
  height: 10px;
  bottom: -15px;
  display: block;
  position: absolute;
  left: 0;
  margin: auto;
  right: 0;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite
}
@-webkit-keyframes bounce {
    0%,100%,20%,50%,80% {
        -webkit-transform: translateY(0) rotate(135deg);
        transform: translateY(0) rotate(135deg);
    }

    40% {
        -webkit-transform: translateY(-5px) rotate(135deg);
        transform: translateY(-5px) rotate(135deg);
    }

    60% {
        -webkit-transform: translateY(-3px) rotate(135deg);
        transform: translateY(-3px) rotate(135deg);
    }
}

@keyframes bounce {
    0%,100%,20%,50%,80% {
        -webkit-transform: translateY(0) rotate(135deg);
        transform: translateY(0) rotate(135deg);
    }

    40% {
        -webkit-transform: translateY(-5px) rotate(135deg);
        transform: translateY(-5px) rotate(135deg);
    }

    60% {
        -webkit-transform: translateY(-3px) rotate(135deg);
        transform: translateY(-3px) rotate(135deg);
    }
}
.see-diaporama-banner.isShown {
    transform: translateY(0);
}
@media screen and (min-width: 768px) {
    .see-diaporama-banner {
        display: none;
    }
}
/* overwriting bxslider css */
.bx-wrapper .bx-prev {
    left: 0;
    background: url(/themes/romaine/images/btn-prev-white.png) no-repeat center center;
}
.bx-wrapper .bx-next {
    right: 0;
    background: url(/themes/romaine/images/btn-next-white.png) no-repeat center center;
}
.bx-wrapper .bx-viewport .bxslider li.bx-clone figure {
    visibility: hidden;
}