@font-face {
    font-family: 'Nolan Next';
    src: url('fonts/nolan.otf');
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('fonts/sofia.otf');
}

body{
    font-family: 'Sofia Pro', 'Nolan Next', 'Arial', sans-serif;
}

.fixed_nav{
    position: fixed;
    display: inline;
    width: 25%;
}

#home_nav{
    bottom: 0;
    display: block;
    text-align: center;
    color: white;
}

#lines_nav{
    bottom: 0;
    display: block;
    text-align: center;
    color: white;
    left: 25%;
}

#homeimg{
    width: 25px;
    margin-bottom: 1%;
}

#linesimg{
    width: 90px;
    margin-bottom: 1%;
}

#favimg{
    width: 30px;
    margin-bottom: 0%;
}

#stopsimg{
    width: 3.7vh;
    margin-bottom: 0%;
}

#favoris_nav{
    bottom: 0;
    text-align: center;
    display: block;
    color: white;
    left: 75%;
}

#stops_nav{
    bottom: 0;
    text-align: center;
    display: block;
    color: white;
    left: 50%;
}

.navbar{
    background-color: rgb(24, 24, 24);
    width:100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

a{
    text-decoration: none;
}

.logo_line {
    border-radius: 5px;
    border: 5px solid black;
    text-align: center;
    height: 25px;
    width: 30px;
    margin: 0.5%;
    display: inline-block;
}

.logo_line_scol {
    border-radius: 5px;
    border: 5px solid black;
    text-align: center;
    height: 25px;
    width: 65px;
    margin: 0.5%;
    display: inline-block;
}

.stopline{
    margin-top: 1.5%;
}

#divstops{
    display:flex; 
    width: 100%;
    margin:1.5% auto 16% auto; 
    flex-direction: column;
    text-align: center;
}

#divlines{
    margin-bottom: 16%;
}

h2{
    margin-bottom: 1%;
}

select{
    padding: 0.5%;
    border-radius: 5px;
    border: 2px solid #ced4da;
    width: 100%;
}

.line {
    display: inline-flex;
    width: 10%;
    border-right: 2px solid white;
    justify-content: center;
    height: 2vh;
    align-items: center;
}

.stopname{
    display: inline-flex;
    width: 89%;
    justify-content: center;
    height: 2vh;
    align-items: center;
}

/* Dropdown récupéré honteusement sur w3schools, merci à eux. */

/* Style The Dropdown Button */
.dropbtn {
  background-color: #4D4D4D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Sofia Pro', 'Nolan Next', 'Arial', sans-serif;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: fixed;
  display: inline-block;
  right: 1%;
    top: 1%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right:4.8%;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #4d4d4d;
}

.alert{
    position:absolute;
    /* Au dessus du reste */
    z-index: 2;
    /* Centré */
    left: 50%;
    transform: translate(-50%, 0);
    /* Contour */
    padding: 1vw;
    text-align: center;
}

.alert.alert-warning{
    background-color: #f4c836;
    border: 5px solid #ffc917;
}

.alert.alert-success{
    background-color: #4caf50;
    border: 5px solid #3fce43;
}

.closebtn{
    /* En haut à droite de l'alerte */
    position: absolute;
    top: 0;
    right: 0;
    font-size: xx-large;
    margin-top: -6%;
}

@media screen and (max-width: 600px) {
    .alert{
        width: 95%;
    }
}

#internetState {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ff8800;
    color: white;
    text-align: center;
    padding: 1%;
    font-size: 1.5vh;
    font-weight: bold;
    z-index: 3;
}

#annonce {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ff3300;
    color: white;
    text-align: center;
    padding: 1%;
    font-size: 1.5vh;
    font-weight: bold;
    z-index: 3;
}

.closebtn .annonce {
    /* En haut à droite de l'alerte */
    position: absolute;
    top: 0;
    right: 0;
    font-size: xx-large;
    margin-top: -6%;
    z-index: 4;
}