/*
*
* Magical posts display style
*
*
*/

body img {
  object-fit: cover;
}

/*Error style */
.mp-error {
  text-align: center;
  display: block;
  width: 100%;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  color: #e12220;
  padding: 20px 0;
  margin: 30px 0;
}
.mgbb {
  border-bottom: 1px solid #ededed;
}
.mg-shadow,
.mgpd .card {
  border-radius: 2px;
  box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, 0.1);
}
.hide-swip {
  display: none;
}
.mgpd a.btn {
  color: #fff;
  font-size: 90%;
  text-decoration: none;
}
a.btn.btn-link {
  color: inherit;
  background: inherit;
  padding-left: 0;
  padding-right: 0;
}
.mgpd .card-title {
  margin: 0 0 10px 0;
}
.card-title.mgpd-title {
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 19px;
}

.card-title.mgpd-title a:hover,
.card-title.mgpd-title a {
  text-decoration: none !important;
}
.mp-display-list .no-post-thumbnail,
.mp-display-gird .no-post-thumbnail {
  width: 100%;
  min-height: 200px;
  background: #ccc;
}
.mgpd-grid-style3 .card.mg-card {
  border-radius: 10px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
}
.mgpd-grid-style3 .card.mg-card .mg-card-text {
  background: #fff;
  z-index: 99;
  margin: -50px 20px 0;
  border-radius: 5px;
}

.mgpd-grid-style4 .card.mg-card {
  border-radius: 0 50px 0 50px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
}
.mgpd-grid-style5 .card.mg-card {
  border-radius: 50px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
}
.mgpdl-hasimg .mglimg-left .card-body.list-cbody {
  padding-left: 0;
}
.mgpdl-hasimg .mglimg-right .card-body.list-cbody {
  padding-right: 0;
}
.mgpdl-hasimg.mpdls2 .card-body.list-cbody {
  padding: 10px;
  margin-left: -130px;
  background: #fff;
  z-index: 9999;
  position: relative;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.mgpdl-hasimg.mpdls2 .mglimg-right .card-body.list-cbody {
  margin-left: 0;
  margin-right: -100px;
}
.mpdls2 .row {
  align-items: center;
}

.mpdls2 .col-md-5 {
  padding-right: 0;
}
.mpdls3 .card.mgpdl-card {
  border-radius: 0 50px;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
@media only screen and (max-width: 991px) {
  .mgpdl-hasimg.mpdls2 .card-body.list-cbody {
    padding: 10px;
    margin-left: -50px;
  }
}
@media only screen and (max-width: 767px) {
  .mgpdl-hasimg .card-body.list-cbody {
    padding-left: 1.25rem;
  }
  .mgpdl-hasimg.mpdls2 .card-body.list-cbody {
    padding: 15px;
    margin-left: 0;
  }
  .mpdls2 .col-md-5 {
    padding-right: 15px;
  }
}

.mp-meta,
.mp-meta a,
.mp-meta i {
  font-size: 12px;
  text-transform: capitalize;
}

.mp-meta span {
  margin-right: 5px;
}
/*Pagination style*/
.mp-pagination {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 20px;
  margin: 20px 0;
}
.mp-meta.cat-list.no-cat {
  min-height: 25px;
}
.mp-pagination a.page-numbers,
.mp-pagination span.page-numbers {
  padding: 7px 10px;
  background: #fff;
  color: #000;
  border: 1px solid #ededed;
  margin: 0 2px;
}

.mp-pagination a.page-numbers:hover,
.mp-pagination span.page-numbers:hover,
.mp-pagination span.page-numbers.current {
  background: #000;
  color: #fff;
  text-decoration: none;
}
.mgpdl-hasimg .card-footer {
  background-color: transparent;
  border-top: none;
  padding-left: 0;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  left: 5px !important;
  right: auto;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  right: 5px;
  left: auto;
}
.mgpdc2 .swiper-button-prev,
.mgpdc2 .swiper-container-rtl .swiper-button-next {
  left: -50px !important;
  right: auto;
  transition: 0.5s;
}
.mgpdc2 .swiper-button-next,
.mgpdc2 .swiper-container-rtl .swiper-button-prev {
  right: -50px;
  left: auto;
  transition: 0.5s;
}
.mgpdc2:hover .swiper-button-prev,
.mgpdc2:hover .swiper-container-rtl .swiper-button-next {
  left: 5px !important;
  right: auto;
}
.mgpdc2:hover .swiper-button-next,
.mgpdc2:hover .swiper-container-rtl .swiper-button-prev {
  right: 5px;
  left: auto;
}
.mgpdc2 .swiper-button-next:after,
.mgpdc2 .swiper-button-prev:after {
  background: transparent;
  font-size: 12px;
  padding: 0;
}
.swiper-button-next,
.swiper-button-prev {
  height: auto;
}
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px;
  font-weight: 900;
  padding: 8px;
  border-radius: 50%;
  color: #555 !important;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: 0;
  left: 0;
  width: 100%;
}
.mgpdc2 .card {
  position: relative;
  overflow: hidden;
}
.mgpdc2 .card .mp-meta.cat-list {
  position: absolute;
  top: 5px;
  left: 10px;
  background: #fff;
  padding: 2px 10px;
  visibility: hidden;
  transition: 0.5s;
  opacity: 0;
  z-index: 9;
}
.mgpdc2 .card:hover .mp-meta.cat-list {
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
}
.mgpd-card-img {
  overflow: hidden;
}
.mgpdc2 .card img {
  transform: scale(1);
  transition: 0.5s;
}
.mgpdc2 .card:hover img {
  transform: scale(1.1);
}
/*mg style link button*/
a.btn.btn-link.mgpd-btn {
  font-size: 14px;
  text-decoration: none;
  position: relative;
}

a.btn.btn-link.mgpd-btn:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  height: 2px;
  content: "";
  background: #ccc;
  transition: 0.4s;
}

a.btn.btn-link.mgpd-btn:hover:after {
  width: 100%;
}
/*Posts style css*/
.mgpdl-row {
  display: flex;
  flex-wrap: nowrap;
}
.mgpdl-item.mgpdl-metas {
  min-width: 120px;
  margin-right: 1rem;
}
.mgpdl-item.mgpdl-metas.mgpdl-right {
  margin-right: 0;
  margin-left: 1rem;
}
.mgpdl-item.mgpdl-text {
  width: 100%;
}
.mpdl-text {
  padding: 5px 0;
}
ul.mgpdl-list {
  margin: 0;
}
ul.mgpdl-hstyle {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mpdl-date span {
  display: block;
  font-size: 14px;
  line-height: 1rem;
  padding: 6px 3px;
}
.mpdl-date span.mp-day {
  background: #000;
  color: #fff;
}
.mpdl-date span.mp-year {
  background: #ccc;
}
.mpdl-date span.mp-month {
  padding: 7px 3px;
}
li.mgpdl-list-item {
  line-height: normal;
}
.row.align-items-center.right {
  flex-direction: row-reverse;
}
h3.mpdl-title {
  font-size: 18px;
  line-height: 20px;
  margin-top: 5px;
  font-weight: 500;
  margin-bottom: 10px;
}
.mpdl-title a {
  text-decoration: inherit !important;
  color: #222;
}
.mpdl-text .cat-list i {
  display: none;
}
.mgpm-img a:hover {
  opacity: 1;
}
/*Widget style*/

ul.mpdw-recent-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mpdw-recent-text h4 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 18px;
  text-transform: inherit;
}

li.mpdw-recent-item span.post-date {
  font-size: 13px;
  line-height: 14px;
}
li.mpdw-recent-item .col-sm-4 {
  padding: 0 !important;
}

li.mpdw-recent-item .col-sm-8 {
  padding-right: 5px !important;
}
/* Accordion style*/

a.mgbaccordion-title-link:hover {
  text-decoration: none !important;
}
.mgbaccordion-head {
  background: linear-gradient(
    45deg,
    rgba(234, 21, 129, 0.6),
    rgba(10, 23, 187, 0.6) 100%
  );
}
.mgbaccordion-head a {
  padding: 15px 10px;
  display: block;
}
.collapsed i.mba-up {
  display: block;
}

.collapsed i.mba-down {
  display: none;
}

i.mba-up {
  display: none;
}
.mgbaccordion-head .mgbaccordion-icon i {
  color: #fff;
}
#accordion .panel:last-child .panel-body {
  border-bottom: 2px dashed #000;
}
@media only screen and (max-width: 479px) {
  #accordion .panel-body {
    font-size: 14px;
    line-height: 22px;
    margin: 0 10px;
  }
}

/*Tab style one*/

.mgnav-left .tab-content .tab-pane:first-child {
  margin-left: -15px;
  margin-right: -15px;
}
.mgpd-tab .tab-content {
  padding-left: 15px;
  padding-right: 15px;
}
.tab.mgpd-tab {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  background: #fff;
}
.tab.mgpd-tab .nav-tabs {
  border-bottom: 2px solid #29999f;
}
.tab.mgpd-tab .nav-tabs li {
  margin: 0;
}
ul.nav.nav-tabs.mgtnav.text-full {
  display: flex;
  flex-flow: row wrap;
}
ul.nav.nav-tabs.mgtnav.text-full li {
  flex-grow: 1;
  text-align: center;
}
ul.nav.nav-tabs.mgtnav.text-full li a {
  width: 100%;
}
.tab.mgpd-tab .nav-tabs li a {
  font-size: 14px;
  color: #808080;
  outline: none;
  margin-right: 0px;
  padding: 20px 25px;
  border-radius: 0;
  text-transform: uppercase;
  display: inline-block;
  border-right: 1px solid #ededed;
}
.tab.mgpd-tab .nav-tabs li a:hover,
.tab.mgpd-tab .nav-tabs li a.active {
  background: #1fd6e0;
  color: #fff;
}
.tab.mgpd-tab .tab.mgpd-tab-content {
  color: #5a5c5d;
  padding: 20px;
}

.mgpdtab2 {
  margin: 0 15px;
}
ul.nav.nav-tabs {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
ul.nav.nav-tabs li {
  display: inline-block;
}
.mgptab a,
ul.nav.nav-tabs li a {
  text-decoration: none !important;
}
ul.mpd-adicons.mpd-advacene-icons {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.mpd-adicons.mpd-advacene-icons p {
  margin: 0;
}

.mgp-adicons-bottom {
  margin-top: 20px;
}
@media only screen and (max-width: 480px) {
  .tab.mgpd-tab .nav-tabs > li {
    width: 100%;
  }
}

/*mp ticker*/
/* .mgpd-sticker ul {
    display: none;
    width: 100%;
    padding: 0 0 0 140px;
}
.mgpd-sticker ul li{
    padding: 0 0 0 15px;
}
.mgptickerpro {
    border: 1px solid #C20;
    margin: 15px 0;
    position: relative;
    box-shadow: 0 2px 5px -3px #000;
    border-radius: 3px;
}

.mgpd.mgptickerpro.mgpd-right ul {
    padding: 0 140px 0 0;
}
.mgptickerpro .mgptickerpro-text {
    display: inline-block;
    background: #C20;
    padding: 10px;
    color: #FFF;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 100%;
    text-align: center;
    font-size: 100%;
    z-index: 99;
}
.mgptickerpro.mgpd-right .mgptickerpro-text {
    left: auto;
    right: 0;
}

.mgptickerpro ul li {
    list-style: none;
    padding: 10px;
}
.mgptickerpro.mgpd-right .mgpd-tickerpro {
    text-align: right
}

@media only screen and (max-width: 767px){
    .mgptickerpro .mgptickerpro-text {
        position: inherit;
        display: block;
        width: 100%;
    }
    .mgpd-sticker ul {
        padding: 0;
        text-align: center;
    }
} */
.mgptickerpro img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}
.mgpd-right .acme-news-ticker-box ul {
  text-align: right;
}
.mgpd-right .acme-news-ticker-label {
  float: right;
  margin: 0 0 0 15px;
}
.mgpd-right.mgpd-vertical .acme-news-ticker-box ul li,
.mgpd-right.mgpd-horizontal .acme-news-ticker-box ul li {
  text-align: right;
  float: right;
  position: absolute;
  right: 0;
  left: auto;
  top: 0;
}
.mgpd-right .mgpd-control-show {
  padding-left: 120px;
}
.mgpd-tickerpro ul li {
  display: none;
}
.mgpd-tickerpro.promgpdsti ul li {
  top: 0;
}
.mgpdl-round img {
  border-radius: 100%;
}
.mgpd-right .acme-news-ticker-controls {
  right: auto;
  left: 0;
}
.acme-news-ticker-box {
  padding: 7px 0 0 0;
  overflow: hidden;
}
/*Posts slider*/
.mgps-container {
  max-width: 1170px;
  width: 100%;
  overflow: hidden;
  margin: auto;
}
.mgp-slider .swiper-slide.swiper-slide-active {
  visibility: visible;
  opacity: 1;
}

.mgp-slider .swiper-slide {
  visibility: hidden;
  opacity: 0;
}
.mgps-item {
  position: relative;
}

.mgps.mgp-slider .mgps-item,
.mgps.mgp-slider .mgps-item img {
  height: 500px;
  overflow: hidden;
}
.mgps-text {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  text-align: center;
  bottom: 0;
  right: 0;
  margin: auto;
  padding: 80px 40px 0;
  z-index: 99;
  color: #fff;
}
.mgps-text.text-left {
  padding-left: 50px;
  padding-left: 10%;
}
.mgps-text.text-right {
  padding-right: 50px;
  padding-right: 10%;
}
.mgps-text h1 {
  color: #fff;
  margin: 5px 0 15px;
  padding: 0;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.5rem;
}
p.mgps-desc {
  font-size: 1.1rem;
  margin: 0 0 25px;
  padding: 0;
  text-transform: inherit;
  color: #fff;
}
.mgps-item:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 0;
}
.mgps-item .mp-meta,
.mgps-item .mp-meta a,
.mgps-item .mp-meta i {
  color: #fff;
}
a.mgps-btn {
  color: #fff;
}
.mgps.mgp-slider .swiper-pagination-bullet {
  width: 12px;
  height: 8px;
  border-radius: 0;
  background: #000;
}
.mgps-img img {
  width: 100%;
}
@media (max-width: 767px) {
  p.mgps-desc {
    display: none;
  }
}

/*Filter gallery style*/
.mgp-filter-container {
  display: block;
  width: 100%;
  overflow: hidden;
  height: 100%;
}
.mgpf-menu ul {
  padding: 0 10px;
  margin: 0;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.mgpf-menu ul li {
  display: inline-block;
  cursor: pointer;
  padding: 5px 10px;
}

.card.col-lg-4.filtr-item.mgpf-item {
  padding: 0;
}
.mgpf-item {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
}
ul.mgpfilter-menu {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  width: 100%;
  display: block;
}
.mgfm-left {
  justify-content: flex-start;
}
.mgfm-right {
  justify-content: flex-end;
}
.mgfm-center {
  justify-content: center;
}
.mgfm-left li.mgpm-item,
.mgfm-center li.mgpm-item,
.mgfm-right li.mgpm-item {
  flex: inherit;
}
ul.btn-group.mgfs-two li.mgpm-item {
  border-radius: 0;
}
.cards.row.filter-container.mgpf-items {
  margin: 0px 0;
}
ul.btn-group.mgfs-three li.mgpm-item {
  background: transparent !important;
  border-bottom: 4px solid #000 !important;
  border-radius: 0;
}
.mgfilers .mgpfilter-menu.mgfs-three .mgpm-item,
.mgfilers .mgpfilter-menu.mgfs-three .mgpm-item {
  color: #000;
  border-bottom: 3px solid #ff00ff !important;
}
