/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
.et_pb_blurb.et_pb_text_align_left .et_pb_blurb_content .et_pb_blurb_container {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 0;
}
.et_pb_menu_0_tb_header.et_pb_menu .mobile_nav.opened .et_mobile_menu, .et_pb_menu_0_tb_header.et_pb_menu .mobile_nav.opened .et_mobile_menu ul#mobile_menu1 { background-color: rgba(255,255,255,1)!Important; }
#mobile_menu1 { padding-top: 50px!Important; }
.et_pb_menu_0_tb_header.et_pb_menu ul li.et-hover a,
.et_pb_menu_0_tb_header.et_pb_menu ul li a.mPS2id-highlight {
  color: #cd6801!Important;
}

/**** BUSCADOR ****/
/* .header-f-wrapper.header-show .et_pb_menu_0_tb_header { margin-top: 20px!important; } */

.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header { z-index: 999!Important; }
.et_pb_fullwidth_menu .et_pb_menu__search, .et_pb_menu .et_pb_menu__search,
.et_pb_fullwidth_menu .et_pb_menu__search-container--visible, .et_pb_menu .et_pb_menu__search-container--visible {
  background: rgba(255,255,255,1);
  z-index: 999;
}
.et_pb_fullwidth_menu .et_pb_menu__search-input, .et_pb_menu .et_pb_menu__search-input { color: #000; }
/**** FIN BUSCADOR ****/





/* MENÚ MÓVIL */
.home .et_pb_section_0_tb_header.et_pb_section { background-color: transparent!Important; }
.home .et_pb_section_0_tb_header { box-shadow: inherit; }
.header-f-wrapper { width: 100%; top:0; left: 0 }
.home .header-f-wrapper { position: fixed; }
.home .header-f-wrapper.header-show { box-shadow: none; position: fixed; }
.header-f-wrapper.header-show { display:block; }
.header-f-wrapper.header-show #header-fixed img { max-width: 200px; }
.header-f-wrapper.header-show #header-fixed .et_pb_row_0_tb_header .et_mobile_nav_menu { display:none; }
.header-f-wrapper.header-show #header-fixed .et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu, .header-f-wrapper.header-show #header-fixed .et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu ul { background-color: rgba(255,255,255,1)!important; }

.header-f-wrapper.header-show .et_pb_button_0_tb_header_wrapper .et_pb_button_0_tb_header, .et_pb_button_0_tb_header_wrapper .et_pb_button_0_tb_header:hover {
    padding-top: 25px!important;
    padding-right: 20px!important;
    padding-bottom: 25px!important;
    padding-left: 20px!important;
}

.header-f-wrapper.header-show{
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.13);
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.13);
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.13);

  animation: animationFrames ease 1s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: animationFrames ease 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: animationFrames ease 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: animationFrames ease 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: animationFrames ease 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
}

#header-fixed .et_pb_row.et_pb_row--with-menu, #header-fixed .et_pb_column.et_pb_column--with-menu, #header-fixed .et_pb_column.et_pb_column--with-menu .et_pb_menu_inner_container.clearfix {
  position: initial;
}
.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
  color: #FFF;
}
#mobile_menu1 { display: block !important; min-height: 100vh; top: 70px; border-top: none; padding-top: 20px; z-index: 9998; }
.mobile_nav.closed #mobile_menu1 {
 transform: rotateY(90deg); -webkit-transform: rotateY(90deg);
 transform-origin: top;
 -webkit-transform-origin: top;
 background: #fff;
 transition: .8s ease-in-out !important; }
.mobile_nav.opened #mobile_menu1 {
 transform: rotateY(0deg); -webkit-transform: rotateY(0deg);
 transform-origin: top
 -webkit-transform-origin: top;
 background: #f1f1f1;
 transition: .8s ease-in-out;
 left: 0;
 width: 100%;
}
.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d";
}
.mobile_nav.opened .mobile_menu_bar { z-index: 9999; }
.et_mobile_menu li a { font-weight: bold; text-align: center; }




/*************************************************/
/****         RESPONSIVE         ****/
/*************************************************/
@media only screen and (max-width: 767px) {
  .header-f-wrapper.header-show .et_pb_button_0_tb_header_wrapper .et_pb_button_0_tb_header, .et_pb_button_0_tb_header_wrapper .et_pb_button_0_tb_header:hover {
      padding: 27.5px 20px!Important;
  }
}
@media (max-width: 490px) {
  .header-f-wrapper.header-show #header-fixed img { width: 100%; }
  #header-fixed > .et_pb_row .et_pb_column.et_pb_column_0_tb_header:first-child { width: 70%!Important; }
  #header-fixed > .et_pb_row .et_pb_column.et_pb_column_0_tb_header:first-child .et_pb_image_0_tb_header { width: 100%!Important; margin: 0!Important; padding: 5px 10px!Important; }
  #header-fixed > .et_pb_row .et_pb_column.et_pb_column_0_tb_header:last-child { width: 30%!Important; }
}
@media only screen and (max-width: 410px) {
  .header-f-wrapper.header-show .et_pb_button_0_tb_header_wrapper .et_pb_button_0_tb_header, .et_pb_button_0_tb_header_wrapper .et_pb_button_0_tb_header:hover {
    display: block;
    padding-left: 0!Important;
    padding-right: 0!Important;
    text-align: center;
    width: 100%;
    letter-spacing: 2px!Important;
  }
}



/**
FORMULARIO DE CONTACTO
**/
.dipe-cf7 .wpcf7 input,
.dipe-cf7 .wpcf7 textarea {
  border-width: 0px;
}
.dipe-cf7 .wpcf7 textarea {
    min-height: 100px;
    height: 100px;
    display: block;
}
.dipe-cf7 .wpcf7 input[type=submit] {
  letter-spacing: 4px;
  background-color: inherit;
  border-color: inherit;
  border-radius: 0;
}
.dipe-cf7-container .dvppl-cf7-col.noflow>span { flex-grow: 0; }
@media only screen and (min-width: 769px) {
    .dipe-cf7-container .dvppl-cf7-col label { padding: 0; }
    .dipe-cf7-container .dvppl-cf7-col>span {
      padding-right: 10px;
      padding-left: 10px;
    }
    .dipe-cf7-container .dvppl-cf7-col>span:first-child { padding-left: 0; }
    .dipe-cf7-container .dvppl-cf7-col>span:last-child { padding-right: 0; }
}
@media only screen and (max-width: 769px) {
  .dipe-cf7-container .dvppl-cf7-col>span { display: block; }
}
.dipe-cf7-container span.wpcf7-list-item { margin-left: 0; }
/* ----- FIN FORMULARIO CONTACTO ----- */
