/*
Theme Name: brokerfy
Theme URI: https://prgrss.cl/
Author: Freaktools Agencia Digital
Author URI: https://prgrss.cl/
Description: Brokerfy
Text Domain: Brokerfy
*/

/****************************** ESTILOS BASE ******************************/

:root {
  --font-principal: Helvetica, Arial, sans-serif;
  --font-secundaria: Verdana;
  --color-principal-textos: #333;
  --color-background: #fff;
}

/* Configuramos la tipografía para toda la web */
body {
  min-height: 100vh;
  font-size: 100%;
  font-family: var(--font-principal);
  color: var(--color-principal-textos);
  background-color: var(--color-background);
  overflow-x: hidden;
}

*:focus {
  outline: none;
  opacity: 1;
  -webkit-box-shadow: none;
  box-shadow: none !important;
}

/* Reseteamos los margin y paddings de todas las etiquetas */
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  vertical-align: baseline;
}

/* Evitamos problemas con las imagenes */
img,
picture,
video {
  max-width: 100%;
  width: 100%;
  display: block;
  margin: 0;
}

ul,
ol {
  margin-left: 15px;
}

li {
  margin: 5px 10px;
}

/* Reseteamos los enlaces para funcionar como cajas... */
a {
  display: block;
}

/* ... excepto los que se encuentran en párrafos */
p a {
  display: inline;
}

/* Configuramos anclas suaves */
html {
  scroll-behavior: smooth;
}

/* Desactivamos estilos por defecto de las principales etiquetas de texto */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
blockquote,
u {
  font-size: 1em;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: none;
  color: inherit;
}

/* Evitamos problemas con los pseudoelementos de quotes */
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

/* Nivelamos problemas de tipografías y colocación de formularios */
form,
input,
textarea,
select,
button,
label {
  font-family: inherit;
  font-size: inherit;
  hyphens: auto;
  background-color: transparent;
  display: block;
  color: inherit;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
}

/* Reseteamos las tablas */
table,
tr,
td {
  border-collapse: collapse;
  border-spacing: 0;
}

::placeholder {
  opacity: 1 !important;
}

.elementor-text-editor p:not(:last-child),
.jet-listing-dynamic-field__content p:not(:last-child),
.elementor-widget-theme-post-content p:not(:last-child),
.elementor-widget-text-editor p:not(:last-child) {
  margin-bottom: 15px !important;
}

.jet-listing-dynamic-field__inline-wrap {
  display: flex;
  align-items: start;
}

span.elementor-button-icon.elementor-align-icon-right {
  font-size: 1.3em;
  display: flex;
  margin-left: 10px;
}

.elementor-icon-wrapper{
  line-height: 0;
}

/******************** ESTILOS DEL CORE WORDPRESS ********************/

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 3em 0 3em -0.8em;
  width: calc(100% + 1.6em);
}

.gallery-item {
  margin: 0.8em 0;
  padding: 0 0.5em;
  width: 100%;
}

.gallery-caption {
  display: block;
  margin-top: 0.8em;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* ------------------------------------------------------------------------------------------------- */
/* --------------------------------------------- CUSTOM -------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */

/******************** MEDIA QUERIES ********************/

@media (min-width: 700px) {
  .gallery-columns-2 .gallery-item {
    max-width: 50%;
  }

  .gallery-columns-3 .gallery-item {
    max-width: 33.33%;
  }

  .gallery-columns-4 .gallery-item {
    max-width: 25%;
  }
}

@media (max-width: 1024px) {
}

@media (max-width: 767px) {
  .gallery-columns-2 .gallery-item {
    max-width: 50%;
  }

  .gallery-columns-3 .gallery-item {
    max-width: 50%;
  }

  .gallery-columns-4 .gallery-item {
    max-width: 50%;
  }

  br {
    display: none;
  }
}
