a {
  color: black;
  text-decoration: none;
}

input {
  width: 95%;
  height: 1.75em;
  border-radius: 3px;
  border-width: 1px;
  margin: 2px 0px 0px 2px;
  padding: 0px;
  box-sizing: border-box;  
  font-size: calc(0.4em + 7px);
}

select {
  width: 95%;
  background-color: white;
  border-radius: 3px;
  height: 1.75em;
  border-width: 1px;
  margin: 2px 0px 0px 2px;
  padding: 0px;
  box-sizing: border-box;  
  font-size: calc(0.4em + 7px);
}

.outline_for_move {
  border-top: 2px solid blue;
}

.border_r_5 {
  border-radius: 5px;
}

.c_pointer {
  cursor: pointer;
}

.c_text {
  cursor: text;
}

.color_aqua {
  background-color: aqua;
}

.color_coral {
  background-color: coral;
}

.d_flex {
  display: flex;
}

.d_flex_wrap {
  display: flex;
  flex-wrap: wrap;
}

.d_inline_flex {
  display: inline-flex;
}

.d_none {
  display: none;
}

.f_no_wrap {
  flex-wrap: nowrap;
}

.f_wrap {
  flex-wrap: wrap;
}

.float_right {
  float: right;
}

.fog_blue {
  background-color: rgba(200,200,255,1)
}

.fog_gold {
  background-color: rgba(255,215,100,1)
}

.fog_green {
  background-color: rgba(200,255,200,1)
}

.fog_hard_gold {
  background-color: rgba(255,215,100,0.6)
}

.fog_hard_red {
  background-color: rgba(255,200,200,0.6)
}

.fog_hard_white {
  background-color: rgba(255,255,255,0.6)
}

.fog_soft_gold {
  background-color: rgba(255,215,100,0.3)
}

.fog_soft_gray {
  background-color: rgba(200,200,200,0.3)
}

.fog_soft_green {
  background-color: rgba(200,255,200,0.3)
}

.fog_soft_white {
  background-color: rgba(255,255,255,0.3)
}

.fog_red {
  background-color: rgba(255,100,100,1)
}

.font_s_90_pr {
  font-size: 90%;
}

.h_1_em {
  height: 1em;
}

.h_10_px {
  height: 10px;
}

.h_100_pr {
  height: 100%;
}

.justify_c_center {
  justify-content: center;
}

.nowrap {
  white-space: nowrap;
}

.opacity_0 {
  opacity: 0;
}

.overflow_h {
  overflow: hidden;
}

.overflow_h_y {
  overflow-y: hidden;
}

.overflow_h_x {
  overflow-x: hidden;
}

.overflow_s_y {
  overflow-y: scroll;
}

.p_absolute {
  position: absolute;
}

.p_fixed {
  position: fixed;
}

.p_relative {
  position: relative;
}

.padding_5 {
  padding: 5px;
}

.padding_t_1_em {
  padding-top: 1em;
}

.padding_l_10 {
  padding-left: 10px;
}

.padding_l_5 {
  padding-left: 5px;
}

.padding_lr_2 {
  padding-left: 2px;
  padding-right: 2px;
}

.padding_lr_10 {
  padding-left: 10px;
  padding-right: 10px;
}

.padding_tb_1_em {
  padding-top: 1em;
  padding-bottom: 1em;
}

.padding_tb_10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.pointer_e_none {
  pointer-events: none;
}

.separate_5 {
  margin-bottom: 5px;
}

.separate_10 {
  margin-bottom: 10px;
}

.separate_visual {
  padding-top: 5px; 
  background-color: rgba(220,150,220,0.3)
}

.t_align_l {
  text-align: left;
}

.t_align_c {
  text-align: center;
}

.us_none {
  user-select: none;
}

.w_1_5_em {
  width: 1.5em;
}

.w_100_pr {
  width: 100%;
}

.w_25_pr {
  width: 25%;
}

.w_40_pr {
  width: 40%;
}

.w_50_pr {
  width: 50%;
}

.z_index_1 {
  z-index: 1;
}

.z_index_3 {
  z-index: 3;
}

html {
  width: 100%;
  height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    margin: 0;
    text-align: center;
    background-color: #eee;
    width: 100%;
    height: 100%;
}

.body_frame {
  display: flex;
  flex-flow:column;
  height: 100%;  
}

.shadow_element {
  position: absolute;
  z-index: 10;
  opacity: 0.5;
}

#top_menu_frame {
  flex: 0 1 auto;
}

#main_frame {
  overflow: hidden;
  flex: 1 1 auto;
}

#public_project_header {
  font-size: 1.3em;
  font-style: normal;
}

#company_box {
  margin-bottom: 5px;
  display: inline-flex;
  background-color: white;
  padding:  5px;
  border-radius: 0px 0px 10px 10px;
}

#public_header_separator {
  width: 100%;
  background-color: gold;
  height: 4px;
  margin-left: -5px;
  padding: 0px 5px;
  border-radius: 2px;
}

#agree_dialog_box {
  position: absolute;
  display: flex;
  top: -2em;
  left: -1.5em;
  padding: 1em;
  background-color: #FFC9C9;
  border-radius: 5px;
}

#login_frame, #password_frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  min-width: 15em;
  width: fit-content;  
  height: fit-content;
  border: solid 2px black;
  background-color: #c9c9c9;
  padding: 1em;
  z-index:15;
}

.login_box, .password_box {
  padding: 1em;
  background-color: #eee;
}

#messages_box {
  width: 20em;
  white-space: normal;
  top: -10px;
  z-index: 10;  
}

.message_item {
  display: none;
  padding: 10px 10px;
  border-radius: 5px;
  line-height: 1em;
  cursor: pointer;
}

.link_box {
  display: flex;
  line-height: 32px;
  justify-content: center;
}

.link_box img {
  margin-right: 10px;
}

#top_menu {
  background-color: #c9c9c9;
  display: flex;
  justify-content: space-between;
  padding: 0.2em 1em;
  border: solid 0px black;
  border-bottom-width: 2px;
}

#company_logo {
  cursor: pointer;
  margin-right: 10px;
  width: 40px;
  height: 40px;
  background-color: gold;
  border-radius: 5px;
  position: relative; 
}

#company_logo:hover {
  background-color: blue;
  color: white;
}

#company_logo:active {
  background-color: green;
  color: white;
}

#company_logo img {
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.qam_item {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
}

.qam_item:hover {
  background-color: blue;
  color: white;
}

.qam_item:active {
  background-color: green;
  color: white;
}

.qam_timer {
  width: 100%;
  height: 0%;
  background: gold;
  position: absolute;
  color: black;
  overflow: hidden;
  border-radius: 5px;
}

.qam_timer_off {
  width: 100%;
  height: 0%;
  background: rgba(255,215,100,0.6);
  position: absolute;
  color: black;
  overflow: hidden;
  border-radius: 5px;
}

#user_box {
  height: 40px;
  line-height: 40px;
  margin-right: 10px;
  border-radius: 5px 5px 0px 0px;
  background-color: gold;
  cursor: pointer;
  padding: 0px 5px;
  min-width: 100px;
}

#user_box:hover {
  background-color: blue;
  color: white;
}

#user_box:active {
  background-color: green;
  color: white;
}

#user_menu_frame {
  position: absolute;
  width: 100%;
  left: 0;
  display: none;
}

#user_menu_frame ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  line-height: 20px;
}

#main {
  /*height: calc(100vh - (42px + 0.4em)); */
}

#sidebar_menu {
  background-color: #eee;
  border: solid 0px black;
  border-right-width: 1px;
  list-style-type: none;
  margin: 0px;
  padding: 1em;
}

#sidebar_administration_menu > li {
  cursor: pointer;
  padding: 0.5em 1em;
  text-align: left;
}

.main_button {
  user-select: none;
  background-image: linear-gradient(#ffffff, #b7b7b7);
  cursor: pointer;
  padding: 0.8em 1em;
  text-align: left;
  white-space: nowrap;
  border: solid 0px black;
  border-bottom-width: 1px;
  color: black;
}

.main_button_selected {
  user-select: none;
  background-image: linear-gradient(#ffffff, gold);
  cursor: pointer;
  padding: 0.5em 1em;
  text-align: left;
  white-space: nowrap;
  border: solid 0px black;
  border-bottom-width: 1px;
  color: black;
}

.standalone_button {
  user-select: none;
  background-image: linear-gradient(#ffffff, #b7b7b7);
  cursor: pointer;
  padding: 0.5em 1em;
  text-align: left;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
  margin-right: 10px;
  margin-bottom: 5px;
}

.standalone_button_selected {
  user-select: none;
  background-image: linear-gradient(#ffffff, gold);
  cursor: pointer;
  padding: 0.5em 1em;
  text-align: left;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
  margin-right: 10px;
  margin-bottom: 5px;
}

.standalone_button_disabled {
  user-select: none;
  background-image: linear-gradient(#eedddd, #ddcccc);
  cursor: auto;
  padding: 0.5em 1em;
  text-align: left;
  white-space: nowrap;
  border-radius: 5px;
  color: #ffeeee;
  margin-right: 10px;
  margin-bottom: 5px;
}

.box_button {
  user-select: none;
  background-image: linear-gradient(#ffffff, #b7b7b7);
  cursor: pointer;
  padding: 0.1em 0.2em;
  text-align: center;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
  margin: 5px 10px;
}

.box_button_selected {
  user-select: none;
  background-image: linear-gradient(#ffffff, gold);
  cursor: pointer;
  padding: 0.1em 0.2em;
  text-align: center;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
  margin: 5px 10px;
}

.box_button2 {
  user-select: none;
  background-image: linear-gradient(#ffffff, #b7b7b7);
  cursor: pointer;
  padding: 0.15em 0.5em;
  text-align: center;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
  margin: 0px 10px;
}

.cell_button {
  user-select: none;
  background-image: linear-gradient(#ffffff, #b7b7b7);
  cursor: pointer;
  padding: 0.25em 0.5em;
  text-align: left;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
  position: absolute;
  top: 10px;
  left: -5px;
  display: none;
  z-index: 1;
}

.cell_button2 {
  user-select: none;
  background-image: linear-gradient(#ffffff, #b7b7b7);
  cursor: pointer;
  padding: 0.1em;
  white-space: nowrap;
  border-radius: 5px;
  color: black;
}

.main_button:hover, .standalone_button:hover, .box_button:hover, box_button2:hover, .cell_button:hover, .cell_button2:hover {
  color: white;
  background-image: linear-gradient(#ffffff, blue);
}

.main_button:active, .standalone_button:active, .box_button:active, box_button2:active, .cell_button:active, .cell_button2:active {
  color: white;
  background-image: linear-gradient(#ffffff, green);
}

[showSwitch="0"] .color_aqua, [showSwitch="0"] .color_coral {
  display:none;
}

[showSwitch="2"] .color_coral {
  display:none;
}

.color_switch_box {
  display: flex;
  flex-wrap: wrap;
  width: 1em;
}

.color_switch {
  width: 1em;
  height: 45%;
  margin-left: 5px;
  border: solid 1px;
  margin-top: auto;
  margin-bottom: auto;
}

.info_switch {
  width: auto;
  height: auto;
  margin: 2px 0px 0px 5px;
}

#main_content {
  padding: 1em 0em 0em 1em;
  width: 100%;
  overflow: hidden;
  display: flex;
  text-align: left;
}

.main_content_box {
  display: flex;
  flex-flow: column;
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  overflow-x: auto;
  padding-left: 2px;
}

.main_content_sub_box {
  overflow: hidden;
  display: flex;
  flex-flow: column;
  min-height: 15em;
  padding: 3px 0px 5px 2px;
  margin: -3px 0px 0px -2px;
}

.content_form_box {
  overflow-y: scroll;
  min-height: 7em;
  width: 100%;
}

#main_content .table_row:active {
  background-color: greenyellow;
}

.main_content_table_frame {
  overflow-y: scroll;
  overflow-x: auto;
  width: 100%;
  min-height: 7em;
  padding-bottom: 5px;
}

#main_content table {
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
}

#main_content table .row_basic_color {
  background-color: #eee;
}

#main_content table .row_basic_color:hover {
  background-color: #c9c9c9;
  color: black;
}

#main_content table thead {
  position: sticky;
  top: 0px;
  background-color: #eee;
  z-index: 2;
}

#main_content th {
  position: relative;
  border: solid 0px black;
  border-width: 0px 1px 2px 0px;
  padding: 0.2em 0.5em;
}

#main_content .cell_sticky_th {
  position: sticky;
  top: 0;
  left: -10px;
  background-color: #eee;
  z-index: 1;
}

#main_content .cell_sticky_td {
  position: sticky;
  left: -10px;
  background-color: inherit;
  z-index: 1;
}

#main_content .cell_inner_th {
  border: solid 0px black;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  border-width: 0px 1px 2px 0px;
}

#main_content .cell_inner_td {
  border: solid 0px black;
  border-width: 0px 1px 1px 0px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}

#main_content .cell_inner_cell {
  height: 100%;
}

#main_content .cell_inner_cell div {
  padding: 0.2em 0.5em;
}

#main_content td {
  /*position: relative;*/
  border: solid 0px black;
  padding: 0.2em 0.5em;
  border-width: 0px 1px 1px 0px;
  text-align: left;
  font-style: normal;
}

.cell_label {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 1;
  padding-top: 0.2em;
}

.cell_label input {
  height: 75%;
}

.cell_input_frame {
  position: absolute;
  z-index: 1;
  width: 100%;
  top: 0;
  left: 0;
}

.project_list_frame {
  cursor: pointer;
}

.cell_project_list {
  position: absolute;
  background-color: #c9c9c9;
  padding: 5px;
  max-height: 8em;
  overflow-y: scroll;
  z-index: 1;
  border-radius: 5px;
  cursor: pointer;
}

.cell_project_title {
  margin-bottom: 2px;
  background-color: wheat;
  padding: 2px 10px 5px 5px;
}

#main_content td input {
  width: calc(100% + 10px);
  margin: 0px -5px;
}

#main_content .date {
  min-width: 5em;
}

#main_content td select {
  width: calc(100% + 22px);
  margin: -0.2em -0.8em;
}

#main_content tr .active {
  cursor: pointer;
}

.user_form_separator {
  width: calc(12em + 10px);
}

.user_form_separator_end {
  width: 12em;
  margin-right: 10px;
}

.description_separator {
  width: calc(100% - 10px);
}

.add_cell, .edit_cell {
  margin-bottom: 0.3em;
  margin-right: 10px;
  white-space: nowrap;
  width: 12em;
  overflow: hidden;
}

.description_cell {
  margin-bottom: 0.3em;
  margin-right: 10px;
  white-space: nowrap;
  min-width: 10em;
  max-width: 100%;
  flex-grow: 1;
}

.ac_input_frame, .ec_input_frame {
  margin: 5px;
}

.description_box {
  background-color: #FFFFFF;
  padding: 2px 5px;
  margin: 2px 5px;
  border-radius: 2px;
}

.user_project_join1, .privileges_link_add1 {
  background-color: #AAFFAA;
}

.user_project_join2, .privileges_link_add2 {
  background-color: #77DD77;
}

.user_project_join3, .privileges_link_add3 {
  background-color: #44BB44;
}

.user_project_join:hover {
  background-color: lawngreen;
  color: black;
}

.user_project_leave, .privileges_link_remove {
  background-color: coral;
}

.user_project_leave:hover {
  background-color: hotpink;
  color: black;
}

#administration_list_edit_box {
  display: flex;
  flex-flow: column;
  min-height: 7em;
  user-select: none;
}
