/**
 * Theme Name:      GymWorks
 * Theme URI:       https://www.elegantthemes.com/gallery/divi/
 * Description:     A child theme for GymWorks created by enjoy! Marketing.
 * Author:          enjoy! Marketing
 * Author URI:      https://www.enjoymarketing.co.uk/
 * Template:        Divi
 * Version:         1.0.0
 * Text Domain:     gymworks
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

/* Green 01 #9BC540*/
/* Black 01 #000000 */
/* Grey 01 #898785 */


/* General Styles  =============================================== */

html, .et-main-area {
   scroll-padding-top: 73px !important;
}


/*** Change Mobile Columns By DiviMundo.com - https://victorduse.com/blog/change-number-of-columns-on-mobile-in-divi/ ***/

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}
@media all and (min-width: 768px) and (max-width: 980px) {
	
/* 2 Columns Tablet */	
    html .et-db .two-col-tab .et_pb_column {
        width:47.25% !important;
    }
.two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    html .et-db .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right:5.5% !important;
    }
/* 3 Columns Tablet */	
	html .et-db .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }
html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* Buttons */

.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
    padding: 10px 36px!important;
}
.et_button_no_icon .et_pb_button:hover {

	transition: background-color 0.8s ease !important;
}

.et_pb_map div[style*="background-image"][style*="markerClusterer/m"][style*=".png"] {
    background-image: url(https://objective-bassi.88-208-198-175.plesk.page/wp-content/uploads/2024/10/GymWork_pin.png) !important;
}

/* Carousel Nav */

@media only screen and (min-width: 981px) {
.slick-prev {
	left: calc(50% - 500px) !important;
    }
.slick-next {
	right: calc(50% - 500px) !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
.slick-prev {
	left: calc(50% - 300px) !important;
    }
.slick-next {
	right: calc(50% - 300px) !important;
    }
}



/* Custom Header  =============================================== */


/* CTA NAV Button */

@media (min-width: 981px) {
.cta-menu-button a {
	line-height: 9px;
	font-weight: 600;
	padding: 32px 32px!important;
	text-transform: uppercase;
	display: block;
	padding-left: 32px!important;
	padding-right: 32px!important;
	text-align: center;
	border: 0px;
	font-size: initial!important;
	color: #000 !important;
	background-color: #9BC540;
}
.cta-menu-button a:hover {
	opacity: 1 !important;
	color: #000 !important;
	background-color: #FFF !important;
	transition: background-color 0.8s ease !important;
}
body .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item.cta-menu-button a {
    color: #000 !important;
}
/*Removing padding from the menu module to fix the size of the button*/
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding-top: 0px;
	padding-bottom: 0px;
} 
/*vertically center the menu items in menu module*/
.et_pb_menu .et_pb_menu__menu>nav>ul>li {
	align-items: center;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-top: 0;
}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 22px;
    padding-top: 22px;
}	
}
/* Mobile Menu */

.et_mobile_nav_menu:before {
    content: 'MENU';
    font-size: 16px;
	font-weight: 600;
    color: #FFF;
	padding-top: 4px;
}


/*align the hamburger menu to the right right*/

.pa-fullscreen-menu .et_pb_menu__wrap {
	justify-content: flex-end !important;
}
/*style the opened menu*/
.pa-fullscreen-menu .opened #mobile_menu1 {
	width: 100vw !important;
	position: fixed !important;
	top: 0em !important;
	left: 0vw !important;
	height: 100vh !important;
	display: flex !important;
	justify-content: center !important;
	flex-direction: column !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: visibility 0.3s, opacity 0.3s ease-in-out;
	padding: 0 !important;
	background-color: rgba(0, 0, 0, 0.9) !important;
}
/*style the closed menu*/
.pa-fullscreen-menu .closed #mobile_menu1 {
	background-color: #fff !important;
	text-align: center !important;
	width: 100vw !important;
	position: fixed !important;
	left: 100vw !important;
	top: 0em !important;
	height: 100vh !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex-direction: column !important;
	transition: visibility 0.3s, opacity 0.3s, left 1s, ease-in-out;
	opacity: 0 !important;
	visibility: hidden !important;
}
/*remove the bullet points from the list items*/
.pa-fullscreen-menu #mobile_menu1 li {
	list-style: none !important;
	text-align: center !important;
	width: 100%;
	font-size: 22px;
}
/*remove the bullet points from the list items*/
.pa-fullscreen-menu #mobile_menu1 li a {
	color: #FFF !important;
	font-size: 22px;
}
.pa-fullscreen-menu #mobile_menu1 li.current-menu-item a  {
	color: #FFF !important;
}
/*move the menu to the top above other elements*/
.pa-fullscreen-menu .et_pb_menu__wrap span.mobile_menu_bar {
	z-index: 999999 !important;
}
/*change the opened menu icon*/
.pa-fullscreen-menu .et_pb_menu__wrap .opened .mobile_menu_bar:before {
	content: "\4d" !important;
}
/*remove the default blue border top on the mobile menu*/
/*
.pa-fullscreen-menu .et_mobile_menu {
	border-top: none;
}
*/
/*remove the default background color on menu items*/
.pa-fullscreen-menu .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}
/*remove the default hover background color and adjust opacity*/
.et_mobile_menu li a:hover {
	background-color: transparent;
	opacity: 1;
}
/*remove the default border bottom on menu items*/
.pa-fullscreen-menu .et_mobile_menu li a {
	border-bottom: none;
}
@media (max-width: 980px) {
.cta-menu-button a {
	font-weight: 600;
	padding: 22px 32px!important;
	text-transform: uppercase;
	display: block;
	text-align: center;
	border: 0px;
	font-size: initial!important;
	color: #000 !important;
	background-color: #9BC540;
	width: 80%;
	max-width: 300px;
	margin: auto;
	margin-top: 20px;
	font-size: 22px !important;
}
.cta-menu-button a:hover {
	opacity: 1 !important;
	color: #000 !important;
	background-color: #FFF !important;
	transition: background-color 0.8s ease !important;
}
}	

/* Gravity Forms */

body .gform_wrapper .gform_footer input.button {
	margin-left: auto;
	margin-right: auto;
	font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif !important;
}
.form-terms, .form-terms p {
	text-align: center;
	font-size: 12px;
	line-height: 14px;
	padding-top: 20px;
}
.form-terms-white p {
	color: #ffffff;
}

/* Gravity Forms Errors */

.gform_wrapper.gravity-theme .gform_validation_errors {
    background: transparent;
    border: 1.5px solid #9bc540;
}
.gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction {
    color: #9bc540;
    padding-left: 0;
	border: 0;
	background: transparent;
}
body .gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] {
    border: 2px solid #9bc540 !important;
}