/* GENERAL **************************************************/
body{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; */

    font-size: 12px;
    color: #393939;
    line-height: 20px;
}

.container{
    width: 930px;
    height: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
    font-weight: bold;
}
h4{
    font-size: 15px;
}

a{
    color: #647380;
    text-decoration: none;
}

.hr_section{
    margin: 0 auto 10px auto;
    width: 80%;
}
.hr_menu{
    margin: 0;
}
body .display_none{
    display: none;
}
.bold{
    font-weight: 700;
}
figcaption{
    font-size: 0.8em;
    text-align: center;
}

/* HEADER ***************************************************/
h1{
    color: #1565AA;
    font-size: 4em;
    text-align: center;
    margin: 20px;
}

.menu_first{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 50px;
    width: 100%;
    background-color: #1565AA;
}
.menu_first a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    text-decoration: none;
    color: white;
}
.cdpp_white{
    width: 60px;
    margin: 5px;
}

/* CONTENT **************************************************/
.other_pages{
    width: 80%;
    margin: 50px auto;
}

.landscape{
    display: none;
}
.content{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.options{
    outline: none;
    text-align: center;
    margin: 20px;
    color: #1565AA;
    font-size: 1em;
}

.options_details{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}



.underline{
    border-bottom: 1px solid #1565AA;
}





h3{
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

/* The three part */
.menu{
    width: 300px;
}
.model{
    line-height: normal;
    margin: 0;
    font-size: 0.7em;
}
.model a{
    color: black;
}
.graph{
    width: 100%;
}
.menu > div{
    margin-bottom: 150px;
}
.legend{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Legend part */
.legend p{
    font-size: 12px;
}
.legend_discover{
    color: #15b015;
    font-weight: 700;
}

/* The form part */


summary:hover{
    cursor: pointer;
}

.mag_field{
    line-height: 50px;
}
.mag_field > p{
    margin: 0;
    font-weight: 700;
}

label, .dscvr p, .form_2 p{
    margin: 0;
    font-weight: 700;
}
.output{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.output li:hover{
    cursor: pointer;
}
.form_no_submit{
    display: flex;
    align-items: center;
}
#select_line{
    margin: 0;
    list-style: none;
    /* padding: 0; */
    width: 100px;
    text-align: initial;
}
#select_line li:nth-child(1){
    color: #0f8ae0;
}
#select_line li:nth-child(2){
    color: red;
}

/* Graph Part */
#no_data{
    text-align: center;
    color: red;
    font-size: 2em;
    margin-top: 100px;
}

#time_series > svg{
    margin: 10px 0;
}

.right_axis text, .top_axis text{
    display: none;
}

.center{
    text-align: center;
}
.axis_bottom .tick text{
    font-size: 12px;
    transform: translate(10px, 15px) rotate(45deg);
}


/* FORWARD **************************************************/
.content_forward h2{
    font-size: 3em;
    text-align: center;
    color: #1976d2;
}
.content_forward > div{
    width: 70%;
    margin: auto;
}
.content_forward a{
    color: #1976d2;
}

/* FOOTER ***************************************************/
footer{
    width: 100%;
    /* height: 80px; */
    display: flex;
    flex-direction: column;
    color: #1565AA;
    font-size: 7px;
}

.footer_logo{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.footer_info p{
    width: 60%;
    margin: auto;
}

.logo_cnes, .logo_cnrs{
    width: 50px;
    height: 50px;
    margin: 5px;
}
.logo_cdpp, .logo_irap{
    width: 60px;
    height: 26px;
    margin: 5px;
}
.logo_safespace{
    width: 50px;
}
.logo_eu{
    width: 140px;
}
.logo_informarty{
    height: 40px;
}


/* RESPONSIVE ************************************************/


  @media only screen and (max-width: 600px) and (orientation: portrait) {
    header h1{
        font-size: 1em;
    }
    header p{
        font-size: 0.5em;
    }
    .content{
        display: none;
    }
    footer{
        position: fixed;
        bottom: 0;
    }

  }
  @media only screen and (max-width: 600px) and (orientation: landscape) {
    .landscape{
        display: none;
    }

    header > p{
        font-size: 0.7em;
    }
    h3{
        font-size: 1.5em;
    }
    .legend p, details{
        font-size: 0.8em;
    }
    .legend p{
        line-height: initial;
    }
    details, .mag_field, .dscvr{
        line-height: 30px;
    }
    #time_series_wso, #time_series_adapt {
        margin-bottom: 0px;
    }
    #no_data{
        font-size: 1em;
    }
    footer > div{
        font-size: 6px;
    }
  }