/*
Theme Name: Hello Elementor Child
Description: Child theme for Hello Elementor
Author: DEA
Template: hello-elementor
Version: 1.1.3
*/

/* Custom CSS below */

#mepr_signup_form button.button.mp-hide-pw.hide-if-no-js {position: absolute;background-color: transparent;}
#mepr_signup_form input#mepr_firts_name1, #mepr_last_name1, #mepr_preferred_name1, #mepr_mobile1, #mepr_work_phone1, #mepr_postal_address1, #mepr_emailwork1, #mepr_emailother1, #user_email1, #mepr_user_password1, #mepr_user_password_confirm1 {width: 100%;border-bottom: 3px solid #5c33cf !important;background: #eeeeee61;border: none;}
#mepr_signup_form #mepr_what_is_your_current_role_within_your_organisation1, #mepr_how_long_have_you_worked_in_the_sector1, #mepr_do_you_have_any_accessibility_requirements1 {background-color: #5c33cf;padding: 0 15px !important;height: 50px;color: #fff;}
#mepr_signup_form .mepr-transaction-invoice-wrapper{display:none;}
.iti.iti--allow-dropdown.iti--separate-dial-code {width: 100%;}
#mepr_signup_form select#mepr_your_dietary_requirements_for_in_person_courses1 {height: 100px;border-bottom: 3px solid #5c33cf !important;}
#mepr_signup_form textarea {height: 150px;border-bottom: 3px solid #5c33cf !important;background: #eeeeee61;border: none;}
input.mepr-submit {background: url(https://dea.emdev.au/wp-content/uploads/2024/05/Group-2890.svg) no-repeat;position: relative;background-color: #2e336b;background-position: calc(100% - 20px) center;}
#mepr_signup_form #mepr_what_is_your_current_role_within_your_organisation1, #mepr_how_long_have_you_worked_in_the_sector1, #mepr_do_you_have_any_accessibility_requirements1{
    background-image: url(https://dea.emdev.au/wp-content/uploads/2024/05/Group-3664.png) !important;background-size: 16.23px 12.09px !important;background-color: #5c33cf !important;
    color: #fff !important;}
#mepr_signup_form .mp-form-row {margin-bottom: 25px;}
.dashicons, .dashicons-before:before {line-height: .5;}
#mepr_signup_form .mepr_email .mp-form-label {margin-top: 20px;}
.mp-form-row.mepr_email::before {content: 'LOGIN DETAILS';text-transform: uppercase;text-decoration: underline;font-size: 24px;color: #2E336B;font-family: "TT Rounds Neue", Sans-serif;font-weight: 600;}
#mepr_signup_form .mepr_email{margin-top: 50px;}
#mepr_signup_form input[type=text], #mepr_signup_form input[type=email], #mepr_signup_form input[type=tel] {width: 100%;border-bottom: 3px solid #5c33cf !important;background: #eeeeee61;border: none;}
.mp-form-row.mepr_mepr_admin_contact_name::before {content: 'ADDITIONAL CONTACT DETAILS';text-transform: uppercase;text-decoration: underline;font-size: 24px;color: #2E336B;font-family: "TT Rounds Neue", Sans-serif;font-weight: 600;}
.mp-form-row.mepr_mepr_admin_contact_name{margin-top: 50px;}
#mepr_signup_form .mepr_mepr_admin_contact_name .mp-form-label {margin-top: 20px;}
#mepr_signup_form .mp-form-submit input.mepr-submit{padding: 20px 40px;text-align: left;left: 0;}
.page-id-8569 .eael-adv-accordion .eael-accordion-list .eael-accordion-content {color: #2e336b !important;}


.mepr-account-change-password{
	display:none
}
.mepr-nav-item.mepr-courses.mepr-courses{
	display:none;
}
.mepr-subscriptions-wrapper .mepr-tooltip-trigger, .mepr-subscriptions-wrapper .mepr-tooltip-content{
	display:none;
}
.mp_wrapper{
	font-family:"Poppins", Sans-serif !important;
}
table#mepr-account-payments-table {
	font-size:12px !important;
}
.btn.mepr-pro-account-table__badge{
	font-size:10px !important;
}
.corporate_iframe{
	height:1210px;
}

.buddypress.buddypress-template-default .mepr-pro-account-table{ 
	border-spacing:0px;
}

.buddypress.buddypress-template-default.mp-membership.mp-payments #mepr-account-payments-table thead tr th:last{
	display:none !important;
}


/*************/
.leftSIdePenal .elementor-widget-image,
.rightSIdePenal .elementor-widget-image {
    height: 100%;
}
.leftSIdePenal img {
    position: absolute;
    left: -50px;
    width: 120px;
    max-width: unset !important;
    top: 40%;
    transform: translateY(-50%);
}
.rightSIdePenal img {
    position: absolute;
    right: -50px;
    width: 120px;
    max-width: unset !important;
    top: 40%;
    transform: translateY(-50%);
}

.mp-form-row.mepr_password  button.button {
    background-color: #2E336B !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
}
.mp-form-row.mepr_password .button.mp-hide-pw .dashicons {
	line-height: unset !important;
}
#mepr_loginform label {
    color: #2e336b !important;
}
.mepr-login-actions {
	padding-right: 50px;
}
@media (min-width:7689px) and (max-width:1024px){
    .corporate_iframe{
		height:1240px;
}	
}

/*************************/
@media only screen and (max-width: 767px) {
.corporate_iframe{
	height:1400px;
}	
	
	#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items>li, #buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items>li {
		display: inline-block;
		margin: 2px 0;
	}
	#buddypress {
		padding: 0 15px 8% 15px;
	}	
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
/*table#mepr-account-payments-table tr th:last-child {
    display: none
}*/
tr td[data-label="Date"] {
    min-width: 116px;
}
table#mepr-account-payments-table {
    margin-bottom: 50px;
}


div#mepr-account-nav{
    display: none !important;
}

.mp_wrapper {
    max-width: 760px !important;
    margin: 40px auto !important;
}

input#wp-submit.button-primary.mepr-share-button {
    background: #2e336c !important;
}

/* ==========================================================================
   GRAVITY FORMS - DEA STYLED
   ========================================================================== */

.gform_wrapper.gform-theme--orbital {
    font-family: "Poppins", Sans-serif !important;
}

.gform_wrapper .gform_title {
    color: #2E336B;
    font-family: "TT Rounds Neue", Sans-serif;
    font-weight: 600;
}

.gform_wrapper .gfield_label {
    color: #2E336B !important;
    font-weight: 500;
}

/* Text inputs, email, url, tel, textarea */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea {
    width: 100%;
    border: none !important;
    border-bottom: 3px solid #5c33cf !important;
    background: #eeeeee61 !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
    font-family: "Poppins", Sans-serif !important;
    color: #2E336B !important;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper textarea:focus {
    outline: none !important;
    border-bottom-color: #2E336B !important;
    box-shadow: none !important;
}

.gform_wrapper textarea {
    min-height: 150px;
}

/* Select dropdowns */
.gform_wrapper select {
    background-color: #5c33cf !important;
    padding: 0 15px !important;
    height: 50px;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Radio buttons and checkboxes */
.gform_wrapper .gfield_radio .gchoice,
.gform_wrapper .gfield_checkbox .gchoice {
    margin-bottom: 10px;
}

.gform_wrapper .gfield_radio .gchoice label,
.gform_wrapper .gfield_checkbox .gchoice label {
    color: #2E336B;
    font-family: "Poppins", Sans-serif;
}

.gform_wrapper .gfield-choice-input[type="radio"],
.gform_wrapper .gfield-choice-input[type="checkbox"] {
    accent-color: #5c33cf;
}

/* Submit button */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
    background: url(https://dea.emdev.au/wp-content/uploads/2024/05/Group-2890.svg) no-repeat !important;
    background-color: #2e336b !important;
    background-position: calc(100% - 20px) center !important;
    color: #fff !important;
    padding: 20px 60px 20px 40px !important;
    border: none !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    font-family: "Poppins", Sans-serif !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
    background-color: #5c33cf !important;
}

/* Field spacing */
.gform_wrapper .gfield {
    margin-bottom: 25px !important;
}

/* Required asterisk */
.gform_wrapper .gfield_required_asterisk {
    color: #5c33cf !important;
}

/* Validation errors */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea {
    border-bottom-color: #c02b0a !important;
}

.gform_wrapper .gfield_error .gfield_label {
    color: #c02b0a !important;
}

/* =====================================================
   WooCommerce Checkout & Order Pages
   ===================================================== */
.wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
    margin: 40px auto 100px;
    max-width: 960px;
}

.woocommerce-checkout .page-header {
    display: none;
}

.woocommerce-order {
    margin: 40px auto 100px;
    max-width: 960px;
}

/* =====================================================
   TEC Subscribe Dropdown - Hide
   ===================================================== */
.tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

/* =====================================================
   Buddy Press 
   ===================================================== */

.bp_members .page-header {
    display: none;
}

.bp_members div#item-header {
    display: none;
}

/* =====================================================
   WooCommerce Order Details & Checkout Cleanup
   ===================================================== */

/* Hide product images in checkout order summary */
.wc-block-components-order-summary-item__image {
    display: none !important;
}

/* TEC event details spacing in order tables */
.woocommerce-table.order_details .tribe-event-details {
    margin: 12px 0;
}

/* Remove borders from order details table */
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details{
		border-radius: 0px !important;
}
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details * {
    border: none !important;
}

/* =====================================================
   DEA WooCommerce Orders - Clean Styling
   Purple: #5C33CF
   ===================================================== */

/* Hide duplicate page headers */
.woocommerce-account .page-header,
.woocommerce-view-order .page-header {
    display: none !important;
}

/* =====================================================
   Orders List Page (My Account)
   ===================================================== */

.dea-orders-title {
    color: #5C33CF !important;
    font-family: "Poppins", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-top: 40px;
}

.dea-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Poppins", Sans-serif;
    background: #fff;
}

.dea-orders-table thead tr {
    background: #f8f8f8;
}

.dea-orders-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #2E336B;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.dea-orders-table tbody tr {
    border-bottom: 1px solid #e8e8e8;
}

.dea-orders-table tbody td,
.dea-orders-table tbody th {
    padding: 20px;
    vertical-align: middle;
    color: #333;
    font-size: 14px;
    background: #fff;
}

.dea-order-number {
    color: #5C33CF !important;
    font-weight: 600;
    text-decoration: none;
}

.dea-order-number:hover {
    text-decoration: underline;
}

.dea-orders-table .woocommerce-orders-table__cell-order-products a {
    color: #5C33CF !important;
    text-decoration: none;
}

.dea-orders-table .woocommerce-orders-table__cell-order-products a:hover {
    text-decoration: underline;
}

.dea-action-link.view {
    color: #5C33CF !important;
    text-decoration: none;
    font-weight: 500;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.dea-action-link.view:hover {
    text-decoration: underline;
}

/* =====================================================
   View Order Page
   ===================================================== */

h1.dea-order-title {
    color: #2E336B !important;
    font-family: "Poppins", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-top: 40px;
}

.dea-order-meta {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    color: #333;
    margin-bottom: 32px;
}

.dea-order-meta strong {
    color: #2E336B;
}

.dea-section-title,
h2.woocommerce-order-details__title {
    color: #2E336B !important;
    font-family: "Poppins", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 24px 0 16px 0;
}

/* =====================================================
   Order Details Table - Match Orders List Style
   ===================================================== */

.woocommerce-order-details .shop_table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Poppins", Sans-serif;
    background: #fff !important;
}

.woocommerce-order-details .shop_table thead tr {
    background: #f8f8f8 !important;
}

.woocommerce-order-details .shop_table thead th {
    padding: 16px 20px !important;
    text-align: left;
    font-weight: 600;
    color: #2E336B !important;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0 !important;
    background: #f8f8f8 !important;
}

.woocommerce-order-details .shop_table tbody tr {
    border-bottom: 1px solid #e8e8e8 !important;
}

.woocommerce-order-details .shop_table tbody td {
    padding: 20px !important;
    vertical-align: top;
    color: #333;
    font-size: 14px;
    background: #fff !important;
}

.woocommerce-order-details .shop_table tfoot th,
.woocommerce-order-details .shop_table tfoot td {
    padding: 12px 20px !important;
    color: #333;
    font-size: 14px;
    background: #fff !important;
}

.woocommerce-order-details .product-name a {
    color: #5C33CF !important;
    text-decoration: none;
}

.woocommerce-order-details .product-name a:hover {
    text-decoration: underline;
}

/* =====================================================
   TEC Ticket/Event Details in Orders
   ===================================================== */

/* Event link */
.woocommerce-order-details a[href*="/event/"] {
    color: #5C33CF !important;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-order-details a[href*="/event/"]:hover {
    text-decoration: underline;
}

/* Attendee meta table - clean styling */
table.tribe-attendee-meta {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 26px !important;
    background: #f8f8f8 !important;
    border-radius: 4px;
}

table.tribe-attendee-meta td {
    padding: 16px !important;
    border-bottom: 1px solid #eee !important;
    font-size: 14px;
    background: transparent !important;
}

table.tribe-attendee-meta tr:last-child td {
    border-bottom: none !important;
}

table.tribe-attendee-meta td:first-child {
    font-weight: 500;
    color: #666;
    width: 40%;
}

/* Force white backgrounds on all order details cells */
.woocommerce-order-details .shop_table td.product-name,
.woocommerce-order-details .shop_table td,
.woocommerce-order-details td,
.woocommerce table.shop_table td {
    background: #fff !important;
}

/* But keep attendee meta table grey */
table.tribe-attendee-meta,
table.tribe-attendee-meta td,
table.tribe-attendee-meta tr {
    background: #f8f8f8 !important;
}

/* Ticket ID row slightly darker */
table.tribe-attendee-meta tr:first-child td {
    background: #f0f0f0 !important;
}

/* TEC event wrapper - white background */
.tribe-tickets-meta-row,
.tribe-tickets-meta,
.tribe-event-link,
.tribe-tickets__item__attendee,
.tec-tickets-order-attendee,
.woocommerce-order-details .tribe-event-datetime {
    background: #fff !important;
}

/* Event datetime styling */
.tribe-event-datetime {
    color: #333 !important;
    font-weight: 600;
    font-style: italic;
    margin: 8px 0 16px 0;
}

/* Customer details section */
.woocommerce-account .woocommerce-customer-details h2.woocommerce-column__title {
    margin-top: 40px !important;
}

/* Event title in order table */
.woocommerce-table__product-name a.event-title {
    display: block;
    margin: 24px 0;
    font-weight: 800;
    font-size: 18px;
}

/* Attendee list item border */
.tec-tickets__attendees-list-item {
    border-color: #e5e5e5 !important;
}

/* Customer details address box */
.woocommerce address.woocommerce-customer-details,
.woocommerce .woocommerce-customer-details address {
    border-radius: 0px !important;
    padding: 19px;
}

/* =====================================================
   Responsive
   ===================================================== */
@media screen and (max-width: 768px) {
    .dea-orders-table thead {
        display: none;
    }
    
    .dea-orders-table tbody tr {
        display: block;
        margin-bottom: 16px;
        padding: 16px;
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
    }
    
    .dea-orders-table tbody td,
    .dea-orders-table tbody th {
        display: block;
        padding: 8px 0;
        border: none;
    }
    
    .dea-orders-table tbody td::before,
    .dea-orders-table tbody th::before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: #2E336B;
    }
    
    table.tribe-attendee-meta td:first-child {
        width: auto;
    }
}

.elementor-nav-menu--dropdown a.highlighted {
    color: white !important;
}


nav ul a:hover {
    font-weight: 600 !important;
    color: white !important;
}

/* ==============================================
   DEA Landing Page - Heading & Filter Fixes
   ============================================== */
.tribe-common h2.elementor-heading-title.elementor-size-default {
    color: #2E336B !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin-bottom: 12px !important;
    font-size: 28px !important;
}
.tribe-common .elementor-element.elementor-element-19ab6635.elementor-widget.elementor-widget-shortcode {
    width: 100% !important;
}

/* ==============================================
   DEA Legal Links (T&Cs / Privacy)
   ============================================== */
.dea-legal-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: #666;
}
.dea-legal-links a {
    color: #5836cf;
    text-decoration: underline;
}
.dea-legal-links a:hover {
    color: #2E336B;
}

.tribe-events-content ol,.tribe-events-content ul {
    list-style-position: outside;
    margin-left: 16px;
}

.e-con>.e-con-inner>.elementor-widget>.elementor-widget-container,.e-con>.elementor-widget>.elementor-widget-container {
     height: auto;
}

/* ACADP — listing card images: contain instead of cover */
.acadp-object-cover {
    object-fit: contain !important;
}
