
/*** Estilos boofrost - Login... registro... **/
/** 1. Generales:  */
/** 2. Layout: l-;  */
/** 3. Componente: c-;  */
/** 4. Paginas: p- */

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 1. Generales */

h3.recuerda { color: var(--color-primary); padding-bottom: 2rem;}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 2. Layout */

.l-page__general {
	padding: 1.2rem 0rem;
}

.l-page__titular h3 {
    background-color: #ddd;
    border: 0.2rem solid var(--color-primary);
    margin-top: 2rem;
    padding: 1rem;
}

.l-page__titular h3 span {display: inline-block;}

@media (min-width: 768px) {
	.l-page__general {
		padding: 2rem 0 1.2rem;
	}
}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 3. Componentes */

.c-form {
	overflow: hidden;
	width: 100%;
	margin-top: 3rem;
	margin-bottom: 1rem;
}
.c-form label {
	display: block;
	font-size: 1.6rem;
	font-weight: 400;
	margin: 0 0 1rem;
	letter-spacing: 1px;
}

.c-form .checkbox-btn label {
	font-size: 1.3rem;
	font-weight: normal;
	text-transform: inherit;
}

.c-form input, .c-form select, .c-form textarea {width: 100%;}

.c-form__section {
	margin-bottom: 2rem;
	overflow: hidden;
	width: 100%;
}

.c-form__section--visible {
	overflow: visible;
}

.c-form__section--1 .c-form__box {
	width: 100%;
}

.c-form__box {
	position: relative;
}

.c-form__section--cif input {display: none;margin-top: 1rem;}

.c-form__section--2 .c-form__box,
.c-form__section--2 > div,
.c-form__section--3 .c-form__box,
.c-form__section--3 > div,
.c-form__section--4 .c-form__box,
.c-form__section--4 > div {margin-bottom: 1.2rem;width: 100%;}

.c-form__box:first-child, .c-form__section--2 > div {
	margin-bottom: 3rem;
}

.c-form__box:last-child {
	margin-bottom: 1.2rem;
}

@media (min-width: 768px) {
	.c-form__box:first-child {
		margin-bottom: 0rem;
	}
}

.c-form__box--absolute {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background-color: rgba(0, 0, 0, 0.15);
}

.c-form__box--absolute div  {
	padding: 4rem;
	margin: 2rem;
	max-width: 360px;
	text-align: center;
	background-color: var(--color-terciary);
}

.c-form__box--absolute div p {
	margin-bottom: 3rem;
}

.c-form__box--absolute div a {
	font-weight: 800;
}

.c-form__info {
	margin-block: 3.3rem;
	overflow: hidden;
	text-align: right;
	width: 100%;
}

.c-form__info p {
	font-size: 1.4rem;
	text-align: left !important;
	margin-top: 0 !important;
}

.c-form__info--big {margin-top: 2.5rem; text-align: center;}
.c-form__info--big p {
	font-size: 1.4rem;

}

.c-form__info a {color: var(--color-primary);font-size: 1.5rem;}
.c-form__info a:hover {color: var(--font-color-terciary); text-decoration: underline;}

.c-form__button {
	overflow: hidden;
	position: relative;
	text-align: right;
	width: 100%;
	display: flex;
	justify-content: center;
  padding-block: 0.25rem;
}

.c-form__button .c-btn--volver {
	margin-top: 1.2rem;
}

.c-form form > .checkbox-btn {margin-bottom: 2.25rem;}

.c-form__box ul {
	background-color: #f8f8f8;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	font-size: 1.4rem;
	margin: 0.5rem 0;
	padding: 1rem;
	text-align: center;
}

.c-form--modificar {
	margin-top: 0 !important;
}

.c-form--modificar .c-form__button {
	margin-top: 1.75rem;
}

.c-form--modificar h3 {
	padding: 1rem 0 3rem;
}

.c-form__2col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6rem;
}

@media (min-width: 768px) {
	.c-form__2col {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6rem;
	}
}

.c-form__error {
	display: none;
	margin-top: 10px;
	overflow: hidden;
	width: 100%;
}

.c-form__error p,
.p-registro__box .c-form__error p {
	color: #f40000;
	font-size: 14px;
	margin-top: 0;
}

.c-form__error--email, .c-form__error--pass, .c-form__error--check {margin-bottom: 12px;margin-top: 0;}

.c-form__section--cif  input {display: none;}


@media (min-width: 768px) {
	.c-form__section--2 .c-form__box, .c-form__section--2 > div {float: left;margin-bottom: 0;margin-right: 4.5%;width: 47.6%;}
	.c-form__section--2 .c-form__box:last-child, .c-form__section--2 > div:last-child {margin-right: 0}

	.c-form__section--3 .c-form__box, .c-form__section--3 > div {float: left;margin-bottom: 0;margin-right: 2%;width: 32%;}
	.c-form__section--3 .c-form__box:last-child, .c-form__section--3 > div:last-child {margin-right: 0}

	.c-form__section--4 .c-form__box, .c-form__section--4 > div {float: left;margin-bottom: 0;margin-right: 2%;width: 23.5%;}
	.c-form__section--4 .c-form__box:last-child, .c-form__section--4 > div:last-child {margin-right: 0;}

	.c-form__section--1rstSmall .c-form__box:first-child, .c-form__section--1rstSmall > div:first-child {
		width: 23.5%;
	}
	.c-form__section--1rstSmall .c-form__box:last-child, .c-form__section--1rstSmall > div:last-child {
		width: 74.5%;
	}

	.c-form__button .c-btn--volver {
		margin-top: 0;
		left: 0;
		position: absolute;
		top: 0;
	}
}

.c-form--modificar input {font-size: 1.5rem; font-family: var(--font-text-secondary); font-weight: normal;}
.c-form--modificar label {font-size: 1.5rem; font-family: var(--font-text-secondary); font-weight: 400; letter-spacing: 1px;}

.c-form--modificar input[type="text"],
.c-form--modificar input[type="password"],
.c-form--modificar input[type="email"],
.c-form--modificar textarea,
.c-form--modificar select {
	background-color: var(--font-color-secondary);
	border: 1px solid rgba(128, 128, 128, 0.445);
	border-radius: 0;
	color: var(--font-color-primary);
	font-size: 1.5rem;
	padding: 1.5rem;
}

.c-form--modificar input[type="text"]:focus,
.c-form--modificar input[type="password"]:focus,
.c-form--modificar input[type="email"]:focus,
.c-form--modificar textarea:focus,
.c-form--modificar select:focus {
	border: 0.1rem solid var(--color-primary);
	outline: 0;
}

.c-form--modificar .c-form__section {
	margin-bottom: 3rem;
}

input[disabled="true"] {
	background-color: var(--color-secondary) !important;
}

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
	cursor: pointer;
	position: relative;
	z-index: 2; }
  
/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

/* Position tooltip above the element */
[data-tooltip]:before {-moz-border-radius: 0;-webkit-border-radius: 0;background-color: #FFF;border-radius: 0;border: 1px solid #F4F4F4;color: #121212;content: attr(data-tooltip);font-size: 1.3rem;left: 0;line-height: 1.53;margin-bottom: 5px;margin-left: 0;padding: 1rem;position: absolute;/* right: 0; */text-align: right;top: 2.5rem;width: 23rem;}
@media screen and (min-width: 63.75rem) {
	[data-tooltip]:before {
		font-size: 1.2rem;
		padding: 1.5rem;
		width: 30rem;
	} 
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
	background: transparent url(../images/bg_tooltip.png) no-repeat scroll 0 0;
	content: " ";
	font-size: 0;
	height: 25px;
	left: 0;
	line-height: 0;
	margin-left: 0;
	position: absolute;
	right: auto;
	top: 18px;
	width: 27px; 
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	opacity: 1;
	visibility: visible;
	z-index: 100;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 4. Pagina */

.p-registro__content {
	-webkit-flex-flow: column wrap;
	display: -webkit-flex;
	display: flex;
	flex-flow: column wrap;
	justify-content: space-between;
	gap: 3rem;
	overflow: hidden;
	padding: 2rem 0;
	min-width: 45%;
	width: 100%;
}

.p-registro__content--center {
	justify-content: center;
}

.p-registro__content--reset {
	-webkit-flex-flow: column;
	flex-flow: column;
	align-items: center;
}

.p-registro__box {
	background-color: #FFF;
	margin-bottom: 1.2rem;
	padding: 3rem 4rem;
	width: 100%;
}
.p-registro__box:last-child {margin-bottom: 0; background-color: var(--color-secondary);}

.p-registro__box-1 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 3rem 4rem;
	background-color: #ecebe9bf;
	gap: 3rem;
}

.p-registro__box-1--border {
    border: 0.1rem solid #ddd;
    -webkit-box-shadow: 0 1px 3px rgba(255,255,255,0.9);
        box-shadow: 0 1px 3px rgba(255,255,255,0.9);
}

.p-registro__box-2 {position: relative;}

.p-registro__close-btn {
	position: absolute;
	top: 2px;
	right: 20px;
	font-size: 24px !important;
	color: var(--color-secondary) !important;
	font-weight: bold !important;
	cursor: pointer;
}

.p-registro__close-btn:hover {
	color: var(--font-color-primary) !important;
}

.p-registro__box:first-child {margin-bottom: 0; background-color: #ecebe9bf;}

.p-registro__box:last-child .c-form__button {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}

.p-registro__box h1, .p-registro__box h2, .p-registro__box h3 {
	color: var(--font-color-primary)
}

.p-registro__box h3, .p-registro__box h4 {text-align: left}
.p-registro__box h2 {text-align: center; margin-bottom: 0; font-weight: 300;}

.p-registro__box .c-form--modificar h2 {text-align: left;margin: 2rem 0 4rem;font-weight: 500;font-family: var(--font-text-terciary) !important;}

.p-registro__box h4 {
    border-bottom: 0.1rem solid;
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    padding: 0 0 1.5rem;
}

.p-registro__box--detail h3 {margin-bottom: 1.5rem;}
.p-registro__box--detail h3 i {margin-right: 1rem;}
.p-registro__box--detail p {text-align: center;}

.p-registro__error {
	border: 1px solid #e60000;
    background-color: #f8f8f8;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 1.2rem;
    text-align: center;
}
.p-registro__error p {
	color: #e60000;
}
.p-registro__error p:last-child {
	margin-bottom: 0;
	margin-top: 0 !important;
}

.p-registro__success {
	border: 1px solid #4b915d;
    background-color: #f8f8f8;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 1.2rem;
    text-align: center;
}
.p-registro__success p {
	color: #4b915d;
}
.p-registro__success p:last-child {
	margin-bottom: 0;
	margin-top: 0 !important;
}

.p-registro--confirmar .c-form h3 {margin-bottom: 2rem;text-align: center;}
.p-registro--confirmar .c-form__button {margin-top: 2.25rem;}

@media (min-width: 768px) {
	.p-registro__content {
		padding: 2rem;
		width: unset;
	}

	.p-registro__box {
		margin-bottom: 0;
		padding: 3rem 6rem;
	}

	.p-registro__content--sm {
		padding: 4rem 6rem 0;
	}

	.p-registro__box--total {width: 100%;}
}

@media (min-width: 984px) {
	.p-registro__box-1 {
		flex-direction: row;
		padding: 0;
		padding: 2rem 1rem;
    background-color: #ecebe9;
	}

	.p-registro__box:first-child {margin-bottom: 0; background-color: var(--font-color-secondary);}
}

.p-registro__box.p-registro__box--total {
	background-color: #ecebe9 !important;
}

.confirm_datos {
	margin: 0 auto;
}

.p-registro__box p {
	margin-top: 2rem;
	line-height: 2.1rem;
	text-align: center;
}

.p-registro__subtitle {
	margin-top: 3rem;
	color: var(--color-terciary) !important;
	font-size: 1.8rem !important;
}

/* 4.1. Pre-registro */

.p-registro--pre .p-registro__content {
	justify-content: space-around;
}

#fos_user_registration_form_userCode,
#fos_user_registration_form_manager,
#fos_user_registration_form_puntoDeVenta,
#fos_user_registration_form_cadenaDePerfumeria,
#fos_user_registration_form_porcentajeRetencion,
#form_puntoDeVenta,
#form_cadenaDePerfumeria {
	display: none;
}