﻿/* Move down content because we have a fixed navbar */
body {
    padding-top: 56px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}


input {
	color:#777;		
	height:20px;
	margin-bottom:0px !important; 
	}
/* Set widths on the form inputs since otherwise they're 100% wide */

 


.caja {
  border-top: 1px solid #ddd;
  margin: 20px 0;
  padding: 35px 15px 15px;
  position: relative;		  	  
  margin-top: 30px;
  width:98%;
  font-size: 1.2em;
  color:#000;
  line-height:25px;		  
}
.caja h3 {
  background: #fff;
  border: 1px solid #ddd;
  color: #303050;
  display: block;
  float: left;
  font-size: 0.9em;
  left: 10px;
  line-height: normal;
  margin: 0 !important;
  padding: 5px !important;
  position: absolute;
  top: -10px;
}
.caja input {
	color:#777;		
	height:20px;
	margin-bottom:5px;
	}
.radio label{
font-size: 0.9em;
margin-bottom:0px;
 margin: 0 ;
}

.stepwizard-step p {
    margin-top: 0px;
    color:#666;
}
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}
.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}
.stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn {
    opacity:1 !important;
    color:#bbb;
}
.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    left:0px;
    right:0px;
    position:absolute !important;
    content:" ";
    width: 100%;
    height: 1px;
    background-color: #bbb !important;
    z-index: 0;
}
.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 5px 0 !important;
    font-size: 12px;
    line-height: 1.428571429 !important;
    border-radius: 20px !important;
} 

.btn-circle2 {
    width: 50px;
    height: 30px;
    text-align: center;
    padding: 5px 0 !important;
    font-size: 10px;
    line-height: 1.428571429 !important;
    border-radius: 2px !important;
}

/* Stepper BS5 */
.stepper {
    align-items: flex-start;
    padding: 0 10px;
}
.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    background-color: #dee2e6;
    color: #6c757d;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}
.stepper-step.active .stepper-circle {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
}
.stepper-step.completed .stepper-circle {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
}
.stepper-label {
    margin-top: 6px;
    color: #6c757d;
    font-size: 0.8rem;
    text-align: center;
    max-width: 100px;
}
.stepper-step.active .stepper-label {
    color: #198754;
    font-weight: 600;
}
.stepper-step.completed .stepper-label {
    color: #198754;
}
.stepper-line {
    flex: 1;
    height: 2px;
    background-color: #dee2e6;
    margin-top: 18px;
    min-width: 20px;
}
.stepper-line.completed {
    background-color: #198754;
}

.ir-arriba {
        display:none;
        padding:30px;
        background-repeat: no-repeat;
        font-size:20px;
        color:black;
        cursor:pointer;
        position: fixed;
        bottom:20px;
        right:20px;
        z-index: 2;
    }
#container {
   margin: 20px;
   width: 400px;
   height: 8px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Bootstrap 5 overrides - Anula reglas globales que conflictan
   con BS5 form controls. Solo afecta a paginas con BS5.
   ═══════════════════════════════════════════════════════════════ */
.form-control,
.form-select {
    height: auto !important;
    margin-bottom: 0.25rem !important;
    color: inherit;
}

.form-check-input {
    height: 1.2em !important;
    width: 1.2em !important;
    margin-bottom: 0 !important;
    margin-top: 0.15em;
    cursor: pointer;
    color: #003366;
}

.btn {
    height: auto !important;
}

.form-control,
.form-select {
    border: 2px solid #adb5bd;
    padding: 0.5rem 0.75rem !important;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: #003366;
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.2);
}

.form-label {
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.3rem;
}
