/*
Theme Name: Cluster
Theme URI: https://www.freaktools.cl/
Author: Freaktools Agencia Digital
Author URI: https://www.freaktools.cl/
Description: Cluster
Text Domain: Cluster
*/

/****************************** 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;
}



/* 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;
}

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

.banner:after{
    content: '';
    background: #1499ff;
    opacity: 0.75;
    width: 100%;
    height: 100%;
    position: absolute;
}

.banner:before{
    z-index: 1
}

.boton-icon i{
    font-size: 13px
}

.form_proveedor .jet-form-builder__field-wrap.checkboxes-wrap.checkradio-wrap {
    width: 31%;
}


.jet-form-builder-repeater__row-fields {
    display: flex;
	align-items: center;
    gap: 15px;
}

.jet-form-builder-row.field-type-text-field{
	width: 100%
}

.field-type-repeater-field,
.wp-block-jet-forms-radio-field{
  display: flex;
  flex-direction: column;
}

.field-type-repeater-field .jet-form-builder__desc,
.wp-block-jet-forms-radio-field .jet-form-builder__desc,
.field-type-media-field .jet-form-builder__desc{
  order: 2; /* debajo del label */
}

.field-type-media-field .jet-form-builder__desc{
	font-size: 15px !important;
}

.jet-form-builder__field-wrap.jet-form-builder-file-upload {
    margin-top: 20px;
}

.field-type-repeater-field .jet-form-builder__field-wrap,
.wp-block-jet-forms-radio-field .jet-form-builder__fields-group.checkradio-wrap,
.jet-form-builder__field-wrap{
  order: 3;
}


span.numero-servicio {
    width: 30px;
    font-family: "Titillium Web", Sans-serif;
    font-size: 1.3em;
    color: #1499FF;
}

.jet-form-builder__fields-group.checkradio-wrap{
    margin-top: 10px
}

.jet-form-builder-progress-pages__item--wrapper.active-page .jet-form-builder-progress-pages__item--circle,
.jet-form-builder-progress-pages__item--wrapper.passed-page .jet-form-builder-progress-pages__item--circle{
    background-color: #1499FF;
    border: 1px solid #1499FF !important;
    color: #fff !important
}

.jet-form-builder__next-page-wrap{
    display: flex;
    justify-content: normal;
    align-items: end;
    gap: 20px;
}

.jet-form-builder__action-button-wrapper.jet-form-builder__submit-wrap.has-prev{
	display: flex;
    flex-direction: column;
    align-items: baseline;
	margin-top: 30px;
}

.column_representante {
    margin: 0;
}

/* Campo archivo formulario */

.form_files .file-upload-placeholder {
	background: url('/wp-content/uploads/2025/09/placeholder-default.svg') no-repeat center center;
	background-size: cover;
	width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
}

/* Cuando es PDF */
.form_files .file-upload-placeholder.is-pdf {
	background-image: url('/wp-content/uploads/2025/09/placeholder-pdf.svg');
}

/* Cuando es DOC/DOCX */
.form_files .file-upload-placeholder.is-doc {
	background-image: url('/wp-content/uploads/2025/09/placeholder-doc.svg');
}

.form_files .jet-form-builder-file-upload__files {
    flex-wrap: nowrap !important;
}

.form_files .jet-form-builder-file-upload__content,
.form_files .jet-form-builder-file-upload__file{
	min-height: 100px !important;
    min-width: 100px !important;
	width: 100px !important;
    height: 100px !important;
}
.form_files .jet-form-builder-file-upload__fields {
    padding: 15px 0;
    background-color: #fff;
	color: #afb2b3
}

.form_files  input#foto_de_perfil {
    font-size: 0.8em;
}

.jet-form-builder-file-upload__input::file-selector-button {
	font-family: "Titillium Web", Sans-serif;
	background-color: #fff;
	color: #1499FF;
	border: 1px solid #D1DBE3;
	border-radius: 0;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.3s ease;
	padding: 10px
}

.form_files .jet-form-builder-file-upload__input::file-selector-button:hover {
	background-color: #F1F3F4;
}

.form_files .jet-form-builder-file-upload__message {
	font-size: 0.9em;
}

.file-upload-filename{
	font-size: 14px;
	color: #333;
	margin-top: 5px;
	white-space: nowrap;
}

.campos_select .jet-form-builder-row {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
}

.campos_select .jet-form-builder__label {
    max-width: 100%;
    flex: 0 1 30% !important;
}

#categorias-actuales {
	font-size: 1em;
	font-family: "Titillium Web", Sans-serif;
	margin-top: 20px !important
}

#categorias-actuales li {
	margin: 0 !important;
	color: #1499FF !important
}

#categorias-actuales ul{
	list-style-type: disc !important;
    margin-left: 20px !important;
    padding-left: 10px !important
}

.texto_editar{
	margin-bottom: 20px
}

#form_editar .editar_categorias .wp-block-jet-forms-radio-field {
    flex-wrap: wrap !important;
}

#form_editar .editar_categorias .wp-block-jet-forms-radio-field .jet-form-builder__label {
    font-size: 1.2em !important;
}


#form_editar .editar_categorias .wp-block-jet-forms-radio-field .jet-form-builder__fields-group.checkradio-wrap {
    flex-direction: row !important;
    gap: 25px !important;
}

.jet-form-builder-row{
	position: relative;
}

.jet-form-builder-row.field-has-error .error-message{
	position: absolute;
	bottom: -22px;
}

/******************** 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;
  }
}
