
/* ________________________________________________________________________72
[( ->]GPX )]   import GPX
___________________________________________________________________________
*/

.route-import-block{
padding: 24px;
}



/* ============================================================60
[ ]   status
===============================================================
*/

.route-status-ok{
background:#007D4B;
padding:12px;
color:white;
border-radius:12px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
border:3px solid white;
letter-spacing:0.5px;
}

.route-status-stop{
background:#E11932;
padding:12px;
color:white;
border-radius:12px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
border:3px solid white;
letter-spacing:0.5px;
}



/* ============================================================60
[ ]   preview
===============================================================
*/

.route-preview {
background: #00647D;
border: 3px solid #FFFFFF;
border-radius: 24px;
padding: 16px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
color: #FFFFFF;
}

.route-preview-title {
margin: 0 0 12px 0;
font-size: 16px;
}

.route-row {
display: flex;
align-items: stretch;
margin-bottom: 8px;
gap: 8px;
}

.route-key {
background: #FFFFFF;
color: #000000;
padding: 6px 10px;
border-radius: 4px;
font-size: 13px;

width: 33.333%;
box-sizing: border-box;
}

.route-value {
background: #E1FF00;
color: #000000;
padding: 6px 10px;
border-radius: 4px;
font-size: 13px;

width: 66.666%;
box-sizing: border-box;
}



/* ============================================================60
[ ]   file
===============================================================
*/

.route-file-input {
display: flex;
align-items: center;
gap: 10px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
flex-wrap: wrap;
}

.route-file-label {
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex: 0 0 auto;
}

.route-file-input input[type="file"] {
position: absolute;
left: -9999px;
width: 1px;
height: 1px;
opacity: 0;
}

.route-file-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 16px;
background: #00647D;
color: #FFF;
border-radius: 48px;
font-size: 12px;
line-height: 1;
white-space: nowrap;
box-sizing: border-box;
border:2px solid white;
margin:12px 0px;
}

.route-file-name {
display: inline-flex;
align-items: center;
min-height: 42px;
font-size: 13px;
color: #FFFFFF;
line-height: 1.2;
}

.route-file-name {
font-size: 13px;
color: #000;
}



/* ============================================================60
[ ]   save
===============================================================
*/

.route-save-box {
background: #00647D;
border: 3px solid #FFFFFF;
border-radius: 24px;
padding: 16px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
color: #FFFFFF;
margin: 24px;
}

/* Ligne key/value */
.route-row {
display: flex;
align-items: center;
margin-bottom: 10px;
gap: 10px;
}

/* Input propre */
.route-value input {
width: 100%;
border: none;
background: transparent;
font-size: 14px;
outline: none;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
}

/* Bouton */
.route-save-action {
text-align: center;
margin-top: 12px;
}

.route-save-btn {
background: transparent;
border: none;
cursor: pointer;
padding: 6px;
transition: transform 0.15s ease;
}

.route-save-btn:hover {
transform: scale(1.1);
}

/* Message */
.route-save-message {
margin-top: 12px;
padding: 10px;
border-radius: 8px;
font-size: 14px;
}





/* ________________________________________________________________________72
[( ||| )]   list
___________________________________________________________________________
*/

.route-list-title {
display:flex;
align-items:center;
gap:12px;
}

.route-list-items {
display: flex;
flex-direction: column;
}

.route-list-item {
max-width: 420px;        /* largeur max agrÃ©able */
width: calc(100% - 0px); /* garde un peu de marge interne */
margin: 6px auto;        /* centre horizontalement */
text-align: left;
border: 3px solid white;
border-radius: 18px;
padding: 10px 12px;
background: #007D4B;
scroll-margin-top: 84px;
cursor: pointer;
display:flex;
align-items:stretch;
gap:12px;
}

.route-list-item:hover {
background: #00AF64;
}

.route-list-item-title {
display: block;
margin-bottom: 4px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
color:white;
font-size:16px;
}

.route-list-locality {
display:inline-block;
text-align:center;
background:#00647D;
border:2.5px solid white;
padding:6px 12px;
border-radius:8px;
margin:12px 0px;
}

.route-list-landmark{
width:36px;
height:36px;
border-radius:18px 18px 9px 9px;
background:linear-gradient(to bottom, #E11932 50%, #FFFFFF 50%);
border:2px solid black;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
box-sizing:border-box;
overflow:hidden;
}

.route-list-landmark-km{
width:100%;
height:15px;
display:flex;
align-items:center;
justify-content:center;
font-size:0.65em;
font-weight:bold;
line-height:1;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.3px;
color:white;
}

.route-list-landmark-nb{
width:100%;
flex:1;
display:flex;
align-items:center;
justify-content:center;
font-size:0.95em;
font-weight:bold;
line-height:1;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.3px;
color:black;
margin-top:-1px;
}

.route-list-item-meta {
display: block;
font-size: 0.75rem;
color: #FFF;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.67px;
}

.route-detail-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: 12px;
}

.route-back-to-list {
margin-bottom: 12px;
}

.route-list-item.is-hovered {
background: #00AF64;
}

.route-list-counter{
background:#000;
color:white;
border-radius:3px;
font-size:16px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:7.5px;
width:48px;
height:24px;
padding:3px;
display:flex;
align-items:center;
justify-content:flex-end;
padding-right:0px;
padding-left:16px;
}

.route-list-thumb{
width:120px;
min-width:120px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
background:none;
height:auto;
padding:2px;
}

.route-list-thumb img{
display:block;
width:100%;
object-fit:cover;
border:2px solid white;
}

.route-list-content{
flex:1;
min-width:0;
display:flex;
flex-direction:column;
justify-content:space-between;
gap:10px;
}

.route-list-title{
min-width:0;
}

.route-list-title-icon{
flex:0 0 auto;
}

.route-list-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.route-list-img--placeholder {
background: #ddd;
}

.route-list-meta-row{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
}

.route-list-locality{
display:inline-flex;
align-items:center;
margin:0px;
}

.route-list-attributes{
background:white;
padding:2px;
width:12px;
height:12px;
display:inline-flex;
align-items:center;
justify-content:center;
font-size:6px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
color:#000;
}

.leaflet-marker-icon.is-route-marker-hovered {
transform: scale(1.12);
transition: transform 0.15s ease;
}

.route-list-thumb-wrap {
display: flex;
flex-direction: column;
align-items: flex-end;
}

.route-list-picture-credit {
margin-top: 4px;
font-size: 0.68em;
line-height: 1.2;
color: #FFF;
text-align: right;
max-width: 120px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
}






/* ________________________________________________________________________72
[( Â°> )] view
___________________________________________________________________________
*/

.card-section{
padding:12px;
}

.card-routes-view{
display:flex;
align-items:center;
gap:12px;
}

.route-view-header{
display:flex;
align-items:flex-start;
margin-bottom:8px;
height:auto;
background:none;
border-radius:0;
gap:0;
}

.route-view-icon{
width:72px;
min-width:72px;
display:flex;
align-items:flex-start;
justify-content:center;
transform:rotate(-10deg);
z-index:2;
}

.route-view-icon img{
width:72px;
height:auto;
display:block;
filter:
drop-shadow(1px 2px 2px rgba(0,0,0,0.9))
drop-shadow(4px 6px 8px rgba(0,0,0,0.4));
}

.route-view-title{
display:flex;
align-items:center;
justify-content:flex-start;
min-height:30px;
width:100%;
border-radius:18px;
padding:10px 16px 10px 22px;
border:none;
background:none;
text-align:left;
margin-left:-14px;
margin-top:12px;
z-index:1;
box-sizing:border-box;
}

.route-view-title-text{
margin:0;
font-size:250%;
overflow-wrap:anywhere;
font-family:'Bestime', 'Cookie', 'Arial';
line-height:2.33rem;
letter-spacing:-2px;
color:white;
font-weight:normal;
}

.route-view-picture {
width: 100%;
overflow: hidden;
margin: 12px 0 3px 0;
border:2px solid white;
}

.route-view-picture-img {
display: block;
width: 100%;
height: auto;
}

.route-view-picture-wrap {
margin-bottom: 12px;
}

.route-view-picture-credit {
font-size: 0.72em;
color:#7D7D7D;
text-align:right;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
}

.route-view-intro{
text-align:justify;
margin:0 auto;
width:auto;
margin-top:12px;
padding:12px;
background:#E1FF00;
border-width:1px 2px;
border-style:solid;
border-color:black;
}

.route-view-locality{
display:inline-flex;
flex-direction column;
align-items:center;
gap:8px;
margin:0 auto 24px auto;
margin-top:-6px;
font-family: 'Helvetica Rounded LT Std Bold', 'Arial Rounded MT Bold';
color:#FFF;
font-size:2rem;
letter-spacing:0.5px;
background:#00647D;
border:3px solid white;
border-radius:12px;
transform:rotate(-5deg);
text-align:center;
box-shadow:4px 3px 6px #223333;
padding:4px 24px;
max-width:100%;
}

.route-view-meta-row{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
}


.route-view-landmark{
width:36px;
height:36px;
border-radius:18px 18px 9px 9px;
background:linear-gradient(to bottom, #E11932 50%, #FFFFFF 50%);
border:2px solid black;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
box-sizing:border-box;
overflow:hidden;
}

.route-view-landmark-km{
width:100%;
height:15px;
display:flex;
align-items:center;
justify-content:center;
font-size:0.65em;
font-weight:bold;
line-height:1;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.3px;
color:white;
}

.route-view-landmark-nb{
width:100%;
flex:1;
display:flex;
align-items:center;
justify-content:center;
font-size:0.75em;
font-weight:bold;
line-height:1;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.3px;
color:black;
margin-top:-1px;
}

.route-view-elevation-block {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
}

/* icÃ´ne */
.route-view-elevation {
width: 36px;
height: 36px;
background-size: 36px 36px;
background-repeat: no-repeat;
position: relative;
}

/* D+ */
.route-view-elevation-plus-rotated {
position: absolute;
top: 4px;
left: 0;
width: 36px;
text-align: center;
transform: rotate(-45deg);
font-size: 0.68em;
font-weight: 700;
color: #111;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing: 0.5px;
}

/* D- */
.route-view-elevation-minus-rotated {
position: absolute;
top: 4px;
left: 0;
width: 36px;
text-align: center;
transform: rotate(45deg);
font-size: 0.68em;
font-weight: 700;
color: #111;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing: 0.5px;
}





/* ________________________________________________________________________72
[( [W] )]   widget altitude
___________________________________________________________________________
*/

.leaflet-control.elevation-control .elev-toggle {
width: 60px;
height: 60px;
border:none;
background: none;
cursor: pointer;
padding: 0;
}




/* ============================================================60
[ ]   button icon
===============================================================
*/

.leaflet-control.elevation-control .elev-toggle .elev-icon {
display: block;
width: 100%;
height: 100%;
background: url("/pictOpat/terrain/action/altitude_profile.svg") center/60% no-repeat;
border:none;
margin-top:12px;
margin-left:12px;
}




/* ============================================================60
[ ]   panel
===============================================================
*/

.leaflet-control.elevation-control .elev-widget {
background:#00647D;
border:3px solid white;
border-radius:16px;
padding:12px;
overflow:hidden;
display:none;
position:fixed;
bottom:36px;
z-index: 2000;
left: auto;
right: 6px;
width: min(100% - 12px, 480px);
max-width: 480px;
max-height: 24vh;
top: auto;
transform: none;
}

.leaflet-control.elevation-control.is-open .elev-widget {
display:block;
}

.leaflet-control.elevation-control {
z-index: 2000;
position: relative;
}

.leaflet-control-attribution {
z-index: 200;
}

#elevationWidget .elev__panel {
height: 96px;
max-height: 96px;
}

#elevationChart {
display: block;
width: 100% !important;
height: 100% !important;
}



@media only screen and (max-width: 767px) {
.leaflet-control.elevation-control .elev-widget {
left: 6px;
right: 6px;
width: auto;
max-width: none;
}
}





/* ________________________________________________________________________72
[( [C] )]   corridor poi
___________________________________________________________________________
*/

.route-corridor {
background:none;
border:2px solid #FFF;
border-radius:16px;
margin-top:12px;
}

.route-corridor-title {
display:flex;
align-items:center;
gap:8px;
background:#none;
color:#000;
border-radius:12px;
padding:8px 10px;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
font-size:16px;
margin-bottom:10px;
text-align:center;
}
text-align:center;
}

.route-corridor-list {
display:flex;
flex-direction:column;
gap:6px;
}

.route-corridor-item {
display:flex;
width:100%;
border:none;
background:transparent;
border-radius:10px;
padding:3px;
cursor:pointer;
text-align:left;
}

.route-corridor-shell {
display:flex;
align-items:stretch;
width:100%;
background:#00647D;
border-radius:16px;
border:3px solid white;
padding:8px;
box-sizing:border-box;
transition:background-color .18s ease;
}

.route-corridor-item:hover .route-corridor-shell,
.route-corridor-item:focus .route-corridor-shell,
.route-corridor-item:active .route-corridor-shell {
background:#0096AF;
}

.route-corridor-body {
display:flex;
align-items:stretch;
justify-content:space-between;
gap:10px;
width:100%;
min-height:64px;
}

.route-corridor-content {
display:flex;
flex-direction:column;
justify-content:flex-start;
align-items:stretch;
align-self:stretch;
flex:1;
min-width:0;
}

.route-corridor-title-group {
display:flex;
align-items:stretch;
gap:1px;
min-width:0;
}

.route-corridor-icon-wrap {
display:flex;
align-items:center;
justify-content:center;
width:36px;
min-width:36px;
height:36px;
}

.route-corridor-icon {
width:36px;
height:36px;
display:block;
}

.route-corridor-title-wrap {
display:flex;
align-items:center;
flex:1;
min-width:0;
padding:8px;
justify-content:flex-start;
}

.route-corridor-title-text {
display:block;
min-width:0;
color:#fff;
overflow:hidden;
}

.route-corridor-empty {
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
font-size:13px;
text-align:center;
padding:10px;
background:#E11932;
border:2.5px solid white;
color:white;
border-radius:10px;
display:inline-flex;
align-items:center;
justify-content:center;
flex:0 0 auto;
}

.route-corridor-spacer {
flex:1 1 auto;
min-height:12px;
}

.route-corridor-meta-row {
display:flex;
align-items:flex-end;
justify-content:flex-start;
gap:8px;
margin-top:auto;
min-width:0;
}

.route-corridor-locality {
display:inline-flex;
align-items:center;
justify-content:center;
text-align:center;
background:#00647D;
border:2.5px solid white;
border-radius:8px;
padding:6px;
font-size:12px;
font-family: 'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.67px;
color:white;
margin:0px;
}

.route-corridor-thumb-wrap {
display:flex;
flex-direction:column;
align-items:flex-end;
justify-content:flex-start;
align-self:flex-start;
flex:0 0 auto;
}

.route-corridor-thumb {
width:120px;
min-width:120px;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
background:none;
height:auto;
border:2px solid white;
}

.route-corridor-img {
display:block;
width:100%;
height:100%;
object-fit:cover;
box-sizing:border-box;
}

.route-corridor-picture-credit {
margin-top: 4px;
font-size: 0.68em;
line-height: 1.2;
color: #FFF;
text-align: right;
max-width: 120px;
font-family: 'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
}

.route-corridor-landmark-wrap {
display:flex;
align-items:flex-end;
justify-content:flex-start;
min-width:36px;
}

.route-corridor-landmark-inner {
display:flex;
align-items:flex-end;
justify-content:flex-start;
}

.route-corridor-landmark{
min-width:36px;
width:36px;
height:36px;
border-radius:18px 18px 9px 9px;
background:linear-gradient(to bottom, var(--unit-color, #E11932) 50%, #FFFFFF 50%);
border:2px solid black;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
box-sizing:border-box;
overflow:hidden;
}

.route-corridor-landmark-km{
width:100%;
height:15px;
display:flex;
align-items:center;
justify-content:center;
font-size:0.65em;
font-weight:bold;
line-height:1;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.3px;
color:white;
}

.route-corridor-landmark-nb{
width:100%;
flex:1;
display:flex;
align-items:center;
justify-content:center;
font-size:1em;
font-weight:bold;
line-height:1;
font-family:'Helvetica Rounded LT Std Bold', sans-serif;
letter-spacing:0.5px;
color:black;
margin-top:-1px;
}

/* km â†’ rouge */
.route-corridor-landmark.is-km {
  --unit-color: #E11932;
}

/* mÃ¨tres â†’ vert */
.route-corridor-landmark.is-meter {
  --unit-color: #007D4B;
}
.walk-gpx-cursor {
background: transparent !important;
border: 0 !important;
}

.walk-gpx-cursor__img {
width: 24px;
height: 24px;
background: url("/pictOpat/picture/walker.svg") center/contain no-repeat;
filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

.gpx-direction-arrow-icon {
background: transparent !important;
border: 0 !important;
}


/* ============================================================60
[.]   sticky export gpx shadow
===============================================================
*/

#card_context_slot_2.is-active img.shadow-button{
filter:
drop-shadow(1px 2px 2px rgba(0,0,0,0.9))
drop-shadow(4px 6px 8px rgba(0,0,0,0.4));
}
