
/*----------RESETEAR PAGINA----------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
}

/*----------CABEZERA DE LA PAGINA----------*/

.main-header {
	background-color: #5D6D7E;
	width: 100%;
	top: 0;
	height: 60px;
	position: fixed;
	box-sizing: border-box;
	box-shadow: 0 0 0 0px #4B4E4F,
				0 3px 5px;
	z-index: 9999;
}

/*----------PAGINA MAIN----------*/

.main-page {
	max-width: 1120px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	margin-top: 60px;
    background-color: #D6DBDF;
	box-shadow: 0 0 0 0px #4B4E4F,
				0 0px 5px;
}

/*----------FOOTER DE LA PAGINA----------*/

.main-footer {
	background-color: #85929E;
	width: 100%;
	overflow: hidden;
	position: relative;
	clear: both;
}
.footer-top {
	max-width: 1120px;
	width: 100%;
	margin: 0 auto;
}
.footer-top-img {
	width: 80%;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.8);
}
.footer-top-img figure {
	overflow: hidden;
	display: flex;
	justify-content: center;
}
.footer-top-img img {
	width: 30vw;
	height: 100px;
}

/*---------------------*/
.footer-top-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.footer-top-info .info-item1 {
	width: 30%;	
	padding: 20px;
	position: relative;
}
.footer-top-info .info-item1 nav {
	margin-top: 10px;
}
.footer-top-info .info-item1 nav h2 {
	font-size: 26px;
	color: white;
	font-weight: bold;
}
.footer-top-info .info-item1 ul {
	list-style: none;
	position: relative;
	margin-top: 15px;
}
.footer-top-info .info-item1 ul li {
	padding: 6px 0 6px 0;
	position: relative;
}
.footer-top-info .info-item1 li a {
	text-decoration: none;
	color: white;
	font-weight: bold;
}
.footer-top-info .info-item1 a:hover {
	color: #D35400;
}

.footer-top-info .info-item2 {
	width: 55%;
	padding: 20px;
}
.footer-top-info .info-item2 .icon-social {
	padding: 5px;
}
.footer-top-info .info-item2 .icon-social a {
	font-size: 50px;
	padding: 5px;
	text-decoration: none;
	color: rgba(255,255,255,0.8);
}
.footer-top-info .info-item2 .icon-social span:hover {
	color: #D35400;
}
.info-item2 .info-btn-contacto {
	background-color: #D35400;
	border-radius: 8px;
	padding: 12px;
	color: white;
	font-weight: bold;
	text-decoration: none;
}
.info-item2 .info-btn-contacto:hover {
	border: 1px solid #F5B041;
}
.info-item2 .into-parrafo {
	padding: 10px;
}
.info-item2 .into-parrafo p:first-child {
	font-weight: bold;
	width: 100%;
	font-size: 18px;
	margin-bottom: 10px;
}
.info-item2 .into-parrafo p {
	color: white;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	align-items: center;
}
.info-item2 .into-parrafo p span {
	padding: 5px 10px 5px 0;
	font-size: 18px;
}

/*======================*/
.footer-bottom {
	background-color: #5D6D7E;
	text-align: center;
	width: 100%;
	color: white;
	padding: 20px;
}

/*---------- MENSAJE DE SIN REGISTRO----------*/
.mensaje-error {
	width: 100%;
	padding: 30px 0;
}
.mensaje-error p {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
}
.mensaje-error ul {
	margin-top: 20px;
}
.mensaje-error ul li {
	padding: 2px;
	margin-left: 30px;
}

/*----------BOTON IR ARRIBA----------*/

.btn-fijo {
	display: none;
	background-color: #117864;
	cursor: pointer;
	max-width: 45px;
	max-height: 45px;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: fixed;
	padding: 5px;
	bottom: 5px;
	right: 5px;
	transform: translate(-5px, -5px);
	z-index: 999;
}
.ir-arriba {
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	color: white;
	font-weight: bold;
	font-size: 24px;
}
.btn-fijo:hover {
	border: 1px solid #1ABC9C;
}


/*---------- STYCKY HEADER----------*/

.headroom {
 	animation-duration:1s;
 	animation-fill-mode:both;
 	will-change: transform;
 	transition: transform 200ms linear;
}
.headroom--pinned{
  	transform: translateY(0%);
}
.headroom--unpinned{
  	transform: translateY(-100%);
}


/*----------  MEDIA QUERY  ----------*/

@media (max-width: 900px){
	.footer-top-img {
		width: 100%;
	}
	.footer-top-img img {
		width: 35vw;
	}
}

@media (max-width: 800px){
	.footer-top-img img {
		width: 45vw;
	}

	/*-------------------------*/
	.footer-top-info .info-item1 {
		width: 40%;	
	}
	.footer-top-info .info-item2 {
		padding: 10px;
	}
	.info-item2 .into-parrafo p:first-child {
		font-size: 16px;
	}
	.info-item2 .into-parrafo p {
		font-size: 15px;
	}
	.info-item2 .into-parrafo p span {
		font-size: 16px;
	}

}

@media (max-width: 640px){
	.footer-top-img img {
		width: 40vw;
		height: 80%;
	}

	/*-------------------------*/
	.footer-top-info .info-item1 {
		width: 100%;
		border-bottom: 1px solid rgba(255,255,255,0.8);	
	}
	.footer-top-info .info-item1 nav {
		width: 100%;
		margin: auto;
		text-align: center;
	}

	.footer-top-info .info-item2 {
		width: 100%;
	}
	.footer-top-info .info-item2 .icon-social {
		display: flex;
		justify-content: center;
	}
	.info-item2 .into-parrafo {
		width: 70%;
		padding: 15px 0 15px 0;
		margin: auto;
	}
	.info-item2 .into-parrafo p:first-child {
		font-size: 16px;
	}
	.info-item2 .into-parrafo p {
		font-size: 15px;
	}
	.info-item2 .into-parrafo p span {
		font-size: 16px;
	}
	.info-item2 .info-btn-contacto {
		display: flex;
		width: 40%;
		margin: auto;
		justify-content: center;
		align-items: center;
	}
	
}

@media (max-width: 480px){
	.footer-top-img img {
		width: 60vw;
		height: 80%;
	}

	/*-------------------------*/
	.info-item2 .into-parrafo {
		width: 80%;
	}
	.info-item2 .into-parrafo p:first-child {
		text-align: center;
	}
	.info-item2 .info-btn-contacto {
		width: 60%;
	}

	/*======================*/
	.footer-bottom {
		padding: 10px;
	}
	.footer-bottom p {
		font-size: 14px;
	}

}

@media (max-width: 380px){
	.footer-top-img img {
		width: 60vw;
		height: 80%;
	}

	/*-------------------------*/
	.info-item2 .into-parrafo p {
		font-size: 14px;
	}
	.info-item2 .into-parrafo p span {
		font-size: 14px;
	}
	.info-item2 .into-parrafo {
		width: 90%;
	}
	.info-item2 .info-btn-contacto {
		width: 70%;
	}
}
