/*
Theme Name: Turio Child
Theme URI: https://www.turio.egenslab.com/
Template: turio
Author: Egens Lab
Author URI: https://www.egenslab.com/
Description: Turio is an updated modern-age WordPress template for tour and tourism business purpose. This template describes many destinations for traveling with booking options which are very impressive. It has added gallery features so anyone can get a clear idea about their destinations. This template has two wonderfully designed home pages &amp; 10+ attractive inner pages. Here is used Elementor page builder for developing the theme that's why it's very easy to customize and anyone can easily customize it. It has also added package features so that anyone can make travel package offers as their requirements. This theme is fully responsive and completely SEO friendly with the W3 validated. As added currently the new features in this theme it looks more attractive and eye-catching. Overall this theme could be a ideal one for tour and tourism business.
Tags: holiday,blog,entertainment,right-sidebar,custom-colors,custom-header,custom-menu,sticky-post,featured-images,flexible-header
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/* Estilos específicos para el formulario de WhatsApp */
.wpcf7-form {
  max-width: 400px;
  padding: 40px 0px 0px;
  margin: 0 auto;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  box-sizing: border-box;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column;
}

.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea {
  width: 100%;
  border: none;
  outline: none;
  padding: 8px;
  box-sizing: border-box;
}

.wpcf7-form .wpcf7-form-control-wrap textarea {
  resize: vertical;
}

.wpcf7-submit, .whatsapp-submit {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 0px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.wpcf7-submit:hover, .whatsapp-submit:hover {
  background-color: #1DA851;
}

.wpcf7-submit {
  background-color: #007bff;
}

.wpcf7-submit:hover {
  background-color: #0056b3;
}

.btns-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* encabezado */

@media only screen and (max-width: 455px) {
    .breadcrumb .breadcrumb-title {
        font-size: 36px !important;
    }
}

/* titulo reservar */
.tittle-reservar {
    padding: 0px 0px 20px;
    /* background: yellow; */
    font-size: 1.7rem;
    color: var(--c-primary);
    font-weight: 700;
}


/* titulo review */
.review-sec {
    display: none;
}


/* titulo review */

add_action('wpcf7_before_send_mail', 'my_custom_wpcf7_hidden_field', 10, 1);

function my_custom_wpcf7_hidden_field($contact_form)
{
    // Obtén el valor de la clase breadcrumb-title
    $breadcrumb_title = get_the_title(); // Suponiendo que la clase breadcrumb-title contiene el título de la página actual
    
    // Agrega el valor de la clase breadcrumb-title al campo oculto en el formulario
    $_POST['breadcrumb_title'] = $breadcrumb_title;
}

/*FOOTER
.footer-area .footer-main-wrapper {
    background: var(--c-primary) !important;
	}
*/