body {
  font-family: Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-image: url("../images/MaquetaEAV4.4HTML-01.png");
  background-size: cover;
  background-position: center;
  height: auto;
}

header .logo {
  display: flex;
  align-items: center;
  flex: 1;
}

header .logo img {
  max-height: 50px;
  margin-right: 10px;
}

header .nav {
  display: flex;
  align-items: center;
}

header .boton-contacto {
  background-color: #6eccaf;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 2px solid #6eccaf;
}

header .boton-contacto:hover {
  background-color: #77aad9;
}

.nav a {
  text-decoration: none;
  color: #000;
  padding: 0 10px;
}

.nav a:hover {
  color: #333;
}

.contenedor-principal {
  background-image: url("../images/Fondo1-01.png");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  max-width: 100%; 
  overflow: hidden; 
}

.marco {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-color: #f5f5f5;
  width: 80%;
  max-width: 100%; 
  padding: 20px;
  margin: 0 auto; 
  box-sizing: border-box;
}

.contenido {
  width: 90%;
  padding: 20px;
  font-family: Roboto, sans-serif;
  text-align: center;
  margin: 0 auto; 
}

footer {
  height: 50px;
  background-color: #333;
}

.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto; 
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-family: Roboto, sans-serif;
  box-sizing: border-box;
}

.tab {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="radio"]:checked + .tab {
  display: block;
}

h2.main-title {
  font-size: 2.5em;
  color: #333;
  text-align: center;
  margin-bottom: 0.5em;
}



h4.sub-title,
h5.sub-title {
  font-size: 1.5em;
  color: #666;
  text-align: left;
  margin-bottom: 1.5em;
  font-style: italic;
}

h5.sub-title {
	font-size: 1.2em;
}

h3 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/*radio*/
.custom-radio-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.custom-control-input {
  position: absolute;
  opacity: 0;
}

.custom-control-label {
  position: relative;
  padding-left: 30px;
  margin-right: 15px;
  cursor: pointer;
  user-select: none;
}

.custom-control-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #6eccaf; 
  background: #fff;
}

.custom-control-input:checked + .custom-control-label::before {
  background-color: #6eccaf; 
  border-color: #6eccaf; 
}

.custom-control-input:checked + .custom-control-label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

/*select multiple*/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #3b8467  !important; 
  border: 1px solid #3b8467  !important;
  color: white !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: white !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #94d9c4 !important; 
  color: white !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice--highlighted {
  background-color: #3b8467 !important;
  color: white !important;
}

.select2-selection__choice {
    display: flex;
    align-items: center;
    padding-right: 10px;
    padding-left: 10px; 
}

.select2-selection__choice__remove {
    position: relative;
    left: -5px; 
    margin-left: 0;
    margin-right: 5px; 
    display: inline-block;
}

.container-row-label {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  align-items: flex-start; 
}

.container-col-label {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}


.label_formato {
  padding: 10px 20px;
  border: none;
  background-color: #6eccaf;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 5px;
  display: block;
  font-weight: normal;
  width: 100%;
}

.label_formato:hover {
  background-color: #5bb599;
}

input[type="radio"] .tab {
  display: none;
}

.progress-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.custom-progress-bar {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  height: 20px; 
}

.custom-progress {
  height: 100%; 
  background-color: #6eccaf; 
  width: 0;
  transition: width 0.3s ease-in-out;
}

#progressText {
  margin-top: 5px;
  font-size: 14px;
}

.navigation-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
}

.navigation-buttons button {
  padding: 10px 20px;
  border: 2px solid #ccc;
  border-radius: 5px;
  background-color: #f0f0f0;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.navigation-buttons #prevButton {
  color: #fff;
  background-color: #344D67;
}

.navigation-buttons #nextButton {
  color: #fff;
  background-color: #007bff;
}

.navigation-buttons #submitButton {
  color: #fff;
  background-color: #28a745;
  display: none;
}


.buttons-bar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.buttons-bar-nav label {
  margin: 5px;
  flex: 1 1 20%;
  max-width: 60px; 
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  background-color: #6eccaf;
  color: white;
  cursor: pointer;
}

.buttons-bar-nav label {
  background-color: #5bb599;
}

.custom-textarea {
  display: block; 
  width: 100%;
  margin-top: 10px;
}

.custom-control-label {
    font-weight: normal !important;
}

.non-selectable {
            color: gray;
            pointer-events: none;
        }


.required:after {
            content: '*';
            color: red;
            margin-left: 5px;
        }


@media (max-width: 768px) {
  .buttons-bar-nav label {
    flex: 1 1 30%; 
  }
}

@media (max-width: 768px) {
  .contenedor-principal {
    padding-top: 30px;
  }

  .marco {
    width: 95%;
    padding: 10px;
  }
  
  .container {
    padding: 10px;
  }
  
  .container-col-label {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contenedor-principal {
    padding-top: 20px;
    padding-left: 0;
    padding-right: 0;
  }

  .marco {
    width: 100%;
    padding: 5px;
    margin: 0 5px;
  }

  .container {
    padding: 5px;
  }

  .container-col-label {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .label_formato {
    padding: 10px;
    margin: 5px 0;
  }
}

@media (max-width: 342px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header .logo {
    margin-bottom: 10px;
  }

  header .logo img {
    max-height: 30px;
    margin-right: 0;
  }

  header .boton-contacto {
    padding: 5px 10px;
    font-size: 12px;
  }

  h2.main-title {
    font-size: 1.5em;
  }

  h4.sub-title {
    font-size: 1em;
  }

  .navigation-buttons button {
    padding: 5px 10px;
    font-size: 12px;
  }

  .container {
    padding: 10px;
  }

  .label_formato {
    font-size: 12px;
    padding: 5px 10px;
  }
}


