@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html{
  font-family: 'Lato', 'Verdana','Arial',sans-serif;
  font-size:115%;
  padding-bottom: 5em;
  color: rgb(40,40,40);
}

body {
  width: 95vw;
}

a:hover {
  color: rgb(100,100,200);
}


h1 {
  font-size: 180%;
  color: black;
  text-align: center;
  background-color: rgb(230,230,230);
  padding: 15px;
  margin-top: 1em;
  border: 2px solid gray;
}

h2 {
  font-size: 135%;
  margin-top: 2em;
  color: black;
  background-color: rgb(220, 220, 255);
  padding: 10px;
}

h3 {
  margin-top: 2em;
  background-color: rgb(235,245,255);
  padding: 5px;

}

h4 {
  color: rgb(90,90,90);
}


article {
  margin: auto;
  max-width: 950px;
}

p{
  text-align: justify;
}

td span {
  border: 1px solid gray;
  margin: 5px;
  display: block;
  padding: 3px;
  background-color: rgb(235,235,235);
}

td {
  min-width: 100px;
}
td.impossible {
  background-color: rgb(200,200,200);
}

.image {
  background-color: lightsalmon;
}

.machine-learning {
  background-color: lightblue;
}

table,th,td {
  border: 1px solid black;
  border-collapse: collapse;
  vertical-align:top;;
}

th {
  text-align: left;
}

.listing td:nth-child(4n-1) {
  width: 4em;
  text-align: center;
}

.listing td:nth-child(5n-4) {
  font-weight: bold;
}

.listing td:nth-child(5n-1), .listing td:nth-child(5n) {
  font-style: italic;
}


.time-table td:nth-child(6n-5) {
  font-weight: bold;
  font-family: 'Lato', 'Verdana','Arial',sans-serif;
}
.time-table th {
  text-align: center;
  font-weight: bold;
}
.time-table td{
  font-family: 'Lucida Console', monospace;
}


.period {
  margin-right: 2em;
}

a {
  text-decoration: none;
  color: blue;
}

nav {
  margin-right: 10%;
  text-align: right;
  font-size: 1.5em;
}

nav a:before{
  content: "[";
}
nav a:after{
  content: "]";
}

.rule{
  display:inline-block;
  padding:1em;
  border: 2px solid red;
  border-radius: 10px;
  margin-bottom: 2em;
}

.applications{
  display: flex;
}



.applications .right img{
  max-width: 350px;
}

.applications .left{
  margin-right: 2em;
}

@media(max-width:600px){
  .applications{
    display: block;
  }
  .applications .right img{
    max-width:100%;
  }
}

.faq-q {
  font-weight: bold;
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  font-style: italic;
}

.faq-r {
  font-size: 95%;
  color: rgb(70,70,70);
  margin-left: 3em;
  text-align: justify;
}

.faq-r p{
  margin-bottom: 1em;
}

img.banner {
  width: 100%;
  margin-top: 1em;
  margin-bottom: 1em;
}


.grid-cours {
  display:grid;
  grid-template-columns: 1fr 3fr 1.5fr 1.0fr 1.0fr;
  margin-right: 2em;
  font-size: 90%;
}

/*.grid-cours a {
  color: black;
}
.grid-cours a:hover {
  color: blue;
}
*/

.grid-cours div:nth-child(5n-4) a{
  display: block;
  height: 100%;
}
.grid-cours div:nth-child(5n-4):has(a:hover) {
  background-color: rgb(230,230,230);
}
.grid-cours div:nth-child(5n-4) a:hover{
  color: red;
}


.grid-cours div:nth-child(5n-4)
{
  font-weight: bold;
  text-align:left;
  padding-left: 1em;
  font-family: 'Lucida Console', monospace;
}
.grid-cours div:nth-child(5n-2),
.grid-cours div:nth-child(5n-1)
{
  font-style: italic;
  text-align:left;
}

.grid-cours div{
  text-align:center;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border: 1px solid black;
  padding-left: 5px;
  padding-right: 5px;
}

@media(max-width:800px){
  .grid-cours {
    display: block;
    text-align: center;
  }
  .grid-cours div:nth-child(5n-4) a{
    height: inherit;
    text-align: center;
  }
  .grid-cours div:nth-child(n)   {
    text-align: center;
  }
  .grid-cours div:nth-child(5n-4) {
    margin-top: 2em;
    background-color: rgb(240,240,240);
    border: 2px solid black;
  }
}



.logo-iavic-company{
  display:flex; 
  align-items:center; 
  justify-content:space-around;
}

.logo-iavic-company img{
  width:150px; 
  margin:15px;
}

@media(max-width:700px){
  .logo-iavic-company{
    display:block;
  }
}

.logo-cesures4a {
  display:flex; 
  justify-content: space-evenly;
}
@media(max-width:700px){
  .logo-cesures4a {
    display: block;
    text-align: center;
  }
}

ul.navigation ul li{
  color: rgb(60,60,60);
  font-size: 90%;
  list-style: none;
}

ul.navigation ul li a {
  color: rgb(60,60,60);
}

ul.navigation ul li a:hover{
  color: rgb(100,100,200);
}
ul.navigation ul li a:before{
  content: "[ ";
}
ul.navigation ul li a:after{
  content: " ]";
}

.specialisation {
  background-color: rgb(240,240,240);
  padding: 5px;
}
.statistique-page {
  text-align: center;
}
.statistique-page div {
  background-color: rgb(255,255,200);
  border: 2px solid black;
  padding: 1em;
  display: inline-block;
  font-weight: bold;
  font-size: 115%;

}

.chart-anciens {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: auto;
}

.container-chart-company {
  display: flex;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.company-presentation {
  display: flex;
  font-size: 80%;
  margin-top: 1em;
}
.company-column {
  margin-left: 1.5em;
}
.company-theme {
  font-weight: bold;
}
.company-entry {
  font-style: italic;
}

@media screen and (max-width: 800px) {
  .container-chart-company {
      display: block;
  }
}
