.formy_form {
  margin-block-end: 0;
}

.formy_table {
    width: 98%;
    margin: auto;
    padding-top: 15px;
}

.formy_table INPUT,
.formy_table SELECT {
    font-size: unset;
    border: none;
    border-bottom: 1px solid silver;
    padding: 5px;
    transition: 0.2s;
    outline: none;
    background: white;
}


.formy_table INPUT:focus, .formy_table SELECT:focus,
.formy_table .inputSelect:focus-within {
    background-color: rgba(241,241,241);
}

.formy_table TEXTAREA:disabled,
.formy_table SELECT:disabled,
.formy_table INPUT:disabled {
  background-color: #f3f3f3;
}

.formy_table TEXTAREA:invalid,
.formy_table SELECT:invalid,
.formy_table INPUT:invalid {
  background-color: #fff1ef;
}

.formy_table .input {
    cursor: pointer;
    border: none;
    color: white;
    background: #242b2f;
    padding: 5px 15px;
    transition: 0.24s;
}

.formy_table .input:hover {
    background-color: white;
    color: black;
}

.formy_table .inputEliminar {
  background: red;
}
.formy_table .inputEliminar:hover {
  background: white;
}

.formy_fila1 {
    background: #FDFDFD;
}

.formy_table TD:focus-within {
  background-color: #F9F9F9;
  border: 1px solid silver;
}

.formy_table TD.formy_caption {
  color: white;
  background: #242b2f;
  text-align: center;
  font-size: x-large;
  font-weight: bold;
  padding: 5px;
  position: sticky;
  top: 0px;
  z-index: 19;
}

.formy_table TD {
    padding: 2px 10px 3px 5px;
    border: 1px solid transparent; /* para evitar un movimiento cuando tiene el foco dentro de el */
}

.formy_ultimafila {
  position: sticky;
  bottom: 0;
}

.formy_ultimafila TD {
    padding: 10px;
    background-color: #eee;
    border: none;
    border-top: 1px solid silver;
}

.formy_ultimafila BUTTON {
    font-size: initial;
    font-weight: bold;
    transition: box-shadow 1s ease-in-out, color 1s ease-in-out;
}

.formy_ultimafila BUTTON:hover {
  border-bottom: 1px solid silver;
  box-shadow: 0 0 12px 12px #fff inset;
  color: black;
}

.formy_table TD.formy_label {
    font-size: large;
    vertical-align: middle;
    border: none;
    padding: 5px;
    width: 200px;
    font-weight: bold;
    cursor: default;
    user-select: none;
}


.formy_table .imgCalendar.requerido,
.formy_table INPUT.requerido,
.formy_table SELECT.requerido,
.formy_table textarea.requerido {
    border-right: 2px solid black;
}



.formy_table INPUT[type='range']:hover {
    border: none !important;
    padding: 5px;
}


/*** https://codepen.io/jacoba/pen/wWQKZw  ***/
.formy_table INPUT[type=range]{
    -webkit-appearance: none;
    background: transparent;
    width: 100%;
    border: none !important;
    box-shadow: none;
    vertical-align: middle;
}

.formy_table INPUT[type=range]:focus {
    outline: none;
}

.formy_table INPUT[type=range]::-webkit-slider-runnable-track {
  height: 5px;
  width: 90%;
  background: rgba(78,78,76,1);
  cursor: pointer;
}
.formy_table INPUT[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  background-color: #ffdea2;
  border: 3px solid #9cd3d2;
  margin-top: -9px;
  border-radius: 50%;
  transition: .1s ease-in-out;
}
.formy_table INPUT[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}


/**MOZ**/

.formy_table INPUT[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  background-color: #ffdea2;;
  border: 3px solid #9cd3d2;
  margin-top: -9px;
  border-radius: 50%;
  transition: .1s ease-in-out;
  cursor: pointer;
}
.formy_table INPUT[type=range]::-moz-range-track {
  height: 5px;
  width: 100%;
  background: rgba(78,78,76,1);
  cursor: pointer;
}
.formy_table INPUT[type=range]::-moz-focus-outer {
    border: 0;
}
/*** https://codepen.io/jacoba/pen/wWQKZw  ***/


/* Nuevos autocomplete */
.formy_table .autoComplete_wrapper > ul {
  box-shadow: 5px 5px 13px -5px;
  min-width: 100%;
  width: max-content;
  margin-top: 1px;
}

.formy_table .autoComplete_wrapper > ul > li {
  padding: 5px 10px;
  font-size: .9rem;
  font-weight: normal;
}

.formy_table .autoComplete_wrapper > ul > li DIV:nth-child(3) {
  font-size: .95em;
  color: #888;
}

.formy_table .autoComplete_wrapper > ul > li DIV:nth-child(4) {
  font-size: .95em;
  text-align: right;
  color: #ff8383;
}


/* NUEVO SELECT EXTENDIDO DE AUTOCOMPLETE */
.formy_table .inputSelect {
  border-radius: 4px;
  border: 1px solid silver;
  display: inline-grid;
  grid-template-columns: 1fr 15px 3px;
}
.formy_table .inputSelect.required {
  border-right: 3px solid black;
}
.formy_table .inputSelect:hover {
  background-color: #EAEAEA;
}
.formy_table .inputSelectIcon {
  background-image:  url(/include/formy/downicon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  place-self: auto;
  margin-left: 3px;
}
.formy_table .inputSelect INPUT {
  border: none;
  border-radius: 2px;
  padding-left: 5px;
  color: unset;
}
