.modalWindow.window,
.modalWindow.window_white,
.modalWindow.window_trans,
.modalWindow.window_clear
{
  position: fixed;
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  display: none;
  z-index: 999999;
}

.window_white
{
  background-color: white;
}

.window_trans
{
  background-color: rgba(0, 0, 0, 0.5);
}


.modalWindow .modal
{
  position: fixed;
  z-index: 1050;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
  display: block;
  overflow-y: inherit;

  top: 10%;
  left: 50%;
  width: 560px;
  margin-left: -280px;
  bottom: auto;

}
.modalWindow .modal-header
{
  font-size: 23px;
  line-height: 35px;
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}

.modalWindow .modal-header.no-header
{
  display: none;
}

.modalWindow iframe
{
  width: 98%;
  height: 98%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 0;
  border: 0;
}

.modalWindow .big
{
  left: 5%;
  top: 5%;
  bottom: 5%;
  right: 5%;
  width: auto;
  margin-left: 0px;
}

.modalWindow .big iframe
{
  width: 100%;
  height: 100%;
}

.modalWindow .big .modal-header
{
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  height: 50px;
}

.modalWindow .big .modal-header.no-header
{
  display: none;
}

.modalWindow .big .modal-body
{
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 65px;
  top: 54px;
  max-height: none;
}

.modalWindow .big .modal-body.no-header
{
  top: 0px;
}

.modalWindow .big .modal-footer
{
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 63px;
}

.modalWindow .big .modal-body.url-content
{
  background-image: url("/static/img/select2-spinner.gif");
  background-repeat: no-repeat;
  background-position: center center;
}





.modalWindow .modal-body
{
  overflow-y: auto;
  padding: 0px;
  /*padding: 15px 30px;*/
}

.modalWindow .modal-body.no-url-content
{
  padding: 15px 30px;
}



.modalWindow .modal-footer
{
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;

  /*position: absolute;*/
  /*left: 0px;*/
  /*right: 0px;*/
  /*bottom: 0px;*/

}

.modalWindow .modal-body.url-content.no-footer
{
  bottom: 0px;
}

.modalWindow .modal-footer.url-content.no-footer
{
  display: none;
}

.hide_modal_padding .modal-body
{
  padding: 0px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}