/* ===================================================================================

* Theme Name: Farmus Child
* Theme URI: https://techsometimes.com/products/wp/farmuswp/
* Author: Mugli
* Author URI: https://themeforest.net/user/mugli/portfolio
* Description: Child theme of Farmus
* Version: 1.0.0
* Template: farmus
* Text Domain: farmus-child
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */


:root{
	--color-green: rgb(0,168,69) !important;
}


/* Menú */
.top-bar.v1 .top-display-info li:nth-child(2){
	display:none; // Ocultar el horario del menú.
}

a.elementor-button,
.list-custom-posts .elementor-post__read-more{
  position: relative;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
  border-radius: 10px;
  color: var(--color-black);
  text-transform: capitalize;
  overflow: hidden;
  background: var(--color-tr);
  z-index: 1;
  padding: 15px 30px;
  display: inline-block;
}


a.elementor-button::before,
a.elementor-button::after,
.list-custom-posts .elementor-post__read-more:before,
.list-custom-posts .elementor-post__read-more:after{
  position: absolute;
  content: "";
  width: 50%;
  height: 150%;
  z-index: -1;
  border-radius: 800px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transform: scale(1.8);
  transform: scale(1.8);
  background: var(--color-green);
  display: block;
}

a.elementor-button::before,
.list-custom-posts .elementor-post__read-more:before {
  top: 0;
  left: 0;
}

a.elementor-button::after,
.list-custom-posts .elementor-post__read-more:after {
  bottom: 0;
  right: 0;
}

a.elementor-button:hover::before,
a.elementor-button:hover::after,
.list-custom-posts .elementor-post__read-more:hover:before,
.list-custom-posts .elementor-post__read-more:hover:after{
  opacity: 0.5;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}

a.elementor-button:hover::before,
.list-custom-posts .elementor-post__read-more:hover:before{
  top: -116%;
  left: -38%;
}

a.elementor-button:hover::after,
.list-custom-posts .elementor-post__read-more:hover:after{
  bottom: -116%;
  right: -38%;
}

a.elementor-button,
.list-custom-posts .elementor-post__read-more{
  color: var(--color-white);
  border: 1.8px solid var(--color-green);
}


a.elementor-button:focus,
.elementor-button:focus svg,
.list-custom-posts .elementor-post__read-more:focus{
  color: var(--color-white) !important;
  fill:	var(--color-white) !important;
}


a.elementor-button:hover,
a.elementor-button:hover svg,
.list-custom-posts .elementor-post__read-more:hover{
  color: var(--color-green) !important;
  fill: var(--color-green) !important;	
}


/* Página inicio */
section.pt-xl-spach{
 padding-top:100px !important;	
}

/* .seccion-documentos .gallery-card a{
  pointer-events: none !important;
  cursor: auto !important;	
}*/

/* Documentos */
.documento.type-documento .elementor-section-wrap{
	height: 100%;
}


/* Formulario de Contacto Inicio*/
@media (min-width: 768px){
 .main-form-massage{
   padding-top: 80px;
  padding-bottom: 80px;	
 }
 .message-form.v3 .wpcf7-form label, .message-form.v3 .my-select {
	 width: calc(50% - 20px);
  }
}	

.message-form.v3 .wpcf7-form label.w-full{width:100% !important;}

/* Página tradiciones campesinas */
.list-custom-posts .elementor-post__title a:hover{
  color: var(--color-green) !important;	
}

.list-custom-posts .elementor-pagination{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
}

.list-custom-posts .elementor-pagination a,
.list-custom-posts .elementor-pagination .page-numbers {
  display: inline-block;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.list-custom-posts .elementor-pagination a:hover,
.list-custom-posts .elementor-pagination .page-numbers:hover {
  color: var(--color-white) !important;
  background: var(--color-green);
}

.list-custom-posts .elementor-pagination .page-numbers {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.list-custom-posts .elementor-pagination.active a,
.list-custom-posts .elementor-pagination .current {
  color: var(--color-white) !important;
  background: var(--color-green);
}

/* Search */
.search-results .blog-post-items > .blog-post-card{ box-shadow: none;}


/* Responsive */
.menu-bar.v1 .mobile-header .social-link ul{ justify-content:flex-start;}

.blog-post.v1 .blog-post-card .post-img img, .blog-details.v1 .post-details .slider .post-img img{
	height: auto;
}

.breadcum-content > ul span:last-of-type{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}  

@media screen and (max-width:990px){
	.blog-details.v1 .next-preve-post .prev-post .text-icon > a, .blog-details.v1 .next-preve-post .next-post .text-icon > a{
	  display: block;
	  width: 220px;
	}
	
	.blog-details.v1 .post-info ul{
	  flex-direction: column;
      align-items: flex-start;
      gap: 5px;
	}
	
	.blog-details.v1 .blog-img img{ height:auto; }
}