/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700');

body {
	padding: 0 15px;
	margin: 0;
	font-size: 13px;
  font-weight: 400;
	background: #f9f9f9;
}
* {
	font-family: "Roboto", Sans-Serif;
}
body * {
  transition: .2s ease-out;
}
h1, h2, h3, h4 {
	font-family: "Roboto", Sans-Serif;
	font-weight: 300;
	color: #212121;
	opacity: 0.9;
}
h1.top, h2.top, h4.top, h4.top {
  margin-top: 0;
}
ol li {
	padding: 10px 0;
}
#content {
	padding: 15px 10px 0px;
	min-height: 600px;
	margin-top: 0;
  margin-bottom: 0px;
  position: relative;
  background: #f9f9f9;
  padding-left: 190px;
}
#content.login {
  padding-left: 10px;
  margin-top: 50px;
}
#content .container {
  width: 100%;
  float: left;
}

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  padding-top: 20%;
  background: rgba(0,0,0,.6);
  display: none;
  font-size: 15px;
  font-weight: 100;
  font-family: Roboto, sans-serif;
  color: white;
  text-align: center;
}

#leftMenu {
  position: fixed;
  width: 180px;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 8px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.15);
  background: white;
}
#leftMenu h1 {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  padding: 20px 0 5px;
  color: #245987;
}
#leftMenu ul {
  padding: 0;
  margin-top: 13px;
  list-style-type: none;
}
#leftMenu ul ul {
  margin-top: 3px;
}
#leftMenu li {
  margin-bottom: 10px;
  font-weight: bold;
  vertical-align: top;
}
#leftMenu li > span {
  padding-left: 10px;
}
#leftMenu li li {
  margin-bottom: 0;
  font-weight: normal;
}
#leftMenu li, #leftMenu a {
  font-size: 13px;
  color: #5f5f5f;
}
#leftMenu a {
  display: block;
  padding: 5px 0 5px 8px;
}
#leftMenu a:hover {
  background: #f3f3f3;
}
#leftMenu a.active {
  background: #0277BD;
  color: white;
}

.frame {
  border: none;
  padding: 20px 20px;
  background: white;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.15);
  border-radius: 2px;
  margin-bottom: 30px;
}
.frame > h3 {
  margin-top: 0;
}
.line-bottom {
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
#dataTable tbody tr {
  cursor: pointer;
}
form.filters {
  border: 1px solid #ddd;
  background: #eee;
  padding: 10px;
  border-radius: 2px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.15);
  margin-bottom: 10px;
}
.form-control {
  font-size: 13px;
  padding: 3px 6px;
  height: 29px;
}
.input-group-btn .btn {
  font-size: 13px;
  padding: 3px 6px;
  height: 29px;
}
.input-group-addon {
  padding: 4px 6px 0;
}
.box {
  border-radius: 14px;
  padding: 2px 8px;
  margin: 0;
}
.box .close {
  margin-top: -2px;
}
.font-normal {
  font-weight: normal;
}
.font-size-normal {
  font-size: 100%;
}
input.search {
  background: #f6f6f6;
  border-radius: 2px;
  border-color: #eee;
  margin: 0 -5px;
  color: #0277BD;
}
input.search::placeholder {
  color: #212121;
}
.map-view {
  width: 100%;
  height: 400px;
  border: 1px solid silver;
}
.lightbox, .lightbox *, .lightboxOverlay {
  transition: 0s;
}
[aria-expanded=true] .expand-rotator {
  transform: rotate(180deg);
}
.float-right {
  float: right;
}
.panel-title .label {
  font-weight: normal;
  padding-top: 5px;
}
.panel-group .panel, .panel {
  border-radius: 2px;
}
.modal {
  z-index: 1090;
}
.popover {
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(0,0,0,0);
}
.popover.bottom > .arrow {
  top: -10px;
}
.popover-title {
  border-radius: 2px 2px 0 0;
  background: white;
}
.popover-content {
  background: transparent;
}
span.checkbox, span.radio {
  margin: 0;
}
.list-group.condensed {
  margin-bottom: 0;
}
.list-group.condensed .list-group-item {
  padding: 2px 6px;
}
.list-group.condensed .list-group-item label {
  display: block;
}
.no-css-transition, .no-css-transition * {
  transition: 0s;
}
.form-group:first-child .value-swap {
  display: none;
}
.form-group:last-child .value-remove {
  display: none;
}
.ui-datepicker {
  z-index: 1090 !important;
}

.pricelist th {
  text-align: center;
}
.pricelist .main {
  background: #ecf4fc;
}
.pricelist .ext {
  background: #fcfce4;
}
.pricelist.table-hover tr:hover td.main {
  background: #DDE5ED;
}
.pricelist.table-hover tr:hover td.ext {
  background: #EDEDD5;
}
.ui-datepicker {
  transition: 0s;
}
.ui-datepicker-year {
  display: none;
}
.ui-datepicker-other-month {
  opacity: 0.5;
}
.nowrap {
  white-space: nowrap;
}
.input-group .form-control {
  z-index: 1;
}
.table > tbody > tr > .table-form-label {
  padding: 14px 0 0;
}
.form-control, .btn {
  border-radius: 2px;
}
.form-control.error {
  border: 1px solid #a00;
  background: #fff4f4;
}
.form-control.error:focus {
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 10px rgba(200,100,100,.8);
}
.error {
  font-weight: normal;
  color: #a00;
}
.no-error-labels label.error {
  position: absolute;
  top: 0px;
  left: -10000px;
}
.error.inline {
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 500px;
  font-size: 11px;
}
.material-icons {
  -transform: scale(0.85);
  vertical-align: -25%;
  margin: 0px -2px 0 -4px;
  font-size: 19px;
}
.btn[aria-expanded=true] .glyphicon {
  transform: rotate(180deg);
}

.nav-tabs {
  border-color: #e8e8e8;
}
.nav-tabs li.active a {
  border-color: #e8e8e8 #e8e8e8 white;
  border-radius: 2px;
}
.missing-msg {
  border: 1px solid #a00;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 10px rgba(200,100,100,.8);
  background: #fee;
  color: #a00;
  padding: 1px 4px 1px 3px;
}
.missing-msg i {
  padding-left: 4px;
  color: #a00;
}
.missing-msg i:hover {
  transform: scale(1.3);
  transition-duration: .2s;
  transition-timing-function: cubic-bezier(0.565, 0.165, 0.250, 6.595);
}
#mainActionBar {
  float: right;
  height: 30px;
  width: 300px;
  text-align: right;
  z-index: 1;
}
.vcenter {
  vertical-align: middle !important;
}
.ui-autocomplete {
  transition-duration: 0s;
}

/* booking */
.book-container {
  width: 100%;
  position: relative;
  background: white;
  overflow: hidden;
  margin-bottom: 20px;
}
.book-container div {
  -opacity: 0.8;
}
.book-container .tooltip {
  z-index: 500;
}
.book-months {
  height: 30px;
}
.book-month {
  height: 100%;
  line-height: 26px;
  float: left;
  text-align: center;
  background: silver;
  border: 2px solid white;
  
}
.book-days {
  height: 30px;
}
.book-days div {
  height: 30px;
  width: 30px;
  float: left;
  position: relative;
  z-index: 0;
}
.book-days span {
  display: inline-block;
  width: 26px;
  line-height: 13px;
  float: left;
  text-align: center;
  margin: 2px;
  height: 26px;
  background: #d0d0d0;
  position: relative;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
  font-weight: bold;
}
.book-days span i {
  display: block;
  font-size: 11px;
  font-weight: normal;
}
.book-days .saturday {
  background: #c0d0e0;
}
.book-days .sunday {
  background: #e0c0c0;
}
.book-days div div {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 10000px;
}
.book-days div.hover div {
  background: #9cf;
  box-shadow: 0 0 2px 1px #9cf;
}
.book-titles {
  width: 15%;
  float: left;
  padding-top: 60px;
}
.book-title {
  position: relative;
  width: 2000px;
  height: 30px;
  margin: 0px 0;
  padding: 4px 12px 0;
  font-size: 16px;
  overflow: visible;
  z-index: 1;
  opacity: 0.7;
  cursor: pointer;
  border: 1px solid silver;
  border-radius: 2px;
  background-image: linear-gradient(to bottom, #eee, #ccc);
  color: black;
}
.book-title:hover {
  background-image: linear-gradient(to bottom, #bbb, #aaa);
  border-color: gray;
}
.book-name {
  position: relative;
  z-index: 2;
  height: 30px;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 12px;
  line-height: 30px;
  -background: #ccffff;
}
.book-name:hover {
  width: 200px;
  -overflow: visible;
}
.book-area {
  float: right;
  width: 85%;
  overflow-y: hidden;
  overflow-x: auto;
  -background: #ffffcc;
}
.book-title-spacer {
  height: 30px;
}
.book-row {
  height: 30px;
  background: url(/img/week.png) repeat-x;
  background-size: 210px 30px;
  background-position-y: 0px;
  position: relative;
  z-index: 0;
}
.book-row:hover {
  background-color: #9cf;
  box-shadow: 0 0 2px 1px #9cf;
}
.book-box {
  position: absolute;
  top: 1px;
  height: 28px;
  line-height: 28px;
  border: 1px solid rgba(0,0,0,.4);
  text-align: left;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 2px;
  opacity: 0.8;
  padding: 0 2px;
  cursor: pointer;
}
.book-box:hover {
  opacity: 1;
  outline: 1px solid rgba(80,80,80,0.8);
  transition-duration: 0.07s;
  border-radius: 0;
  -z-index: 1;
}
.book-box .material-icons {
  font-size: 18px;
  vertical-align: -20%;
  margin: 0;
}
.book-box .bb-persons {
  display: inline-block;
  color: black;
  opacity: 0.75;
  margin-right: 3px;
  font-weight: bold;
  vertical-align: 15%;
}
.book-box .bb-name {
  padding-top: 10px;
}
.book-box .bb-price {
  display: block;
  position: absolute;
  right: 1px;
  top: 0;
  line-height: 11px;
  font-size: 11px;
  font-weight: bold;
  color: #ff8;
}
.book-box .bb-price b {
  color: #a00;
  text-shadow: 0 0 2px rgba(255,255,255,.7);
}
.book-box-0 {
  background: #f79305;
}
.book-box-1 {
  background: #05B2D2;
}
.book-box-2 {
  background: #14A014;
}
.book-box-3 {
  background: rgba(192,192,192,.2);
  color: gray;
}
.book-box:not(.book-own) {
  background-image: repeating-linear-gradient(
    125deg,
    rgba(0,0,0,.07),
    rgba(0,0,0,.07) 9px,
    rgba(255,255,255,.07) 10px,
    rgba(255,255,255,.07) 19px,
    rgba(0,0,0,.07) 20px
  );
}
.book-modified, .book-new {
  box-shadow: 0 0 6px 1px #f40;
}
.book-box.book-conflict {
  background-color: #c00;
  box-shadow: none;
}
.book-hidden {
  opacity: .2;
  height: 2px;
  margin-top: 26px;
}
.book-titles .book-collapse {
  height: 0;
}
.book-title.book-collapse {
  height: 30px;
}
.book-title:not(.book-collapse) span {
  transform: rotate(180deg);
}
.book-area .book-collapse {
  height: 30px;
  margin-top: -30px;
}
.book-collapse .book-box {
  margin-top: 2px;
  height: 24px;
}
.book-row.book-collapse {
  background-size: 210px 0px;
}

.book-legend .book-box {
  position: relative;
  margin-top: 8px;
  padding: 0 10px;
}
.book-legend label {
  display: block;
  font-weight: normal;
}
.tooltip-inner b {
  color: #9cf;
}
.tooltip-inner small {
  color: rgba(255,255,255,.6);
}
.book-editor {
  width: 426px;
  height: auto;
  padding: 10px 13px;
  position: absolute;
  z-index: 1070;
  background: white;
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
.book-editor form {
  width: 400px;
}
.book-editor-navi {
  position: absolute;
  right: 8px;
  top: -28px;
}
.book-editor-info {
  margin: 10px 0 0 0;
  padding: 0;
  list-style-type: none;
}
.book-editor-info > li {
  background: linear-gradient(to bottom, rgba(0,100,200,.05), rgba(0,100,200,.1));
  border: 1px solid #bcd;
  border-radius: 2px;
  padding: 3px 10px 3px 30px;
  margin: 4px 0;
  position: relative;
  box-shadow: 0 2px 4px rgba(80,120,160,.3);
}
.book-editor-info > li:before {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  content: "i";
  font-size: 14px;
  font-family: "Times New Roman", serif;
  font-weight: bold;
  text-align: center;
  line-height: 16px;
  border-radius: 50%;
  background: #87DBFF;
  border: 1px solid #468;
  color: #468;
}
.book-editor-info > li ul {
  margin: 0;
  padding: 0 0 0 16px;
  list-style-type: disc;
}
.popover {
  max-width: 430px;
  width: 430px;
}

.book-persons {
  height: 32px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  -vertical-align: -50%;
}
.book-persons * {
  transition-duration: .05s;
}
.book-person {
  float: left;
  height: 100%;
  color: #48c;
  border: none;
  background: none;
  padding: 0;
}
.book-person-ext {
  color: #d95;
}
.book-person span {
  display: block;
  font-size: 32px;
  line-height: 32px;
  width: 32px;
  height: 100%;
  text-align: center;
  margin: 0;
  transform: none;
}
.book-person span {
  opacity: 0.2;
}
.book-person:not([disabled]):hover span {
  opacity: 0.7;
  text-shadow: 0 0 3px #f40;
  transform: scale(1.2);
  cursor: pointer;
}
.book-person:focus {
  outline: none;
}
.book-person:not([disabled]):active {
  transform: scale(1.25);
}
.book-person.active span {
  opacity: 1;
}
.book-persons-num {
  display: inline-block;
  margin-left: 10px;
  font-size: 16px;
  line-height: 32px;
}
.book-status-btn {
  color: white;
  border: 1px solid rgba(0,0,0,.4);
}
.book-status-btn.book-box-3 {
  color: #aaa;
}
.book-status-btn:hover {
  opacity: 0.8;
  color: white;
}
.book-status-btn:focus {
  color: white;
}
.book-status-btn.book-box-3:hover, .book-status-btn.book-box-3:focus {
  color: #aaa;
}
.book-status-menu > li > a {
  border: 1px solid rgba(0,0,0,.4);
  border-radius: 2px;
  margin: 2px 6px;
  color: white;
}
.book-status-menu > li > a.book-box-3 {
  color: #aaa;
}
.book-status-menu > li > a:hover {
  background: auto;
}

.popover-back {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2;
  -opacity: 0.01;
}

.loader {
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top: 3px solid #3498db;
  width: 24px;
  height: 24px;
  animation: spin 1s cubic-bezier(0.445, 0.145, 0.550, 0.845) infinite;
  margin: auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loader-input {
  position: absolute;
  right: 24px;
  top: 3px;
  z-index: 2;
}
.loader-big {
  width: 50px;
  height: 50px;
  border-width: 5px;
}

.modal-dialog {
  z-index:99;
}
.badge-danger {
  background: #D9534F !important;
}
.badge-warning {
  background: #F0AD4E !important;
}
.btn-group .notActive {
    background: white;
    border-color: silver;
}
.btn-group .notActive.btn-primary {
  color: rgba(38,90,136,.7);
}
.btn-group .notActive.btn-danger {
  color: rgba(193,46,46,.7);
}
.btn-group .notActive.btn-warning {
  color: rgba(235,147,22,.7);
}
