
/****** MAP **********/
.map-container {
    position: relative;
    float: left;
}

/* portrait */
@media screen and (orientation:portrait) {
    .map-container {
        width: 100%;
        height: 50%;
    }
}
/* landscape */
@media screen and (orientation:landscape) {
    .map-container {
        width: 50%;
        height: 100%;
    }
}

.map {
    /*height: 400px;*/
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-container .gps-status {
    /*display: none;*/
    z-index: 2;
    position: absolute;
    top: 0;
    width: 100%;
    margin-bottom: 0px;
    border-radius: 0px;
    text-align: center;
    background: transparent;
}

.map-container .gps-status-text {
    text-align: center;
    text-shadow: 0px 0px 3px #000;
    line-height: 20px;
    position: absolute;
    width: 100%;
    color: #FFF;
}

.map-container .gps-status .progress-bar {
    width: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

.map-container .radius-target {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 1000px solid rgba(255, 255, 255, 0.5);;
  width: 400px;
  height: 400px;
  border-radius: 50000000000px;
}

body.panel-open .map,
body.menu-open .map {
    /*visibility: hidden;*/
}

/* Map controls */
.map .leaflet-control-container .leaflet-top {
 
    top: 16px;
}
.map .leaflet-control-panel-button {
    padding: 5px;
    border-radius: 4px;
    
}
.map .leaflet-control-panel-button div {
    width: auto;
    height: 3px;
    background-color: black;
    margin: 2px 0;
    border-radius: 18px;
    overflow: hidden;  
}

.map #wheel-alert-box {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0);
    z-index: 1001;
}

.map  #wheel-alert-box .wheel-alert-text {
    position: absolute;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: rgb(255, 255, 255);
}

.map-scroll:after {
    content: 'Ctrl + scroll pour zoomer';
    position: absolute;
    top: 25%;
    left: 25%;
    z-index: 999;
    font-size: 34px;
    width: 50%;
    height: 50%;
    margin-top: 53px;
    text-align: center;
    color: #FFFFFF;
}

.map-scroll:before {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    content: '';
    background: #00000061;
    z-index: 999;
}

.map.marker-mode-on {
    cursor: crosshair;
}

.map .mapAddMarkerPin {
    float: left;
    clear: both;
    z-index: 800;
    /*background: rgba(255,255,255,0.4);*/
    color: rgba(233, 55, 47, 0.6);
    width: 26px;
    height: 26px;
    text-align: center;
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    pointer-events: auto; 
}

body:not(.mobile) .map .mapAddMarkerPin {
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);   
}

.mobile .map .mapAddMarkerPin {
    width: 34px;
    height: 34px;
    margin-left: 10px;
    padding-top: 0px;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box; 
}

.map .mapAddMarkerPin .fa {
    font-size: 17px;
    background: rgba(255,255,255,0.4);
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 5px;
    border-radius: 4px;
}

.mobile .map .mapAddMarkerPin .fa {
    border-radius: 2px;
    padding-top: 7px;
}

.map #addMarkerAction {
    padding: 3px;
    white-space: nowrap;
}

.map #addMarkerAction .btn {
    /*display: inline;*/
    width: 73px;
}

.mobile .map #addMarkerAction .btn {
    height: 40px !important;
    width: 73px;
    line-height: 37px;
}

body:not(.mobile) .map .mapAddMarkerPin:hover, .map.marker-mode-on .mapAddMarkerPin .fa {
    color: rgba(233, 55, 47, 1);
    background: rgba(255,255,255,1);
} 

.map .markerContainer {
    position: relative;    
} 

.map .markerContainer .zIndex10 {
    z-index: 10;    
}

.map .markerContainer .marker.typeUser {
    width: 10px;
    height: 10px;
    border: 1px solid #088;
    border-radius: 10px;
    opacity: 0.8;
    /*z-index: 1;*/
}

.map .markerContainer .marker.typeUserAvatar{
    display: table-cell;
    width: 24px;
    height: 24px;
    border: 0px;
    font-size: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    z-index: 2;
}

.map .markerContainer .marker.typeUserAvatar .fa{
    text-shadow: 0 0 3px #000;
}

.map .markerContainer .marker.typeUserAvatar .userAvatar {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: -16px;
    margin-top: 5px;
}

.map .markerContainer .marker.typePin {
    display: table-cell;
    width: 24px;
    height: 24px;
    border: 0px;
    font-size: 24px;
    text-align: center;
    color: rgba(233, 55, 47, 1);
    cursor: pointer;
    z-index: 2;
}

.map .markerContainer .marker.typePin .fa{
    /*vertical-align: bottom;*/
}

.map .markerContainer .markerLabel {
    position: absolute;
    bottom: 35px;
    background-color: rgba(255,255,255);
    border: 0px solid rgba(0,0,0,.8);
    border-radius: 11px;
    padding: 0px 2px;
    transform: translate(-50%, 0%);
    left: 50%;
    min-width: 70px;
    text-align: center;
    word-break: break-word;
    font-size: 10px;
    line-height: 10px;
    padding: 3px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
}

.map .markerContainer .markerDetail {
    display: none;
}

.map  .markerContainer .marker.open {
    background: rgb(59,246,6);
    background: radial-gradient(circle, rgba(59,246,6,1) 0%, rgba(28,40,27,1) 100%);
}

.map  .markerContainer .marker.cancelled {
    background: rgb(246,6,6);
    background: radial-gradient(circle, rgba(246,6,6,1) 0%, rgba(40,27,27,1) 100%);
}

.map  .markerContainer .marker.userLocation {
    background: linear-gradient(270deg, #bddbff, #0b50a1);
    background-size: 400% 400%;

    -webkit-animation: AnimationName 2s ease infinite;
    -moz-animation: AnimationName 2s ease infinite;
    -o-animation: AnimationName 2s ease infinite;
    animation: AnimationName 2s ease infinite;
}

.map .marker-popup-author-link {
    margin-bottom: 6px;
    display: block;
}

.map .marker-popup-author-name {
    font-weight: bold;
    display: inline-block;
    text-align: center;
    width: 101px;
    vertical-align: middle;
    padding: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;  
}

.map .marker-popup-author-link .author_img {
    width: 50px;
    height: 50px;    
}

.map .marker-popup-author-buttons {
    text-align: center;
}

.map .marker-popup-author-buttons button {
    font-size: 10px; 
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 98px;
    border: 1px solid #ccc;
}

.map .markerAuthorInfos {
    width: 200px;
}

.map .markerAuthorInfos .markerAuthorInfos-online {
    margin-top: 10px;
}

.map .markerAuthorInfos .markerAuthorInfos-about {
    margin-top: 10px;
}

/**** Fullscreen **********/
.map-container.fullscreen-on {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    float: left;
    width: 100%;
    height: 100%;
}
.map-container.fullscreen-on .map {
    position: relative;
    width: 100%;
    height: 100%;
}

[data-aid] .userAvatar.author_online {
    border: 2px solid #0dbb18 !important;
}

.timeline_annonce .author_img { 
    width: 25px;
    height: 25px;
    margin: 5px;
    border: 1px solid #b3aeae;
    border-radius: 25px;
}

.timeline_annonce { 
    font-style: italic;
    margin-left: 10%;
}
      
@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-o-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
 
 
/* Position tuto */
.tuto-position {
    max-width: 100%;
}