/* Crea la estructura de estilos basica del autocomplete */ .autocompleteDianPuj { display: flex; flex-direction: column; margin: 0; padding: 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; text-align: left; color: #212529; box-sizing: border-box; } .autocompleteDianPuj > ul{ margin-top: 0; margin-bottom: 1rem; font-size: 0.85rem; } .autocompleteDianPuj > .divSection1 { display: flex; } .autocompleteDianPuj > .divSection1 > .divInput{ width: 100%; margin: 0; padding: 0; } /* simula los estilos css de bootstrap para el input */ .autocompleteDianPuj > .divSection1 > .divInput > .userAddress { display: block; width: 100%; padding: 0.375rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; border-radius: 0.25rem; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; } .autocompleteDianPuj > .divSection1 > .divInput > .userAddress:focus { border-color: #007bff; outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .autocompleteDianPuj > .divSection1 > .divInput > .divResults { padding-left: 0.25rem!important; padding-right: 0.25rem!important; margin-top: 0.25rem!important; } .autocompleteDianPuj > .divSection1 > .divInput > .divResults > .itemAutoCompleteDianPUJ { padding: 0.5rem!important; border-radius: 0.25rem!important; border: 1px solid #dee2e6!important; transition: background-color 0.5s!important; } .autocompleteDianPuj > .divSection1 > .divInput > .divResults > .itemAutoCompleteDianPUJ:hover { background-color: rgba(0,123,255,.15)!important; } .autocompleteDianPuj > .divSection1 > .divButton { margin-left: 1.25rem;; padding: 0; } .autocompleteDianPuj > .divSection1 > .divButton > .getDianFormat { cursor: pointer; color: #fff; background-color: #007bff; display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; border-radius: 0.25rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .autocompleteDianPuj > .divSection1 > .divButton > .getDianFormat:active { color: #fff; background-color: #0062cc; border-color: #005cbf; } .autocompleteDianPuj > .divSection1 > .divButton > .getDianFormat:focus { color: #fff; background-color: #0069d9; border-color: #0062cc; box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5); } .autocompleteDianPuj > .divSection1 > .divButton > .getDianFormat:hover { color: #fff; background-color: #0069d9; border-color: #0062cc; } .autocompleteDianPuj > .divSection2 > label { display: inline-block; margin-top: 1.5rem!important; margin-bottom: 0.5rem; } .autocompleteDianPuj > .divSection2 > .dianFormatAddress { margin-top: 0.25rem!important; margin-bottom: 1rem; }