/*
Theme Name: Atm
Theme https://ingergarrido.cl
Author: Amostudio
Author URI: https://ingergarrido.cl
Description: Atm
Text Domain: Atm
*/

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

.breadcrumbs .elementor-icon-list-items li:last-child span{
    color: #BDD33C !important
}

.text-color{
    color: var(--e-global-color-primary);
}

.contenedor_img{
    overflow: hidden
}

.contenedor_img:hover .img_zoom{
    transform: scale(1.05)
}



/* Formularios */

:where(.wp-block-columns) {
    margin-bottom: 1em !important;
}

/* Placeholder visual */
.file-upload-placeholder {
	background: url('https://ingergarrido.cl/demo/atodamaquina/wp-content/uploads/2025/05/landscape-placeholder-svgrepo-com.svg') no-repeat center center;
	background-size: cover;
	width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
}

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

.jet-form-builder-file-upload__content,
.jet-form-builder-file-upload__file{
	min-height: 100px !important;
    min-width: 100px !important;
	width: 100px !important;
    height: 100px !important;
}
.editar .jet-form-builder-file-upload__fields {
    padding: 12px 10px;
    background-color: #F1F3F4;
	color: #afb2b3
}

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

.editar .jet-form-builder-file-upload__input::file-selector-button {
	background-color: #F1F3F4;
	color: #0C0C0C;
	border: none;
	border-radius: 0;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-weight: 400
}

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

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

.contenedor_botones svg{
    width: 1.2em !important
}

.boton_cerrar_sesion:hover svg path{
    fill: #C02315
}

.boton_activo svg path{
    fill: #303030
}



.boton_inactivo svg path{
    fill: #C6C6C6
}

.boton_inactivo:hover svg path{
    fill: #303030
}

/* Campo galeria 
  .file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .file-item {
    position: relative;
    width: 100px;
    text-align: center;
    font-size: 12px;
	  margin-top: 15px
  }

  .file-item img {
    width: 50px;
    height: 50px !important;
    object-fit: cover;
    border: 1px solid #ccc !important;
	margin: 0 auto;
  }

	#galeria-preview .file-item div {
	font-size: 11px;
    color: #333;
    font-weight: 400;
    white-space: pre-wrap;
    max-width: 100px;
    line-height: 1.2em;
    margin-top: 5px;
	}

  .remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #df5959 !important;
    color: white;
    border: none;
    border-radius: 50% !important;
    font-size: 14px;
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    padding: 0 0 2px 0 !important;
  }
*/
/******************** 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;
  }
	
	.doble_titulo br, br_display br{
		display: block
	}
}
