/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
Text Domain: hello-elementor-child
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 */

@import url('https://fonts.googleapis.com/css2?family=Literata:ital,wght@0,400;0,700;1,400;1,700&display=swap');


input:focus-visible{
    outline: none;
}

/*
**Header
*/
body {
	background-color: #f3f2ec;
}

#content {
	max-width: 1440px;
 	margin-left: auto;
	margin-right: auto;
}

#header-menu{
    background-color: #fff;
}

#header-menu .current-menu-item > a.elementor-item ,
#header-menu  .elementor-nav-menu li > a.elementor-item:hover{
    position: relative;
}

#header-menu .current-menu-item > a.elementor-item::after ,
#header-menu .elementor-nav-menu li > a.elementor-item:hover::after{
    content: '';
    position: absolute;
    background-color: #CCFF00 !important;
    bottom: -7px;
    left: 0;
    right: 0;
    height: 20px !important;
    z-index: -1;
}

@media(max-width:1024px){
    #header-menu .elementor-nav-menu--dropdown{
        width: 147px;
        margin-top: 10px;
    }

    .home #header-menu .elementor-nav-menu{
        padding-top: 11px;
    }


    #header-menu .elementor-nav-menu--dropdown li{
        display: flex;
        justify-content: flex-end;
        padding-right: 4px;
        padding-left: 7px;
    }


    #header-menu .elementor-nav-menu--dropdown a{
        width: fit-content;
        
    }
    #header-menu .elementor-nav-menu--dropdown .current-menu-item a {
        position: relative;
        z-index: 1;
    }

    #header-menu .current-menu-item > a.elementor-item.elementor-item-active::after {
        bottom: 6px !important;
        height: 12px !important;
    }

    #header-menu .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main {
        display: flex !important;
        justify-content: end;
        padding-right: 40px;
    }

    #header-menu .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main .elementor-nav-menu li {
        display: none !important;
    }

    
    #header-menu  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main .elementor-nav-menu .current-menu-item {
        display: flex !important;
        
    }

    #header-menu  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main .elementor-nav-menu .current-menu-item a{
        margin: 0 !important;
    }
    #header-menu  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main .elementor-nav-menu .current-menu-item a::after{
        bottom: -4px !important;
    }

}




/*
**Footer
*/


@media(max-width:1024px){
    #color-footer{
        background-color: black;
    }
}


/**
**Activitat Page
*/

#curs-text-custom{
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#curs-text-custom p{
    margin-bottom: 21px;
}

#formulario-formacio .title{
    font-family: Barlow Condensed;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 5%;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 0;
}

#formulario-formacio .title2{
    font-family: Barlow Condensed;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 5%;
    text-transform: uppercase;
    margin-bottom: 29px;
    margin-top: 0;
}


#formulario-formacio .subtitle{
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 27px;
    letter-spacing: 0%;
    margin-bottom: 21px;
}
#formulario-formacio .text-area-custom{
    height: 221px;
    margin-bottom: 5px;
}
#formulario-formacio .text-area-custom textarea{
    background: transparent;
    border: 0.8px solid #000;
    border-radius: 0;
    height: 221px;
}

#formulario-formacio .text-area-custom p{
    margin: 0;
}


#formulario-formacio .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label{
    font-family: DM Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0%;
    margin-bottom: 35px;
}

#formulario-formacio .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item{
    margin: 0;
}

#formulario-formacio .fila-dos-columnes p{
    margin: 0;
}
#formulario-formacio .fila-dos-columnes{
    display: flex;
    flex-direction: column;
    gap: 35px;
}

#formulario-formacio .fila-dos-columnes .columnes1 p,
#formulario-formacio .fila-dos-columnes .columnes2 p{ 
    display: flex;
    justify-content: space-between;
}

#formulario-formacio .fila-dos-columnes .columnes1 p .wpcf7-form-control-wrap,
#formulario-formacio .fila-dos-columnes .columnes2 p .wpcf7-form-control-wrap{
    width: 45%;
}

#formulario-formacio .fila-dos-columnes .columnes1 input,
#formulario-formacio .fila-dos-columnes .columnes2 .wpcf7-form-control-wrap input{ 
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #0000004D;
    background-color: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 0.79px solid #000000;
    padding: 0;
    padding-left: 3px;
}
#formulario-formacio .fila-dos-columnes .columnes2 .wpcf7-submit{
    font-family: Literata;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-left: 16px;
    padding-right: 20px;
    padding-top: 14px;
    padding-bottom: 16px;
    color: #fff;
    background-color: #4596E5;
    border: none;
    border-radius: 0;
    width: fit-content;
}

#formulario-formacio .fila-dos-columnes .columnes2 .wpcf7-spinner {
  position: absolute;
  right: 0;
  bottom: -10%;
}


#formulario-formacio .columnes1 br {
    display: none !important;
}

@media(max-width:767px){
    #curs-text-custom{
        -webkit-line-clamp: 7;
    }
    #curs-text-custom p{
        margin-bottom: 11px;
    }

    #formulario-formacio .title{
        font-size: 20px;
        margin-bottom: 5px;
    }

    #formulario-formacio .title2{
        font-size: 20px;
        margin-bottom: 14px;
		margin-top: 30px;
    }


    #formulario-formacio .subtitle{
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 15px;
    }

    #formulario-formacio .text-area-custom,
    #formulario-formacio .text-area-custom textarea{
        height: 110px;
        margin-bottom: 0px;
    }
    
    #formulario-formacio .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label{
        font-size: 14px;
        line-height: 12px;
        margin-bottom: 10px;
    }
    #formulario-formacio .wpcf7-form-control.wpcf7-acceptance input{
        width: 14px;
        height: 14px;
		margin-top: 5px;
    }
    #formulario-formacio .fila-dos-columnes .columnes1 p,
    #formulario-formacio .fila-dos-columnes .columnes2 p{ 
        display: flex;
        flex-direction: column;
        gap: 13px;
        justify-content: space-between;
    }
    #formulario-formacio .fila-dos-columnes .columnes1 p .wpcf7-form-control-wrap, 
    #formulario-formacio .fila-dos-columnes .columnes2 p .wpcf7-form-control-wrap{
        width: 100%;
    }
    #formulario-formacio .fila-dos-columnes{
        gap: 13px;
    }
    #formulario-formacio .fila-dos-columnes .columnes2 .wpcf7-submit{
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
        padding-bottom: 11px;
    }
    #formulario-formacio .fila-dos-columnes .columnes1 input,
    #formulario-formacio .fila-dos-columnes .columnes2 .wpcf7-form-control-wrap input{ 
        font-size: 14px;
        line-height: 16px;
    }
}

/*
*Agenda Page
*/

@media (max-width: 767px) {
    .custom-text-agenda p{
        margin-bottom: 16px;
    }
}



/*
**Contacto Page
*/
.form-contact-page .text-area-custom-contacto{
    height: 140px;
    margin-bottom: 5px;
}
.form-contact-page .text-area-custom-contacto textarea{
    background: transparent;
    border: 0.8px solid #000;
    border-radius: 0;
    height: 140px;
}

.form-contact-page .text-area-custom-contacto p{
    margin: 0;
}


.form-contact-page .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label{
    font-family: DM Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0%;
}

.form-contact-page .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item{
    margin: 0;
}

.form-contact-page .fila-dos-columnes p{
    margin: 0;
}
.form-contact-page .form-contact-columns{
    display: flex;
    gap: 54px;
    justify-content: space-between;
}

.form-contact-page .form-contact-columns .columna1 p,
.form-contact-page .form-contact-columns .columna2 p{ 
    display: flex;
    justify-content: space-between;
}

.form-contact-page .form-contact-columns .columna1{
    width: 36%;
}
.form-contact-page .form-contact-columns .columna2{
    width: 54%;
    padding-top: 22px;
}

.form-contact-page .form-contact-columns .columna1 p{
    flex-direction: column;
    gap: 35px;
}

.form-contact-page .form-contact-columns .columna1 input,
.form-contact-page .form-contact-columns .columna2 .wpcf7-form-control-wrap input{ 
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #0000004D;
    background-color: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 0.79px solid #000000;
    padding: 0;
    padding-left: 3px;
}

.form-contact-page    .wpcf7-submit{
    font-family: Literata;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-left: 16px;
    padding-right: 20px;
    padding-top: 14px;
    padding-bottom: 16px;
    color: #fff;
    background-color: #4596E5;
    border: none;
    border-radius: 0;
    width: fit-content;
}

.form-contact-page .columna2 .wpcf7-spinner {
  position: absolute;
  right: 0;
  bottom: -10%;
}

.form-contact-page .columna1 br {
    display: none !important;
}

.form-contact-page .form-boton{
    display: flex;
    flex-direction: column;
    align-items: end;
}
.form-contact-page .form-boton p{
    display: flex;
    flex-direction: column;
}

@media(max-width:767px){
    .form-contact-page  .text-area-custom,
    .form-contact-page  .text-area-custom textarea{
        height: 110px;
        margin-bottom: 0px;
    }
    
    .form-contact-page .form-contact-columns{
        flex-direction: column;
        gap: 14px;
    }

    .form-contact-page .form-contact-columns .columna1{
        width: 100%;
    }
    .form-contact-page .form-contact-columns .columna2{
        width: 100%;
        padding-top: 0px;
    }

    .form-contact-page  .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label{
        font-size: 14px;
		line-height: 12px;
		margin-bottom: 10px;
    }
    .form-contact-page  .wpcf7-form-control.wpcf7-acceptance input{
        width: 14px;
		height: 14px;
		margin-top: 5px;
    }
    .form-contact-page .form-contact-columns .columna1 p {
        gap: 15px;
    }
    .form-contact-page .wpcf7-submit{
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
        padding-bottom: 11px;
    }
    .form-contact-page  .form-contact-columns .columna1 input,
    .form-contact-page .form-contact-columns .columna2 .wpcf7-form-control-wrap input{ 
        font-size: 14px;
		line-height: 16px;
    }
    .form-contact-page .form-boton{
        align-items: start;
    }
}