/*
 Theme Name:   The Other Dimension
 Theme URI:    [URL]
 Description:  [theme description]
 Author:       The Other Dimension
 Author URI:   https://theotherdimension.com
 Template:     Divi
 Version:      1.0
*/


/*** General Styling ***/

.alm-layouts .alm-grid .alm-paging-content, .alm-layouts .alm-grid:not(.alm-paging-wrap) {
    gap: 60px;
}

.alm-filters-container .alm-filter ul {
    display: flex !important;
}

body .news-filter li div.alm-filter--link.field-radio:after, 
body .news-filter li div.alm-filter--link.field-radio:before,
body .projects-filter li div.alm-filter--link.field-radio:after, 
body .projects-filter li div.alm-filter--link.field-radio:before,
body .news-cat li div.alm-filter--link.field-radio:after, 
body .news-cat li div.alm-filter--link.field-radio:before,
body .webinar-cat li div.alm-filter--link.field-radio:after, 
body .webinar-cat li div.alm-filter--link.field-radio:before { 
	display: none; 
}

body #main-content .event-filter li div, body #main-content .projects-filter li div, body #main-content .news-filter li div, body #main-content .webinar-cat li div {
    display: block;
    padding: 10px 20px;
    border: 2px solid #064273;
    background: white;
    color: #064273;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-right: 10px;
    text-transform: uppercase;
	font-family: "interstate", sans-serif !important;
}
.alm-filters-container *, .alm-filters-container :after, .alm-filters-container :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 1000px !important;
}

.alm-filters-container .alm-filter li div.alm-filter--link.active {
    background: #064273 !important;
    color: white !important;
    border-color: #064273 !important;
}

.alm-filters-container *, .alm-filters-container :after, .alm-filters-container :before {
}.alm-filters-container .alm-filter--text-wrap {
    display: -ms-flexbox;
    border: 2px solid #064273 !important;
	font-family: "interstate", sans-serif !important;
}

.alm-filters-container .alm-filter--text-wrap.has-button button {
    word-break: normal;
    padding: 6px 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
	font-family: "interstate", sans-serif !important;
}

.alm-filters-container button[type=button] {
    color: #fff;
    background-color: #064273 !important;
	font-family: "interstate", sans-serif !important;
}

.alm-filters-container .alm-filter--text-wrap input[type=number], .alm-filters-container .alm-filter--text-wrap input[type=text] {
    color: #064273 !important;
    padding: 0 10px;
    font-weight: 600;
    font-family: "interstate", sans-serif !important;
}



.et_pb_post .post-meta {
    font-size: 14px;
    /* padding: 6px; */
    padding-left: 20px;
    padding-right: 20px;
}



::selection {
	background-color: #000;
	color: #fff;
}

.placeholder {
	-webkit-filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(268deg) saturate(590%) contrast(1);
	filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(268deg) saturate(590%) contrast(1);
}

.athlete-card__bio {
    margin-top: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.et_pb_image_0_tb_body .et_pb_image_wrap img {
    border-radius: 12px !important;
}

/*** Navigation Styling ***/

/* Custom red underline with rounded ends */

#top-menu li a, .et_search_form_container input {
    letter-spacing: 0px;
    line-height: 1.3em;
}

#top-menu li li a {
    padding: 16px 20px;
    width: 200px;
}

#top-menu .sub-menu li a {
    position: relative;
    text-decoration: none;
}

#top-menu .sub-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px; /* Twice as thick - adjust as needed */
    background-color: red;
    border-radius: 2px; /* Rounded ends */
    transition: width 0.3s ease;
}

#top-menu .sub-menu li a:hover::after {
    width: 100%;
}

#top-menu li li {
    padding: 0px 0px;
    margin: 0;
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: #d2eef9 !important;
    opacity: 1;
}

#main-header .nav li ul {
    background-color: #d2eef9;
    border-radius: 0px 0px 12px 12px;
}

.nav li ul {
    border-color: #d2eef9 !important;
}


.et_header_style_split #et-top-navigation {
    padding-top: 44px;
}



/*** Typography Styling ***/

body, p, .et_pb_text {
    font-weight: 400 !important;
}

h1, h2, h3, h4, h5 {
	font-family: "interstate", sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: 0px !important;
	line-height: 1.15em !important;
}

h1 {
	color: #ff0000 !important;
}

h2, h3 {
	color: #064273 !important;
	letter-spacing: -1px !important;
}

h4, h5 {
	color: #064273 !important;
	letter-spacing: 0px !important;
}

h1 {
	font-size: 4em !important;
	text-transform: uppercase;
	letter-spacing: -1px !important;
}

h2 {
	font-size: 2em !important;
	padding-bottom: 1.5rem;
	text-transform: uppercase;
}

h3 {
	font-size: 1.5em !important;
	padding-bottom: 1.5rem;
	text-transform: uppercase;
}

h4 {
	font-size: 1.25em !important;
}

/* Bold links in body/content areas */
.et_pb_text a,
.entry-content a,
.et_pb_module p a {
    font-weight: 700;
}

sup {
    bottom: 0.35em;
    font-size: 2rem;
}

sub {
    top: 0.3em;
    font-size: small;
}


ul {
    padding-left: 1.5em !important;
}

ol li {
    padding-left: 2em !important;
    text-indent: -1.2em !important;
}

ol li:nth-child(n+10) {
    text-indent: -1.7em !important;
}

ul li::marker {
    color: #ff0000;
}


.et_pb_bg_layout_dark, .et_pb_bg_layout_dark h1, .et_pb_bg_layout_dark h2, .et_pb_bg_layout_dark h3, .et_pb_bg_layout_dark h4, .et_pb_bg_layout_dark h5, .et_pb_bg_layout_dark h6 {
    color: #fff !important;
}

/* Tighten heading font size in 3-column layouts specifically */
.et_pb_row_3col .et_pb_column h3,
.et_pb_row_3col .et_pb_column h4 {
  font-size: 0.85em;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/*** Module Styling ***/

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

.et_pb_toggle_open {
    padding: 40px !important;
}

.et_pb_toggle_close {
    padding: 20px 40px 20px 40px !important;
}

.et_button_icon_visible .et_pb_button {
    padding-left: 1em;
}

.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    padding: .3em 2em .3em 1em;
}

body #page-container .et_pb_section .et_pb_button_1 {
    padding-left: 1em !important;
}

body #page-container .et_pb_section .et_pb_button {
    padding-left: 1em !important;
}

body #page-container .et_pb_section .et_pb_button_0 {
    padding-left: 1em !important;
}

body #page-container .et_pb_section .et_pb_button_1:after {
    /* margin-left: 0 !important; */
}

.et_pb_button {
    transition: all 0.3s ease;
}

.et_pb_button:hover {
    /* transform: scale(1.1) translateY(-2px); */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
	border-bottom: 3px solid #ffde17 !important;
}

.et_pb_button {
    border: 3px solid transparent !important; /* Add border to default state */
    transition: all 0.3s ease;
}


.et_pb_gutters3 .et_pb_column_2_5 .et_pb_blog_grid .column.size-1of1 .et_pb_post, .et_pb_gutters3 .et_pb_column_2_5 .et_pb_grid_item, .et_pb_gutters3 .et_pb_column_2_5 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3 .et_pb_column_2_5 .et_pb_widget, .et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_blog_grid .column.size-1of1 .et_pb_post, .et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_grid_item, .et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_widget
 {
        margin-bottom: 1rem;
    }

.et_pb_blog_0 .et_pb_post div.post-content a.more-link, .et_pb_blog_1 .et_pb_post div.post-content a.more-link, .et_pb_blog_2 .et_pb_post div.post-content a.more-link {
    text-transform: uppercase;
}

body, .et_pb_column_1_2 .et_quote_content blockquote cite, .et_pb_column_1_2 .et_link_content a.et_link_main_url, .et_pb_column_1_3 .et_quote_content blockquote cite, .et_pb_column_3_8 .et_quote_content blockquote cite, .et_pb_column_1_4 .et_quote_content blockquote cite, .et_pb_blog_grid .et_quote_content blockquote cite, .et_pb_column_1_3 .et_link_content a.et_link_main_url, .et_pb_column_3_8 .et_link_content a.et_link_main_url, .et_pb_column_1_4 .et_link_content a.et_link_main_url, .et_pb_blog_grid .et_link_content a.et_link_main_url, body .et_pb_bg_layout_light .et_pb_post p, body .et_pb_bg_layout_dark .et_pb_post p {
    padding-bottom: 0.75rem;
}

.athlete-listing {
  gap: 3em !important;
}

.athlete-card {
  background: #f3f3f3;
  border-radius: 16px;
  overflow: hidden;
  border-top: 6px solid #FFDE17;
}

.athlete-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.athlete-card__content {
  padding: 24px;
}

.athlete-card__name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
	padding-bottom: 0;
}

.athlete-card__subtitle {
  color: #e21d2f;
  font-weight: bold !important;
  margin-bottom: 16px;
}

.athlete-card__stats p {
  margin: 6px 0;
  padding-bottom: 0;
}

.athlete-card__bio {
  margin-top: 20px;
  line-height: 1.6;
}


/*** Form Styling ***/

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #f5f5f5;
    border: 0px solid #bbb;
    padding: 2px;
    color: #064273;
    border-radius: 20px;
}

.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;
    padding: .3em 1em;
    line-height: 1.7em !important;
    background-color: #064273;
    border-width: 0px !important;
    border-radius: 100px;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
	cursor: pointer;
}

.gform_wrapper.gravity-theme .gfield_required .gfield_required_custom, .gform_wrapper.gravity-theme .gfield_required .gfield_required_text {
    font-style: normal;
}
.gform_wrapper.gravity-theme .gfield_required {
    color: #ff0000;
}

.gform_wrapper.gravity-theme .field_sublabel_above .description, .gform_wrapper.gravity-theme .field_sublabel_above .gfield_description, .gform_wrapper.gravity-theme .field_sublabel_above .gsection_description {
    margin-top: 0;
}

.gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction {
    padding-top: 13px;
}

.gform_wrapper.gravity-theme .gfield_label {
    margin-bottom: 0px;
}

/*** Responsive Styling ***/

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {

 
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {


}

/*** Responsive Styles Tablet And Below ***/
@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;
	}
	.middle-row {
		display: block;
	}

}

/*** Responsive Styles Tablet and ABOVE ***/
@media all and (min-width: 981px) {
	.et_header_style_split #main-header .centered-inline-logo-wrap,
	.et_header_style_split #main-header.et-fixed-header .centered-inline-logo-wrap {
		width: auto !important;
        height: 100px !important;
	}
	#top-menu li:not(.centered-inline-logo-wrap) {
		top: -6px;
	}
	.et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo {
		height: 100%;
	}
	.et_header_style_split .et-fixed-header #et-top-navigation {
		padding-top: 33px !important;
	}
	.et-fixed-header #top-menu .sub-menu a {
		color: #064273 !important;
	}
}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {


}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {


}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {

	
}