 /*
 *      CSS File for the system... 07/09/2023
 */
 
fieldset {border: 1px black solid;}
legend {margin-left: 10px; font-weight: bold; font-style: italic;}
 
#home { 
    font-family: sans-serif;
    /*font-size: 100%;*/
    font-size: 12px;
}

#listheader {
    width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}

#container {
    width:1150px;   /* Normal number is 1250 */
    margin: 0 auto;
    padding: 5px;
    background: #D4E6F4;
    border: 3px solid #eee;
}  

#listcontainer {
    max-width: 1200px; /* Normal number was 1268 */
    margin: 0 auto;
    padding: 5px;
    /*border: solid red 1px; */
}   

#containerform {
    float: left;
    /*display: inline-block;*/    
}

.containerdiv {             /* used to be header_list */
    text-align: right;
}

#editor {
    margin: 0 auto;
    padding: 5px;
    width: 1000px;
    background: #D4E6F4;
    border: 3px solid #eee;
}

#editheader {
    width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid black;
    margin-bottom: 20px;
}

.editorlinediv {
    height: 42px;
    /*border: 1px solid red;*/
}

.editorlinediv > div {
    float: left;
    padding-right: 20px;
    /*border: 1px solid greenyellow;*/
}

.editorlinediv label {
    display: table-cell;
    font-weight: bold;
    padding-top: 5px;
    font-style: italic;
}

.editorcommentdiv  {
    height: 100px;
}

#editorcommentbutton {
    margin-top: 27px;    
}

#editorsubmit {
    text-align: center;
    margin: 15px;
}

#editorsubmit input, #editorsubmit button {
    margin: 0 15px;
    width: 130px;
}

.mySelect {                 /* Is needed due to the two next rules */
    margin: 0;
    width: 270px;
    /*border: 1px solid blue;*/
}

.mySelectSub {                 /* Is needed due to the two next rules */
    width: 290px;
}

.mySelect span {                    /* Use on Day_Work_Emp code*/
    margin-top: 1em;
    font-weight: bold;
    font-family: New Roman;
    /*border: 2px solid green;*/
}

.mySelect div {                     /* Use on Day_Work_Emp code*/
    /*width: 250px;*/
    margin-left: 0px;
    padding-left: 0px;
    /*word-wrap: normal;*/
    /*border: 2px solid red; */
}

#addButton {                        /* Use on Day_Work_Emp code*/
    padding-top: 10px;
    width: 270px;
   /* border: 1px solid green;*/
}

#addButtonWide {                   /* Use on payroll_week*/
    padding-top: 10px;
    width: 130px;
    /*border: 1px solid green;*/
}

#addButtonWide button {            /* Use on payroll_week*/
    width: 130px;
}

.editorlinemyselectdiv {            /* Use on Day_Work_Emp code*/
    height: 80px;
}

.editorempcommentdiv {              /* Use on Day_Work_Emp code*/
    height: 35px;
}

.editorlinedivhours {              /* Use on Payroll_Emp_Edit code*/
    height: 60px;
    /* border: 1px solid green; */
}

.editorlinedivhours input {              /* Use on Payroll_Emp_Edit code*/
    width: 70px;
    text-align: center;
}

.editorlinedivvalues {              /* Use on Payroll_Emp_Edit code*/
    height: 60px;
    /* border: 1px solid red; */
}

.editorlinedivvalues input {              /* Use on Payroll_Emp_Edit code*/
    width: 100px;
    direction: rtl;
}

#theSubmit { margin-top: 10px;}

#theSubmit button {
    margin: 0 15px;
    width: 120px;
}

/* Table listing reports and info... */
.header1 {                /* Header for the Phase Header of the report Employye_Day_work */
    /*margin: 0 auto;*/
    margin-bottom: 1px;
    border-bottom: solid black 1px;
}

.table1 {               /* Table for the Phase Header of the report of Employye_Day_work */
    /*border: 2px solid green;*/
    margin: 0 auto;
}

.tableheader {
    /*margin: 100px;*/
    background: #B2B2B2;
    font-weight: bold;
}

tr:nth-child(even) {
    background: #EAEAEA;
}

.totaldiv {
    /*margin: 100px;*/
    background: #DDD;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.totals {
    display: inline-flex;
    margin: 0 auto;
    padding-right: 50px;
    font-weight: bold;
}

.error {            /*Use to show a temporary msg on screen */
    background: orangered;
    color: #fff;
    /*padding: 5px;*/
    margin: 5px;
    /*text-decoration: blink;*/
    line-height: 24px;
    font-size: 20px;
}

/* CODE FOR tooltip use */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.reportradio1 {                 /*use on lis_pjworkedon.php*/
    margin-left: 10px;
    
}
.reportradio2 {                 /*use on lis_pjworkedon.php*/
    margin: 5px;
    display: inline-block;  
}

/***** THE CODE BELOW DOES NOT WORK ****/
/* Remove Arrows from input numbers...  Chrome, Safari, Edge, Opera */
/*input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
*/

/* Page Footer */
#footer { height: 1.7em; margin: 20px; background: #0E95FA; }
#copyright { font-weight: bold; font-size: 125%; color: #D4E6F4; }
#version { color: black; float: right; margin-top: -10px; font-size: 80%; margin-right: 10px; }
