/* SERVICES SECTION IN THE PROFILE */

:root {
    --ph-green: var(--color-1);
    --ph-tea: #a8b6a6;
    --ph-blue: #006ba6;
    --ph-purple: #d8bfd8;
    --ph-orange: var(--color-2);
}

.md_services__cards {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.md_orange_btn {
    background-color: var(--ph-green);
    padding: 10px 32px;
    line-height: 18px;
    border-radius: 50px;
    border: none!important;
    color: white;
}
.md_orange_btn:hover {
    background-color: var(--ph-orange);
}

.last-transactions {
    margin-bottom: 16px;
}
.personal-social a {
    color: var(--color-1);
}

/* Articles on the expert's site */
.md_articles {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.md_article_card {
    /* border: 1px solid var(--color-1); */
    border: 1px solid var(--color-1);
    border-radius: 8px;
    max-width: 370px !important;
}

.md_article_card img {
    border-radius: 7px 7px 0 0;
}

.md_article_card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.md_article_body {
    padding: 16px;
}

.md_article_card:hover {
    border-color: var(--color-1);
    background-color: #ffffff50;
}

.md_service_body {
    background-color: #ffffff70;
    padding: 3%;
    border-radius: 8px;
    margin-top: 3em;
}

.repeater-image img {
    max-height: 480px;
    margin: 16px 0;
    border-radius: 3px;
}

.md_a_btn {
    background-color: var(--color-1);
    padding: 8px 24px;
    margin-top: 16px !important;
    border-radius: 50px;
    color: white;
    border: none!important;
    min-width: 150px!important;
}
a.md_a_btn {
    padding: 15px 24px!important;
}

.md_link {
    background-color: none!important;
    border: none!important;
}


.md_a_btn:hover,
.md_a_btn:active,
.md_a_btn:focus {
    background-color: #f08700!important;
    color: white!important;
}

.md_login_icon * {
    color: var(--color-2) !important;
}

.md_filters {
    padding-bottom: 3em;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: end;
}

.md_filters .filter-button {
    background-color: var(--color-1);
    border: none;
    padding: 2px 24px;
    border-radius: 50px;
}

.md_selected_category {
    background-color: var(--color-1) !important;
    color: white;
}

.purchase-dates {
    margin-top: 15px;
    list-style-type: none;
    padding: 0;
    font-size: 14px;
    color: #fff;
}

.purchase-dates li {
    margin-bottom: 5px;
}

/* Membership */

.membership-post {
    display: flex;
    flex-direction: column;
    gap: 0px;
    border-radius: 8px;
    border: 1px solid var(--color-1)10;
}

.membership-post .top {
    border-radius: 8px 8px 0 0;
    background-color: #ffffff;
    padding: 1em;
    border-bottom: 1px solid var(--color-1)10;
    display: flex;
    gap: 1em !important;
}

.membership-post .top .center {
    display: flex;
    flex-direction: column;
    gap: 0px !important;
}
.membership-post .top .center h3 {
    font-size: 22px;
    margin: 0 !important;
}
.membership-post .top .center p {
    font-size: 13px;
    line-height: 13px;
    margin: 0 !important;
}

.membership-post .top .right {
    margin-left: auto;
}

.membership-post .mid {
    background-color: #ffffff;
    padding: 1em;
}

/* Unordered List */
.membership-post .mid li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.membership-post .mid ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--color-1);
    border-radius: 50%;
}

.membership-post .mid ol li {
    list-style: decimal inside;
}

.membership-post .bottom {
    border-radius: 0 0 8px 8px;
    background-color: #ffffff;
    display: flex;
    justify-content: end;
    padding: 1em;
}
.membership-post .bottom a {
    margin-left: 20px;
    font-size: 20px;
}

.membership-post .bottom a:hover {
    color: var(--color-1);
}

.post_avatar {
    height: 40px;
    width: 40px;
    border-radius: 50px;
}



.md_lesson_downloads {
    padding: 1em;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 1em;
    border-bottom: 1px solid var(--color-1)10;
    display: flex;
    gap: 2em !important;
}
.md_lesson_downloads a {
    margin-right: 16px;
}
.md_lesson_downloads a:hover {
    color:var(--color-1);
}
.md_lesson_downloads h4 {
    font-size: 15px;
}


.md_podcast_on_homepage {
    border: 1px solid #dae0df;
    margin-top: 100px;
    padding: 2%!important;
    border-radius: 6px;
    background-color: white;
}

.md_row_centered {
    justify-content: center;
}
.md_podcast_cover {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 6px;
}

.md_podcast_graphic {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.md_podcast_row img {
    height: 85px;
    width: 85px;
    border-radius: 4px;
}

.md_podcast_row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    background-color:  #f7f7f7;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 5px;
}

.pdleft{
    min-width: 80px!important;
    max-width: 80px!important;
}
.pdcenter{
    flex: 1;
}
.pdright{
    min-width: 30px!important;
    max-width: 30px!important;
    text-align: center;
}


.md_play {
    color: var(--color-1);
}


.md_episode_short_description {
    margin-top: 6px;
    padding-left: 32px;
    font-size: 14px;
    font-weight: 100;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.md_episode_content {
    background-color: #ffffff70;
    border-radius: 6px;
    padding: 6% 3%;
    margin-top: 3em;
}


.md_player {
    /* border: 1px solid var(--color-1); */
    border-radius: 6px;
    background-color: var(--color-1)60;
    margin-top: 32px;
    padding: 8px 8px 0 6px;
}

.md_player audio {
    min-width: 100%;
}


.section ul li {
    position: relative; 
    padding-left: 20px; 
}

.section ul li::before {
    content: ''; 
    position: absolute;
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 10px; 
    height: 10px; 
    background-color: var(--color-1); 
    border-radius: 50%; 
}

.services-details-items video {
    max-height: 60vh;
}


.md_cart_btns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
}

.md_buy_btn,
a.md_buy_btn,
button.md_buy_btn {
    background-color: var(--color-1);
    padding: 8px 16px;
    font-size: 13px;
    color: white;
    border: none;
    border-radius: 4px;
    /* height: 36px; */
    line-height: 14px;
    /* width: 50%; */
    text-align: center;
    gap: 8px;
    margin-bottom: 12px;
}

.md_buy_btn:hover,
a.md_buy_btn:hover,
button.md_buy_btn:hover {
    background-color: var(--color-1);
    color: white;
}

.md_delete_btn i {
  display: inline-block;
  font-size: 15px!important;
  color: var(--white);
  margin-bottom: 35px;
  height: 32px!important;
  width: 32px!important;
  line-height: 30px!important;
  background: var(--color-primary);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 100;
}




.md_repeater {
    margin-top: 5%;
}
.md_dual_block_left {
    display: flex;
    align-items: center;
}

.md_dual_block_left img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: scale-down;
    display: block;
}



.md_dual_block_right {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;

}

.md_dual_block_right .md_block_txt {
    padding-left: 10%;
    /* width: 50%; */
}

.md_dual_block_left .md_block_txt {
    padding-right: 10%;
    /* width: 50%; */
}


@media screen and (max-width: 1025px) {
    .md_dual_block_left,
    .md_dual_block_right {
        flex-direction: column;
    }

    .md_block_txt {
        width: 100%;
        margin-bottom: 45px;
    }
}

.reply-toggle {
    background-color: white;
    margin-top: -10px!important;
    padding: 1em;
}

.replies-container {
    background-color: white;
    border: 1px solid white;
    padding: 1em 1em 1em 3em;
    border-radius: 0 0 4px;
}

.membership-post-replies.mt-4 {
    margin-top: 0!important;
}


.reply-btn {
    background: var(--color-1);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    padding: 2px 20px!important;
    margin-top: 10px;
}

.reply-btn-delete,
.reply-btn-edit {
    background-color: #00000000;
    bordeR: none;
    color: var(--color-2);
    margin-right: 16px;
}

.reply-btn-delete:hover,
.reply-btn-edit:hover {
    color: var(--color-1);
}



.reply-btn:hover {
    background: var(--color-1);
}

.thumb img {
    max-height: 70vh!important;
    width: 100%;
    object-fit: cover;
}


.md_description_section {
    margin-bottom: 24px!important;
}


.md_articles_li {
    border: 2px solid var(--color-1);
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 4px;
    line-height: 16px;
    background-color: var(--color-1);
}
.md_articles_li:hover {
    border: 2px solid var(--color-2);
    background-color: var(--color-2);
}

.purchase_box {
    margin-top: 16px;
}
.md_fluid_login {
    border: 2px solid #cfcfcf;
    margin-top: 16px;
    background-color: #ffffff;
    padding: 26px;
    border-radius: 4px;
    background: #00000010;
    border-radius: 4px;
    border: 2px solid rgb(205 223 247);
}

.details_price {
    font-size: 2em!important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-1)!important;
}