

/* Font: Michroma (from Google fonts library) */
@import url('https://fonts.googleapis.com/css?family=Michroma');


/* Ex-time */

#ex-time {
  background: #fff;
  padding: 3px 5px;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 10px;
  position: fixed;
  top: 7px;
  right: 5px;
  color: #777;
  z-index: 99999;
  border-radius: 4px;
  opacity: 0.5;
}

* html #ex-time {
  position: absolute;
}

#ex-time strong {
  color: #333;
}

/* Sticky footer styles
-------------------------------------------------- */
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

abbr {
  border-bottom: none !important;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -60px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
  height: 60px;
}

#footer {
  background-color: #f5f5f5;
  font-size: 12px;
  line-height: 25px;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

#wrap > .container {
  padding-top: 60px;
}

.container .credit {
  margin: 20px 0 0;
}

.navbar .brand {
  font-weight: 200;
  text-shadow: 0 1px 0 #fff;
  padding: 8px 20px 0;
}

.brand a {
  color: #a9302a;
  letter-spacing: 2px;
  font-family: 'Michroma', sans-serif;
  font-size: 26px;
}

.brand a span {
  color: #999;
}

.brand em {
  font-size: 12px;
  font-style: normal;
  color: #bbb;
  margin-left: 10px;
}

/** GRID **/

section {
  margin: 0 0 50px 0;
}

section nav {
  padding: 17px 0 0 0;
}

.grid-statistic {
  margin-top: 18px;
  font-size: 0.8em;
  font-style: italic;
  color: #777;
}

.grid-statistic strong {
  color: #444;
}

.pagination {
  margin: 15px 0 0 0;
}

.table {
  font-size: .9em;
}

.table th {
  background: #ffffd5;
  border-bottom: 2px solid #555;
}

.table th a,
.table th a:hover {
  color: #444;
  padding-right: 14px;
  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAJAQMAAADElqTgAAAAA3NCSVQICAjb4U/gAAAABlBMVEXu7u7///8o06qaAAAAAnRSTlP/AOW3MEoAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDMvMDEvMTMXm/pjAAAAGHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3NPsx9OAAAAF0lEQVQImWN4x3CMoYmBgeEfEDcB2e8AMMwFa0rGRaYAAAAASUVORK5CYII=) right center no-repeat;
}

.table th a.sort-asc,
.table th a.sort-asc:hover {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAJAgMAAACDNt4wAAAAA3NCSVQICAjb4U/gAAAACVBMVEVVVVXu7u7///9aOcUeAAAAA3RSTlP//wDXyg1BAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFnRFWHRDcmVhdGlvbiBUaW1lADAzLzAxLzEzF5v6YwAAABh0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzT7MfTgAAACJJREFUCJljWLmCYWkGw9QIhtAQhlUrGICggYNhgQbDihUAckUH51aJSqAAAAAASUVORK5CYII=);
}

.table th a.sort-desc,
.table th a.sort-desc:hover {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAJAgMAAACDNt4wAAAAA3NCSVQICAjb4U/gAAAACVBMVEVVVVXu7u7///9aOcUeAAAAA3RSTlP//wDXyg1BAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFnRFWHRDcmVhdGlvbiBUaW1lADAzLzAxLzEzF5v6YwAAABh0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzT7MfTgAAACJJREFUCJljWLGCYYEGQwMHAxCsWsEQGsIwNYJhaQbDyhUAZKEH5zbINfEAAAAASUVORK5CYII=);
}

.table tr.gray {
  color: #aaa !important;
}

.dialog {
  font-size: 0.8em;
  color: #666;
  font-style: italic;
}

.export {
  font-size: 0.8em;
  color: #666;
}

/** FORMS **/

.form-actions {
  background: #fff;
  color: #aaa;
  padding-left: 0;
  padding-right: 0;
}

.formdialog {
  float: right;
  margin-top: -74px;
}

div.datepicker {
  padding: 0;
}

div.datepicker input {
  width: 150px;
}

.help-block {
  color: #aaa;
  margin-bottom: 0;
}

.error {
  color: #a9302a;
}

.help-block,
.error {
  font-size: 12px;
}

fieldset {
  margin-bottom: 30px;
}

fieldset legend {
  font-size: 18px;
}

div.controls {
  margin-bottom: 20px;
}

div.controls input, div.controls textarea,
.input-append, .input-prepend,
.bootstrap-select.btn-group, .bootstrap-select.btn-group[class*="span"] {
  margin-bottom: 0;
}

div.controls input[type="checkbox"] {
  margin: -3px 6px 0 0;
}

label {
  font-size: 14px;
}

label.required:after {
  content: "*";
  margin-left: 3px;
  color: #a9302a;
}

/** Client ************************************************************************************************************/

form.client input#name,
form.client input#email,
form.client input#phone {
  width: 90%;
}

form.client textarea#comment {
  width: 90%;
  height: 115px;
}

form.client input#postcode {
  width: 80%;
}

form.client input#address {
  width: 90%;
}

form.client input#dob {
  width: 105px;
}

form.client textarea#info {
  width: 90%;
  height: 300px;
}

form.client input[name*="parent-"] {
  width: 90%;
}

form.client textarea#problems {
  width: 90%;
  height: 250px;
}

form.client input[name*="question_"] {
  width: 90%;
}

/** Procedure *********************************************************************************************************/

form.procedure input#code,
form.procedure input#name {
  width: 90%;
}

form.procedure textarea#description {
  width: 94%;
  height: 60px;
}

form.procedure input#price {
  width: 90%;
}

/** Users *************************************************************************************************************/

form.user input#username,
form.user input#password,
form.user input#name,
form.user input#email {
  width: 90%;
}

table#user .cell-email,
table#user .cell-lastlogin {
  font-size: 0.9em;
}

table#user .cell-lastlogin {
  color: #777;
}

/** History ***********************************************************************************************************/

table#history td {
  font-size: 0.9em;
}

/** Campaign **********************************************************************************************************/

table#campaign .cell-title {
  width: 70%;
}

table#campaign .cell-date,
table#campaign .cell-author,
table#campaign .cell-status {
  font-size: 0.9em;
  color: #777;
  width: 10%;
}

table#campaign .cell-test,
table#campaign .cell-action {
  width: 10%;
}

form.campaign input#date,
form.campaign input#title {
  width: 90%;
}

form.campaign textarea#text {
  width: 90%;
  height: 120px;
}

/** Message ***********************************************************************************************************/

table#message .cell-title {
  width: 70%;
}

table#message .cell-author,
table#message .cell-type,
table#message .cell-notification {
  font-size: 0.9em;
  color: #777;
  width: 10%;
}

table#message .cell-test {
  width: 10%;
}

form.message input#title {
  width: 90%;
}

form.message textarea#text {
  width: 90%;
  height: 120px;
}

/** Journal ***********************************************************************************************************/

form.journal input#date {
	width: 70%;
}

form.journal input#price {
	width: 90%;
}

form.journal .bootstrap-select {
	width: 90% !important;
}

form.journal input#note {
  width: 97%;
}

table#journal span {
  color: #999;
  font-size: 0.9em;
}

table#journal span.color {
  width: 12px;
  height: 12px;
  display: block;
}

table#journal .cell-procedure,
table#journal .cell-price,
table#journal .cell-user {
  font-size: 0.9em;
  color: #777;
}

table#journal .cell-interval {
  font-size: 0.9em;
}

table#journal td {
  vertical-align: middle;
}

/** Dashboard *********************************************************************************************************/

#week-selector {
	margin-top: 2px;
}

@media only screen and (min-width : 320px) {
  #form-week .bootstrap-select {
    width: 70% !important;
    margin: -8px 0 0 5px;
  }
}

@media only screen and (min-width : 768px) {
  #form-week .bootstrap-select {
    width: 60% !important;
    margin: -8px 0 0 5px;
  }
}

@media only screen and (min-width : 992px) {
  #form-week .bootstrap-select {
    width: 70% !important;
    margin: -8px 0 0 5px;
  }
}

@media only screen and (min-width : 1200px) {
  #form-week .bootstrap-select {
    width: 280px !important;
    margin: -8px 0 0 5px;
  }
}

#form-week .bootstrap-select li em {
	font-size: 10px;
	color: #888;
}

.current-week {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 5px 0;
	background: #f8f8f8;
}

#form-week input[type="submit"] {
	margin: 10px 120px 0;
}

#form-item {
	background: #fffacd;
	padding: 10px 20px 0 20px;
}

#form-item label {
	font-size: 12px;
	margin-bottom: 0;
	margin-top: 10px;
}

#form-item fieldset {
	margin: 10px 0 0 0;
}

#form-item legend {
	font-size: 14px;
	margin-bottom: 5px;
}

#form-item .form-actions {
	background: transparent;
	margin-bottom: 0;
}

#form-item .bootstrap-timepicker {
	width: 50% !important;
	float: left;
}

#form-item .bootstrap-timepicker input {
	width: 43%;
}

#form-item .bootstrap-timepicker label {
	margin-top: 5px;
}

#form-item .bootstrap-select {
	width: 86%;
}

#form-item input#price {
	width: 50%;
}

#form-item input#note {
	width: 81%;
}

#form-item .help-block {
	font-size: 10px;
}

#form-item .input-price {
	width: 40%;
}

#form-item .input-color {
	margin-left: 42.5%;
}

#form-item .field-color {
	width: 140px;
	border: 1px solid #ccc;
  border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

#form-item .field-color a {
	display: block;
  border-radius: 4px;
	height: 18px;
	width: 18px;
	border: 2px solid #fff;
	float: left;
	margin: 3px;
}

#form-item .field-color a:hover {
	border: 2px solid #ccc;
}

#form-item .field-color span {
	text-indent: -9999px;
	font-size: 0;
	display: block;
	width: 14px;
	height: 14px;
	margin: 2px;
}

#form-item .field-color a.selected {
	border: 2px solid #444;
}

#form-item .input-note {
	margin-top: -5px;
}

#form-item .input-key input {
  width: 98px;
}

table.timetable {
	width: 100%;
	font-size: 12px;
  z-index: 1;
}

table.timetable th {
	padding: 5px 5px;
	border-right: 1px solid #888;
	color: #000;
	border-bottom: 2px solid #888;
	background: #fffacd;
}

table.timetable td {
	padding: 1px 5px;
	text-align: center;
	font-size: 11px;
	border-right: 1px solid #888;
}

table.timetable tr {
	border-bottom: 1px solid #eee;
}

table.timetable tr.separator {
	border-bottom: 1px solid #888;
}

table.timetable th.hour,
table.timetable td.hour {
	border-right: 1px solid #888;
	background: #e0e0e0;
	width: 60px;
}

table.timetable td.free {
	background: #fff;
}

table.timetable td.reserved {
	background: #f0f0f0;
}

table.timetable .data-cell {
  position: relative;
}

table.timetable a.delete-cell {
  display: block;
  background: #fff;
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 15px;
  border-radius: 15px;
}

div.filters {
	background: #f8f8f8;
	padding: 10px 10px 0 10px;
}

div.filters h4 {
	margin-bottom: 28px;
}

div.filters label {
	font-size: 12px;
	margin: 0;
}

div.filters .form-actions {
	background: transparent;
	padding-bottom: 0;
}

div.filters input[type="text"] {
	width: 95%;
}

div.filters .bootstrap-select {
	width: 100% !important;
	margin-bottom: 12px;
}

div.filters input[type="checkbox"] {
	float: left;
	margin: 3px 7px 0 0;
}

div.filters .input-append {
	margin-bottom: 12px;
}

div.filters .input-append input {
	width: 112%;
}

.profield-color {
	width: 280px;
	height: 28px;
	border: 1px solid #ccc;
  border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.profield-color a {
	display: block;
  border-radius: 4px;
	height: 18px;
	width: 18px;
	border: 2px solid #fff;
	float: left;
	margin: 3px;
}

.profield-color a:hover {
	border: 2px solid #ccc;
}

.profield-color span {
	text-indent: -9999px;
	font-size: 0;
	display: block;
	width: 14px;
	height: 14px;
	margin: 2px;
}

.profield-color a.selected {
	border: 2px solid #444;
}

.profield-interval div {
	float: left;
}

.profield-interval input {
	width: 60px;
}

.profield-interval-from {
	margin-right: 2px;
}

.profield-interval-to {
	margin-right: 15px;
}

.tab-pane {
  margin-bottom: 100px;
}

#container {
  position: relative;
}

.modal {
  width: 800px;
  margin-left: -400px;
}

.blink,
.new {
  -webkit-animation: blink .75s linear infinite;
  -moz-animation: blink .75s linear infinite;
  -ms-animation: blink .75s linear infinite;
  -o-animation: blink .75s linear infinite;
  animation: blink .75s linear infinite;
}

@-webkit-keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 1; }
  50.01% { opacity: 0; }
  100% { opacity: 0; }
}

@-moz-keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 1; }
  50.01% { opacity: 0; }
  100% { opacity: 0; }
}

@-ms-keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 1; }
  50.01% { opacity: 0; }
  100% { opacity: 0; }
}

@-o-keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 1; }
  50.01% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 1; }
  50.01% { opacity: 0; }
  100% { opacity: 0; }
}

span.blink {
  color: #ff0000;
  font-size:1.5em;
  font-weight: bold;
  cursor: help;
}

span.new {
  color: #83bf21;
  font-weight: bold;
  cursor: help;
}

a.credit {
  font-family: 'Michroma', sans-serif;
  font-size: 14px;
  color: #999;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
  letter-spacing: 1px;
}

a.credit:hover {
  text-decoration: none;
  color: #ed7715;
}

a.credit:hover span {
  color: #83bf21;
}

#tablet div.row-fluid input {
  width: 90%;
}

.relative {
  position: relative;
}

.salon {
  position: absolute;
  right: 0;
  top: 2px;
  z-index: 5;
}

.salon .bootstrap-select {
  width: 130px !important;
}

.salon button,
.salon button:hover,
.salon button:focus {
  color: #333;
}

.client-info .btn-primary {
  width: 140px;
}

.client-info .dropdown {
  width: 165px;
}

.client-number {

}

/** Article ***********************************************************************************************************/

form.article input#name {
  width: 90%;
}

form.article textarea#description {
  width: 98%;
  height: 60px;
}

form.article input#price,
form.article input#price1,
form.article input#price2,
form.article input#price3,
form.article input#quantity,
form.article input#minimal {
  width: 90%;
}

form.article .bootstrap-select {
  width: 99% !important;
}

table#article > tbody > tr.highlight td {
  background-color: #ebcccc;
}

/** Sale **************************************************************************************************************/

form.sale input#time {
  width: 70%;
}

form.sale .bootstrap-select {
  width: 95% !important;
}

form.sale input#quantity,
form.sale input#price {
  width: 90%;
}

/** Promo *************************************************************************************************************/

form.promo .bootstrap-select {
	width: 95% !important;
}

form.promo input#code {
  width: 90%;
}

form.promo input#text {
  width: 94%;
}

form.profile .bootstrap-select {
  width: 50% !important;
}

/** Report ************************************************************************************************************/

#report-form {
	background: #fffacd;
	padding: 10px 20px 20px 20px;
}

#report-form input {
  margin-bottom: 1em;
}

#report-form .form-actions {
	background: transparent;
	padding-bottom: 0;
}

#report-form .row-fluid [class*="span"] {
  margin-left: 0;
}

.table td.edit {
  width: 1%;
}

mark {
  background: #fffacd;
  padding: 3px 5px;
  border-radius: 3px;
  font-weight: bold;
}

th.w5 {
  width: 5%;
}

th.w10 {
  width: 10%;
}

th.center,
td.center {
  text-align: center;
}

th.right,
td.right {
  text-align: right;
}

a.btn.warning {
  background: #dd1144;
}

td span.date {
  color: #777;
  font-size: 0.8em;
}

/** Online book form **************************************************************************************************/

#form-book {
	background: #f0f0f0;
	padding: 10px 20px 10px 20px;
}

#form-book div.times {
  background: rgba(206, 243, 147, 0.84);
  background: rgba(200, 200, 200, 0.84);
  margin: 1em 0 0 0;
  padding: 1em;
}

#form-book div.times p:last-child {
  margin-bottom: 0;
}

#form-book label {
	font-size: 12px;
	margin-bottom: 0;
	margin-top: 10px;
}

#form-book .bootstrap-select {
	width: 100%;
}

#form-book .input-book input {
	width: 96%;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  #form-book .input-book input {
    width: 97%;
  }
}

@media (min-width: 1200px) {
  #form-book .input-book input {
    width: 98.5%;
  }
}

#form-book .form-actions {
	background: transparent;
	margin-bottom: 0;
}

#form-book div.help {
  color: #777;
  font-size: 11px;
}

#form-book div.form-help {
  font-size: 12px;
  color: #ed7715;
  color: #2d6987;
}

#form-book input[name='terms'] {
  float: left;
  margin-right: 5px;
}

/** Profile ************************************************************************************************************/

#form-signin div.help {
  background: rgba(206, 243, 147, 0.84);
  margin: 1em 0 0 0;
  padding: 1em;
  color: #777;
  font-size: 12px;
}

#form-signin input[name="email"],
#form-signin input[name="password"] {
  width: 98%;
}

form#profile select {
  width: 20%;
}

form#profile input#address,
form#profile input#parent_address,
form#profile input#problems {
  width: 100%;
}


form.payment-form input[type="text"] {
  width: 98%;
}