.mn-video-item {
  overflow: hidden;
  transition: all 0.3s;
  /* width: calc(25% - 22.5px); */
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 30px;
  align-self: stretch;
  border: 1px solid #fff;
  cursor: pointer;
  background-color: #fff;
}

.mn-video-item:hover {
  border: 1px solid #cfcfcf;
  box-shadow: 1px 1px 1px #8b8b8b;
}

.mn-video-box {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  height: 105px;
  background-size: cover;
  background-position: center;
  padding-bottom: 56%;
  overflow: hidden;
}

.mn-video-box img {
  height: auto;
  position: absolute;
  width: 100%;
  top: calc(50% + 1px);
  left: calc(50% + 1px);
  transform: scale(1.01) translate(-50%, -50%);
  z-index: 6;
}

.mn-video-detail {
  text-align: right;
  display: block;
  padding: 10px 20px;
  margin: -10px 0 0;
  font-size: 14pt;
}

.mn-video-detail h3 {
  font-size: 14pt;
  margin: 10px 0;
}

.mn-video-detail p {
  font-size: 13px;
  line-height: 27px;
}

.mn-video-meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  padding: 0.5rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  color: white;
  font-size: 10pt;
  text-shadow: 0px 0px 5px black;
  z-index: 7;
}

.modal {
  display: none;
  /* Hidden by default */
  position: absolute;
  /* Stay in place */
  z-index: 999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
}

.modal-bg {
  position: fixed;
  /* Stay in place */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.modal-content {
  margin: 10vh 10%;
  /* 15% from the top and centered */
  padding: 0;
  width: 80%;
  /* Could be more or less, depending on screen size */
  display: block;
  position: relative;
  height: 80vh;
}

.modal-content iframe {
  height: inherit;
}

.pagination a,
.pagination .current {
  display: inline-block;
  margin: 3px;
  padding: 5px;
}

.pagination .current {
  border-radius: 5px;
  background: rgb(5, 141, 39);
  color: white;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

.px-1 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.modal-content .close{
	background: red;
    color: white;
    font-size: 21px;
    padding: 2px 11px;
}
 

 @media (max-width: 768px) {
	.modal-content { height: 72vh; }
	
}
