* {
  box-sizing: border-box;
}


/* ========================================================================================================================== */
/* Landing page */
/* ========================================================================================================================== */

#landing_container{
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}


/* Banner */

.landing_banner_upper{
  height: 9px;
  width: 100%;
  background-color: #ddc76b;
  flex: 0 0 auto;
}


.landing_banner_middle{
  width: 100%;
  background-color: #f8f4e1;
  color: #5a621c;
  text-align: center;
  flex: 0 0 auto;
}

.landing_banner_middle_logo{
  padding: 20px 0 11px 0;
  height: 151px;
}

.landing_banner_middle_logo_image{
  width: 150px;
  height: 120px;
}

.landing_banner_middle_tagline{
  font-family: Georgia;
  font-style: italic;
  letter-spacing: 3px;
  font-size: .9em;
  padding-bottom: 20px;
  color: #5a621c;
}

.landing_banner_lower{
  height: 33px;
  width: 100%;
  background-color: #ddc76b;
  flex: 0 0 auto;
}

/* Content */

#landing_content{
  background-color: #ddc76b;
  background-image: url('Project Images/background_image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: 1 1 auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  height: calc(100vh - 9px - 120px - 31px - 120px - 33px);
}

.landing_content_background_image{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing_content_buttons{
  width: 20vw;
  height: 100%;
  background-color: "Transparent";
  border: none;
  outline: none;
  margin: 25px 0 25px 2.5vw;
}

.landing_content_buttons_select_option{
  height: auto;
  margin: 20px 0;
  padding: 10px;
  border: 2px solid #a1a2a1;
  background-color: #ffffff11;
  font-family: Georgia;
  font-style: italic;
  letter-spacing: 3px;
  font-size: .8em;
  text-transform: uppercase;
  color: #ffffff;
  width: 100%;
  text-align: center;
}

.landing_content_buttons_select_option.selected {
  background-color: #ffffff66;
  border: 2px solid #ffffff;
  color: #ffffff;
  outline: none;
}

.landing_content_info{
  background-color: #444643;
  margin: 25px 0;
  width: 50vw;
  outline: 2px solid #a1a2a1;
  outline-offset: -10px;
  padding: 15px 15px 10px 10px;
  box-sizing: border-box;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  max-height: 100%;
  justify-content: flex-end;
  overflow-y: auto;
}

#landing_content_info_text{
  height: 100%;
  width: 100%;
  margin: 30px 0 30px 0;
  padding: 0 30px 0 30px;
  box-sizing: border-box;
  text-align: center;
  text-wrap: pretty;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: column nowrap;
  font-family: Georgia;
  color: #ffffff;
  letter-spacing: 2px;
  font-size: .8em;
  overflow-y: auto;
  flex: 1 1 auto;
}

.landing_content_info_text_image{
  max-height: 200px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#landing_content_info_button{
  width: auto;
  height: auto;
  border: 2px solid #a1a2a1;
  background-color: #ffffff11;
  padding: 5px;
  margin: 10px;
  cursor: pointer;
  font-family: Georgia;
  color: #ffffff;
  letter-spacing: 3px;
  font-size: .8em;
  font-style: italic;
  flex: 0 0 auto;
}

#landing_content_info_button:hover,
#landing_content_info_button:focus{
  background-color: #ffffff66;
  outline: 1px solid #ffffff;
}

#landing_content_info_button.selected{
  background-color: #ffffff66;
  color: #ffffff;
  outline: 1px solid #ffffff;
}

#landing_content_login{
  background-color: #444643;
  margin: 25px 2.5vw 25px 0;
  width: 20vw;
  outline: 2px solid #a1a2a1;
  outline-offset: -10px;
  padding: 10px;
  box-sizing: border-box;
  visibility: hidden;
}

#inner_form_container_top {
  height: 100%;
  width:100%;
}

#landing_content_login_form{
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: 20%;
}

.landing_content_login_form_data{
  display: flex;
  flex-flow: column nowrap;
  text-align: end;
  gap: 10px;
  font-family: Georgia;
  color: #ffffff;
  letter-spacing: 2px;
  font-size: .8em;
  width: 100%;
  box-sizing: border-box;
  padding: 0 5%;
}

.landing_content_login_data_email,
.landing_content_login_data_password{
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 5px;
}

.landing_content_login_data_input{
  border: none;
  width: 97.5%;
  height: 25px;
  font-size: 1.2em;
  background-color: #a1a2a1;
  color: #ffffff;
}

.landing_content_login_data_input:focus{
  outline: 1px solid #ffffff;
}

.landing_content_login_submit{
  width: 25%;
  height: 10%;
  border: 2px solid #a1a2a1;
  background-color: #ffffff11;
  cursor: pointer;
  font-family: Georgia;
  color: #ffffff;
  letter-spacing: 3px;
  font-size: .8em;
  font-style: italic;
}

#landing_content_login_submit:hover,
#landing_content_login_submit:focus{
  background-color: #ffffff66;
  outline: 1px solid #ffffff;
}

.landing_content_login_submit_text{
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
}

.landing_content_login_submit_text_notification{
  font-family: Georgia;
  font-style: italic;
  letter-spacing: 3px;
  font-size: .8em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  text-wrap: pretty;
}

.landing_content_login_submit_text_verification{
  font-family: Georgia;
  color: #ffffff;
  letter-spacing: 2px;
  font-size: .8em;
  text-align: center;
  text-wrap: pretty;
}

.landing_content_login_submit_text_image{
  max-height: 50px;
  max-width: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-top: 5vh;
}





/* ========================================================================================================================== */
/* LOG IN */
/* ========================================================================================================================== */

.body_container {
  height:100vh;
  /*background: linear-gradient(to top right, #004225 0%, #006699 100%);*/
  position:relative;
  background-color: #efefef;
}

.login_container {
  width: 800px;
  height: 75vh;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  background:white;
  /*padding: 40px;*/
  border-radius:10px;
  border-style:solid;
  border-width:0.5px;
  border-color:#d6d6d6;
  overflow: hidden;
}

.image_container {
  float:left;
  width: 320px;
  overflow: hidden;
}

.cover_image {
  height: 75vh;
  float:right;
  pointer-events: none;
}

.mau_text {
  position:absolute;
  z-index:1;
  top: 20px;
  left: 20px;
  font:Helvetica;
  font-size: 40px;
  font-weight: bold;
  color:white;
  letter-spacing: 3px;

}

.scrumoil_text {
  position:absolute;
  z-index:1;
  top: 70px;
  left: 22px;
  font:Helvetica;
  font-size: 14px;
  color:white;
  letter-spacing: 3px;
}

.form_container {
  float:left;
  width: 478px;
  height:100%;
  padding: 40px;
  position:relative;
}

.inner_form_container {
  width:80%;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  padding: 0 0 23px 0;
}

.signin_text {
  font:"Helvetica";
  color:#004225;
  font-size: 25px;
  font-weight:bold;
  margin: 0 0 30px 0;
}

.signin_text_secondary {
  font:"Helvetica";
  color:#004225;
  font-size: 19px;
  margin: 0 0 30px 0;
}

.signin_text_tertiary {
  font:"Helvetica";
  color:#004225;
  font-size: 16px;
  margin: 0 0 30px 0;
  padding: 15px 0 0 0;
  text-align: center;
}

.signin_spinner {
  margin: 0 0 30px 0;
  text-align: center;
}

.submit_button {
  width:120px;
  background-color: #004225 !important;
  border-color: #004225 !important;
  margin: 17px 0 0 0;
  float:right;
}

.validation_wrong {
  color:red;
}









/* ========================================================================================================================== */
/* Loading page */
/* ========================================================================================================================== */

.loading_page_style{
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: hidden;
  background-color: #c0a236;
  background-image: url('Project Images/background_image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#loading_sign{
  background-color: #444643;
  outline: 2px solid #a1a2a1;
  outline-offset: -10px;
  padding: 30px 170px;
  text-align: center;  
  font: Georgia; 
  letter-spacing: 1.75px;
  font-size: 1.5em;
  color: white;
  font-style: italic;
}


/* ================================================================================== */
/* FONTS */
/* ================================================================================== */

.fonts_general {
  font-family: Helvetica, sans-serif;
}

.fonts_bold {
  font-weight: bold;
}

.fonts_color_white {
  color:white;
}

.fonts_color_gray_dark {
  color:#424242;
}

.fonts_color_red {
  color:#9d0000;
}

.fonts_color_green {
  color:#007500;
}

.fonts_color_gray_light {
  color: #dfdfdf;
}

.fonts_title_h1 {
  font-size: 18px;
}

.fonts_size_h3 {
  font-size: 13px;
}

.fonts_size_p {
  font-size: 12px;
}

.fonts_size_small {
  font-size: 11px;
}

.fonts_align_center {
  text-align:center;
}



/* ================================================================================== */
/* BUTTONS */
/* ================================================================================== */

/* Base button */
.button_base {
  width: 100%;
  min-height: 26px;
  border-radius: 15px;
  border-style: solid;
  border-width: 0.5px;
  font-size: 11px;
  font-family: Helvetica, sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  padding: 3px 5px 0 5px;
}



/* Basic button option - white background, light gray border */
.button_option_basic {
  background-color: #fdfdfd;
  border-color: #dfdfdf;
}

.button_option_basic:hover {
  background-color: #e9e9e9;
}


/* Basic button option - white background, no border */
.button_option_basic_borderless {
  background-color: #fdfdfd;
  border-color: #fdfdfd;
}

.button_option_basic_borderless:hover {
  background-color: #f3f3f3;
  border-color: #f3f3f3;
}


/* Basic button option - Empty space */
.button_option_empty {
  background-color: transparent;
  border-color: transparent;
  cursor: default;
}


/* Basic button option - white background, no border. On hover becomes dark */
.button_option_basic_borderless_main {
  background-color: #fdfdfd;
  border-color: #fdfdfd;
}

.button_option_basic_borderless_main:hover {
  background-color: #253524;
  border-color: #253524;
  color:white;
}


/* Button warning - fully red */
.button_option_warning {
  /* background-color: #9d0000;
  border-color: #9d0000;
  color:white; */

  background-color: #fdfdfd;
  border-color: #fdfdfd;
  color:#9d0000;
}

.button_option_warning:hover {
  background-color: #b10000;
  border-color: #b10000;
  color:white;
}

.button_option_warning_full {
  background-color: #9d0000;
  border-color: #9d0000;
  color:white;
}

.button_option_warning_full:hover {
  background-color: #b10000;
  border-color: #b10000;
  color:white;
}


/* Button with dark background */
.button_option_selected_dark {
  border-color: #253524;
  background-color: #253524;
  color:white;
}

.button_option_selected_dark:hover {
  border-color: #2d402c;
  background-color: #2d402c;
  color:white;
}


/* Button with lighter background */
.button_option_selected_mid {
  border-color: #dfdfdf;
  background-color: #e9e9e9;
  color:black;
  font-weight: bold;
}

.button_option_selected_mid:hover {
  border-color: #e9e9e9;
  background-color: #f3f3f3;
  color:black;
  font-weight: bold;
}


/* Simple text button */
.button_simple_text {
  cursor: pointer;
  user-select: none;
}


/* Button with no action */
.button_no_action {
  cursor:default;
  border-color: #dfdfdf;
  background-color: #fdfdfd;
}


/* Button disabled */
.button_option_disabled {
  background-color: #e9e9e9;
  border-color: #dfdfdf;
  color:white;
}


/* --- PANEL TITLE BUTTON --------------------------------------------------------- */

.panel_title_button {
  height: 26px;
  border-radius: 15px;
  border: 0.5px solid #dfdfdf;
  background-color: #fdfdfd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 0 10px;
  user-select: none;
  white-space: nowrap;
  font-size: 11px;
  font-family: Helvetica, sans-serif;
}



/* ================================================================================== */
/* DROPDOWNS */
/* ================================================================================== */

/* --- SIDENAV DROPDOWNS ------------------------------------------------------------ */
.sidenav_dropdown {
  position: relative;
  width: 100%;
  font-size: 11px;
  font-family: Helvetica, sans-serif;
}

.sidenav_dropdown_button {
  width: 100%;
  height: 26px;
  border-radius: 15px;
  border: 0.5px solid #dfdfdf;
  background-color: #fdfdfd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 0 10px;
  user-select: none;
}

.sidenav_dropdown_button::after {
  content: "▾";
  font-size: 10px;
  margin-left: 6px;
}

.sidenav_dropdown_list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 0.5px solid #dfdfdf;
  border-radius: 15px;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
  margin: 4px 0 0 0;
}

.sidenav_dropdown_list div {
  padding: 5px 10px;
  cursor: pointer;
}

.sidenav_dropdown_list div:hover {
  background-color: #f0f0f0;
}

.sidenav_dropdown_list_open { display: block; }


/* --- PANEL DROPDOWNS -------------------------------------------------------------- */
.panel_dropdown {
  position: relative;
  font-size: 11px;
  font-family: Helvetica, sans-serif;
  display: inline-block;
  vertical-align: middle;
}

.panel_dropdown_button {
  height: 26px;
  border-radius: 15px;
  border: 0.5px solid #dfdfdf;
  background-color: #fdfdfd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 0 10px;
  user-select: none;
  white-space: nowrap;
}

.panel_dropdown_button_fixed_width {
  width: 90px;
}

.panel_dropdown_button::after {
  content: "▾";
  font-size: 10px;
  margin-left: 6px;
}

.panel_dropdown_list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 0.5px solid #dfdfdf;
  border-radius: 15px;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin: 4px 0 0 0;
  min-width: 100%;
  white-space: nowrap;
}

.panel_dropdown_list div {
  padding: 5px 10px;
  cursor: pointer;
}

.panel_dropdown_list div:hover {
  background-color: #f0f0f0;
}

.panel_dropdown_list_open { display: block; }


/* ================================================================================== */
/* LAYOUT ELEMENTS */
/* ================================================================================== */

/* Vertical spacing */
.sep_space_1x {height:5px;}
.sep_space_2x {height:10px;}
.sep_space_3x {height:15px;}
.sep_space_4x {height:20px;}
.sep_space_5x {height:25px;}
.sep_space_6x {height:30px;}
.sep_space_7x {height:35px;}
.sep_space_8x {height:40px;}
.sep_space_9x {height:45px;}
.sep_space_10x {height:50px;}

.sep_line_v_light {
  height:0.5px;
  background-color: #dfdfdf;
}


/* Horizontal spacing */
.sep_line_h_light {
  height: 100%;
  width: 0.5px;
  background-color: #cbcbcb;
}

.sep_space_h_1x {
  width:5px;
  height:100%;
}

.sep_space_h_2x {
  width:10px;
  height:100%;
}

.sep_space_h_3x {
  width:15px;
  height:100%;
}



/* ================================================================================== */
/* INPUT ELEMENTS */
/* ================================================================================== */

.panel_input {
  height: 26px;
  width: 60px;
  border-radius: 15px;
  border: 0.5px solid #dfdfdf;
  background-color: #fdfdfd;
  padding: 3px 10px;
  font-size: 13px;
  color: #424242;
  outline: none;
  user-select: text;
  white-space: nowrap;
  box-sizing: border-box;
  text-align:center;
}

.panel_input:focus {
  border-color: #999;
  background-color: #fff;
}

.panel_input_text {
  width:150px;
  text-align:left;
}



/* ================================================================================== */
/* TABLE  ELEMENTS */
/* ================================================================================== */
.table_wrapper {
  display: block;
  height: 100%;
  width: 100%;
}

.table_line {
  background-color:#fdfdfd;
}

.table_line_colored {
  background-color:#f2f2f2;
}

.table_line:hover {
  background-color: #f4efd9;
  cursor: default;
}

.table_line_colored:hover {
  background-color: #f4efd9;
  cursor: default;
}

.table_value_title {
  font-size:12px;
  font-weight: bold;
  padding:3px;
  font-style: "Helvetica";
  border-style: none solid none solid;
  border-color:#f2f2f2;
  border-width:0.5px;
  color: #424242;
}

.table_value_text {
  font-size:13px;
  padding:3px 5px 3px 0;
  text-align: left;
  font-style: "Helvetica";
  border-style: none solid none none;
  border-color:#f2f2f2;
  border-width:0.5px;
  color: #424242;
}

.table_value_numeric {
  font-size:13px;
  padding:3px 5px 3px 0;
  text-align: right;
  font-style: "Helvetica";
  border-style: none solid none none;
  border-color:#f2f2f2;
  border-width:0.5px;
  color: #424242;
}

.table_value_center {
  font-size:13px;
  padding:3px 5px 3px 0;
  text-align: center;
  font-style: "Helvetica";
  border-style: none solid none none;
  border-color:#f2f2f2;
  border-width:0.5px;
  color: #424242;
}

/* Table header */
.table_header {
  padding: 0 0 0 0 ;
  background-color: #dfdfdf;
  border-style: none none solid none;
  border-width: 0.5px;
  border-color:#ddd;
  position: sticky;
  top: 0;
  font-size: 12px;
}



/* ================================================================================== */
/* CELLS */
/* ================================================================================== */

.cell_outer {
  flex: 1;
  display: flex;
  flex-direction: column; 
  background-color: #e9e9e9;
  padding: 5px;
  height:100%;
}

.cell_inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: #fdfdfd;
  padding: 15px;
  overflow: hidden;
  min-height: 0;
  height:100%;
}

.cell_inner_no_top_padding {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: #fdfdfd;
  padding: 0 15px;
  overflow: hidden;
  min-height: 0;
  height:100%;
  justify-content: center;
}

.cell_inner_container_full {
  overflow: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* These two are important: the separate the inner contents of the cell in order to have a fixed title and scrollable body */
.cell_inner_container_title {
  flex-shrink: 0;
  min-height: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 10px 0;
}

.cell_inner_container_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;   
  overflow-y: auto;
}


.cell_inner_buttons {
  display: flex;
  flex-direction: row;
  height: 31px;
  padding: 5px 0 0 0;
  /* justify-content: center;  */
  /* align-items: center; */
  gap: 5px;
}

.cell_content_container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cell_img_container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cell_img_zoom_wrapper {
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  position: relative;
}

.cell_img_zoom_wrapper img {
  /* height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  pointer-events: none;

  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  pointer-events: none; */

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* initial centering */
  
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;

  user-select: none;
  pointer-events: none;

}



/* ================================================================================== */
/* FULL DOCUMENT */
/* ================================================================================== */

html, body {
  margin: 0;
  height: 100%;
  font-family: sans-serif;
}

#pageWrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Navbar */
#navbar_main {
  height: 60px;
  background-color: #253524;
  /* background-color: #ffffff; */
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 18px;
  justify-content: space-between;
}

.navbar_left, .navbar_right {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar_space_10 { width: 10px; }
.navbar_space_20 { width: 20px; }
.navbar_space_30 { width: 30px; }
.navbar_space_40 { width: 40px; }
.navbar_space_50 { width: 50px; }

.navbar_vertical_line {
  height: 30px;
  width: 0.5px;
  background-color: #cbcbcb;
}

.navbar_logo {
  height: 50px;
}

.navbar_btn {
  cursor: pointer;
}

.navbar_btn:hover {
  color: #cbcbcb;
}

.navbar_dropdown_container {
  position: relative;
  display: inline-block; 
}


.navbar_dropdown {
  position: relative;
  cursor: pointer;
}

.navbar_dropdown::after {
  content: "▾"; 
  font-size: 12px;
  margin-left: 6px;
  position: relative;
  top: -1px;
}

/* Apply your existing dropdown styling to the list only */
.navbar_dropdown_list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #ffffff;
  border: 0.5px solid #dfdfdf;
  border-radius: 15px;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  padding: 4px 0;
  min-width: 100%;
  white-space: nowrap;
  right: 0;
  left: auto; 
}

/* items inside */
.navbar_dropdown_item {
  padding: 6px 12px;
  cursor: pointer;
}
.navbar_dropdown_item:hover {
  background-color: #f3f3f3;
}

/* Full content */
#content_main {
  flex: 1;
  display: flex;
  height: calc(100% - 60px);
  min-height: 0;
}

/* Main object */
#sidebar_main {
  width: 190px;
  background-color: #fdfdfd;
  padding: 23px 0;
  height: 100%;
  overflow: auto;
}

/* Sidebar */
#sidebar_filters {
  background-color: #e9e9e9;
  padding: 5px 0 5px 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Dashboard section -------------------------------------------------------------- */
#dashboard_section {
  background-color: #e9e9e9;
  height: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 5px 5px 5px 0;
}

/* Dashboard section title */
#dashboard_section_title {
  background-color: #e9e9e9;
  display: flex;
  align-items: center;
}

.dashboard_section_title_open {
  height: 60px;
}

.dashboard_section_title_closed {
  height: 0;
}

/* Dashboard section content */
#dashboard_section_content {
  background-color: #e9e9e9;
  min-height: 0;
  display: flex;
}

.dashboard_section_content_with_title {
  height: calc(100% - 60px);
}

.dashboard_section_content_without_title {
  height: 100%;
}

/* Sidebar auxiliary */
#sidebar_auxiliary {
  background-color: #e9e9e9;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Dashboard */
#dashboard {
  flex: 1;
  background-color: #e9e9e9;
  overflow: auto;
}


/* ---------------------------------------------------------------------------------- */
/* MAIN SIDEBAR */
/* ---------------------------------------------------------------------------------- */

/* buttons */
.sidebar_main_buttons_container {
  display: block;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sidebar_main_buttons {
  display: block;
  position: relative;
  padding: 6px 15px;
  cursor: pointer;
}

.sidebar_main_buttons_container:hover {
  background-color: #f3f3f3;
  cursor: pointer;
}

.sidebar_main_buttons_container input {
  position: absolute;
  opacity: 0;
}


.sidebar_main_buttons_container input:checked ~ .sidebar_main_buttons {
  background-color: #dfdfdf;
  border-style: none none none solid;
  border-color:#253524;
  border-width: 5px;
  font-weight: bold;
  background-color: #e9e9e9;
}

.sidebar_main_divider {
  height: 0.5px;
  width: 145px;
  margin: 12px 0 12px 15px;
  background-color: #dfdfdf;
}



/* ---------------------------------------------------------------------------------- */
/* FILTERS SIDEBAR */
/* ---------------------------------------------------------------------------------- */

.sidebar_filters_open {
  width: 230px;
}

.sidebar_filters_closed {
  width: 0px;
}

#sidebar_filters_header {
  flex-shrink: 0;
  min-height: 0;
}

#sidebar_auxiliary_header {
  flex-shrink: 0;
  min-height: 0;
}

#sidebar_filters_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;   
}

#sidebar_auxiliary_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;   
}

#sidebar_filters_content_filters {
  flex: 1;
  overflow-y: auto;
  padding: 0 7px 0 0;
  min-height: 0;  
}

.sidebar_filters_input {
  box-sizing: border-box;
  width: 100%;
  border-style: solid solid solid solid;
  /* border-radius: 5px 5px 0 0; */
  border-radius: 15px;
  border-width:1px;
  padding: 0 10px;
  border-color:#dfdfdf;
  height:24px;
}

.sidebar_filters_input:focus {
  outline: none;
  border-color: #bcd4f0;
}

.sidenav_filters_listbox{
  box-sizing: border-box;
  display: block;
  font-weight: 700;
  line-height: 1.3;
  padding: 3px 4px;
  height:100px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px 0;
  border-style: solid solid solid solid;
  border-radius: 0;
  border-width:1px;
  border-color:#dfdfdf;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
}

.sidenav_filters_listbox:focus {
  outline: none;
  border-color: #bcd4f0;
}

/* Plot selectors section */
.sidenav_filters_section_top {
  display: flex;
  flex-direction: column;
}

.sidenav_filters_section_middle {
  flex: 1;
  overflow-y: auto;
}

.sidenav_filters_section_bottom {
  height: 26px;
  display: flex;
  gap: 6px;
}


.sidenav_filters_selector_row {
  display: flex;
  align-items: center;
}

.sidenav_filters_selector_label {
  flex: 1;
}

.sidenav_filters_selector_close {
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-left: 3px;
  text-align: center;
  line-height: 26px;
  padding: 0;
}

.sidenav_filters_selector_status {
  border-style: none none none solid;
  border-width: 0.5px;
  border-color: #dfdfdf;
  font-size: 11px;
  font-family: Helvetica, sans-serif;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  cursor: pointer;
  user-select: none;
  padding: 0 0 0 15px;
}

.sidenav_filters_selector_status_selected {

}

.sidenav_filters_selector_status_unselected {
  color: #dfdfdf;
}


/* ---------------------------------------------------------------------------------- */
/* AUXILIARY SIDEBAR */
/* ---------------------------------------------------------------------------------- */

.sidebar_auxiliary_0 {
  width: 0px;
}

.sidebar_auxiliary_230 {
  width: 230px;
}

.sidebar_auxiliary_310 {
  width: 310px;
}

.sidebar_auxiliary_340 {
  width: 340px;
}

.sidebar_auxiliary_360 {
  width: 360px;
}



/* ================================================================================== */
/* DASHBOARD GRID LAYOUT */
/* ================================================================================== */

#map_panel_main {
  height:100%;
  width:100%;
  border-radius: 15px;
}


/* ================================================================================== */
/* DASHBOARD GRID LAYOUT */
/* ================================================================================== */
#dashboard_grid {
  display: grid;
  height: 100%;
  width: 100%;
}

/* Basic Dashboard layout */
.dashboard_grid_basic {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.dashboard_cell {
  overflow: hidden;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}

/* Basic grid layouts */

/* Grid row start (1 to 4) */
.grid_r1 { grid-row-start: 1; }
.grid_r2 { grid-row-start: 2; }
.grid_r3 { grid-row-start: 3; }
.grid_r4 { grid-row-start: 4; }

/* Grid column start (1 to 4) */
.grid_c1 { grid-column-start: 1; }
.grid_c2 { grid-column-start: 2; }
.grid_c3 { grid-column-start: 3; }
.grid_c4 { grid-column-start: 4; }
.grid_c5 { grid-column-start: 5; }
.grid_c6 { grid-column-start: 6; }


/* Row spans */
.grid_rspan_1 { grid-row-end: span 1; }
.grid_rspan_2 { grid-row-end: span 2; }
.grid_rspan_3 { grid-row-end: span 3; }
.grid_rspan_4 { grid-row-end: span 4; }

/* Column spans */
.grid_cspan_1 { grid-column-end: span 1; }
.grid_cspan_2 { grid-column-end: span 2; }
.grid_cspan_3 { grid-column-end: span 3; }
.grid_cspan_4 { grid-column-end: span 4; }
.grid_cspan_5 { grid-column-end: span 5; }
.grid_cspan_6 { grid-column-end: span 6; }




/* ================================================================================== */
/* NOTES AND ERROR REPORTS */
/* ================================================================================== */

.thread_container {
  margin: 0 0 30px 0;
  padding: 0 5px;
}

/* .notes_container { } */

.notes_container_reply {
  padding: 0 0 0 20px;
  margin: 16px 0 0 0;
  border-style: none none none solid;
  border-width: 0.5px;
  border-color: #dfdfdf;
}

.notes_user_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 3px 0;
  padding: 0 6px;
}

.notes_body_outer {
  padding: 2px 2px 2px 0;
}

.notes_body_inner {
  border-radius: 7px;
  padding:10px;
  background-color: #f3f3f3;
}

.notes_body_inner_user {
  background-color: #ecf3fb;
}

.notes_title {
  margin: 0 0 2px 0;
}

.notes_text {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.notes_button_row {
  margin: 15px 0 0 0;
  display: flex;
  gap: 15px;
  flex-direction: row;
  justify-content: flex-end;
}

.notes_writearea {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  min-height: 0; 
}


.notes_writearea_textarea {
  flex: 1;
  resize: none;
  width: 100%;
  height: 100%;
  border-style: none;
  background-color: #fdfdfd;
}

.notes_writearea_textarea:focus {
  outline: none;
  box-shadow: none;
}

.notes_solved_banner {
  margin: 0 0 0 5px;
}



/* ////////////////////////////////////////////////////////////////////////////////// */
/* FUNCTION PACKAGES */
/* ////////////////////////////////////////////////////////////////////////////////// */

/* ================================================================================== */
/* TIME SERIES BASIC STYLES */
/* ================================================================================== */

.timeSeriesPlotBasic_table {
  border-collapse: separate;
  border-spacing: 0;
}

.timeSeriesPlotBasic_table_0 {
  height:calc(100% - 10px);
  width:100%;
  margin: 0 0 10px 0;
  overflow: auto;
}

.timeSeriesPlotBasic_table_1 {
  height:calc(100% - 40px);
  width:100%;
  margin: 0 0 10px 0;
  overflow: auto;
}

.timeSeriesPlotBasic_table_2 {
  height:calc(100% - 110px);
  width:100%;
  margin: 0 0 10px 0;
  overflow: auto;
}



/* ================================================================================== */
/* VOLUME PLOT */
/* ================================================================================== */

.volume_data_plot_main {
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 15px;
  background: #f3f3f3;
  /* border: 1px solid #e9e9e9; */
}

.volume_data_plot_row {
  display: grid;
  grid-template-columns: 140px 50px 50px 1fr;
  align-items: center;
  gap: 15px;
}

.volume_data_plot_col1,
.volume_data_plot_col2,
.volume_data_plot_col3 {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.volume_data_plot_col2 {
  text-align: right;
}

.volume_data_plot_col4 {
  /* height: 16px;
  display: flex;
  align-items: center; */
  width: 100%; 
  min-width: 0;
}

.volume_data_plot_bar_svg {
  display: block;
}

.volume_data_plot_bar_bg {
  fill: #d9d9d9;
}

.volume_data_plot_bar_fg {
  fill: #d13b3b;
}

.volume_data_plot_bar_fg_oil {
  fill: #007500;
}



/* ================================================================================== */
/* TABLE FUNCTION */
/* ================================================================================== */

.function_table_global {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  /* height: 100%; */
  height: auto;
  table-layout: auto;
  /* table-layout: fixed; */
}

.function_table_header_row {
  position: sticky;
  top: 0px;
  border-style: none none none none;
  border-color:#f2f2f2;
  border-width:0.5px;
  background-color: #dfdfdf;
  color:#424242;
  font-size: 12px;
  z-index: 4;
  cursor: pointer;
}

.function_table_header_cell {
  font-size: 12px;
  position: sticky;
  top: 0px;
  padding: 5px;
  border-style: none solid none none;
  /* border-color:#f2f2f2; */
  border-color:#cbcbcb;
  border-width:0.5px;
  background-color: #dfdfdf;
  white-space: pre-line;
  text-align: center;
}

.function_table_header_row_group {
  position: sticky;
  top: 0;
  height: 28px;
  background-color: #cfcfcf;
  z-index: 5;
}

.function_table_header_row_labels {
  position: sticky;
  top: 28px;
  z-index: 4;
}

.function_table_header_label {
  font-weight: bold;
}

.function_table_header_unit {
  font-size: 11px;
  font-weight: normal;
}

.function_table_header_group {
  background-color: #cbcbcb;
}

.function_table_header_group_teal {
  background-color: #009c9d;
  color: white;
}

.function_table_header_group_blue {
  background-color: #004e9d;
  color: white;
}

.function_table_header_group_red {
  background-color: #c40000;
  color: white;
}

.function_table_header_group_red_light {
  background-color: #9d0000;
  color: white;
}

.function_table_header_group_red_dark {
  background-color: #760000;
  color: white;
}

.function_table_header_group_green {
  background-color: #007500;
  color: white;
}

.function_table_row_white {
  background-color: #fdfdfd;
}

.function_table_row_gray {
  background-color: #f2f2f2;
}

/* Sticky index columns */
.function_table_col_header_sticky {
  position: sticky;
  background: #dfdfdf;
  z-index: 3;
  text-align: left;
}

.function_table_col_sticky_border_right {
  border-right: 0.5px solid #cbcbcb;
}

.function_table_col_sticky_border_right_white {
  border-right: 0.5px solid #ffffff;
}

.function_table_col_sticky {
  position: sticky;
  z-index: 2;
  font-weight: bold;
}

.function_table_left_index_0 {
  left: 0;
}

.function_table_left_index_1 {
  left: 40px;
}

.function_table_left_index_2 {
  left: 80px;
}

.function_table_left_index_3 {
  left: 120px;
}

.function_table_left_index_4 {
  left: 160px;
}

.function_table_left_index_5 {
  left: 200px;
}

.function_table_left_index_6 {
  left: 240px;
}

.function_table_left_index_7 {
  left: 280px;
}

.function_table_left_index_8 {
  left: 320px;
}

.function_table_left_index_9 {
  left: 360px;
}

.function_table_left_index_10 {
  left: 400px;
}

.function_table_left_index_11 {
  left: 440px;
}

.function_table_left_index_12 {
  left: 480px;
}

.function_table_left_index_13 {
  left: 520px;
}

.function_table_left_index_14 {
  left: 560px;
}


/* Normal rows */
.function_table_value {
  font-size:11px;
  padding:3px 5px;
  font-style: "Helvetica";
  border-style: none solid none none;
  /* border-color:#f2f2f2; */
  border-color:#cbcbcb;
  border-width:0.5px;
  color: #424242;
}

.function_table_value_text {
  text-align: left;
}

.function_table_value_number {
  text-align: right;
}

.function_table_value_center {
  text-align: center;
}


/* Min width */
.function_table_minwidth_index_0 {
  min-width: 0;
}

.function_table_minwidth_index_1 {
  min-width: 40px;
}

.function_table_minwidth_index_2 {
  min-width: 80px;
}

.function_table_minwidth_index_3 {
  min-width: 120px;
}

.function_table_minwidth_index_4 {
  min-width: 160px;
}

.function_table_minwidth_index_5 {
  min-width: 200px;
}

.function_table_minwidth_index_6 {
  min-width: 240px;
}

.function_table_minwidth_index_7 {
  min-width: 280px;
}

.function_table_minwidth_index_8 {
  min-width: 320px;
}

.function_table_minwidth_index_9 {
  min-width: 360px;
}

.function_table_minwidth_index_10 {
  min-width: 400px;
}


/* Row colors according to fluid */
.function_table_row_gas {
  background-color: #E6B8B7;
  border-top: 3px solid #ffffff;
}

.function_table_row_oil {
  background-color: #C4d79B;
  border-top: 3px solid #ffffff;
}


/* Highlighted colors */
.function_table_row_highlighted {
  background-color: #f8f5e8;
}

.function_table_row_highlighted_darker {
  background-color: #f4efd9;
}

/* At the end to guarantee color on hover */
/* .function_table_line > td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.function_table_line > td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
} */

.function_table_line:hover > 
.function_table_col_sticky,
.function_table_line:hover > 
.function_table_row_white,
.function_table_line:hover > 
.function_table_row_gray,
.function_table_line:hover > 
.function_table_row_gas,
.function_table_line:hover > 
.function_table_row_oil {
  background-color: #f0e9ca;
  cursor: default;
}


/* On headers, sorting caret */
.table_sort_caret {
  margin-left: 5px;
  font-size: 7px;
}

.function_table_no_select {
  user-select: none;
}


/* ================================================================================== */
/* GLOBAL AUX STYLES */
/* ================================================================================== */

.hide_element {
  display: none !important;
}









/* ================================================================================== */
/* REVIEW THESE - THEY ARE FOR THE OPTIMIZER */
/* ================================================================================== */


/* Base table inherits width:100% from function_table_global */
.editable_table { 
  width: 100%; 
  border-spacing: 0; 
  border-collapse: separate; 
}

/* Non-sticky header, harmonized styling */
.editable_table_header_row {  
  color: #424242; 
}

.editable_table_header_cell {
  font-size: 12px;
  padding: 5px;
  text-align: center;
  background-color: #dfdfdf;
  /* border-bottom: 0.5px solid #aeaeae; */
}
.editable_table_header_cell_delete { width: 36px; }

.editable_table_row_white { background-color: #fdfdfd; }
.editable_table_row_gray  { background-color: #f2f2f2; }

/* Cells & inputs */
.editable_table_value { 
  padding: 4px 6px; 
}

.editable_table_input {
  width: 100%;
  height: 24px;
  border: 0.5px solid #dfdfdf;
  border-radius: 15px;
  padding: 0 8px;
  font-size: 12px;
  background: #fff;
  color: #424242;
  text-align: center;
}
.editable_table_input:focus { outline: none; border-color: #bcd4f0; }

/* Delete column */
.editable_table_delete_cell { padding: 4px; text-align: center; }
.editable_table_delete_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* inherits sizes from .sidenav_filters_selector_close (26x26 circle) */
}

/* Remove number arrows on Chrome, Safari, Edge */
.editable_table_input::-webkit-outer-spin-button,
.editable_table_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Remove number arrows on Firefox */
.editable_table_input[type=number],
.editable_table_input {
  -moz-appearance: textfield;
}

/* Red border for invalid input */
.editable_table_input_invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 2px rgba(255,107,107,0.15);
}

/* Keep placeholders subtle */
.editable_table_input::placeholder {
  color: #9a9a9a;
}





/* .labeled_input_row {
  width: 100%;
  height: 26px;
  display: flex;
  align-items: center;
}

.labeled_input_label {
  align-items: center;
  font-size: 12px;
  color: #424242;
  width: 130px;
} */


.labeled_input_row_table {
  display: table;
  width: 100%;
  height: 26px;
  border-spacing: 0;
}

.labeled_input_cell_text {
  display: table-cell;
  vertical-align: middle;
  width: 60%;
}

.labeled_input_cell {
  display: table-cell;
  vertical-align: middle;
  padding: 0 4px;
  width: 40%;
}

.labeled_input_label {
  font-size: 12px;
  color: #424242;
  white-space: nowrap;
}



/* ================================================================================== */
/* MODAL - LOADING SCREEN */
/* ================================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
}

/* Modal box */
.modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 60px 120px;
  border-radius: 15px;
  z-index: 9999;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  text-align: center;
}


