/**
 * See logiforms modifications at the bottom of this file added to support
 * user defined sizes and embedded forms.
 */


.modal-backdrop {
  z-index: initial !important;
}

.bootstrap-dialog {

}
.bootstrap-dialog .modal-header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.bootstrap-dialog .bootstrap-dialog-title {
    color: #fff;
    display: inline-block;
}
.bootstrap-dialog.type-default .bootstrap-dialog-title {
    color: #333;
}
.bootstrap-dialog .bootstrap-dialog-title {
    font-size: 16px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-title {
    font-size: 24px;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
    float: right;
    filter:alpha(opacity=90);
    -moz-opacity:0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
    font-size: 20px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
    font-size: 30px;
}
.bootstrap-dialog .bootstrap-dialog-close-button:hover {
    cursor: pointer;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.bootstrap-dialog .bootstrap-dialog-message {
    font-size: 14px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-message {
    font-size: 18px;
}
.bootstrap-dialog.type-default .modal-header {
    background-color: #fff;
}
.bootstrap-dialog.type-info .modal-header {
    background-color: #5bc0de;
}
.bootstrap-dialog.type-primary .modal-header {
    background-color: #428bca;
}
.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 .bootstrap-dialog-button-icon {
    margin-right: 3px;
}

/**
 * Icon animation
 * Copied from font-awesome: http://fontawesome.io/
 **/
.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);
}
}
/** End of icon animation **/

/* Logiforms modifications
 */
.bootstrap-dialog .modal-header.bootstrap-dialog-draggable {
    cursor: move;
}

/* Add a class for each possible modal window width so that it can be responsive
 * on mobile WITH a set width based on the selected width via a class name. This
 * is necassary cause we can't do inline media queries
 */
@media (min-width: 768px){
	.bootstrap-dialog.w100:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w100:not(.modal-fullscreen)  .modal-dialog{
	  width: 100px;
	}
    .bootstrap-dialog.w150:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w150:not(.modal-fullscreen)  .modal-dialog{
      width: 150px;
    }
	.bootstrap-dialog.w200:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w200:not(.modal-fullscreen)  .modal-dialog{
      width: 200px;
    }
	.bootstrap-dialog.w250:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w250:not(.modal-fullscreen)  .modal-dialog{
      width: 250px;
    }
	.bootstrap-dialog.w300:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w300:not(.modal-fullscreen)  .modal-dialog{
      width: 300px;
    }
	.bootstrap-dialog.w350:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w350:not(.modal-fullscreen)  .modal-dialog{
      width: 350px;
    }
	.bootstrap-dialog.w400:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w400:not(.modal-fullscreen)  .modal-dialog{
      width: 400px;
    }
	.bootstrap-dialog.w450:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w450:not(.modal-fullscreen)  .modal-dialog{
      width: 450px;
    }
	.bootstrap-dialog.w500:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w500:not(.modal-fullscreen)  .modal-dialog{
      width: 500px;
    }
    .bootstrap-dialog.w550:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w550:not(.modal-fullscreen)  .modal-dialog{
      width: 550px;
    }
    .bootstrap-dialog.w600:not(.modal-fullscreen) .modal-content,.bootstrap-dialog.w600:not(.modal-fullscreen)  .modal-dialog{
      width: 600px;
    }
    .bootstrap-dialog.w700:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w700:not(.modal-fullscreen)  .modal-dialog{
      width: 700px;
    }
    .bootstrap-dialog.w750:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w750:not(.modal-fullscreen)  .modal-dialog{
      width: 750px;
    }
    .bootstrap-dialog.w800:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w800:not(.modal-fullscreen)  .modal-dialog{
      width: 800px;
    }
    .bootstrap-dialog.w850:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w850:not(.modal-fullscreen)  .modal-dialog{
      width: 850px;
    }
    .bootstrap-dialog.w900:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w900:not(.modal-fullscreen)  .modal-dialog{
      width: 900px;
    }
	.bootstrap-dialog.w950:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w950:not(.modal-fullscreen)  .modal-dialog{
      width: 950px;
    }
	.bootstrap-dialog.w1000:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w1000:not(.modal-fullscreen)  .modal-dialog{
      width: 1000px;
    }
	.bootstrap-dialog.w1100:not(.modal-fullscreen)  .modal-content,.bootstrap-dialog.w1100:not(.modal-fullscreen)  .modal-dialog{
      width: 1100px;
    }
}

/**
* Full screen modal windows 
*/
.modal-fullscreen {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.modal-fullscreen .modal-dialog {
  position: fixed;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.modal-fullscreen .modal-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0px;
  border-radius: 0;
  box-shadow: none;
}

.modal-fullscreen .modal-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50px;
  padding: 10px;
  background: #6598d9;
  border: 0;
}

.modal-fullscreen .modal-title {
  font-weight: 300;
  font-size: 2em;
  color: #fff;
  line-height: 30px;
}

.modal-fullscreen .modal-body {
  position: absolute;
  top: 50px;
  bottom: 60px;
  width: 100%;
  font-weight: 300;
  overflow: auto;
}

.modal-fullscreen .modal-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 60px;
  padding: 10px;
  background: #f1f3f5;
}



