/**Modals**/
.fm,
.fm *,
#modal-mask {
  box-sizing: border-box;
}
#modal-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  border: none;
  display: block;
  z-index: 100;
}
.fm,
.fvm {
  text-align: left;
  position: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 100;
}
.fm {
  display: none;
  padding: 30px;
  background: #FFF;
  width: auto;
  max-width: 80%;
  max-width: 800px;
  max-height: 80%;
  top: 10%;
}
.fvm {
  padding: 35px 0 0 0;
  max-height: 90%;
  top: 5%;
  width: 100%;
}
.fvm .embed-container {
  display: block;
  margin: 0 auto;
  position: relative;
}
.fvm .modal-video-embed {
  display: block;
  margin: 0 auto;
}
.modal .close-outer-container {
  position: relative;
  height: 30px;
  width: 30px;
  float: right;
}
.modal .close-inner-container {
  position: fixed;
}
.modal .close {
  line-height: 25px;
  position: absolute;
  display: block;
  height: 30px;
  width: 30px;
  right: -60px;
  top: -30px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: #000 ;
}
.modal .close:after {
  content: "\f057";
  display: block;
  cursor: pointer;
  font-family: 'fontawesome';
  font-size: 18px;
}
.fvm.modal .close {
  color: #FFF;
  top: -30px;
  right: 0;
}
@media screen and (max-width: 767px) {
  .fm {
    width: auto;
    max-width: 90%;
  }
}