﻿/*
@media only screen and (max-width: 480px), only screen and (max-height: 480px) { body { font-size: 12px; } }
@media only screen and (min-width: 481px) and (min-height: 481px) { body { font-size: 16px; } }
@media only screen and (min-width: 600px) and (min-height: 600px) { body { font-size: 18px; } }
@media only screen and (min-width: 700px) and (min-height: 700px) { body { font-size: 20px; } }
@media only screen and (min-width: 800px) and (min-height: 800px) { body { font-size: 24px; } }
*/

bodyX
{
                            /* General background color */
    /*background: #d6d6d6;    / * Grayish */
    /*background: white;      / * White */
    /*background: #91badf;    / * LightBlueish */
    background: #4088c8;    /* DarkBlueish */

    font-family : Tahoma, Geneva, sans-serif, Arial, Helvetica;
    margin: 0;
    padding: 0;
    height: 100%;
    
                    /* General text color */
    /*color: #373737; / * Blackish */
    /*color: #fff;    / * White */
    /*color: #cbdbec; / * Grayish (with Blue) */
    color: #e1ebf4; /* LightGrayish (with Blue) */
}

#onlineStatus
{
    position:absolute;
    right:0;
    top:0;
    font-size:0.9em;
    margin: 0.5em 0.5em;
    padding:0.7em 0.7em 0.7em 0.7em;
    border-top-right-radius: 0.7em;
    border-bottom-left-radius: 0.7em;
    color:#fff;
}
        
.online
{
    background-color:#060;
}
      
.offline
{
    background-color:#900;
}
      
.onlineWithRegs
{
    background-color:#005298;
}
      
.gradient
{
    height: 90vh;
    background: #4088c8; /* For browsers that do not support gradients */
    /*background: linear-gradient(#fff, #f5f5f5, #fff);       / * White to Gray */
    /*background: linear-gradient(#fff, #4088c8, #fff);       / * White to Blue */
    /*background: linear-gradient(#91badf, #4088c8, #91badf); / * Blue to Blue */
    background: linear-gradient(#4088c8, #91badf, #4088c8); /* Blue to Blue */

}

/*
div.logo
{
    position:absolute;
    left:0;
    top:0;
    padding:0.8em;
}

img.logo
{
    height: 1.5em;
}
*/
        
div.menu
{
    position:absolute;
    left:0px;
    top:50px;
    padding:6px;
}
        
/*
div.refresh
{
    position:absolute;
    left:2em;
    bottom:2em;
}
*/
#buttonRefresh,
#buttonClearUser
{
    height: 2em;
    width: auto;
}
div.version
{
    font-size: 0.7em;
    position:absolute;
    right:2em;
    bottom:1em;
}

td.version
{
    font-size: 0.7em;
}
        

div.menuButton
{
    position:relative;
    display:inline-block;
    top: 0.2em;
    padding: 0.8em 0.5em 1em 0.5em;
}

.menuImg {
  position: relative;
  padding-left: 1.25em;
  padding-right: 0.25em;
  padding-top: 0.1em;
}
.menuImg:before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.4em;
  width: 1.5em;
  height: 0.2em;
  background: #e1ebf4;
  border-radius: 0.2em;
  box-shadow: 
    0 0.45em 0 0 #e1ebf4,
    0 0.9em 0 0 #e1ebf4;
}

.bigButton_in,
.bigButton_out,
.bigButton_absence
{
    height:2.5em;
    width:7em;
    font-size:1.8em;
    border-radius: 1.2em;
}
/*
.bigButton_in
{
    background-color:darkseagreen;
}
.bigButton_out
{
}
.bigButton_absence
{
    background-color:#993300;
}

.bigButton_highLight
{
    font-weight: bold;
    / *font-size:2.5em;* /
}
*/
/*
div.dateTime
{
    / *margin-top: 1.2em;* /
    font-size: 2em;
    text-align: center;
}
*/

div.dateTime
{
/*
    margin-right: 2em;
*/
}

div.userName
{
    /*font-variant: small-caps;*/
    margin-top: 1.3em;
    font-size: 1.8em;
    text-align: center;
    /*height: 2em;*/
}
@media only screen and (min-width: 800px) and (min-height: 800px) { div.userName { margin-top: 1em; } }

div.statusInOut,
div.statusBalance
{
    margin-top: 0.4em;
    font-size: 1.5em;
    text-align: center;
}

#textBoxManual
{
    background: transparent;
    font-size: 1em;
    /*width: 3em;*/
    border-radius: 0.2em;
}
.textBoxManual_card
{
    width: 3em;
}
.textBoxManual_employment
{
    width: 6.5em !important;
}

#textBoxUserName,
#textBoxPwd
{
    background: transparent;
    font-size: 1em;
    width: 6em;
    border-radius: 0.2em;
}

div.ot_om 
{
    font-size: 1.5em;
    text-align: center;
    white-space: nowrap;
}

div.code_visible {
    display: flex !important;
    justify-content: center;
}
div.code_visible,
div.ot_visible,
div.om_visible,
div.break_visible 
{
    display: inline-block;
    /*font-size: 1.5em;*/
}

div.code_hidden,
div.ot_hidden,
div.om_hidden,
div.break_hidden,
.hiddenWhenIdle
{
    display: none;
    /*font-size: 1.5em;*/
}

label input {
  display: none;/* <-- hide the default checkbox */
}
label span {/* <-- style the artificial checkbox */
  height: 1.2em;
  width: 1.2em;
  border: 1px solid #7c7c7c;
  display: inline-block;
  position: relative;
  vertical-align:text-bottom;
  border-radius: 0.1em;
  margin-left: 0.3em;
  margin-right: 0.3em;
  background-color: #e1ebf4;
  color: #373737;
}
[type=checkbox]:checked + span:before {/* <-- style its checked state..with a ticked icon */
  content: '\2714';
  position: absolute;
  top: -0.1em;
  left: 0.1em;
}

input.rcbCheckBox,
input.rcbCheckAllItemsCheckBox {
    display: inline !important;
    -webkit-appearance: checkbox !important;
}

.RadComboBox.NotifyPersons {
    width: auto !important;
    min-width: 15em;
}
.RadComboBoxDropDown {
    font-size: 1.2em;
}

div.dropDownList,
div.codeList,
div.projectList,
div.activityList {
    display: inline-block;
    font-size: 1.2em;
}
select.dropDownList,
select.codeList,
select.projectList,
select.activityList {
    background: transparent;
    border: 1px solid #7c7c7c;
    border-radius: 0.1em;
    background-color: #e1ebf4;
    min-width: 5em;
}

/* For test! */
    /*.ui-keyboard-input {
    background-color: yellow !important;
}*/

    .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.select2-selection__arrow {
    height: 100% !important;
}
.select2-selection--single {
    min-width: 15em !important;
    max-width: 15em !important;
    padding-right: 10px;
    min-height: 1.325em !important;
}

.select2-results__option,
.select2-search__field {
    font-size: 2em !important;
}

div.regResult {
    margin-top: 1em;
    text-align: center;
    font-size: 1.5em;
}

div.bottomToolbar
{
    position: absolute;
    bottom: 2em;
    width: 97%;
    text-align: center;
}


.clock-circle 
{
  height: 9em;
  width: 9em;
  position: fixed;
  top: auto;
  left: 3em;
  margin-top: 0.5em;

  border: 0.3em solid White;
  
  border-radius: 50%;
  /*border-radius: 0.3em;*/
  -webkit-box-shadow: 0 1px 0.3em rgba(0, 0, 0, 0.3),inset 0 1px 0.3em rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 0.3em rgba(0, 0, 0, 0.3),inset 0 1px 0.3em rgba(0, 0, 0, 0.3);
  
   display: block;
   opacity: 0.0;    /* Make it invisible from start. Set 0.5 in script */
}
.clock-face {
  width: 100%;
  height: 100%;
}
.clock-hour, .clock-minute, .clock-second
{
  width:0;
  height:0;
  position:absolute;
  top:50%;
  left:50%;
}
.clock-hour, .clock-minute, .clock-second, .clock-face:after
{
  background: Black;
  /*background:lightgray;*/
}
.clock-hour{
  margin:-0.15em 0 -0.15em -25%;
  padding:0.15em 0 0.15em 25%;
  -webkit-transform-origin:100% 50%;
  -ms-transform-origin:100% 50%;
  transform-origin:100% 50%;
  border-radius:0.15em 0 0 0.15em;
}
.clock-minute{
  margin:-40% -0.1em 0;
  padding:40% 0.1em 0;
  -webkit-transform-origin:50% 100%;
  -ms-transform-origin:50% 100%;
  transform-origin:50% 100%;
  border-radius:0.1em 0.1em 0 0;
}
.clock-second{
  margin:-40% -1px 0 0;
  padding:40% 1px 0;
  -webkit-transform-origin:50% 100%;
  -ms-transform-origin:50% 100%;
  transform-origin:50% 100%;
}
.clock-face:after {
    position:absolute;
    top:50%;
    left:50%;
    width:0.4em;
    height:0.4em;
    margin:-0.2em 0 0 -0.2em;
    border-radius:0.2em;
    content:"";
    display:block;
}


.cmdButtonIn, .cmdButtonOut
{
    display:inline-block;
    position: relative;
    height: 3em;
    width: 4.2em;
    padding: 1em 2em 2em 2em;
    border-radius: 0.2em;
    box-shadow: 0.2em 0.2em 0.1em #28598a;
}
.cmdButtonIn
{
    margin-right: 3em;
    background-color: #060;
}
.cmdButtonOut
{
    margin-left: 3em;
    background-color: #d00000;
}
.cmdButtonIn:active, .cmdButtonOut:active, .inImgPressed, .outImgPressed
{
    box-shadow: 0.1em 0.1em 0.1em #28598a;
}
.cmdButtonIn::after, .cmdButtonOut::after
{
    position: relative;
    bottom: -2em;
    color: White;
    color: #e1ebf4; /* LightGrayish (with Blue) */
    font-weight: bold;
}
.cmdButtonIn::after
{
    content: attr(data-after);
}
.cmdButtonOut::after
{
    content: attr(data-after);
}

.inImg, .outImg
{
    height: 50%;
    width: 1.8em;
    border-radius: 0.2em;
    background-color: #e1ebf4; /* LightGrayish (with Blue) */
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.inImg::before, .inImg::after, .outImg::before, .outImg::after
{
    content: "";
    position:relative;
    display:block;
}

.inImg::before, .outImg::before
{
    height: 2.4em;
    width: 1.6em;
    border: 0.3em solid #e1ebf4;
}

.inImg::after, .outImg::after
{
	width: 0; 
	height: 0; 
    left: 1.6em;
    top: -3.8em;
	border-top:  1.6em solid transparent;
	border-bottom:  1.6em solid transparent;
	border-left:  1.6em solid #e1ebf4;
    border-radius:0.3em;
}

.inImg::before
{
    left: 2.2em;
    border-bottom-right-radius:0.6em;
    border-top-right-radius:0.6em;
    border-left: 0;
}

.outImg
{
    left: 1em;
}

.outImg::before
{
    left: -1em;
    border-bottom-left-radius:0.6em;
    border-top-left-radius:0.6em;
    border-right: 0;
}
.outImg::after
{
}

.inImg::before, .outImg::before
{
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


div.cardDataTitle
{
    font-size: 2em;
    margin-top: 1em;
    text-align: center;
}

div.panelLogon
{
    font-size: 1.5em;
    margin-top: 4em;
    text-align: center;
}

div.logonResult
{
    margin-top: 2em;
    text-align: center;
    font-size: 0.8em;
}

div.cardDataPerson
{
    font-size: 1.5em;
    margin-top: 0.5em;
    text-align: center;
}

#textBoxLogon {
    background: transparent;
}
#textBoxLogon,
#textBoxCardNr,
#textBoxCardData
{
    font-size: 1em;
    width: 3em;
    border-radius: 0.2em;
}
#textBoxCardData
{
    width: 10em;
}

.button
{
    background: transparent;
    font-size: 1em;
    width: 100%;
    /*border-color: #e1ebf4;
    color: #e1ebf4; / * LightGrayish (with Blue) */
    border-color: #555555;
    color: #555555; 
    padding: 0.5em;
    border-radius: 0.2em;
}

div.cardData
{
}
table.cardData
{
    font-size: 1.2em;
    margin-left:auto; 
    margin-right:auto;
}
tr.cardData
{
}
td.cardData
{
    padding-top: 1em;
    padding-right: 1em;
}

td.projectReg
{
    padding: 0.25em;
    text-align: left;
}

.textBox,
.datePicker
{
    background: transparent;
    font-size: 1em;
    border-radius: 0.2em;
}

.textBoxNumber {
    width: 4em;
}

.textBoxTime {
    width: 5em;
}

.textBoxDate {
    width: 8em;
}
.textBoxTime,
.textBoxDate {
    min-height: 1.3em;
    vertical-align: middle;
}

.textBoxAdditionNote
{
    max-width: 25em;
}

input[type=date]::-webkit-clear-button,
input[type=time]::-webkit-clear-button {
    -webkit-appearance: none;
    display: none;
}

@media only screen and (max-width: 420px)
{ 
    .textBoxAdditionNote { max-width: 10em; }
}

div.setup
{
}
table.setup
{
    font-size: 1.2em;
    margin-left:auto; 
    margin-right:auto;
}
tr.setup
{
}
td.setup
{
    padding-top: 0.5em;
    padding-right: 1em;
}

.additionNote
{
    white-space: normal;
}

@media only screen and (max-width: 480px)
{ 
    select.codeList { max-width: 120px; } 
    select.projectList { max-width: 120px; } 
    select.activityList { max-width: 120px; } 
    .bigButton_in, .bigButton_out, .bigButton_absence, .cmdButtonIn, .cmdButtonOut { margin-bottom:3em; } 
}
@media only screen and (min-width: 481px) and (max-width: 600px)
{ 
    select.codeList { max-width: 200px; } 
    select.projectList { max-width: 200px; } 
    select.activityList { max-width: 200px; } 
}
@media only screen and (min-width: 601px) and (max-width:724px)
{
    select.codeList { max-width: 300px; }
    select.projectList { max-width: 300px; }
    select.activityList { max-width: 300px; }
}
@media only screen and (min-width: 725px)
{ 
    select.codeList { max-width: 350px; } 
    select.projectList { min-width: 350px !important; max-width: 500px !important;} 
    select.activityList { min-width: 350px !important; max-width: 500px !important;} 
}
/*
@media only screen and (min-width: 600px) and (max-width:999px)
{ 
    .clock-circle { display: block; height: 5em; width: 5em; }
}
@media only screen and (min-width: 1000px)
{ 
    .clock-circle { display: block; }
}
*/
@media only screen and (max-height: 480px)
{ 
    body { font-size: 10px; }
    div.dateTime { margin-top: 0.1em !important; }
    div.userName { margin-top: 0.1em !important; }
    div.statusInOut, div.statusBalance { margin-top: 0.1em !important; }
    .bigButton_in, .bigButton_out, .bigButton_absence { height:1.8em !important; }
}
/*
@media only screen and (max-width: 480px) and (max-height: 480px) 
{ 
    div.logo { display:none; }
}
*/
@media only screen and (max-height: 200px)
{ 
    div.RadProgressBar { display:none;  }
}

@media only screen and (min-width: 1366px) and (max-width: 1370px) and (min-height:768px) and (max-height:768px)
{ 
    body { font-size: 22px; }
    div.dateTime { margin-top: 1.6em; }
    /*.clock-circle { margin-top: 6em; margin-left: 3.5em; }*/
    div.bottomToolbar { bottom: 2.2em; }
    /*.gradient { background: green !important; }*/
}

.nextPrevDatePicker
{
    width:2em !important;
    height: 2em !important;
}
.nextPrevDateInput
{
	width:0 !important;
	border:0 !important;
	margin:0 !important;
	visibility:hidden !important;
}
.nextPrevCalendar
{
	font-size:1.5em !important;
}

.nextPrevCalendarButton
{
    background:none transparent !important;
    border:0 !important;
    color: #555555 !important;
}

.RadInput,
.rcSelect {
    background: none transparent !important;
}

/* For menu as dropdown... */
.rmArrow
{
    height: 3em !important;
}
