@charset "UTF-8";

/* ESTILOS SMINTEGRALES */
html,body {height: 100vh; background-color:#888; background: url("../img/cabecera-presupuestos.jpg") center center no-repeat fixed; background-size: cover;}

html,body {background-color:#888;}

strong {font-weight: bold;}
p {line-height: 1.2em;}

.azul {color:#012160 !important}

.cover-container main {background:rgba(255,255,255,.8); padding:50px 50px 90px 50px; margin-top:30px; margin-bottom:30px; position: relative}
img.logo {width:140px;}

.center-block {display:block; margin-right: auto; margin-left: auto;}

form .btn.btn-primary {position:absolute; bottom:20px; right:20px;}
form .btn.btn-primary.volver {position:absolute; left:20px; right: inherit; background-color:#666;}

form .btn.btn-primary.btn-contrato {position:relative; bottom:inherit; right:inherit; left:inherit;}

.cover-heading {margin:30px 0}
#mainNav {padding:0; margin-bottom:10px;}
#mainNav .proceso {border-top:1px; border-bottom:1px; border-right:0px; border-left:0px; border-color:#012160; border-style: solid; padding:0 20px;}

.nav-link.active {font-weight: bold; color:#012160 !important;}
.btn.btn-primary,.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {background-color:#063eae; border:none}
a.btn[role=button]{color:#fff !important;}
.btn.btn-primary:hover {background-color:#012160;}



#fase4 .conmargen {margin-top:35px;}

/* ESTILOS MÓVIL */
@media screen and (max-width: 767px) {
	.cover-container main {padding:20px 10px 90px 10px; margin-top:0px;}
	.masthead a, .mastfoot, .mastfoot a {color:#bbb;}
	
}







/* CABECERA */
#header-ppal {padding:10px 0;background-color:#012160!important; box-shadow: 0px 0px 10px rgba(0,0,0,0.4);}
#header-ppal a {color:#fff; text-transform: uppercase;}
#cabecera-img-ppal {background-image: url(../img/cabecera-presupuestos.jpg)}

/* FORMULARIO */
.fase {
  width: 100%;
  max-width: 980px;
  margin: auto;
padding:20px 0;
  border-radius: 8px;
}
.titulofase {
	background:#012160;
	padding:5px 20px;
	color:#fff;
	font-weight: 100;
	text-align: center;
	width: 100%;
}
.fase .contenido {
background: #f4f7f8;
padding:10px 20px;
}
.textSubLab {
	font-size: 18px;
    color: #666;
}

.error {border-color:red !important;}
input[type="checkbox"].error {outline:1px solid red !important;}



input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select.form-control {
  border: 1px solid #ced4da;
  padding: 15px;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
  /*margin-bottom: 25px;*/
}

select.form-control {
  height: inherit !important;
}
select.vacio { color: #bbb; }

#horquilla {color:#012160}


/* Formato de cantidades en toma de datos */
.quantity {
  position: relative;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button
{
  -webkit-appearance: none;
  margin: 0;
}

input[type=number]
{
  -moz-appearance: textfield;
}

.quantity input[type="number"] {
  width: 100%;
  height: 42px;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 50px 50px 50px 0px;
  margin: 0;
  border: 1px solid #ced4da;
	text-align: center;
	font-size: 30px;
}

.quantity.readonly input[type="number"] {
  padding-right: 0px;
  color:#ddd;
	cursor: not-allowed;
}
quantity-nav
.quantity input:focus {
  outline: 0;
}

.quantity-nav {
  float: left;
  position: relative;
  height: 101px;
}
.quantity.readonly .quantity-nav {
  display:none;
}

.quantity-button {
  position: relative;
  cursor: pointer;
  border-left: 1px solid #eee;
  width: 60px;
  text-align: center;
  color: #333;
  font-size: 30px;
  font-family: "Trebuchet MS", Helvetica, sans-serif !important;
  line-height: 50px;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.quantity-button:hover {
	background-color:#ddd;
}

.quantity-button.quantity-up {
  position: absolute;
  height: 50%;
  top: 0;
  border-bottom: 1px solid #eee;
}

.quantity-button.quantity-down {
  position: absolute;
  bottom: -1px;
  height: 50%;
}

#mensajelegal {font-size:0.7em; line-height:1.4;}




/* FOOTER */
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display:none;
	opacity:0.6;
	z-index: 500;
}
.back-to-top:hover {
	opacity:1;
}
.back-to-top i.fas {
    vertical-align:baseline;
}

footer.mastfoot {padding-bottom:15px;}
