/* custom */
.alertify .ajs-dimmer {
  opacity: 0.4;
}

@media (min-width: 768px){
  .alertify .ajs-dialog {
    min-width: 500px;
  }
}

.alertify .ajs-dialog {
  background-color: #fafafa;
  box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 2px solid #27499d;
}

.alertify .ajs-header {
  margin: -20px -24px;
  color: #000;
  font-weight: bold;
  border-bottom:#fafafa 1px solid;
  background-color: #fafafa;
  font-size: 18px;
}
.alertify .ajs-body {
  color: #000;
  font-size:0.8em;
  line-height:1.5em;
}
.alertify .ajs-footer {
  background: #fafafa;
  border-top: #fafafa 1px solid;
  border-radius: 0 0 2px 2px;
  margin: 0;
}
.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
  color: #000;
}
.alertify .ajs-body .ajs-content {
  font-size: 18px;
  padding: 20px 0;
}
.alertify .ajs-body .ajs-content .ajs-input {
  display: block;
  width: 100%;
  padding: 8px;
  margin: 4px;
  border-radius: 2px;
  border: 1px solid #CCC;
}
.alertify .ajs-footer .ajs-buttons .ajs-button {
  background-color: transparent;
  color: #000;
  border: 0;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

.alertify .ajs-dialog {
  margin: 20% auto;
}

.ajs-commands { display: none; }

.alertify .ajs-body .ajs-content{
  padding-right:1em;
  padding-bottom:1.5em;
  width:100%;
  line-height: 1.6;
}
.alertify .ajs-footer{
  padding: 0;
  padding-bottom: 20px;
}
.alertify .ajs-footer .ajs-buttons.ajs-primary{text-align:center;}
.alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button{border-radius:1px;width:40%;padding:0.5em 0; font-weight: normal;}
.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
  background-color:#27499d;
  border: none;
  border-radius: 4px;
  color: #FFF;
  font-weight: bold;
  font-size: 100%;
  width: auto;
  cursor: pointer;
  margin: 4px auto;
}
.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-cancel{
  background-color:#58b530;
  border:none;
  border-radius: 4px;
  color:#FFF;
  font-weight: bold;
  width: auto;
  cursor: pointer;
}

.alertify-notifier .ajs-message.ajs-success {
  background: rgba(39,73,157,.9);
  color: #fff;
  font-size: 16px;
  text-shadow: -1px -1px 0 rgba(0,0,0,.5);
}
.alertify-notifier .ajs-message.ajs-error {
  background: rgba(254,26,0,.9);
  color: #fff;
  font-size: 16px;
  text-shadow: -1px -1px 0 rgba(0,0,0,.5);
}

.alertify .ajs-modal {
  z-index:9999;
}