/*
    Version: 1.0.7
*/
.ast-builder-grid-row {
    grid-column-gap: 0 !important;
}
@media (max-width: 600px) {
#content{
        background: transparent!important;
    margin-top: -2.5rem;
    position: relative;
    z-index: 200;
}
}
/* Header */
.container_hero_contact{
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
    align-items: center;
     margin-top:-1rem;
     padding-bottom:3.5rem;
}
@media (min-width: 600px) {
    .container_hero_contact{
         padding-bottom:5rem;
    }
}
@media (min-width: 1024px) {
    .container_hero_contact{
        margin-top:2rem;
        padding-bottom:9rem;
    }
}
@media (max-width: 600px) {
    .container_hero_contact .header-text{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}
.container_hero_contact .header-text h1, .container_hero_contact .header-text h2{
    text-align: center;
}
.container_hero_contact .header-text h1 {
    font-family: Montserrat_Bold;
    color: #c33d3c;
    font-size: 3.5vw;
    margin: 0;
    width: 50%;
}
.container_hero_contact .header-text h2{
    font-family: Poppins_SemiBold;
    color: #121437;
    font-size: 4.5vw;
}
@media (min-width: 600px) {
    .container_hero_contact .header-text h1 {
        font-family: Montserrat_SemiBold;
        font-size: 2vw;
        margin: 0.67em 0;
        width: 100%;
    }
    .container_hero_contact .header-text h2{
        font-size: 4vw;
    }
}
@media (min-width: 1024px) {
    .container_hero_contact .header-text h1 {
        font-family: Montserrat_SemiBold;
        font-size: 1.25rem;
                margin: 0;
        width: 100%;
    }
    .container_hero_contact .header-text h2{
        font-size: 3.125rem;
    }
}

/* Center_ informtation and form */
#contact{
    margin: 2rem 0 0 0;
}
@media (max-width: 600px) {
    #contact{
        width: 85%;
        margin: 1rem auto;
        padding:  1rem 0 0 0;
        background-color: #f9f9f9;
        border-radius: 6px;
    }
}
@media (max-width: 1025px) and (min-width: 600px) {
    #contact{
        width: 90%;
        margin: 3rem auto;
    }
}
#contact p, #contact h1, #contact textarea{
    color: #121437;
    white-space: pre-line;
}
@media (min-width: 600px) {
    #contact textarea{
        color: rgba(60, 60, 59, 0.35);
    }
}


/* FORM */
#contact #form_contact form label{
    font-family: Montserrat_Medium;
    color: #121437;
    font-size: 1rem;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
}
@media (min-width: 600px) {
    #contact #form_contact form label{
        font-family: Montserrat_Regular;
        color: rgba(60, 60, 59, 0.35);
        font-size: 1.25rem;
        font-weight: 600;
    }
}
#contact #form_contact{
    margin: 0;
}
@media (max-width: 600px) {
    #contact #form_contact{
        margin: 0;
        padding: 0;
        border-radius: 6px;
    }
     #contact #form_contact > div{
        padding: 0;
    }
}
#contact #form_contact form{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}
@media (max-width: 600px) {
    #contact #form_contact form{
        gap: 1.8rem;
    }
}
#contact #form_contact form > p{
    flex-basis: 80%;
    display: flex;
    padding: 0;
    margin: 0;
}
@media (min-width: 600px) {
    #contact #form_contact form > p{
        flex-basis: 30%;
    }
    #contact #form_contact form > p:nth-child(5){
        flex-basis: 65%;
    }
}
@media (min-width: 1000px) {
    #contact #form_contact form > p:nth-child(5){
        flex-basis: 100%;
    }
}
#contact #form_contact form > p:last-of-type{
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
}
#contact #form_contact form > p:last-of-type span{
    flex-basis: 100%;
    justify-content: center;
    display: flex;
    padding: 0.3rem 2rem 0 2rem;
    background-color: transparent;
}
@media (min-width: 600px) {
    #contact #form_contact form > p:last-of-type span{
        flex-basis: 100%;
    }
}
#contact #form_contact form > p:last-of-type span::before{
    justify-content: center;
    display: flex;
    position: initial;
    background-color: #c33d3c;
}
#contact #form_contact form .message{
    width: 100%;
    padding: 0 1rem;
}
@media (max-width: 600px) {
    #contact #form_contact form .message{
        padding: 0;
    }
}
#contact #form_contact form .message textarea{
    padding: 1rem 0 0 0;
    border: none;
    background: transparent;
    border-bottom: 2px solid #121437;
    height: 8em;
    resize: none;
}
#contact #form_contact form .wpcf7-not-valid-tip{
    color: #c33d3c;
}
#contact #form_contact form  label input{
    background: transparent;
    border: 0;
    border-bottom: 2px solid #121437;
    padding: 0 0 0.75rem 0;
    color: #121437;
}
@media (min-width: 600px) {
    #contact #form_contact form  label input{
        color: rgba(60, 60, 59, 0.35);
    }
}
#contact #form_contact form  label{
    display: flex;
    position: relative;
}
#contact #form_contact form  label.message{
    display: block;
}
#contact #form_contact form   .icon_name,
#contact #form_contact form   .icon_email,
#contact #form_contact form   .icon_subject{
    display: block;
    width: 16px;
    height: 16px;
    border: 0;
    margin: 0;
    position: absolute;
    right: 5%;
    top: 17%;
}
#contact #form_contact form  label.name .icon_name{
    background: url('../img/wardroomperson.png') no-repeat;
    background-size: cover;
}
#contact #form_contact form  label.e_mail .icon_email{
    background: url('../img/wardroommessage.png') no-repeat;
    width: 23px;
    background-size: cover;
}
#contact #form_contact form  label.subject .icon_subject{
    background: url('../img/icon_subject_contact.png') no-repeat;
    width: 17px;
    height: 17px;
    background-size: 100% 100%;
}
#contact #form_contact form  label input::placeholder{
    font-family: Montserrat_Medium;
    color: #121437;
    font-size: 1rem;
    font-weight: 600;
}
@media (min-width: 600px) {
    #contact #form_contact form  label input::placeholder{
    font-family: Montserrat_Regular;
    color: rgba(60, 60, 59, 0.35);
    font-size: 1.25rem;
    }
}
/* btn */
.wpcf7-form-control.has-spinner.wpcf7-submit{
    font-family: Montserrat_Bold;
    font-size: 0.875rem;
    background-color: #C33D3C;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 20px !important;
    line-height: 1;
}
.icon_mobile_contact{
    display: block;
    display: flex;
    justify-content: center;
    border: 0;
    margin: 0 !important;
    column-gap: 1rem;
    align-items: baseline;
}
@media (min-width: 600px) {
    .icon_mobile_contact{
        display: none;
    }
}
.icon_mobile_contact span{
    display: block;
    width: 16px;
    height: 30px;
    border: 0;
    margin: 0;
}
#contact #form_contact form .wpcf7-response-output
{
    font-family: Montserrat_Regular;
    font-size: 1rem;
    text-align: center;
    border: none;
}
#contact #form_contact form.invalid .wpcf7-response-output
{
    color: #c33d3c;
}
#contact #form_contact form.sent .wpcf7-response-output
{
    color: Black;
}


/* Icon Contact */
#icon_contact{
    padding: 5rem 0 1rem 0;
}
@media (min-width: 600px) {
    #icon_contact{
        padding: 3rem 0 8rem 0;
    }
}
#icon_contact > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 1.5rem;
}
@media (min-width: 600px) {
    #icon_contact > div{
        row-gap: 2.5rem;
    }
}
#icon_contact .card{
    flex-basis: 100%;
}
@media (min-width: 600px) {
    #icon_contact .card{
        flex-basis:33%;
    }
}
#icon_contact .card a{
    text-decoration: none;
}
#icon_contact .card .icon_card{
    margin: 0 0 0.5rem 0;
}
#icon_contact .card h2{
   font-size: 4.9vw;
   color: #121437;
   font-family: Montserrat_SemiBold;
   font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.9;
  letter-spacing: normal;
}
@media (min-width: 600px ) {
    #icon_contact .card h2{
        font-size: 1.25rem;
     }
}
/* IMAGE */
.entry-content.clear .elementor-section-wrap{
    position: relative;
}
#img_down{
    background: url(../img/Trazado_Home_Down.png) top / 100% 30%;
    background-repeat: no-repeat;
    background-color: #f3f3f3;
    width: 100%;
    position: absolute;
    bottom: 0;
    /* padding-top: 27rem; */
    left: 0;
    height: 485px;
}
@media (max-width: 1000px) {
    #img_down{
        background-size: 150% 15%;
    }
}
@media (max-width: 600px) {
    #img_down{
        background-size: 200% 15%;
    }
}
#img_down > div{
    background: url(../img/trazadoabout.png);
    width: 100%;
    height: 60%;
    max-width: 100%;
    background-size: 100% 100%;
    bottom: 0;
    position: absolute;
}
#icon_mobile{
    padding: 0 0 1rem 0;
}

@media(max-width:1025px){
	.container_hero_contact .header-text h1 {
    font-size: 1rem !important;
	padding-top:10px !important;
	}
	.container_hero_contact .header-text h2{
		font-size:1.25rem !important;
		padding-bottom:20px !important;
	}
	#contact{
	margin-top:70px;
	}
	#icon_contact{
		margin-top:60px;
	}

}
@media(min-width:600px){
	#img_down{
		height:37%;
	}
}
@media(min-width:768px){
	#img_down{
		height:37%;
	}
}
@media(min-width:1024px){
	#icon_contact{
		padding:3rem 0 2rem;
	}
	#icon_contact>div{
		padding-top:5rem;
	}
	#img_down{
		z-index:-1;
		height:605px;
	}
}
