
/*** Estilos boofrost - Index **/
/** 2. Layout: l-; 2.1. Home */
/** 3. Componente: c-; 3.1. Slider */
/** 4. Paginas: p- */

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

/** 2. Layout */

.l-page__home {
	overflow: hidden;
	padding: 2.25rem 0;
	text-align: center;
	width: 100%;
}

.l-page__home h3 {
	color: var(--color-primary);
	font-size: 1.625rem;
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.l-page__home {padding: 3.125rem 0;}
	.l-page__home h3 {
		font-size: 2.5rem;
	}
}

.l-page__sentence {
	background-color: #FFF;
	overflow: hidden;
	padding: 2.25rem 0;
	text-align: center;
	width: 100%;
}

.l-page__sentence p {
	font-size: 1.5rem;
	margin: 0;
}

main img{
	width: 100%;
	height: auto;
}

.main {
	overflow: hidden;
	padding: 2rem 0 4rem 0;
}

.main-content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4rem;
	align-items: center;
	justify-content: flex-start
}

.main-content-login {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3rem;
	align-items: center;
	max-width: 1200px;
	margin: 40px auto;
}

.main article {
	position: relative;
	display: flex;
	justify-content: center;
	z-index: 99;
	color: #FFF;
	margin: 0 auto;
	max-width: 1200px;
	padding: 1rem 3rem 1rem;
	width: 100%;
}

.main h1, .main h3 {
	margin-bottom: 1.5rem;
}


.main p, .main label {
	color: #272727;
	font-size: 1.9rem;
}

.main-content-login__logo {
	background-color: rgba(255,255,255,0.8);
	max-width: 350px;
}

@media (min-width: 985px) {
	.main {
		padding: 2rem 0 7rem 0;
	}

	.main article {
		padding: 3rem;
	}

	.main-content-login {
		flex-direction: row;
		gap: 6rem;
	}
}

.section {
	padding: 2.5rem;
	background-color: #FFF;
}

.section p{
	margin: 0;
    line-height: 1.5;
    max-width: 1200px;
    text-align: center;
}

.section div{
	text-align: center;
}

.section .link{
	background-color: var(--color-primary);
	color: #FFF;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1rem 2.5rem;
	display: inline-block;
}

@media (min-width: 768px) {
	.l-page__sentence {
		padding: 3.125rem 0;
	}
	.l-page__sentence p {
		font-size: 1.75rem;
	}
}



@media screen and (min-width: 1024px){
	.main.logged{
		height: calc(100vh - 448px );
	}

	.main h1{
   	font-size: 4rem;
		width: 60rem;
	}
	.main article {
		padding: 3rem 0rem 1.5rem 3rem;
		position: relative;
	}
	.main article p, .main article  h1{
		position: relative;
		z-index: 2;
	}
	.section p {
		margin: 3rem auto 0rem auto
	}
}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 3. Componentes */

/* 3.1 Lista */

.c-list--home {
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: center;
	display: flex;
}
.c-list--home li {
	border: 1px solid var(--color-primary);
	margin-bottom: 1.25rem;
	padding: 0 1.25rem;
	position: relative;
	width: 100%;
}
.c-list--home li:last-child {
	margin-bottom: 0;
}
.c-list--home img {
	left: 50%;
	margin-left: -128px;
	position: absolute;
	top: 0;
}

.o-home {padding: 1.25rem 0;}
.o-home--bottom {
	border-top: 1px solid var(--color-primary);
}
.o-home p {margin: 0;}

.c-list--home p {
	font-size: 1.125rem;
}

@media (min-width: 768px) {
	.c-list--home li {
		-webkit-flex-flow: column;
		display: flex;
		flex-flow: column;
	    display: -webkit-flex;
	    justify-content: flex-end;
	    margin: 0 0.625rem;
	    padding: 0 1.75rem;
	    width: 31%;
	}

	.o-home {padding: 1.75rem 0;}
}

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

/** 4. Index */

.p-index--closed .c-slider__content {max-width: 630px;}

.p-registro--acceso {
	display: flex;
	flex-flow: column;
	height: auto;
	min-height: 100%;
}

.p-registro--acceso .l-container-login {
	flex: 1;
	min-height: 100%;
}

.p-registro--acceso .main {
	padding: 2rem 0;
}

.p-registro--acceso .main-content-login {
	margin: 2vw auto;
	width: 95%;
}

.p-registro--acceso .p-registro__content {
	padding: 0;
}

/** 4.1 home */

.p-home {
	display: flex;
	flex-flow: column;
	height: auto;
	min-height: 100%;
}

.p-user.p-home .l-header {
	flex: 1;
}

.p-home .l-container {
	display: flex;
	flex-flow: column;
	flex: 1;
}

.p-home .l-container .l-page {
	display: flex;
	flex: 999;
	flex-flow: column;
}

body.p-user.p-home > .l-container::after {
	display: none;
}

.p-user.p-home .l-footer {
	min-height: auto;
	margin-top: 0;
}

.p-home .main {
	display: flex;
	flex: 1;
	padding: 0;
	flex-flow: column;
}

.p-user.p-home .main article {
	flex: 1;
	flex-flow: column;
	padding: 0;
	max-width: none;
}

.p-user.p-home .main__description {
	align-items: center;
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: 100%;
}

.main__text {
	margin: auto;
	max-width: 45rem;
	padding: 2.5rem 0;
	width: 92%;
}

.p-home .main article h1 {
	max-width: max-content;
	width: 100%;
}

.p-home .main article h1 span {
	background-color: #000000;
	color: #ffffff;
	display: inline-block;
	font-family: var(--font-text-primary);
	padding: 0.5rem;
}

.p-user.p-home .main__image {
	height: 30rem;
	width: 100%;
}

.p-user.p-home .main__image--1 {
	background: transparent url('../images/bkg_home_01.jpg') no-repeat scroll center top;
	background-size: cover;
}

.p-user.p-home .main__image--2 {
	background: transparent url('../images/bkg_home_02.jpg') no-repeat scroll center top;
	background-size: cover;
}

.p-user.p-home .main__image--3 {
	background: transparent url('../images/bkg_home_03.jpg') no-repeat scroll center top;
	background-size: cover;
}

.p-user.p-home .main article img {
	object-fit: cover;
	object-position: top;
	width: 100%;
}

@media (min-width: 768px) {
	.p-user.p-home .main article {
		flex-flow: row wrap;
	}

	.p-user.p-home .main__description {
		width: 45%;
	}

	.p-user.p-home .main__image {
		height: auto;
		width: 55%;
	}
}