/* Reset y ajustes globales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  overflow-x: hidden;
}

:root {
  --color-primary: #B78B4A;
  --color-second: #1F1F1F;
  --color-three: #D6BA91;
  --color-four: #E8CFC7;
  --color-five: #C3C9B5;
  --color-bg: #FFF;
  --gutter: 1rem;
}

/* Contenedor principal */
.wrp-100{
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter);
}

.wrp {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter);
}

/* Columnas básicas (flexibles) */
[class^="col-"] {
  flex: 1 1 auto;
}

/* Columnas específicas */
.col-2  { flex-basis: calc(50% - var(--gutter)); }
.col-3  { flex-basis: calc(33.333% - var(--gutter)); }
.col-4  { flex-basis: calc(25% - var(--gutter)); }
.col-5  { flex-basis: calc(20% - var(--gutter)); }
.col-7  { flex-basis: calc(70% - var(--gutter)); }
.col-8  { flex-basis: calc(75% - var(--gutter)); }
.col-10 { flex-basis: calc(10% - var(--gutter)); }
.col-15 { flex-basis: calc(15% - var(--gutter)); }
.col-20 { flex-basis: calc(20% - var(--gutter)); }
.col-25 { flex-basis: calc(25% - var(--gutter)); }
.col-30 { flex-basis: calc(30% - var(--gutter)); }
.col-60 { flex-basis: calc(60% - var(--gutter)); }
.col-65 { flex-basis: calc(65% - var(--gutter)); }
.col-70 { flex-basis: calc(70% - var(--gutter)); }
.col-90 { flex-basis: calc(90% - var(--gutter)); }

/* Responsivo: stack en pantallas pequeñas */
@media (max-width: 768px) {
  [class^="col-"] {
    flex-basis: 100% !important;
  }
}

/*inputs*/
._imp_clf {
    text-align: left;
    margin-top: 5px;
    padding: 5px;
    display: block;
    font-weight: bold;
}

._dv_inp_rad{
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}
._inp_rad{
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;
}
._lbl_rad {
    display: inline-block;
    margin-top: 5px;    
}
._dv_inp_rad{
    position: relative;
    width: 100%;
}
._dv_inp_rad .__spn_err{
    position: absolute;
    top: 1px;
    right: 5px;
    font-size: 10px;
    border-bottom-color: red;
}
._dv_inp_chk{
    display: block;
    width: 100%;
    margin: 3px 0;
    text-align: left;
    padding: 4px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f5f5f5;
}
._inp_chk{
    display: inline-block !important;
    vertical-align: middle;
    width: 25px !important;
    height: 26px !important;
    appearance: checkbox;
}
._lbl_chk{
    padding-left: 10px;
}

._dv_inp {
    position: relative;
    width: 100%;
}
._dv_inp label {
    position: absolute;
    right: 6px;
    bottom: 6px;
    font-size: 10px;
    font-weight: 400;
    color: #595959;
}
._dv_inp .__spn_err {
    position: absolute;
    top: 6px;
    right: 5px;
    font-size: 8px;
    color: RED;
}
input, textarea{
    width: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    padding: 15px;
    border: 2px solid var(--color-second);
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    box-shadow: none;
    margin: 3px 0;
}

input[type="email"]::before {
  content: "\f0e0";
  font-family: FontAwesome;
  padding-right: 5px;
  color: #aaa;
}

input:focus {
  outline: none;
  border-color: #00499e;
  box-shadow: 0 0 5px #00499e;
}

textarea{
    resize: none;
    height: 180px;
}

.__dv_slct_gen {
    width: 100%;
    font-family: 'Lato', sans-serif;
    border: 2px solid var(--color-second);
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    display: inline-flex;
    margin: 3px 0;
}
.__dv_slct_gen label {
    position: absolute;
    right: 6px;
    bottom: 0;
    font-size: 10px;
    font-weight: 400;
    color: #595959;
}
.__dv_slct_gen select{
    width: 100%;
    appearance: listbox;
    font-size: 16px;
    padding: 10px;
    background-color: transparent;
    border: none;
}
select option {
    font-size: 16px;
}
.select2-container{
    padding: 6px;
    width: 100% !important;
}
.select2-container--default .select2-selection--single{
    background-color: transparent !important;
    border: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    text-align: left;
}

.error_vld{ 
    border-bottom-color: red !important;
}