.fa-error:before{content:"\f00d"}
.fa-success:before{content:"\f00c"}

.ajax-loading {
	position:fixed;
	top:0;
	left:50%;
	width:140px;
	margin-left:-70px;
	padding:5px 10px;
	font-size: 18px;
	background-color: #000;
	color:#fff;
	text-align:center;
	z-index: 999;
}

.alert-error {
  border-color: #953b39;
  color: #fff;
  background: #c26565;
  text-shadow: none;
}

.abbr {
	border-bottom: 1px dotted gray;
}
	
.vamiddle {
	vertical-align: middle !important;
}

textarea {
	min-height:150px;
}

.small-info {
	font-size:0.8em;
	color:gray;
}

.no-wrap, .nowrap {
	white-space: nowrap !important;
}

.select2-hidden-accessible {
	display: none;
}
.select2-results .select2-disabled {
  background: #fff;
  opacity: 0.1;
}

.select2-container {
	width:100% !important;
}

input:disabled:not(input[type=submit]), input:read-only:not(input[type=submit]) {
	background: #dddddd !important;
}


div.input.input-file input{
	background: #fff !important;
}

span.order-status-cube {
	display:inline-block;
	width:20px;
	height: 20px;
	text-align:center;
}
span.order-status-cube i{
	padding-top:4px;
	padding-left:1px;
	color:#fff;
}

span.order-grid-status-cube {
	display:inline-block;
	line-height: 20px;
	text-align:center;
	font-size: 0.8em;
	padding:0 5px;
	white-space: nowrap;
}
span.order-grid-status-cube i{
	padding:4px 2px 0px 5px;
	color:#fff;
}


div.tooltip {
    z-index: 999999 !important;
}

.tooltip-inner {
    max-width: 800px;
}

div#logo-group a {
	font-size:28px;
	color:#4c4f53;
	display: inline-block;
	margin: 5px 0 0 10px;
}
div#logo-group a:hover {
	text-decoration: none;
}
div#logo-group a.auth {
	margin: 15px 0 0 0;
}




/* Client Order Eshop */
.shop-item {
	/*height:469px;*/
}
.shop-item .title{
	height:20px;
	margin:0;
	overflow: hidden;
}
.shop-item .image{
	display:block;
	text-align: center;
	margin:10px 0;
	height:231px;
}
.shop-item .image img {
	width:100%;
	max-width:231px;
	max-height:231px;
}
.basket-content > a {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	cursor: pointer;
	display: inline-block;
	font-weight: 700;
	height: 30px;
	width: 42px;
	padding: 2px 2px 2px 10px;
	text-align: center;
	text-decoration: none!important;
	-moz-user-select: none;
	-webkit-user-select: none;
	background-color: #f8f8f8;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#f1f1f1));
	background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -moz-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -ms-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -o-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: linear-gradient(top,#f8f8f8,#f1f1f1);
	border: 1px solid #bfbfbf;
	color: #c4bab6;
	font-size: 19px;
	margin: 10px 0 10px 10px;
	position: relative;
	text-align: left;
}
.basket-content > a b.badge {
	position: absolute;
	top: -6px;
	right: -5px;
	cursor: pointer;
	background: #0091d9;
	display: inline-block;
	font-size: 10px;
	box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
	color: #fff;
	font-weight: 700;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	padding: 2px 4px 3px;
	text-align: center;
	line-height: normal;
	min-width:18px;
}
.basket-content table tr th{
	vertical-align: middle;
}
/* Client Order Eshop */


#header-contact{
	position:absolute;
	left:50%;
	top:0;
	margin-left:-410px;
	width:820px;
	height:49px;
	line-height: 49px;
	text-align:center;
}


/* Menu */

.table-responsive {
	overflow-x: visible;
}


/* Grid */
.dataTables_wrapper table tr th::first-letter {
	text-transform: capitalize;
}
.dataTables_wrapper table tr td {
	vertical-align:middle;
}
.dataTables_wrapper table tr td:last-child {
	text-align:right;
}

.dt-toolbar {
  padding: 6px;
}

label.checkbox {
	text-transform:lowercase;
}


/* Grid Filter Form */
div.dataTables_filter label {
	float: none;
}

div.dataTables_filter input {
	width:auto;
}

form.grid-form {
	background: red;
	/*margin-bottom: 5px;*/
	min-height:39px;
}

form.grid-form .select2-container {
	display:inline-block;
	margin-top: -3px;
	width:200px !important;
}

form.grid-form select{
	margin-top: -3px;
}

form.grid-form select[name="limit"]{
	/*margin-top:-1px;*/
}

form.grid-form input[name="keyword"],
form.grid-form input[name="publicKeyword"]{
	border-color: #BDBDBD;
	/*display: block;*/
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	/*width: 100%;*/
	height: 32px;
	line-height: 32px;
	padding: 5px 10px;
	outline: 0;
	border-width: 1px;
	border-style: solid;
	border-radius: 0;
	background: #fff;
	font: 13px/16px 'Open Sans',Helvetica,Arial,sans-serif;
	color: #404040;
	appearance: normal;
	-moz-appearance: none;
	-webkit-appearance: none;
}

form.grid-form input[type="submit"]{
	width:auto;
	float:right;
	margin-left:5px;
}

form.grid-form input.form-control{
	margin-top:-3px;
}

form.grid-form input.datepicker{
	/*width:100px;*/
}

form.grid-form div.id-input-wrapper{
	display:inline-block;
	position:relative;
}

form.grid-form div.id-input-wrapper input{
	width:120px;
	padding-left: 35px;
}

form.grid-form div.id-input-wrapper .icon-append {
	position:absolute;
	left:5px;
	top: 2px;
	width: 22px;
	height: 22px;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
	padding-right: 3px;
	border-right-width: 1px;
	border-right-style: solid;
	border-color: #BDBDBD;
	color:#A2A2A2;
}


form.grid-form span.buttons{
	float:right;
}


/* smart-form checkbox */
form.grid-form .checkbox {
  margin-bottom: 4px;
  padding-left: 10px;
  padding-top: 3px;
  line-height: 25px;
  color: #404040;
  cursor: pointer;
  font-size: 13px;
}
form.grid-form .checkbox input {
  position: absolute;
  left: -9999px;
}
form.grid-form.checkbox input+i:after {
	position: absolute;
	opacity: 0;
	transition: opacity .1s;
	-o-transition: opacity .1s;
	-ms-transition: opacity .1s;
	-moz-transition: opacity .1s;
	-webkit-transition: opacity .1s
}
form.grid-form .checkbox input:checked+i {
	border-color:#BDBDBD;
}
form.grid-form .checkbox i {
  position: absolute;
  top: 6px;
  left: 0px;
  display: block;
  width: 19px;
  height: 19px;
  outline: 0;
  border-width: 1px;
  border-style: solid;
  background: #FFF;
}
form.grid-form .checkbox input+i:after {
	/*content: '\f00c';*/
	position:absolute;
	top: -1px;
	left: 1px;
	width: 15px;
	height: 15px;
	font: 400 16px/19px FontAwesome;
	text-align: center
}
form.grid-form .checkbox input:checked+i:after {content: '\f00c'}
form.grid-form .checkbox input:checked+i:after {opacity: 1}
form.grid-form .checkbox:hover i{-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}
form.grid-form .checkbox:active i{
	background: #F0F0F0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.1)
 }
form.grid-form .checkbox input+i:after {color: #555}





/* Product detail dialog */
#dialog_product-detail .wrapper{
	/*background:Red;*/
	margin:10px 10px 20px 10px;
}


#dialog_product-detail .product-info{
	/*width:100%;*/
}
#dialog_product-detail .product-info tr td{
	padding-right:4px;

}
#dialog_product-detail .product-info tr td:first-child{
	padding-right: 20px;
	width:10%;
}
#dialog_product-detail .product-info tr td:nth-child(2){
	padding-right: 40px;
	width:30%;
}

#dialog_product-detail .product-variant-table{
	width:100%;
}
















#dialog_product-detail div.preview-mini-image {
	display:table-cell;
	width:60px;
	height:60px;
	border: 1px solid #777;
	text-align: center;
	vertical-align: middle;
}
#dialog_product-detail div.preview-mini-image  img{
	max-width:58px;
	max-height:58px;
}



#dialog_product-detail div.preview-image-wrapper {
	width:120px;
	height:120px;
	margin:0 10px 10px 0;
	float:left;
}
#dialog_product-detail div.preview-image {
	display:table-cell;
	width:120px;
	height:120px;
	border: 1px solid #777;
	text-align: center;
	vertical-align: middle;
}
#dialog_product-detail div.preview-image img{
	max-width:118px;
	max-height:118px;
}

#dialog_product-detail h4 {
	margin:0 0 5px 0;
}

#dialog_product-detail div.gallery-image-wrapper {
	width:120px;
	height:120px;
	margin:0 10px 10px 0;
	float:left;
	cursor:pointer;
}
#dialog_product-detail div.gallery-image {
	display:table-cell;
	width:120px;
	height:120px;
	border: 1px solid #777;
	text-align: center;
	vertical-align: middle;
}
#dialog_product-detail div.gallery-image a.new-window{
	margin-top:5px;
	display:none;
}
#dialog_product-detail div.gallery-image a img{
	max-width:118px;
	max-height:118px;
}
 /*Full*/
#dialog_product-detail div.gallery-image-wrapper.full {
	width:100%;
	height:auto;
	margin:10px 0;
	float:none;
	clear:both;
	display:block;
}
#dialog_product-detail div.gallery-image-wrapper.full div.gallery-image{
	/*border: 0;*/
	width:100%;
	height:auto;
	display:block;
}
#dialog_product-detail div.gallery-image-wrapper.full div.gallery-image a{
	display:block;
}
#dialog_product-detail div.gallery-image-wrapper.full div.gallery-image a img{
	max-width:1000px;
	max-height:1000px;
}



/* Sparks */
#sparks li {
	overflow: visible;
}

.sparks-info .my-sparkline {
    display: block;
    float: right;
    margin: 3px 0 0 20px;
}

/* Summary table */

table.summary th {
	padding-right:10px;
}

table.table tr td {
	vertical-align: middle;
}

input[type=text][active-filter="true"] {
	 border-color: #d9534f !important;
}

label[active-filter="true"] {
	color: #d9534f !important;
}

select[active-filter="true"] {
	border-color: #d9534f !important;
}

.select2-container[active-filter="true"] a {
	border-color: #d9534f !important;
}

.redactor_editor {
	min-height: 300px !important;
}

#ribbon{
	background: #474544 !important;
}

#ribbon ul.ribbon-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	background: #3a3633 !important;
}

#ribbon ul.ribbon-menu li {
	border-right: 1px solid #c0bbb7;
	float:left;
}
#ribbon ul.ribbon-menu li a{
	display:block;
	min-height: 40px;
	line-height: 40px;
	padding: 0 20px;
	color: #c0bbb7;
}
#ribbon ul.ribbon-menu li a:hover{
	color:#fff;
}

#ribbon ul.ribbon-menu li.active a{
	font-weight: bolder;
	color:#fff;
}