/****** CORPS ******/

html {
    scroll-behavior: none;
}

/* Pour les valeurs de ZL trop grandes */
.bootstrap-select .dropdown-menu {
    width: 100%;
}

.bootstrap-select .dropdown-menu li,
.bootstrap-select .dropdown-menu li span,
.bootstrap-select .filter-option {
    white-space: normal;
}

a.no-underline {
    text-decoration: none;
}

/*permet de mettre à zero les paddings d'un jumbotron dans un container-fluid*/
.container-fluid .jumbotron {
    padding-right: 0px;
    padding-left: 0px;
}

#main>.container-fluid {
    height: 100%;
}

#panel {
    height: 100%;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.outline-none {
    outline: none;
}


.white-space-nowrap {
    white-space: nowrap;
}

.btn-group-zlbtn label {
    opacity: .6;
}

.btn-group-zlbtn label.active,
.btn-group-zlbtn label:hover,
.btn-group-zlbtn .reset-zlbtn {
    opacity: 1 !important;
}

.list-isigeo .list-group-item {
    opacity: .6;
}

@media (min-width: 400px) {
    .small-modal {
        width: 305px !important;
    }
}

/* Contenu de la page sauf les slider */
#sb-site {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.add-padding {
    padding: 5px !important;
}

.add-margin {
    margin: 5px !important;
}

.btn-isigeo-nav {
    margin: 0.5em 5px;
    width: 43px;
}

.btn-accordion-migp {
    position: absolute;
    left: 0px;
    top: 50%;
    z-index: 1;
    margin-top: 0;
    margin-left: 0px;
    border: 1px solid #b2b2b2;
    border-left: 0px;
    outline: transparent;
    border-radius: 0;
    padding: 16px 6px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-selection-migp {
    position: absolute;
    right: 0px;
    top: 50%;
    z-index: 1;
    margin-top: 0;
    margin-left: 0px;
    border: 1px solid #b2b2b2;
    border-left: 0px;
    outline: transparent;
    border-radius: 0;
    padding: 16px 6px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
}

.content-class-legend {
    cursor: pointer;
}

.small-opacity {
    opacity: .7;
}

#loader-migp .spinner {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

#loader-migp .spinner-icon {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    margin: auto;
    width: 100px;
    height: 100px;
}

#actual-map-migp {
    background-color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 0px;
    z-index: 2;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
    position: absolute;
    top: 50px;
    /*left: 72px;*/
    left: 57px;
}

#about-migp {
    position: absolute;
    top: 49px;
    z-index: 9;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.23);
    margin-left: 12px;
}

.panel-layout {
    background: #FFF;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

/* Style slidebar */
.sb-slidebar {
    background-color: rgba(231, 231, 231, 0.8);
    overflow: hidden;
    left: 42px;
}

.bg-transparent {
    background-color: transparent !important;
}

.opacity-1 {
    opacity: 1 !important;
}

.opacity-0 {
    opacity: 0 !important;
}

/*taille icône icomoon (notamment partie administration)*/
/*h1 = boutons du sidebar*/
.ico-h1 {
    font-size: 1.6em !important;
    /* Pour les SVG en balise <img> */
    width: 1.2em !important;
}

.box-h1 {
    width: 100% !important;
    margin: 0px !important;
    padding: 0.2em 0.3em 0.2em 0.3em !important;
}

/*h2 = bouton header fiche*/
.ico-h2 {
    font-size: 1.4em !important;
    /* Pour les SVG en balise <img> */
    width: 1em !important;
}

.box-h2 {
    width: 100% !important;
    margin: 0px !important;
    padding: 0.2em 0.3em 0.2em 0.3em !important;
}

/*h3 = bouton ol*/
.ico-h3 {
    font-size: 1.2em !important;
    /* Pour les SVG en balise <img> */
    width: 0.8em !important;
}

.box-h3 {
    width: 100% !important;
    margin: 0px !important;
    padding: 0.2em 0.2em 0.2em 0.2em !important;
}

.ico-h4 {
    font-size: 1.0em !important;
    /* Pour les SVG en balise <img> */
    width: 0.6em !important;
}

.box-h4 {
    margin: 0px !important;
    padding: 0.2em 0.2em 0.2em 0.2em !important;
}

.puce {
    font-size: .5em;
    width: .3em;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.rotate-arrow {
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;

}

[aria-expanded="false"] .down-right {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotateZ(-90deg);
}

[aria-expanded="true"] .right-down {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotateZ(90deg);
}

.not-stripped .stripped:nth-child(2n+1) {
    border-right: 1px solid #dbdbdb;
}

.row-stripped-3 .stripped:nth-child(4n) {
    background-color: rgba(0, 0, 0, .05);
}

.row-stripped-3 .stripped:nth-child(2n+1),
.row-stripped-3 .stripped:nth-child(2n+2) {
    border-right: 1px solid #dbdbdb;
}

.row-stripped-4 .stripped:nth-child(4n),
.row-stripped-4 .stripped:nth-child(5n) {
    background-color: rgba(0, 0, 0, .05);
}

.row-stripped-4 .stripped:nth-child(3n+1),
.row-stripped-4 .stripped:nth-child(3n+2) {
    border-right: 1px solid #dbdbdb;
}

.row-stripped-6 .stripped:nth-child(4n+1),
.row-stripped-6 .stripped:nth-child(4n+2) {
    background-color: rgba(0, 0, 0, .05);
}

.row-stripped-6 .stripped:nth-child(2n+1) {
    border-right: 1px solid #dbdbdb;
}

.row-stripped-12 .stripped:nth-child(2n) {
    background-color: rgba(0, 0, 0, .05);
}

.open-form:not(.is-stripped):hover {
    background-color: rgba(0, 0, 0, .075);
}

.is-stripped {
    background-color: rgba(0, 0, 0, .05);
}

.open-form.is-stripped:hover {
    background-color: rgba(0, 0, 0, .075);
}

.btn-funky {
    width: 83%;
}


.isigeo-file .custom-file-input~.custom-file-label::after {
    content: "";
    padding: 0;
    border: 0;
}

.ol-tooltip-last {
    position: relative;
    background: var(--gray-dark);
    border-radius: 4px;
    color: var(--light);
    padding: 4px 8px;
    opacity: 1;
    white-space: nowrap;
    font-size: 12px;
}

.ol-tooltip {
    position: relative;
    background: var(--light);
    border-radius: 4px;
    color: var(--gray-dark);
    padding: 4px 8px;
    opacity: 1;
    white-space: nowrap;
    font-size: 12px;
}

.ol-tooltip-measure {
    opacity: 1;
    font-weight: bold;
}

.ol-tooltip-square {
    position: relative;
    background: var(--light);
    border-radius: 4px;
    color: var(--gray-dark);
    padding: 4px 8px;
    opacity: 0.5;
    white-space: nowrap;
    font-size: 10px;
}

.btn-secondary-outline {
    background-color: transparent;
    /*border-color: #ccc;*/
}

#graphTab:fullscreen {
    background-color: #fff;
}

@media (min-width:900px) {
    #graphTab:fullscreen {
        padding: 140px;
        background-color: #fff;
    }
}

.isigeo-invalid-field {
    border-color: var(--danger);
}

a[id^="bs-select-"] {
    font-size: 80% !important;
}

@media (max-width: 600px) {
    .btn-onglet {
        display: none;
    }
}

.btn-onglet {
    position: absolute;
    z-index: 9999;
    top: 5px;
    right: 20px;
    opacity: 0;
    transition: opacity .3s ease;
}

#panel-A:hover .btn-onglet {
    opacity: .8;
}
#panel-B:hover .btn-onglet {
    opacity: .8;
}

@keyframes highlight {
    0% {
        background: #ffff99;
    }

    100% {
        background: none;
    }
}

.highlight {
    animation: highlight 2s;
}

/* ! Skeleton CSS ! */
.skeleton {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.skeleton .line,
.skeleton .semi-line {
    position: relative;
    height: 12px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .12);
}

.skeleton .line {
    margin: .5rem 0;
    flex: 0 0 95%;
    max-width: 95%;
}

.skeleton .semi-line {
    margin: .7rem 0 0 0;
    flex: 0 0 45%;
    max-width: 45%;
}

.skeleton .semi-line::after,
.skeleton .line::after {
    animation: loading 1.5s infinite;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(-100%);
    z-index: 1;
    background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, 0));
}

.skeleton .semi-line:nth-of-type(2n) {
    margin-right: 0;
    z-index: 2;
}

.skeleton .semi-line:nth-last-of-type(-n+2) {
    margin-bottom: .7rem;
}

.skeleton .head {
    flex: 0 0 100%;
    max-width: 100%;
    height: 35px;
    margin-bottom: 15px;
}

@keyframes loading {
    to {
        transform: translateX(100%);
    }
}

@keyframes shine-lines {
    0% {
        background-position: 10%;
    }

    40%,
    100% {
        background-position: -100%;
    }
}

.loading {
    position: relative;
    background-color: #E2E2E2;
}

.loading:nth-child(odd) {
    z-index: 2;
}

.loading.col-5,
.loading.col-4,
.loading.col-3,
.loading.col-2 {
    border-radius: 6px;
    height: 14px;
}

.button.loading.col-3 {
    height: 40px;
}

h1.loading.col-12, .footer.loading.col-12 {
    height: 40px;
}

.skeletonTable .col-10.loading,
.skeletonTable .agenda.col-12.loading {
    height: 500px;
}

.loading::after {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    animation: loading 1.5s infinite;
}

/* ? End skeleton ? */

#footer-form, #footer-agenda {
    bottom: 0;
    z-index: 2;
}

#viewer-footer,
#viewer-footer-content,
#advanced_footer,
#footer-agenda {
    min-height: 40px;
}

div[id^="container_inforap_"]:nth-child(odd){
    background-color: rgba(0, 0, 0, .05);
}
div[id^="container_inforap_"]:hover {
    background-color: rgba(0, 0, 0, .075);
}
