/*---------------------------------------------------------------------------------

 Theme Name:   Cobefor
 Theme URI:    
 Description:  Somos hacedores del arte de la jardinería.
 Author:       APPSUR
 Author URI:   https://appsur.es/
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/
/* VARIBLES START */

:root {
	--color-dark-green: #2D3834;
	--color-light-green: #90B711;
}

/* VARIBLES EDN */

/* IMG TITLE OFF START */

img[title] { pointer-events: none; }

/* IMG TITLE OFF END */

/* ACCENT COLOR START */

.accent-color {
	color: var(--color-light-green);
}

/* BG FIXED START */

.bg-fixed {
	background-attachment: fixed;
}

/* MAIN MENU START */

#menu-main-menu li {
	margin: 0;
}
#menu-main-menu > li > a {
	padding: 30px 0;
}

#menu-main-menu .menu-item-has-children>a:first-child:after {
	top: 50%;
	transform: translatey(-50%);
	right: -20px;
}

/* MAIN MENU END */

/* BG FIXED END */

/* LINK FOOTER START */

footer a {
	transition: all .2s;
}
footer a:hover {
	color: #fff;
}

/* LINK FOOTER END */

/* SECTION TITLE START */

.section-title {
	position: relative;
	max-width: max-content;
	margin: 0 auto;
}
.section-title::after {
	content: '';
	width: 80%;
	height: 2px;
	background-color: var(--color-light-green);
	position: absolute;
	left: 50%;
	bottom: -5px;
	transform: translatex(-50%);
}

/* SECTION TITLE END */

/* PAGE TITLE START */

.page-title {
	width: max-content;
}
.page-title::after {
	content: '';
	width: 40%;
	height: 2px;
	background-color: var(--color-light-green);
	position: absolute;
	bottom: -5px;
	left: 0;
}

/* PAGE TITLE END */

/* SECTION SERVICIOS START */

.section-servicios__row > div {
	transition: all .2s;
}
.section-servicios__row > div:hover {
	transform: scale(1.1);
}

/* SECTION SERVICIOS END */

/* SECTION PROYECTOS START */

.section-proyectos h4 {
	padding-left: 20px;
	line-height: 1.4;
	margin-top: 10px;
}
.section-proyectos h4::before {
	content: '';
	width: 10px;
	height: 100%;
	background-color: var(--color-light-green);
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}

/* SECTION PROYECTOS END */

/* SECTION FOOTER START */

.section-footer__socials ul::after {
	display: none;
}
.section-footer__socials ul {
	display: flex;
	column-gap: 20px;
	justify-content: center;
}

/* SECTION FOOTER END */

/* SECTION BLOG START */

.olena_blog_v5 .et_pb_posts article.et_pb_post .entry-featured-image-url img {
    display: block !important;
}
.olena_blog_v5 .et_pb_posts article.et_pb_post {
	box-shadow: 0 0 15px rgb(0 0 0 / 30%);
}

@media(min-width: 980px) {
	.section-blog__row::after {
		display: none;
	}
	.section-blog__row {
		display: flex;
		height: 100%;
		align-items: center;
	}
	.section-blog__row > div {

	}
}

/* SECTION BLOG END */

/* HIDE ON MOBILE START */

.hide-on-mobile {
	display: none;
}

/* HIDE ON MOBILE END */

/* ACCENT COLOR END */

/* MAIN MENU START */

ul#menu-main-menu > li::after {
	content: '';
	width: 0;
	height: 0;
	background-color: #90b711;
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	transition: all .2s;
}
ul#menu-main-menu li:hover::after {
	width: 60%;
	height: 3px;
}
ul#menu-main-menu li:nth-child(2):hover::after {
	width: 60%;
	margin-left: -12px;
	height: 3px;
}
#menu-main-menu .sub-menu li a {
	font-size: 14px !important;
}
@media(min-width: 1100px) {
	ul#menu-main-menu {
		column-gap: 20px;
	}
}
@media (max-width: 980px) {
	.et_pb_row--with-menu {
		position: static !important;
		width: 100%;
	}
	.et_pb_menu_inner_container {
		padding: 0 25px;
	}
	ul#mobile_menu1 {
		position: absolute;
		left: 0;
		right: 0;
		top: 87px;
	}
	.et_mobile_menu li a {
		padding: 5px 20px;
	}
	.mobile_menu_bar:before {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}
	.mobile_menu_bar:before {
		content: "d";
	}
	.mobile_nav.opened .mobile_menu_bar:before {
   		content: "\4d";
		font-size: 40px;
	}
}

/* MAIN MENU END */

/* COOCKIE START */

.cky-btn-revisit-wrapper {
	background-color: transparent !important;
}

/* COOCKIE END */

/* MOBIL ANIMATION OFF START */

@media all and (max-width: 600px) {
	.et_animated {
		opacity: 1 !important
	}
	.et_pb_section:not(.section-slider) * {
		-o-transition-property: none!important;
		-moz-transition-property: none!important;
		-webkit-transition-property: none!important;
		transition-property: none!important;
		-o-transform: none!important;
		-moz-transform: none!important;
		-ms-transform: none!important;
		-webkit-transform: none!important;
		transform: none!important;
		-webkit-animation: none!important;
		-moz-animation: none!important;
		-o-animation: none!important;
		animation: none !important;
	}
	#page-container .submenu-item__active {
		transform: translate(-50%, -50%) !important;
	}
	#page-container .list-toggle {
    	transform: translatey(-50%) !important;
	}
	#page-container .sub-open .submenu-item__active {
		transform: translatex(-50%) !important;
	}
}
