@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}

html {
  font-size: 14px;
  height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.no-padding {
    padding : 0 !important;
}

html {
    position: relative;
    min-height: 100%;
    background: url(../Images/background.png) center center repeat;
}

body {
    padding-top: 80px;
    font-family: PT sans;
    font-size: 18px;
    line-height: 22px;
    color: var(--text-color);
    background-color : inherit;
}

main {
    margin-left: 255px;
    position: relative;
    padding: 10px;
}

nav.hidden-menu + main {
    margin-left: inherit;
}

/* #region notification */
.notification-zone .notif {
    border-bottom: 1px solid var(--border-color);
    line-height: 30px;
    cursor: pointer;
}

.clickable {
    cursor: pointer;
}

.notification-zone {
    max-height: 180px;
    overflow-y: auto;
}

    .notification-zone .notif .notif-title {
        font-weight: bold;
    }

    .notification-zone .notif .notif-detail {
        line-height: 22px;
        display: none;
    }

    .notification-zone .notif.new {
        position: relative;
    }

        .notification-zone .notif.new:before {
            content: '!';
            color: red;
            position: absolute;
            left: 0;
            top: 0;
            margin-right: 5px;
        }

        .notification-zone .notif.new .notif-title {
            margin-left: 10px;
        }
    /* width */
    .notification-zone::-webkit-scrollbar {
        width: 10px;
    }

    /* Track */
    .notification-zone::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    .notification-zone::-webkit-scrollbar-thumb {
        background: #888;
    }

        /* Handle on hover */
        .notification-zone::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
/*#endregion*/

/* #region notif-fongipro-zone */
.notif-fongipro-zone .notif {
    border-bottom: 1px solid var(--border-color);
    line-height: 30px;
}

.notif-fongipro-zone {
    overflow-y: auto;
}

.notif-fongipro-zone .notif .notif-title {
    font-weight: bold;
}

.notif-fongipro-zone .notif .notif-detail {
    line-height: 22px;
}

.notif-fongipro-zone .notif.new {
    position: relative;
}

.notif-fongipro-zone .notif.new:before {
    content: '!';
    color: red;
    position: absolute;
    left: 0;
    top: 0;
    margin-right: 5px;
}

.notif-fongipro-zone .notif.new .notif-title {
    margin-left: 10px;
}
/* width */
.notif-fongipro-zone::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.notif-fongipro-zone::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.notif-fongipro-zone::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.notif-fongipro-zone::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.notification-fongipro .box-container .box-body {
    position: relative;
}

.notification-fongipro .box-container .box-body .hide-notif-check {
    position: absolute;
    right: 15px;
    top: -5px;
}

.fongipro-legende-color {
    width: 30px;
    height: 30px;
    padding: 2px;
    border-radius: 3px;
    background-color: red;
}

.carto-legende table tbody tr td {
    font-size: 11px;
    padding: 2px 3px;
}

.carto-legende table {
    margin-left: 0px !important;
}
/*#endregion notification*/

div.section-header {
    color: var(--text-color);
    background-color: var(--main-bg-table-color);
    height: 35px;
    width: 100%;
    font-weight: bold;
    padding: 5px;
    text-transform: uppercase;
}

.center {
    text-align: center;
}

.vertical-center {
    vertical-align: middle !important;
}

strong, .bold, .strong, table thead, table thead tr, table thead tr th, table thead tr td {
    font-weight: bold;
    vertical-align: middle;
    font-size: 15px;
}


.to-upper {
    text-transform: uppercase;
}

.hidden {
    display : none;
}

#paste-content {
    min-height: 200px;
}

.no-border {
    border: none !important;
}

table thead.no-border tr th,
table thead.no-border tr {
    border: 0px transparent solid;
}

tr td.align-center, 
tr th.align-center {
    text-align: center;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6;
}

.pastille-info {
    float: right;
    width: 22px;
    height: 22px;
    border-radius: 12px;
    color: white;
    background-color: green;
    margin-right: 5px;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    text-align: center;
}

    .pastille-info.red {
        background-color: white;
        border-color: red;
        color: red;
    }


.conselio-icon-info {
    content: url(../images/icons/info.svg);
}

.conselio-icon-sm {
    width: 23px;
    height: 23px;
}

.conselio-icon {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

    .tr-parent.sub-line-hidden .caret,
    .parent-row.sub-line-hidden .caret,
    .caret.closed {
        border-top: 4px solid transparent;
        border-left: 4px solid !important;
        border-bottom: 4px solid transparent;
    }

.cell-logo {
    margin: 2px 0px;
}

.itineraire-icon {
    width: 23px;
    height: 23px;
    margin-top: -1px;
    background-size: 100% 100%;
}

.itineraire-icon {
    width: 25px;
    height: 25px;
    margin-top: -1px;
    background-position: center center;
    background-repeat: no-repeat;
}

.filter-box {
    width: 275px;
    font-size: 15px;
    position: absolute;
    right: 0;
    z-index: 11;
    background-color: #fff;
    box-shadow: 10px 10px 20px -10px rgba(0,0,0,0.75);
    display: none;
    border-radius: 10px;
}

.filter-box.open {
    display : inherit;
}

.filter-box-title span {
    vertical-align: middle;
}

.filter-box-title {
    background-color: var(--main-bg-color);
    color: #fff;
    min-height: 35px;
    border: none;
    padding: 10px;
    height: 42px;
    min-height: 42px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
    font-size: 19px;
}

.filter-box-subtitle {
    border-bottom: 2px solid #dedede;
    font-weight: bold;
    margin-top: 15px;
}

.filter-box-content {
    padding: 5px 20px;
    border: 2px solid var(--border-color);
    border-top: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.filter-label {
    margin-left: 5px;
}

.filter-row {
    line-height: 24px;
}

.filter-box input[type=checkbox] {
    width: 15px;
    height: 15px;
}

.pull-right {
    float: right !important;
}

.filter-show-button,
.filter-calcul-button {
    position: absolute !important;
    top: 13px !important;
    right: 10px;
    font-size: 20px;
    color: var(--dark-bg-color);
}

.filter-calcul-button {
    right: 40px;
}

.conselio-popup-background {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
}

.conselio-popup-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    left: 0;
    display: none;
}

.phyto-filter-items {
    padding-left: 25px;
}

.margin-15 {
    margin-top: 15px;
    margin-bottom: 15px;
}

#reports-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
}

.contrat-line {
    font-style: italic;
    margin-top: 10px;
}

.text-red {
    color: red !important;
}

a, .link {
    font-weight: bold;
    color: var(--text-color);
}

.full-page {
    width: 100%;
    background-color : white;
}

.contrat-line img {
    margin-right: 5px;
}

img {
    vertical-align: middle;
    border-style: none;
}

#report-content {
    width: 100%;
    height: 700px;
    text-align: center;
}

#report-content {
    width: 100%;
    height: 780px;
    text-align: center;
}

    #report-content span {
        font-weight: bold;
        margin-top: 25px;
        display: block;
    }


.report-tile {
    height: 200px;
    margin: 15px;
    width: 200px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

    .report-tile a {
        height: 100%;
        width: 100%;
        display: block;
        text-align: center;
        padding: 5px;
    }

.report-tile-title {
    text-align: center;
    padding-top: 7px;
    min-height: 60px;
}

.report-tile a img {
    margin-top: 20px;
}

.report-tile a img {
    width: 66px;
    height: 83px;
    margin-top: 10px;
    background: url(../Images/reports/report_background.png) no-repeat center center;
}

.report-tile:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.palette {
    position: absolute;
    bottom: 5px;
    left: 8px;
    padding: 5px;
    display: none;
    font-size: 14px;
}

.palette .legend-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid gray;
}

.mapboxgl-popup-content {
    background-color: white;
    max-width: 300px;
}

.mapboxgl-popup,
.mapboxgl-popup-content {
    max-width: inherit !important;
}

#mapbox-container,
.classic-page {
    margin-left: 240px;
    margin-top: -36px ;
    background-color: white;
}

body.closed #mapbox-container,
body.closed .classic-page {
    margin-left: 70px;
}

/* Corps des pages rendues en « withoutVuePart » sans carto : les blocs s'empilent
   verticalement et l'espacement vient du gap, pas de marges posées bloc par bloc.
   La hauteur minimale aligne ces pages sur celles qui portent une carte (800 px). */
.page-content {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 800px;
}

#mapbox-container .visualiseur {
    background-color: white;
    width: 100%;
    height: 800px;
}

