
/* 
  ORIGINAL CODE - (HTO-CUSTOM-CODE below) 
  
    https://nakupanda.github.io/bootstrap3-dialog/
    https://github.com/nakupanda/bootstrap3-dialog

    compile using: https://cssminifier.com/
*/

.bootstrap-dialog {
  /* dialog types */
  /**
     * Icon animation
     * Copied from font-awesome: http://fontawesome.io/
     **/
  /** End of icon animation **/
}
.bootstrap-dialog .modal-header {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.bootstrap-dialog .bootstrap-dialog-title {
  color: #fff;
  display: inline-block;
  font-size: 16px;
}
.bootstrap-dialog .bootstrap-dialog-message {
  font-size: 14px;
}
.bootstrap-dialog .bootstrap-dialog-button-icon {
  margin-right: 3px;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
  font-size: 20px;
  float: right;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.bootstrap-dialog .bootstrap-dialog-close-button:hover {
  cursor: pointer;
  opacity: 1;
  filter: alpha(opacity=100);
}
.bootstrap-dialog.type-default .modal-header {
  background-color: #ffffff;
}
.bootstrap-dialog.type-default .bootstrap-dialog-title {
  color: #333;
}


/*

.bootstrap-dialog.type-info .modal-header {
  background-color: #5bc0de;
}
.bootstrap-dialog.type-primary .modal-header {
  background-color: #337ab7;
}
.bootstrap-dialog.type-success .modal-header {
  background-color: #5cb85c;
}
.bootstrap-dialog.type-warning .modal-header {
  background-color: #f0ad4e;
}
.bootstrap-dialog.type-danger .modal-header {
  background-color: #d9534f;
}
*/


.bootstrap-dialog.size-large .bootstrap-dialog-title {
  font-size: 24px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
  font-size: 30px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-message {
  font-size: 18px;
}
.bootstrap-dialog .icon-spin {
  display: inline-block;
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
@-o-keyframes spin {
  0% {
    -o-transform: rotate(0deg);
  }
  100% {
    -o-transform: rotate(359deg);
  }
}
@-ms-keyframes spin {
  0% {
    -ms-transform: rotate(0deg);
  }
  100% {
    -ms-transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}




/* HTO-CUSTOM-CODE */

/*
==================================
*********bp-Bootstrap popup**********
==================================
*/

.modal-dialog {
    max-width: 360px;
    margin: 3px auto 30px auto;
}
@media (min-height: 815px) {
  .modal-dialog {
    margin-top: 50px;
  }
}
@media (max-width: 767px) {
  .modal-dialog {
    margin-top: 50px;
  }
}
.dialog-sm .modal-dialog {
  max-width: 300px;
}


@media (max-width: 364px) {
  .modal-dialog {
    max-width: 100%;
    margin-left: 8px;
    margin-right: 8px;
  }
}

.modal-content {
  background-color: #EEE;
  color:#000;
  border: 4px solid #AAA;
  text-align:left;
  -moz-border-radius:12px;
  -webkit-border-radius: 12px;
  border-radius:12px;
  overflow:hidden;
}
.modal-content hr {
  border-top:#ddd;
}
.modal-header {
  background-color:#2277EE;
  padding:4px 6px;
  text-align:center;
  cursor:move;
  position: relative;
}

.modal-purple .modal-header {
  background-color: #5F178E;
}

.modal-dialog .dialog-content-title {
  background-color:#2277EE;
  border-radius: 5px;
  color:#FFF;
  display: block;
  line-height: 16px;
  padding: 4px;

  margin-bottom: 8px;
  text-align:center;
}

.bootstrap-dialog .btn {
  text-transform: lowercase;
}

.bootstrap-dialog .bootstrap-dialog-title {
  color:#FFF;
  font-size:16px;
  line-height: 18px;
  padding-top:3px;
  font-family: Oswald-Bold,Arial,Helvetica,sans-serif;
  text-transform:uppercase;
}

.bootstrap-dialog .bootstrap-dialog-header .close {
  padding:0 1px;
}
.modal-footer {
  padding: 8px;
  text-align: center;
}



.modal-using-loading .modal-body {
  display: none;
}
.modal-using-loading .modal-loading .spinner-wrapper {
    text-align: center;
    height: 280px;
    padding-top: 110px;
}

.modal-using-loading.modal-loaded .modal-body {
  display: block;
}
.modal-using-loading.modal-loaded .modal-loading {
    display: none;
}




.modal-help, .modal-help:focus, .modal-help:active {
  opacity: 0.5;
  text-decoration: none;
  color:#000;
  line-height: 28px;
  display: inline-block;
  margin-left: 2px;
  padding:0 6px;
  font-size: 18px;
  vertical-align: middle;

    transition: .15s ease-in-out;
    -moz-transition: .15s ease-in-out;
    -webkit-transition: .15s ease-in-out;
}
.modal-help:before {
  font-family: FontAwesome;
  content: "\f059";
}
.modal-help:hover {
  color:#000;
  opacity: 1;
  text-decoration: none;
}


.close {
  text-shadow: none;
  line-height: 26px;
  color:#fff;
  opacity: 0.5;

    transition: .15s ease-in-out;
    -moz-transition: .15s ease-in-out;
    -webkit-transition: .15s ease-in-out;
}
.close:focus, .close:hover {
  color:#fff;
  opacity: 1;
}

.bootstrap-dialog .bootstrap-dialog-header {
  position: relative;
  padding-right:30px;
  padding-left:30px;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
  opacity: 1;
  position: absolute;
  right:0;
  top:0;
  float: none;
}


.btn-save {
  background-color: #009900;
  color:#fff;
  font-weight: bold;
}
.btn-save:focus, .btn-save:hover {
  background-color: #00bb00;
  color:#fff;
}



.modal-has-editor .modal-dialog {
  width:auto;
}
.modal-has-editor .modal-body {
  padding:0;
}




.bootstrap-dialog-footer .btn-loading {
  display:none;
}
.modal-loading .bootstrap-dialog-footer .btn {
  display:none;
}
.modal-loading .bootstrap-dialog-footer .btn.btn-loading {
  display:inline-block;
}