@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@200&family=Inter:wght@200&display=swap');

body{
	font-family: 'Inter', sans-serif;
	font-size: 20px;
  color: #333333;
}

a{
    text-decoration: none;
    cursor:pointer;
}

#{
    outline: none !important;
}




/* CABECERA */

section#top {
    background-color: black;
    padding: 0 0 10px;
}

.navbar-collapse {
    justify-content: end;
    font-size: 15px;
}

/**/

.text30{
    font-size: 30px;
}

.semi{
    font-weight: 600;
}

.primaryColor{
    color: #087021;
}

h1{
	font-size: 40px;
    font-weight: 400;
}

.bold{
	font-weight: 700;
}

.bannerMain{
    background-image: url(https://4272053.fs1.hubspotusercontent-na1.net/hubfs/4272053/18.12.2025_exp_formacion_sap_junta_andalucia/imagen-banner1.jpg);
    min-height: 876px;
    background-position: center;
    background-size: cover;
}

.topBanner {
    margin: 30px 0 23px;
}

a.btn-primary {
    background-color: #994500;
    padding: 16px 45px;
    display: inline-block;
    border-radius: 8px;
    margin-top: 15px;
}
.bannerMain,
.bannerMain p,
.bannerMain h1,
.bannerMain h2,
.bannerMain a {
  color: #ffffff;
}


.s2{
    padding: 90px 0 0;
  background-color: #ebebeb;
}

h2{
    font-size: 35px;
    font-weight: 700;
}

h2 span:before{
    position: absolute;
    content: "";
    width: 40px;
    height: 6px;
    left: 0;
    bottom: -10px;
    background-color: #008844;
}

h2.text-white span:before{
    background-color: #fff;
}

.s3{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#6e8f82+0,6390c6+100 */
background-color:#2f3772;
    margin-top: -146px;
}

.s3 > div:first-child {
    padding-top: 200px;
    background-color: #087021;
    background-position-x: right;
    background-repeat: no-repeat;
    padding-bottom: 76px;
    background-position-y: 71px;
    background-size: contain;
}

.s4 > div.container{
    padding-top: 90px;
}

.s4 > div > img {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
}

.s4 a.btn-primary {
  background-color: #087021;
}


.boxProfesional {
    width: 300px;
    max-width: 100%;
    text-align: left;
    background-color: #f4f4f4;
    font-size: 18px;
    line-height: 23px;
    font-weight: 500;
    padding: 30px 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-right: 20px;
    border: 1px solid #d4eff3;
    display: inline-block;
    position: relative;
    vertical-align: top;
}
.boxProfesional_info {
    display: block; /* Ocupa todo el ancho del contenedor */
    background-color: #994500; /* Naranja consistente con otros elementos */
    border-radius: 1000px; /* Bordes redondeados */
    padding: 10px 40px 10px 15px; /* padding: arriba/derecha/abajo/izquierda */
    text-align: left; /* Alineación del texto */
    color: #ffffff; /* Texto en blanco */
    margin-top: 30px;
    margin-bottom: 30px;
    width: 80%; /* Contenedor ocupa el 80% del ancho */
    max-width: 800px;
    margin-left: 10%; /* Separación desde la izquierda */
    box-sizing: border-box;
    position: relative;
    z-index: 0; 
}

/* Limitar el ancho del texto al 50% y mantenerlo a la izquierda */
.boxProfesional_info p {
    max-width: 70%;
    padding-left: 60px;
}


.s4 > div.container > img {
    position: absolute; /* ya lo está */
    z-index: 1;         /* encima del bloque */
   bottom: 0;
    right: 0;              /* mantiene la posición original */
    transform: translateX(20px);
}

.s5 {
  position: relative;
  background: linear-gradient(
    to right,
    #087021 0%,
    #087021 48%,
    #994500 48%,
    #994500 100%
  );
  height: 198px;
  overflow: hidden;
}

.s5::after {
  content: "";
  position: absolute;
  top: 0;
  left: 48%;
  width: 0;
  height: 0;
  border-top: 99px solid transparent;
  border-bottom: 99px solid transparent;
  border-left: 26px solid #087021;
}




.text22{
    font-size: 22px;
}

.s5 .col-6 {
    padding: 30px 0;
    line-height: 23px;
}

.light{
    font-weight: 300;
}

.text15{
    font-size: 15px;
}

.backMarron{
    background-color: #087021;
}

.backVerde{
    background-color: #d3c12f;
}

.blockCurso{
    padding: 50px 50px 50px 115px;
    margin-bottom: 35px;
    width: 1000px;
    float: right;
}

.blockCurso > img:first-child {
    position: absolute;
    left: -73px;
    top: 50%;
    margin-top: -74px;
}

.btnCurso {
    font-size: 16px;
    color: #087021;
    width: 227px;
    border: 1px solid #087021;
    text-align: center;
    margin-top: 30px;
    padding: 7px 0;
    border-radius: 10px;
}

.goTop {
    display: none;
    padding: 5px 10px 8px;
    background-color: #087021;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    left: 20px;
    border: 1px solid #fff;
}

.s6{
    padding: 90px 0;
}
.blockCurso_valor {
    background-color: #eeeeee !important; /* Sobrescribe cualquier bg-white existente */
    padding: 20px; /* Opcional: añade un poco de espacio interno */
    box-sizing: border-box;
    margin-top: 20px;
}

.s7{
    background-color:#2f3772; 
    padding-top: 90px;
}

.s7 > img.position-absolute:first-child{

}

footer{
    background-color: #282a32;
    padding:90px 0;
    font-size: 12px;
}

footer a{
    color:#fff;
}

hr{
    background-color: #fff;
    opacity: 1;
}

.social-icons a{
    padding: 0 15px;
}

input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    padding: 4px 5px;
    font-size:18px; 
}

select {
    padding: 6px 5px 7px;
}

form label{
  display:none;
}

form .hs-error-msgs label{
  display:inline-block;
}

form > div {
    margin-bottom: 16px;
}

ul.no-list.hs-error-msgs.inputs-list {
    color: red;
    font-size: 14px;
    list-style:none;
    padding-left:0;
}

input.hs-button.primary.large {
    background-color: #d3c12f;
    border: 0;
    color: #fff;
    padding: 15px 70px;
    border-radius: 8px;
}

.legal-consent-container {
    font-size: 11px;
    color: #fff;
}

.legal-consent-container a {
    color: #fff;
    text-decoration:underline;
}

.legal-consent-container label {
    display: block;
}

.legal-consent-container ul {
    padding-left:0;
    list-style: none;
}

img.img-fluid.imgChica {
    position: absolute;
    bottom: 0;
    left: 0;
}

input[type="file"] {
    font-size: 15px;
}

.hs_subir_archivo.hs-subir_archivo.hs-fieldtype-file.field.hs-form-field {
    margin-top: -15px;
}

.modal.convocatoria .modal-content {
    background-color: transparent;
}

.modal.convocatoria .modal-body {
    background-color: #fff;
    padding-top: 104px;
    font-size: 16px;
}

.modal.convocatoria img.imgNumber {
    position: absolute;
    left: 50%;
    margin-left: -74px;
    top: -74px;
}

.modal.convocatoria h2 {
    font-size: 22px;
    color: #c25700;
}

.modal.convocatoria span.convocatoriaNumber {
    border: 1px solid;
    padding: 15px;
    display: inline-block;
    margin-top: 7px;
    margin-bottom: 31px;
}

.modal.convocatoria .modal-dialog.modal-xl {
    margin-top: 67px;
}

.modal.convocatoria .text-end {
    color: #fff;
    font-size: 16px;
    text-decoration: underline;
    position: relative;
    top: -10px;
}

.modal.convocatoria .text-end a{
    cursor: pointer;
}

.modal-backdrop.show {
    opacity: 0.8;
}



























/*********************************************************************************
RESPONSIVE
***********************************************************************************/
@media (min-width: 1400px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1100px;
}
}

@media (min-width: 992px){
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 5px;
    padding-left: 5px;
}
}

@media (max-width: 1399px){
.s4 > div > img {
    right: 0;
}
}


@media (min-width: 992px){
.s7 .order-lg-2{
  min-height:1043px;}
}  
  

@media (max-width: 1199px){
.s3 > div:first-child {
    background-image: none;
}
  
.blockCurso {
    padding: 85px 50px 50px;
    width: 100%;
    float: none;
    margin-top: 100px;
}

.blockCurso > img:first-child {
    position: absolute;
    left: 50%;
    margin-left: -74px;
    top: -76px;
    margin-top: 0;
}

.navbar-toggler-icon {
    background-image: url(https://4272053.fs1.hubspotusercontent-na1.net/hubfs/4272053/Formaci%C3%B3n%20SAP%20-%20Junta%20Extremadura/menu.png);
}

button.navbar-toggler {
    border-color: #fff;
}
}

@media (max-width: 991px){
img.img-fluid.imgChica {
    position: relative;
}
  
footer{
    padding:45px 0;
}

.s4 > div.container,
.s2, .s7 {
    padding-top: 45px;
    padding-bottom: 0;
}

.s6 {
    padding-top: 45px;
    padding-bottom: 45px;
}

.boxProfesional {
    margin-right: 10px;
}
}


@media (max-width: 767px){ 
  /* BANNER */
  .bannerMain {
      background-image: none; /* quitamos background */
      min-height: auto;       /* contenedor se ajusta al contenido */
      padding-bottom: 0;
      overflow: visible;
  }

  .bannerMain,
  .bannerMain h1,
  .bannerMain h2,
  .bannerMain p {
    color: #384048 !important;
  }

  body{
    font-size: 18px;
  }

  .blockCurso {
      padding: 85px 20px 20px;
      margin-top: 100px;
  }

  .boxProfesional {
      display: block;
      margin: 0 auto 15px;
  }

  h2 {
      font-size: 25px;
  }

  h1 {
      font-size: 30px;
      font-weight: 400;
  }

  .topBanner {
      margin-top: 50px;
  }

  .text30 {
      font-size: 22px;
  }

  .boxProfesional_info {
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
  }

  .boxProfesional_info p {
      max-width: 100%;
      padding-left: 0;
      text-align: center;
  }

 /* SECCIÓN S5 */
  .s5 {
      height: auto;
      background: none;   /* quitar gradiente original */
      padding: 0;
  }

  .s5::after {
      display: none;      /* ocultar triángulo decorativo */
  }

  .s5 .row {
      flex-direction: column;  /* apilar columnas */
      margin: 0;
  }

  .s5 .col-6 {
      width: 100%;
      padding: 15px 0;
      box-sizing: border-box;
      text-align: center;
  }

  .s5 .col-6:first-child {
      order: 1;
      background-color: #087021;
      color: #fff;
  }

  .s5 .col-6:last-child {
      order: 2;
      background-color: #994500;
      color: #fff;
  }

  .text22 {
      font-size: 16px;
  }

  .text15 {
      font-size: 13px;
  }

  .light {
      font-size: 14px;
      line-height: 20px;
  }

  /* BLOQUE DE ICONOS + TEXTO */
  .s5 .col-6.position-relative.text15 {
      text-align: center;
  }

  /* Cada párrafo como bloque vertical */
  .s5 .col-6.position-relative.text15 p {
      display: flex;
      flex-direction: column; /* cada pareja en línea separada */
      align-items: center;    /* centra horizontalmente */
      margin-bottom: 10px;
  }

  /* Cada imagen alineada con su texto */
  .s5 .col-6.position-relative.text15 p img {
      width: 20px; 
      height: auto;
      margin-bottom: 4px; /* separación icono - texto */
  }

  /* Asegura que los spans estén centrados */
  .s5 .col-6.position-relative.text15 p span {
      display: block;
      text-align: center;
  }

  /* Elimina el margen de .ms-4 en móvil para alinear todas las imágenes */
  .s5 .col-6.position-relative.text15 p img.ms-4 {
      margin-left: 0 !important;
  }

  /* BLOQUE DERECHO */
  .s5 .col-6.ps-4 {
      width: 100%;
      padding-left: 0 !important;
      padding-right: 0 !important;
      text-align: center;
      margin-bottom: 20px;
  }

  .s5 .col-6.ps-4 p {
      display: block;
      margin: 5px auto;
  }
   /* Centrar el título "REQUISITOS" */
  .s5 .col-6.ps-4 p.text22 {
      padding-left: 0 !important;   /* elimina el padding-left */
      padding-right: 0 !important;  /* asegura sin padding derecho */
      text-align: center;            /* centra el texto */
      margin-bottom: 10px;           /* opcional: espacio con el texto inferior */
  }

  /* Ajustar el texto descriptivo con márgenes laterales */
  .s5 .col-6.ps-4 p.light {
      margin-left: 15px;   /* margen izquierdo */
      margin-right: 15px;  /* margen derecho */
      text-align: center;  /* opcional: si quieres centrar el texto */
      line-height: 20px;   /* mantener buena legibilidad */
  }
}



}