* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	font-family: 'Ubuntu', sans-serif;
}

:root
{
	--white: #ffffff;
	--color1: #212529;
	--color2: #122e32;
	--color3: #f75c00; 
	--color4: #ebbca0;
	--color5: #eeeeee;
	--color6: #f0f0e4;
	--grey: #f5f5f5;
	--grey2: #999999;
	--black1: #222222;
}

body
{
	min-height: 100vh;
	overflow-x: hidden;
}

.navbar
{
	position: fixed;
	top:0px;
	left: 0px;
	width: 100%;
	height: 80px;
	background: var(--color1);	
	display:block;
	z-index:999;
	transition: 0.5s;
}

.topbar 
{
	width: 100%;
	height: 80px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 15px;
}

.toggle
{
	position:relative;
	top: 0;
	width: 60px;
	height: 80px;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: center;	
	font-size: 2em;
	color: var(--white);
	cursor: pointer;
}

.logotipo { height:auto; }
.logotipo img { height: 4rem; }


.idioma
{
	position:relative;
	top: 0;
	width: 200px;
	height: 80px;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: center;	
	font-size: 1em;
	cursor: pointer;
	padding: 10px 20px 10px 0;
	color:  var(--white);
}

		

.container
{
	position: relative;
	width: 100%;
}

.navigation
{
	position:fixed;
	top:80px;
	width: 300px;
	height: calc(100% - 120px);
	background: var(--color2);
	border-left: 10px solid var(--color2);
	transition: 0.5s;
	overflow: hidden;
}

.navigation.active
{
	width: 60px;
}

.navigation ul
{
	position:absolute;
	top: 80;
	left: 0;
	width: 100%;
}

.navigation ul li
{
	position: relative;
	list-style: none:
	width: 100%;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
}

.navigation ul li:hover a::before,
.navigation ul li.hovered a::before
{
	content: '';
	position: absolute;
	right: 0;
	width: 40px;
	height: 40px;
	top: -40px;
	border-radius:50%;
	box-shadow: 30px 30px 0 10px var(--color6);
	background: transparent;
	pointer-events: none;
}

.navigation ul li:hover a::after, 
.navigation ul li.hovered a::after
{
	content: '';
	position: absolute;
	right: 0;
	width: 40px;
	height: 40px;
	bottom: -40px;
	border-radius:50%;
	box-shadow: 30px -30px 0 10px var(--color6);
	background: transparent;
	pointer-events: none;
}

.navigation ul li:hover, .navigation ul li.hovered { background: var(--color6); color: var(--color2); }

.navigation ul li a
{
	position: relative;
	display: block;
	width:100%;
	display: flex;
	text-decoration: none;
	color: var(--white);
}

.navigation ul li.hovered a { color: var(--color2) !important; }
.navigation ul li a:hover, .navigation ul li a.hovered  { color: var(--color2); }

.navigation ul li a .icon
{
	position: relative;
	display: block;
	min-width: 40px;
	height: 40px;
	line-height: 45px;
	text-align: center;
	
}
.navigation ul li a .icon i { font-size: 1.5em; }

.navigation ul li a .title
{
	position: relative;
	display: block;
	padding: 0 10px;
	height: 40px;
	line-height: 40px;
	text-align: start;
	white-space: nowrap;
}

.english, .navigation ul li a .english, .english > .contenido
{
	display: none;
}

/* footer */
.footer
{
	position: fixed;
	left: 0;
	bottom: 0;
	width:100%;
	height: 40px;	
	background: var(--color1);
	transition: 0.5s;
	color: var(--grey2);
	padding: 10px 0 0 20px; 
}

.footer .logo { position: absolute; top: 10px; left: 0px; width: 150px; text-align: center; }
.footer .logo img { height: 1.5rem; }
.footer .texto { position: absolute; top: 10px; left: 150px; width: calc(100% - 150px); }

.footer a { color: var(--color3); text-decoration: none; }

/* main */
.main 
{
	position:absolute;
	width:calc(100% - 300px);
	left: 300px;
	top: 80px;	
	min-height: cal(100vh - 120px);
	background: var(--color6);
	transition: 0.5s;
}

.main.active
{
	width:calc(100% - 60px);
	left: 60px;
	transition: 0.5s;
}



.cardBox
{
	position: relative;
	width: 100%;
	padding: 20px;	
	display:grid;
	grid-template-columns: repeat(1,1fr);	
	grid-gap: 30px;
}

.cardBox .card
{
	position:relative;
	background: var(--white);
	padding: 30px;
	width: 100%;
	box-shadow: 0 7px 25px rgba(0,0,0,0.08);
	justify-content: space-between;	
}

.card h2
{
	color: var(--color3);
	padding: 0 0 15px 0;
	border-bottom: 1px solid var(--color1);
}

.card h2 > i
{
	color: var(--grey2);
}


.card .contenido { padding: 10px 20px 10px 40px; }
.card ul { padding: 0 0 0 30px; }
.card a { color: var(--color3); }

/* responsive */
@media (max-width: 991px)
{
	.navigation
	{
		left: -300px;
	}
	.navigation.active
	{
		width: 300px;
		left: 0px;
	}	
	.main
	{
		width: 100%;
		left:0;
	}
	.main.active
	{
		left: 300px;		
	}
	.cardBox
	{
		grid-template-columns: repeat(1,1fr);
	}
	.linktexto { display: block; }
}

@media (max-width: 768px)
{
	.navigation
	{
		left: -300px;
	}
	.navigation.active
	{
		width: 300px;
		left: 0px;
	}	
	.main
	{
		width: 100%;
		left:0;
	}
	.main.active
	{
		left: 300px;		
	}
	
	.logotipo img { height: 2rem; }
	.linktexto { display: none; margin-left: 0px; }
}