#modal, .in-modal {
  display: none;
}

#modal .in-modal {
  /*background-color:#dddddd;*/
  min-height: 250px;
  position: absolute;
  top: 25px;
  width: auto;
  z-index: 500;
  padding: 0 50px 50px 50px;
}

#modal #modal-shadow {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url('../images/overlay-background.png');
  background-repeat: repeat;
  z-index: 400;
  top: 0;
  left: 0;
}

.video-item-inner {
  padding-top: 2%;
}

.video-details {
  background-repeat: no-repeat;
  margin-top: 1px;
  background-color: #dddddd;
}

.video-details h2 {
  text-align: center;
}

.video-details .row-fluid {
  margin: 40px 0px;
}

.video-details .border-right {
  float: right;
  margin: 0px;
  padding: 0px 20px 0px 0px;
}

.video-details .text {
  width: 100%;
  padding: 0px 0px 0px 0px;
  margin: 0px;
  border-left: 1px solid #333333;
  font-size: 14px;
  line-height: 16px;
  display: block;
  float: left;

}

.video-details p {
  padding: 0px 40px;
}

.video-details .text p {
  margin: 0px;
}

.video-controls {
  margin-top: 20px;
  width: 100%;
  display: block;
}

.modal-paginate {
  color: #26AAE1;
  text-decoration: underline;
  margin-top: 10px;
}

.modal-paginate:hover {
  text-decoration: none;
  cursor: pointer;
}

.modal-paginate.next {
  float: left;
  margin-right: 0px;
}

.modal-paginate.previous {
  float: left;
  margin-right: 40px;
}

#form-close,
.modal-close {
  border: none;
  cursor: pointer;
  width: 15px;
  height: 15px;
  text-align: center;
  line-height: 15px;
  font-size: 15px;
  font-weight: 500;
}

.video-modal-close {
  border: 0px solid black;
  bottom: 10px;
  right: 2%;
  top: 18px;
  position: absolute;
  height: 15px;
  width: 15px;
  cursor: pointer;
  display: block;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 16px;
}

@media (max-width: 1100px) {
  #modal .in-modal {
    padding: 0;
  }
}

@media (max-width: 940px) {
  #modal .in-modal {
    width: auto;
    left: 0;
  }
}