.imagepins-sa {
  width: 100%;
  max-width: 800px;
  margin-top:10px;
}

.imagepins-sa-wrapper {
  position: relative;
  width: 100%;
  height: 40px;
  outline: 2px dashed #d6d6d6;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.imagepins-sa .alert {
  border: none;
  outline: 2px dashed #d6d6d6;
}

.imagepins-sa .fa-remove {
  cursor: pointer; 
  padding: 5px;
}

.imagepins-sa .fa-remove:hover {
  color: red; 
}

.imagepins-sa-wrapper:after {
  content: attr(data-text);
  font-size: 14px;
  position: absolute;
  top: 0;
  left: 0;
  background: #f6f6f6;
  display: block;
  padding-left: 10px;
  width: 100%;
  pointer-events: none;
  z-index: 20;
  height: 40px;
  line-height: 40px;
  color: black;
  cursor: pointer;
}

.imagepins-sa-wrapper input {
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  height: 30px;
  margin: 0;
  padding: 0;
  display: block;
  cursor: pointer;
  width: 100%;
}

.btn-imagepins {
  border: 1px solid #d6d6d6 !important;
  margin-right: 5px;
}

.btn-imagepins-grp {
  border: 1px solid #d6d6d6 !important;
  margin-right: 5px;
  height: 34px;
  line-height: 20px !important;
}


.imagepins-container {
  position: relative;
  display: inline-block; /* <= shrinks container to image size */
  transition: transform 150ms ease-in-out;
}

.imagepins-container img { /* <= optional, for responsiveness */
   display: block;
   max-width: 100%;
   height: auto;
}

.imagepins-container svg {
  position: absolute;
  top: 0;
  left: 0;
}

.imagepins-field {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.imagepins-field-img {
  padding: 5px;
}

.imagepins-field-img svg {
  width: 30px !important;
}

.imagepins-field-input {
  flex: 1;
}

.imagepins-fields-title-1 {
  margin-top:5px; 
  color: #307f7a; 
  font-weight: bold;
}

.imagepins-fields-title-2 {
  margin-top:5px; 
  color: #ec111b; 
  font-weight: bold;
}

.fmpin {
  cursor: pointer;
}

.imagepins-toggle .btn {
  opacity: 0.5;
}

.imagepins-toggle > .active {
  opacity: 1;
}


.imagepins-field .has-error .form-control {
    border: 3px solid #C63927;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.imagepins-field .error {
    display: none;
}

.imagepins-field .has-error .error {
    display: block;
    padding-left: 3px;
    padding-top: 3px;
    font-size: 12px;
    color: #C63927;
}


.imagepins-field .has-error .form-control:focus {
    outline: 3px solid #C63927;
    border: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}