
.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
  cursor: auto;
}
.modal-content {
  position: relative;
  outline: none;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	background-clip: padding-box;
	background-color: #ffffff;
	border-radius: 10px;
	height: auto;
	margin: 10% auto;
	padding: 20px;
	width: 300px;
	z-index:1000
}

.aggregator .modal-content {
	width: 600px;
	margin: 5% auto;
}
.aggregator .modal-content .watch-action {
	display:none;
	z-index:900;
}


.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}
 .modal-header {
  border-bottom:none;
  min-height: inherit;
  background-color:inherit;
  border-radius: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-clip: padding-box;
  padding: 0;
  width: 100%;
  margin:auto;
}
.aggregator .modal-header {
	padding: 10px 0;
 }
.modal-header  .close, .close {
    background: #00a0e0;
	border: medium none;
    border-radius: 15px;
    color: #fff;
    cursor: pointer;
    float: right;
    font-size: 25px;
    height: 34px;
    line-height: 30px;
    margin: -10px 0 10px;
    width: 50px;
    z-index: 999;
}

.aggregator .modal-body img {
    max-height: 450px;
	background:#fff;
}
 .close:hover{
	background: #000;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
  font-size:14px;
}
.modal-body {
 	position: relative;
    top: 0;
	height: 100%;
}
.aggregator .modal-body {
	padding:10px 10px 10px 0;
	height: 100%;
    max-height: 500px;
    overflow: auto;
    position: relative;
    top: 0;
    width: 100%;
}
.aggregator .modal-body p{
	margin-bottom: 10px;
}
.modal-footer {
  margin-top: 15px;
  padding:20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
#loginModal .modal-footer {
	
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal .container {
    height: 100%;
    max-width: none;
    width: 100%;
	overflow: hidden;
}

.modal .turnjs-slider {
    border-radius: 5px;
    height: 15px;
    margin: 7px auto;
}
.modal .flipbook-pagination{
	background-color: #ffffff;
    border-radius: 10px;
    height: 20px;
    margin: 0 auto;
    width:90%;
}

.turnjs-slider .ui-slider-horizontal .ui-slider-handle {
    padding: 3px;
	opacity:1;
}

.tx-magneticflipbook {
    height: 90%;
}

.modal .signature .directLink {
    left: 40%;
    position: absolute;
    margin: 5px 0 0;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 100%;
    margin: 30px auto;
	height: 100%;
  }
  .aggregator .modal-dialog {
	margin: 5% auto;
}
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
