/********************************************
**                  **
**                  ALERT                  **
**                  **        
********************************************/
body.has-jmessage,
body.modal-open {
  padding-right: 0 !important;
  overflow-y: auto !important;
}
@-webkit-keyframes showMAlert {
  0% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
  45% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  80% {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes showMAlert {
  0% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
  45% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  80% {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes hideMAlert {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes hideMAlert {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }
}
.m-show .modal-content {
  border: 1px solid transparent;
}
.m-show.m-noanimation {
  -webkit-animation: none;
  animation: none;
}
.modal-open .modal.m-wrap {
  overflow-y: hidden;
}
.m-show {
  -webkit-animation: hideMAlert 0.15s forwards;
  animation: hideMAlert 0.15s forwards;
  width: 300px;
  top: 13%;
  margin: 0 auto;
}

.m-show.m-mail  {
  width: 345px;
}

.m-show.m-mail .modal-content .modal-body{
  min-height: 0;  
}

.m-show.m-mail .modal-content .modal-body p{
  min-height: 0;  
}

.m-show.m-mail .modal-mail{
  padding: 1rem 1rem;
}

.modal-footer {
  display: unset;
}
.m-show .modal-content > .modal-footer .btn {
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease 0s;
  width: 110px;
}
.m-show .modal-content .modal-body {
  min-height: 120px;
}
.m-show .modal-content > .modal-footer .btn :hover {
  transition: ease all 0.3s;
}
.m-icon {
  -moz-user-select: none;
  border: 4px solid rgb(255, 255, 255);
  border-radius: 50%;
  box-sizing: content-box;
  cursor: default;
  height: 80px;
  margin: 10px auto 15px;
  padding: 0;
  position: relative;
  width: 80px;
  color: rgb(255, 255, 255);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 60px;
  line-height: 80px;
  text-align: center;
}

/*WARNING*/
.m-show.m-warning .modal-footer .btn,
.m-show.m-warning .modal-header {
  background-color: rgb(243, 194, 0);
}
.m-show.m-warning .modal-footer .btn:hover,
.m-show.m-warning .modal-footer .btn:focus {
  background-color: rgb(233, 174, 0);
}
/* SUCCESS */
.m-show.m-success .modal-footer .btn,
.m-show.m-success .modal-header {
  background-color: rgb(0, 151, 251);
}
.m-icon.m-success [class^="m-success-line"][class$="tip"] {
  left: 14px;
  top: 46px;
  transform: rotate(45deg);
  width: 25px;
}
.m-icon.m-success [class^="m-success-line"][class$="long"] {
  right: 8px;
  top: 38px;
  transform: rotate(-45deg);
  width: 47px;
}
.m-icon.m-success [class^="m-success-line"] {
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
  display: block;
  height: 5px;
  position: absolute;
  z-index: 2;
}
.m-show.m-success .modal-footer .btn:hover,
.m-show.m-success .modal-footer .btn:focus {
  background-color: rgb(0, 151, 251);
}

/* MAIL */
.m-show.m-mail .modal-footer .btn,
.m-show.m-mail .modal-header {
  background-color: rgb(0, 151, 251);
}
.m-icon.m-mail [class^="m-mail-line"][class$="tip"] {
  left: 14px;
  top: 46px;
  transform: rotate(45deg);
  width: 25px;
}
.m-icon.m-mail [class^="m-mail-line"][class$="long"] {
  right: 8px;
  top: 38px;
  transform: rotate(-45deg);
  width: 47px;
}
.m-icon.m-mail [class^="m-mail-line"] {
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
  display: block;
  height: 5px;
  position: absolute;
  z-index: 2;
}
.m-show.m-mail .modal-footer .btn:hover,
.m-show.m-mail .modal-footer .btn:focus {
  background-color: rgb(0, 151, 251);
}

/* CONFIRM */
.m-show.m-confirm .modal-footer .btn,
.m-show.m-confirm .modal-header {
  background-color: rgb(76, 135, 185);
}
.m-show.m-confirm .modal-footer .btn:hover,
.m-show.m-confirm .modal-footer .btn:focus {
  background-color: rgb(76, 125, 155);
}
/*ERROR*/
.m-show.m-danger .modal-footer .btn,
.m-show.m-danger .modal-header {
  background-color: rgb(242, 27, 41);
}
.m-show.m-danger .modal-footer .btn:hover,
.m-show.m-danger .modal-footer .btn:focus {
  /* background-color: rgb(231, 60, 70); */
  background-color: rgb(242, 27, 41);
}
.m-icon.m-danger [class^="m-x-mark-line"][class$="left"] {
  left: 17px;
  transform: rotate(45deg);
}
.m-icon.m-danger [class^="m-x-mark-line"] {
  background-color: rgb(242, 116, 116);
  border-radius: 2px;
  display: block;
  height: 5px;
  position: absolute;
  top: 37px;
  width: 47px;
}
.m-icon.m-danger [class^="m-x-mark-line"][class$="right"] {
  right: 16px;
  transform: rotate(-45deg);
}
.m-icon.m-danger [class^="m-x-mark-line"] {
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
  display: block;
  height: 5px;
  position: absolute;
  top: 37px;
  width: 47px;
}
/**/

.m-show > .modal-content > .modal-body {
  text-align: center;
}
.m-show.m-noanimation {
  -webkit-animation: none;
  animation: none;
}

.in .m-show {
  -webkit-animation: showMAlert 0.3s;
  animation: showMAlert 0.3s;
}

.in .m-show {
  -webkit-transition: background-color 0.1s;
  transition: background-color 0.1s;
}

.m-wrap .modal-header {
  position: relative;
}

.m-wrap .modal {
  background-color: rgba(0, 0, 0, 0.4);
}

.m-show .modal-footer {
  text-align: center;
  border: 0;
}

.m-show .btn-group {
  width: 100%;
}

.m-show .btn-group .btn {
  width: 50%;
  padding: 15px;
}
.japp-alert {
  position: fixed;
  z-index: 99999;
  /*border-radius: 2px;*/
  box-shadow: 0 2px 3px 2px rgba(0, 0, 0, 0.03);
  -moz-box-shadow: 0 2px 3px 2px rgba(0, 0, 0, 0.03);
  -webkit-box-shadow: 0 2px 3px 2px rgba(0, 0, 0, 0.03);
  display: none;
  background-color: rgba(10, 86, 136, 0.7);
  color: #fff;
}
.japp-alert.alert-success {
  background: rgba(23, 147, 130, 0.8);
  color: #fff;
}
.japp-alert.top {
  top: 78px;
}
.japp-alert.left {
  left: 0;
}
.japp-alert.right {
  right: 0;
}
.japp-alert.bottom {
  bottom: 40px;
}
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}
.animated {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}
@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}

@-webkit-keyframes fadeOutLeft {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

.m-wrap {
  background-color: rgba(0, 0, 0, 0.15);
}
.m-wrap .modal-body h4 {
  color: #333;
}
.m-wrap .modal-body p {
  color: #555;
  font-size: 1rem;
  margin: 0;
  display: flex;
  flex-direction: column-reverse;
  min-height: 67px;
  vertical-align: middle;
  align-self: center;
  align-items: center;
  vertical-align: middle;
}
