@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');
:root {
  --main: #8c9295;
  --btn-blue: #1e88e5;
  --btn-orange: #DF3A16;
  --body-color: #eef5f9;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  background-color: var(--body-color);
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
}

#main-container{
  max-width: 100vw;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 35vh;
}

a:link{
  text-decoration: none;
}

/* Accueil */
.card {
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/*#cardAccueil{*/
/*  margin-bottom: 25vh;*/
/*}*/
#container-accueil, #container-legende {
  margin-top: 5vh;
}

#btn-agents{
  background-color: var(--btn-blue);
  border: 1px solid var(--btn-blue);
}

#btn-incidents{
  background-color: var(--btn-orange);
  border: 1px solid var(--btn-orange);
  margin-bottom: 5vh;
}

#btn-incidents, #btn-agents{
  margin-top: 5vh;
}

#btn-agents, #btn-missions, #btn-incidents{
  text-transform: uppercase;
}

#nav-bar-global{
  /*background-color: #9e9c9f !important;*/
  background-color: var(--main) !important;
  width: 100%;
  height: 8vh;
}

.item-custom{
  color: white !important;
  font-size: 2vh;
}

/* Mission */

.table{
  border-collapse: collapse;
}

#jumbotron-custom{
  background-color: white !important;
}

#container-search-agent{
  margin-top: 2.5vh;
  margin-bottom: 5vh;
}

#container-agent{
  margin-bottom: 5vh;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 1px solid #dee2e6;
}

.table td, .table th {
  padding: .75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6 ;
}

/* Mission */

.legende-item{
  margin: 2.5vh;
}

/* Footer */

#footer{
  position: absolute;
  width: 100vw;
  bottom: 0;
  height: 30vh;
  background-color: var(--main) !important;
  padding: 1%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.link-footer, .title-footer, .link-footer:hover{
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

#link-footer-id{
  font-size: 08pt;
}

.footer-little-text {
  color: white;
  text-align: center;
  margin: auto;
}

.text-with-icone{
  color: white;
  display: inline-flex;
  vertical-align: middle;
}

#loginBlock{
  /*background-image: url("../images/competenceBackground.jpg");*/
  /*background-size: 100vw 50vh;*/
  background-repeat: no-repeat;
  margin-top: 5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-height: 48vh;
}

#containerFormLogin{
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

#titleMission{
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  width: 50%;
}

#cardMission{
  width: 50%;
}

.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, 0.8);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-wrapper{
  overflow: auto;
  width: 75vw;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.buttonDiv{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 2vh;
  width: 100%;
  vertical-align: middle;
}

.btnModal{
  display: flex;
  justify-content: center;
  align-items: center;
}

