body
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

ul
{
    list-style-type:none;
    margin: 0;
    padding: 0;
}

a
{
    text-decoration:none;
    cursor: pointer;
}

input
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    height: 2.0em;
    border-radius: 4px;
    border: 1px solid rgb(217,217,217);
    box-shadow: none;
    outline:none;   /* remove highlight input */
}


/* CUSTOM CLASSES */

/* body content is pushed down to these certain pixels */
.cContent
{
    margin-top: 130px;
    align-content: center;
}


.cImgButton
{
    border-style: none;
    border:0;
    height: 1.8em;   /* input heigth is 32px so 36 will match the size */
    vertical-align:middle;
    cursor: pointer;
}

.cAddNewItem
{
    height: 2.0em;
    border-style: none;
    border:0;
    vertical-align:middle;
}


/* CALENDAR */
.cCalendarEvent
{
    position: relative;
    margin:auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius:4px;
    border: 0px solid;
    vertical-align: middle;
    height: 50px;
    width: 100%;
}

/*
.cCalendarEvent:active {
    background-color: cornflowerblue;
}
*/

.day:active {
    background-color: cornflowerblue;
}




.cCalendarDetailPanel
{
    border: 0px solid;
    font-size: 1.0em;
}

.cErrorMessage
{
    color: red;
    font-size: 0.8em;
    width: inherit;
    height: 12px;
    width: 100%;
}

/* USER CALENDAR TABLE DETAILS */
.userCalendarDetailsTable
{
    text-align: left;
    border: 1px solid;
    border-radius:10px;
    border-spacing: 1px;
    width: 100%;
    margin: auto;
    margin-top: 5px;
}

.userCalendarDetailsTable thead
{
    background: SteelBlue;
    color: white;
}

.userCalendarDetailsTable th,
.userCalendarDetailsTable td {
  padding: 0 5px 0 5px;
    border-radius:4px;
    cursor: pointer;
    height: 1.5em;
}

.userCalendarDetailsTable tbody tr:nth-child(even) {background: WhiteSmoke;}
.userCalendarDetailsTable tbody tr td:nth-child(1) {text-align:center;}
.userCalendarDetailsTable tbody tr td:nth-child(2) {text-align:center;}
.userCalendarDetailsTable tbody tr td:nth-child(3),
.userCalendarDetailsTable tbody tr td:nth-child(4) {text-align: left;}

.userCalendarDetailsTable tbody tr:hover
{
    /*background-color: #005aee;*/
    background-color: #0096fa;
}

.userCalendarDetailsTable tfoot
{
    display: block;
    vertical-align: middle;
}

/* END OF USER CALENDAR TABLE DETAILS */



.cFormDetails
{
    border:1px solid gray;
    border-radius: 4px;
    width: 100%;
    height: 300px;
    max-height: 100%;
    overflow: auto;
    overflow-y: scroll;
    padding: 4px;
}


/*
#button:active
{
    vertical-align: top;
    padding: 8px 13px 6px;
}
*/



.cForm fieldset
{
    border: 0px solid;
    display: inline-block;
    vertical-align: middle;
    padding: 6px 6px 6px 6px;
}

.cFormHeader
{
    position: relative;
    border: none;
    margin: 0px 0px 10px 0px;
    padding: 5px 0px 0px 0px;
    border-radius: 10px;
    border:1px solid gray;
    display: block;
}

/*
.cFormHeader .cFormTitle
{
    display:inline-block;
    width:100%;
    font-weight: bold;
}

.cFormHeader .cFormTitle label
{
    width: auto;
    margin-left: 10px;
}
*/

.cFormHeader label
{
    /*font-size: 1.2em;*/
    font-weight:bold;
    text-align: right;
    border:0px solid gray;
    width: 5em;
    display: inline-block;
}

.cFormBody
{
/*    height: 100%;
    border: 1px solid gray;*/
}


.cFieldRow
{
    border: 0px solid;
    padding: 5px 10px 5px 10px;
}



.cForm .cInputGroup
{
    border: 1px solid #CCC;
    border-radius: 4px;
    padding: 0px;
    margin-right: 0px;
    vertical-align: middle;
    margin-right: 10px;

}

.cForm .cInputGroup .cLabel
{
    text-align: right;
    float:left;
    background-color: cornflowerblue;
    margin-right: 0px;
    vertical-align: middle;
}

.cForm .cInputGroup input
{
    border: 1px solid white;
    margin-right: 0px;
    float: left;
}


.cTable
{
    display: table;
    width: 100%;
}

.cTablelRowHoverNone
{
  hover: none;
}

.cTableRowEventBgNone .cTableRow:nth-child(even) {background:blue;}


.cTable .cTableRow:nth-child(even) {background: WhiteSmoke;}

.cTableRow:nth-child(even) {background: WhiteSmoke;}

/* .cTableRow:hover {background: #0096fa;} */

.cReportContent .cTableRow:hover {background: #0096fa;}

.cTableColumn
{
    display: table-column;
}

.cTableRow
{
    display: table-row;
    width: 100%;
}

.cTableCell
{
    display: table-cell;
    padding: 1px;
}


.cBLeftFlat
{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.cBRightFlat
{
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}


.cNumber
{
    text-align: right;
}

/* Label Input Set */
.cLabelInputSet
{
    display: inline-table;
}

.cLabelInputSet .cLabelItem
{
    display: table-cell;
    background-color: rgb(237,237,237);
    cursor: pointer;
    border-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    color: black;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: middle;
    margin: auto;
    /*border: solid 1px lightgray;*/
}

.cLabelInputSet .cInputItem
{
    display: table-cell;
    /*padding-right: 1em;
    padding-left: 1em;*/
}



/* end of input label set */


/* icon */
.cForm .cInputGroup img
{
    float: right;
    display: inline-block;
}

.cForm .cBorderStyleNone
{
    border-style: none;
    box-shadow: none;
}

.cForm .cUnitStyle
{
    background: none;
    text-align: center;
    font-weight: bold;
}


.cSelect
{
    -webkit-appearance:none;
    -moz-appearance:none;
    /*appearance:none;*/
    /*font-family: Arial, Helvetica, sans-serif;*/
    /*font-size: 1.2em;*/
    /* height: 32px; */
    /* background: #FFF url('images/down_arrow.png') no-repeat right; */
    border: 1px solid #CCC;
    cursor:pointer;
    text-align: center;
    padding: 5px;
    font-size: 1.0em;
}

.cForm Img[id=idDeleteIcon]
{
    margin: 0px 0px 0px 5px;
}


.cHeader
{
    position:absolute;
    top: 0;
    left: 0;
    background-color:black;
    color: white;
    width:100%;
    height:50px;
    vertical-align: middle;
    display: inline-block;

}

.cHeader .cLogoPanel
{
    position: relative;
    float: left;
    display: table;
    top:0px;
    width:50%;
    height:100%;
    vertical-align: middle;
    font-weight: bold;
    font-size: 2em;
}

.cHeader .cUserPanel
{
    float: right;
    display: table;
    vertical-align: middle;
    width: 30%;
    height: 100%;
    margin: 5px 5px 5px 5x;
    font-weight: bold;
    font-size: 1.5em;
}


.cHeader .cLogoPanel a
{
    vertical-align: middle;
    display: table-cell;
    padding: 0 5px 0 10px;
    color: white;
}

.cHeader .cUserPanel div
{
    vertical-align: middle;
    display: table-cell;
}

.cHeader .cUserPanel div img
{
    padding: 0 10px 0 5px;
}

.cHeader .cUserPanel div label
{
    padding: 0 15px 0 0;
    display: inline-block;
}

.cHeader .cUserPanel div a
{
    border:1px solid;
    border-radius: 5px;
    padding: 5px 15px 5px 15px;
    color: white;
}


/*
#idUserIcon
{
    top: 0px;
    right: 0;
    padding: 0 0 0 0;
    float: right;
}*/

.cRptTable
{
    //border: none;
    /*border:1px solid #000;*/
    border-collapse:collapse;
    font-family:arial,sans-serif;
}


.cRptTable th, .cRptTable td
{
    border:1px solid lightgray;
    border-collapse:collapse;
    padding:5px;
    vertical-align:top;
}

.cRptTable thead th
{
    background:#9cf;
    text-align:center;
}




.cMainMenu
{
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 50px;
    width:100%;
    height:72px;
    background-color:rgba(0, 0, 0, 0.4);
    color: black;
    vertical-align: middle;
    display: inline-block;
    /*font-size: 1.0em;*/
    color: white;
    vertical-align: middle;
}

.cMainMenuModuleItemPanel
{
    width: 100%;
    height: 100%;
    overflow: auto;
    white-space: nowrap;
}






.cButton
{
    /*position: absolute;*/
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align:center;
    background-color: cornflowerblue;
    color: white;
    font-weight: bold;
    vertical-align: middle;
    border-radius:4px;
    border-style: none;
    /*height: 32px;*/
    cursor: pointer;
    /*display: table-cell;
    vertical-align: middle;
    height: 32px;
    display: table-cell;
    cursor:pointer;*/
    display:table-cell;

}

.cButton:hover
{
    background-color: #34adff;
}

.cButton img
{
    padding: 0 5px 0 5px;
    vertical-align: middle;
    height: 32px;
    display: inline-table;
    cursor:pointer;
};

.cButton label
{
    display: inline-table;
    padding: 0 5px 0 5px;
    vertical-align: middle;
    color: white;
    cursor:pointer;
}







a.cLinkButton
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 0px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #4479BA;
    color: white;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
    text-align: center;
    height: 100%;
    border: solid 1px #20538D;
}

.cLinkButton img
{
    /*width: 38px;*/
    height: 38px;
    padding: 10px 0px 0px 0px;
    vertical-align:middle;

}


.cLinkButton.cTransparent
{
    background-color: transparent;
    border-style: none;
}

.cLinkButton.cSelected
{
    background-color: #0096fa;
    color: orange;
}


.cLinkButton:hover
{
    background-color: #0096fa;
}


.cLinkButton2:hover
{
    background-color: transparent;
    color:darkorange;
}




.cEventMark
{
    background-color: forestgreen;
    width: 20px;
    height: 20px;
    display: inline-table;
    border-radius: 10px;
    vertical-align: middle;
}

.cEventMark label
{
    margin: auto;
    text-align: center;
    margin: 15px 0 0 0;
    vertical-align: middle;
    color: white;
    display: table-cell;
}





/* NUMERIC INPUT */
.cNumericInputHeader
{
    height: 25%;
    display: table;
    width: 100%;
    font-weight: bold;
    background: rgb(79, 179, 176);
    vertical-align: middle;
}

.cNumericInputHeader .cNumericInputHeaderContent
{
    /* to vertical using table-cell, vertical -align MUST BE DEFINED in child */
    display: table-cell;
    vertical-align: middle;
}

.cNumericInputHeader input
{
    width: 90%;
    height: 2em;
    font-size: 2em;
    font-weight: bold;
    text-align:right;
    border-radius: 4px;
    border: 0px;
    vertical-align: middle;
    /* background-color: rgb(0, 123, 128);*/
    background-color: white;
}

.cNumericInputBody
{
    height: 75%;
    background-color: rgb(79, 179, 176);
    font-size: 1.5em;
}

.cNumericInputKeypad
{
    display: table;
    width: 100%;
    height: 150px;
    text-align: center;
    vertical-align: middle;
    background-color: inherit;
    border-spacing: 10px;
}


.cNumericInputKeypad tr
{
    width: 100%;
    height: 54px;
    vertical-align: middle;
    padding: 10px;
}


.key, .btn
{
    font-weight: bold;
    border-radius: 4px;
    background-color:white;
    text-align:center;
    color:black;
    cursor:pointer;
    width:25%;
    height: inherit;
    vertical-align: middle;
}
.key:hover{
    background-color:lightblue;
}
.key:active{
    background-color:white;
}
.btn{
   background-color: white;
}
.btn:hover{
    background-color:rgb(0, 123, 128);
}
.btn:active{
    background-color:darkcyan;
}

#idOkButton
{
    width: 100%;
    background-color: rgb(0, 123, 128);
}

#idClearButton
{
    background-color: darkorange;
}

/*end of numeric input button*/



/* DIALOG */

/* Border black around dialog */
.ui-dialog
{
    overflow: visible;
    padding: 0px;
    border: 5px solid;
}


/* every dialog WILL NOT have title bar
.ui-dialog-title {
    display: none;
}
*/

/* still needs title-bar to put close button */
.ui-dialog .ui-dialog-titlebar
{
    /*display: none;*/
    background:cornflowerblue;
    border:none;
    /*height: 3em;*/
    /*padding: 0px;*/
    color: white;
    border-radius: 0px;
    font-size: 1.8em;
}



.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close
{
    /*background: url('images/icon_close_2.png');*/
    background: none;
    width: 40px;
    height: 40px;
    border: 0px solid;
    padding: 0px;
    top: 5px;
    margin: 0px 0px 0px 0px;
}



.ui-dialog .ui-dialog-titlebar-close .ui-icon-closethick
{
    background-image: url('../images/icon_close_2.png');
    background-repeat:no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}


/* MAKE ROUND CLOSE BUTTON
.ui-dialog .ui-dialog-titlebar-close
{
  border-radius: 17px;
  height: 33px;
  margin: -10px 0 0;
  padding: 1px;
  position: absolute;
  right: -18px;
  top: -24%;
  width: 33px;
  z-index: 9999;
}
*/

/* use this to remove dialog close button through css
.ui-dialog .ui-dialog-titlebar-close
{
    display: none;
}*/



.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
  }

/* to remove arrow on datalist autocomplete */
input::-webkit-calendar-picker-indicator {
  display: none;
}



/* When the pattern is matched
input[type=text]:valid {
    color: green;
}*/

/* Unmatched */
input[type=text]:invalid {
    color: red;
}


#idBarcodeScanIcon:active
{
    background-image: url('../images/icon_barcode_01_active.png') no-repeat;
}
#idBarcodeScanIcon:hover
{
    background-image: url('../images/icon_barcode_01_active.png') no-repeat;
}


#idNumericInputIcon:active
{
    background-image: url('images/icon_calculator_01_active.png') no-repeat;
}
#idNumericInputIcon:hover
{
    background-image: url('images/icon_calculator_01_active.png') no-repeat;
}


/*
.ui-button .ui-button-icon-primary
{
    background: url('images/icon_calculator_01_active.png') no-repeat;
}*/

.cHeaderTitle
{
    text-align: center;
    vertical-align: middle;
    background-color: cornflowerblue;
    color: white;
    font-size: 1.1em;
    border: solid 1px white;
}

.cHeaderTitlePrint
{
    text-align: center;
    vertical-align: middle;
    background-color: white;
    color: black;
    font-size: 1.1em;
    border: solid 1px white;
}

.cTableHeader
{
    margin: auto;
    width: 100%;
    text-align: center;
    border: 0px solid;
    /* border-radius: 4px; */
    vertical-align: middle;
    display: table;
    background-color: #4479BA;
    color: white;
}


.cDateDisplay
{
    margin:0 auto;
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* normally display day */
.cDateDisplayFirstColumn
{
    font-size: 2.4em;
    font-weight: bold;
    display: table-cell;
    text-align: right;
    margin-right: 2%;
    width: 28%;
    float: left;

}

/* normally display month and year */
.cDateDisplaySecondColumn
{
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    font-size: 0.8em;
    width: 70%;
    float: right;
    margin-top: 2%;
}

/* first div only that black  */
div.cDateDisplaySecondColumn > div:first-child
{

    color: black;
}

/*
button { position: absolute; bottom: 0; }
button.open { left: 0; }
button.close { right: 0; }
*/

/* OLD footer
.cFooter
{
    font-size: 0.8em;
    font-weight: bold;
    bottom: 0px;
    left:0;
    width:100%;
    text-align:center;
    position:fixed;
}*/

.cFooter
{
    position: absolute;
    display: inline-table;
    bottom: 0px;
    margin-right: auto;
    margin-left: auto;
    left: 0px;
    right: 0px;
    width: 100%;
}


.cFormFooter
{
    display: inline-block;
    border: 1px solid;
    width: 100%;
    height: 50px;
}

.cReportContent
{
    padding: 10px 25px 5px 5px;
    /*font-size: 0.9em;*/
}

.cReportContent .cTitle
{
    font-size: 1.2em;
}


/*SLIDER RANGE*/


/* selected area color */
.ui-slider .ui-slider-range
{
    background: rgba(0, 150, 250, 0.56);
}

.ui-slider .ui-slider-handle
{
    /* width:32px;*/
    height:40px;
    /*background:url(../images/slider_grabber.png) no-repeat; overflow: hidden;*/
    position:absolute;
    border-style:none;
    color: white;
    vertical-align: middle;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    background: cornflowerblue;

}

.ui-slider .ui-slider-handle label
{
    margin-top: 5px;
    font-weight: bold;
}


#idDaySliderRange
{
    width:100%;
    /*height: 32px;*/
    font-size: 0.8em;
}

#idDaySliderRange label
{
    position: absolute;
    width: 20px;
    margin-left: -10px;
    text-align: center;
    margin-top: 0px;
    color: gray;
}



/* DIALOG MESSAGE */
/* get cDialogMessage class with class="ui-dialog-content" */
.cDialogMessage.ui-dialog-content
{
    padding: 0px;
}

.cDialogMessage
{
    display: block;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
}


/*
.cMessageHeader
{
    display: table;
    width: 100%;
    height: 40%;
    font-size: 1.5em;
    font-weight: bold;
    background: cornflowerblue;
    color: white;
    vertical-align: middle;
}
*/

.cMessageHeader .cMessageHeaderContent
{
    /* to vertical using table-cell, vertical -align MUST BE DEFINED in child */
    display: table-cell;
    vertical-align: middle;
}

.cMessageBody
{
    display: table;
    height:60%;
    width: 100%;
    vertical-align: middle;
}

.cMessageBody .cMessageBodyContent
{
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    padding: 0px;
}





/* FORM TOTAL */
#idFormTotal
{
    /* text-align: left; */
    /*font-size: 1.2em;*/
    /* font-weight: bold;
    display: inline-block;
    vertical-align: center;
    font-family: Arial, Helvetica, sans-serif;*/
}

/*#idFormTotal label
{
    border:0px solid gray;
    width: 5em;
}
*/

/*
#idFormTotal input
{
    /* height: 32px;*/
    /*border-radius: 4px;
    text-align: right;
    font-weight: bold;
    border: 1px solid #CCC;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

}
*/

/* opacity of parent page when dialog is opened */
.ui-widget-overlay
{
    background-color: #000;
    background-image: none;
    opacity:0.5;
}

/* Removes spin arrows on input number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button
{
    -webkit-appearance: none;
}


/* TOOLTIP */
.ui-tooltip
{
    background: #666;
    color: white;
    border: none;
    padding: 2px;
    font-size: 0.8em;
}


.cReportDate
{
    padding: 4px;
}






.cBackgroundGreen
{
    background-color: limegreen;
}

.cWarningRed
{
    /*background-color: red;
    color: white;*/
    color: red;
}


.cCalendarEventContent
{
    display: table-cell;
    /* font-size: 24px; */
    color: black;
    padding: 4px;
    border: 0px solid darkgray;
    border-radius: 4px;
    vertical-align: middle;
}


/* css for barcode label*/
.cBarcodeLabel
{
    display: block;
    width: 80%;
    height: 5em;
    padding-bottom: 10px;
}

.cBarcodeLabelContent
{
    display: inline-flex;
    width: 100%;
    border: 1px solid grey;
    border-radius: 4px;
    vertical-align: middle;
    height: 100%;
}

.cBarcodeLabelContent .cSmallFont
{
    font-size: 0.8em;
}

.cBarcodeLabelContentName .cBigFont
{
    font-size: 2.0em;
    margin-top: -10px;
}

.cBarcodeLabelContentName
{
    display: block;
    font-size: 0.8em;
    width: 65%;
    margin-top: 15px;
    margin-left: 10px;
}


.cBarcodeLabelContentImg
{
    text-align:center;
    width: 35%;
    margin-top: 15px;
}

div.ui-datepicker{
 font-size:1.5em;
}

.cDatepicker
{
    width: 100px;
    text-align: center;
    margin-right: 0px;
}

.ui-datepicker-trigger
{
    width: 2.5em;
    vertical-align: middle;
    cursor: pointer;
}


.cCard
{

    width: 9cm;
    height: 5.5cm;
    border: 2px solid;
    border-radius: 5px;
    text-align: center;
    display: block;
    font-weight: bold;
    font-size: 26px;
}

.cCard hr
{
    margin-bottom: 0;
    margin-top: 0;
}

.cCard-Title
{
    margin-top: 0.1cm;
    font-size: 14px;
}

.cCard-Company
{
    margin-top: 0.5cm;
    color: forestgreen;
    font-weight: bolder;
}

.cCard-UserName
{
    font-size: 18px;
    margin-top: 0.5cm;
    font-weight: bolder;
}

.cCard-Barcode
{
    margin-top: 0.4cm;
}


/* Navigation Bar */

.cNavigationBarMain
{
    width: 15%;
    float: left;
}

.cNavigationBarContent
{
    width: 83%;
    float: right;
}


.cNavigationBar
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
    height: 100%;
    cursor:pointer;
}

.cNavigationBar a
{
    display: block;
    color: #000;
    padding: 4px 8px;
    text-decoration: none;
}

.cNavigationBar li a.active
{
    background-color: #4CAF50;
    color: white;
}

.cNavigationBar li a:hover:not(.active)
{
    background-color: #555;
    color: white;
}

.cNavigationBarHorizontal li {
    float: left;
    display: block;
}

.cNavigationBarHorizontal input {
    float: left;
    display: inline;
}

.ui-accordion .ui-accordion-content
{
    padding: 2px;
}


.cFormMenu
{
    display: inline-block;
    /*height: 100%;*/
}


.cSearchResult
{
    cursor: pointer;
    width: 100%;

}




.ui-dialog.cLoadingScreen
{
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    /*background: rgba(245, 5, 5, 0.8) 50% 50% no-repeat;    */
    background-color: transparent;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}



.cHidden
{
    display: none;
}




/* Calendar Styles */
.calendar {width:100%; border-collapse:collapse;}
.calendar tr.navigation th {padding-bottom:10px;}
.calendar th.prev-month {text-align:left;font-size:1.2em;}
.calendar th.current-month {text-align:center; font-size:1.6em;}
.calendar th.next-month {text-align:right;font-size:1.2em;}
.calendar tr.weekdays th {text-align:left;}
.calendar td {width:14%; height:70px; vertical-align:top; border:1px solid #CCC;}
.calendar td.today {background:#FFD;}
.calendar td.prev-next {background:#EEE;}
.calendar td.prev-next span.date {color:#9C9C9C;}
.calendar td.holiday {background:#DDFFDE;}
.calendar span.date {display:block; padding:4px; line-height:12px;}
.calendar div.day-content {}
.calendar ul.output {margin:0; padding:2px 2px; list-style:none;}
.calendar ul.output li {margin:0; padding:0 0 0 0; line-height:1em; border-bottom:0px solid #CCC;}
.calendar ul.output li:last-child {border:0;}

/* Small Calendar */
.calendar.small {width:auto; border-collapse:separate;}
.calendar.small tr.navigation th {padding-bottom:5px;}
.calendar.small tr.navigation th a span {font-size:1.5em;}
.calendar.small th.current-month {font-size:1em;}
.calendar.small tr.weekdays th {text-align:center;}
.calendar.small td {width:auto; height:auto; padding:4px 8px; text-align:center; border:0; background:#EEE;}
.calendar.small span.date {display:inline; padding:0; background:none;}



.cTableGroup
{
  border: 0.5px solid rgb(217,217,217);
  border-radius: 2px;
  font-size: 0.7em;
  height: 50px;
  max-height: 50px;
  /*display: inline-table;*/
}

.cScrollable
{
  max-height: 100%;
  overflow: auto;
  overflow-y: scroll;
}

.cRowPadding
{
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

a[disabled]
{
    color: grey;
}

/* test */
.cScrollTopBtn
{
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

.cScrollTopBtn:hover
{
  background-color: #555; /* Add a dark-grey background on hover */
}

.cBtnScrollTop
{
  position: relative;
  display: none;
}

.cBtnScrollBottom
{
  position: relative;
  display: none;
}

.cBtnScrollTop
   a{display: block;
     z-index: 99;
     position: fixed;
     right: 0px;
     bottom: 40px;
   }

.cBtnScrollBottom
   a{display: block;
     z-index: 99;
     position: fixed;
     right: 0px;
     bottom: 0px;
   }

.cBgColorNone
{
  background-color: none;
}

/* pading: top-right-bottom-left */
.w3-padding-right{padding:4px 8px 4px 0px!important}

/* smaller text, blue color*/
.cLabelBlue label{font-size:0.9em;color:#2196F3;margin-bottom:0;}

.cBlueLight{
  background-color: #ABCDEF;
}


.cInputText-2{
  font-size: 2em;
}

.cBorderBottom
{
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  outline: none;
}

.cBorderTop
{
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-top: 1px solid;
  border-radius: 0;
  outline: none;
}
/*
.cBorderBottom:focus{
    box-shadow: none;
    //box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
}
*/

.cHover
{
  cursor: pointer;
}

.cSelected
{
    background-color: #0096fa;
    /*color: orange;*/
}

.cFont-bold-1
{
  font-weight:bold;
  font-size:1.1em;
}

.cFont-bold-3
{
  font-weight:bold;
  font-size:1.3em;
  color: cornflowerblue;
}

.cMarginBottom-3
{
  margin-bottom: 3em;
}

.cMarginBottom-5
{
  margin-bottom: 5em;
}


@page {
  size: A4;
}

@media print {
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
           font-size: 1.0em; !important;
	  }
}


/* TABS */

.ui-tabs
{
  padding: 0em;
  border: solid 0px;
}

.ui-tabs .ui-tabs-nav li a
{
  font-size:9pt !important;
}

.ui-tabs .ui-tabs-nav
{
  padding: 0px;
}

.ui-tabs .ui-widget-header
{
  background: white;
  border: solid 0px;
}

/* this is css for the entire tab group (header n body) */
.ui-widget.ui-widget-content
{
  border: solid 0px;
}

.ui-tabs .ui-tabs-panel
{
  border: 1px solid lightgray;
}

/* overide form-control paddings */
.form-control
{
  padding-left: 4px !important;
  padding-right: 4px !important;
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}

.form-row
{
  margin-left: 0px !important;
  padding-right: 0px !important;
}


/* table fix-header and scrollable body */
.table-fixed
{
  width: 100%;
  background-color: #f3f3f3;
}

.table-fixed tbody
{
  display: block;
  overflow: auto;
  overflow-y: scroll;
}

.table-fixed thead
{
  display:block !important; /* without this the body size will be mess-up*/
  width: 100%;
}
/* end of table fix head n scrollable */

.text-close
{
  color: lightgray;
}


/* only for naming since id cannot be more than 1 so use class id then */
.cIdRow{}
.cIdSum{}
.cIdQtySumGroup{}
.cIdSearchFilter{}




  /* Popup container */
  .popup
  {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  /* The actual popup (appears on top) */
  .popup .popuptext
  {
    font-size: 0.8em;
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 10%;
    bottom: 0%;
    left: 0%;
    margin-left: -80px;
  }

  /* Popup arrow with pointing at bottom */
  /*
  .popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }*/

  /* Toggle this class when clicking on the popup container (hide and show the popup) */
  .popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }

  .popup .hidden {
    visibility: hidden;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
  }


.cPopupMessage
{
    /*visibility: hidden;*/
    position: fixed;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:1000;
    background-color: white;
    width: 50%;
    height : 50px;
    border: 1px;
    border-radius: 5px;
    padding-left: 50px;
    padding-top: 10px;
    text-align: center;
    font-size: 1.2em;
}
