/*
//
// Tip: to integrate this plugin seamlessly into your application, use these styles as a starting
// point to build your own stylish alerts and confirmations!
//
*/

/* Modal */
.alertable {
  position: fixed;
  z-index: 9999;
  top: 38vh;
  left: calc(50% - 194px);
  width: 300px;
  background: white;
  border-radius: 4px;
  padding: 30px;
  margin: 0 auto;

  font-family: Montserrat;
  font-size: 11px;

  border: 0px solid rgb(4, 167, 235);
  background-color: rgb(241, 241, 241);
  -webkit-box-shadow: rgba(0, 0, 0, 0.768627) 0px 0px 7px;
  box-shadow: rgba(0, 0, 0, 0.768627) 0px 0px 7px;
  transition: all 0.1s ease-in-out;

  opacity: 0;
  animation: fadeInUp 0.4s ease-in-out;
  animation-fill-mode: both;
}


.alertable.scrollable {
  top: 15vh;
  left: calc(50% - 260px);
  width: 460px;
}

.alertable.scrollable .alertable-message {
  max-height: 55vh;
  overflow-y: scroll;
  margin-bottom: 30px;
  padding-right: 10px;
}


.alertable.scrollable .alertable-message::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 5px;
}
.alertable.scrollable .alertable-message::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
}

/* Overlay */
.alertable-overlay {
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgb(51, 55, 69, .85);

  opacity: 0;
  animation: fadeIn 0.2s ease-in-out;
  animation-fill-mode: both;
}

/* Message */
.alertable-message {
  color: rgb(52, 55, 68);
  font-family: Montserrat;
  letter-spacing: 0px;
  font-size: 13px;
  padding-bottom: 30px;
  white-space: pre-line;
}

/* Prompt */
.alertable-prompt {
  margin-bottom: 20px;
}

.alertable-input {
  width: 100%;
  border-radius: 4px;
  box-shadow: none;
  border: solid 1px #ccc;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 6px 12px;
  display: block;
  box-sizing: border-box;
  margin-bottom: 10px;
}

/* Button group */
.alertable-buttons {
  text-align: right;
}

.alertable-ok, 
.alertable-cancel{
  border: 0px none rgb(160, 160, 160);
  padding: 6px 20px;
  background-color: rgb(210, 210, 210);
  border-bottom-left-radius: 23px;
  border-bottom-right-radius: 23px;
  border-top-left-radius: 23px;
  letter-spacing: 2px;
  border-top-right-radius: 23px;
  line-height: 21px;
  font-size: 11px;
  text-align: center;
  font-weight: 500;
  color: rgb(255, 255, 255);
  cursor: pointer;
  overflow: visible;
  text-transform: uppercase;

  margin: 0 0 0 15px;
}

.alertable-ok:focus, 
.alertable-cancel:focus{
  outline: none;
}


/* OK button */
/*.alertable-ok {
  background: #09d;
  border: solid 1px #09d;
  font-family: inherit;
  font-size: inherit;
  color: white;
  border-radius: 4px;
  padding: 6px 12px;
  margin-left: 4px;
  cursor: pointer;
}

.alertable-ok:hover,
.alertable-ok:focus,
.alertable-ok:active {
  background-color: #08c;
}*/


.alertable-ok {
  background: #F2605B;
}

.alertable-ok:hover,
.alertable-ok:focus,
.alertable-ok:active {
  background-color: #F2605B;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}