html,
body {
	height: 100%;
}
.controls > .row {
	margin-left: 5px;
	margin-right: 5px;
}
.btn.pull-right + .btn.pull-right {
	margin-right: 10px;
}
.navbar .navbar-brand {
	min-width: initial;
}
#main-container,
#main-content {
	min-height: 100vh;
	box-sizing: border-box;
}
#main-container {
	background: #e9f0f9;
}
.navbar.navbar-fixed ~ #main-container {
	margin-top: 0;
	padding-top: 40px;
}
.nav-list .search-pan input {
	width: 140px;
}
.search-form.active,
.search-form.active input {
	background-color: #0e6390;
}
.search-form .dropdown-menu {
	display: block;
	position: fixed;
	max-height: 495px;
	overflow: auto;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 99;
}
.search-form .dropdown-menu > li > a {
	white-space: normal;
}
.search-form .dropdown-menu > li > a > [class*="fa-"] {
	font-size: 33px;
	float: left;
}
.search-form .dropdown-menu > li > a > span {
	display: block;
	padding-left: 35px;
}
.search-form .dropdown-menu .focus {
	background-color: #efefef;
	color: #444;
}
.search-form .dropdown-menu strong {
	font-size: 1.1em;
}
@media (max-width: 767px) {
	.dropdown-navbar {
		min-width: 180px;
	}
}
.notifications .dropdown-navbar {
	max-height: 500px;
	overflow-y: auto;
	overflow-x: hidden;
}
.notifications .dropdown-navbar::-webkit-scrollbar {
	-webkit-appearance: none;
}
.notifications .dropdown-navbar::-webkit-scrollbar:vertical {
	width: 11px;
}
.notifications .dropdown-navbar::-webkit-scrollbar:horizontal {
	display: none;
}
.notifications .dropdown-navbar::-webkit-scrollbar-thumb {
	border-radius: 8px;
	border: 2px solid #fff;
	background-color: rgba(0, 0, 0, .5);
}
.dropdown-navbar .notify p {
	display: block;
	margin-left: 27px;
}
.dropdown-navbar .notify.new {
	background-color: #eeeff3;
}
.dropdown-navbar .notify [class*="fa-"] {
	padding: 6px;
	width: 22px;
	height: 22px;
	font-size: 11px;
	margin-top: 5px;
}
.dropdown-navbar .notify .date {
	display: block;
	color: #666;
}
.dropdown-menu .nav-header a {
	color: #fff;
	margin-top: 7px;
}
.dropdown-menu .nav-header a:hover {
	color: #fff;
	text-decoration: underline;
}
#main-content .page-title + .row .nav-tabs {
	margin-top: 15px;
}
.login-page:before {
	height: 100%;
	background: #2ea6ce;
	background: -moz-linear-gradient(top,  #2ea6ce 0%, #4bb6d8 5%, #5fc1df 11%, #6ac7e3 16%, #70cae5 22%, #70cae5 27%, #48b4d7 67%, #2ea6ce 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2ea6ce), color-stop(5%,#4bb6d8), color-stop(11%,#5fc1df), color-stop(16%,#6ac7e3), color-stop(22%,#70cae5), color-stop(27%,#70cae5), color-stop(67%,#48b4d7), color-stop(100%,#2ea6ce));
	background: -webkit-linear-gradient(top,  #2ea6ce 0%,#4bb6d8 5%,#5fc1df 11%,#6ac7e3 16%,#70cae5 22%,#70cae5 27%,#48b4d7 67%,#2ea6ce 100%);
	background: -o-linear-gradient(top,  #2ea6ce 0%,#4bb6d8 5%,#5fc1df 11%,#6ac7e3 16%,#70cae5 22%,#70cae5 27%,#48b4d7 67%,#2ea6ce 100%);
	background: -ms-linear-gradient(top,  #2ea6ce 0%,#4bb6d8 5%,#5fc1df 11%,#6ac7e3 16%,#70cae5 22%,#70cae5 27%,#48b4d7 67%,#2ea6ce 100%);
	background: linear-gradient(to bottom,  #2ea6ce 0%,#4bb6d8 5%,#5fc1df 11%,#6ac7e3 16%,#70cae5 22%,#70cae5 27%,#48b4d7 67%,#2ea6ce 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea6ce', endColorstr='#2ea6ce',GradientType=0 );
}
.login-page img {
	position: relative;
	display: block;
	margin: 20px auto 70px;
	z-index: 2;
	max-width: 100%;
}
#main-content .nav-tabs {
	margin: 30px 0 15px;
	z-index: 1;
}
.modal-header .label {
	margin: 0 15px;
}
.modal-header .label + .label {
	margin-right: 0;
}
.modal-body .tabbable {
	margin-top: 0;
	margin-bottom: 0;
}
.modal-body .tabbable .tab-content {
	border: 0;
	padding: 16px 0;
}
.gritter-item-wrapper {
	cursor: pointer;
}
#order-cancellation .form-group {
	margin-bottom: 6px;
}
.notes .frame {
	overflow: auto;
	overflow-y: scroll;
}
/* Always show scrollbar */
.notes .frame::-webkit-scrollbar {
	-webkit-appearance: none;
}
.notes .frame::-webkit-scrollbar:vertical {
	width: 11px;
}
.notes .frame::-webkit-scrollbar:horizontal {
	height: 11px;
}
.notes .frame::-webkit-scrollbar-thumb {
	border-radius: 8px;
	border: 2px solid #fff;
	background-color: rgba(0, 0, 0, .5);
}
.notes .frame::-webkit-scrollbar-track { 
	background-color: #fff; 
	border-radius: 8px; 
}
.usernotes .frame {
	max-height: 388px;
}
.clientnotes .frame,
.comments-client .frame {
	max-height: 270px;
}
.ordernotes .frame {
	max-height: 500px;
}
.instructions .frame {
	max-height: 400px;
}

.things-to-do > li i {
	text-align: center;
}

.messages {
	padding: 0;
}
.messages > li > div {
	margin-left: 0;
}
.messages-avatars > li > div {
	margin-left: 80px;
}
.messages-input-form .input input[type="datetime-local"] {
	display:block;
	width: 210px;
	height: 30px;
	padding: 4px 6px;
	border:0;
	margin-bottom:0;
}
.messages > li > div .fa-times {
	margin-top: 5px;
	padding: 3px;
	cursor: pointer;
	color: #999;
}
.messages > li > div .fa-times:hover {
	color: #393939;
}
.form-wizard .steps-fill .step {
	cursor: default;
}

.jqcloud {
	height: 160px;
}

.bootstrap-datetimepicker-widget .timepicker {
	margin: 10px 0;
}
.bootstrap-datetimepicker-widget td a {
	background: transparent;
}
.bootstrap-datetimepicker-widget td span {
	height: 30px;
	line-height: 30px;
}
.bootstrap-datetimepicker-widget td span:hover {
	background: transparent;
}
.table-legend > tbody > tr > td {
	border: 0;
}
.table-legend > tbody > tr:nth-child(even) > td {
	background: transparent;
}
.linethrough {
	text-decoration: line-through;
}
.client-products-tab .btn-link {
	margin-bottom: 5px;
}
#modal textarea.form-control {
	resize: vertical;
}
#main-content .nav-tabs-calendar {
	margin: -74px 0 5px;
	border: 0;
}
.fc-header {
	z-index: 99;
	top: 40px;
	background: rgba(255, 255, 255, 0.9);
}
.fc-header h2 {
	-webkit-transition: font-size 150ms ease;
	-moz-transition: font-size 150ms ease;
	-ms-transition: font-size 150ms ease;
	-o-transition: font-size 150ms ease;
	transition: font-size 150ms ease;
}
.fc-header.sticky {
	position: fixed;
}
.fc-header.sticky .fc-button {
	margin-top: 6px;
	margin-bottom: 6px;
}
.fc-header.sticky h2 {
	margin-top: 10px;
	font-size: 20px;
}
.fc-view {
	overflow: visible;
}
.fc-event {
	border: 0;
	border-radius: 0 !important;
	font-size: 0.9em;
}
#external-events .label {
	display: block;
	font-size: 0.9em;
	margin: 0 0 5px;
	text-align: left;
}
.fc-event-time,
.fc-event-title {
	display: block;
	white-space: normal;
	text-align: left;
}
.fc-grid .fc-event-time {
	font-weight: normal;
}
.fc-event-title .comment {
	display: block;
	margin: 5px 0 2px;
}
.label-light-pink {
	background-color: #f398bb;
	border: 1px dashed #fff;
}
.label-light-green {
	background: #dfd;
	color: #000;
}
.label-red-border {
	border-left-style: solid;
	border-left-color: #f00;
	border-left-width: 5px !important;
}
.label-full-red-border {
	border-style: solid;
	border-color: #f00;
	border-width: 3px !important;
}
.red-border {
	border-style: solid;
	border-color: #f00;
	border-width: 3px !important;
}
.watchlist {
	font-weight: bold;
	background-color: #faf72b;
	color: #000;
}
.watchlistyml {
	background-color: #faf72b;
}
.label-yellow-border {
	border-left-style: solid;
	border-left-color: #ffff00;
	border-left-width: 5px !important;
}
.label-gold {
	background-color: #ccac00;
}
.calendars {
	position: relative;
}
.calendars .week {
	position: absolute;
	left: 15px;
	top: 0;
	right: 0;
}
.calendars > .row:nth-child(2) > .col-md-2 {
	margin-top: 40px;
}
.calendars .row > :first-child {
	display: table;
}
.calendars .row > :first-child span {
	display: table-cell;
	vertical-align: middle;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-break: break-all;
}
.calendars .row > :first-child a {
	color: #393939;
	font-weight: bold;
	font-size: 1.1em;
}
.calendars .row > :first-child a:hover {
	color: #428bca;
}
.calendars .row > :first-child em {
	font-style: normal;
	margin-left: 12px;
}
.calendars .label-info {
	background: #e9f0f9;
	color: #000;
}
.calendars .label-gap {
	background: none;
	color: #000;
	border-top: 1px dashed #000;
	border-bottom: 1px dashed #000;
	padding-top: 5px;
	padding-bottom: 5px;
}
.calendars .label-gap .fc-event-title {
	text-align: center;
}
#loading {
	display: none;
}
.spinner-icon {
	width: 14px;
	height: 14px;

	border: solid 2px transparent;
	border-top-color: #fff;
	border-left-color: #fff;
	border-radius: 10px;

	-webkit-animation: nprogress-spinner 400ms linear infinite;
	-moz-animation:    nprogress-spinner 400ms linear infinite;
	-ms-animation:     nprogress-spinner 400ms linear infinite;
	-o-animation:      nprogress-spinner 400ms linear infinite;
	animation:         nprogress-spinner 400ms linear infinite;
}

#modal .spinner-icon,
#submodal .spinner-icon,
.popover .spinner-icon {
	border-top-color: #0e6390;
	border-left-color: #0e6390;
}

#contactsheetform .spinner-icon,
#downloadform .spinner-icon,
.submit-group .spinner-icon,
#csvform .spinner-icon {
	float: right;
	margin: 9px 0;
}

.table .word-break {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-break: break-all;
}
.table .cancelled td,
.invoice dl .cancelled {
	text-decoration: line-through;
}

.popover .btn + .btn {
	margin-left: 10px;
}

@-webkit-keyframes nprogress-spinner {
	0%   { -webkit-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes nprogress-spinner {
	0%   { -moz-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes nprogress-spinner {
	0%   { -o-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes nprogress-spinner {
	0%   { -ms-transform: rotate(0deg);   transform: rotate(0deg); }
	100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes nprogress-spinner {
	0%   { transform: rotate(0deg);   transform: rotate(0deg); }
	100% { transform: rotate(360deg); transform: rotate(360deg); }
}

.alert .form-group {
	margin-bottom: 0;
}

.alert-hovering {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 9999;
	width: 350px;
	margin-left: -175px;
	text-align: center;
}
.alert-hovering a {
	display: inline-block;
	margin-left: 7px;
}

.fc-day-header,
.fc-event-job,
.fc-event-event {
	cursor: pointer;
}
#photographer-map {
	width: 100%;
	height: 600px;
	text-align: center;
}
#invoice-all .spinner-icon,
.spinner-icon.huge {
	width: 56px;
	height: 56px;
	border-width: 4px;
	border-radius: 48px;
	margin: 80px auto;
}
#drop-target {
	width: 100%;
	height: 300px;
	line-height: 300px;
	margin: 0 0 20px;
	background: #f5f5f5;
	border: 3px dashed #ddd;
	text-align: center;
	color: #999;
	font-size: 20px;
}

#drop-target.dragover {
	border-color: #333;
}

#drop-target.loading {
	line-height: normal;
}
#drop-target .circle-stats-item {
	margin-top: 75px;
	line-height: 1em;
}

#uploader-loading {
	display: table;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 2.5em;
}
#uploader-loading span {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
#uploader-loading em {
	font-style: normal;
}

#modal .box-title {
	z-index: 5;
}

.chosen-container-multi .chosen-choices li.search-field:first-child {
	width: 100%;
}

.chosen-container-multi .chosen-choices li.search-field:first-child input[type=text] {
	width: 100% !important;
	height: 23px;
}

div.tagsinput {
	height: 85px !important;
}

.input-group-btn .form-control {
	min-width: 60px;
}

#order-files-tab .check-ready,
#order-files-tab .check-problem {
	margin-right: 10px;
}

#order-files-tab .gallery {
	margin: 0 -9px;
}
.box-tool .edit-tags-group {
	display: inline-block;
}
.box-title .badge {
	margin-left: 8px;
}
.gallery > li {
	display: block;
	float: left;
	width: 189px;
	height: 189px;
	margin: 2px;
}
.gallery.editable > li > a > div > i {
	z-index: 1;
}
.gallery > li.selected > a > div:after,
.gallery.editable > li > a > div > .fa-check,
.gallery.editable .circlebox {
	z-index: 2;
}
.gallery > li > a > div > .details,
.gallery > li > a > div > .preview,
.gallery > li > a > div > .download {
	z-index: 3;
}
.gallery .typebox {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 189px;
	height: 189px;
	text-align: center;
}
.gallery > li .spinner-icon {
	display: none;
	margin: 0 auto;
}
.gallery > .loading .spinner-icon {
	display: block;
}
.gallery > li > a,
#order-files-tab .edited-gallery .gallery > li > a {
	cursor: pointer;
}
.gallery.disabled > li > a,
#order-files-tab .edited-gallery .gallery.disabled > li > a,
.photoeditor .gallery > li > a {
	cursor: default;
}
.gallery > li > a > div {
	display: table;
	width: 100%;
	height: 100%;
}
.gallery > li > a > div > .thumb {
	display: table-cell;
	vertical-align: middle;
	font-size: 1.2em;
	text-align: center;
	width: 100%;
}
.gallery > li > a > div > i,
.gallery .typebox {
	padding: 10% 5%;
	color: #fff;
	text-align: center;
	font-style: normal;
	font-weight: bold;
	word-wrap: break-word;
	-webkit-transition: all 0.2s ease;
			transition: all 0.2s ease;
	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.gallery > li > a > div > i {
	background: rgba(34, 34, 34, 0.5);
}
.gallery .typebox .fa {
	text-shadow: 0 0 4px #000;
}
.gallery .typed .typebox {
	display: table;
}
.gallery > li:hover > a > div > i {
	opacity: 1;
	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
.gallery .typebox > .fa {
	display: none;
}
.gallery > li > a > div > .fa-check {
	display: none;
	position: absolute;
	right: 6px;
	top: 6px;
	padding: 2px;
	border-radius: 4px;
	color: #fff;
	background: #0090ff;
}
.gallery > li.selected > a > div > .fa-check {
	display: block;
}
.gallery img {
	display: block;
	max-width: 100%;
}
.gallery .typebox > .fa {
	vertical-align: middle;
}
.gallery .typed.photo .fa-camera,
.gallery .typed.epc .fa-align-left,
.gallery .typed.floor-plan .fa-arrows-h {
	display: table-cell;
}
.gallery .fa.hover {
	color: #f00;
}
.gallery > li.selected > a > div:after,
.gallery > li.selected:hover > a > div > i,
.gallery > li.selected .thumb > *,
.gallery > li.selected.typed .typebox {
	border-radius: 8px;
}
.gallery > li.selected > a > div:after {
	display: block;
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 7px solid #0090ff;
}
.gallery > li {
	overflow: visible;
}
.gallery .thumb > * {
	display: block;
	margin: 0 auto;
}
.gallery > li > a > div > .details,
.gallery > li > a > div > .preview,
.gallery > li > a > div > .download {
	display: none;
	position: absolute;
	top: -5px;
}
.gallery > li > a > div > .details {
	left: 20px;
}
.gallery > li > a > div > .preview {
	left: 45px;
}
.gallery > li > a > div > .download {
	left: -5px;
}
.gallery > li:hover > a > div > .details,
.gallery > li:hover > a > div > .preview,
.gallery > li:hover > a > div > .download {
	display: block;
}
.gallery .circlebox {
	position: absolute;
	left: 44px;
	top: 50px;
	width: 100px;
	text-align: center;
}
.gallery > li:not(.disabled) .circlebox .btn:hover {
	background-color: #f00;
}
.gallery .btn-circle {
	position: relative;
}
.gallery .btn-label {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 4px;
	width: 100%;
	color: #222;
	text-shadow: -1px -1px 0 #fff,
		1px -1px 0 #fff,
		-1px 1px 0 #fff,
		1px 1px 0 #fff; 
	font-style: normal;
	font-weight: bold;
	text-align: center;
}
#order-correspondence-tab dl {
	margin-right: 20px;
}
#order-correspondence-tab dt {
	width: 110px;
}
#order-correspondence-tab dd {
	margin-left: 130px;
}
#order-correspondence-tab .tl-content {
	min-width: 321px;
}
#btn-scrollup {
	z-index: 99;
}

.game {
	display: flex;
	position: relative;
	width: 80%;
	margin: 0 auto;
	padding: 20px 30px;
	border-radius: 50%/5%;
	background: #000;
	color: #fff;
}
.game:before {
	content: "";
	background: #000;
	position: absolute;
	top: 4.5%;
	bottom: 4.5%;
	left: -5%;
	right: -5%;
	border-radius: 5%/50%;
}
.canvas-wrapper,
.leaderboard {
	flex-grow: 1;
}
.canvas {
	width: 460px;
	height: 320px;
	margin-right: 50px;
}
.leaderboard {
	position: relative;
}
.leaderboard table {
	width: 300px;
	margin-top: 50px;
}
