@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');


:root {
  --color-base: #ff8800;
  --color-sec: #666;
  --color-txt: #444;
  --color-txt-gris: #666;
  --color-bordes: #ccc;
  --color-gris: #eee;
  --color-rojo: #f1665a;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 14px !important;
  font-style: normal;
  color: var(--color-txt);
}

/* ************************************************* */

a{
  color: var(--color-txt);
  text-decoration: none;
}

h1{
  font-size: 2rem;
}

h3{
  font-size: 1.2rem;
  font-weight: normal;
}

.contenido{
    width: 1200px;
    margin: 0 auto;
}

.div-col{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    gap: 1em;
    /* height: 100vh; */
}

.w100{
    width: 100%;
}

.w75{
    width: 75%;
}

.w40{
    width: 40% !important;
}

.w60{
    width: 60% !important;
}

.w33{
    width: 33% !important;
}


.w50{
    width: 50% !important;
}

.w5{
    width: 5% !important;
}

.w15{
    width: 15% !important;
}

.w25{
    width: 25% !important;
}

.w20{
    width: 20% !important;
}


.m1{
  margin: 1rem;
}

.m0{
  margin: 0;
}

.mr{
    margin-right: 1rem;
}

.ml{
    margin-left: 1rem;
}

.ml2{
    margin-left: 2rem;
}

.mt{
  margin-top: 1rem;
}

.mt2{
  margin-top: 2rem;
}

.mt8{
  margin-top: 8rem;
}

.mb{
  margin-bottom: 1rem;
}

.mb0{
  margin-bottom: 0;
}

.mb2{
  margin-bottom: 2rem;
}

.p0{
    padding: 0 !important;
}

.p1{
    padding: 1rem !important;
}

.p05{
    padding: 0.5rem !important;
}

hr{
    border: 0; 
    border-top: 1px solid var(--color-bordes); 
    margin: 2rem 0; 
}

.text-right{
    text-align: right;
}

.text-left{
    text-align: left;
}

.text-center{
  text-align: center;
}


.float-left{
  float: left;
}

.float-right{
  float: right;
}


.bg-sec{
  background-color: var(--color-sec) !important;
}

.bg-gris{
  background-color: #ccc;
}

.bg-gris-claro{
  background-color: #eee;
}

.marca{
  background-color: #eee;
  padding: 0.2rem;
}

.logos{
  width: 100%;
  object-fit: cover;
}

/* -------------------------------------------------- */


.form-div{
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-center;
  align-content: flex-start;
  gap: 0.2em;
  margin-bottom: 1rem;

  padding: 0 2rem;
}

.form-div-ch{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;

    padding: 0 2rem;
}

.form-div-label{
  font-size: 0.9rem;
}

.form-div-label label{
  margin-right: 0.9rem;
}

.form-div-input{
  width: 100%;
}


.form-div-input input, .login-input{
  padding: 0.5rem;
  border: 1px solid var(--color-bordes);
  width: 100%;
}

.form-div-input input[type='date']{
  padding: 0.5rem;
  background-color: #fff;
  border: 1px solid var(--color-bordes);
  width: 100%;
}

.form-div-input-ch input[type='radio']{
  padding: 0.5rem;
  background-color: #fff;
  border: 1px solid red;
}

.form-div-input select{
  padding: 0.5rem;
  border: 1px solid var(--color-bordes);
  width: 100%;
  background-color: #fff;
}

.form-div-input textarea{
  padding: 0.5rem;
  border: 1px solid var(--color-bordes);
  width: 100% !important;
  background-color: #fff;
  font-family: "Inter", sans-serif;
   font-size: 0.85rem;
}

.form-div-col{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    gap: 1rem;
    /* height: 100vh; */
}


.form-div-oculto{
  /* color: red !important; */
  display: none;
}


.form-seccion{
    margin: 2rem 0 1rem 0;
    background-color: var(--color-base);
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 0.5rem;
}

input[type=radio]:checked + label {
  color: var(--color-base);
  font-weight: bold;
}

input[type=checkbox]:checked + label {
  color: var(--color-base);
  font-weight: bold;
}

/* ------------------------------------------------- */

.div-contador-caracteres{
    font-size: 0.8rem;
    color: var(--color-txt-gris);
}

.limite-alcanzado {
  color: red;
  font-weight: bold;
}

.error_input{
  padding: 0.5rem;
}


.aviso{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem;
  line-height: 1.5; 
  border-radius: 0.2rem;
}

.aviso_error{
  background-color: var(--color-rojo);
  color: #fff;
}

.aviso_ok{
  background-color: DarkSeaGreen;
  color: #fff;
}

.aviso_alerta {  
  background-color: CadetBlue;
  color: #fff !important;
}

.aviso_info {  
  background-color: LightBlue;
  color: #444 !important;
}


.aviso_ok::before {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 16 16'><path d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/></svg>");
    display: block;
    width: 24px;
    height: 24px;
}

.aviso_error::before {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 16 16'><path d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293z'/></svg>");
    display: block;
    width: 24px;
    height: 24px;
}

.aviso_alerta::before {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' class='txt-bco' viewBox='0 0 16 16'><path d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 4a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 4m.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2'/></svg>");
    display: block;
    width: 24px;
    height: 24px;
}

.aviso_info::before {
    content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'><circle cx='8' cy='8' r='8'/></svg>");
    display: block;
    width: 24px;
    height: 24px;
    padding-top: 4px;
    padding-left: 4px;
}



/* *********************************************** */

.div-caja{
  padding: 2rem;
  background-color: var(--color-gris);
  border-radius: 0.5rem;
}

/* *************************************************** */

/* .btn{
  background-color: #666;
  color: #fff;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 0.5rem;
} */

a.btn, button.btn, 
input[type="submit"].btn {
  min-width: 200px;
  background-color: var(--color-base);
  border: none;
  color: white;
  padding: 0.5rem 2rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  /* margin: 4px 2px; */
  cursor: pointer;
  border-radius: 0.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn-link-mini{
  background-color: var(--color-gris);
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
}

.btn:hover, .btn-link-mini:hover{
  color: #eee;
  background-color: var(--color-txt) !important;
  text-decoration: none;
}

.icono{
  vertical-align: middle;
}


.btn-verde{
  background-color: #60851d !important;
}

/* ***************************************** */

@media all and (max-width: 800px) {

    .contenido{
        width: 98%;
    }

    .form-div,
    .form-div-ch{
        width: 100%;
        flex-direction: column;
        padding: 0 0.2rem;
        align-items: flex-start;
    }

    .form-div-ch{
      gap: 1rem;
    }

    .w5, .w15, .w25, .w50{
        width: 100% !important;
    }

    a.btn, button.btn, 
    input[type="submit"].btn {
        min-width: 150px;
        margin-bottom: 0.5rem;
    }

    .div-footer{
      font-size: 0.8rem;
    }

}