/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////   Main   ///////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
*{
    margin:0;
    padding:0;
    overflow-x: hidden;
}

html, body {
    height: 100%;
    width:100%;
    font-family: "Arimo";
}

/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////   Header   /////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
header {
    float: left;
    width: 15%;
    height:100%;
    position: fixed;
}

#div_nav {
    background: #4d4d4d;
    overflow: hidden;
    height:100%;
}

h1 {
    border: 1px solid #2c2c2c;
    padding: 5px 0px;
    text-align: center;
}

#aroma_title {
    width: 70%;
}

nav {
    background: #5d5d5d;
    height: 100%;
    overflow: hidden;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    display: inline-block;
}

nav ul li {
    border: 1px solid #2c2c2c;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
}

nav ul li:hover {
    background: #8d8d8d;
}
nav ul li a:visited {
    background: #8d8d8d;
}
.div_li {
    height: 50px;
    width: 10px;
    display: inline-block;
    background: #00c5ff;
    position: absolute;
    z-index: -5;
}

.li_actived {
    z-index: 5;
}

#nav_login {
    height: 30px;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
    overflow: hidden;
}

#logout, #login {
    background: #4d4d4d;
    border-bottom-left-radius: 3px;
    height: 30px;
    text-align: center;
    display: inline-block;
    overflow: hidden;
}

#connected_as {
    display: inline-block;
    line-height: 30px;
}

#login {
    width: 150px;
    display: inline-block;
}

#logout a {
    line-height: 30px;
    text-align: center;
    color: white;
    text-decoration: none;
    display: inline-block;
    width: 100px;
    border-right: 1px solid white;
}

#login a {
    width: 150px;
    line-height: 30px;
    text-align: center;
    color: white;
    text-decoration: none;
}
/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////   Content   ////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/

section {
    position: relative;
    width: 80%;
    margin-left: 15%;
    margin-bottom: -41px;
    min-height: 100%;
}

.content {
    margin-left: 70px;
    margin-top: 50px;
    margin-bottom: 100px;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////   Search Data   //////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#search_data {
    margin-top: 30px;
}

.div_checkbox {
    float: left;
}

.div_border {
    border-bottom: 1px solid #c6c6c6;
}

.div_content {
    padding: 15px;
    margin-top: 10px;
}

#search_data input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 30px;
}

#search_data input[type="number"],
#search_data input[type="text"] {
    height: 30px;
    width: 15%;
    padding-left: 2px;
}

.label_first_col {
    position: relative;
    width: 20%;
    display: inline-block;
}

.label_second_col {
    margin-left: 7%;
    display: inline-block;
    width: 10%
}

.label_third_col {
    margin-left: 7%;
    display: inline-block;
    width: 7%
}

#submit_form_search_data, #submit_form_add_sample, .input_grey {
    background: #4d4d4d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    margin-top: 30px;
    margin-left: 100px;
    width: 150px;
    height: 50px;
    font-size: 0.9em;
}

#submit_export {
    background: #4d4d4d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    margin-top: 10px;
    margin-left: 20px;
    width: 110px;
    height: 45px;
    font-size: 0.9em;
}

#select_multiple {
    width: 16%;
    height: 100px;
}

#label_types, #label_precursors {
    position: absolute;
    margin-left: 6.5%;
}

#select_types,  #select_precursors{
    position: absolute;
    margin-left: 16%;
    width: 15% !important;
}

#label_precursors , #select_precursors{
    margin-top: 5%;
}

#label_multiple {
    margin-bottom: 75px;
}

#search_data .select_grey {
    background: #4d4d4d;
    color: white;
    border: 6px solid transparent;
    height: 35px;
    width: 8%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%);
    background-position:
        calc(100% - 15px) calc(8px),
        calc(100% - 10px) calc(8px),
        calc(100% - 2.5em) calc(3px);
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
    border-radius: 2px;
}

#s_family {
    background: #4d4d4d;
    color: white;
    border: 6px solid transparent;
    height: 35px;
    width: 22%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 15px) calc(8px),
        calc(100% - 10px) calc(8px),
        calc(100% - 2.5em) calc(3px);
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
    border-radius: 2px;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////   Show All Samples   ////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#add_sample_from_file div, #all_samples {
    padding: 25px;
    margin-top: 10px;
}

#all_samples {
    width: 100%;
    margin-bottom: 80px;
}

#add_sample_from_file {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #cccccc;
}
#table_show_samples {
    width: 100%;
    display: block;
    border-collapse: collapse;
    padding-top: 30px;
}

#table_show_samples thead tr {
    border-bottom: 1px solid grey;
}

#table_show_samples td, #table_show_samples th {
    width: 200px;
    height: 30px;
    text-align: left;
    padding-left: 5px;
}

#table_show_samples tbody tr:nth-child(2n+1) {
    background: #cccccc;
}

#table_show_samples thead th {
    border-left: 1px solid #cccccc;
}

#table_show_samples tbody td {
    border-left: 1px solid white;
}

#table_show_samples_filter {
    margin-bottom: 10px;
}
#table_show_samples_filter input {
    margin-left: 10px;
}

#search_in_show_samples {
    width: 100%;
    display: block;
    padding-bottom: 30px;
    border-bottom: 1px solid #cccccc;
}

#search_in_show_samples label, #search_in_show_samples input {
    display: inline-block;
}

#search_in_show_samples label {
    width: 9%;
}

#search_in_show_samples input {
    margin-right: 6%;
    width: 16%;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////   Show Sample   ///////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#link_edit:hover , #edit_sample_submit:hover{
    background: #8d8d8d;
    cursor: pointer;
}
#link_edit , #edit_sample_submit{
    padding: 2pt 5pt;
    border: 1pt solid #4d4d4d;
    border-radius: 3pt !important;
    font-size: 1.0em !important;
    background-color: #4d4d4d;
    color: white;
}
#link_edit>a{
    text-decoration: none;
    color: white;
}
.field_title {
    font-weight: bold;
}

h2#sample_title {
    margin-bottom: 1em;
}

h4.dbe_graph_title{
    text-align: center;
    margin-bottom: 2em;
}

svg.dbe_graph text{
    font-size: 0.8em;
}

svg.dbe_graph{
    border: solid #cdcdcd 1px;
    background-color: #f2f2f2;
}

div.tooltip_dbe {
    z-index: 1000;
     position: absolute;
     text-align: center;
     padding: .2rem;
     background: white;
     color: black;
     border: solid black 1px;
     border-radius: 2px;
     pointer-events: none;
     font-size: .7rem;
}

/* Prestation of the tables of the info tab */
.tab_info_div {
    display: inline-block;
    /*border: 1px solid grey;*/
    padding: 1em !important;
    width:40%;
    background-color: white;
}

.tab_info_div>table {
    width: 100%;
}

#collaborators_info_div{
    display:none;
}

#tabs_analysis{
    padding: 5px !important;
}

/* Prestation of the tables of the data tab */
.div_data{
    display: inline-block;
}

.div_data>h4{
    text-align: center;
    margin-bottom: 2em;
}
.div_data>.table_data{
    display: inline-block;
    width: 57%;
}

.div_data>.table_data th {
    width: 70%;
}

.div_data>.table_data tr {
    background-color: white;
}

/*
Text for families in family analysis with bar chart
used in javascript file
*/
.family_name, .family_subtotal , .family_percent{
    fill: black;
    font-weight: bold;
    font-size: 16px
}
/*
The graphic d3 bars  representing family percentage
used in javascript file
*/
.family_bar{
       stroke: black;
       stroke-width: 1;
       fill: steelblue;
}

/*
Family bars container
 */
svg.family_bar_graph{
    padding: 20px;
    border: solid #cdcdcd 1px;
    background-color: #f2f2f2;
}

#table_show_sample, #table_info_annotation, .table_data {
    border-collapse: collapse;
    margin-top: 30px;
}

#table_show_sample th, #table_show_sample td, .table_data th, .table_data td{
    border: 1px solid #bababa;
    padding: 5px;
}

#table_show_sample th, .table_data th {
    background: #d0d0d0;
    text-align: left;
}

#table_info_annotation, #annotations {
    width: 100% !important;
}
#table_info_annotation th, #table_info_annotation td {
    border : 1px solid white;
    padding: 5px;
}

#table_info_annotation th, #annotations th {
    border-bottom: 1px solid black;
    text-align: left;
}

#table_info_annotation td, #annotations td {
    border-bottom: 1px solid grey;
}

#annotations tbody td, #annotations thead th {
    padding: 5px;
}

#table_info_annotation tbody tr:nth-child(2n+1), #annotations tbody tr:nth-child(2n+1) {
    background: #f1f1f1;
}

#table_info_annotation tbody tr:nth-child(2n), #annotations tbody tr:nth-child(2n) {
    background: #f7f7f7;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    cursor:pointer;*cursor:hand;
    background-repeat:no-repeat;
    background-position:center right}

table.dataTable thead .sorting {
    background-image:url("../img/sort_both.png")}
table.dataTable thead .sorting_asc{
    background-image:url("../img/sort_asc.png")}
table.dataTable thead .sorting_desc{
    background-image:url("../img/sort_desc.png")}
table.dataTable thead .sorting_asc_disabled{
    background-image:url("../img/sort_asc_disabled.png")}
table.dataTable thead .sorting_desc_disabled{
    background-image:url("../img/sort_desc_disabled.png")}

#tabs_sample {
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    margin-top: 30px;
}

#tabs_sample ul {
    background: #f4f4f4;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    margin: 2px;
    height: 40px;
    overflow: hidden;
}

#tabs_sample ul li{
    margin-left: 2px;
    margin-top: 5px;
    display: inline-block;
    background: white;
    height: 35px;
    line-height: 35px;
    overflow: hidden;
    padding: 0 15px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    text-align: center;
}

#tabs_sample ul li a {
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: inline-block;
    color: black;
}

#tabs_sample div {
    margin: 20px;
}

#tabs_sample .active {
    background: #00c5ff;
}


#div_dbe, #div_dbe_c, #div_h {
    text-align: center;
}
/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////   Edit Sample   ////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#edit_sample_form fieldset {
    border-radius: 3px;
    border: 1px solid grey;
    padding: 15px;
    margin: 30px 0px;
}

#edit_sample_form input[type="number"],
#edit_sample_form input[type="text"]:not(.input_target)  {
    height: 30px;
    width: 15%;
    padding-left: 2px;
}

input[type="number"],
input[type="password"],
input[type="search"],
input[type="text"]:not(.input_target)  {
    height: 30px;
    width: 15%;
    padding-left: 2px;
}

#edit_sample_form .label_textarea {
    margin-bottom: 60px;
}

#edit_sample_form textarea {
    display: inline-block;
    width: 30%;
    height: 80px;
}

.edit_sample_div_line {
    margin: 15px;
}

.first_label {
    display: inline-block;
    width: 10%;
}

.second_label {
    display: inline-block;
    width: 10%;
    margin-left: 20%;
}

.label_decal {
    margin-left: 5%;
}

.label_operators {
    display: inline-block;
    width: 15%;
    margin-bottom: 40px;
}
#label_version {
    margin-bottom: 40px;
}

#select_operators {
    display: inline-block;
    width: 25%;
}

.first_input {
    display: inline-block;
    width: 15%;
}

#edit_sample_form .select_grey, #select_privacy, #select_role {
    background: #4d4d4d;
    color: white;
    border: 6px solid transparent;
    height: 35px;
    width: 15%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 15px) calc(8px),
        calc(100% - 10px) calc(8px),
        calc(100% - 2.5em) calc(3px);
    background-size:
        5px 5px,
        5px 5px,
        1px 1.5em;
    background-repeat: no-repeat;
    border-radius: 2px;
}

#select_privacy {
    width: 16%;
    margin-right: 4px;
}

#select_users {
    display: inline-block;
    width: 30%;
}
#select_users_label {
    margin-bottom: 40px;
}

#short_fieldset {
    width: 50%;
}

#add_collaborator{
    display: block;
    margin-left: 10%;
}

.first_input_short {
    display: inline-block;
    width: 30%;
}

.first_label_target {
    display: inline-block;
    width: 15%;
}

.input_target, #select_category {
    display: inline-block;
    width: 30%;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////   Display Data   ///////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#panel_unfold {
    background: rgba(0, 197, 255, 0.3);
    border-radius: 3px;
    padding: 10px;
    transition: height 2s;
    width: 100%;
    height: 120px;
}

.col_filter_panel {
    display: inline-block;
    width: 24%;
    height: 100%;
}

.col_filter_panel a {
    display: block;
}

.col_filter_panel label {
    display: block;
    width: 100%;
}

#form_export {
    margin-top: 30px;
    margin-bottom: 30px;
}

#panel_head h3, #panel_head a {
    margin-right: 20px;
}

#panel_head .close, #panel_head h3 {
    display: inline-block;
}

#panel_head .open {
    display: none;
}

#panel {
    padding-bottom: 15px;
    border-bottom: 1px solid grey;
}

.open {
    display: none;
}

#div_data table {
    padding-top: 15px;
}
/*/////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////   Login Page   ///////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
.form_login {
    margin: 15px;
}

.form_login div {
    margin-top: 15px;
}

.form_login div label {
    display: inline-block;
    width: 10%;
}

.form_login div input[type="password"],
.form_login div input[type="text"] {
    display: inline-block;
    width: 20%;
}
/*/////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////   Register   /////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#select_role {
    width: 21%;
}

#select_samples {
    display: inline-block;
    width: 21%;
    height: 100px;
}

#sample_label_multiple {
    margin-bottom: 70px;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////   Profile   //////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#profile {
    margin-top: 30px;
}

#profile div {
    margin-top: 10px;
    border-bottom: 1px solid #c6c6c6;
}
#profile div label, #profile div p {
    display: inline-block;
    width: 15%;
}

#authorised_samples {
    display: inline-block;
    width: 100%;
}

#authorised_samples label, #authorised_samples ul {
    display: inline-block;
}

#authorised_samples label {
    vertical-align: top;
}

#authorised_samples ul {
    list-style-type: circle;
}

#authorised_samples a {
    text-decoration: none;
}
/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////   List of users   //////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#list_users {
    margin-top: 30px;
}

#table_list_users {
    border-collapse: collapse;
}

#table_list_users thead tr {
    border-bottom: 1px solid grey;
}

#table_list_users td, #table_list_users th {
    width: 200px;
    height: 30px;
    text-align: left;
    padding-left: 5px;
}

#table_list_users tbody tr:nth-child(2n) {
    background: #cccccc;
}

#table_list_users thead th {
    background: #cccccc;
    border-left: 1px solid white;
}
#table_list_users tbody td {
    border-left: 1px solid white;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////   Messages Flash   /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#messages {
    margin: 0 auto;
    margin-top: 70px;
    width: 80%;
    padding: 0px;
    /*border: 1px solid black;*/
}

#messages >div{
    margin: 10px 0px;
    padding: 10px 15px;
}
#messages .alert-message {
    border: 1px solid #00c5ff;
    background: rgba(0, 197, 255, 0.5);
}
#messages .alert-error {
    border: 1px solid #f1a899;
    background: #fddfdf;
    font-weight: bold;
}

/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////   Footer   /////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
footer {
    width: 100%;
    background: #4d4d4d;
    border: 1px solid #2c2c2c;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 5;
}

footer a {
    text-decoration: none;
    color: white;
}


/*/////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////   Display Spectrum   /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1px;
}

.horizontalGrid, .verticalGrid {
    fill: none;
    shape-rendering: crispEdges;
    stroke: lightgrey;
    stroke-width: 1px;
}

.overlay {
    fill: none;
    pointer-events: all;
}

#container2 {
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    width: 100%;
    height: 400px;
}

#display_spectrum {
    background-color : white;
    margin: 0 auto;
    width: 1000px;
    height:290px;
    margin-top : 20px;
    margin-bottom: 20px;
}

#display_spectrum {
    display: none;
}


.focus circle {
  fill: steelblue;
}

.titreGraphe {
    font-weight: bold;
}


/*/////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////   Contact   //////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#div_contact {
    width: 100%;
}

#div_contact ul:first-of-type {
    border-bottom: 1px solid #cccccc;
}

#div_contact ul {
    padding-bottom: 50px;
    margin-bottom: 50px;
    margin-left: 25px;
    margin-top: 50px;
}

#div_contact ul li {
    margin-bottom: 10px;
}


/*/////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////   FAQ   /////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#faq p {
    margin-top: 50px;
    margin-left: 25px;
}

#faq {
    padding-bottom: 100px;
}

#faq h4 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-top: 15px;
}

#faq p:last-of-type {
    padding-top: 50px;
    border-top: 1px solid #cccccc;
}

#faq img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    transition: transform .2s; /* Animation */
}

#faq img.dyna_image:hover {
    transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}


/*/////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////   Home Page   //////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////*/
#home_page {
    width: 100%;
}

#aroma_sub_title {
    width: 30%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

#home_page div {
    margin-top: 50px;
    text-align: justify;
}

#home_page div:first-of-type {
    padding-bottom: 50px;
    border-bottom: 1px solid #cccccc;
}


#home_page div h2 {
    margin-bottom: 20px;
}

#home_page, #faq, #div_contact {
    width: 70%;
    margin: auto;
    font-size: 20px;
}
#home_page p,
#citation h3  {
    margin-bottom: 10px;
}
