/*
 Theme Name:   Yoganidras Child
 Template:     yoganidras
 Text Domain:  yoganidraschild
*/

.custom_post_page_wrapper,
.page-template-add-teacher {
    background-color: #ec921a;
}

body.single-teachers {
    background: #ec921a;
}

.post-type-archive-teachers .custom_post_page_wrapper {
    background: transparent;
}

.custom_post_page_wrapper .container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.custom_post_page_wrapper .archive_cp_items_wrapp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 40px;
    padding-bottom: 30px;
}

.custom_post_page_wrapper #teachers_main_wrapp {
    padding-bottom: 50px;
}

.custom_post_page_wrapper .teachers__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.custom_post_page_wrapper .teacher__nidra {
    padding: 10px 0;
    border-top: 1px solid rgb(121, 102, 102);
}

.custom_post_page_wrapper .teacher__nidras {
    margin-top: 40px;
}

.custom_post_page_wrapper .section__title {
    font-size: 24px;
    line-height: 30px;
}

.custom_post_page_wrapper .pagination__wrapp {
    margin-bottom: 50px;
}

.custom_post_page_wrapper .teachers__hero {
    width: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    color: white;
    position: relative;
    z-index: 0;
    padding: 60px;
}

.custom_post_page_wrapper .teachers__hero::before {
    content: "";
    z-index: 0;
    transform: translateY(50%);
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.custom_post_page_wrapper .teachers__page-title {
    font-size: 60px;
    line-height: 76.2px;
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
    font-weight: 700;
}

.custom_post_page_wrapper .teachers__additional_info > p {
    font-size: 20px;
    line-height: 25px;
    color: white;
}

.custom_post_page_wrapper .teachers__additional_info .teachers__page-subtitle {
    color: #f7a940;
    font-size: 30px;
    line-height: 37px;
    font-weight: 600;
}

.custom_post_page_wrapper .teachers__additional_info {
    font-size: 18px;
    margin-bottom: 50px;
}

.custom_post_page_wrapper .teachers__title {
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
    text-transform: uppercase;
}

.custom_post_page_wrapper .teachers__item {
    padding-bottom: 25px;
    border-radius: 14px;
    color: white;
}

.custom_post_page_wrapper .pagination__wrapp {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
}

.custom_post_page_wrapper #teachers_filter,
.custom_post_page_wrapper #events_filters {
    display: flex;
    margin-bottom: 50px;
    gap: 20px;
}

.custom_post_page_wrapper #teachers_filter_archive {
    display: flex;
    margin-bottom: 50px;
    gap: 20px;
}

.custom_post_page_wrapper #teachers_filter select,
.custom_post_page_wrapper #events_filters select,
.custom_post_page_wrapper #teachers_filter_archive select,
.custom_post_page_wrapper #teacher_add select,
.custom_post_page_wrapper #nidra_add select {
    flex: 1;
    background: white;
    border-radius: 14px;
    border: 1px solid #a41f1b;
    color: #a41f1b;
    background-color: transparent;
}

.custom_post_page_wrapper .archive-pagination.pagination li {
    margin-left: 0 !important;
    margin-right: 10px !important;
}

.custom_post_page_wrapper .current {
    padding: 0.4rem 0.7rem;
    background: #a41f1b;
    color: white;
    border-radius: 50%;
}

.custom_post_page_wrapper .archive-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.custom_post_page_wrapper .pagination__wrapp {
    flex-direction: column;
}

.custom_post_page_wrapper .all_pages {
    text-align: center;
}

.custom_post_page_wrapper #teachers_filter input,
.custom_post_page_wrapper #events_filters input {
    flex: 1;
    border: none;
    background: white;
    border-radius: 0;
    border-bottom: 1px solid #a41f1b;
    outline: none;
    background: transparent;
    color: #a41f1b;
}

.custom_post_page_wrapper #teachers_filter_archive input {
    flex: 1;
    border: none;
    background: white;
    border-radius: 0;
    border-bottom: 1px solid #a41f1b;
    outline: none;
    background: transparent;
    color: #a41f1b;
}

.custom_post_page_wrapper #teacher_add input,
.custom_post_page_wrapper #teacher_add textarea,
.custom_post_page_wrapper #teacher_add select {
    flex: 1;
    background: white;
    border-radius: 12px;
    border: 1px solid #a41f1b;
    outline: none;
    color: #a41f1b;
}

.custom_post_page_wrapper #nidra_add input,
.custom_post_page_wrapper #nidra_add textarea,
.custom_post_page_wrapper #nidra_add select {
    flex: 1;
    background: white;
    border-radius: 12px;
    border: 1px solid #a41f1b;
    outline: none;
    color: #a41f1b;
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-play,
.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button.mejs-pause {
    position: absolute;
    border: 6px solid #a41f1b;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    bottom: calc(100% + 40px);
    transform: translateX(-50%);
    border-radius: 50%;
    cursor: pointer;
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-play button:hover,
.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button.mejs-pause
button:hover {
    background-color: transparent !important;
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-play button,
.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button.mejs-pause
button {
    background-image: none;
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-play button {
    display: block;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 40px solid #a41f1b;
    border-right: none !important;
    background: none !important;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    left: 7px;
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-play button::after {
    content: "";
    opacity: 0;
    transition: opacity 0.6s;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
}

.single-nidras
.mejs-button.mejs-playpause-button.mejs-play
button:focus::before {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-pause button {
    border-color: transparent;
}

.single-nidras .mejs-button.mejs-playpause-button.mejs-pause button {
    width: 50px !important;
    height: 50px !important;
    background-color: #a41f1b !important;
}

.single-nidras .nidra__file_wrapp {
    position: relative;
    margin-top: 40px;
    padding-top: 200px;
    margin-bottom: 25px;
}

.single-nidras .mejs-controls {
    background: #a41f1b !important;
    border-radius: 30px;
}

.single-nidras .mejs-container {
    background: none !important;
}

.single-nidras .custom_post_page_wrapper .mejs-button.mejs-playpause-button {
    background: white !important;
}

.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 6px solid #a41f1b;
    background: #a41f1b;
    opacity: 0.3;
    animation: pulse 2s ease infinite alternate;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 6px solid white;
    background: white;
    opacity: 0.3;
    animation: pulse 2s ease infinite alternate;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button.mejs-pause::before,
.single-nidras
.custom_post_page_wrapper
.mejs-button.mejs-playpause-button.mejs-pause::after {
    opacity: 0;
}

.subscription-notice {
    text-align: right;
    font-size: 16px;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.5);
    }
}

.custom_post_page_wrapper .nidra__additional_links {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-bottom: 50px;
}

.custom_post_page_wrapper .add_teacher_form {
    display: flex;
}

.custom_post_page_wrapper .add_teacher_form {
    gap: 20px;
    row-gap: 35px;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.custom_post_page_wrapper .add_teacher_form > * {
    flex: 1;
}

.custom_post_page_wrapper .add_teacher_form input {
    min-width: 40%;
}

.custom_post_page_wrapper .add_teacher_form select {
    min-width: 100%;
    height: 50px;
}

.custom_post_page_wrapper .add_teacher_form textarea {
    min-width: 100%;
    height: 150px;
    border: 1px solid #a41f1b;
    border-radius: 14px;
    resize: none;
    outline: none;
}

.custom_post_page_wrapper .add_teacher_form button {
    min-width: 100%;
}

.custom_post_page_wrapper .nidra_taxes {
    justify-content: center;
    gap: 30px;
    font-size: 20px;
}

.custom_post_page_wrapper #clear_filters {
    display: flex;
    align-items: center;
    text-decoration: underline;
    color: #a41f1b;
    cursor: pointer;
    font-size: 16px;
}

.custom_post_page_wrapper .nidra__add_link {
    margin-top: 40px;
    display: block;
    padding: 10px 25px;
}

.custom_post_page_wrapper .filters__wrapp button,
.custom_post_page_wrapper .nidra__add_link {
    color: white !important;
    background-color: #a41f1b !important;
    border-radius: 14px;
    border: none;
}

.custom_post_page_wrapper .filters__wrapp button:hover,
.custom_post_page_wrapper .nidra__add_link:hover,
.custom_post_page_wrapper #teacher_add button,
.custom_post_page_wrapper #nidra_add button {
    color: white;
    background-color: #a41f1b;
    border-radius: 14px;
    border: none;
}

.custom_post_page_wrapper .nidras__items .teachers__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%;
    background-color: #a41f1b;
}

.custom_post_page_wrapper .nidras__items .teachers__item p {
    margin: 0;
}

.custom_post_page_wrapper .nidras__items .teachers__title {
    margin-top: 0;
    margin-bottom: 10px;
}

.custom_post_page_wrapper .archive__nidras_taxes {
    font-size: 14px;
}

.custom_post_page_wrapper .teacher_content a,
.custom_post_page_wrapper .teacher_content a:hover {
    color: #a41f1b;
}

.custom_post_page_wrapper .teacher_single_title h1 {
    font-size: 55px;
    color: #a41f1b;
}

.custom_post_page_wrapper .teacher_content {
    padding-top: 50px;
}

.custom_post_page_wrapper .teacher__nidras .section__title {
    font-size: 60px;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 40px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: white;
}

.custom_post_page_wrapper .teacher__nidras {
    padding-bottom: 80px;
}

.custom_post_page_wrapper .teacher__nidras_items_wrapp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.custom_post_page_wrapper .teacher__nidra_wrapp {
    flex: 1;
    text-align: center;
    border: none;
    background: #a41f1b;
    color: white;
    border-radius: 14px;
    overflow: hidden;
    padding: 15px 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom_post_page_wrapper .teacher__nidra_wrapp * {
    color: white !important;
    font-size: 20px;
}

.custom_post_page_wrapper .teacher__nidra_wrapp:hover {
    color: white;
}

.custom_post_page_wrapper .teacher__nidra {
    border: none;
}

.custom_post_page_wrapper .soundcloud_emed_wrap iframe {
    width: 100%;
    height: 400px;
}

.custom_post_page_wrapper .single__nidra_author a,
.custom_post_page_wrapper .single__nidra_author a:hover {
    color: #a41f1b;
    text-decoration: underline;
    font-weight: bold;
}

.custom_post_page_wrapper .single_event_add_to_cart_link {
    color: white !important;
    background-color: #005ca9 !important;
    border-radius: 14px;
    border: none;
    display: flex;
    margin: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    font-weight: 500;
    font-size: 26px;
    transition: all 0.3s ease;
    margin: 40px 0;
}

.custom_post_page_wrapper ul {
    margin-bottom: 0.9rem;
}

.custom_post_page_wrapper .nidra__desc {
    font-size: 20px;
}

.custom_post_page_wrapper .open_modal {
    cursor: pointer;
}

.custom_post_page_wrapper .teacher__popup {
    display: none;
}

.custom_post_page_wrapper .teacher__popup {
    position: fixed;
    z-index: 10000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #a41f1b;
    width: 75%;
    padding: 50px;
    border-radius: 14px;
    box-shadow: 0 5px 20px 5px #00000044;
}

.custom_post_page_wrapper .popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.custom_post_page_wrapper .popup_overlay.active {
    opacity: 0.5;
    pointer-events: all;
}

body.block_scroll {
    overflow: hidden;
}

.custom_post_page_wrapper .close_modal {
    cursor: pointer;
}

.custom_post_page_wrapper .close_modal img {
    height: auto;
    width: 30px;
}

.custom_post_page_wrapper .close_modal {
    position: absolute;
    top: 15px;
    right: 15px;
}

.custom_post_page_wrapper .teacher__item_details {
    background: #a41f1b;
    padding-top: 150px;
    margin-top: -150px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    box-shadow: 0 5px 20px 5px #00000044;
}

.custom_post_page_wrapper .teachers__title {
    margin-top: 0;
    font-size: 24px;
}

.custom_post_page_wrapper .teachers__image-wrapp img {
    box-shadow: 0 5px 20px 5px #00000044;
}

.custom_post_page_wrapper .open_modal {
    text-decoration: underline;
}

.custom_post_page_wrapper .teachers__additional_info {
    width: 1034px;
    max-width: 100%;
    margin: 50px auto;
    margin-top: 0;
    background: #523e62bf;
    padding: 55px 70px;
    border-radius: 10px;
}

.custom_post_page_wrapper .teachers__additional_info * {
    color: white;
}

.custom_post_page_wrapper .teachers__additional_info a {
    text-decoration: underline;
}

.custom_post_page_wrapper #teachers_filter,
.custom_post_page_wrapper #events_filters {
    background: white;
    padding: 27px 38px;
    border-radius: 14px;
}

.custom_post_page_wrapper #teachers_filter_archive {
    background: white;
    padding: 27px 38px;
    border-radius: 14px;
}

.custom_post_page_wrapper .popup_img {
    float: right;
    margin-left: 20px;
}

.custom_post_page_wrapper .popup_img img {
    width: 350px;
    border-radius: 14px;
    height: auto;
}

.custom_post_page_wrapper .pagination__wrapp {
    background: white;
    max-width: 200px;
    margin: auto;
    border-radius: 14px;
}

.custom_post_page_wrapper .close_modal img {
    background: none !important;
}

.custom_post_page_wrapper .teacher__popup .teachers__title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    font-size: 36px;
    margin-bottom: 20px;
}

.custom_post_page_wrapper img {
    background: white;
}

.custom_post_page_wrapper .nidras__items > a {
    border-radius: 12px;
    background-color: #611d22;
    transform: scale(1);
    transition: all 0.3s ease;
}

.custom_post_page_wrapper .nidras__items > a:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.custom_post_page_wrapper .teacher__popup {
    max-height: calc(100vh - 100px);
    overflow: scroll;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.custom_post_page_wrapper .teacher__popup::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.custom_post_page_wrapper .teacher__popup {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

body.post-type-archive-courses {
    background: #ec921a;
}

.custom_post_page_wrapper .courses_archive__item {
    background: #a41f1b;
    color: white;
    padding: 25px 50px;
    margin-bottom: 30px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom_post_page_wrapper .courses_archive__title {
    font-size: 28px;
    font-weight: bold;
}

.custom_post_page_wrapper .archive_events_book_link {
    font-size: 20px !important;
    background-color: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 5px 20px 5px #00000044;
}

.custom_post_page_wrapper .events_month_separator {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    font-size: 20px;
}

.custom_post_page_wrapper .events_month_separator span {
    text-transform: uppercase;
    background: #ec921a;
    padding: 10px;
    color: #611d22;
}

.custom_post_page_wrapper .events_month_separator::before {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    background: #611d22;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.custom_post_page_wrapper .events_year_separator {
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    font-size: 32px;
    font-weight: bold;
}

.custom_post_page_wrapper .events_year_separator span {
    text-transform: uppercase;
    background: #ec921a;
    padding: 10px;
    color: #611d22;
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp {
    float: right;
    margin-left: 120px;
    margin-bottom: 50px;
    width: 50%;
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp img {
    width: 100%;
    max-height: 773px;
    object-fit: cover;
    object-position: center;
}

.custom_post_page_wrapper .main_teacher_info_wrapp {
    padding-top: 100px;
}

.custom_post_page_wrapper .teacher_content {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
}

.custom_post_page_wrapper .teacher_single_title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: white;
}

.custom_post_page_wrapper .single_nidra_hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    text-align: center;
    background-repeat: no-repeat;
    display: flex;
    margin-bottom: 50px;
}

.custom_post_page_wrapper .nidra_all_wrapp {
    display: flex;
    column-gap: 150px;
}

.custom_post_page_wrapper .nidra_single_left,
.custom_post_page_wrapper .nidra_single_right {
    flex: 1;
    max-width: 50%;
}

.custom_post_page_wrapper .filters__wrapp form select,
.custom_post_page_wrapper .filters__wrapp form input {
    height: 53px;
    border-width: 2px !important;
    font-weight: 600 !important;
}

.custom_post_page_wrapper .filters__wrapp form input::placeholder {
    color: #c4c4c4 !important;
}

.custom_post_page_wrapper .nidra_single_right_title {
    color: white;
    font-size: 40px;
    line-height: 40px;
    font-weight: 600;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    margin-bottom: 50px;
}

.custom_post_page_wrapper .nadra_tax {
    font-size: 20px !important;
    color: black;
}

.custom_post_page_wrapper .teachers__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom_post_page_wrapper .teacher__item_details {
    z-index: -1;
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp::before {
    content: "";
    position: absolute;
    z-index: 10;
    height: 100px;
    width: 100%;
    left: 0%;
    top: 0%;
    transform: translateY(-50%) rotate(180deg);
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp::after {
    content: "";
    position: absolute;
    z-index: 10;
    height: 100px;
    width: 100%;
    left: 0%;
    bottom: 0%;
    transform: translateY(50%);
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp > div::after {
    content: "";
    position: absolute;
    z-index: 10;
    height: 100%;
    width: 100px;
    left: 0%;
    bottom: 0%;
    transform: translateX(-50%);
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp {
    position: relative;
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp img {
    position: relative;
    z-index: 5;
}

.custom_post_page_wrapper .teacher__thumbnail_wrapp::before,
.custom_post_page_wrapper .teacher__thumbnail_wrapp::after,
.custom_post_page_wrapper .teacher__thumbnail_wrapp > div::after {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.custom_post_page_wrapper .events_hero {
    margin-bottom: 50px !important;
}

.custom_post_page_wrapper {
    padding-bottom: 100px;
}

.main_teacher_info_wrapp {
    min-height: 900px;
}

.download_btn_single_nidra {
    display: flex;
    align-items: center;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    width: 40px;
}

.download_btn_single_nidra * {
    border: none !important;
}

.download_btn_single_nidra *:hover {
    color: white !important;
}

.download_btn_single_nidra button {
    border: none !important;
}

.teacher__nidra_wrapp {
    flex-direction: column;
}

.teacher__nidra_wrapp .teacher__nidra {
    font-size: 20px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 700;
}

.teacher_single_nidra_desc {
    font-size: 14px !important;
}

.single-teachers .teacher__nidra_wrapp .nidra_mejs_player_y {
    width: 100%;
    background: white;
    margin-top: 15px;
}

.single-teachers .teacher__nidra_wrapp .mejs-container {
    flex: 1;
}

.single-teachers .teacher__nidra_wrapp .mejs-container * {
    font-size: 10px !important;
}

.single-teachers .teacher__nidra_wrapp .nidra_mejs_player_y .mejs-controls {
    padding: 0 !important;
}

select.choose_state option[disabled] {
    display: none;
}

select.choose_state[disabled] {
    opacity: 0.3;
}

.single-teachers .mejs-currenttime-container {
    padding-right: 0;
    order: 2;
}

.single-teachers .mejs-currenttime-container::after {
    content: "/";
}

.single-teachers .mejs-duration-container {
    padding-left: 0;
    order: 3;
}

.single-teachers .mejs-controls {
    flex-direction: row;
}

.single-teachers .mejs-horizontal-volume-slider {
    display: none !important;
}

.single-teachers .mejs-volume-button {
    order: 5;
}

.single-teachers .mejs-time-rail {
    order: 4;
}

.single-teachers .mejs-button button {
}

.single-teachers .mejs-controls {
    border-radius: 14px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.single-teachers .mejs-container,
.nidra_mejs_player_y {
    background: transparent !important;
    border-radius: 14px !important;
}

.single-teachers .download_btn_single_nidra {
    background: #222222 !important;
}

.single-teachers .download_btn_single_nidra * {
    background: none !important;
}

.single-teachers .nidra_mejs_player_y {
    margin-top: auto !important;
}

.single-teachers .teacher__nidra_wrapp {
    flex-direction: column;
}

.single-teachers .teacher__nidra_wrapp > a {
    margin-bottom: 10px;
}

.social_media_single_teacher i {
    font-size: 26px;
}

.social_media_single_teacher {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.teacher_single_country {
    margin-top: -20px;
    margin-bottom: 0px;
    font-size: 26px;
}

.teeacher_single_catgr {
    font-size: 18px;
    margin-bottom: 20px;
}

.nidra_single_contribute_wrapp {
    /*border: 4px solid white;*/
    /*border-radius: 14px;*/
    /*padding: 20px 50px;*/
    /*margin-top: 50px;*/
    /*padding-bottom: 40px;*/
}

.nidra_single_contribute_wrapp h1,
.nidra_single_contribute_wrapp h2,
.nidra_single_contribute_wrapp h3,
.nidra_single_contribute_wrapp h4,
.nidra_single_contribute_wrapp h5 {
    color: white !important;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.nidra_single_contribute_wrapp .nidra_single_contribute_link {
    font-family: "Source Sans Pro", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    background-color: var(--e-global-color-accent);
    border-radius: 10px 10px 10px 10px;
    padding: 11px 40px 11px 40px;
    transition: all 0.3s;
}

.nidra_single_contribute_wrapp .nidra_single_contribute_link:hover {
    color: var(--e-global-color-accent);
    background-color: var(--e-global-color-primary);
}

.nidra_single_contribute {
    margin-bottom: 30px;
}

.nidra_single_contribute_link {
    text-decoration: none !important;
}

.post-type-archive-nidras .nidra_single_contribute_link {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    max-width: 100px;
    background: #a41f1b;
    border-radius: 10px;
}

p a {
    font-size: inherit !important;
}

#nidra_add > * {
    flex: 1;
    min-width: 30%;
    margin-bottom: 20px;
}

#nidra_add {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
}

#nidra_add button,
#nidra_add p,
#nidra_add textarea {
    width: 100%;
    flex: unset !important;
}

#nidra_add p {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: white;
}

.add_teacher_file {
    display: flex;
    align-items: center;
    padding: 10px;
    max-width: 150px;
}

.form_after_submit_p {
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: white;
}

.form_after_submit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_after_submit_as {
    display: flex;
    column-gap: 25px;
}

.pagination_ul {
    display: flex;
    list-style: none;
    gap: 33px;
    padding: 0 !important;
}

.pagination_item {
    color: #c4c4c4;
    cursor: pointer;
}

.pagination_item.active {
    color: #a41f1b;
    text-decoration: underline;
}

.pagination_js {
}

.pagination_legend {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
}

.pagination_js {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination_js_wrapp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 63px;
    padding-top: 29px;
    padding-bottom: 15px;
    border-radius: 10px;
    background: white;
}

.nidras__items * {
    word-break: break-word;
}

.memberpressproduct-template-default .site-header {
    justify-content: center;
}

.mepr-membership-box {
    margin: 80px 0;
}

.mepr-membership-box-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.mepr-membership-box-single {
    background: #A41F1B;
    min-width: 350px;
    padding: 25px 35px;
    text-align: center;
    color: #fff;
    position: relative;
    width: 25%;
}

.mepr-membership-box-single .box-title {
    font-size: 22px;
    text-transform: uppercase;
    padding: 10px 0 30px 0;
    border-bottom: 3px solid #EC921A;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.mepr-membership-box-single:before {
    background: url(https://yoganidra.mystagingwebsite.com/wp-content/uploads/2022/05/edge-red-v2.svg);
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-repeat: repeat-x;
    z-index: 9;
    top: -2px;
}

.mepr-membership-box-single:after {
    background: url(https://yoganidra.mystagingwebsite.com/wp-content/uploads/2022/05/edge-red-v2.svg);
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-repeat: repeat-x;
    z-index: 9;
    bottom: -5px;
}

.mepr-membership-box-single .mepr-price {
    display: flex;
    flex-direction: column;
    font-size: 44px;
    line-height: 40px;
}

.mepr-membership-box-single .mepr-price span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    text-transform: uppercase;
}

.mepr-membership-box-single ul {
    padding: 0;
    margin: 20px 0 40px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mepr-membership-box-single a {
    display: block;
    background: #EC921A;
    color: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    max-width: 200px;
    margin: auto;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
}

.mepr-membership-box-single ul li {
    font-size: 16px;
}

.mp_wrapper.mp_login_form {
    max-width: 400px;
    margin: auto;
    position: relative;
    background: #A41F1B;
    padding: 25px;
    margin-bottom: 60px;
}

.mp_wrapper form .mp-form-label, .mp_wrapper form label {
    color: #fff;
    margin-bottom: 5px;
}

.mp_wrapper form .mp-form-row {
    margin-bottom: 10px;
}

button.button.mp-hide-pw.hide-if-no-js {
    display: none;
}

.mp_wrapper form .button-primary {
    display: block;
    background: #EC921A;
    color: #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    max-width: 200px;
    margin: auto;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    width: 100%;
}

.mepr_error {
    max-width: 400px;
    margin: auto;
    position: relative;
}

.mepr-login-actions {
    color: #fff;
    text-align: center;
}

.mepr-login-actions a {
    color: #fff;
    text-align: center;
}

.woocommerce-MyAccount-content .mepr_page_header {
    font-size: 1.75rem;
    font-family: "Source Sans Pro", sans-serif;
    color: #000;
    font-weight: 400;
}

table#mepr-account-payments-table thead tr th:last-child {
    display: none;
}

.mepr_pro_error svg {
    stroke: #ff0000;
}

.mepr_pro_error {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #ff0000;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.mepr_pro_error ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

svg.mepr-tooltip-trigger {
    display: none;
}

.mfp-hide {
    display: none;
}


.woocommerce-MyAccount-navigation ul {
    list-style: none;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
}

nav.woocommerce-MyAccount-navigation ul li {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

nav.woocommerce-MyAccount-navigation ul li a {
    color: #000;
}

nav.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

nav.woocommerce-MyAccount-navigation ul li.is-active {
    background: #A41F1B;
}

nav.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #fff;
}


nav.woocommerce-MyAccount-navigation {
    margin-bottom: 40px;
}

div#mailchimp-gdpr-fields label.woocommerce-form__label.woocommerce-form__label-for-checkbox.inline span {
    padding-left: 8px;
}


@media (max-width: 1150px) {
    .custom_post_page_wrapper .teachers__hero {
        /*height: 450px;*/
        /*margin-bottom: -330px;*/
    }

    .custom_post_page_wrapper .archive_cp_items_wrapp {
        grid-template-columns: repeat(3, 1fr);
    }

    .custom_post_page_wrapper .teachers__item img {
        height: 250px;
    }

    .custom_post_page_wrapper .teacher__item_details {
        margin-top: -137px;
        padding-top: 160px;
    }

    .custom_post_page_wrapper .teachers__title {
        font-size: 21px;
    }
}

@media (max-width: 768px) {


    .mp_wrapper.mepr-payments-wrapper.table-responsive {
        overflow-x: scroll;
    }

    .custom_post_page_wrapper .teachers__hero {
        /*height: 300px;*/
        padding: 30px 20px;
        /*margin-bottom: -150px;*/
    }

    .custom_post_page_wrapper .teachers__additional_info {
        padding: 25px 20px;
    }

    .custom_post_page_wrapper .teachers__page-title {
        font-size: 40px;
        line-height: 46.2px;
        position: relative;
        z-index: 1;
        margin-bottom: 5px;
    }

    .custom_post_page_wrapper .archive_cp_items_wrapp {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 10px;
    }

    .custom_post_page_wrapper .teachers__item img {
        height: 250px;
    }

    .custom_post_page_wrapper .teacher__item_details {
        margin-top: -137px;
        padding-top: 160px;
    }
}

@media (max-width: 500px) {
    .custom_post_page_wrapper .archive_cp_items_wrapp {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom_post_page_wrapper .teachers__item img {
        height: 200px;
    }

    .custom_post_page_wrapper .teacher__item_details {
        margin-top: -115px;
        padding-top: 115px;
    }

    .custom_post_page_wrapper .teachers__title {
        margin-top: 0;
        font-size: 20px;
        line-height: 20px;
        word-break: break-word;
    }

    .custom_post_page_wrapper .teachers__additional_info > p {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 768px) {
    .custom_post_page_wrapper #teachers_filter_archive,
    .custom_post_page_wrapper #events_filters {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .custom_post_page_wrapper #teachers_filter_archive select,
    .custom_post_page_wrapper #events_filters select,
    .custom_post_page_wrapper #teachers_filter_archive input,
    .custom_post_page_wrapper #events_filters input {
        flex: 1;
        min-width: 20%;
    }

    .custom_post_page_wrapper #teachers_filter_archive,
    .custom_post_page_wrapper #events_filters {
        background: white;
        padding: 20px 20px;
        border-radius: 14px;
    }
}

@media (max-width: 600px) {
    .custom_post_page_wrapper #teachers_filter_archive .filter_form_input_text,
    .custom_post_page_wrapper #events_filters .filter_form_input_text {
        width: 100%;
        flex: unset;
    }

    .custom_post_page_wrapper #teachers_filter_archive select,
    .custom_post_page_wrapper #events_filters select,
    .custom_post_page_wrapper #teachers_filter_archive input,
    .custom_post_page_wrapper #events_filters input {
        flex: 1;
        min-width: 30%;
    }
}

@media (max-width: 768px) {
    .post-type-archive-nidras .custom_post_page_wrapper .archive_cp_items_wrapp {
        grid-column-gap: 10px;
    }

    .post-type-archive-nidras .custom_post_page_wrapper .teachers__title {
        font-size: 18px;
    }

    .custom_post_page_wrapper .nidras__items .teachers__item {
        padding: 20px 10px;
    }
}

@media (max-width: 1150px) {
    .custom_post_page_wrapper .teacher__thumbnail_wrapp {
        float: right;
        margin-left: 50px;
        margin-bottom: 50px;
        width: 50%;
    }

    .custom_post_page_wrapper .teacher__nidras_items_wrapp {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .custom_post_page_wrapper .teacher__thumbnail_wrapp {
        float: unset;
        margin-left: 0px;
        margin-bottom: 50px;
        width: 100%;
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp img {
        width: 100%;
    }

    .custom_post_page_wrapper .archive_cp_items_wrapp {
        grid-column-gap: 15px;
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp > div::before {
        content: "";
        position: absolute;
        z-index: 10;
        height: 100%;
        width: 30px;
        right: 0%;
        bottom: 0%;
        transform: translateX(50%) rotate(180deg);
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp > div {
        max-height: 400px;
        display: flex;
        justify-content: center;
    }

    .custom_post_page_wrapper .main_teacher_info_wrapp {
        padding-top: 50px;
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp::after {
        height: 30px;
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp::before,
    .custom_post_page_wrapper .teacher__thumbnail_wrapp > div::after {
        height: 30px;
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp > div::after,
    .custom_post_page_wrapper .teacher__thumbnail_wrapp > div::before {
        display: none;
    }

    .custom_post_page_wrapper .teacher__nidras .section__title {
        font-size: 38px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .custom_post_page_wrapper .teacher__nidras {
        margin-top: 20px;
    }

    .custom_post_page_wrapper .teacher__nidras_items_wrapp {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .custom_post_page_wrapper .teacher_single_title h1 {
        font-size: 38px;
    }

    .custom_post_page_wrapper .main_teacher_info_wrapp {
        padding-top: 20px;
    }

    .custom_post_page_wrapper .teacher__thumbnail_wrapp {
        margin-bottom: 0px;
    }

    .teacher_single_country {
        font-size: 20px;
    }

    .teacher_content p {
        font-size: 16px;
        line-height: 20px;
    }

    .custom_post_page_wrapper .teacher__nidras_items_wrapp {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 1150px) {
    .custom_post_page_wrapper .nidra_single_left {
        max-width: 50%;
        flex: unset;
    }

    .custom_post_page_wrapper .nidra_single_right {
        max-width: unset;
        flex: unset;
    }

    .custom_post_page_wrapper .nidra_all_wrapp {
        display: flex;
        column-gap: 50px;
    }
}

@media (max-width: 768px) {
    .custom_post_page_wrapper .nidra_all_wrapp {
        flex-direction: column-reverse;
    }

    .custom_post_page_wrapper .nidra_single_left {
        max-width: 100%;
        flex: unset;
    }

    .nidra_single_contribute_wrapp {
        padding: 20px !important;
        padding-bottom: 40px !important;
    }

    .custom_post_page_wrapper .nidra_single_right_title {
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 32px;
    }

    .custom_post_page_wrapper .nadra_tax,
    .single__nidra_author {
        font-size: 16px !important;
        margin-bottom: 0;
    }
}

.pagination_js_wrapp {
    position: relative;
}

.custom_pagination_prev,
.custom_pagination_next {
    position: absolute;
    top: 36px;
    height: 21px;
    width: auto;
    cursor: pointer;
}

.custom_pagination_prev {
    left: 20px;
    transform: rotate(180deg);
}

.custom_pagination_next {
    right: 20px;
    transform: translateY(-2px);
}

.breadcrumbs_wrapp a {
    font-size: inherit;
    color: #a41f1b;
    text-decoration: underline;
}

.custom_post_page_wrapper .breadcrumbs_wrapp a {
    font-size: inherit !important;
    color: #a41f1b !important;
    text-decoration: underline;
}

@media (max-width: 500px) {
    .breadcrumbs_wrapp {
        margin-top: 10px;
        font-size: 17px;
    }

    .custom_post_page_wrapper .breadcrumbs_wrapp a {
        font-size: 17px;
    }
}

@media (max-width: 500px) {
    .pagination_js_wrapp {
        padding: 0 63px;
        padding-top: 29px;
        padding-bottom: 15px;
    }

    .pagination_ul {
        gap: 20px;
    }
}

@media (max-width: 1330px) {
    .post-type-archive-nidras .custom_post_page_wrapper #teachers_filter_archive,
    .post-type-archive-nidras .custom_post_page_wrapper #events_filters {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .post-type-archive-nidras
    .custom_post_page_wrapper
    #teachers_filter_archive
    > *,
    .post-type-archive-nidras .custom_post_page_wrapper #events_filters > * {
        min-width: 30%;
    }

    .post-type-archive-nidras
    .custom_post_page_wrapper
    #teachers_filter_archive
    > button,
    .post-type-archive-nidras .custom_post_page_wrapper #events_filters > button {
        min-width: unset;
    }

    .post-type-archive-nidras
    .custom_post_page_wrapper
    #teachers_filter_archive
    > #clear_filters,
    .post-type-archive-nidras
    .custom_post_page_wrapper
    #events_filters
    > #clear_filters {
        min-width: unset;
    }
}

.custom_post_page_wrapper .teachers__hero.evvents_hero_wrapp {
    margin-bottom: 30px !important;
    display: flex;
    justify-content: center !important;
    align-items: center;
    height: 350px;
}

.teachers__image-wrapp {
    height: 0;
    position: relative;
    padding-bottom: 100%;
}

.teachers__image-wrapp img {
    height: 100% !important;
    position: absolute;
    width: 100% !important;
}

.teacher__item_details {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

.teachers__image-wrapp {
    position: relative;
}

.teachers__image-wrapp::before,
.teachers__image-wrapp::after {
    height: 50%;
    width: 100%;
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
}

.teachers__image-wrapp img {
    z-index: 2;
}

.teachers__image-wrapp::before {
    background: #a41f1b;
    bottom: 0;
}

.custom_post_page_wrapper .teachers__item .no-avvatar-teacher-img {
    height: 100% !important;
    position: absolute;
    width: 100% !important;
    border-radius: 50%;
    background: #a41f1b;
}

.archive_events_book_link {
    white-space: nowrap;
    margin-left: 50px;
}

.courses_archive_exceprt {
    font-size: 16px;
}

.event_info_left_section {
    background: #a41f1b;
    color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.event_info_left_section a {
    text-decoration: underline;
    color: white !important;
}

.event_info_left_section_title {
    font-size: 34px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    margin-bottom: 20px;
}

.event_info_left_section_title:last-child {
    margin-bottom: 0;
}

.event_info_left_section_content {
    font-size: 18px;
}

.event_info_wrapp {
    display: flex;
    align-items: flex-start;
}

.event_info_left {
    flex: 1;
}

.event_info_wrapp_right {
    width: 300px;
    margin-left: 40px;
    border-radius: 10px;
    position: sticky;
    top: 40px;
}

.event_info_wrapp_right_block_title {
    color: #a41f1b;
    font-size: 24px;
    margin-bottom: 20px;
}

.single_course_single_author {
    padding-bottom: 0px;
}

.single_aut_course {
    max-height: 150px;
    width: auto;
    object-fit: cover;
    margin: auto;
    border-radius: 2px;
    display: flex;
    margin-bottom: 5px;
}

.single_course_single_author {
    margin-bottom: 20px;
    text-align: left;
}

.event_info_wrapp_right_block {
    padding: 20px;
    background: white;
    margin-bottom: 20px;
    border-radius: 10px;
}

.event_info_wrapp_right_block_title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    margin-bottom: 0;
}

.event_info_wrapp_right_block_content {
    font-size: 18px;
}

.single-courses .custom_post_page_wrapper .teachers__hero {
    height: 400px;
}

.blog .archive_events_book img {
    width: 100%;
    height: 200px;
    border-radius: 2px;
    object-fit: contain;
    background: transparent;
    margin-bottom: 10px;
}

.blog .archive_events_book {
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 50px;
}

.blog .archive_events_book_link {
    margin: 0;
}

.archive_events_book_link {
    transition: all 0.3s ease;
    border: white 2px solid;
}

.archive_events_book_link:hover {
    background: #a41f1b;
    color: white;
}

.blog .archive_events_book_link {
    padding: 10px 20px !important;
    display: block;
}

.blog .archive_cp_items_wrapp {
    display: block;
}

.blog .courses_archive__title {
    margin-bottom: 0px;
}

.blog .courses_archive_exceprt,
.blog .event_date {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .blog .courses_archive__item {
        flex-direction: column;
        row-gap: 30px;
        padding: 20px !important;
        padding-bottom: 30px !important;
    }

    .blog .archive_events_book {
        margin-left: 0;
    }
}

.blog .event_archive_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.additional_files_wrapp p {
    font-size: 34px;
    margin-top: 30px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: #fff;
}

.additional_files_wrapp a {
    font-size: 18px;
    display: block;
    margin-top: 10px;
    text-decoration: underline;
}

.single_course_title_teacher {
    margin-bottom: 0;
    font-size: 16px;
    text-decoration: underline;
}

.single-post.single .custom_post_page_wrapper .container {
    width: 1200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.additional_files_wrapp {
    border: 6px solid #fff;
    padding: 25px 50px;
    display: inline-block;
    flex-direction: column;
    border-radius: 14px;
}

.additional_files_wrapp p {
    margin-top: 0;
}

.additional_files_wrapp a {
    color: white !important;
}

.post-type-archive-teachers .nidra_single_contribute_link {
    display: flex;
    justify-content: center;
    padding: 10px 40px !important;
    max-width: 150px;
    background: #a41f1b;
    border-radius: 10px;
}

option.disabled-true {
    display: none;
}

.blog .needed_content_area,
.single-post .needed_content_area {
    display: none;
}

.event_info_left_section:last-child,
.event_info_wrapp_right_block:last-child,
.single_course_single_author:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .post-type-archive-courses .custom_post_page_wrapper .courses_archive__item {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .post-type-archive-courses
    .custom_post_page_wrapper
    .archive_events_book_link {
        margin-left: 0;
        display: block;
        margin: 20px 0;
        margin-bottom: 0;
        padding: 10px 20px;
        font-size: 16px !important;
    }

    .post-type-archive-courses .event_date {
        font-size: 16px;
    }

    .post-type-archive-courses .custom_post_page_wrapper .courses_archive__title {
        font-size: 24px !important;
        line-height: 28px;
        margin-bottom: 20px;
    }

    .post-type-archive-courses
    .custom_post_page_wrapper
    .events_month_separator
    span {
        font-size: 16px;
    }

    .post-type-archive-courses .events_month_separator {
        margin-bottom: 10px !important;
    }

    .custom_post_page_wrapper #teachers_filter,
    .custom_post_page_wrapper #events_filters {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .event_info_wrapp {
        flex-direction: column-reverse;
    }

    .event_info_wrapp_right {
        width: 100%;
        margin-left: 0px;
        border-radius: 10px;
        position: relative;
        top: unset;
        margin-bottom: 20px;
    }

    .event_info_wrapp_right_block {
        padding: 10px 20px;
    }

    .event_info_left_section {
        padding: 20px 20px;
    }

    .event_info_left_section_title {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 28px;
    }

    .event_info_left_section_content {
        font-size: 16px;
    }

    .custom_post_page_wrapper .single_event_add_to_cart_link {
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    #nidra_add {
        flex-direction: column;
    }

    #teacher_add {
        flex-direction: column;
        gap: 20px;
    }

    #teacher_add select {
        min-height: 42px !important;
    }
}

.event_info_left_section a {
    word-break: break-all
}

.latest_supps {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 0px;
}

#map {
    height: 500px;
}

.add_form_instructions {
    background: #a41f1b;
    color: white;
    max-width: 800px;
    text-align: center;
    padding: 25px 10px;
    border-radius: 14px;
    margin: auto;
    margin-top: -20px;
    margin-bottom: 40px;
}

.archive_nidra_author {
    text-decoration: underline;
    font-size: 16px;
}

.favourite_nidras_section_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 40px;
    padding-bottom: 30px;
    text-align: center;
}

.favourite_nidras_section_items a > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%;
    background-color: #a41f1b;
}

.favourite_nidras_section_title {
    font-size: 28px;
    color: white;
    text-decoration: underline;
}

.favourite_nidras_sections {
    margin-bottom: 40px;
}

body.page-id-6539 .elementor-6539 .elementor-element.elementor-element-59ca1af .elementor-posts-container .elementor-post__thumbnail {
    padding-bottom: unset;
}

body.page-id-6539 .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail.elementor-fit-height img {
    width: 100% !important;
    height: auto !important;;
    position: relative !important;;
    transform: none !important;;
    left: 0 !important;;
    top: 0 !important;;
}

body.page-id-6539 .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
    width: 100% !important;
    height: auto !important;;
    position: relative !important;;
    transform: none !important;;
    left: 0 !important;;
    top: 0 !important;;
}

body.page-id-6539 .elementor-posts .elementor-post__card {
    min-height: unset;
}

body.page-id-6539 .elementor-6539 .elementor-element.elementor-element-9f1c917 .elementor-posts-container .elementor-post__thumbnail {
    padding-bottom: 0;
}

/* body.page-id-6539 .elementor-post.elementor-grid-item a{
  cursor: default;
} */
#nidra_lang_new {
    display: none;
}

#nidra_lang_new {
    padding: .5rem 1rem;
}

.chosen-container.chosen-container-multi {
    flex: 1;
    width: unset !important;
}

.chosen-choices {
    background: white;
    border-radius: 12px;
    border: 1px solid #a41f1b !important;;
    outline: none;
    color: #a41f1b;
    padding: .4rem 1rem !important;
    font-size: 1rem;
    line-height: 1.5;
}

.active-result.highlighted {
    background: #a41f1b !important;
}


body.search-results {
    background: #ec921a;
}

body.search-results .teachers__item {
    border-radius: 14px;
    color: white;
}

body.search-results .teachers__title {
    margin-bottom: 10px;
}

body.search-results .archive__nidras_taxes {
    margin-bottom: 0;
    font-size: 14px;
}

.archive__nidras_taxes {
    margin-bottom: 0;
}

.favourite_nidras_section_items {
    grid-row-gap: 30px;
}

@media (max-width: 1150px) {
    .favourite_nidras_section_items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .favourite_nidras_section_items {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
    }

    .favourite_nidras_section_items {
        grid-template-columns: repeat(2, 1fr);
    }

    body.search-results .archive__nidras_taxes {
        margin-bottom: 0;
        font-size: 14px;
    }

    .teachers__title {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .favourite_nidras_section_items {
        grid-template-columns: repeat(1, 1fr);
    }
}

body.search-results .container {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.favourite_nidras_section--teachers .teachers__title {
    margin-bottom: 0 !important;
}

.favourite_nidras_section--courses .favourite_nidras_section_items {
    display: block;
}

.favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__item {
    background: #a41f1b;
    color: white;
    padding: 25px 50px;
    margin-bottom: 30px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__title {
    font-size: 28px;
    font-weight: bold;
}

.favourite_nidras_section--courses .favourite_nidras_section_items .archive_events_book_link {
    font-size: 20px !important;
    background-color: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 5px 20px 5px #00000044;
}

.favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__item * {
    text-align: left
}

@media (max-width: 768px) {
    .favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__item {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__item
    .archive_events_book_link {
        margin-left: 0;
        display: block;
        margin: 20px 0;
        margin-bottom: 0;
        padding: 10px 20px;
        font-size: 16px !important;
    }

    .favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__item .event_date {
        font-size: 16px;
    }

    .favourite_nidras_section--courses .favourite_nidras_section_items .courses_archive__item .courses_archive__title {
        font-size: 24px !important;
        line-height: 28px;
        margin-bottom: 20px;
    }
}

.no_found_search {
    text-align: left !important;
}

.favourite_nidras_section--news .archive_events_book img {
    width: 100%;
    height: 200px;
    border-radius: 2px;
    object-fit: contain;
    background: transparent;
    margin-bottom: 10px;
}

.favourite_nidras_section--news .archive_events_book {
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 50px;
}

.favourite_nidras_section--news .archive_events_book_link {
    margin: 0;
}

.favourite_nidras_section--news .archive_events_book_link {
    padding: 10px 20px !important;
    display: block;
}

.favourite_nidras_section--news .event_archive_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.favourite_nidras_section--news .courses_archive_exceprt, .favourite_nidras_section--news .event_date {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .favourite_nidras_section--news .courses_archive__item {
        flex-direction: column;
        row-gap: 30px;
        padding: 20px !important;
        padding-bottom: 20px;
        padding-bottom: 30px !important;
    }
}

#search_form_container {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 999999999;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0000003f;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

#search_form_container.active {
    opacity: 1;
    pointer-events: all;
}

.elementor-search-form__container {
    min-height: unset !important;
    margin-right: 20px;
}

.elementor-search-form__input {
    font-size: 14px !important;
    padding: 5px 10px !important;
    width: 150px !important;
}

.elementor-3962 .elementor-element.elementor-element-e38c09c.elementor-column > .elementor-widget-wrap {
    align-items: center;
}

.elementor-search-form__container .fas.fa-search {
    font-size: 14px !important;
}

.elementor-search-form__submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    min-width: unset !important;
}

@media (max-width: 500px) {
    .elementor-search-form__input {
        font-size: 14px !important;
        padding: 5px 10px !important;
        width: 80px !important;
    }
}

.pagenav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    grid-gap: 20px;
    padding: 0;
}

.pagenav {
    color: transparent
}

.favourite_nidras_section.favourite_nidras_section--pages .favourite_nidras_section_items {
    display: block !important;
}

.pagenav ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%;
    background-color: #a41f1b;
    color: white;
    border-radius: 14px;
    color: white;
}

.pagenav ul li * {
    color: white;
}

.posts-widget .single-post {
    margin-bottom: 40px;
}

.posts-widget .single-post-inside {
    background-color: var(--e-global-color-9653291);
    border-radius: 10px;
}

.posts-widget .single-post-inside img {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    transform: none !important;
    left: 0 !important;
    top: 0 !important;
}

.posts-widget .single-post-content .single-post-title {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    cursor: default;
}

.posts-widget .single-post-content {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-91d10b8-font-family), Sans-serif;
    font-size: var(--e-global-typography-91d10b8-font-size);
    line-height: var(--e-global-typography-91d10b8-line-height);
    letter-spacing: var(--e-global-typography-91d10b8-letter-spacing);
    word-spacing: var(--e-global-typography-91d10b8-word-spacing);
    padding: 0 30px;
}

.posts-widget .single-post-content a,
.posts-widget .single-post-content h3 {
    color: var(--e-global-color-primary);
}

.posts-widget .single-post-content .single-post-desc {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-91d10b8-font-family), Sans-serif;
    font-size: var(--e-global-typography-91d10b8-font-size);

    margin-top: 10px;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
}

.posts-widget .single-post-content .read-more-btn {
    text-align: right;
}

.posts-widget .single-post-content .read-more-btn a {
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

.custom_post_page_wrapper .add_teacher_form .newOrEdit {
    min-width: 100%;
}

.custom_post_page_wrapper .add_teacher_form .newOrEdit #isNewOrEdit {
    min-width: 1%;
}

.home .elementor-element-26b6678 ul li {
    padding-bottom: 1px;
}

.add_teacher_social_medias label {
    font-size: 12px;
}

.newOrEdit #isNewOrEdit1,
.newOrEdit #isNewOrEdit2 {
    min-width: 1%;
}