@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/font-awesome/fonts/FontAwesome.otf') format('opentype'), url("../fonts/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=3.0.1") format("embedded-opentype"), url("../fonts/font-awesome/fonts/fontawesome-webfont.woff?v=3.0.1") format("woff"), url("../fonts/fontawesome-webfont.ttf?v=3.0.1") format("truetype");
}

@keyframes blink {
	0% {
		opacity: 0
	}

	39% {
		opacity: 0
	}

	50% {
		opacity: 1
	}
}

@-webkit-keyframes blink {
	0% {
		opacity: 0
	}

	39% {
		opacity: 0
	}

	50% {
		opacity: 1
	}
}

.blink {
	animation: blink 1s step-start 0s infinite;
	-webkit-animation: blink 1s step-start 0s infinite;
}

.navbar {
	-webkit-border-radius: 0;
	-ms-border-radius: 0;
	border-radius: 0;
	z-index: 499;
}

.navbar-inverse {
	border-top-width: 0;
	border-bottom-width: 0;
}

.navbar-header {
	float: left;
}

.navbar-left {
	float: left;
}

.navbar-nav {
	margin: 0;
}

.navbar-nav>li {
	float: left;
}

.navbar-right {
	float: right;
}

.navbar-right .dropdown-menu {
	right: 0;
	left: auto;
}

.dropdown-menu {
	position: absolute;
	margin-top: 0 !important;
	background-color: #f5f5f5 !important;
	border: 1px solid #cccccc !important;
}

.dropdown-menu li a {
	background: #f2f2f2 !important;
	line-height: 1.42857 !important;
	padding: 3px 20px !important;
	white-space: nowrap !important;
	font-weight: normal !important;
	-ms-text-shadow: 0 1px white;
	text-shadow: 0 1px white !important;
}

.dropdown-menu li>a:hover,
.dropdown-menu .dropdown-menu li>a:focus,
.dropdown-menu .dropdown-submenu:hover>a {
	background: #f2f2f2 !important;
	color: #404040 !important;
}

.dropdown-menu li+li a {
	margin-bottom: 0 !important;
}

.dropdown-menu .divider {
	display: list-item;
}

.selected-item {
	color: #6e97aa;
}

.cdrop label {
	color: #fff;
}

.input-mini {
	width: 60px;
}

.form-horizontal .form-group select {
	margin-top: 5px;
}

.modal-body .form-inline {
	margin-bottom: 15px;
}

.main-content {
	padding-left: 0;
}

.vertical-align-top {
	vertical-align: top !important;
}

.no-left-right-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.no-top-bottom-padding {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.align-center {
	text-align: center;
}

.hidden {
	visibility: hidden;
}

.bold {
	font-weight: bolder;
}

#loading-indicator {
	position: fixed;
	left: 50%;
	top: 50px;
	z-index: 9999;
}

/* VALIDATION MESSAGES */
.validation-summary-errors ul {
	color: #ff2222;
	list-style-type: none;
	text-align: center;
}

.field-validation-error {
	color: #ff2222;
}

/* CALENDAR SEARCH */
select {
	height: 26px;
}

.form-search .ui-spinner-button {
	display: inline-block;
	line-height: 26px;
}

.form-search .ui-spinner-button span {
	display: inline-block;
	font-size: x-large;
	height: 26px;
	width: 15px;
	line-height: 26px;
	vertical-align: bottom;
}

.calendar-form .ui-spinner-up.ui-corner-tr {
	padding-left: 2px;
	padding-right: 3px;
}

/* CALENDAR TOOLBAR */
.calendar-table .fc-button-inner {
	border-width: 0;
}

.fc-header-title h2 {
	height: 40px;
	line-height: 40px;
}

.calendar-table .fc-button-prev .fc-button-content,
.calendar-table .fc-button-next .fc-button-content {
	padding: 0 5px;
}

.calendar-table .left-arrows {
	float: left;
}

.calendar-table .right-arrows {
	float: right;
}

/* FULL CALENDAR*/
.fc-border-separate thead tr {
	height: 25px;
	line-height: 25px;
}

/*If first column-names styles need to be changed, do this here  */
.fc-first-column {
	background-color: #a8a8a8;
	color: #fff;
	font-weight: 300;
	vertical-align: middle !important;
	line-height: 27px;
}

.fc-not-editable {
	background: url('../images/bg.png?1378825451');
}

.fc-state-highlight {
	background-color: #a0c8e8;
	width: 19%;
}

th.fc-state-highlight {
	background-color: #869CAE;
}

.fc-event-skin {
	border: 1px solid #ccc;
	background-color: #fff;
	color: #000;
}

.fc-deleted {
        border: 1px solid red;
}

.fc-state-highlight .fc-event-skin {
	border-color: #32779A;
	background-color: #729BB9;
	color: #fff;
}

.fc-state-highlight .staff-schedule-absent {
	background-color: #F2F5A9;
	color: #000;
}

.fc-widget-header {
	position: relative;
}

.header-navigation-allowed .fc-widget-header {
	cursor: pointer;
}

.fc-widget-header .customer-name {
	display: block;
}

.fc-widget-header .activity-toolbar {
	position: absolute;
	right: 0;
	top: 0;
}

.fc-widget-header .activity-toolbar a {
	margin-left: 7px;
	font-size: 15px;
	color: #666;
	vertical-align: middle;
}

.fc-first td.fc-widget-header {
	border-top-width: 0;
}

.fc-widget-content>div {
	padding: 3px 2px 0 2px;
	position: relative;
	overflow: hidden;
}

.fc-event {
	margin-bottom: 3px;
	line-height: 20px;
	padding-left: 5px;
	padding-right: 5px;
}

.fc-event .icon-user,
.fc-event .icon-minus,
.fc-event .icon-info-sign {
	display: inline-block;
	padding-left: 4px;
}

ul[data-control='sortable'] {
	list-style-type: none;
	margin: 0;
	min-height: 22px;
}

.ui-sortable-placeholder {
	border: 1px dotted black;
	visibility: visible !important;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-radius: 2px;
}

.ui-sortable-placeholder * {
	visibility: hidden;
}

.state-highlight {
	background-color: #a0c8e8;
}

/* ENTITY SCHEDULE */
.table-normal.entity-schedule tbody tr:nth-child(even) {
	background-color: inherit;
}

table.entity-schedule {
	table-layout: fixed;
	width: 100%;
}

table.entity-schedule tbody tr.entity-even td {
	background-color: #F3F4F8;
}

.wide-content {
	overflow-x: auto;
}

table.flex-width-table {
	border-right: 1px solid rgb(204, 204, 204);
}

/* STAFF SCHEDULE */
#staff-schedule tr:first-of-type td,
#customer-activity tr:first-of-type td,
#department-activity tr:first-of-type td {
	border-top-width: 0;
}

.staff-schedule-absent {
	background-color: #F2F5A9;
	color: #707070;
}

.fc-first-column {
	background-color: #ececec;
	color: #000000;
}

.fc-widget-header {
	background-color: #ececec;
	color: #000000;
}

.fc-widget-department-name {
	background-color: #ececec;
	color: #000000;
}

/* CUSTOMER SCHEDULE */
.customer-reduced-size {
	width: 50%;
	margin: 0 auto;
	text-align: left;
}

.customer-weekly-schedule-print {
	/*content: url('data:image/gif;base64,R0lGODlhEAAQALMAAAB7AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAEAAQAAAEKRDISau9NujNNQ2fJ4ETWX6oWameOrJtCJ8obQNsdrvj1Ym+XwdDLF4iADs=') /*../images/xls.gif;*/
	content: url('../images/xls.gif');
	background-repeat: no-repeat;
	padding-right: 6px;
	padding-top: 6px;
	float: right;
	cursor: pointer;
}

.customer-weekly-schedule-assign-to-me {
	width: 18px;
	height: 18px;
	margin-right: 3px;
	margin-top: 5px;
	float: right;
	cursor: pointer;
	border: 1px solid #aaa;
}

/* DIALOGS */
#modal-timeout,
#modal-error {
	margin: auto;
}

#modal-timeout,
#modal-timeout .modal-dialog,
#modal-error,
#modal-error .modal-dialog {
	width: 300px;
}

#modal-timeout .modal-footer,
#modal-timeout .modal-body,
#modal-error .modal-footer,
#modal-error .modal-body {
	text-align: center;
}

body {
	position: relative;
}

.modal-body {
	max-height: 600px;
	overflow-y: auto;
}

#staffSubstituteForm .modal-body {
	max-height: 500px;
	overflow-y: auto;
}

.modal-body .control-group:last-child {
	margin-bottom: 0;
}

.modal {
	z-index: 500 !important;
	overflow: hidden;
}

.modal-backdrop {
	z-index: 200 !important;
}

.datepicker {
	z-index: 3000;
}

/* HEADER */
.area-top {
	margin-bottom: 0;
}

.header-container {
	height: 50px;
	top: 0;
	left: 0;
	position: fixed;
	width: 100%;
	z-index: 101;
}

.header-container+div.content {
	padding-top: 50px;
}

div.content>div.container-fluid {
	height: 36px;
	top: 50px;
	left: 0;
	position: fixed;
	width: 100%;
	z-index: 100;
	background: url('../images/bg.png');
}


#planning-container>form {
	height: 100px;
	top: 50px;
	left: 0;
	position: fixed;
	width: 100%;
	z-index: 100;
	background: url('../images/bg.png');
}

.dashbord-content {
	padding-top: 80px;
}

#planning-container .dashbord-content.with-top-padding {
	padding-top: 100px;
}

.dashbord-content.no-padding {
	padding-top: 0px !important;
}

.form-inline .control-group {
	float: left;
	margin-right: 20px;
	margin-bottom: 0;
}

.review {
	padding-top: 0;
	padding-bottom: 0;
}

.title {
	font-size: 17px;
	font-weight: 500;
}

/* day activiy*/
#staff-day-activity table td,
#customer-day-activity table td {
	min-width: 100px;
}

/* ACCORDION*/
.accordion-group .accordion-heading {
	background: #ada7a7;
	background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
	background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0, #e7e0e0), color-stop(100%, #ada7a7));
	background-image: -webkit-linear-gradient(top, #e7e0e0, #ada7a7);
	background-image: -moz-linear-gradient(top, #e7e0e0, #ada7a7);
	background-image: -o-linear-gradient(top, #e7e0e0, #ada7a7);
	background-image: linear-gradient(top, #e7e0e0, #ada7a7);
}

.accordion-inner {
	padding: 0;
	border-top-width: 0;
}

.accordion-group .accordion-heading .accordion-toggle {
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 400;
	padding-top: 4px;
	padding-bottom: 4px;
}

.accordion-heading [data-toggle="collapse"]:after {
	font-family: 'FontAwesome';
	content: "-";
	/*"\e082";    minus FontAwesome*/
	/*font-family: 'Glyphicons Halflings';*/
	/*content: "\e072";   ;  "play" icon */
	float: right;
	color: #32779A;
	/*#b0c5d8;*/
	font-size: 24px;
	line-height: 18px;
	font-weight: bold;
}

.accordion-heading [data-toggle="collapse"].collapsed:after {
	content: "+";
}

.navbar-notification {
	font-size: 16px;
	padding: 15px 5px !important;
}

.navbar-notification-inner {
	background: rgba(0, 0, 0, 0.5);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);
	padding: 1px 8px;
	border-radius: 4px;
}

.navbar-notification-inner i {
	color: #999;
}

.navbar-notification-inner i.yellow {
	color: #FFD700;
}

.navbar-notification-text {
	font-size: 14px;
	color: #f1f0ef;
	margin-right: 3px;
}

@media (max-width: 650px) {
	.fc-month {
		display: none;
	}

	.fc-header-title h2 {
		line-height: 20px;
		height: 20px;
	}

	.fc-event {
		margin-bottom: 0;
		line-height: 10px;
		padding-left: 0;
		padding-right: 0;
	}

	.fc-widget-content>div {
		padding: 1px 1px 0 1px;
		position: relative;
		overflow: hidden;
	}

	.modal {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		position: absolute;
		width: 100%;
		left: 0;
	}

	.modal-body {
		max-height: 9999px !important;
		padding: 5px !important;
		overflow-x: hidden;
	}

	#staffSubstituteForm .modal-body {
		/*need to check for other popups*/
		max-height: 300px !important;
	}

	.modal-content {
		overflow-y: scroll;
	}

	.navbar-collapse {
		padding-left: 0;
		padding-right: 0;
	}

	.menu-avatar {
		display: none;
	}

	.dropdown-avatar {
		margin-top: 7px;
	}

	.form-horizontal .form-group {
		margin-bottom: 1px !important;
	}
}

@media (max-width: 690px) {

	.calendar-table .left-arrows,
	.calendar-table .right-arrows {
		height: auto;
	}

	.calendar-table .fc-button-inner {
		display: block;
	}
}

@media (max-width: 785px) {
	.header-container {
		height: auto;
		position: static;
	}

	.header-container+div.content {
		padding-top: 0;
	}

	div.content>div.container-fluid {
		height: auto;
		position: static;
		display: none;
	}

	#planning-container {
		padding-top: 0;
	}

	#planning-container>form {
		height: auto;
		position: static;
	}

	.dashbord-content {
		padding-top: 0;
	}

	.navbar-header {
		display: none !important;
	}

	.navbar .nav.pull-right {
		float: right;
	}

	.form-inline .control-group {
		float: none;
		margin-right: 0;
		margin-bottom: 10px;
	}

	.form-inline .control-group:last-of-type {
		margin-bottom: 0;
	}

	.form-search .ui-spinner-button {
		margin-left: 10px;
	}

	.input-mini {
		width: 50px;
	}
}

@media (max-width: 835px) {
	.calendar-table .fc-first .fc-button-content {
		font-size: large;
	}

	.calendar-table .left-arrows,
	.calendar-table .right-arrows {
		float: none;
		height: 20px;
	}

	.calendar-table .fc-button-content {
		line-height: 20px;
		height: 20px;
	}

	.calendar-table .fc-button-inner {
		float: none;
		display: inline-block;
		text-align: center;
		margin-bottom: 7px;
	}
}

@media (max-width: 1175px) {
	.calendar-table .fc-first .fc-button-content {
		padding: 0;
	}
}

#staffSubstituteForm select {
	width: 125px;
}

#staffSubstituteForm .add-substitutor {
	width: 120px;
}


/* TOTAL SCHEMA REPORT */
.total-schema-container {
	overflow-x: auto;
	overflow-y: hidden;
}

.total-schema-container__inner {
	/*min-width: 1695px;*/
	/*min-width: 1350px;*/
}

.total-schema td {
	vertical-align: middle;
}

.thick-border.left {
	border-left: 2px solid #000 !important;
}

.thick-border.top {
	border-top: 2px solid #000 !important;
}

.thick-border.right {
	border-right: 2px solid #000 !important;
}

.thick-border.bottom {
	border-bottom: 2px solid #000 !important;
}

/* TOTAL SCHEMA NEW */
.table-fixed-header {
	position: relative;
	height: 150px;
}

.table-fixed-header__header-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	overflow: hidden;
}


.table-fixed-header__row-container {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	overflow-x: hidden;
	overflow-y: scroll;
}

.table-fixed-header__header tbody {
	visibility: hidden;
}


body.modal-open {
	margin-right: 0px !important;
	padding-right: 0px !important;
	overflow: auto;
}

.glyphicon.glyphicon-repeat {
	font-size: 11px;
}

@media screen and (max-width: 768px) {
  .hidden-xs.active th,
  .hidden-xs.active td,
  .hidden-sm.active th,
  .hidden-sm.active td {
    display: table-cell;
  }

}

/* Putting this here because in pages/employees/toolbar.scss it doesn't get applied */
/* TODO: look into this */
[data-control="edit-mode-button"] .swith-to-selected {
	display: none;
}

[data-control="edit-mode-button"].active .swith-to-all {
	display: none;
}

[data-control="edit-mode-button"].active .swith-to-selected {
	display: inline-block;
}
