/**
 *  @file         style.css
 *  @version      2.1
 *  @date         Mars 2017
 *  @author       Nhu-Hoai Robert VO (nhuhoai.vo@franicflow.ch)
 *  @copyright    FRANIC Flow Sàrl
 *  @brief        Feuille de style principale
 */

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, sans-serif;
}

#header {
  position: relative;
  width: calc(100% - 20px);
  top: 0;
  left: 0;
  background-color: #333;
  padding: 2px 10px;
}

a, a:visited, .link {
  cursor: pointer;
  transition: color 0.5s;
  color: orange;
}
a:hover, a:visited:hover, .link:hover {
  color: red;
}

#version {
  position: absolute;
  top: 0;
  left: 10px;
  height: 40px;
  line-height: 40px;
  color: white;
  font-size: 0.6em;
}

#menu {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-right: 25px;
  bottom: 0;
  left: 0;
  /* background: rgba(255, 255, 255, 0.6); */
  text-align: right;
}
#menu a, #menu a:visited {
  line-height: 40px;
  font-variant: small-caps;
  font-weight: bold;
  font-size: 1.3em;
  padding: 0 25px;
  color: #FFF;
  text-decoration: none;
  transition: border-bottom 0.5s;
  border-bottom: solid 1px transparent;
}
#menu a:hover, #menu a:visited:hover {
  border-bottom: solid 1px black;
}

#main {
  padding: 5px;
  position: relative;
  width: calc(100% - 10px);
  min-height: calc(100vh - 90px);
  left: 0;
}

#submenu {
  position: relative;
  width: 100%;
}

#content {
}

#footer {
  position: relative;
  width: 100%;
  height: 50px;
  bottom: 0;
  left: 0;
  background: #222;
}

#copyright {
  text-align: center;
  line-height: 50px;
  color: #FFF;
  font-variant: small-caps;
}
#copyright a, #copyright a:visited {
  color: orange;
}

.title {
  font-variant: small-caps;
  font-size: 2em;
  font-weight: bold;
  padding-left: 50px;
  padding-top: 15px;
  padding-bottom: 10px;
}

input[type=text],
      input[type=password],
      input[type=number],
      input[type=email],
      input[type=url],
      input[type=date],
      input[type=datetime],
      input[type=time],
      input[type=search],
      textarea,
      select {
  box-sizing: border-box;
  border: solid 1px #000;
  padding: 5px;
  margin: 5px 10px;
  transition: box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
  outline: none;
}

input[type=text]:focus,
      input[type=password]:focus,
      input[type=number]:focus,
      input[type=email]:focus,
      input[type=url]:focus,
      input[type=date]:focus,
      input[type=datetime]:focus,
      input[type=time]:focus,
      input[type=search]:focus,
      textarea:focus,
      select:focus {
  box-shadow: 0 0 8px #8DE;
  border: solid 1px #8DE;
}

input[type=submit], input[type=button] {
  background: #4691A4;
  padding: 5px 10px;
  border: none;
  color: #FFF;
  cursor: pointer;
}

input.error {
  border: solid 1px red;
  color: red;
}

input.error:focus {
  border: solid 1px red;
  box-shadow: 0 0 8px red;
}

input[type=submit]:hover, input[type=button]:hover {
  background: #4B99AD;
  box-shadow: none;
}

table {
  border-collapse: collapse;
}
table, td, th {
  border: 1px solid black;
}
table.fc {
  position: relative;
  margin: 15px auto;
}
td, th {
  padding: 5px;
}

.hide{display:none;}

.fc{text-align:center;}
.fgreen{color:green;}
.fred{color:red;}

.w100{width:100px;}
.w200{width:200px;}
.w300{width:300px;}
.w400{width:400px;}

#cartomap {
  position: relative;
  width: 100%;
  height: 400px;
}

#cartomap.fullscreen {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  z-index:1000;
}
#closemap {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #000;
  z-index:2000;
}
#map {
  position: relative;
  z-index: 1500;
  width: 80%;
  margin: 0 auto;
}
#chartBox {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
}

.bggrey{background-color:grey;}

@media print {
  .pagebreak { page-break-after: always; }
}

.swal2-container {
  z-index: 2000;
}
