/* General */

*{
	margin:0;
}

#bloc_page{
    width: 100%;
    margin:auto;

    font-size: 1em;
    line-height: 1.375;
}

h1{
    margin:auto;
    width:70%;
    text-align: center;
    font-family: 'Roboto', sans-serif;

    font-size: 3em;
    line-height: 1.05;
}

h2{
    font-weight:bold;
    text-align: center;
    padding-top: 20px;
    margin:auto;
    font-family: 'Noto Sans', sans-serif;

    font-size: 2.25em;
    line-height: 1.25;
}

h3{
    font-weight: bold;
    text-align: left;
    padding-top:20px; 
    font-family: 'Noto Sans', sans-serif;

    font-size: 1.75em;
    line-height: 1.25;
}

p{
    text-align: left;
    padding-top: 20px;
    font-family: 'Roboto', sans-serif;
}

strong{
    color:rgb(155, 12, 12);
}

a{
    color:rgb(155, 12, 12);
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

a:visited{    
    color:rgb(155, 12, 12);
}

img{
    width: 90%;
    height: auto;
}

ul{
    font-family: 'Roboto', sans-serif;
}

li p{
    padding-top: 5px;
}

/* header */

header{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/header.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    flex-direction: column;
}


#hero_text{
    color:white;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
}

#hero_text a
{
    font-family: 'Roboto';
    font-weight: normal;
    color:white;
    text-decoration: none;
}

#hero_text a:hover
{
    color: #f7ca18;
}

#hero_text h1{
    width:85%;
}

#hero_text h1 a{
	font-size: 1.75em;
    font-weight: bold;
}

#hero_text h2{
    padding-top: 5px;
    margin:auto;
    color:white;
}

#sarl {
    text-align: right;
    width:80%;
    padding-top: 5px;
    
    font-family: 'Roboto', sans-serif;
}
/* Navigation */

nav{
    background-color: rgba(0,0,0,0.4);
    font-family: 'Noto Sans', sans-serif;
}

nav ul
{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-left:20px;
}

#mobile-nav{
    color:white;
    display: none;
    flex-direction: column;
    text-align: center;
}

.navbar-header{
    display:flex;
    justify-content: space-between;
    padding-right: 15px;
    padding-left: 15px;
}

nav li
{
    padding-right: 20px;
}

nav a
{
    font-weight: normal;
    font-size: 20px;
    color:#f7ca18;
    text-decoration: none;
}

nav a:hover
{
    opacity: 0.5;
}
nav a:visited
{
    color:#f7ca18;
}


/* content*/

#content{
    text-align: center;
}

#content_title{
    display: flex;
    justify-content: center;
    background-color: #f7ca18;
    padding-top: 20px;
    padding-bottom: 20px;
}

#content_core{
    margin:auto;
    width:80%;
    padding-bottom: 10px;
}

#content ul{
    text-align: left;
}

#image_content{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color:white;
    height:500px;

    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
}

#image_content h2{
    margin:0;
}

#image_content p{
    text-align: center;
    width:85%;
}

.text_in_image p{
    width:95%;
}

button {
    max-width:80%;
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
}

.embed-pdf {
    width: 500px;
    height: 800px;
    padding-top: 10px;
}

/* dual panel */

#side_by_side{
    display:flex;
    flex-direction: row;
    align-items: stretch;
}

#side_by_side p{
    text-align:center;
}

#side_panel_left{
    border-right: solid 1px black;
    padding-right: 10px;
    flex:50%;
}

#side_panel_right{
    border-left: solid 1px black;
    padding-left: 10px;
    flex:50%;
}

#side_panel{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/car_driving.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color:white;
    height:400px;

    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    margin:10px;
    flex:50%
}

#side_panel button{
    background-color:#555555; 
}

/* table */

table{
    margin:auto;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
}

th{
    text-align: left;
}
td, th {
    border: 1px solid #dddddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

#parcours_form{
    background-color: #ffffff;
}

#haut_tableau th{
    text-align: center;
}

/*footer*/

footer{
    background-color: #f7ca18;
    padding-top: 10px;
    padding-bottom: 5px;
    text-align:center;
}

#footer_coord
{	
    display: flex;
    padding-bottom: 5px;
}

footer p{
    text-align:center;
    padding-top: 0px;
}

footer h3{
    text-align: center;
    color:black;
    padding-top: 0px;
    font-weight: bold;
}

#coord{
    width:50%;
    margin-bottom:5px;
}

#mentions a{
    font-size:0.80em;
    color: black;
}

/* Bootstrap like */

#menu-button{
    padding:0px;
    background-color: transparent;
    outline:none;
}

.collapse {
  display: block;
  max-height: 0px;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(0, 1, 0, 1);
}
.show {
    max-height: 99em;
    transition: max-height .5s ease-in-out;
  }

.icon-bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
    display:block;
    pointer-events: none;
}

/* Responsive design */

@media only screen and (max-width: 960px) {

    #desktop-nav{
        display:none;
    }
    #mobile-nav{
        display:flex;
    }

    nav li
    {
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    }
    nav ul{
        padding:0px;
    }

    nav a
    {
        padding-top: 2px;
        font-size: 25px;
    }

    #side_by_side{
        flex-direction: column;
    }

    #side_panel_right,#side_panel_left{
        border-style:none;
        padding-left: 0px;
        padding-right: 0px;
    }

    h1{
        font-size: 2.5em;
        line-height: 1.125;
    }

    h2{
        font-size:2em;
        line-height: 1.25;
    }
    h3{
        font-size: 1.5em;
        line-height: 1.25;
      }

    #hero_text h1 a{
        font-size: 1.7em;
    }
}

@media only screen and (max-width: 600px) {

    #content_core{
        width: 94%;
    }

    #bloc_page{
        line-height: 1.25;
    }

    #footer_coord{
        flex-direction:column;
    }

    #coord{
        width:100%;
        margin-bottom: 10px;
    }

    #hero_text{
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #hero_text h1 a{
        font-size: 1.30em;
    }

    #content_title h1{
        width:100%;
    }

    h1 {
        font-size: 1.7em;
    }

    h2 {
        font-size: 1.625em;
        line-height: 1.15384615;
    }

    h3 {
        font-size: 1.375em;
        line-height: 1.13636364;
    }

    .embed-pdf {
        width: 300px;
        height: 450px;
    }
}

@media only screen and (max-width: 475px) {

    #hero_text h2{
        display: none;
    }
}
