/* 
***********
* datosBasicos.xhtml
************ 
*/

.tipoVehiculoContainer {
    width: 30em;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    font-weight: bold;
    border: 1px solid #cccccc;
    border-radius: 4px;
    height: 3.75em;
    width: 14.7em;
    color: #4a5154;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Label tipoVehiculoContainer */

.labelcont {
    position: relative;
    height: 50%;
}

/* Mobile adaptation */

@media only screen and (max-width: 600px) {
	.auto-align {
		padding-top: 0px !important;
	}

    /*Make the label tipoVehiculoContainer shorter to reduce gaps*/
    .labelcont {
        position: relative;
        height: 85%;
    }
    /*Make the tipoVehiculoContainer thinner to keep 3 columns*/
    .tipoVehiculoContainer {
        width: 21em;
    }
    /*Change box size for mobile*/
    .box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 7em;
        width: 14.7em;
        margin-bottom: 0px;
    }
    .box p {
        margin: 0;
    }
}

.box img {
    padding: 0.5em;
    max-width: 42px;
}

/* Radio styling */

.tipoVehiculoContainer input[type="radio"] {
    visibility: hidden;
    width: 0;
    height: 0;
}

.tipoVehiculoContainer input[type="radio"]:checked~.box {
    color: #118bcc;
    border: 2px solid #118bcc;
}

/* Label at same size as tipoVehiculoContainer for toggling when clicking */

.invlabel {
    position: absolute;
    height: 100%;
    width: 100%;
}

.auto-align {
	padding-top: 12px;
	margin-left: auto;
	margin-right: auto;
}

.element-list {
	display: block;
	list-style: none;
	margin-bottom: 20px
}

.quote {
	text-align: left;
	margin-bottom:10px;
}

.nota-margin {
	margin-top:10px;
}

/* 
***********
* cotizacion.xhtml
************ 
*/

/* Basic */

.contenedor {
    margin: 5em;
    display: flex;
    align-content: center;
}

.columna {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.carta {
	margin-bottom: 80px;
    width: 13.75em;
    height: 17em;
    padding: 0.625em;
    border-radius: 10px;
    border: 1px solid #cccccc;
    background-color: white;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 500;
}

/* Planes */

.plancol {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 5em;
}

.plancont {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.plantitle {
    font-size: 1.875em;
    font-weight: 650;
    line-height: 2.1875em;
    line-height: 100%;
    text-align: left;
    margin-bottom: 0px;
    margin-top: 0.5em;
}

.plantext {
    align-self: flex-start;
	margin-left: 15px;
	margin-top: 5px;
}

.plan {
    height: 100%;
    max-width: 720px;
    background-color: #e5f4fd;
    border-radius: 17px;
    padding-left: 1em;
    padding-right: 1em;
}

.plan.sec {
    background-color: #ececec;
}

.icon {
	margin-right: 5px;
}

/* Estrella */

.outer {
    position: relative;
}

.starred {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 3em;
    height: 3em;
    top: 0;
    right: 0;
}

.starred img {
    height: 16px;
}

/* Elementos de la tarjeta */

.price {
    font-size: large;
    font-weight: bold;
}

.boton {
    appearance: none !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    border: none !important;
    height: 2.5em !important;
    width: 100% !important;
}

.content {
    padding: 0 1em 1em 1em;
    flex-grow: 1;
    height: 70%;
}

.primario {
    background-color: #00a5e1 !important;
    color: white !important;
}

.primario:hover {
    background-color: #0092c7 !important;
}

.secundario {
    background-color: white !important;
    color: #00a5e1 !important;
    border: #00a5e1 solid 1px !important;
}

.secundario:hover {
    background-color: rgb(228, 228, 228) !important;
}

.subtop {
    margin-top: 7px;
    font-size: 0.85em;
    font-weight: 500;
    text-align: left;
}

.italic {
    font-style: italic;
}

.promo p {
    margin: 0;
}

.subtitle {
    font-size: 0.85em;
    font-weight: 400;
}

.cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    position: relative;
    top: -0.55em;
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin-left: 2em;
    margin-right: 2em;
}

.beneficios {
	color: #00a5e1 !important; 
	margin-bottom: 1em;
}

/* Tablet */

@media only screen and (max-width: 745px) {
	.contenedor {
	    margin: 2em !important;
	}

    .plantext {
        margin-bottom: 2em;
    }
    .cards {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
    }
    .plancont {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .plancol {
        gap: 2em;
    }
    .carta {
        height: 100%;
    }
}

/* 
***********
* datosAdicionales.xhtml
************ 
*/

.ceroKm label {
	font-size: 0.9em !important;
	color: #4f4f4f !important;
}

.ceroKm td {
	padding: 0px 10px 0px 5px !important;	
}

/* 
***********
* pago.xhtml
************ 
*/

.pago-container {
    display: flex;
    align-content: center;
    max-width: 400px;
}

.pago-main {
    gap: 2em;
}

.pago-col {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.pago-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pago-card {
    padding: 1em;
    border: 1px solid #cccccc;
    border-radius: 5px;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.pago-chip {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-basis: auto;
    background-color: #FFEEEF;
    border-radius: 10px;
    font-size: 10px;
    color: #ac5156;
    padding: 1px;
    height: 1.5em;
    width: 7em;
    margin-bottom: 5px;
}

#detailcol {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #fdfeff;
    border-radius: 5px;
}


/*Could use .hidden with !important to avoid more lines which shouldn't break the cs*/

#detailcol.pago-hidden {
    display: none;
}

#cuotacol.pago-hidden {
    display: none;
}

#cuotapref.pago-hidden {
    display: none;
}

#detailcol p {
    font-size: 22px;
    font-weight: 500;
}

.pago-topone {
    display: flex;
    padding: 0.25em;
    background-color: #f1f9fE;
    font-weight: bold;
    font-size: 28px;
}

.pago-topone p {
    margin: 0.35em;
}

.pago-subtop {
    font-size: 28px;
}

.pago-container #seemore {
    font-size: 1em;
    font-weight: bold;
    color: #0379b4;
    text-align: center;
}

.pago-optionscont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

#bottomsee {
    margin-top: 2em;
    margin-bottom: 2em;
}

.pago-collapse {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    content: url('../img/more.png');
    margin-right: 0.5em;
    height: 0.5em;
}

.pago-collapse:checked {
    transform: rotate(180deg);
}

.pago-tiny {
    height: 0.4em;
    width: 0.64em !important;
}

.pago-seemore {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: baseline;
	gap: 10px;
}

.pago-option {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cccccc;
    height: 5.5em;
}

.pago-subtitle {
    font-style: italic;
    font-size: 12px;
    font-weight: 400;
}

.pago-cuotas {
    margin: 0 0.5em 0.5em 0;
    text-align: left;
}

.pago-total {
    width: 100%;
    text-align: end;
    font-size: 20px;
    font-weight: bold;
    line-height: 27px;
    margin-right: 1.5em;
}

.pago-ptf {
    font-size: 12px;
    line-height: 14px;
    margin: 0%;
    text-align: left;
}

.pago-option .pago-radio {
    align-self: center;
    padding: 1em;
}

.pago-container input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    font: inherit;
    width: 1.45em;
    height: 1.45em;
    border: 0.10em solid #cccccc;
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

.pago-container input[type=radio]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    box-shadow: inset 1em 1em #048DCF;
}

.pago-container input[type=radio]:checked::before {
    transform: scale(1);
}

.msg-warning {
	width: 100%;
	border-radius: 10px;
	border: 1px solid #E4A630;
	background-color: #F7E4C0;
}

.msg-warning-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.msg-warning-col-img {
	width: 20%;
	text-align: center;
	margin: 0.35em;
}

.msg-warning-img {
	height: 30px;
}

.msg-warning-col-txt {
	width: 80%;
	margin: 0.35em;
}

.msg-warning-col-link {
	color: blue !important;
	text-decoration: underline;
}
