/*
Theme Name: Divi - Child
Theme URI: https://www.elegantthemes.com/preview/Divi/
Version: 4.27.6
Description: Divi Child Theme - El Gran Pacto
Author: Rodrigo Rodríguez
Author URI: https://elgranpacto.ymca.es
Template: Divi
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
Text Domain: Divi-child
*/


/*----------------------------------*/
/*		Custom CSS | El Gran Pacto		*/
/*----------------------------------*/


/*** YMCA Classes ***/

/*Font Colors*/
.ymca_txt-blue {
	color: #002a50;
}
.ymca_txt-magenta {
	color: #de0242;
}
.ymca_txt-white {
	color: #fff!important;
}

/*Font Weights*/
.ymca_txt-normal {
	font-weight: 500;
}
.ymca_txt-semibold {
	font-weight: 600;
}
.ymca_txt-bold {
	font-weight: bold;
}
.ymca_txt-uppercase {
	text-transform: uppercase;
}


/*Links*/
.ymca_link-blue {
	color: #002a50;
}
.ymca_link-blue:hover {
	color: #de0242;
}
.ymca_link-magenta {
	color: #de0242;
}
.ymca_link-magenta:hover {
	color: #002a50;
}

/*YMCA Button*/
.ymca_btn {
	color: #fff;
	font-size: 16px;
	padding: 10px;
	border-radius: 4px;
	background-color: #de0242;
}
.ymca_btn:hover {
	background-color: #002a50;
}

/*Custom Pulse Button*/
.ymca_pulse-button {
	transition: all 0.3s ease-in-out;
	transform: scale(1.3);
	animation: pulse 1s infinite;
}
@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}
/*------------------------------*/

/*Image background zoom on hover effect*/
.ymca_zoom-img-bg {
	position: relative;
	overflow: hidden;
}

.ymca_zoom-img-bg::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	z-index: 1;
	transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
	will-change: transform;
}

.ymca_zoom-img-bg:hover::before {
	transform: scale(1.1);
}

.ymca_zoom-img-bg > * {
	position: relative;
	z-index: 2;
}
/*------------------------------*/

/*** End YMCA Classes ***/


/*** Divi Classes ***/

/*Hide Slider Selectors & Controllers*/
.et-pb-controllers {
	display: none!important;
}
.et-pb-arrow-prev:before, .et-pb-arrow-next:before {
	content: none!important;
}
/*------------------------------*/

/*Slider Gallery: maintain correct display, avoid any visual "Jump" during transition, especially on mobile devices.*/
.et_pb_gallery .et_pb_gallery_item.et_slide_transition {
	display: block!important;
}
/*------------------------------*/

/*Show Slider Selectors & Controllers*/
/*Bullets*/
.egp_show-controls-gallery .et-pb-controllers {
	display: block!important;
}

.egp_show-controls-gallery .et-pb-controllers a {
	background-color: #002a50!important;
	/* background-color: rgba(0,42,80,1)!important; */
}
.egp_show-controls-gallery .et-pb-controllers a.et-pb-active-control {
	background-color: #fff!important;
}

/*Left arrows*/
/* .egp_show-controls-gallery .et-pb-arrow-prev:before {
	content: '\34'!important;
	color: #fff!important;
} */
/*Right arrow*/
/* .egp_show-controls-gallery .et-pb-arrow-next:before {
	content: '\35'!important;
	color: #fff!important;
} */
/*------------------------------*/


/*Remove blurb icon animation*/
/*#igCamps .et_pb_blurb .et-pb-icon {
	opacity: 1!important;
	transform: none!important;
	animation: none!important;
}
#ytCamps .et_pb_blurb .et-pb-icon {
   opacity: 1!important;
   transform: none!important;
   animation: none!important;
}*/
/*------------------------------*/


/*** Custom Main Menu & Submenu ***/

ul#top-menu li a {
	font-size: 14px!important;
	font-weight: normal!important;
	text-transform: uppercase!important;
	letter-spacing: 0.04em!important;
}

#main-header .nav li ul a {
	color: #002a50!important;
}

@media only screen and (min-width: 981px) {
	.et-fixed-header#main-header .nav li ul {
		background-color: #fff!important;
	}
}

@media (max-width: 980px) {
	.et_fixed_nav #main-header {
		position: fixed!important;
		background-color: #002a50!important;
	}

	#main-header .container {
		width: 100%!important;
		padding: 0 25px!important;
	}
}

.mobile_menu_bar:before {
	color: #fff!important;
}

.et_mobile_menu {
	border-color: #de0242!important;
	border-top: 3px solid #de0242!important;
}

#top-menu .menu-item-has-children>a:first-child:after {
	content: "\43";
	font-size: 16px!important;
}

/*------------------------------*/


/*** Custom Back To Top ***/
/*Button BTT*/
.et_pb_scroll_top.et-pb-icon {
	right: 14px;
	bottom: 120px;
	color: #fff;
	padding: 10px;
	background-color: rgba(0, 42, 80, .8);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
}
/*Button BTT Hover*/
.et_pb_scroll_top.et-pb-icon:hover {
	color: #fff;
	bottom: 122px;
	background-color: #002a50;
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-ms-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
	box-shadow: 0 2px 4px rgba(52, 52, 52, .5);
}
/*Icon BTT*/
.et_pb_scroll_top:before {
	content: "\21";
}
/*fadeInBottom Animation BTT*/
.et_pb_scroll_top.et-visible {
	opacity: 1;
	-webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
	-moz-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
	-ms-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
	-o-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
	animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
}
/*fadeOutBottom Animation BTT*/
.et_pb_scroll_top.et-hidden {
	opacity: 0;
	-webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
	-moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
	-ms-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
	-o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
	animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
}
/*------------------------------*/

/*** End Divi Classes ***/


/*** Plugins Classes ***/

/***Custom CSS Buttons Cookies GDPR***/
#moove_gdpr_cookie_info_bar {
	padding: 10px 0!important;
}

/*Buttons: Aceptar todas y Rechazar todas*/
#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-allow-all,
#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-reject-btn {
	background-color: #de0242!important;
}
#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-allow-all:hover,
#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-reject-btn:hover {
	background-color: #002a50!important;
}

/*Button: Configurar cookies*/
#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-settings-btn {
	background-color: #002a50!important;
	opacity: 1!important;
	color: #fff!important;
}
#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-settings-btn:hover {
	background-color: #de0242!important;
}

/*Sticky Button: Configurar cookies*/
#moove_gdpr_save_popup_settings_button {
	box-shadow: none!important;
	border-color: #002a50!important;
	background-color: #002a50!important;
	bottom: 100px!important;
	left: 10px!important;
}
#moove_gdpr_save_popup_settings_button:hover {
	background-color: #de0242!important;
}

/* Modal buttons */
/*Buttons: Aceptar todas y Rechazar todas*/
#moove_gdpr_cookie_modal button.moove-gdpr-modal-allow-all,
#moove_gdpr_cookie_modal button.moove-gdpr-modal-reject-all {
	border-color: #de0242!important;
	background-color: #de0242!important;
}
#moove_gdpr_cookie_modal button.moove-gdpr-modal-allow-all:hover,
#moove_gdpr_cookie_modal button.moove-gdpr-modal-reject-all:hover {
	color: #fff!important;
	border-color: #002a50!important;
	background-color: #002a50!important;
}

/*Button: Guardar mis preferencias*/
#moove_gdpr_cookie_modal button.moove-gdpr-modal-save-settings {
	border-color: #002a50!important;
	background-color: #002a50!important;
}
#moove_gdpr_cookie_modal button.moove-gdpr-modal-save-settings:hover {
	color: #fff!important;
	border-color: #de0242!important;
	background-color: #de0242!important;
}

/*Cookie Info Bar*/
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
	background-color: #f7f7f7!important;
	border-top: 2px solid #002a50!important;
}
#moove_gdpr_cookie_info_bar:not(.gdpr-full-screen-infobar) .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-settings-btn {
	box-shadow: none!important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p {
	color: #121212!important;
	font-size: 13px!important;
	font-weight: 500!important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p a {
	color: #de0242!important;
}
/*------------------------------*/


/*Customize the YMCA website review plugin*/
#yRated {
	color: #fff!important;
}

#yRated p.rmp-heading--title {
	color: #fcd402;
	font-weight: 500;
}

@media (max-width: 768px) {
	#yRated p.rmp-heading--title {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	#yRated p.rmp-heading--title {
		font-size: 18px;
	}
}

/*Hide text: Recuento de valoración:*/
#yRated .rmp-rating-widget__results__votes {
	display: none!important;
}

#yRated .rmp-rating-widget__not-rated {
	display: none!important;
}
/*------------------------------*/

/*** End Plugins Classes ***/



/***Responsive Web Design***/

/*Laptop intermediate*/
@media (min-width: 1025px) and (max-width: 1439px) {

}

/*Laptop*/
@media (max-width: 1024px) {

}

/*Tablet*/
@media (max-width: 768px) {

}

/*Mobile*/
@media (max-width: 480px) {

}

/*Ultra Desktop 4K*/
@media (min-width: 1920px) {

}

/***End Responsive Web Design***/

