.modal-body {
  //font-weight: normal;
  //font-size: 12px;
}

.btn-fw {
  width: 100%;
}

.modal-header,
.modal-footer {
  border: 0;
}



.modal-header {
  background-color: $brand-primary;
  color: #fff;

  .close {
    color: white;
    text-shadow: 0 1px 0 black;
    opacity: 0.5;

    &:hover, &:focus {
      color: white;
      opacity: 1;
    }
  }
}

.modal-footer .btn+.btn {
  margin-left: 0 !important;
}

.modal-dialog {
  max-height: 80%;
  overflow-y: auto;
}


.modal {
  overflow-x: auto;
  overflow-y: hidden;


  &.top .modal-dialog {
    width: 300px;
    margin: 30px auto;

    @media (min-width: $screen-sm) {
      width: 400px;
      margin: 30px auto;
    }
  }


  &.center .modal-dialog {
    position: fixed;
    top: 40%;
    left: 47%;
    min-width: 300px;
    max-width: 500px;
    width: 40%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);

    @media (min-width: $screen-sm) {
      width: 50%;
      left: 50%;
    }
  }
}
.modal-backdrop.am-fade {
  opacity: .5;
  transition: opacity .15s linear;
  &.ng-enter {
    opacity: 0;
    &.ng-enter-active {
      opacity: .5;
    }
  }
  &.ng-leave {
    opacity: .5;
    &.ng-leave-active {
      opacity: 0;
    }
  }
}

.modal-icon {height: 40px;}
.modal-icon-inner,
.modal-icon-inner:before,
.modal-icon-inner:after {
  background: #16ad44;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 10px;
  height: 20px;
}
.modal-icon-inner:before,
.modal-icon-inner:after {
  position: absolute;
  top: 0;
  content: '';
}
.modal-icon-inner:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.modal-icon-inner {
  color: #16ad44;
  text-indent: -9999em;
  margin: 40px auto;
  position: relative;
  font-size: 11px;
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.modal-icon-inner:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 3em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 4em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 3em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 4em;
  }
}