.qcformbuilder-modal-wrap .spinner.loading {
  background-position: center center;
  display: inline-block;
  float: none;
  height: auto;
  position: absolute;
  width: auto;
}

/* MODALS */
html.has-qcformbuilder-modal{
  overflow: hidden;

}
body{
  overflow-y: scroll;
}
.qcformbuilder-backdrop {
  background-color: rgba(0,0,0,0.3);
  bottom: 0;
  display: block;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100100;
}
.qcformbuilder-modal-wrap {
  background-color: #FFFFFF;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  display: block;
  position: relative;
  margin: 0 auto;
  z-index: 100105;
}

.qcformbuilder-modal-wrap.qcformbuilder-animate{
  transform:  translate(0,0) !important;
}

.qcformbuilder-modal-title {
  border-bottom: 1px solid #EFEFEF;
}

.qcformbuilder-modal-closer {
  color: #808080;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 32px;
  text-decoration: none !important;
  line-height: 0;
  border: 0;
}
.qcformbuilder-modal-closer:hover {
  background-color: rgba(0,0,0,.1);
}

.qcformbuilder-modal-title > h3 {
  font-weight: 400;
  margin: 0;
  padding: 12px 40px 12px 12px;
  clear: none;
}

.qcformbuilder-modal-body {
  -moz-box-sizing:    border-box;   /* Firefox 1, probably can drop this */
  -webkit-box-sizing: border-box;   /* Safari 3-4, also probably droppable */
  box-sizing:        border-box;   /* Everything else */
  overflow: auto;
}

.qcformbuilder-modal-body.has-buttons{
  bottom: 53px;
}
.qcformbuilder-modal-footer {
  background: none repeat scroll 0 0 #EFEFEF;
  border-top: 1px solid #E0E0E0;
}


@media (max-width: 600px) {
  /* Small Screens */
  .qcformbuilder-modal-wrap.qcformbuilder-front-modal-wrap{
    bottom: 0;
    display: block;
    left: 0;
    margin: 0 !important;
    overflow: auto;
    padding: 0 !important;
    top: 0;
    width: 100% !important;
  }
}


/* EXPERIMENTAL TABS */
.qcformbuilder-modal-wrap .navtabs {
  background-color: #f1f1f1;
  border-right: 1px solid #dfdfdf;
  bottom: 0;
  box-sizing: padding-box;
  float: left;
  left: 0;
  margin: 0;
  padding: 12px 0 0;
  overflow: auto;
  overflow-x: hidden;
  white-space: nowrap;
  position: absolute;
  top: 0;
  width: 150px;
}
.qcformbuilder-modal-wrap .navtabs > li{
  margin: 0;
}
.qcformbuilder-modal-wrap .navtabs > li:hover{
  background-color: #dfdfdf;
}
.qcformbuilder-modal-wrap .navtabs > li a {
  color: rgb(175, 175, 0);
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  text-overflow: ellipsis;  
  overflow: hidden;
}
.qcformbuilder-modal-body.has-tabs {
  margin-left: 150px;
}
.qcformbuilder-modal-wrap .navtabs > li.selected > a {
  background: none repeat scroll 0 0 rgb(175, 175, 0);
  color: #fff !important;
}

.qcformbuilder-sticky-modal{
  z-index: 100099;
  position: fixed;
}
.qcformbuilder-sticky-modal > .qcformbuilder-modal-title{ cursor: pointer; }
.qcformbuilder-sticky-modal.bottom-left{ bottom: 0; left: 0; }
.qcformbuilder-sticky-modal.bottom-right{ bottom: 0; right: 0; }
.qcformbuilder-sticky-modal.top-left{ top: 0; left: 0; }
.qcformbuilder-sticky-modal.top-right{ top: 0; right: 0; }

.qcformbuilder-sticky-modal.top-left .qcformbuilder-modal-title ,
.qcformbuilder-sticky-modal.top-right .qcformbuilder-modal-title {
  border-bottom: 0;
  border-top: 1px solid #EFEFEF;
}
