.well-sm {
    margin-left: 2px;
    margin-right:2px;
}

.input-xs {
    height:22px;
    padding:1px 5px;
}

.drop-placeholder {
    border: 2px dashed #ccc;
    background-color: #fff;
}

.draggable-div {
    cursor: move;
    border-left: 6px solid #777;
}

.draggable-div div,
.draggable-div label,
.draggable-div span {
    cursor: move;
}

.panel-desc {
  padding-left:35px;
  padding-right:35px;
  padding-top:5px;
}

.help-text {
  font-size:90%;
  margin-bottom:20px;
}

.selected-tier {
    font-weight: bold;
}

.example {
  font-style: italic;
}

ul.example {
  margin-left: 20px;
  margin-bottom: 2px;
  padding: 0px;
}

.help-column {
  border-left:1px solid #eee;
}

.input-group-addon {
    //background-color: #fafafa;
}

.light-label {
  font-weight: 400;
}

.storefront-logo-small {
    max-width: 85px;
    max-height: 85px;
}

.storefront-logo-big {
    max-width: 200px;
    max-height: 200px;
}

.card {
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.card .card-image {
  padding: 5px;
}

.card .card-image img {
  padding-left: 2px;
  width: 100%;
}

.card .card-content {
  padding-right: 5px;
  padding-left: 10px;
}

.card .card-action {
  padding-right: 5px;
  padding-left: 10px;
}

.storefront-uri {
  color:#777;
}

.small-caption {
    font-size: 90%;
    margin-bottom: 5px;
}

.validation-caption {
    font-size: 90%;
    margin-top: 5px;
}

.letter-count {
  color:#777;
  font-size: 90%;
  margin-top: 5px;
}

.fake-button {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
}

.suppliersproducts .popover {
    max-width: 50%;
}

div.img-container {
    position: relative;
}

a.img-delete {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: none;
}

a.to-draft  {
    position: absolute;
    bottom: 10px;
    right: 14px;
}

a.product-copy  {
    position: absolute;
    bottom: 10px;
    left: 14px;
    display: none;
}

a.product-launch  {
    position: absolute;
    bottom: 10px;
    right: 14px;
}

a.product-delete-request, a.product-delete-cancel {
    position: absolute;
    bottom: 10px;
    right: 14px;
    display: none;
}

a.product-delete-confirm {
    position: absolute;
    bottom: 10px;
    left: 14px;
    display: none;
}

span.img-drag {
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
}

.img-container:hover span {
  display: block;
}

.img-container:hover a {
  display: block;
}

.colored-background {
    background-color:rgba(227,242,253,0.25);
}

.colored-top-border {
    border-top: rgba(227,242,253,1) 1px solid;
}

.colored-bottom-border {
    border-bottom: rgba(227,242,253,1) 1px solid;
}

.colored-side-border {
    border-left: rgba(227,242,253,1) 1px solid;
    border-right: rgba(227,242,253,1) 1px solid;
}

.badge1 {
   position:relative;
}
.badge1[data-badge]:after {
   content:attr(data-badge);
   position:absolute;
   top:-5%;
   right:53%;
   font-size:1.65em;
   color:white;
   width:40px;height:40px;
   text-align:center;
   box-shadow:0 0 1px #2e6da4;
   background-color: rgba(46,109,164,0.9); //#2e6da4;
   padding: 4px;
   border-radius: 50%;
}

/*
 * Document links (Supplier success page)
 */

/* sidebar */
.bs-docs-sidebar {
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* all links */
.bs-docs-sidebar .nav>li>a {
    color: #999;
    border-left: 2px solid transparent;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 400;
}

/* nested links */
.bs-docs-sidebar .nav .nav>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
}

/* active & hover links */
.bs-docs-sidebar .nav>.active>a,
.bs-docs-sidebar .nav>li>a:hover,
.bs-docs-sidebar .nav>li>a:focus {
    color: #4BA3DA;
    text-decoration: none;
    background-color: transparent;
    border-left-color: #4BA3DA;
}
/* all active links */
.bs-docs-sidebar .nav>.active>a,
.bs-docs-sidebar .nav>.active:hover>a,
.bs-docs-sidebar .nav>.active:focus>a {
    font-weight: 700;
}
/* nested active links */
.bs-docs-sidebar .nav .nav>.active>a,
.bs-docs-sidebar .nav .nav>.active:hover>a,
.bs-docs-sidebar .nav .nav>.active:focus>a {
    font-weight: 500;
}

/* hide inactive nested list */
.bs-docs-sidebar .nav ul.nav {
    display: none;
}
/* show active nested list */
.bs-docs-sidebar .nav>.active>ul.nav {
    display: block;
}

.form-horizontal .control-label.text-left{
    //text-align: left;
}

input.ng-pristine {
    color: #333;
    border-color: #ccc;
}

input.ng-pristine.ng-invalid.ng-touched {
    color: #b94a48;
    border-color: #ee5f5b;
}

input.ng-untouched:focus {
    color: #333;
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

textarea {
  resize: vertical;
}

.standard-textarea-invalid textarea {
  color: #b94a48;
  border: 1px solid #ee5f5b;
  border-radius: 4px;
  box-shadow: none;
}

.standard-textarea-invalid textarea:focus {
  color: #b94a48;
  border: 1px solid #ee5f5b;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(238, 95, 91, 0.075) inset, 0 0 8px rgba(238, 95, 91, 0.4);
}


.textarea-invalid {
    color: #b94a48;
    border: 1px solid #ee5f5b;
}

.textarea-valid {
    border: 1px solid white;
}

select.required select.ng-invalid {
    color: #b94a48;
    border-color: #ee5f5b;
}

select:focus.ng-invalid {
    border-color: #e9322d;
    -webkit-box-shadow: 0 0 6px #f8b9b7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #f8b9b7;
}

/* ngMagnify */
.magnify-container {
    border: 1px solid #ccc;
    margin: auto;
    position: relative;
}
/* ngMagnify */
.magnify-container .magnify-glass {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.9),
      0 0 7px 7px rgba(0, 0, 0, 0.1),
      inset 0 0 40px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.9),
      0 0 7px 7px rgba(0, 0, 0, 0.1),
      inset 0 0 40px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.9),
      0 0 7px 7px rgba(0, 0, 0, 0.1),
      inset 0 0 40px 2px rgba(0, 0, 0, 0.1);
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
    background-repeat: no-repeat;
    z-index: 999;
}
/* ngMagnify */
.magnify-container .magnify-image {
    width: 100%;
    height: 100%;
}


/* chevron */
.chevron {
	list-style: none;
	overflow: hidden;
  margin-left: -40px;
  margin-bottom: 15px;
}
.chevron li {
	float: left;
}
.chevron li a {color: white; text-decoration: none; }
.chevron li a:hover { color: white; }
.chevron li a:hover:after { color: white !important; }

.not-active {
   pointer-events: none;
   cursor: default;
}

.chevron li span {
	color: white;
	padding: 10px 0 10px 30px;
	background: #337ab7;
	position: relative;
	display: block;
	float: left;
}
.chevron li span:after {
	content: " ";
	display: block;
	width: 0;
	height: 0;
	border-top: 50px solid transparent;
	border-bottom: 50px solid transparent;
	border-left: 30px solid #337ab7;
	position: absolute;
	top: 50%;
	margin-top: -50px;
	left: 100%;
	z-index: 2;
}
.chevron li span:before {
	content: " ";
	display: block;
	width: 0;
	height: 0;
	border-top: 50px solid transparent;
	border-bottom: 50px solid transparent;
	border-left: 30px solid white;
	position: absolute;
	top: 50%;
	margin-top: -50px;
	margin-left: 1px;
	left: 100%;
	z-index: 1;
}
.chevron li:first-child span {
	padding-left: 15px;
  margin-left: 0px;
}

.chevron li span {
  margin-left: 15px;
	margin-right: 0px;
}

.chevron li.active span       { background:        #337ab7; color: white; }
.chevron li.active span:after { border-left-color: #337ab7; color: white; }

.chevron li.disabled span       { background:        #96BFE2; color: white; }
.chevron li.disabled span:after { border-left-color: #96BFE2; color: white; }

.chevron li:last-child span {
	border-top: 0px;
	border-bottom: 0px;
	border-left: 0px;
  padding-right: 15px;
}

.chevron li:last-child span:after {
	border-top: 0px;
	border-bottom: 0px;
	border-left: 0px;
}

.chevron li.success span i { color: #3c763d; }
.chevron li.success span       { background:        #dff0d8; color: #3c763d; }
.chevron li.success span:after { border-left-color: #dff0d8; color: #3c763d; }

.chevron li.success a {color: #3c763d; text-decoration: none; }
.chevron li.success a:hover { color: #3c763d; }
.chevron li.success a:hover:after { color: #3c763d !important; }

.chevron li.warning span i { color: #8a6d3b; }
.chevron li.warning span       { background:        #fcf8e3; color: #8a6d3b; }
.chevron li.warning span:after { border-left-color: #fcf8e3; color: #8a6d3b; }

.chevron li.warning a {color: #8a6d3b; text-decoration: none; }
.chevron li.warning a:hover { color: #8a6d3b; }
.chevron li.warning a:hover:after { color: #8a6d3b !important; }

img-crop {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

img-crop canvas {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.cropArea {
  background: #f5f5f5;
  overflow: hidden;
  width:100%;
  height:400px;
}
