.caja-horas #capa_tramos .hora {
    padding: 6px 12px;
}

.caja-horas #capa_tramos .hora label {
    font-weight: inherit;
    font-size: 11pt
}

.caja-horas #capa_tramos .hora .precio {
    font-weight: normal;
    font-size: 10pt
}

.leyenda ul li span.hora_valle, .caja-horas #capa_tramos .hora .hora_valle {
    background-color: #DBF5E1;
    color: #037E1D;
	border-radius: 4px;
    padding: 5px;
    font-size: 11px;
    font-weight: 600;
}

.caja-horas #capa_tramos .hora.vacio {
    cursor: inherit;
}

.estado-cerrado, #capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td .ui-state-default, #capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.cerrada .ui-state-default, .leyenda ul li span.cerrada {
    border-radius: inherit;
}

#capa_calendario .ui-datepicker .ui-datepicker-header .ui-datepicker-title {
    border: none;
}
#capa_calendario .ui-datepicker .ui-datepicker-header .ui-state-hover {
    background-color:transparent;
	border: 0;
	font-weight: 600;
	cursor: pointer;
}
#capa_calendario .ui-datepicker .ui-datepicker-header {
    color: #000000;
}
.ui-datepicker-title
{
	width: 50%;
}
.ui-datepicker .ui-datepicker-next {
    right: 40%;
}
#capa_calendario .ui-datepicker .ui-datepicker-header .ui-datepicker-title {
    text-transform: inherit;
}

#capa_calendario .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span, #capa_calendario .ui-datepicker .ui-datepicker-header .ui-datepicker-next span {
    color: #1A1A1A;
}

#capa_calendario .ui-datepicker table.ui-datepicker-calendar thead tr th, #capa_calendario .ui-datepicker table.ui-datepicker-calendar thead tr th span {
    color: #7f7f7f;
    font-weight: bold;
}

#capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td .ui-state-default {
	background-color: #F8F8F8;
	color: #B3B3B3;
	position: relative;
	pointer-events: none;
	border: 1px solid #CCCCCC;
	border-radius: 4px;
}

#capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.ui-state-disabled .ui-state-default::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -15%;
  width: 110%;
  height: 1px;
  background-color: #CCCCCC;
  transform: rotate(47deg);
  z-index: 2;
}
.estado-disponible, #capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.disponible .ui-state-default, .leyenda ul li span.disponible {
    background-color: #FFF;
    color: #1A1A1A;
    font-weight: bold;
    border: 1px solid #006FB9;
}
table.ui-datepicker-calendar tbody tr td.disponible:hover a {
  border: 2px solid #006FB9!important;
}

.estado-activo, #capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.disponible .ui-state-active {
    background-color: #15153E;
    border: 2px solid #006FB9;
    font-weight: bold;
    color: #ffffff;
}
.ui-datepicker td {
  position: relative;
}
div.promo-label {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #DBF5E1;
  color: #037E1D;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  z-index: 3;
  text-align: center;
  pointer-events: none;
}
#capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.cerrada .ui-state-default {
    text-align: center;
	background-color: #F8F8F8;
	color: #B3B3B3;
	border: 1px solid #CCCCCC;}

.caja-horas #fecha_hoy {
    color: #1A1A1A;
    font-weight: inherit;
    text-align: left;
	font-size: 18px;
	line-height:23px;
	font-weight: 600;
}

div.leyenda.leyenda_horas {
    color: #868686;
}

.leyenda ul li span.ultimas {
    background-color: #F7A600;
    color: #0c99eb;
    font-weight: bold;
    border: 1px solid #F7A600;
}

/* #capa_calendario table.ui-datepicker-calendar thead tr th {
    padding-top: 1.5rem!important;
    padding-bottom: 1.5rem!important;
} */

#capa_calendario table.ui-datepicker-calendar thead tr th, #capa_calendario table.ui-datepicker-calendar tbody tr td {
    padding: 4px!important;
    margin: 0px!important;
    width: 54px!important;
    height:45px!important;
    display: table-cell;
    padding-bottom: 15px!important;
}
#capa_calendario table.ui-datepicker-calendar thead tr th a, #capa_calendario table.ui-datepicker-calendar tbody tr td a {
    padding: 4px!important;
    margin: 0px!important;
    width: 54px!important;
    height:45px!important;
    display: table-cell;
}
#capa_calendario table.ui-datepicker-calendar thead tr th span, #capa_calendario table.ui-datepicker-calendar tbody tr td span {
    padding: 4px!important;
    margin: 0px!important;
    width: 54px!important;
    height:45px!important;
    display: table-cell;
}

.leyenda ul li {
    border: none;
}

.caja-horas #capa_tramos .hora {
    width: 100%;
}

div#capa_tramos .nav-pills a {
    color: #000;
    border: 1px solid #000;
}

div#capa_tramos .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #000;
}


.caja-horas #pills-morning .h {
    display:flex;
    justify-self:center;
    align-self:start;
    flex-flow:row wrap;
    justify-content:left
}
@media (min-width: 575.98px) {
    .caja-horas #pills-morning .h {
        justify-content:flex-start
    }
}
.caja-horas #pills-evening .h {
    display:flex;
    justify-self:center;
    align-self:start;
    flex-flow:row wrap;
    justify-content:center
}
@media (min-width: 575.98px) {
    .caja-horas #pills-evening .h {
        justify-content:flex-start
    }
}

.caja-horas #capa_tramos .hora label {
    font-weight:600;
    font-size:20px;
    line-height:26px;
    margin-bottom:0
}
.caja-horas #capa_tramos .hora input[type=radio] {
    position:absolute;
    opacity:0;
    cursor:pointer;
    height:0;
    width:0
}

.caja-horas #capa_tramos .hora .precio {
    font-size: 23px;
    color: #1A1A1A;
    line-height: 29px;
}

.caja-horas #capa_tramos .hora {
    color: #1A1A1A;
    font-size: 11pt;
    line-height: 12pt;
    cursor: pointer;
  }

  .caja-horas #capa_tramos .hora {
    width: 100%;
    color: #1A1A1A;
    border-radius: 8px;
    font-size: 11pt;
    line-height: 12pt;
    padding: 12px;
    margin: 5px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
	height: 55px;
	background-color: #FFF;
	border: 2px solid transparent;
  }
	.caja-horas #capa_tramos .hora:hover {
		border: 2px solid #006FB9;
	}
  .caja-horas #capa_tramos .hora .precio span.entero {
    font-size: 23px;
    color: #1A1A1A;
    line-height: 29px;
  }
  .caja-horas #capa_tramos .hora .precio span.decimal {
    font-size: 14px;
    color: #1A1A1A;
    line-height: 18px;
  }
  .caja-horas #capa_tramos .promo .precio
  {
	background-color: #DBF5E1;
	border-radius: 8px;
  }
  .caja-horas #capa_tramos .normal .precio
  {
	background-color: #EBF3F9;
	border-radius: 8px;
  }
  .caja-horas #capa_tramos .cara .precio
  {
	background-color: #D0E2F1;
	border-radius: 8px;
  }
  .caja-horas #capa_tramos .hora .precio-oficial
  {
	  font-size: 11px;
	  line-height: 14px;
	  font-weight: 400;
	  color: #1A1A1A;
  }
  .caja-horas #capa_tramos .hora .precio-oficial span.tachado
  {
	  color: #4D4D4D;
	  text-decoration: line-through;
  }
  @media (min-width: 576px) {
    .caja-horas #capa_tramos .hora {
        width: 100%;
    }
  }

/* ESPECIFICO HELPFLASH */
#modal_helpflash .modal-content {
    background-color: transparent;
    border: none;
    top: 0;
}
#modal_helpflash .hp-image {
    position: relative;
    text-align: center;
}
#modal_helpflash .hp-image .enlace {
    position: absolute;
    top: 39%;
    width: 100%;
    height: 40px;
}
#modal_helpflash .hp-image .precio p {
    position: absolute;
    bottom: 33%;
    width: 100%;
    color: black;
    left: 32%;
    font-weight: bold;
    font-size: 22px;
}
#modal_helpflash .hp-image .boton1 {
    position: absolute;
    bottom: 14%;
    width: 100%;
    color: black;
    font-weight: bold;
    text-align: right;
    font-size: 20px;
    padding-bottom: 2px;
}
#modal_helpflash .hp-image .boton1 p {
    width: 100%;
    color: black;
    font-weight: bold;
    text-align: right;
    font-size: 15px;
    padding-right: 21%;
    margin-bottom: -4px;
}

#modal_helpflash .hp-image .boton2 {
    position: absolute;
    bottom: 6%;
    width: 100%;
}
#modal_helpflash .hp-image .boton3 {
    position: absolute;
    right: -35%;
    bottom: 90%;
    color: white;
    width: 100%;
}
@media (max-width: 767px) {
	.leyenda-ultimas-plazas
	{
		padding: 0px 10px;
	}
	table.ui-datepicker-calendar
	{
		margin: 0 auto!important;
	}
	div.promo-label {
		position: absolute;
		bottom: 5px;
		left: 45%;
		transform: translateX(-50%);
		background-color: #DBF5E1;
		color: #037E1D;
		font-size: 9px;
		padding: 1px;
		border-radius: 2px;
		z-index: 3;
		text-align: center;
		pointer-events: none;
	}
    #capa_calendario table.ui-datepicker-calendar thead tr th, #capa_calendario table.ui-datepicker-calendar tbody tr td {
        padding: 0 !important;
		margin: 0 !important;
		width: 12vw !important; /* ancho relativo al viewport */
		height: 12vw !important;
		display: table-cell;
		padding-right: 1vw !important;
		padding-bottom: 4vw !important;
	}
    #capa_calendario table.ui-datepicker-calendar thead tr th a, #capa_calendario table.ui-datepicker-calendar tbody tr td a {
        padding: 0px!important;
        margin: 0px!important;
        line-height: 50px!important;
        width: 42px!important;
        height: 42px!important;
        display: table-cell;
    }
    #capa_calendario table.ui-datepicker-calendar thead tr th span, #capa_calendario table.ui-datepicker-calendar tbody tr td span {
        padding: 0px!important;
        margin: 0px!important;
        line-height: 50px!important;
        width: 42px!important;
        height: 42px!important;
        display: table-cell;
    }
    #capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td .ui-state-default {
        /*margin-bottom: 10px!important;*/
    }
    #modal_helpflash .hp-image .enlace {
        position: absolute;
        top: 35%;
        width: 100%;
        height: 40px;
    }
    #modal_helpflash .hp-image .boton1 {
        position: absolute;
        bottom: 15%;
        width: 100%;
        color: black;
        font-weight: bold;
        text-align: right;
        font-size: 20px;
        height: 50px;
    }
    #modal_helpflash .hp-image .boton1 p {
        width: 100%;
        color: black;
        font-weight: bold;
        text-align: right;
        font-size: 16px;
        padding-right: 25%;
        padding-top: 11%;
    }
    #modal_helpflash .hp-image .boton2 {
        position: absolute;
        bottom: 8%;
        width: 100%;
    }
    #modal_helpflash .hp-image .boton3 {
        position: absolute;
        right: -35%;
        bottom: 93%;
        color: white;
        width: 100%;
    }
    #modal_helpflash .hp-image .precio p {
        position: absolute;
        bottom: 35%;
        width: 100%;
        color: black;
        left: 37%;
        font-weight: bold;
        font-size: 16px;
    }
	.caja-horas #capa_tramos .hora
	{
		border-bottom: 1px solid #CCE2F1;
	}

}



/* ESPECIFICO HELPFLASH */
#modal_confirmar_calendario .modal-content {
    background-color: transparent;
    border: none;
    top: 0;
}
#modal_confirmar_calendario .hp-image {
    position: relative;
    text-align: center;
}
#modal_confirmar_calendario .hp-image .enlace {
    position: absolute;
    top: 39%;
    width: 100%;
    height: 40px;
}
/*
#modal_confirmar_calendario .hp-image .precio p {
    position: absolute;
    bottom: 33%;
    width: 100%;
    color: black;
    left: 32%;
    font-weight: bold;
    font-size: 22px;
}
    */
#modal_confirmar_calendario .hp-image .boton1 {
    position: absolute;
    bottom: 14%;
    width: 100%;
    color: black;
    font-weight: bold;
    text-align: right;
    font-size: 20px;
    padding-bottom: 2px;
}
#modal_confirmar_calendario .hp-image .boton1 p {
    width: 100%;
    color: black;
    font-weight: bold;
    text-align: right;
    font-size: 15px;
    padding-right: 21%;
    margin-bottom: -4px;
}

#modal_confirmar_calendario .hp-image .boton2 {
    position: absolute;
    bottom: 6%;
    width: 100%;
}
#modal_confirmar_calendario .hp-image .boton3 {
    position: absolute;
    right: -35%;
    bottom: 90%;
    color: white;
    width: 100%;
}
#modal_confirmar_calendario .hp-image .form-group {
    position: absolute;
    width: 100%;
    margin: 0px!important;
    padding: 0px!important;
    height: auto;
}
#modal_confirmar_calendario .hp-image .form-group label {
    color: #15153E;
    text-align: center;
    margin:0px;
}
#modal_confirmar_calendario .hp-image .form-group p {
    color: #FFF;
    text-align: center;
    padding: 0px;
    font-size: 1.25em;
    line-height: 1.2em;
    width: 75%;
    margin: 0 auto;
}
#modal_confirmar_calendario .hp-image .form-group.vehiculo {
    background-image: none;
    top: 55px;
}
#modal_confirmar_calendario .hp-image .form-group.estacion {
    background-image: none;
    top: 150px;
}
#modal_confirmar_calendario .hp-image .form-group.fecha {
    background-image: none;
    top: 215px;
}
#modal_confirmar_calendario .hp-image .form-group.precio {
    background-image: none;
    top: 310px;
}
#modal_confirmar_calendario .hp-image .form-group.btn-ok {
    background-image: none;
    top: 430px;
}
#modal_confirmar_calendario .hp-image .from-group.btn-ok button {
    background-color: #15153E;
    border-color: #15153E;
}
#modal_confirmar_calendario .hp-image .form-group.btn-ko {
    background-image: none;
    top: 500px;
}
#modal_confirmar_calendario .hp-image .form-group.btn-ok div, #modal_confirmar_calendario .hp-image .form-group.btn-ko div {
    width: 65%;
    margin: 0px auto;
}
@media (max-width: 767px) {
    #modal_confirmar_calendario .hp-image .enlace {
        position: absolute;
        top: 35%;
        width: 100%;
        height: 40px;
    }
    #modal_confirmar_calendario .hp-image .boton1 {
        position: absolute;
        bottom: 15%;
        width: 100%;
        color: black;
        font-weight: bold;
        text-align: right;
        font-size: 20px;
        height: 50px;
    }
    #modal_confirmar_calendario .hp-image .boton1 p {
        width: 100%;
        color: black;
        font-weight: bold;
        text-align: right;
        font-size: 16px;
        padding-right: 25%;
        padding-top: 11%;
    }
    #modal_confirmar_calendario .hp-image .boton2 {
        position: absolute;
        bottom: 8%;
        width: 100%;
    }
    #modal_confirmar_calendario .hp-image .boton3 {
        position: absolute;
        right: -35%;
        bottom: 93%;
        color: white;
        width: 100%;
    }
}



/*#capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.ultimas a {
	background-image: url(../images/ultimas-plazas.png);
	background-repeat: no-repeat;
	background-position: top right;
	background-size: 20%;
}*/
#capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.ultimas a {
  position: relative;
  z-index: 1;
}

#capa_calendario .ui-datepicker table.ui-datepicker-calendar tbody tr td.ultimas a::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -10px;
    right: -5px;
    bottom: -10px;
    background-image: url(../images/ultimas-plazas.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 10px 10px;
    z-index: -1;
    pointer-events: none;
}
.caja-horas::after, .caja-horas::before {
  display: none;
}
/*@media (max-width: 410px) {
  .caja-horas #capa_tramos .hora {
    width: 88px;
  }
}*/
.leyenda{
	position: relative;
}
#capa_tramos
{
	margin-top:0px!important;
	max-height: 400px;
	overflow-y: auto;
	overflow-x: hidden;
}

#capa_calendario .ui-datepicker table
{
    width: auto!important;
}

#capa_calendario table.ui-datepicker-calendar td.cerrada.ui-datepicker-current-day .ui-state-default
{
	border: 1px solid #ddd!important;
	background-color: #fff!important;
	font-weight: bolder;
}
.ui-datepicker
{
	padding:0;
}
table.ui-datepicker-calendar
{
	background-color: white;
    border-radius: 16px;
}
.disponible,
.ui-state-active
{
	cursor: pointer;
}