@charset "UTF-8";
@font-face {
  font-family: "HelveticaNeueLTStdThin";
  src: url("../fonts/helveticaneueltstd-th.eot");
  src: url("../fonts/helveticaneueltstd-th.eot?#iefix") format("embedded-opentype"), url("../fonts/helveticaneueltstd-th.woff") format("woff"), url("../fonts/helveticaneueltstd-th.ttf") format("truetype"), url("../fonts/helveticaneueltstd-th.svg#helveticaneueltstd-th") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "HelveticaNeueLTStd";
  src: url("../fonts/helveticaneueltstd-roman.eot");
  src: url("../fonts/helveticaneueltstd-roman.eot?#iefix") format("embedded-opentype"), url("../fonts/helveticaneueltstd-roman.woff") format("woff"), url("../fonts/helveticaneueltstd-roman.ttf") format("truetype"), url("../fonts/helveticaneueltstd-roman.svg#helveticaneueltstd-roman") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "HelveticaNeueLTStd";
  src: url("../fonts/helveticaneueltstd-bd-webfont.eot");
  src: url("../fonts/helveticaneueltstd-bd-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/helveticaneueltstd-bd-webfont.woff") format("woff"), url("../fonts/helveticaneueltstd-bd-webfont.ttf") format("truetype"), url("../fonts/helveticaneueltstd-bd-webfont.svg#HelveticaNeueLTStd75Bold") format("svg");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "MyriadPro";
  src: url("../fonts/myriadpro-regular.eot");
  src: url("../fonts/myriadpro-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/myriadpro-regular.woff") format("woff"), url("../fonts/myriadpro-regular.ttf") format("truetype"), url("../fonts/myriadpro-regular.svg#MyriadProRegular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "MyriadPro";
  src: url("../fonts/myriadpro-boldsemiext.eot");
  src: url("../fonts/myriadpro-boldsemiext.eot?#iefix") format("embedded-opentype"), url("../fonts/myriadpro-boldsemiext.woff") format("woff"), url("../fonts/myriadpro-boldsemiext.ttf") format("truetype"), url("../fonts/myriadpro-boldsemiext.svg#MyriadProBold") format("svg");
  font-weight: bold;
  font-style: normal;
}
/* --- Icon font --- */
@font-face {
  font-family: "fontello";
  src: url("../fonts/fontello.eot?96064624");
  src: url("../fonts/fontello.eot?96064624#iefix") format("embedded-opentype"), url("../fonts/fontello.woff?96064624") format("woff"), url("../fonts/fontello.ttf?96064624") format("truetype"), url("../fonts/fontello.svg?96064624#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?96064624#fontello') format('svg');
  }
}
*/
[class^=icon-]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  /* opacity: .8; */
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: 0.2em;
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-add:before {
  content: "";
}

/* '' */
.icon-pencil:before {
  content: "";
}

/* '' */
.icon-cancel:before {
  content: "";
}

/* '' */
.icon-list:before {
  content: "";
}

/* '' */
/* --- Colors --- */
/* --- Layout --- */
.toolbox {
  float: right;
  background-color: #f7f7f7;
  padding: 0.75em 0 0.75em 0.75em;
}
.toolbox a {
  margin-right: 1.5em;
  color: #3399ff;
  text-decoration: none;
}
.toolbox a:hover {
  color: #336699;
}

header .toolbox {
  background-color: transparent;
}

.section-toolbox {
  float: right;
  margin-right: 1em;
}

.col.stock-details-box {
  border-left: 1px solid #ccc;
  padding-left: 2em;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  max-width: 800px;
  bottom: 0;
  z-index: 300;
  background-color: #fff;
  box-shadow: 4px 0 12px 4px rgba(0, 0, 0, 0.15);
  padding: 2em 4em;
}

/* --- Defaults --- */
body {
  font-family: "Noto Sans", Verdana, Arial, sans-serif;
  font-size: 13px;
  color: #555;
}

/* --- Grid --- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.outer-row {
  margin: 0 auto;
  padding: 0 2em 0 2em;
}

.row {
  position: relative;
  width: 100%;
}

@media only screen and (min-width: 1400px) {
  .outer-row {
    margin: 0 auto;
  }

  .row {
    max-width: 90%;
    padding: 0;
  }
}
.row:before, .row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.row.inner-row {
  padding: 0;
  max-width: 100%;
}

[class*=col-] {
  float: left;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  background-clip: padding-box !important;
  width: 100%;
}

.col-padding {
  padding-left: 1em;
  padding-right: 1em;
}

.col-float-right {
  float: right;
}

.col-85 {
  width: 85%;
}

.col-80 {
  width: 80%;
}

.col-20 {
  width: 20%;
}

.col-15 {
  width: 15%;
}

.col-35 {
  width: 35%;
}

.col-30 {
  width: 30%;
}

.col-pad-right {
  padding-right: 2em;
}

.col-min-300 {
  min-width: 300px;
}

.grid {
  display: grid;
}

.grid-3-col {
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 4em;
}

.grid-2-col {
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 4em;
}

/* 3. 12 Column Grid 920px - Infinity
-----------------------------------------------------------------------------

Span 1: 8.33333333333%
Span 2: 16.6666666667%
Span 3: 25.0%
Span 4: 33.3333333333%
Span 5: 41.6666666667%
Span 6: 50.0%
Span 7: 58.3333333333%
Span 8: 66.6666666667%
Span 9: 75.0%
Span 10: 83.3333333333%
Span 11: 91.6666666667%
Span 12: 100%

----------------------------------------------------------------------------- */
/*
Add your semantic classnames in alongside their corresponding spans here. e.g.

.span_3,
.my_semantic_class_name {
	...
}
*/
@media only screen and (min-width: 900px) {
  .col-1 {
    width: 8.3333333333%;
  }

  .col-2 {
    width: 16.6666666667%;
  }

  .col-3 {
    width: 25%;
  }

  .col-4 {
    width: 33.3333333333%;
  }

  .col-5 {
    width: 41.6666666667%;
  }

  .col-6 {
    width: 50%;
  }

  .col-7 {
    width: 58.3333333333%;
  }

  .col-8 {
    width: 66.6666666667%;
  }

  .col-9 {
    width: 75%;
  }

  .col-10 {
    width: 83.3333333333%;
  }

  .col-11 {
    width: 91.6666666667%;
  }

  .col-12 {
    width: 100%;
  }
}
/* --- Popup --- */
.lty-popup-overlay, .page-block {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 200;
}

.lty-popup-container {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #fff;
  z-index: 200;
}

.lty-popup-container .lty-popup-title {
  background-color: #eee;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
}
.lty-popup-container h2 {
  font-size: 1.25rem;
  font-family: MyriadPro;
  color: #3399ff;
  font-weight: bold;
}
.lty-popup-container i.fa-window-close {
  float: right;
  font-size: 2rem;
  color: #3399ff;
}
.lty-popup-container .lty-popup-content {
  padding: 1rem 2rem 2rem 2rem;
}

@media only screen and (max-width: 1199px) {
  .lty-popup-overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .lty-popup-container {
    top: 0;
    bottom: 0;
    overflow: scroll;
  }
}
@media only screen and (min-width: 1200px) {
  .lty-popup-container {
    position: fixed;
    top: 25%;
    width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 0 0 12px 4px rgba(0, 0, 0, 0.2);
  }
}
/* --- Header --- */
/* --- Header --- */
.header-grid {
  display: grid;
  grid-template-columns: 250px 1fr 400px;
  margin-bottom: 1em;
  align-items: center;
}

header {
  background: #cee7ff;
  background: -moz-linear-gradient(top, #cee7ff 0%, #ffffff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cee7ff), color-stop(100%, #ffffff));
  background: -webkit-linear-gradient(top, #cee7ff 0%, #ffffff 100%);
  background: -o-linear-gradient(top, #cee7ff 0%, #ffffff 100%);
  background: -ms-linear-gradient(top, #cee7ff 0%, #ffffff 100%);
  background: linear-gradient(to bottom, #cee7ff 0%, #ffffff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#cee7ff", endColorstr="#ffffff",GradientType=0 );
  padding-top: 1em;
  border-bottom: 1px solid #DDDDDD;
  margin-bottom: 2em;
  /*
  nav {
  	position: absolute;
  	bottom: 1px;
  	right: 20%;
  	display: inline-block;

  	li {
  		float: left;
  		display: inline-block;
  		margin-right: 0.5em;

  		a {
  			display: inline-block;
  			font-size: 13px;
  			color: #888;
  			text-decoration: none;
  			padding: 0 1em 0.5em 1em;
  			border-bottom: 2px solid #fff;

  			&.current {
  				font-weight: bold;
  				border-bottom: 2px solid $dark_yellow;
  			}

  			&:hover {
  				color: $std_blue;
  				border-bottom: 2px solid $std_blue;
  			}
  		}
  	}
  }
  */
}
header h1 {
  font-family: MyriadPro;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 0;
  display: inline-block;
  color: #97CBFF;
  line-height: 2em;
  background: transparent url(../img/latunyi_logo.png) no-repeat left top;
  background-size: contain;
  padding-left: 2.5em;
}
header .user-info {
  font-size: 11px;
}
header .user-info i {
  font-size: 13px;
  margin-right: 0.3em;
}
header .user-info a {
  color: #336699;
  text-decoration: none;
}

nav {
  display: flex;
  justify-items: center;
  align-items: stretch;
}
nav > a {
  display: flex;
  align-items: center;
  padding: 1em 0.75em;
  text-decoration: none;
  color: #3399ff;
}
nav > a.current-page {
  font-weight: bold;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  padding: 1em 0.75em;
  text-decoration: none;
  color: #3399ff;
  cursor: pointer;
}
.nav-dropdown .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 200;
  min-width: 150px;
}
.nav-dropdown .nav-dropdown-menu a {
  display: block;
  padding: 0.5em 1em;
  text-decoration: none;
  color: #3399ff;
  white-space: nowrap;
}
.nav-dropdown .nav-dropdown-menu a:hover {
  background-color: #f0f6ff;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/*
nav {
	font-size: 13px;

	ul {
		position: relative;
		display: inline-table;

		// Clearfix for subitems
		&:after {
			content: "";
			clear: both;
			display: block;
		}

		// Hide submenus
		ul {
			z-index: 100;
			display: none;
			position: absolute;
			top: 100%;

			// Submenu items
			li {
				float: none;
				position: relative;
				margin-right: 0;

				a {
					border-bottom: none;

					&:hover {
						border-bottom: none;
						background-color: $light_yellow;
						font-weight: normal;
					}
				}

				&:hover {
					background-color: $row_color;
				}
			}

			// Sub-submenu
			ul {
				position: absolute;
				left: 100%;
				top:0;
			}
		}

		li {
			float: left;
			margin-right: 0.5em;
			width: 125px;

			a {
				display: block;
				font-size: 1em;
				font-weight: normal;
				color: #777;
				text-decoration: none;
				padding: 0.5em 1em 0.5em 1em;

				&.current {
					font-weight: bold;
				}

				&:hover {
					color: $std_blue;
				}
			}

			// Show first submenu on hover
			&:hover > ul {
				display: block;
				border:  1px solid #eee;
				background-color: #fff;
				box-shadow: 2px 2px 4px #ccc;
			}

			& > ul {
				border:  1px solid #eee;
				background-color: #fff;
				box-shadow: 2px 2px 4px #ccc;
			}

			&:hover > a {
				color: $std_blue;
			}
		}
	}
}
*/
/* --- Content --- */
.notification {
  float: right;
  color: #999;
  font-size: 11px;
  margin-right: 1em;
}

.first-col {
  width: 200px;
}

strong {
  font-weight: bold;
}

h1, h2, h3, h4 {
  font-family: MyriadPro;
  color: #3399ff;
  font-weight: bold;
}

h1 {
  font-size: 2em;
  margin-bottom: 0.75em;
}

h2 {
  font-size: 1.75em;
  margin-bottom: 0.25em;
  font-weight: normal;
}
h2 span {
  font-weight: normal;
}

.person-view h2 {
  font-size: 3em;
  font-weight: normal;
  margin-bottom: 0.25em;
}

.stock-details-row h2 {
  margin-bottom: 1em;
}

h3 {
  font-weight: normal;
  font-size: 1.5em;
}

h4 {
  font-weight: bold;
  font-size: 1.35em;
  margin-bottom: 0.25em;
}

p {
  margin-bottom: 1em;
}

.main {
  margin-bottom: 2em;
}

.main a, .popup a, .reminders a {
  color: #3399ff;
  text-decoration: none;
}
.main a:hover, .popup a:hover, .reminders a:hover {
  color: #336699;
}
.main a.invisible-link, .popup a.invisible-link, .reminders a.invisible-link {
  color: #555;
}
.main a.invisible-link:hover, .popup a.invisible-link:hover, .reminders a.invisible-link:hover {
  color: #3399ff;
}

/* --- Fancy box --- */
.fancybox-inner h2 {
  font-family: MyriadPro, HelveticaNeueLTStd;
  font-weight: bold;
  font-size: 1.5em;
  color: #3399ff;
  margin-bottom: 1em;
  padding: 1em 1em;
  background-color: #eee;
}

.lightbox-container {
  padding: 0 20px 20px 20px;
}

/* --- Magnific popup --- */
.popup {
  background-color: #fff;
  max-width: 800px;
  margin: 1em auto;
}
.popup h2 {
  font-family: MyriadPro, HelveticaNeueLTStd;
  font-weight: bold;
  font-size: 1.5em;
  color: #3399ff;
  margin-bottom: 1em;
  padding: 1em 1em;
  background-color: #eee;
}

/* --- Form --- */
select {
  outline: none;
}

select:focus {
  outline: 1px solid #3399ff;
}

.lightbox-container {
  padding: 0 20px 20px 20px;
}

.item-form .row .col {
  margin-bottom: 0.5em;
}

@media only screen and (min-width: 1000px) {
  .item-form {
    min-width: 800px;
  }

  .item-form .row .col {
    margin-bottom: 0;
    padding-top: 0.5em;
  }
}
@media only screen and (min-width: 800px) {
  .item-form {
    min-width: 600px;
  }
}
.form td {
  padding: 0.25em 3em 0.75em 0;
}
.form td.form-label.align-top {
  vertical-align: top;
  padding-top: 0.25em;
}
.form .input {
  border: 1px solid #ccc;
  padding: 0.25em;
  line-height: 1.25em;
  color: #666;
  outline: none;
}
.form .input:focus {
  background-color: #ffffc0;
  outline: 1px solid #3399FF;
}
.form .active-row td {
  background-color: #eee;
}
.form .error {
  padding-top: 0.5em;
}

td.short-val {
  width: 80px;
}

.form-normal {
  width: 50%;
}
.form-normal .form-label {
  width: 20%;
}

.form-full-width {
  width: 100%;
}
.form-full-width .form-label {
  width: 20%;
}

.input-small {
  width: 100px;
}

.input-medium {
  width: 250px;
}

.input-large {
  font-size: 1.5em;
  padding: 0.5em;
}

.input-med-high {
  height: 100px;
}

.input-high {
  height: 150px;
}

input[type=submit] {
  margin-top: 0.5em;
}

.form-wide {
  width: 100%;
}
.form-wide .form-label {
  width: 15%;
}
.form-wide .input-normal {
  width: 100px;
}
.form-wide .input-medium {
  width: 200px;
}
.form-wide .input-large {
  width: 300px;
}
.form-wide .input-xlarge {
  width: 600px;
}

.btn, .btn-primary, .btn-secondary {
  color: white;
  border: none;
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-primary, .btn-secondary {
  padding: 1em 3em 1em 3em;
  background: #eaf5ff;
  background: -moz-linear-gradient(top, #eaf5ff 0%, #d6eaff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eaf5ff), color-stop(100%, #d6eaff));
  background: -webkit-linear-gradient(top, #eaf5ff 0%, #d6eaff 100%);
  background: -o-linear-gradient(top, #eaf5ff 0%, #d6eaff 100%);
  background: -ms-linear-gradient(top, #eaf5ff 0%, #d6eaff 100%);
  background: linear-gradient(to bottom, #eaf5ff 0%, #d6eaff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#eaf5ff", endColorstr="#d6eaff",GradientType=0 );
  border-right: 1px solid #97CBFF;
  border-bottom: 1px solid #97CBFF;
  border-left: 1px solid #D6EAFF;
  border-top: 1px solid #D6EAFF;
  color: #3399ff;
}
.btn-primary:focus, .btn-secondary:focus {
  outline: 1px solid #3399FF;
}
.btn-primary:hover, .btn-secondary:hover {
  background: #eaf5ff;
  background: -moz-linear-gradient(top, #eaf5ff 0%, #c4e1ff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eaf5ff), color-stop(100%, #c4e1ff));
  background: -webkit-linear-gradient(top, #eaf5ff 0%, #c4e1ff 100%);
  background: -o-linear-gradient(top, #eaf5ff 0%, #c4e1ff 100%);
  background: -ms-linear-gradient(top, #eaf5ff 0%, #c4e1ff 100%);
  background: linear-gradient(to bottom, #eaf5ff 0%, #c4e1ff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#eaf5ff", endColorstr="#c4e1ff",GradientType=0 );
  border-right: 1px solid #78c6ff;
  border-bottom: 1px solid #78c6ff;
  border-left: 1px solid #D6EAFF;
  border-top: 1px solid #D6EAFF;
}
.btn-primary:active, .btn-secondary:active {
  background: #eaf5ff;
  background: -moz-linear-gradient(top, #eaf5ff 0%, #eaf5ff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eaf5ff), color-stop(100%, #eaf5ff));
  background: -webkit-linear-gradient(top, #eaf5ff 0%, #eaf5ff 100%);
  background: -o-linear-gradient(top, #eaf5ff 0%, #eaf5ff 100%);
  background: -ms-linear-gradient(top, #eaf5ff 0%, #eaf5ff 100%);
  background: linear-gradient(to bottom, #eaf5ff 0%, #eaf5ff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#eaf5ff", endColorstr="#eaf5ff",GradientType=0 );
  border-left: 1px solid #78c6ff;
  border-top: 1px solid #78c6ff;
  border-right: 1px solid #D6EAFF;
  border-bottom: 1px solid #D6EAFF;
}
.btn-primary.disabled, .disabled.btn-secondary {
  background: none;
  border: 1px solid #ccc;
  color: #999;
  background-color: #eee !important;
}

.btn-secondary {
  padding: 0.5em;
}

/* --- List --- */
.archive-date {
  font-weight: normal;
}

.list {
  margin-bottom: 2em;
}
.list thead td {
  border-bottom: 2px solid #ddd;
  font-weight: bold;
  color: #888;
}
.list td.date-break {
  font-weight: bold;
  border-bottom: 2px solid #ddd;
  color: #888;
}
.list td {
  padding: 0.5em 1em 0.5em 1em;
  vertical-align: top;
  box-sizing: border-box;
}
.list td:first-child {
  padding-left: 0.5em;
}
.list td:last-child {
  padding-right: 1em;
}
.list td.number {
  text-align: right;
}
.list tr.even td {
  background-color: #f8f8f8;
}
.list tr.backgr td {
  border-bottom: 1px solid #ddd;
}
.list tr.backgr td:first-child {
  background-color: #eef6ff;
}
.list .backgr-superior td:first-child {
  background-color: #FFE0E0;
}
.list .backgr-subordinate td:first-child {
  background-color: #FFF6E0;
}
.list tbody tr.selected td {
  background-color: #FFDF00;
}

.list.no-bottom-margin {
  margin-bottom: 0;
}

/* --- Items, reminders, weeks, days --- */
.reminder {
  background-color: #FFE480;
  padding: 0.75em;
  margin-right: 1em;
  margin-bottom: 0.5em;
  border-radius: 0.5em;
}
.reminder a {
  color: #666;
}
.reminder a:hover {
  color: #3399ff;
}

.week h3 {
  color: #aaa;
}

.item-list h2:not(:first-child) {
  padding-top: 0.25em;
  border-top: 2px dotted #ddd;
}

.day {
  margin-bottom: 1em;
}

.day-header {
  margin-bottom: 0.5em;
}

.current-day h3 {
  font-weight: bold;
}

.item {
  background: linear-gradient(180deg, #f2f2f2 0%, #eeeeee 100%);
}
.item .item-content {
  padding: 0.75em;
  font-size: 16px;
}
.item a {
  color: #666;
}
.item a:hover {
  color: #3399ff;
}

.day .item:not(:last-child) {
  margin-bottom: 0.5em;
}

.later .item {
  margin-bottom: 0.25em;
}

.later {
  margin-bottom: 5em;
}

.item-container {
  min-height: 50px;
  border: 1px solid #fff;
}

.dotted-border {
  border: 1px dotted #ccc;
}

@media only screen and (min-width: 1000px) {
  .item .item-content {
    padding: 0.5em;
    font-size: 13px;
  }

  .week {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5em;
    align-items: flex-start;
  }

  .day-header {
    border-bottom: 1px solid #ddd;
    padding: 0.25em;
    display: flex;
    justify-content: space-between;
  }
  .day-header h3 {
    padding-top: 0.1em;
  }
  .day-header .box-add-item {
    height: 28px;
  }

  .day {
    margin-bottom: 0;
    margin-right: 1em;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 170px;
  }

  .reminder {
    margin-bottom: 0;
  }

  .reminders {
    display: flex;
    justify-content: flex-end;
  }

  .reminder-list {
    display: inline-block;
    margin-left: 5em;
  }
}
@media only screen and (min-width: 1400px) {
  .day {
    flex-basis: 200px;
  }
}
.color-box {
  width: 15px;
  height: 15px;
}

.grid-row {
  overflow: auto;
}

.grid-cell {
  float: left;
  margin: 0 10px 10px 0;
  border: 3px solid white;
  border-radius: 7px;
}
.grid-cell.current {
  border: 3px dotted #666 !important;
  background-color: #f7f7f7 !important;
}
.grid-cell:hover {
  border: 3px solid red;
  cursor: pointer;
}

.grid-cell-content {
  width: 110px;
  height: 75px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 5px;
}

.number-big {
  display: inline-block;
  font-size: 3em;
  padding: 0.5em 1em;
  background-color: #eee;
}

.number-display {
  display: inline-block;
  font-size: 1.5em;
  padding: 0.5em 1em;
  background-color: #f7f7f7;
  color: #999;
}

.dimmed {
  position: relative;
}

.dimmed:after {
  content: " ";
  z-index: 10;
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.5);
}

.submitting {
  float: left;
  display: inline-block;
  margin-left: 0.5em;
  line-height: 32px;
  padding-left: 42px;
  background: transparent url(/img/loading.gif) no-repeat;
}

.submit-error {
  float: left;
  margin-left: 0.5em;
  display: inline-block;
  padding-top: 0 !important;
}

.current-task .task-duration {
  color: #CC0000;
}

.time-left-today {
  background-color: #ffe5df;
  color: #cc7876;
}

.time-done-today {
  background-color: #eeffe4;
  color: #00ae65;
}

.task-controls {
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 2px dotted #ddd;
}

.task-search {
  margin-bottom: 2em;
}
.task-search input {
  border: 1px solid #ccc;
  outline: none;
}
.task-search input:focus {
  border: 1px solid #ffcc00;
  background-color: #ffffe0;
}

.search-result-item {
  display: grid;
  grid-template-columns: 2fr 3fr;
  margin-bottom: 0.25em;
}
.search-result-item div {
  padding: 0.5em 1em;
}

.search-result-project {
  color: #fff;
}

.search-result-task {
  background-color: #eee;
}
.search-result-task:hover {
  background-color: #ffcc00;
  cursor: pointer;
}

.task-controls-grid {
  display: grid;
  grid-template-columns: 1fr 70px 200px 70px 200px;
  align-items: center;
}

.task-controls-grid input[type=text] {
  width: 100px;
  border: 1px solid #ccc;
  outline: none;
  color: #555;
}

.entry-notes, .task-name {
  cursor: pointer;
}

.entry-notes input[type=text] {
  border: 1px solid #ccc;
  outline: none;
  color: #555;
}
.entry-notes input[type=text]:focus {
  border: 1px solid #ffcc00;
  background-color: #ffffe0;
}

.task-controls-grid h1 {
  margin-bottom: 0;
}

.overview-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-gap: 1em 4em;
}

a.project-link:hover div {
  background-color: #fff5cc;
}

.project-card {
  display: grid;
  grid-template-columns: 2fr 3fr 75px;
  margin-bottom: 0.5em;
  background-color: #f8f8f8;
}
.project-card .client-name {
  color: white;
}
.project-card .client-name, .project-card .project-time {
  background-color: #f2f2f2;
}
.project-card .client-name, .project-card .project-name {
  padding-left: 1em;
}
.project-card.selected-project div {
  background-color: #ffeb99;
}

.project-card div {
  padding: 0.5em;
}

.project-card h4 {
  font-weight: normal;
  color: white;
  padding: 1rem 1.5rem;
}

.project-card-details {
  padding: 1rem 1.5rem;
}

.client-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 0.75em;
}

tr.client-row, tr.project-row, tr.user-row {
  cursor: pointer;
}

tr.client-row:hover td,
tr.project-row:hover td,
tr.user-row:hover td {
  background-color: #ffffc0;
}

tr.selected-row td {
  background-color: #ffeb99 !important;
}

.user-client {
  padding: 1em;
  margin-bottom: 2px;
  cursor: pointer;
}

.user-client-enabled {
  background-color: #e2ffd9;
}

.user-client-disabled {
  background-color: #f8f8f8;
}

.filter-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 100px;
  grid-column-gap: 3em;
  margin-bottom: 3em;
}

.report-header {
  display: grid;
  grid-template-columns: 1fr 100px;
}

/* --- Autocomplete --- */
.ui-autocomplete {
  width: 451px !important;
  max-height: 500px !important;
  overflow: auto;
}

.ui-widget-content {
  background: none !important;
  background-color: #fff !important;
}

.ui-widget-content li div {
  font-family: Verdana !important;
  font-size: 13px !important;
  padding: 0.25em !important;
}

.ui-state-active {
  font-weight: normal !important;
  background: none !important;
  background-color: #3399ff !important;
  color: white !important;
  border: none !important;
}

/* --- Util --- */
.warning-icon {
  min-height: 32px;
  padding-left: 42px;
  background: transparent url(/img/warning.png) no-repeat;
}

.error {
  color: red;
  margin-bottom: 0.5em;
}

.dimmed {
  color: #999999;
}

/* --- Weekly stats --- */
.weekly-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 2em;
  max-width: 960px;
  margin-bottom: 2em;
}
.weekly-stats .stats-label {
  font-family: MyriadPro;
  color: #3399ff;
  font-size: 1.25em;
  border-bottom: 2px solid #ddd;
  padding: 0.5em 1em 0.5em 0.5em;
}
.weekly-stats .stats-number {
  font-size: 2rem;
  text-align: center;
  padding: 1em 2em;
  background-color: #f8f8f8;
}
.weekly-stats .number-good {
  background-color: #e2ffe2;
  color: #00ae65;
}
.weekly-stats .number-bad {
  background-color: #ffe2e2;
  color: #e50000;
}

/* --- Stats bar --- */
.stats-bar {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 100;
  bottom: 0;
  left: 0;
  right: 0;
}

.weekly-stats-bar {
  padding: 1em 2em;
  box-shadow: 0 -4px 12px 4px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  grid-column-gap: 2em;
  align-items: center;
}
.weekly-stats-bar .stats-label {
  margin-bottom: 0.5em;
}
.weekly-stats-bar .number-good {
  background-color: #e2ffe2;
  background: linear-gradient(170deg, #e2ffe2 0%, #d3ffd3 100%);
  border-left: none;
  border-top: none;
  color: #00ae65;
}
.weekly-stats-bar .number-bad {
  background-color: #ffe2e2;
  background: linear-gradient(170deg, #ffe2e2 0%, #ffd1d1 100%);
  border-left: none;
  border-top: none;
  color: #e50000;
}

.weekly-stats-bar-grid {
  display: grid;
  grid-column-gap: 0.5em;
  grid-row-gap: 0.25em;
  padding: 0.75em 1.5em;
  align-items: center;
}
.weekly-stats-bar-grid .bar-cell {
  text-align: center;
}
.weekly-stats-bar-grid .bar-label {
  font-weight: bold;
  font-size: 13px;
  text-align: right;
  padding-right: 0.5em;
}
.weekly-stats-bar-grid .bar-header {
  font-weight: bold;
  font-size: 13px;
}
.weekly-stats-bar-grid .stats-number-compact {
  font-size: 1.15rem;
  padding: 0.5em;
}

.stats-number {
  font-size: 1.25rem;
  text-align: center;
  padding: 0.5em 1.5em;
  background-color: #f8f8f8;
  background: linear-gradient(170deg, #f8f8f8 0%, #f2f2f2 100%);
}
.stats-number.number-good {
  background-color: #e2ffe2;
  background: linear-gradient(170deg, #e2ffe2 0%, #d3ffd3 100%);
  border-left: none;
  border-top: none;
  color: #00ae65;
}
.stats-number.number-bad {
  background-color: #ffe2e2;
  background: linear-gradient(170deg, #ffe2e2 0%, #ffd1d1 100%);
  border-left: none;
  border-top: none;
  color: #e50000;
}

.hidden {
  display: none;
}

.table-box {
  display: table;
}

.table-row {
  display: table-row;
}

.table-cell {
  display: table-cell;
  vertical-align: top;
}

.padding-right {
  padding-right: 1em;
}

.width-100 {
  width: 100px;
}

.full-width {
  width: 100%;
}

.float-right {
  float: right;
}

.justify-right {
  justify-self: right;
}

.justify-center {
  justify-self: center;
}

/* --- Clearfix --- */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/*# sourceMappingURL=layout.css.map */
