/*
 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
------------------------------------------------------- */
/* body */

.et_pb_section {
  background-color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 110%;
}

p {
  font-size: 16px;
}

/* Headers */

h1, h2, h3 {
  font-family: 'Josefin Sans', sans-serif; /*'Josefin Sans', sans-serif;*/
  /*'Montserrat', sans-serif; */
  /*font-family: 'Antic', sans-serif;*/
  padding-bottom: 20px;
  text-align: center;
  color: #611093;
}

h4 {
  line-height: 1.3em;
}

p strong {
  color: #555252;
}


/* Barra superior y menú */

/* color hover en el boton search */
#et_search_icon:hover:before { 
  color: #ffffff !important;
  opacity: .7;
}


#et-secondary-nav li ul, #top-header {
    /*background-color: #a28f9d;*/
    background-color: #1ea09a /* #9727ba*/;
}


#et-top-navigation[style]{ 
  padding-left: 1px !important; 
}


/*
#et-top-navigation {
    float: left;
}
*/

.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
padding-top: 80px;
}

.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation {
  padding-top: 60px;
}

#logo {
  vertical-align: top;
  max-height: 50%;
  margin-top: 10px;
}

#main-header {
  background-color: #A5E6E4  /* #f0e5ff #e9e3fc #f6eafc #9727ba *#f6eafc*/;
  font-family: 'Montserrat', sans-serif;
}

#top-menu a {
  color: #00000 /*#1ea09a #611093*/;
  line-height: 100%;
  font-family: 'Montserrat', sans-serif;
  margin-left: 1em;
  line-height: 150%;
  /*background-image: url("fondo_menu.png");*/
  background-repeat: no-repeat;
  letter-spacing: 1px;
  font-weight: Medium;
}

#menu-item-6118 a {
  color: #9727BA /*#9727ba  #eb2737*/ ; /*cursos actuales */
  /*background-image: url("fondo_menu_verde.png");*/
  background-repeat: no-repeat;
  font-weight: Medium;
}

#top-menu li.current-menu-item > a {
  color: #1EA09A;
}

/* Botones */

.et_pb_button {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  border-top-color: #9727ba;
  border-right-color: #9727ba;
  border-bottom-color: #9727ba;
  border-left-color: #9727ba;
  background-color: #9727ba;
}

.et_pb_button:hover {
  background-color: #611093 !important;
}

/* cita */
.cita {
  margin-top: 50px;
  font-family: 'Montserrat', sans-serif;
  color: #611093;
  font-size: 30px;
  line-height: 150%;
  text-align: right;
}

/* Footer */

#main-footer {
    background-color: #1EA09A;
}

#footer-info {
  color: #FFF;
}

#footer-widgets .footer-widget, #footer-widgets .footer-widget a, #footer-widgets p {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
}

#footer-info a {
  color: #FFF;
  text-decoration: underline;
}


.tnp-widget input.tnp-submit, .tnp-widget input[type="submit"] {
  background-color: #A5E6E4 !important;
  border: none !important;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  cursor: pointer;
  color: #1EA09A !important;
}

.widget input[type="submit"] {
  border: none;
}

.tnp-widget .tnp-field a{
	color: #fff !important;
}

/* efecto hover páginas madres */
.hover-bio-wrapper {
 position: relative;
 color: rgba(0,0,0,0);
 width: 100%
}
  
figure.hover-bio img{
 display: block;
}
  
figure.hover-bio {
 position: relative;
 overflow: hidden;
 margin: 0;
 padding: 0;
 display: inline-block;
 line-height: 0;
}
  
figure.hover-bio::before, figure.hover-bio::after{
 position: absolute;
 background: black;
 opacity: 0.3;
 content: '';
 height: 100%;
 width: 100%;
 display: block;
 top: 0;
 left: 0;
 -moz-transform: translate3d(0, -100%, 0);
 -webkit-transform: translate3d(0, -100%, 0);
 transform: translate3d(0, -100%, 0);
 -moz-transition: all 0.8s;
 -webkit-transition: all 0.8s;
 transition: all 0.8s;
}
  
figure.hover-bio figcaption{
 position: absolute;
 background: #611093;
 display: block;
 line-height: 1.7em;
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
 text-align: left;
 padding: 10px;
 z-index: 100;
 width: 100%;
 max-height: 100%;
 overflow: hidden;
 top: 50%;
 left: 0;
 -moz-transform: translate3d(-100%, -50%, 0);
 -webkit-transform: translate3d(-100%, -50%, 0);
 transform: translate3d(-100%, -50%, 0);
 opacity: 0;
 -moz-transition: all 0.8s;
 -webkit-transition: all 0.8s;
 transition: all 0.8s;
}
  
figure.hover-bio img{
 -moz-transform: translate3d(0, 0, 0);
 -webkit-transform: translate3d(0, 0, 0);
 transform: translate3d(0, 0, 0);
 -moz-transition: all 0.8s;
 -webkit-transition: all 0.8s;
 transition: all 0.8s;
}
  
figure.hover-bio figcaption{
 top: 100%;
 opacity: 1;
 -moz-transform: translate3d(0, 0, 0);
 -webkit-transform: translate3d(0, 0, 0);
 transform: translate3d(0, 0, 0);
}
  
figure.hover-bio:hover img {
 opacity: .5;
}
  
figure.hover-bio:hover figcaption{
 background-color: #611093;
 color: #fff;
 height: 100%;
 opacity: 1;
 -moz-transform: translate3d(0, -100%, 0);
 -webkit-transform: translate3d(0, -100%, 0);
 transform: translate3d(0, -100%, 0);
 /*
 -moz-transition: all 0.8s;
 -webkit-transition: all 0.8s;
 transition: all 0.8s;
 box-shadow: 0px -2px 28px rgba(255,255,255, 0.3);
 */
 display: flex;
 justify-content: center;
 align-items: center;
}

figcaption a {
 color: #fff;
}

/* Tabla cursos actuales */

/*
.schdule-table td:hover, .schdule-table th:hover {
  color: #FFFFFF;
  background-color: #611693;
}

.schdule-table td a:hover {
  color: #FFFFFF;
}
*/


.schdule-table tr:hover, .schdule-table tr:hover h3 {
  color: #FFFFFF;
  background-color: #611693;
}

.schdule-table .et_pb_button a, .schdule-table .et_pb_button a::after {
  font-size: 28px !important;
}

.schdule-table .et_pb_button {
  margin-top: 20px;
}

/* tienda */

.summary, .woocommerce-tabs {
  font-family: 'Montserrat', sans-serif;
}

.price {
  display: none;
}

/**  Estilos al botón de Realizar Pedido  **/
button#place_order.button.alt {
  margin-top: 30px;
  margin-bottom: 15px;
  
}

button.button,
button.single_add_to_cart_button.button.alt,
a.checkout-button.button.alt.wc-forward,
a.button.wc-forward,
button#place_order.button.alt {
  color: #8242A9 !important;
}

div.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: #8242A9 !important;
}

.wpcf7-form{
	text-align:center !important;
}
#footer-widgets .footer-widget a{
	color: #fff;
}

.ancho-completo-video video {
  width: 100%;
  height: auto;
}
