/**
* Vertical animated Timeline
**/
ol.noom-timeline {
    list-style: none;
    counter-reset: list-counter;
    padding-left: 0 !important;
    overflow: hidden;
}

ol.noom-timeline li {
    counter-increment: list-counter;
    position: relative;
    padding: 0 0 40px 80px;
    font-size: inherit;
    line-height: inherit;
    transition: all .2s ease-in-out;
    margin-top: 25px;
    opacity: .5;
}

ol.noom-timeline li h3 {
    font-family: var(--common-font-sans);
    font-weight: inherit;
    margin-top: 0;
    font-size: inherit;
    color: var(--page-primary-color);
}

ol.noom-timeline li .noom-timeline-span {
    position: absolute;
    height: 100%;
    width: 3px;
    background: none;
    top: 5px;
    left: calc(9px + 0.425rem);
    z-index: -1;
    transition: all .2s ease-in-out;
}

ol.noom-timeline li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    background-color: var(--page-timeline-base-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: 0;
    font-size: inherit;
    font-weight: 500;
    transition: all .2s ease-in-out;
    transform: scale(.8);
    box-shadow: 1px 1px 1px -1px #0000001A;
}

ol.noom-timeline li.noom-timeline-current {
    margin-top: 0;
    opacity: 1;
}

ol.noom-timeline li.noom-timeline-current:before {
    background-color: var(--page-timeline-target-color);
    transform: scale(1.0);
    box-shadow: 2px 2px 1px -5px rgb(255, 255, 255);
}

ol.noom-timeline li.noom-timeline-current .noom-timeline-span {
    background: linear-gradient(180deg, var(--page-timeline-target-color) 0%, var(--page-timeline-base-color) 0%, transparent 0%);
}

/** Styles for the [get_sme-posts] shortcode **/
.sme-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: center;
    gap: 10px 20px;
}


.sme-posts article.sme-post {
	list-style-type: none !important;
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: space-evenly;
	background-color: var(--noom-off-white);
	border: 1px solid var(--noom-sand-2);
	border-radius: 20px;
	padding: 10px;
    height: 100%;
}

.sme-posts article.sme-post .sme-post-meta-wrapper h3 {
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 120%;
    padding-bottom: 0;
}

.sme-posts article.sme-post .sme-image-wrapper {
    aspect-ratio: 1/1;
    border-radius: 14px;
    width: 120px;
    align-content: center;
    overflow: hidden;
}

.sme-posts article.sme-post .sme-image-wrapper img {
    min-height: unset;
    border-radius: 14px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.sme-posts article.sme-post .sme-post-meta-wrapper {
    width: 100%;
    padding-left: 15px;
}

.sme-posts a {
    font-family: var(--common-font-label);
    border: none !important;
    font-size: .75rem;
    color: #A82F67 !important;
    text-decoration: underline;
    text-transform: uppercase;
}

@media (max-width:600px) {

    .sme-posts article.sme-post .sme-image-wrapper {
        width: 85px;
        height: 85px;
    }

    .sme-posts article.sme-post .sme-post-meta-wrapper h3 {
        font-size: .875rem;
    }
    .sme-posts a {
        font-size: .67rem; 
    }
}

/** SME Profile **/
.sme-profiles article.sme-profile {
    list-style-type: none !important;
    display: flex;
    justify-content: space-evenly;
}

.sme-profiles article.sme-profile .sme-profile-meta-wrapper h3 {
    font-size: 2.25rem !important;
    font-weight: 400;
    line-height: 120%;
    color: #A82F67 !important;
}
.sme-profiles article.sme-profile .sme-profile-meta-wrapper .sme-profile-bio {
    font-size: 1rem;
    line-height: 150%;
}

.sme-profiles  article.sme-profile .sme-profile-image-wrapper {
    aspect-ratio: 1/1;
    border-radius: 14px;
    width: 250px;
    height: 250px;
    align-content: center;
    padding: 0 25px 25px 0;
}

.sme-profiles  article.sme-profile .sme-profile-image-wrapper img {
    min-height: unset;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
}

.sme-profiles article.sme-profile .sme-profile-meta {
    font-family: var(--common-font-label);
    font-size: .875rem;
    color: var(--noom-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width:600px) { 

    .sme-profiles article.sme-profile {
        flex-direction: column;
    }

    .sme-profiles article.sme-profile .sme-profile-meta-wrapper h3 {
        font-size: 1.75rem !important;
    }
    
    .sme-profiles article.sme-profile .sme-profile-meta {
        font-size: .8rem;
    }

    .sme-profiles  article.sme-profile .sme-profile-image-wrapper {
        padding: 0;
        margin: 0 auto;
        margin-bottom: 50px;
    }
}


/** START: Noom Lists with custom diamond bullets **/
#main-content ul.noom {
    padding-left: 0 !important;
    position: relative;
    list-style-type: none !important;
    list-style: none !important;
    margin-left: 25px;
}

#main-content ul.noom>li::before {
    content: "";
    background-color: var(--page-primary-color, --noom-tarocco);
    -webkit-mask-image: url("/wp-content/themes/Divi-child/images/noom-diamond.svg");
    mask-image: url("/wp-content/themes/Divi-child/images/noom-diamond.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    width: 15px;
    height: 15px;
    background-size: 100%;
    color: var(--page-primary-color, --noom-tarocco);
    vertical-align: middle;
    display: block !important;
    position: absolute;
    left: -25px;
    opacity: 1;
    margin-top: 5px
}

#main-content ul.noom>li ul::before {
    content: '' !important;
    position: relative !important;
    margin-left: 0 !important;
}

#main-content ul.noom>li {
    position: relative;
    line-height: 140%;
}

#main-content ul.noom>li:not(:last-child) {
    padding-bottom: 20px;
}

/** START: Noom Unordered list top padding adjustment after a paragraph **/
#main-content p+ul.noom {
    padding-top: 0 !important;
}

#main-content ul.noom>li ul {
    padding-bottom: 0;
}

/** END: Noom Unordered list top padding adjustment after a paragraph **/
