/*
 Theme Name:   Divi Child
 Theme URI:    http://[INSERT URL]/Divi-child/
 Description:  Divi Child Theme
 Author:       The Other Dimension
 Author URI:   http://theotherdimension.com
 Template:     Divi
 Version:      2.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  divi-child
*/



/* 🧩 Self-hosted Parkinsans font faces */
@font-face {
  font-family: 'Parkinsans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('https://reeply.com/wp-content/uploads/fonts/parkinsans-v3-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Parkinsans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://reeply.com/wp-content/uploads/fonts/parkinsans-v3-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Parkinsans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('https://reeply.com/wp-content/uploads/fonts/parkinsans-v3-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Parkinsans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://reeply.com/wp-content/uploads/fonts/parkinsans-v3-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Parkinsans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://reeply.com/wp-content/uploads/fonts/parkinsans-v3-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Parkinsans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('https://reeply.com/wp-content/uploads/fonts/parkinsans-v3-latin-800.woff2') format('woff2');
}

/* 🩶 Base text styling */
body, p, li, span, input, textarea, button {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* 🖋️ Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Parkinsans', sans-serif;
  line-height: 1.2;
  margin-bottom: 0.6em;
}

/* 🎯 Heading hierarchy */
h1 {
  font-weight: 600 !important;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #121233 !important;
}
h2 {
  font-weight: 600 !important;
  font-size: clamp(2rem, 4vw, 2.8rem);
	padding-bottom: 0;
}
h3 {
  font-weight: 600 !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h4 {
  font-weight: 600 !important;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
	margin-bottom: 0em !important;
	padding-bottom: 10px !important;
}
h5 {
  font-weight: 500 !important;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}
h6 {
  font-weight: 400 !important;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

ul {
    padding-left: 30px !important;
}

ul li::marker {
    color: #00a8ff;
}

/* 🧱 Ensure Divi modules inherit correctly */
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_module h6 {
  font-family: 'Parkinsans', sans-serif !important;
}


.middle-row {
	align-items: center;
	-webkit-align-items: center;
	display: block !important;
}


.f-middle-row {
	align-items: center;
	-webkit-align-items: center;
	display: flex !important;
}


.dsm_flipbox_child_image {
    max-width: 50% !important;
}


@media all and (max-width: 980px) {
	.swap-row, 
	.middle-row.swap-row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex !important;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	} 
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
		/* margin-bottom: 30px !important; */
	} 
	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
	} 
	.third-on-mobile {
		-webkit-order: 3;
		order: 3;
	} 
	.fourth-on-mobile {
		-webkit-order: 4;
		order: 4;
	}
	.swap-row:last-child .et_pb_column:last-child {
		margin-bottom: 0;
	}
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    margin-bottom: 8px;
    border: solid 0px;
    padding: 10px 30px 10px 30px;
    font-size: 16px;
    color: #fff;
    background-color: #00a8ff;
    font-weight: 500;
	border-radius: 100px;
	cursor: pointer;
}

.et_button_icon_visible .et_pb_button {
    padding-right: 2.5em;
    padding-left: 1.25em;
}

input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel],  input[type=text], input[type=time], input[type=url], input[type=week], select, textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gform_wrapper.gravity-theme .gfield_required .gfield_required_custom, .gform_wrapper.gravity-theme .gfield_required .gfield_required_text {
    font-style: normal;
    font-weight: 400;
}
.gform_wrapper.gravity-theme .gfield_required {
    color: #00a8ff;
    display: inline-block;
    font-size: 13.008px;
    padding-inline-start: 0.125em;
}

#gform_fields_login input[type=text],
#gform_fields_login input[type=password] {
	width: 100%;
	max-width: 400px;
}

.gf_login_form .gform_footer {
	justify-content: center;
} 

.gf_login_form .gform_footer input {
	width: 100%;
	max-width: 400px;
}

body .gf_login_form .gfield_required.gfield_required_text {display: none;}

.dsm_image_carousel .swiper-slide img {
    width: auto;
    border-style: solid;
    border-radius: 12px;
}

/**
 * Light Page Header CSS
 * Add this to your child theme's style.css or Divi Custom CSS
 * Adjust selectors as needed based on your specific header structure
 */

/* Light page header - initial state (before scroll) */
body.light-page-header #main-header {
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.light-page-header #main-header .menu-item a,
body.light-page-header #main-header #et-top-navigation .menu-item a {
    color: #00a8ff !important;
}

body.light-page-header #main-header .menu-item a:hover,
body.light-page-header #main-header #et-top-navigation .menu-item a:hover {
    color: #121233 !important;
}

/* If you have a logo that needs to change, you may need separate logos 
   or use filter to adjust the logo color */
body.light-page-header #logo {
    /* Option: Use filter to darken a white logo */
    /* filter: brightness(0) saturate(100%) invert(45%) sepia(98%) saturate(1752%) hue-rotate(176deg) brightness(101%) contrast(101%); */
}

/* Ensure the fixed/scrolled state also works correctly */
body.light-page-header.et_fixed_nav #main-header {
    background-color: #ffffff !important;
}

body #gform_wrapper_3 .gform_required_legend { display: none;}

body #gform_wrapper_3 .gform_footer { display: block;}

body.light-page-header #main-header .menu-item.dashboard-btn a, 
body.light-page-header #main-header #et-top-navigation .menu-item.dashboard-btn a,
.et-fixed-header #top-menu li.current-menu-ancestor>a, .et-fixed-header #top-menu li.current-menu-item.dashboard-btn>a, 
.et-fixed-header #top-menu li.current_page_item.dashboard-btn>a{
	color: white !important;
}

body #page-container .dashboard-btn a {
	background: var(--reeply-blue);
    color: white !important;
    padding: 1em 1.5em !important;
    border-radius: 50px;
}

.et_header_style_left #et-top-navigation {
    padding-top: 15px;
}

/* Mobile menu adjustments if needed */
@media (max-width: 980px) {
    body.light-page-header #main-header .mobile_menu_bar:before {
        color: #00a8ff !important;
    }
    
    body.light-page-header #main-header .mobile_nav .menu-item a {
        color: #00a8ff !important;
    }
}

.ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 10px;
    margin-top: 1.5rem;
}

.gform_drop_area {
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
	background: #f8fafc;
}

body #main-content .gform_drop_area:hover:hover {
	border-color: #00a8ff;
    background:  rgba(0, 168, 255, 0.05);
}

body .gform_button_select_files {
	background: transparent;
    border: none;
    color: #00a8ff;
    font-weight: bold;
}

body .register .dsm-advanced-tabs-wrapper {
	width: 96%;
}

body .register .dsm-advanced-tabs-wrapper .dsm-tab {
	display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: calc(50% - 6px);
}

@media all and (max-width: 980px) {
.swap_row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	} 
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
	} 
	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
		padding-bottom: 0px !important;
		margin-bottom: 0px !important;
	} 
	.swap_row .et_pb_column:last-child {
		margin-bottom: 0;
	}
}

@media all and (min-width: 981px) {
	.et_header_style_left .et-fixed-header #et-top-navigation {
        padding-top: 20px;
        padding-bottom: 20px;
	}
}