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

/*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;
}
a.mp-post-btn,
a.mp-post-btn:hover {
    text-decoration: none !important;
}
.no-load{
    opacity: 0;
    visibility: hidden;
}
.noimg-set {
    min-height: 100%;
    background: #000;
    width: 100%;
    position: relative;
}
.noimg-set:before{
    position: absolute;
    content: "";
    top: 7px;
    left: 6px;
    width: 150px;
    height: 150px;
    border-radius: 100px;
    background: radial-gradient(circle, rgb(168 94 4 / 77%), #eaecca);
}

.noimg-set:after{
    position: absolute;
    content: "";
    top: 5px;
    right: 5px;
    width: 150px;
    height: 150px;
    border-radius: 100px;
    background: radial-gradient(circle, rgb(240 20 20), #814747);
}
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}
.swiper-button-prev:after, 
.swiper-container-rtl .swiper-button-next:after,
.swiper-button-next:after, 
.swiper-container-rtl .swiper-button-prev:after {
    display: none;
}
/*Woocommrce style fixed*/
.woocommerce-billing-fields .form-row, 
.woocommerce-shipping-fields .form-row,
.woocommerce form .form-row {
    display: block;
    }
    
.woocommerce .col2-set .col-1, 
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    max-width: unset;
    }
/*Some default style*/
.mgbb {
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #ededed;
}
.mg-shadow,
.mgpd .card {
  border-radius: 2px;
  box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, .1);
}
.hide-swip{
    display: none;
}
.mgpd a.btn {
    font-size: 90%;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}
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;
}
.mg-card.mgp-card {
    overflow: hidden;
}
.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;
}
.card-body.mgpdl-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mp-meta, .mp-meta a,.mp-meta i,
.mppost-cats a,.mppost-cats i {
    font-size: 12px;
    text-transform: capitalize;
}

.mp-meta.cat-list {
    margin-bottom: 3px;
}
.mp-meta span {
    margin-right: 5px;
}
.mp-meta.mgp-ms2 {
    border-top: 1px solid #ccc;
    padding-top: 10px;
}
.mp-post-title {
    display: block;
}

.mp-post-img figure {
    overflow: hidden;
}
.mp-post-img figure img{
    min-height: 250px;
}

/*Pagination style*/
.mp-pagination {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin: 20px 0;
}
.mp-meta.cat-list.no-cat {
    min-height: 25px;
}
.mp-pagination a.page-numbers, 
.mp-pagination span {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    margin: 0 2px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 16px;
}

.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;
}
.mp-pagination.mppag-style2 a.page-numbers, 
.mp-pagination.mppag-style2 span {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.mgpdl-hasimg .card-footer{
    background-color: transparent;
    border-top: none;
    padding-left: 0;
}
.mgpc-pcarousel .swiper-pagination {
    position: inherit;
    padding: 7px 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;
}
.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%;
}

.mpg-tags-links {
    display: flex;
    align-items: baseline;
    font-size: 14px;
    text-align: right;
    margin-top: 10px;
}
.mpg-tags-links a {
    margin-left: 5px;
}

.mpg-tags-links i {
    opacity: 0.7;
    font-size: 12px;
}
/*Posts style css*/
.card.mgpdl-card figure img {
    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;
    overflow: hidden;
}
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;
}
.mpdl-img,
.mpdl-date {
    width: 150px;
}

.mpdl-img img {
    width: 100%;
    height: auto;
}
.mgl-img-right .mgpdl-card > .row {
    flex-direction: row-reverse;
}

.mgpdl.style2 .mp-meta.mgp-ms2 {
    margin-top: 3rem;
}
.mgpdl.style2 .mgpdl-item.mgpd-list.mgpdl-hasimg figure img {
    transition: 0.5s;
    transform: scale(1);
}

.mgpdl.style2 .mgpdl-item.mgpd-list.mgpdl-hasimg figure:hover img {
    transform: scale(1.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,.6),rgba(10,23,187,.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;
}
#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*/
.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,.3);
}
.tab.mgpd-tab .nav-tabs{
    border-bottom:2px solid #29999f;
}
.tab.mgpd-tab .nav-tabs li{
    margin:0;
}

.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.mgtnav {
    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;
}
@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;
}
.mgpticker {
    border: 1px solid #C20;
    margin: 15px 0;
    position: relative;
    box-shadow: 0 2px 5px -3px #000;
    border-radius: 3px;
    overflow: hidden;
}

.mgpd.mgpticker.mgpd-right ul {
    padding: 0 140px 0 0;
}
.mgpticker .mgpticker-text {
    display: flex;
    align-items: center;
    justify-content: center;
    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;
}
.mgpticker.mgpd-right .mgpticker-text {
    left: auto;
    right: 0;
}


.mgpticker ul li {
    list-style: none;
    padding: 10px;
    min-height: 40px;
}
.mgpd-ticker a {
    text-decoration: none;
}
.mgpticker.mgpd-right .mgpd-ticker {
    text-align: right
}

@media only screen and (max-width: 767px){
	.mgpticker .mgpticker-text {
	    position: inherit;
	    display: block;
	    width: 100%;
	}
	.mgpd-sticker ul {
	    padding: 0;
	    text-align: center;
	}
}
.mgproductd.mgpc-pcarousel {
    padding: 0 2px;
}
/*Posts slider*/
.mgpc-pcarousel .swiper-button-prev, 
.mgpd-testimonial-carousel .swiper-button-prev, 
.mgpc-pcarousel .swiper-container-rtl .swiper-button-next,
.mgpd-testimonial-carousel .swiper-container-rtl .swiper-button-next,
.mgpc-pcarousel .swiper-button-next, 
.mgpd-testimonial-carousel .swiper-button-next, 
.mgpd-testimonial-carousel .swiper-container-rtl .swiper-button-prev,
.mgpc-pcarousel .swiper-container-rtl .swiper-button-prev {
    background: none;
}
.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;
    }
}
/*Elementor Posts slider*/
.mgps-main .swiper-button-next, 
.mgps-main .swiper-button-prev{
    background-image: none;
}
.mgps-main .swiper-button-next:after, 
.mgps-main .swiper-button-prev:after {
    display: none;
}
.mgps-main .swiper-button-next i, 
.mgps-main .swiper-button-prev i{
    font-size: 24px;
    box-shadow: 0 0.2rem 2.8rem rgba(36,36,36,.1);
}
/* .mgps-main .swiper-button-next i {
    right: -5px;
    position: absolute;
} */
.mgps-main .mgs-item .mgse-img-before, 
.swiper-container-vertical{
    width: 100%;
    height: 600px;
    overflow: hidden;
}
.mgps-main .mgs-item img{
    min-width: 100%;
    height: auto;
    min-height: 600px;
}
.mgps-main .mgs-item {
    position: relative;
}
.btn-success.mgs-btn,
.btn-success.mgs-btn:hover{
  border:none;
}
.mgs-content.mgst-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align:center;
}
.mgs-content.mgst-left {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(5%, -50%);
  text-align:left;
}
.mgs-item .mgs-content{
    opacity: 0;
    transition: 0.9s;
}
.mgs-item.swiper-slide-active .mgs-content{
    opacity: 1;
}
.mgs-title {
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
    color:#fff;
}
.mgs-subtitle {
  text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    font-size: 18px;
    color: #fff;
    line-height: 20px;
}
.mgs-btn {
  box-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
.mgs-overlay {
   /*  position: relative; */
    padding: 20px 10px;
    background: rgba(0,0,0,0.3);
}
.swiper-pagination-bullet{
  opacity: 1 !important;
}
.mgps-main .mgps-fade .swiper-slide {
    visibility: hidden;
}

.mgps-main .swiper-slide.swiper-slide-active {
    visibility: visible;
}
.mgse-img-before img {
    min-width: 100%;
    height: auto; 
}

.mgps-main .mgse-img-before {
    width: 100%;
    min-height: 600px;
    height: 600px;
    overflow: hidden;
}
.mgs-content .slide-cat a {
    color: #fff;
    border-bottom: 1px solid #fff;
    padding: 3px 0px 4px;
    font-size: 14px;
    margin-bottom: 10px;
}
.mgs-content a.mp-post-btn.link1 {
    color: #fff;
}
@media (max-width: 767px){
    .mgps-main .mgs-title{
        font-size: 24px;
    }
    .mgs-content.mgst-center {
        position: absolute;
        top: 20%;
        left: 10%;
        transform: translate(-5%, -20%);
        text-align:center;
      }
      .mgs-content.mgst-left {
        position: absolute;
        top: 20%;
        left: 5%;
        transform: translate(5%, -20%);
        text-align:left;
      }
}