/*
Theme Name: Magazilla Child
Theme URI: http://cmsmasters.net/magazilla-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Magazilla Child Theme
Template: magazilla
Version: 1.0.0
License:
License URI:
Text Domain: magazilla-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Ad styling */
.stagi-highlight-wrapper[data-title*="Placement name: Article Banner 300 x 250;"] {
  display: none;
}
.single-post .stagi-highlight-wrapper[data-title*="Placement name: Article Banner 300 x 250;"] {
  display: flex;
}

.widget a.adv-link {
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}
.widget a.adv-link::before,
.widget a.adv-link::after {
  content: "Publicité";
}

[data-title*="Placement name: "] a {
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}
[data-title*="Placement name: "] a::before,
[data-title*="Placement name: "] a::after {
  content: "Publicité";
}

@media (max-width: 768px) {
  .widget [data-title*="Placement name: "] a {
    margin-top: 30px;
  }
}

.pmpro-levels .entry-title{
	display:none;
}
.ets_level_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}

.ets_level_card_box {
  width: calc(33.33% - 20px);
  margin: 5px;
  background-color: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.ets_prc_and_exp_text {
  text-align: center;
  padding: 20px 0px;
  background-color: #f2f2f2;
}
.ets_prc_and_exp_text #ets_level_typ{
	color:#e84e0f;
}

.ets_rec_text {
  display: flex;
  justify-content: center;
  background: #e84e0f;
  padding: 10px;
}

.ets_rec_text i {
  margin-right: 10px;
  color: #fff;
}

.ets_rec_text h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 1rem;
  color: #fff;
}

.ets_desc_text {
  padding: 40px 0px;
}

.ets_desc_text h6 {
  text-align: center;
  padding: 20px 0px 0px 0px;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
}

.ets_desc_text h6::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #000;
  margin: 10px auto 0;
  position: absolute;
  background-color: #e84e0f;
  left: 50%;
  transform: translateX(-50%);
}

.ets_desc_text ul > li::before {
  content: '';
}

.ets_level_button {
  text-align: center;
  padding: 0px 0px 15px 0px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.ets_icon_list_items {
  padding: 0px 15px;
}

.ets_level_button a {
  width: 90%;
  text-decoration: none;
}

.ets_level_button span {
  text-transform:none;
  font-size: 16px;
}

.ets_prc_and_exp_text h1 {
  font-size: 2rem;
  padding: 0px;
  margin: 0px;
}

.ets_prc_and_exp_text h2 {
  font-size: 1.3rem;
  padding: 0px;
  margin: 0px;
}

.ets_icon_list_icon {
  margin-right: 10px;
}

.ets_icon_list_icon i {
  color: #e84e0f;
}
.ets_icon_list_item {
  display: flex;
}

.pmpro_content_message a{
	margin: 10px 10px 0px 10px !important;
	background:#e84e0f !important;
	color:#fff !important;
}

@media screen and (max-width: 860px) {
  .ets_level_card_box {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 580px) {
  .ets_level_card_box {
    width: calc(100% - 20px);
  }
  .ets_level_button a{
    width: 70%;

  }
}

/*checkout page*/
.pmpro-checkout .pmpro_checkout-fields{
	display:block !important;
}

.pmpro-checkout .ets_custom_ch_main_sec{
	display:flex;
}

.pmpro-checkout .ets_ch_left_side{
	width:45%;
	padding:26px;
}

.pmpro-checkout .ets_ch_right_form_side{
	width:55%;
  padding:35px;
  background:#e5e5e5;
}

.pmpro-checkout #username,#bphone{
	   width: 90%;
}

/* For Firefox */
@-moz-document url-prefix() {
    .pmpro-checkout #username {
        /* Set width for Firefox */
        width: calc(97% - 2px);
    }

    .pmpro-checkout #bphone {
        /* Set width for Firefox */
        width: calc(97% - 2px);
    }
}





.pmpro-checkout #password,#password2,#bemail,#bconfirmemail,#bfirstname,#blastname,#baddress1,#baddress2,#bcity,#bstate,#bzipcode {
	width:95%;
}

.pmpro-checkout #cmsmasters_column_{
  background:none;
  border:none;
}

.pmpro-checkout .ets_ch_top_border{
  margin-bottom:80px;
  border-bottom:2px solid #e84e0f;
  text-align:center;
  font-size:32px;
  padding-bottom:24px;
  color:#e84e0f;
}

.pmpro-checkout .ets_ch_sec_cstm{
  display:flex;
}

.pmpro-checkout #pmpro_btn-submit{
  width:100%;
}

.pmpro-checkout #pmpro_license h1{
  font-size:22px;
}

.pmpro-checkout .pmpro_level_description_text{
	display:none;
}

.pmpro-checkout .pmpro_level_cost_text p{
  display:none;
}

.pmpro-checkout .ets_ch_pn_nme{
  font-size:22px;
  font-weight:400;
  padding-left:10px;
}

.pmpro-checkout .ets_ch_pn_price{
  font-size:35px;
  color: #e84e0f;
  padding-left:10px;
}

.pmpro-checkout .ets_ch_icon_list_item{
  display:flex;
}

.pmpro-checkout .ets_ch_icon_list_icon{
  margin-right:10px;
}

.pmpro-checkout .ets_ch_icon_list_icon i {
  color: #e84e0f;
}

.pmpro-checkout .ets_plan_dtl_box{
  padding-top:66px;
}

.pmpro-checkout ul > li::before {
  content: '';
}

.pmpro-checkout .entry-title{
	display:none;
}

.pmpro-checkout .cmsmasters_text p:nth-child(2){
  display:none;
}
.pmpro-checkout .cmsmasters_text p:nth-child(3){
  display:none;
}
.pmpro-checkout #ExpirationMonth,#ExpirationYear,#bcountry{
  background:#fff;
}
.pmpro_level_name_text{
  padding:0px;
}
#pmpro_payment_method hr{
  display:none;
}
#pmpro_tos_fields hr{
display:none;
}

@media screen and (max-width: 820px) {

   .pmpro-checkout #cmsmasters_column_ .cmsmasters_column_inner{
       padding:0px;
   }

 .pmpro-checkout .ets_custom_ch_main_sec{
	   display:block;
  }
  .pmpro-checkout .ets_ch_left_side{
	  width:100%;
	  padding:0px;
  }

  .pmpro-checkout .ets_ch_right_form_side{
	  width:100%;
	  padding:18px;
  }

  .pmpro-checkout .ets_ch_sec_cstm{
    display:block;
  }

  .pmpro-checkout #bphone{
	  width:94%;
  }
  .pmpro-checkout #username{
    width:94%;
  }

 .pmpro-checkout .ets_ch_pn_price{
    font-size:28px;
  }

  .pmpro-checkout .ets_plan_dtl_box{
    padding-top:10px;
  }

}
@media only screen and (min-device-width: 821px) and (max-device-width: 1064px) {
	#password,#password2,#bemail,#bconfirmemail,#bfirstname,#blastname,#baddress1,#baddress2,#bcity,#bstate,#bzipcode {
		width:90%;
	}
	#bcountry{
		width:90%;
	}

}

.cmsmasters_profile_horizontal .cmsmasters_profile_header .cmsmasters_profile_title, .cmsmasters_profile_horizontal .cmsmasters_profile_header .cmsmasters_profile_title a, .cmsmasters_pricing_table .pricing_title, .share_posts .cmsmasters_share, .share_posts .cmsmastersView span {
  font-size: 0px !important;
  display: none;
}

.cmsmasters-icon-share-3 {

  display: none;
}

.pmpro_form_field-password-toggle-state {
    visibility: hidden;
    position: relative;
}

.pmpro_form_field-password-toggle-state:before {
    content: 'Afficher mot de passe';
    visibility: visible;
    position: absolute;
    left: 0;
}

.cmsmasters_cat_color {
    background-color: #e84e0f !important; /* Définit la couleur de fond */
    color: #fff !important; /* Change également la couleur du texte pour garantir la lisibilité */

}

/* FOR THE UNAUTHORIZED BOX BY PARDEEP */

        .subscription-section {
            padding: 0px 20px 20px;
            background-color: #fff8ec;
            border: 1px solid #f6dcae;
            margin: 50px auto;
            display: grid;
            grid-template-columns: 40% auto;
            gap: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .subscription-section .heading {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .subscription-section .description {
            font-size: 1rem;
            margin-bottom: 15px;
        }

        .subscription-section ul {
            list-style-type: none;
            padding: 0;
            text-align: left;
            margin: 20px auto;
            max-width: 400px;
        }

        .subscription-section ul li {
            margin-bottom: 10px;
            font-size: 0.95rem;
        }

        .subscription-section ul li::before {
            content: "✔";
            color: #f95d5d;
            margin-right: 10px;
            font-weight: bold;
        }

        .offer-box {
            background-color: #fff;
            border: 2px solid #ffc700;
            padding: 15px;
            display: inline-block;
            margin: 20px 0;
            text-align: center;
            border-radius: 5px;
        }

        .offer-box .offer-title {
            font-size: 0.85rem;
            font-weight: bold;
            color: #c88a00;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .offer-box .price {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .offer-box .price small {
            font-size: 1rem;
            font-weight: normal;
        }

        .offer-box .cta {
            background-color: #e84e0f;
            color: #fff;
            padding: 10px 20px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1rem;
            border-radius: 5px;
            display: inline-block;
            margin-top: 10px;
        }

        .offer-box .cta:hover {
            background-color: #e84e0f;
        }

        .cta a {
          color: #fff;
        }

        .footer-note {
            font-size: 0.85rem;
            color: #666;
            margin-top: 10px;
        }

        .lock-icon::before {
          content: "\1F512"; /* Unicode character for lock */
          font-size: 24px; /* Adjust size */
          color: #333; /* Lock color */
        }

        .lock-section {
          display: flex;
          align-items: center;
          margin-top: 20px;
          box-shadow: 0 -22px 43px rgb(73 66 66 / 35%); /* Box shadow above */
          padding: 10px; /* Optional: Add some padding for spacing */
          border-radius: 8px; /* Optional: Rounded corners */
        }

        .lock-icon {
           position: relative;
          width: 40px;
          height: 40px;
          border-radius: 50%;
          background-color: #e84e0f;
          display: flex;
          justify-content: center;
          align-items: center;
        }

        .lock-icon .lock-body {
          position: absolute;
          width: 30px;
          height: 30px;
          background-color: #fff;
          border-radius: 5px;
          top: 8px;
        }

        .lock-icon .lock-shackle {
          position: absolute;
          width: 10px;
          height: 10px;
          background-color: #fff;
          border-radius: 50%;
          top: -6px;
          left: 15px;
        }

        .lock-icon .lock-bar {
          position: absolute;
          width: 6px;
          height: 10px;
          background-color: #fff;
          top: 12px;
          left: 17px;
          border-radius: 2px;
        }

        p.login-button {
          text-align: center;
          margin-left: 20%;
          padding: 20px;
          background: #e84e0f;
          color: #ffffff;
          max-width: 300px;
          cursor: pointer;
          justify-content: center;
        }
        .find-courses-need-help-block {
          margin-top: 5%;
          margin-left: 20%;
        }

@media screen and (max-width: 600px) {
  .subscription-section{grid-template-columns: 100%;}
}



.cmsmasters_open_post .cmsmasters_post_cont_info_bottom .cmsmasters_post_author_avatar {
    width: 40px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 0;
    overflow: hidden;
    display: none !important;
}