
.element_label {
    font-size: 120%;
    font-weight: bold;
    margin-top: 1px;
}

#extra_concentration {
    padding: 0px 10px;
    font-size: 16pt;
    margin-top: 18px;
    margin-left: -15px;
    box-shadow: 0 2px 2px rgba(33, 33, 33, .05);
}

.btn_adf {
    border: 1px solid rgb(200, 200, 200);
    margin-top: 10px;
}

#update_concentration {
    margin-top: -3px;
}

#concentration_input {
    border: 1px solid rgb(200, 200, 200);
    padding: 5px;
    border-radius: 4px;
    width: 75%;
}

.left {
    width: 10%;
    float: left;
    padding-left: 10px;
}

.right {
    width: 10%;
    float: right;
    text-align: right;
    padding-right: 10px;
}

#dielectric_function_plot_wrapper {
    height: 650px;
    padding: 0;
    margin-top: 1em;
}

.df_plot {
    height: 650px;
}

#loading_gif_wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: rgb(255, 255, 255, 0.85);
    visibility: hidden;
}
#loading_gif {
    margin-left: 50%;
    margin-top: 200px;
}

@media screen and (max-width: 992px) {
    #dielectric_function_plot_wrapper {
      height: 575px;
    }
    .df_plot {
        height: 575px;
    }
}

@media screen and (max-width: 767px) {
    #dielectric_function_plot_wrapper {
      height: 500px;
    }
    .df_plot {
        height: 500px;
    }
}

@media screen and (max-width: 767px) {
    #dielectric_function_plot_wrapper {
      height: 375px;
      margin-left: -18px;
      margin-right: -15px;
    }
    .df_plot {
        height: 375px;
    }
}

/*=====================================*/
/* Styling of element selection widget */
#element_selection {
    max-width: 800px;
    display: table;
    table-layout: fixed;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 7px 0;
}

.element {
    border: 3px solid black;
    display: table-cell;
    padding: 10px 20px;
}

span.element_number {
    font-size: 125%;
}

span.element_short_name {
    font-size: 380%;
    font-weight: bold;
    margin-top: -5px;
}

span.element_long_name {
    font-size: 120%;
}

@media screen and (max-width: 767px) {
  span.element_number {
      font-size: 100%;
  }

  span.element_short_name {
      font-size: 200%;
      margin-top: -5px;
  }

  span.element_long_name {
      display: none;
  }
}

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

  #element_selection {
    border-spacing: 3px 0;
}

  .element {
    border: 1px solid black;
    padding: 5px 10px;
  }

  span.element_number {
      font-size: 100%;
  }

  span.element_short_name {
      font-size: 150%;
      margin-top: -5px;
  }
}


#Cu {
    background-color: #E6B39A;
}
#Pd {
    background-color: #B8DEDE;   
}
#Ag {
    background-color: #E0E0E0;
}
#Pt {
    background-color: #CFE3A6;
}
#Au {
    background-color: #F0DD92;
}
.not_selected {
    opacity: 0.2;
}



/*    
        if light:
        return {'Cu': '#E6B39A', 'Pd': '#B8DEDE', 'Ag': '#E0E0E0',
                'Pt': '#CFE3A6', 'Au': '#F0DD92'}
    else:
        return {'Cu': '#993300', 'Pd': '#009999', 'Ag': '#c5c5c5',
                'Pt': '#669900', 'Au': '#F5C400'}
}
*/


/* 
===============================================
SELECT MENU 
===============================================
*/
/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
  max-width: 500px;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}


