@charset "UTF-8";

/************************************************** STATUS *****************************************/
.status {
	color: #fff;
	border-radius: 30px;
	padding: 5px 15px;
	display: inline-block;
	background-color: #39bbd5;
}

.status.inline {
	padding: 2px 8px 3px 8px;
	font-size: 90%;
	line-height: 1em;
}

.status.green {
	background-color: #64d542;
}

.status.red {
	background-color: #d9534f;
}

.status.orange {
	background-color: #f39919;
}

.status.blue {
	background-color: #1689e0;
}

.status.grey {
	background-color: #c0c3b8;
}

.status.purple {
	background-color: #936ccb;
}

/************************************************** BUTTONS *****************************************/
.button {
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: #333333;
	background-color: #f1f1f1;
	border-color: #cccccc;
	transition: background-color 0.5s;
}

.button:hover, .button:focus, .button:active, .button:active {
	text-decoration: none;
}

.button
:hover
:not
 
(
[
disabled
]
 
),
.button
:focus
:not
 
(
[
disabled
]
 
),
.button
:active
:not
 
(
[
disabled
]
 
),
.button
:active
:not
 
(
[
disabled
]
 
)
{
color
:
 
#333333
;

	
background-color
:
 
#cac9cb
;

	
border-color
:
 
#adadad
;


}
.button[disabled] {
	cursor: default;
	opacity: .5;
}

.button i.fa {
	margin-right: 5px;
}

/**** Delete button ***/
.button.delete {
	color: #ffffff;
	background-color: #d9534f;
	border-color: #d43f3a;
}

.button
.delete
:hover
:not
 
(
[
disabled
]
 
),
.button
.delete
:focus
:not
 
(
[
disabled
]

	
),
.button
.delete
:active
:not
 
(
[
disabled
]
 
),
.button
.delete
.active
:not
 
(
[
disabled
]

	
)
{
color
:
 
#ffffff
;

	
background-color
:
 
#d2322d
;

	
border-color
:
 
#ac2925
;


}
.red {
	color: #d2322d;
}

/****** Add or green button ****/
.button.add, .button.green {
	color: #ffffff;
	background-color: #98be0f;
	border-color: #98be0f;
}

.button
.add
:hover
:not
 
(
[
disabled
]
 
),
.button
.add
:focus
:not
 
(
[
disabled
]
 
),
.button
.add
:active
:not
 
(
[
disabled
]
 
),
.button
.add
.active
:not
 
(
[
disabled
]

	
),
.button
.green
:hover
:not
 
(
[
disabled
]
 
),
.button
.green
:focus
:not
 
(
[
disabled
]

	
),
.button
.green
:active
:not
 
(
[
disabled
]
 
),
.button
.green
.active
:not
 
(
[
disabled
]

	
)
{
color
:
 
#ffffff
;

	
background-color
:
 
#5aad55
;

	
border-color
:
 
#5db056
;


}

/*** Button blue **/
.button.blue {
	color: #ffffff;
	background-color: #1689e0;
	border-color: #0e6aaf;
}

.button.blue:hover, .button.blue:focus, .button.blue:active, .button.blue.active
	{
	color: #ffffff;
	background-color: #127ac8;
	border-color: #0e6aaf;
}

/**** do not use. Only to show that font-awesome works and it's vectorial */
.button.big {
	font-size: 5em;
	border-radius: 10px;
}

/************************************************** FORMS *****************************************/
input[type=text], input[type=number], input[type=date], input[type=time],
	input[type=password], input[type=email], textarea, select {
	padding: 5px 9px;
	border: solid 1px #c1c1c1;
	outline: 0;
	width: 230px;
	background-color: #FFFFFF;
}

select {
	height: 28px;
}

input[type=text][size] {
	width: auto;
}

td select {
	padding: 5px;
}

input[type=text], input[type=password], input[type=email], textarea {
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input:hover, textarea:hover, input:focus, textarea:focus {
	border-color: #a1a1a1;
	background: #FFFFFF;
}

input:focus, textarea:focus {
	border-color: #636363;
	outline: 0;
}

select, input[type=radio], input[type=checkbox] {
	width: auto;
}

input.errorform {
	border: 1px solid #EA5338;
	color: red;
	background: none;
	background-color: #ffb6a9;
}

input.errorform:focus, input.errorform:hover {
	border: 1px solid #EA5338;
	background-color: #ffb6a9;
	-webkit-box-shadow: 0 1px 2px #EA5338 inset;
	-moz-box-shadow: 0 1px 2px #EA5338 inset;
}

.errorform::-webkit-input-placeholder {
	color: red;
}

.errorform:-moz-placeholder {
	color: red;
}

.errorform:-ms-input-placeholder {
	color: red;
}

textarea.dialog, textarea.dialog:focus {
	border: 0px;
	background: none;
	box-shadow: none;
}

input, textarea {
	border: 1px solid #CACACA;
	outline: medium none;
	background-color: #fff;
	margin: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-background-clip: padding-box;
	border-radius: 4px;
}

input[type='button'] {
	padding: 6px 8px;
}

input.color {
	background: white;
}

input.invalid, textarea.invalid {
	border: 1px solid #EA5338;
}

input.invalid:focus, textarea.invalid:focus {
	border: 1px solid #EA5338;
	-webkit-box-shadow: 0 1px 2px #EA5338 inset;
	-moz-box-shadow: 0 1px 2px #EA5338 inset;
}

input[type=checkbox] {
	border: 0px;
	padding: 0px;
	margin-right: 5px;
}

textarea {
	resize: none;
}

input.number, .row input.number {
	width: 40px;
}

/************************************************** TAGS *****************************************/
li.tags, .tags a {
	float: left;
	height: 20px;
	line-height: 20px;
	position: relative;
	list-style: none;
	margin-bottom: 2px;
	white-space: nowrap;
}

.tags a {
	margin-left: 20px;
	padding: 0 10px 0 12px;
	background: #0089e0;
	border-color: transparent #0089e0 transparent transparent;
	color: #fff;
	text-decoration: none;
	font-size: 0.8em;
}

.tags a:before {
	content: "";
	float: left;
	position: absolute;
	top: 0;
	left: -12px;
	width: 0;
	height: 0;
	border-color: inherit;
	border-style: solid;
	border-width: 10px 12px 10px 0;
}

.tags a:after {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	float: left;
	width: 4px;
	height: 4px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #fff;
}

.tags a:hover {
	background: #555;
	border-color: transparent #555 transparent transparent;
	text-decoration: none;
	color: #fff;
}

.tags a:hover:before {
	border-color: inherit;
}

/************************************************** RIBBON *****************************************/
div.ribbon {
	float: right;
}

/* for correct centering, do not use float right */
h1 div.ribbon {
	float: none;
	margin-left: 20px;
	display: inline;
	font-size: 16px;
}

li.ribbon, .ribbon span {
	float: left;
	height: 30px;
	line-height: 30px;
	position: relative;
	list-style: none;
	margin-bottom: 2px;
}

.ribbon span {
	margin-left: 30px;
	padding: 0 10px 0 12px;
	background: #0089e0;
	color: #fff;
	text-decoration: none;
	font-size: 1em;
}

.ribbon span:before {
	content: "";
	float: left;
	position: absolute;
	top: 0;
	left: -12px;
	width: 0;
	height: 0;
	border-color: inherit;
	/* MUST BE SET ON SPAN */
	/* transparent #0089e0 transparent transparent; */
	border-style: solid;
	border-width: 15px 12px 15px 0;
}

.ribbon span:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 0;
	float: left;
	width: 4px;
	height: 4px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #fff;
}

.ribbon.draft span {
	background-color: #d1d1d1;
}

.ribbon.draft span:before {
	border-color: transparent #0089e0 transparent transparent;
}

.ribbon.sent span {
	background-color: #64d542;
}

.ribbon.sent span:before {
	border-color: transparent #64d542 transparent transparent;
}

/************************************************** jQuery UI customization *****************************************/
.ui-progressbar {
	position: relative;
}

.progress-label {
	position: absolute;
	left: 50%;
	margin-left: -70px;
	top: 4px;
	font-weight: normal;
}

#selector_calendar_content #dateinterval_from,
	#selector_calendar_content #dateinterval_to {
	font-size: 1.25em;
	width: 100px;
}

div.selector_content {
	max-height: 500px;
}

/************************************************** Fast click *****************************************/
html {
	-ms-touch-action: manipulation;
	touch-action: manipulation;
}

/************************************************** Quick add *****************************************/
div.quick_add_in_select {
	display: inline-block;
	vertical-align: bottom;
	margin-left: 10px;
	margin-bottom: 3px;
}

div.quick_add_in_select i {
	font-size: 1.5em;
	cursor: pointer;
}


/* cols */
.cols .col30 { width: 33.33333%; float: left }
.cols .col30 > div { margin: 20px }
.cols .col30 > div img { max-width: 100%; height: auto }
.cols .col30 > div img.resp { width: 100% }

.cols .col50 { width: 50%; float: left }
.cols .col50 > div { margin: 20px; position: relative; }


.cols .col25 { width: 25%; float: left }
.cols .col25 > div { margin: 20px }


/** iphone 2 -> 4 portrait and landscape */ 
@media screen and (max-width: 480px )
{ 
  .cols .col25, .cols .col30, .cols .col50 { width: auto; float: none; }
}


/* inventory event */
.event_inventory {
  margin: 10px 0px;
  position: relative;
  padding: 10px;
  border-bottom: 1px solid #f1f1f1;
}
.event_inventory:hover {
  background-color: #f1f1f1;
}

.event_inventory_user {
  font-weight: bold;
  font-size: 1.2em;
  float: left;
}
.event_inventory_user i {
  font-size: 1.5em;
}
.event_inventory_date {
  float: right;
}
.event_inventory_comment {
  font-style: italic;
  clear: both;
  padding: 20px 0px;
}

.event_inventory_action {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.event_inventory:hover .event_inventory_action {
  display: block;
}

span.task_color_marker {
  display: inline-block;
  min-width: 80px;
  padding: 4px 10px ;
  border-radius: 20px;
  text-align: center;
  font-size: 0.9em;
  /*font-weight: bold*/;
}
