/*
Theme Name: ADC Theme
Description: Tema para la web de ADC. Usando como base Hello Elementor
Author: Adrián Lazarte
Template: hello-elementor
Version: 1.0.1
*/

/* @import url('https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap'); */

:root{
  --adc-color-yellow: #fcce16;
  --adc-color-dark: #1a171b;
  --adc-color-gray: #f4f4f4;
  --adc-color-gray-dark: #646567;
  --adc-color-gray-2: #87888a;
  --adc-font-1: 'Cal Sans', Arial, Helvetica, sans-serif;
}

body.elementor-kit-7{
  /* --e-global-typography-secondary-font-family: 'Cal Sans';
  --e-global-typography-db0addf-font-family: 'Cal Sans';
  --e-global-typography-a39d0b5-font-family: 'Cal Sans';
  --e-global-typography-a5af0a2-font-family: 'Cal Sans'; */


}
.custom-title-font, .custom-title-font *{
  font-family: var(--adc-font-1);
}

/* Fix for the news items */
.custom-news-item .elementor-widget-image a{
  width: 100%;
}

/* Form */
.custom-form{
  width: 600px;
  margin: 20px auto 0;
}
.custom-form .frm_forms.with_frm_style .frm_submit button{
  display: block;
  width: 100%;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif;
}
.custom-form .with_frm_style .frm_required{
  color: #000;
}
.custom-form .frm_style_estilo-de-formidable.with_frm_style .form-field input:not([type=file]):not([type=range]):not([readonly]){
  background-color: transparent !important;
}

.m_custom-form .custom-field{
  margin-bottom: 16px;
}
.m_custom-form .custom-field p{
  margin-bottom: 0;
}
.m_custom-form .custom-field .field-name{
  margin-bottom: 3px;
}
.m_custom-form input[type=date], .m_custom-form input[type=email], .m_custom-form input[type=number], .m_custom-form input[type=tel], .m_custom-form input[type=text], select {
  border-radius: 8px;
  border-color: #D0D5DD;
  background: transparent;
}
.m_custom-form textarea{
}

.m_custom-form .custom-submit .wpcf7-submit{
  display: block;
  width: 100%;
  margin-top: 32px;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif;
  font-size: 25px;
  text-align: center;
  background: #1a171b;
  border: 0;
  border-radius: 20px;
  color: #ffffff;
  font-weight: 400;
}

/* Custom Title Lines */
@media(min-width: 768px){
  .custom-title .elementor-heading-title{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .custom-title .elementor-heading-title::before,
  .custom-title .elementor-heading-title::after{
    content: "";
    display: block;
    width: 20%;
    max-width: 80px;
    height: 1px;
    background-color: var(--adc-color-dark);
  }

  .custom-title.yellow .elementor-heading-title::before,
  .custom-title.yellow .elementor-heading-title::after{
    background-color: var(--adc-color-yellow);
  }
}

/* Map */

.m_adc-map .columns{
  max-width: 900px;
  margin: 0 auto;
}
@media(min-width: 768px){
  .m_adc-map .columns{
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 300px;
  }
}
@media(min-width: 992px){
  .m_adc-map .columns{
    grid-template-columns: 1fr 360px;
  }
}

.m_adc-map .map-container .mapa{
  max-width: 300px;
  margin: 0 auto;
}
@media(min-width: 768px){
  .m_adc-map .map-container .mapa{
    max-width: 440px;
  }
}
.m_adc-map .map-container img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.m_adc-map .address-container .direccion{
  font-family: var(--adc-font-2);
  background: #f4f4f4;
  border-radius: 16px;
  padding: 24px;
  color: var(--adc-color-dark);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}
.m_adc-map .address-container .direccion h4{
  font-family: var(--adc-font-1);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 6px;
}
.m_adc-map .address-container .direccion a{
  color: var(--adc-color-gray-2);
}

.m_adc-map .direccion-item{
  display: none;
}
.m_adc-map .direccion-item.active{
  display: block;
}