.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
    width: 100%;
    max-width: 98%;
}
@media (min-width: 1200px){
	.container,
	.navbar-static-top .container,
	.navbar-fixed-top .container,
	.navbar-fixed-bottom .container {
		width: 1170px;
	}
}

body {
	font-family: Arial,sans-serif;
}

body.timesheets-page,
body.workdays-page {
	overflow: auto;
}

body.timesheets-page .timesheet table {
	height: 100%;
	box-model: border-box;
}

body {
	padding: 20px 0 0;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
	-webkit-touch-callout: none;
}

.timesheet {
	position: relative;
	box-sizing: border-box;
	// padding: 20px 0;
	margin-top: -20px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

	.timesheet table {
		-webkit-tap-highlight-color: black;
	}

.calendar-header {
	overflow: hidden;
}
	.calendar-header h2 {
		text-align: center;
	}
		.calendar-header h2 a {
			width: 70%;
			font-size: inherit;
			line-height: inherit;
			padding: 0 10px;
			vertical-align: top;
			height: 42px;
		}

.calendar-actions {
	text-align: right;
}
	.calendar-actions .btn {
		margin: 14px;
	}

.timesheet .event {
	position: absolute;
	display: none;
	padding: 4px;
	box-sizing: border-box;
	background: #4373e4;
	border-radius: 4px;
	border: 1px solid #182950;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,0.3);
	overflow: hidden;
	cursor: pointer;
	z-index: 1;
}
	.timesheet .event.short {
		z-index: 2;
	}
	.timesheet .event.complete {
		opacity: 0.5;
	}
		.timesheet .event.complete .complete-icon {
			position: absolute;
			bottom: 6px;
			right: 6px;
		}
	.timesheet .event.pending {
		opacity: 0.5;
		cursor: progress;
	}
	.timesheet .event .room {
		float: right;
		max-width: 100%;
		box-sizing: border-box;
		text-align: right;
		font-style: italic;
		overflow: hidden;
	}
	.timesheet .event strong {
		text-transform: capitalize;
		word-break: break-word;
	}
	.timesheet .event p {
		margin: 0;
	}

.timesheet table {
	margin: 0;
}

.timesheet table td,
.timesheet table th {
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
}

.timesheet table .subtable {
	margin-top: 8px;
}
	.timesheet table .subtable td,
	.timesheet table .subtable th {
		background: transparent !important;
	}
	.timesheet table .subtable tr > *:first-child {
		border-left: 0;
	}
	.timesheet table .subtable tr > *:last-child {
		border-right: 0;
	}
	.timesheet table .subtable td,
	.timesheet table .subtable th {
		border-top: 1px solid #e0e0e0;
	}


.timesheet.editable table tbody td.open {
	cursor: pointer;
}
.timesheet table tbody td.closed {
	background: #e0e0e0;
}
.timesheet table tbody td.first-half {
	background: -moz-linear-gradient(top,  rgba(224,224,224,0) 0%, rgba(224,224,224,0) 50%, rgba(224,224,224,1) 51%, rgba(224,224,224,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(224,224,224,0) 0%,rgba(224,224,224,0) 50%,rgba(224,224,224,1) 51%,rgba(224,224,224,1) 100%);
	background: linear-gradient(to bottom,  rgba(224,224,224,0) 0%,rgba(224,224,224,0) 50%,rgba(224,224,224,1) 51%,rgba(224,224,224,1) 100%);
}
.timesheet table tbody td.second-half {
	background: -moz-linear-gradient(top,  rgba(224,224,224,1) 0%, rgba(224,224,224,1) 50%, rgba(224,224,224,0) 51%, rgba(224,224,224,0) 100%);
	background: -webkit-linear-gradient(top,  rgba(224,224,224,1) 0%,rgba(224,224,224,1) 50%,rgba(224,224,224,0) 51%,rgba(224,224,224,0) 100%);
	background: linear-gradient(to bottom,  rgba(224,224,224,1) 0%,rgba(224,224,224,1) 50%,rgba(224,224,224,0) 51%,rgba(224,224,224,0) 100%);
}
.timesheet table th.time {
	text-align: right;
	width: 50px;
}

textarea {
	resize: vertical;
}

input[type=number] {
	text-align: right;
}

input[type=time] {
	box-sizing: border-box;
	height: 30px;
	line-height: 28px;
}

.modal {
	top: 10px;
}

@media (max-width: 767px) {
	body.ios .modal-body {
		max-height: 350px;
	}
}

.modal .span6 .form-horizontal .control-label {
	width: 155px;
}

.modal .span6 .form-horizontal .control-label.text {
	text-align: inherit;
	width: auto;
}

.modal .span6 .form-horizontal .controls {
	margin-left: 168px;
}

.modal .span6 .form-horizontal select,
.modal .span6 .form-horizontal input[type="range"] {
	width: 186px;
}

input.passcode {
	font-size: 80px;
	text-align: center;
	height: 80px;
	line-height: 80px;
}

#modal-alert .message {
	text-align: center;
}

.input-block {
	white-space: nowrap;
	overflow: hidden;
	margin: 0 0 10px;
}
	.input-block input[type="date"] {
		width: 130px;
		margin-bottom: 0;
	}
	.input-block input[type="date"].android,
	.input-block input[type="date"].ios {
		width: 100px;
	}

.timesheet-table .subtotals th,
.timesheet-table .subtotals td {
	border-top: 3px solid #ccc;
}

.dropdown-menu-pointer:before {
	position: absolute;
	top: -7px;
	left: 9px;
	display: inline-block;
	border-right: 7px solid rgba(0, 0, 0, 0);
	border-bottom: 7px solid #ccc;
	border-left: 7px solid rgba(0, 0, 0, 0);
	border-bottom-color: rgba(0, 0, 0, 0.2);
	content: '';
}
.dropdown-menu-pointer:after {
	position: absolute;
	top: -6px;
	left: 10px;
	display: inline-block;
	border-right: 6px solid rgba(0, 0, 0, 0);
	border-bottom: 6px solid #fff;
	border-left: 6px solid rgba(0, 0, 0, 0);
	content: '';
}

body.workdays-page #calendar .fc-event-container {
	position: relative;
	height: 100%;
}
body.workdays-page #calendar .fc-content-skeleton {
	height: 100%;
}
	body.workdays-page #calendar .fc-content-skeleton > table {
		height: 100%;
	}
body.workdays-page #calendar .fc-day-grid-event {
	position: relative;
	height: 100%;
}
body.workdays-page #calendar .fc-event {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	min-height: 32px;
	border: 0 none;
	background: transparent;
	cursor: pointer;
}
	body.workdays-page #calendar .fc-event.active {
		background: #9ae09a url('slot-in.png') no-repeat center center;
		background-size: contain;
	}
	body.workdays-page #calendar .fc-event.inactive {
		background: #e09a9a url('slot-out.png') no-repeat center center;
		background-size: contain;
	}
	body.workdays-page #calendar .fc-event.other-month {
		opacity: 0.3;
	}

h2 select {
	margin: 0;
}

#modal-payment-type .modal-body {
	text-align: center;
}

@media (max-width: 480px) {
	.modal .form-horizontal .control-label {
		float: left;
		text-align: right;
		padding-top: 5px;
		width: 120px;
	}
	.modal .form-horizontal .controls {
		margin-left: 133px;
	}
}

a .icon {
	color: #555;
}

iframe.stripe_checkout_app {
	background: #c7c7c7 !important;
}

body .ios {
	display: none;
}

body.ios .not-ios {
	display: none;
}
body.ios .ios {
	display: inherit;
}