/* 
Theme Name: Uebart
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: uebart
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Texto leer más en mobile */
.btn-leer-mas-mobile {
  display: none;
}

@media (max-width: 767px) {

  .texto-leer-mas {
    max-height: 210px;
    overflow: hidden;
    position: relative;
  }

  .texto-leer-mas::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(231,226,218,0), #E7E2DA);
    pointer-events: none;
  }

  .texto-leer-mas.abierto {
    max-height: none;
  }

  .texto-leer-mas.abierto::after {
    display: none;
  }

  body .btn-leer-mas-mobile {
    display: block !important;

    width: fit-content !important;
    max-width: fit-content !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin-top: 18px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;

    color: #555555 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: left !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;

    cursor: pointer;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  body .btn-leer-mas-mobile:hover {
    color: #333333 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  body .btn-leer-mas-mobile:focus {
    outline: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}

@media (min-width: 768px) {

  .btn-leer-mas-mobile {
    display: none !important;
  }

  .texto-leer-mas {
    max-height: none;
  }

  .texto-leer-mas::after {
    display: none;
  }
}

.e-search-input:focus,
.e-search-input:focus-visible {
	outline: none;
    box-shadow: none;
    border-color: transparent;
}

/*
 * forzar alto de newsletter popup en idiomas
 */ 
@media (min-width: 1024px) {
	#elementor-popup-modal-37420 .dialog-message {
		height: 634px !important;
	}

	#elementor-popup-modal-37379 .dialog-message {
		height: 538px !important;
	}

	#elementor-popup-modal-37422 .dialog-message {
		height: 597px !important;
	}
	#elementor-popup-modal-35997 .dialog-message {
		height: 521px !important;
	}
}
