
:root {
  --color-primary: #08AED7;   /* color principal */
  --color-secondary: #167EBE; /* color secundari */

  /* opcional: variables per al gradient (faciliten canvis ràpids) */
  --gradient-angle: 135deg;
  --gradient-stops: 0%, 100%;
}

html {
  font-size: 16px; /* base */
}

/* Text base */
body, p {
  font-family: sans-serif;
  font-size: 1rem;      /* 16px */
  line-height: 1.5;
}

/* Etiquetes i inputs */
label,
input,
select,
textarea,
button {
  font-size: 0.9375rem; /* 15px */
}

/* Jerarquia de títols */
h1 {
  font-size: 2.5rem;    /* 40px */
  line-height: 1.1;
}

h2 {
  font-size: 1.75rem;      /* 32px */
  line-height: 1.2;
}

h3 {
  font-size: 1.50rem;   /* 28px */
  line-height: 1.25;
}

.logo-header {
  max-height: 80px;   /* Ajusta l'alçada del logo */
  width: auto;        /* Manté la proporció */
}

/* Contenidor principal del formulari */
form {
    
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    
}

/* Grup de camps (label + input/select) */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    
}

/* Estils per inputs i textareas */
input[type="text"], input[type="number"], textarea, select {
    display: block;
    width: 100%;
    padding: 0.50rem;
    border: 2px solid #ddd;
    border-radius: 8px;
   
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Selects específics (ex: país, municipi) */
select {
    height: 2.5rem;
    background: #f8f9fa;
    cursor: pointer;
}

/* Botó de submissió (assumint un <button> o <input type="submit">) */
button, input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    /*font-weight: 600;*/
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background: #0056b3;
}

/* Títol del formulari */
h2, h3 {
    margin: 0 0 1.5rem 0;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    
    color: #333;
}

/* Responsive per mòbils */
@media (max-width: 768px) {
    form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    input, select, textarea {
        font-size: 1.1rem; /* Millora llegibilitat en touch */
    }
}


/* Control d'errors */
.msg_info, .msg_success, .msg_warning, .msg_error, .msg_validation {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 12px;
}
.msg_info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('../Images/info.png');
    background-size: 40px;
    
}
.msg_success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image:url('../Images/success.png');
    background-size: 40px;
    
}
.msg_success a {
	color: #4F8A10;
	font-weight: bold;
	text-decoration: none;
}
.msg_success a:hover {
	text-decoration: underline;
}
.msg_warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('../Images/warning.png');
    background-size: 40px;
}
.msg_error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../Images/error.png');
    background-size: 40px;
}
/* ********************************** */
/* Migues menú */
.bs-wizard {margin-top: 40px;}

.bs-wizard {border-bottom: solid 1px #e0e0e0; padding: 0 0 10px 0;}
.bs-wizard > .bs-wizard-step {padding: 0; position: relative;}
.bs-wizard > .bs-wizard-step + .bs-wizard-step {}
.bs-wizard > .bs-wizard-step .bs-wizard-stepnum {
	color: #595959; 
	
	/*margin-bottom: 5px;*/
	height: 26px;
	margin-bottom: 30px;
}

.bs-wizard > .bs-wizard-step .bs-wizard-info {color: #999; font-size: 14px;}
.bs-wizard > .bs-wizard-step > .bs-wizard-dot {
	position: absolute; 
	width: 30px;
	height: 30px;
	display: block;
	background: #fbe8aa;
	top: 60px;
	left: 50%;
	margin-top: -15px;
	margin-left: -15px;
	border-radius: 50%;
} 
.bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {content: ' '; width: 14px; height: 14px; background: #fbbd19; border-radius: 50px; position: absolute; top: 8px; left: 8px; } 
.bs-wizard > .bs-wizard-step > .progress {position: relative; border-radius: 0px; height: 8px; box-shadow: none; margin: 20px 0;}
.bs-wizard > .bs-wizard-step > .progress > .progress-bar {width:0px; box-shadow: none; background: #fbe8aa;}
.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {width:100%;}
.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {width:50%;}
.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {width:0%;}
.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {width: 100%;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {background-color: #f5f5f5;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {opacity: 0;}
.bs-wizard > .bs-wizard-step:first-child  > .progress {left: 50%; width: 50%;}
.bs-wizard > .bs-wizard-step:last-child  > .progress {width: 50%;}
.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot{ pointer-events: none; }
/*END Migues menú */


.yellow {
    background-color: LightYellow;
}


img.infosoc {
	width: 25px;
	cursor: pointer;
	margin-top: -5px;
}
/*input[class="input-xxl"] {*/
input.input-xxl {
    width: 524px;
}
/*input[class="input-xlarge"] {*/
input.input-xlarge {
    width: 200px;
}
/*input[class="input-mir"] {*/
input.input-mir {

    width: 90px !important;
}


.control-group {
	padding: 6px 0px;
}
.form-inline {
	display: inline-block;
}
.tam-max {
	width: 100%;
}
fieldset {
	padding-bottom: 20px;
}
legend {
	color: #215e7d;
}
.cabzona h1, .cabzona h2 {
	color: #215e7d;
	text-shadow: 1px 1px #FFFFFF;
	padding: 0px;

}
.cabzona h1 {
	font-size: 2em;
	margin: 10px 0px 10px 0px;
}
.cabzona h2 {
	font-size: 1.5em;	
	margin: 0px 0px 10px 0px;
}
.checkbox2 {
	display: inline-block;
}
.checkbox2 label {
	margin-bottom: 20px;
}

label.error {
	color: red;
	display: table;
	font-weight: 300px !important;
}

img.infosoc {
	width: 25px;
	cursor: pointer;
	margin-top: -5px;
}

.input-group.date .input-group-addon {
	/*display: inline;*/
	padding: 6px 12px 3px 12px;
	margin-left: -5px;
}

.peuzona {
	padding: 20px;
	text-align: right;
}