html,
body,
header,
#intro {
    height: 100%;
    color: #2B2A31;
}

#intro {
    background: url("https://endonora.com/photos/250320/basecamp_orangewoman.jpg")no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.gray{
  background-color: gray;
}

#map{ /* la carte DOIT avoir une hauteur sinon elle n'apparaît pas */
  height:500px;
}

#sasMap{ /* la carte DOIT avoir une hauteur sinon elle n'apparaît pas */
  height:100vh;
}

#sasFormSection {
  margin-top: 50px !important;
} 

.marker {
  background-size: cover;
  border-radius: 50%;
  cursor: pointer;
}

.mapboxgl-popup {
  max-width: 200px;
  }

.mapboxgl-popup-content {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}


.btn-control {
  font: bold 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  background-color: #3386c0;
  color: #fff;
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 1;
  border: none;
  width: 200px;
  margin-left: -100px;
  display: block;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 3px;
  }
    
.btn-control:hover {
  background-color: #4ea0da;
  }

.coordinates {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  position: absolute;
  left: 20px;
  padding: 5px 10px;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  border-radius: 3px;
  z-index: 3;
  display: none;
}

#sasCoordinates {
  position: absolute !important;
  bottom: 50px !important;
}

#snappingModal {
  display: none;
}

/* .waypoint-popup {
  font: bold 14px 'Oswald', Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #2B2A31;
  min-height: 80px;
  width: 200px;
} */

.poi-name{
  font-size: 16px;
}

.list-training {
  list-style-type: none
}
#mobileAppImage, #backgroundImage, #indoorImage {
  max-width :100%;
  max-height :200px;
}


.fa-bars{
  cursor: move;
}

.fa-edit {
  color : #2B2A31;
  cursor: pointer;
}

.fa-edit:hover{ 
  animation: pulse 1s infinite;
  animation-timing-function: linear;   
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1);}
  100% { transform: scale(1); }
}


.fa-trash-alt {
  color : #2B2A31;
  cursor: pointer;
}

.fa-trash-alt:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-3px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(3px, 0, 0);
  }
}

.workout {
  color: #E63811;
  font-weight: bold;
}

#chrono {
  display: none
}

#workout-advice {
  display: none
}

#fakeTextToUploadForm2 {
  display: none
}

#polyline {
  display: none
}

#textToSpeechForm1 {
  display: none
}

#textToSpeechForm2 {
  display: none
}


#stats-summary {
  background-color: #2B2A31;
  color: #fff;
}
/*
    SIDEBAR
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    border: none;
    border-radius: 0;
    height: 50px;
    color: #fff;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 400px;
    position: fixed;
    top: 50;
    left: -400px;
    height: 100vh;
    z-index: 999;
    background: #2B2A31;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    position: absolute;
    top: 15px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    color: rgb(187, 187, 187);
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #2B2A31;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid rgb(25, 25, 29);
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: rgb(173, 173, 173);
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #2B2A31;
}

#sidebar button {
  color: #fff;
  border-color: #E63811;
  background-color: #E63811;
}

#sidebar button:hover {
  color: #fff;
  border-color: rgba(230, 56, 17, 0.849);
  background-color: rgba(230, 56, 17, 0.849);
  box-shadow: rgba(0, 0, 0, 0.6);
}

#sidebar h4{
  border-top: 1px solid rgb(25, 25, 29);
}

a[data-toggle="collapse"] {
    position: relative;
}
.list-unstyled {
  background-color: #2B2A31;
}

.list-group-item {
  background-color: #2B2A31;
  color: #fff
}

.list-group-item a {
  display: inline !important;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #2B2A31;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #2B2A31;
}

a.article,
a.article:hover {
    background: #2B2A31 !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#sidebarCollapse {
  background-color: #E63811;
  border-color: #E63811;
}