.croppie-container .cr-viewport, .croppie-container .cr-resizer {
  border: 0;
}

.croppie-container .cr-boundary {
  background-color: deeppink;
}

.sweet-alert {
  z-index: 9998;
}

.crop-container, .upload-result, .edit-review {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9997;
  text-align: center;
}

.overlay {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9996;
  background-color: rgba(0,0,0,0.5);
}

.crop-image {
  position: relative;
  width: 600px;
}

.frame-overlay {
  position:absolute;
  width: 600px;
  height: 600px;
  top:0;
  left:0;
  z-index:20;
  pointer-events:none;
  background-repeat: no-repeat;
}

.upload-result, .edit-review {
  padding: 30px;
  background-color: #fff;
  text-align: left;
  box-shadow: 1px 1px 5px 0px #000;
}

.upload-result h2, .edit-review h2 {
  margin-top: 0;
}

.upload-result .btn + .btn, .edit-review .btn + .btn {
  margin-left: 5px;
}

.edit-review {
  width: 800px;
}

.mms-details {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}

.mms-details.active {
  max-height: 300px;
}

#recent-activities .table td {
  vertical-align: middle;
}

.copy-input:focus {
   outline: none;
}

.label-sm {
  margin-right: 5px;
}

.page-header.navbar .page-logo .logo-default {
  margin-top: 7px;
}

.form-group.form-md-line-input {
  margin-bottom: 15px;
}

.image-selectable > div:not(.hidden-images) {
  cursor: pointer;
}

.image-selectable .item > div {
  position: relative;
}

.image-selectable img {
  display: block;
  width: 100%;
  border: 2px solid transparent;
}

.image-selectable .handle {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 5px 10px;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 24px;
  cursor: all-scroll;
}

.ui-selected img, .ui-selecting img {
  border-color: red;
  box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.4);
}

.vi-btm {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-top: 10px;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.login .content .form-actions {
  padding-top: 0;
}

.login .content .form-actions .btn {
  width: 100%;
}

.login .content .forget-password {
  float: none;
}

input#stock-no {
  text-transform: uppercase;
}

.hidden-images {
  display: none;
}

.hidden-images.active {
  display: block;
}

.image-selectable .mt-widget-2 .mt-body {
  padding-top: 0;
}

.image-selectable .mt-widget-2 .mt-body .mt-body-title {
  margin-top: 10px;
}

.login .ae-logo {
  margin-top: 0;
}

.blur-plate {
  margin-left: 15px;
}

.ruler {
  position: fixed;
  width: 5px;
  height: 5px;
  background-color: red;
  z-index: 99999;
}

.ruler:before {
  position: fixed;
  content: '';
  width: 100%;
  height: 1px;
  left: 0;
  border-top: 1px dashed red;
}

.ruler:after {
  position: fixed;
  content: '';
  width: 1px;
  height: 100%;
  top: 0;
  border-left: 1px dashed red;
}

.plate-preview {
  position: absolute;
  background-color: rgba(0,0,0,0.8);
  z-index: 1;
}

/* Lightbox
   ========================================================================== */

.lightbox {
  display: block;
  position: fixed;
  z-index: 2001;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  opacity: 0;
  outline: none;
  cursor: pointer;
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}

.lightbox-container {
  position: absolute;
  width: 1280px;
  top: 30%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: 90%;
  max-height: 90%;
  cursor: auto;
  overflow: auto;
  overflow: visible;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.lightbox-container img {
  width: 100%;
}

.lightbox-container p {
  margin: 5px 0;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
}

.lightbox.active {
  opacity: 1;
}

.lightbox.active .lightbox-container {
  top: 50%;
  top: calc(50% + 20px);
}

.lightbox-container .lb-close {
  cursor: pointer;
  position: absolute;
  top: -30px;
  right: -25px;
  font-size: 24px;
  color: #fff;
}

/* Flex columns
   ========================================================================== */

.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  margin-left: -20px;
}

.flex.no-gaps {
  margin-left: 0;
}

.fv-center {
  align-items: center;
}

.fh-center {
  justify-content: center;
}

.flex > * {
  width: 100%;
  float: left;
  position: relative;
  padding: 0 0 20px 20px;
}


.flex > * .flex > * {
  padding-bottom: 0;
}


.flex.ng-vert > * {
  padding-top: 0;
  padding-bottom: 0;
}

.flex.no-gaps > * {
  padding: 0;
}

.flex.site-container > * {
  padding: 0;
}

.flex > .m-col-6 {
  width: 50%;
}

.flex > .m-col-4 {
  width: 33.333%;
}

.flex > .m-col-3 {
  width: 25%;
}

.m-two-cols > * {
  width: 50%;
}

.m-three-cols > * {
  width: 33.333%;
}

.m-full {
  width: 100%;
}

.flex-grow {
  -webkit-flex-grow: 1;
  -moz-flex-grow: 1;
  flex-grow: 1;
}

.equal-height > * {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.equal-height > * > * {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-grow: 1;
  -moz-flex-grow: 1;
  flex-grow: 1;
}

.equal-height > * > * > *:last-child {
  margin-top: auto;
}

.flex-right {
   -webkit-justify-content: flex-end;
   justify-content: flex-end;
  -moz-justify-content: flex-end;
}


/* Internet Explorer fixes */

.ie .flex, .ie .flex-basic {
  *zoom:1;
}

.ie .flex:before, .ie .flex-basic:before {
  content:" ";
  display:table
}

.ie .flex:after, .ie .flex-basic:after {
  content:" ";
  display:table;
  clear:both
}

@media (min-width: 501px) {

/* Flex columns
   ========================================================================== */

.t-two-cols > * {
  width: 50%;
}

.t-three-cols > * {
  width: 33.333%;
}

}

@media (min-width: 1025px) {

/* Flex columns
   ========================================================================== */

.d-two-cols > * {
  width: 50%;
}

.d-three-cols > * {
  width: 33.333%;
}

.d-four-cols > * {
  width: 25%;
}

.d-five-cols > * {
  width: 20%;
}

.d-six-cols > * {
  width: 16.66667%;
}

}

@media (min-width: 1400px) {

/* Flex columns
   ========================================================================== */

.ld-two-cols > * {
  width: 50%;
}

.ld-three-cols > * {
  width: 33.333%;
}

.ld-four-cols > * {
  width: 25%;
}

.ld-five-cols > * {
  width: 20%;
}

.ld-six-cols > * {
  width: 16.66667%;
}

}

/* CSS Loader
   ========================================================================== */

.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

.loading:not(:required) {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}