/*
*
* Magical addon all basic style 
*
*
*/
.mg-has-absolute{
  position: relative;
}

.mg-absolute {
    position: absolute;
}
svg {
    max-width: 100%;
}
.mg-btn i {
  font-size: 85%;
}

::-webkit-input-placeholder {
  font-size: 15px !important;
}

::-moz-placeholder {
  font-size: 15px !important;
}

:-ms-input-placeholder {
  font-size: 15px !important;
}

::placeholder {
  font-size: 15px !important;
}
.woocommerce .col-1, 
.woocommerce .col-2{
   max-width:none;
}

/*Douel heading*/

span.mgheading_one {
  margin-right: -5px;
  padding-right: 5px;
}

span.mgheading_two {
  margin-left: -5px;
  padding-left: 5px;
}


/*Mg default shape one*/

.shape-one {
  position: relative;
}

.shape-one:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border-bottom: 126px solid #fff;
  border-right: 42px solid transparent;
  z-index: 9999;
  bottom: 0;
  right: 0;
  -webkit-transform: scaleX(-7.5);
  transform: scaleX(-7.5);
}

.shape-one:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border-bottom: 126px solid #fff;
  border-right: 42px solid transparent;
  z-index: 9999;
  bottom: 0;
  left: 0;
  -webkit-transform: scaleX(7.5);
  transform: scaleX(7.5);
}


/*
*text effects
*/

.mg-text-effects {
  overflow: hidden;
}


/*Loader effects*/

.mg-loader {
  position: relative;
  font-size: 2em;
  background: #fff;
  color: #000;
  mix-blend-mode: difference;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5em;
  padding: 10px;
  display: inline-block;
}

.mg-loader span {
  color: #fff;
  mix-blend-mode: difference;
}

.mg-loader:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: #000;
  -webkit-animation: mgloadani 7s linear infinite;
  animation: mgloadani 7s linear infinite;
}

.elementor-widget-mgtext_effects .mg-text-effects.mg-loader {
  background: #fff;
}

@-webkit-keyframes mgloadani {
  0% {
    left: 0;
  }
  50% {
    left: calc(100% - 80px);
  }
  100% {
    left: 0;
  }
}

@keyframes mgloadani {
  0% {
    left: 0;
  }
  50% {
    left: calc(100% - 80px);
  }
  100% {
    left: 0;
  }
}


/*Shining Effects*/

.mg-shining {
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  height: auto;
  background: #000;
}

.mg-shining span {
  position: relative;
  font-family: sans-serif;
  text-transform: uppercase;
  font-size: 2em;
  letter-spacing: 4px;
  overflow: hidden;
  background: -webkit-linear-gradient(left, #000, #fff, #000);
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  -webkit-animation: mgshine 3s linear infinite;
  animation: mgshine 3s linear infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.1);
}

@-webkit-keyframes mgshine {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}

@keyframes mgshine {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}


/*Shining effect two*/

.mg-shining2 span {
  background: -webkit-linear-gradient(left, #e72a3a 10%, #fff 50%, #5bdaff 60%);
  background: linear-gradient(to right, #e72a3a 10%, #fff 50%, #5bdaff 60%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: mgtextclip 1.5s linear infinite;
  animation: mgtextclip 1.5s linear infinite;
  display: inline-block;
}

@-webkit-keyframes mgtextclip {
  to {
    background-position: 200% center;
  }
}

@keyframes mgtextclip {
  to {
    background-position: 200% center;
  }
}


/*Countdown style*/

.mga-clock.flip-clock-wrapper {
  display: inline-block;
  width: auto;
}


/*Progressbar style*/

.mg-progress {
  position: relative;
}


/*Info box style*/

.elementor-widget-mgcard_widget .elementor-widget-container,
.elementor-widget-mgteamber_widget .elementor-widget-container,
.mg-infobox,
.elementor-widget-mgpricing_widget .elementor-widget-container,
.card.mgrc-item {
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, .1);
}

.mg-shadow {
  border-radius: 2px;
  box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, .1);
}

.mg-border {
  border: 1px solid #ededed;
}

.mg-infobox {
  padding: 32px;
  padding: 2rem;
}

.elementor-widget-mginfobox_widget .mg-infobox figure.mg-infobox-img {
  margin-bottom: 16px;
  margin-bottom: 1rem;
}

.mg-infobox-text {
  padding: 0 10px;
}

.mg-infobox h2 {
  font-size: 26px;
  margin: 10px 0 15px;
}

.mg-infobox-icon i {
  font-size: 40px;
}

.mg-infobox-icon {
  padding: 10px 0;
}

.mg-btn {
  font-size: 14px;
  font-weight: 500;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

a.mg-btn:hover {
  text-decoration: none;
}

a.mg-btn-text.mg-btn i {
  font-size: 80%;
}


/*info box Style two*/

.mg-infobox {
  width: 100%;
  overflow: hidden;
}

.mgicon-area {
  float: left;
  width: 30%;
}

.mgtext-area {
  width: 70%;
  float: left;
}


/*Pricing table*/

.elementor-widget-mgpricing_widget .elementor-widget-container {
  padding: 48px 24px;
  padding: 3rem 1.5rem;
}


.mg-pricing.s2 .mg-btn {
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 50px;
  color:#000;
}
.mg-pricing.s2 .mg-btn:hover {
  background-color: #000;
  color:#fff;
}

.mg-pricing {
  text-align: center;
}

h2.mg-pricing-title {
  border-bottom: 1px solid #ededed;
  padding-bottom: 10px;
}
.s2 h2.mg-pricing-title,
.s2 .mg-price-desc {
  border: 0;
}

.mg-price span.mgcur {
  font-size: 32px;
  font-size: 2rem;
  font-weight: 700;
}

.mg-price span {
  font-size: 19.2px;
  font-size: 1.2rem;
  font-weight: 400;
}

p.mg-price-desc {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0;
  margin: 1rem 0;
  border-bottom: 1px solid #ededed;
  padding-bottom: 16px;
  padding-bottom: 1rem;
}

.mg-price-list ul {
  display: inline-block;
  text-align: left;
  padding-left: 24px;
  padding-left: 1.5rem;
  margin-left: 0;
}

.mg-price-list {
  margin-bottom: 30px;
}
.mg-pricing.s2 .mg-price-list {
  margin-bottom: 0;
}

.mg-price-list ul li {
  font-style: italic;
  margin-bottom: 10px;
}


/*Team widget style*/

.mg-team-member {
  text-align: center;
}

.mg-team-content,
.mg-card-text {
  padding: 19.2px 19.2px 40px;
  padding: 1.2rem 1.2rem 2.5rem;
}
.mg-card-text.list-post-text{
  padding: 19.2px;
  padding: 1.2rem;
}
.mg-post-list .mg-post-img img{
  height:320px;
  border-radius: 0;
}
.mg-member-name {
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin: 10px 0 2px;
}

span.mg-designation {
  display: block;
  font-size: 14px;
  color: #a39e9e;
  margin: 0 0 10px;
}

.mg-social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-social ul li {
  display: inline-block;
}

.mg-social ul li a {
  margin: 0 10px 0 0;
  color: #c3c3c3;
}

.mg-social ul li a:hover {
  color: #222;
}

.mg-social {
  margin: 35px 0 0;
}

.style1 .mg-team-img figure img {
  width: 100%;
}

.mg-team-style2 .mg-team-img {
  position: relative;
  min-height: 250px;
  background: #ccc;
}

.team-bg-img img {
  width: 100%;
  min-height: 250px;
}

.mg-team-style2 figure.mg-round-img img {
  position: absolute;
  width: 150px;
  height: 150px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto !important;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.4);
}

.mg-social ul li a i {
  min-width: 20px;
  min-height: 20px;
  text-align: center;
}


/*Card style*/

.mg-card-text p {
  margin-bottom: 28.8px;
  margin-bottom: 1.8rem;
}

.mg-card-title {
  margin: 12.8px 0 16px;
  margin: 0.8rem 0 1rem;
  font-size: 25.6px;
  font-size: 1.6rem;
}
h5.mgc-subtitle {
    font-weight: 400;
    font-size: 16px;
    color: #555;
}
.mg-btn {
  padding: 10px 15px;
  background: #222;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  border-radius: 5px
}

.mg-btn:hover,
.mg-btn:focus {
  text-decoration: inherit;
  background: #555;
  color: #fff;
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}


/*---------*/

.mg-card-img-top .mg-card-img img,
a.mgvlight img, a.mgvlight {
  width: 100%;
}

.mg-card-text {
  overflow: hidden;
}

.mg-card-img {
  position: relative;
}

.mg-card-img img {
  border-top-left-radius: calc(.5rem - 1px);
  border-top-right-radius: calc(.5rem - 1px)
}

.mg-card-img-top .mg-card-img {
  display: inline-block;
  width: 100%
}
.mg-card {
    position: relative;
}
span.mgc-badge {
    position: absolute;
    bottom: -10px;
    left: 10px;
    background: #fff;
    color: #000;
    padding: 2px 10px;
    border-radius: 20px;
    border: 2px solid #555;
    font-size: 14px;
    font-weight: 300;
}
span.mgc-badge.mgcb-left-bottom {
    bottom: -10px;
    top: auto;
    left: 10px;
    right:auto;
}
span.mgc-badge.mgcb-left-top {
    bottom: auto;
    top: 0;
    left: 0;
    right:auto;
    margin:5px 0 0 10px;
}
span.mgc-badge.mgcb-right-top {
    bottom: auto;
    top: 0;
    left: auto;
    right:0;
    margin: 5px 10px 0 0;
}
span.mgc-badge.mgcb-right-bottom {
    bottom: -10px;
    top: auto;
    left: auto;
    right:10px;
}
span.mgc-badge.mgcb-top {
    bottom: auto;
    top: 0;
    left: 0;
}
.mg-card-img-left>.elementor-widget-container .mg-card,
.mg-card-img-right>.elementor-widget-container .mg-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center
}

.mg-card-img-left>.elementor-widget-container .mg-card {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row
}

.mg-card-img-left .mg-card-text,
.mg-card-img-left .mg-card-img,
.mg-card-img-right .mg-card-text,
.mg-card-img-right .mg-card-img {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%
}

.mg-card-img-left .mg-card-img img {
  border-radius: calc(.5rem - 1px) 0 0 calc(.5rem - 1px)
}

.mg-card-img-right>.elementor-widget-container .mg-card {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  text-align: right
}

.mg-card-img-right .mg-card-img img {
  border-radius: 0 calc(.5rem - 1px) calc(.5rem - 1px) 0
}


/*Image hover card style*/

a.mg-btn.mg-hvrcard-btn {
  position: relative;
}

.imghvr-slide-right figcaption {
  -webkit-transform: translateX(-200%);
  transform: translateX(-200%);
}

.mg-hvr-card p {
  color: #ccc;
}


/*Timeline style*/

.mgt-time span {
  font-size: 80%;
  display: inline-block;
  padding: 2px 0;
  margin-bottom: 5px;
}

h3.mgt-head {
  font-size: 20px;
  text-transform: uppercase;
  color: #444;
  border-bottom: 1px solid #ededed;
  padding-bottom: 5px;
}


/*about me style*/

.mg-aboutme-title {
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border: 1px solid #ededed;
  padding: 10px 5px;
  background: #ededed;
  color: #555;
}

.mg-team-style2 .mg-aboutme-title {
  border: inherit;
  background: none;
  margin-bottom: 15px;
}

.mg-sign-img img {
  width: 150px;
  height: 56px;
}


/*Posts grid style*/

span.mgp-post-cats,
span.mgp-post-cats a,
.mgp-meta span,
.mgp-meta span a,
.mpg-tags-links,
span.mgp-comment,
.mpg-tags-links a {
  font-size: 12px;
  color: #555;
  text-transform: capitalize;
  display: inline-block;
}

.mgp-card i {
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  margin-right: 2px;
}

span.mgp-post-cats a,
.mgp-meta span {
  margin-right: 3px;
}

.mgpl-cmeta{
  display: block;
  margin-top: 20px;
}

span.mpg-tags-links i,
span.mgp-comment i {
    opacity: 0.7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    font-size: 10px;
    margin-right: 2px;
}
.mgp-ptitle {
    margin: 5px 0 5px 0;
}

/*post style*/

.mgp-meta.mgp-ms2 {
  border-top: 1px solid #ededed;
  padding-top: 10px;
  margin-top: 20px !important;
}

.mgp-items.style2 .mg-card-text {
  padding-bottom: 24px;
  padding-bottom: 1.5rem;
}

.mgp-items.style2 .mg-card-img img {
  border-radius: 0;
}
.mgpl-cmeta span {
    display: inline-block;
    margin-right: 10px;
}
.mgpl-cmeta.text-right span {
    display: inline-block;
    margin-left: 10px;
}

/*Link style two*/

a.mg-card-btn.mg-link2 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  position: relative;
}

a.mg-card-btn.mg-link2:before {
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 40%;
  content: "";
  background: #ccc;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

a.mg-card-btn.mg-link2:hover {
  text-decoration: none;
  color: inherit;
}
span.mpg-tags-links {
    display: block;
    margin: 5px 0 0;
}
a.mg-card-btn.mg-link2:hover:before {
  width: 100%;
}

@media (max-width: 767px) {
  .mg-card-img-left>.elementor-widget-container .mg-card,
  .mg-card-img-right>.elementor-widget-container .mg-card{
    display: block;
  }

 }

 /*Video card style*/

.mgvideo-thumb {
    position: relative;
}

.mgplay-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    color: #fff;
    opacity: 0.5;
    margin: auto;
    text-align: center;
    z-index: 99;
}

.mgplay-btn i {
    font-size: 50px;
}
.mgvideo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    z-index: 1;
}
.mg-card-img-top .mg-card .mg-card-text,
.mg-card-img-left .mgno-content .mg-card-img.mgvideo-thumb,
.mg-card-img-top .mgno-content .mg-card-img.mgvideo-thumb,
.mg-card-img-right .mgno-content .mg-card-img.mgvideo-thumb {
    flex: inherit !important;
    width: 100%;
    max-width: 100% !important;
}
/* .mg-card-img-right .mgno-content .mg-card-img.mgvideo-thumb img,
.mg-card-img-top .mgno-content .mg-card-img.mgvideo-thumb img,
.mg-card-img-left .mgno-content .mg-card-img.mgvideo-thumb img{
  width: 100%;
} */

@media (max-width: 767px){
  .mg-card .mg-card-text {
      flex: inherit !important;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 100% !important;
  }

}
/*Section title style*/
.mgsec-title-wrap {
    overflow: hidden;
    display: block;
}
.mgsec-subtitle {
    font-size: 18px;
    color: #aaa;
    margin: 0 0 10px;
    line-height: 1.2;
}

.mgsec-title {
    font-size: 34px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.mgsb {
    display: block;
    width: 100%;
    min-height: 1px;
    margin-bottom: 10px;
}
.mgsec-subtitle {
    font-size: 18px;
    color: #aaa;
    margin: 0 0 10px;
    line-height: 1.2;
}

.mgsec-title {
    font-size: 34px;
    line-height: 1.3;
    margin: 0 0 10px;
}


spna.mgsb1,
spna.mgsb2,
spna.mgsb3 {
    height: 1px;
    background-color: #000;
    display: block;
    text-align: left;
    margin-bottom: 3px;
}
spna.mgsb1{
    width: 20px;
}
spna.mgsb2{
    width: 40px;
}
spna.mgsb3{
    width: 60px;
}
.mgsb-center spna.mgsb1,
.mgsb-center spna.mgsb2,
.mgsb-center spna.mgsb3 {
  text-align: center;
  margin-left: auto;
    margin-right: auto;
}
.mgsb-right spna.mgsb1,
.mgsb-right spna.mgsb2,
.mgsb-right spna.mgsb3 {
  text-align: right;
  margin-left: auto;
    margin-right: 0;
}

