:root {
	--dark-background-color:#5A626A;
	--dark-background-font-color:#fff;
	--light-background-color:#fff;
	--light-background-font-color:#5A626A;
	--fa-primary-color: #fff;
}

body, html {
	padding:0px;
	margin:0px;
	overscroll-behavior: none;
	overflow:hidden;
}

* {
	touch-action: pan-x pan-y;
}
button, input {
	 touch-action: manipulation
}
.tests body, html.tests {
	overflow:auto;
}
.tests h1 {
	text-align:left;
}
.app {
	width:100vw;
	height:100vh;
	display:grid;
	grid-template-columns: 100%;
	grid-template-rows: 8% 88% 4%;
	grid-template-areas:
	"header"
	"content"
	"footer";
}

header img {
	margin:auto;
	height: 5vh;
}

header {
	background-color:var(--dark-background-color);
	color:var(--dark-background-font-color);
	grid-area:header;
	display:flex;
	justify-content: space-around;
}
.navigation-buttons {
	position: absolute;
    left: 0.5vw;
    top: 1.5vh;
}

footer {
	text-align: center;
	color: #bbbbbb;
	font-size: 0.8em;
}

.page, .step {
	display:none;
	grid-area:content;
}
.page {
	overflow-x:hidden;
	overflow-y:auto;
}

.step.punchOptions .employees {
	display:flex;
	flex-direction:column;
	justify-content:space-around;
}

.step.punchOptions .employees button, .customerList button, .businessUnitList button, .punchConfirmationStatus button, .authenticationClearing button {
	width: calc(100% - 1em);
	margin-left: 0.5em;
	font-size: 1.4em;
    margin-bottom: 0.5em;
	cursor:pointer;
}
.step.punchOptions .employees button:hover {
	background:#5cb85c;
}

.page.timePunch .step.punchConfirmation .employeePreviousLogins, .page.timePunch .step.punchConfirmation .employeePreviousLogins .previous tr, .page.timePunch .step.punchConfirmation .employeePreviousLogins .previous th {
	width:100%;
	text-align:left;
	margin-bottom: 1em;
}
.page.timePunch .step.punchConfirmation .employeePreviousLogins .previous tr:nth-child(odd) {
	background-color: #e9e9e9;
}

.panel-body {
	padding:2em;
	max-height: calc(100vh - 250px);
	overflow: auto;
}
i img {
	width:1em;
}
#PunchNumber,.login #loginForm input  {
	max-width: 97%;
	/* width: -webkit-fill-available; */
}
.modal {
	/*height: 96%;*/
	grid-area: content;
	width: 96%;
	padding: 2%;
	/* position: fixed; */
	background: #fff;
	z-index: 1000;
	background-color: rgba(238,238,238,0.9);
}

#punchInBtn, #punchOutBtn{
	font-size: 42pt;
}

/* Bootstrap thieved styles */
.input-group .form-control {
	position: relative;
	z-index: 2;
	float: left;
    width: 98%;
	margin-bottom: 0;
}
h1 {
	text-align: center;
	color: #5A626A;
	font-size: 32px;
	padding: 10px;
}
.text-center {
	text-align: center;
}
.underscored {
	text-decoration:underline;
}
.cursor-pointer {
	cursor:pointer;
}
.input-lg {
	height: 46px;
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.3333333;
	border-radius: 6px;
}
.input-group {
	width: 100%;
	position: relative;
	display: table;
	border-collapse: separate;
	margin-bottom: 16px;
}
.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 24pt;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}
.btn-default {
	text-shadow: 0 1px 0 #fff;
	background-image: -webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);
	background-image: -o-linear-gradient(top,#fff 0,#e0e0e0 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));
	background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	background-repeat: repeat-x;
	border-color: #dbdbdb;
	border-color: #ccc;
}
.btn-default:hover {
	text-shadow: 0 1px 0 #fff;
	background-image: -webkit-linear-gradient(top,#fff 100%,#e0e0e0 0%);
	background-image: -o-linear-gradient(top,#fff 100%,#e0e0e0 0%);
	background-image: -webkit-gradient(linear,left top,left bottom,to(#fff),from(#e0e0e0));
	background-image: linear-gradient(to bottom,#fff 100%,#e0e0e0 0);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	background-repeat: repeat-x;
	border-color: #dbdbdb;
	border-color: #ccc;
}
.btn-danger, .btn-default, .btn-info, .btn-primary, .btn-success, .btn-warning {
	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
}
.btn-block {
	display: block;
	width: 100%;
}
.btn-group-lg > .btn, .btn-lg {
	padding: 10px 16px;
	font-size: 18px;
	line-height: 1.3333333;
	border-radius: 6px;
}

.panel {
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.panel-default {
	border-color: #ddd;
}
.panel {
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px solid #ddd;
    border-radius: 9px;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.btn-danger, .btn-danger i {
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}
.btn-info {
	background-image: -webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
	background-image: -o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));
	background-image: linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	background-repeat: repeat-x;
	border-color: #28a4c9;
}
.btn-success, .btn-success i {
	background-image: -webkit-linear-gradient(top,#5cb85c 0,#419641 100%);
	background-image: -o-linear-gradient(top,#5cb85c 0,#419641 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));
	background-image: linear-gradient(to bottom,#5cb85c 0,#419641 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	background-repeat: repeat-x;
	border-color: #3e8f3e;
	color: #fff;
}
.btn-success, .btn-success i {
	background-image: -webkit-linear-gradient(top,#5cb85c 0,#419641 100%);
	background-image: -o-linear-gradient(top,#5cb85c 0,#419641 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));
	background-image: linear-gradient(to bottom,#5cb85c 0,#419641 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	background-repeat: repeat-x;
	border-color: #3e8f3e;
	color: #fff;
}

.btn-warning {
	background-image: -webkit-linear-gradient(top, #f0ad4e 0, #eb9316 100%);
	background-image: -o-linear-gradient(top, #f0ad4e 0, #eb9316 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
	background-image: linear-gradient(to bottom, #f0ad4e 0, #eb9316 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	background-repeat: repeat-x;
	border-color: #e38d13
}

.panel-default>.panel-heading {
	background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
	background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
	background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
	background-repeat: repeat-x;
}
.panel-default > .panel-heading {
	color: #333;
	background-color: #f5f5f5;
	border-color: #ddd;
}
.panel-heading {
	padding: 10px 15px;
	border-bottom: 1px solid transparent;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
	margin-bottom:0.8em;
}

/* Input grouping */
.input-group-addon:first-child {
    border-right: 0;
}
.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn-group:not(:last-child) > .btn, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.col-md-offset-3 {
    margin-left: 25%;
}
.col-md-6 {
    width: 50%;
}

/* End bootstrap */

.step.punchOptions .employees button:disabled {
	background:#ddd;
	cursor:default;
}

.hidden {
	display:none !important;
}

.active {
	display:block;
}
.punchInTable {
	width:100%;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type="number"] {
	-moz-appearance: textfield;
}
.miniCard {
	margin-top:2em;
	margin-left: 30%;
	width: 40%;
}
.card {
	/*margin-left: 16.66666667%;
	width: 66.66666667%;*/
	margin: 0 1em;
}
#clock {
    font-size: 70px;
}
#clock {
    font-family: monospace;
    color: #5A626A;
}
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
}
.login label, .employeeBadge label {
    font-weight: bold;
}
.pad3px {
	padding:3px;
}

/* App loading overlay */
.page.loading {
	background-color: var(--light-background-color);
	color: var(--light-background-font-color);
}

.lds-ellipsis {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
.lds-ellipsis div {
	position: absolute;
	top: 33px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--light-background-font-color);
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
	left: 8px;
	animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
	left: 8px;
	animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
	left: 32px;
	animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
	left: 56px;
	animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
	0% {
	  transform: scale(0);
	}
	100% {
	  transform: scale(1);
	}
}
@keyframes lds-ellipsis3 {
	0% {
	  transform: scale(1);
	}
	100% {
	  transform: scale(0);
	}
}
@keyframes lds-ellipsis2 {
	0% {
	  transform: translate(0, 0);
	}
	100% {
	  transform: translate(24px, 0);
	}
}
#insta-splash>#splash-text.fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

#splash-text {
	color: var(--light-background-font-color);
}

/* end of loading overlay. */
.centered {
    margin-left: auto;
    text-align: center;
    margin-right: auto;
}
.flex-row {
	display:flex;
	flex-direction:row;
}
.flex-column {
	display:flex;
	flex-direction:column;
}
.justify-center {
	justify-content:center;
}
.marg20prcnt {
	margin:20%;
}
.marg10prcnt {
	margin:10%;
}
.fontSizeBig {
	font-size:30pt;
}
.fontSizeSmall {
	font-size:12pt;
}
.warningStatus dd, .warningStatus dt {
	font-size:20pt;
}
.warningStatus dt {
	font-weight:bold;
	margin-bottom:.4em;
	margin-top:.4em;
}
.warningStatus dd {
	color:var(--light-background-font-color);
}
#backBtn, #refreshBtn  {
	cursor:pointer;
	font-size: 5vh;
}

input.has-error {
	border: 2px solid #900;
}
@media (max-height:680px), (max-width:1200px) {
	.card {
		/*margin-left: 8%;
		width: 84%;
		min-width:353px;*/
	}
	h1 {
		margin:0px;
    	padding:.5em;
	}
	.panel-body {
		padding:2em;
		padding-top:0.8em;
	}
	.panel-heading {
		margin-bottom:0px;
	}
}
@media (max-height:680px), (max-width:600px) {
	.col-md-6 {
		width: inherit;
	}
	.col-md-offset-3 {
		margin-left: 0px;
	}
	.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    	padding: 0px;
	}
	.input-group {
		width: 94%;
	}
}

#mealDeductionGroup {
	font-size: 32px;
}

#mealDeductionGroup i {
	color: var(--light-background-font-color);
}

#mealDeductionGroup .checkbox {
	margin-right: 16px;
}

#mealDeductionGroup[hidden] label {
	display: none;
}

#mealDeductionGroup label {
	margin-top:16px;
}

.w-33 {
	width: 33.333333%;
}
