.mn-video-item {
  overflow: hidden;
  transition: all 0.3s;
  /* width: calc(25% - 22.5px); */
  margin-left: 5px;
  margin-right: 5px;
  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: 312px;
  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;
 }

.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;
}




.mn-aparat-empty {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    box-sizing: border-box;
}

/* V7: one Aparat widget with internal keyword tabs */
.mn-aparat-tabs{width:100%;}
.mn-aparat-tab-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;align-items:center;}
.mn-aparat-tab-button{appearance:none;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:10px;padding:9px 16px;cursor:pointer;font:inherit;transition:all .2s ease;}
.mn-aparat-tab-button:hover{border-color:#193f7d;color:#193f7d;}
.mn-aparat-tab-button.is-active{background:#193f7d;color:#fff;border-color:#193f7d;}
.mn-aparat-tab-panel{display:none;width:100%;}
.mn-aparat-tab-panel.is-active{display:block;}
.mn-aparat-tab-panel .mn-video-gallery{width:100%;}
@media (max-width:767px){.mn-aparat-tab-buttons{gap:6px;margin-bottom:14px}.mn-aparat-tab-button{padding:8px 12px;font-size:13px}}

/* V7.1 internal-tab pagination */
.mn-aparat-tab-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin:18px 0 8px;
  direction:rtl;
}
.mn-aparat-pagination-button{
  appearance:none;
  min-width:36px;
  height:36px;
  padding:0 10px;
  border:1px solid #e2e5ea;
  border-radius:8px;
  background:#fff;
  color:#193f7d;
  cursor:pointer;
  font:inherit;
  line-height:34px;
  transition:all .2s ease;
}
.mn-aparat-pagination-button:hover:not(:disabled),
.mn-aparat-pagination-button.is-current{
  background:#193f7d;
  border-color:#193f7d;
  color:#fff;
}
.mn-aparat-pagination-button:disabled{
  opacity:.4;
  cursor:not-allowed;
}
.mn-aparat-pagination-dots{
  min-width:24px;
  text-align:center;
  line-height:36px;
  color:#6b7280;
}
@media (max-width:767px){
  .mn-aparat-tab-pagination{gap:5px;margin-top:14px}
  .mn-aparat-pagination-button{min-width:34px;height:34px;line-height:32px;padding:0 8px;font-size:13px}
}
