.btn-primary,
.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:active {
	background-color: #da301a;	
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: #C42B17;	
}

.modal-footer {
	text-align: left !important;	
	clear: left;
}
#photo .modal-dialog.lg {
	width: 690px;
}
#photo-background {
	padding: 0;
}

#flash {
	position: fixed;
	bottom: 8px;
	right: 8px;
	z-index: 10000;
	width: 280px;
}
#flash .flash-message {
	border-radius: 3px;
	background-color: #fff;
	padding: 8px;
	width: 100%;
	margin-top: 8px;
}
#flash .flash-message-success {
	background-color: #29b765;
	color: #fff;
}
#flash .flash-message-danger {
	background-color: #d93119;
	color: #fff;
}

#newVersion {
	position: fixed;
	top: 0;
	left: -65px;
	z-index: 100;
	width: 200px;
	transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	background-color: #fff;
	padding: 10px;
	text-align: center;
	line-height: 16px;
	font-size: 12px;
	text-transform: uppercase;
}

html {
	min-height: 100%;	
}
body {
	height: 100%;
	min-height: 100%;
	background: #f7f7f7 url('../../img/attendance/overlay.png') bottom center no-repeat;
}
body.ios {
	margin-top: 20px;
}
.ios .prev,
.ios .next {
	display: none !important;
	visibility: hidden !important;
}
header {
	height: 60px;
	width: 100%;
	
	background-color: #555;	
	color: #fff;
	position: fixed;
	top: 0;
}
header #logo {
	float: left;	
	width: 180px;
	height: 60px;
	margin-left: 15px;
}
header #logo img {
	max-height: 60px;
	background-color: #fff;
	max-width: 180px;
}

header #search {
	position: absolute;
	left: 180px;
	right: 260px;
	width: auto !important;
}
header #search input {
	width: auto;
	height: 60px;
	padding: 10px\9;
		
	border: none 0;
	
	width: 100%;
	
	-webkit-box-shadow: none;
	box-shadow: none;
	
	background-color: transparent;
	background-color: rgba(0,0,0,.1);
	
	padding-left: 40px;
}
header #search ::-webkit-input-placeholder { /* WebKit browsers */
    color:    rgba(255, 255, 255, .5);
}
header #search :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    rgba(255, 255, 255, .5);
}
header #search ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    rgba(255, 255, 255, .5);
}
header #search d:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    rgba(255, 255, 255, .5);
}

.modal-header .close {
	position: absolute;
	top: 15px;
	right: 15px;
}

@media all and (max-width: 1023px) {
	header #search input {
		margin-left: 0;
		margin-right: 0;
		
		left: 240px;
		right: 300px;
		min-width: inherit;
	}
}
@media all and (max-width: 767px) {
	header #search input {
		width: 230px;
	}
}
header #search input:focus,
header #search input:active {
	outline: none;
	background-color: rgba(0,0,0,.15);
}
header #search i {
	position: absolute;
	margin-left: 15px;
	top: 22px;
	z-index: 100;
	color: #666;
	color: rgba(255,255,255,.99);
}
header #datetime {
	float: right;
	margin-right: 15px;
}
header #datetime > div,
header #datetime > a {
	float: left;
	line-height: 60px;
	margin-left: 10px;
}
header #datetime #time {
	font-weight: bold;
}

.isLegacy #rostered .newAppBanner {
	background: #E0E8EE;
	height: 40px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2F313A;
	font-size: 12px;
	position: fixed;
	top: 60px;	
	left: 0;
	right: 0;
	padding-right: 200px;
	z-index: 1;
}
.isLegacy #rostered .newAppBanner a {
	color: #00ADBB;
}
.isLegacy #rostered .staff {
	margin-top: 40px;
	padding-top: 0;
}

.isLegacy #rostered .info {
	z-index: 2;
}

section .info {
	position: fixed;
	color: #fff;
	top: 0;	
	right: 0;
	text-align: center;
	background-color: #ccc;
	background-color: rgba(0,0,0,.25);
	
}
section .title {
	font-size: 36px;
	position: fixed;
	right: 20px;
	top: 230px;
	z-index: -25;
	opacity: .20;
	margin-top: 30px;
}
section .info p {
	padding: 10px 20px;
	line-height: 20px;
	margin: 0;	
}
section .staff {
	float: left;
	padding: 20px 10px;
}/*
section .staff.disabled {
	opacity: .5;
	cursor: not-allowed !important;	
}
section .staff.disabled * {
	cursor: not-allowed !important;	
}*/
section .staff a {
	height: 260px;
	width: 140px;
	
	background-color: #fff;
	
	line-height: 15px;
	
	text-align: center;
	
	display: inline-block;
	text-decoration: none;
	
	box-shadow: 0 0 1px rgba(0,0,0,0.15);
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.15);
}
section .staff:first-child {
	padding-left: 15px;	
}
section .staff:last-child {
	padding-right: 15px;	
}
section .staff .name {
	display: block;	
	color: #fff;
	color: rgba(255,255,255,.8);
	background-color: #575959;
	margin: 0 0 5px;
	padding: 5px;
	max-height: 50px;
	line-height: 14px;
	overflow: hidden;
}
section .staff.green .name {
	background-color: #42b874;
	border-color: #42b874;	
}
section .staff.red .name {
	background-color: #e44b3e;
	border-color: #e44b3e;
}
section .staff.orange .name {
	background-color: #f0c223;
	border-color: #f0c223;
}
section .staff .name strong {
	color: #fff;
	width: 100%;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;	
	margin-bottom: -2px;
}

section .staff .avatar {
	width: 70px;
	height: 70px;
	margin: 10px auto;
	
	background-size: cover;
	background-color: #eee;
	background-position: center center;
	
	-webkit-border-radius: 6px;
	border-radius: 6px;
	display: block;
}
section .staff .avatar:after {
}
section .staff .time {
	font-size: 30px;
	color: #ccc;	
	display: inline-block;
	line-height: 35px;
}
section .staff .hours,
section .staff .break {
	min-height: 15px;
	width: 100%;
  	overflow: hidden;
}
section .staff .hours,
section .staff .shift {
	display: block;
	color: #444;	
	margin-top: 5px;
}

section .staff .break {
	display: block;
	color: #777;
	font-size: 12px;
	margin-top: 5px;
}

section .staff .break.hidden {
	display: none;
}

section .staff .break .break-view-details{
	font-size: 13px;
}

section .staff .break b, section .staff .break strong {
	font-size: 13px;
}

#message {
	display: none;
}
	.message {
		margin-bottom: 10px;
		_float: left;
		text-align: center;
	}
	.message:last-child {
		margin-bottom: 0;	
	}
#rostered, #clocked {
	position: fixed;
	top: 60px;
	height: 300px;
	width: 100%;
}

#rostered {
	background-color: #f3f5f5;
}
#rostered .info {
	top: 60px;	
}
#rostered .prev,
#rostered .next {
	top: 160px;
}
#clocked {
	background-color: #e3e5e5;
	top: 360px;
} 
#clocked .info {
	top: 320px;
}
#clocked .title {
	top: 550px;
}
#clocked .prev,
#clocked .next {
	top: 420px;
}
#other {
	position: fixed;
	top: 660px;
	right: 0;
	bottom: 0;
	left: 0;	
	
	background-color: #444;
}
#other .title {
	top: 700px;
	color: #ccc;	
}
#other .staff a {
	height: 140px;	
	-webkit-transition: all 500ms ease-in-out; 
	transition: all 500ms ease-in-out; 
	cursor: default !important;
}
#other .staff a * {
	cursor: default !important;	
}
#other .avatar {
	width: 40px; height: 40px;	
}
#other .scroll {
	height: 120%;	
}
#other .prev,
#other .next {
	margin-top: 0;	
	top: 660px;
}

.wrap {
	min-width: 768px;
	max-width: 1024px;
	margin: 0 auto;	
	position: relative;
}
.row {
	margin: 20px -15px 0;
}
.scroll {
	overflow-x: auto;	
	overflow-y: hidden;
	
	-webkit-overflow-scrolling: touch;
	
	padding-bottom: 30px;
	
	-webkit-transition: all 500ms ease-in-out; 
	transition: all 500ms ease-in-out; 
}
.scroll > .content {
	width: 99999px;	
	min-height: 280px; 
}
.input {
	width: 100%;
}
.input input,
.input textarea {
	width: 100%;	
	padding: 10px\9;
	background-color: #f5f5f5\9;
	border-radius: 0;
	-webkit-border-radius: 0;
}
.input label {
	font-weight: 400;
}
input, textarea {
	border-color: transparent\9;
}
.prev, .next {
	position: fixed;
	top: 0;
	
	width: 60px;
	height: 60px;
	
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	
	background-color: #ccc;
	background-color: rgba(0,0,0,.15);
	
	text-decoration: none;
	text-align: center;
	
	line-height: 65px;	
	font-size: 24px;
	
	color: #fff;
	margin: 0 15px;
}
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,.2);
	color: #fff;
}
.prev:active, .next:active {
	background-color: rgba(0,0,0,.25);
}
.prev {
	left: 0;
}
.next {
	right: 0;
}

.pin {
	letter-spacing: 40px;
	height: 80px !important;
	font-size: 40px !important;
	line-height: 40px !important;
	padding: 10px 0;
	text-align: center;
	float: left;
	margin-left: 20px;
}
.pin:first-child {
	margin-left: 0;	
}
/*
.number {
	width: 100px;
	height: 80px;
	float: left;
	text-align: center;
	line-height: 80px;	
	border: solid 0 #eee;
	border-width: 0 0 1px 1px;
	margin-left: -1px;
	font-size: 20px;
	color: #444;
	cursor: pointer;
	text-decoration: none;
}
.number:first-child {
	border-left-width: 0;	
	margin-left: 0;
}
.number:hover {
	color: #000;
}
.number:focus,
.number:active {
	background-color: #eee;	
}

#password .modal-dialog {
}
#pin .modal-dialog {
	width: 360px;
}
#photo .modal-dialog {
	width: 540px;
}*/

.modal-dialog {
	width: 530px;
}
.modal-dialog .row {
	margin-top: 0;
	margin-bottom: 0;
}
.modal-footer {
	margin-top: 0;
}

#show {
	font-size: 80px;	
	line-height: 80px;
	height: 80px;
	display: block;
	width: 100%;
	text-align: center;
	border: solid 0 #eee;
	border-width: 1px 0;
	margin-top: -1px;
	letter-spacing: 20px;
	padding-left: 10px;
}

#login, #select, #attendance, #offline, #download, #pre {
	display: none;	
}

#pre .content,
#login .content,
#select .content,
#download .content {
	width: 360px;
	margin: 180px auto 0;	
	background-color: #fff;
	padding: 8px 24px;
	border-radius: 3px;
}
#pre p,
#login p,
#select p,
#download p {
  font-size: 14px
}

.bootstrap-select button {
	border-radius: 0;
	-webkit-border-radius: 0;
}

.logo {
  text-align: center;
  margin: 0 auto !important;
  padding: 20px 0;
  background-color: rgba(255,255,255,.75);
  
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  
}
.logo img {
	width: 240px;
	height: 80px;
	//background-color: #fff;
}

#select .content {
	width: 720px;	
}

#pre h2,
#login h2,
#select h2 {
	font-size: 24px;
	margin-top: 0;
	margin-bottom: 16px;
	font-weight: 300;
}
#login form input {
	margin-bottom: 10px;	
}

#select .checkbox {
	width: 25%;
	float: left;	
}

#select #options {
	float: right;
	margin-top: -50px;	
}
#select #options a {
	padding-left: 0;
	padding-right: 0;
	margin-left: 10px;	
}
#select #areas {
	clear: both;
	float: left;	
	width: 100%;
}

#offline {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgb(231, 76, 60);
	background-color: rgba(231, 76, 60, .75);
	
	padding: 10px 15px;
	z-index: 200;
	
	text-align: center;
	color: #fff;
	
	display: none;
}

#photo-id {
	width: 1px;
	height: 1px;
	overflow: hidden;
	text-indent: 9999px;	
	position: fixed;
	z-index: -500;
}/*
#photo-background {
	width: 480px;
	height: 360px;
	background-image: url('../../img/attendance/camera.png') center center;	
}*/



.web .tablet, 
.tablet .web {
	display: none;	
}

#powered {
	color: #999;
	font-size: 12px;
	position: fixed;
	bottom: 5px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 100;
}
#powered a {
	text-decoration: none;
	font-weight: bold;
	color: #999;
}

.error input {
	background-color: #FADBD8 !important;	
}

.lowercase {
	text-transform: lowercase;
}

@media all and (max-height: 767px) {
	body {
	  zoom: 0.78;
	}
}

div#photo-cam-placeholder {
	padding: 1em;
	font-weight: bold;
	background-color: #e3e5e5;
	margin: 0;
}

.break-info, .clock-out-info {
	align-items: center;
	padding: 15px;
	border: solid 2px #ddd;
	border-radius: 4px;
	margin: 10px 5px;
}

.break-labels {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 120px);
}

.break-time {
	margin-top: 5px;
	display: inline-block;
}

.clock-out-text {
	display: inline-block;
	width: calc(100% - 120px);
}

.modal-footer {
	border-top: none;
}

.break-clockout-message {
	font-size: 18px;
	font-weight: 500;
}

.break-message {
	color: gray;
}

.multi-break-button {
	width: 120px;
	vertical-align: middle;
	display: inline-block;
}

.form-row.form-row {
  margin-left: -9px;
  margin-right: -9px;
}

.form-row.form-row .select2-choice {
  height: 40px;
  display: flex;
  align-items: center;
}

.break-length{
  width: 100%;
}