:root {
    --navbar-bg-color: hsl(0, 0%, 15%);
    --navbar-text-color: hsl(0, 0%, 85%);
    --navbar-text-color-focus: white;
    --navbar-bg-contrast: hsl(0, 0%, 25%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    font-family: "AdobeClean Light", "Adobe Clean Light";
    /* line-height: 1.6em; */
	max-width: 1200px;
	margin-left: auto;
    margin-right: auto;
	
}


main {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

span.frac {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
span.frac > sup, span.frac > sub {
  display: block;
  font: inherit;
  padding: 0 0.3em;
}
span.frac > sup {border-bottom: 0.08em solid;}
span.frac > span {display: none;}

.enlaces_lab a
{
	text-decoration: none;
	color: #262627;
}

.enlaces_lab a:hover
{
	text-decoration: underline;
	color: #1A65B3;
}

.container {
    max-width: 1000px;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
    margin-left: auto;
    margin-right: auto;
}

.resaltar{
			color: #02677B;
		}

.resaltar_rojo{
			color: #D2012D;
		}

.letra_listas
{
	font-size: 1.1em;
}

			pre {
		background: #f4f4f4;
		border: 1px solid #ddd;
		border-left: 3px solid #f36d33;
		color: #666;
		page-break-inside: avoid;
		font-family: monospace;
		font-size: 15px;
		line-height: 1.6;
		margin-bottom: 1.6em;
		max-width: 90%;
		margin: auto;
		overflow: auto;
		padding: 1em 1.5em;
		display: block;
		word-wrap: break-word;
	}


.table_estilo
{
	font-size: 90%;
	border-radius: 9px;
	border-collapse: separate;
	padding:7px;
	overflow-x: auto;
}		
.table_estilo td
	{
		border:solid 1px #99CC00;
		border-style:none solid solid none;
		padding:7px;
		text-align:center;
		vertical-align:middle;
	}
.table_estilo td:last-child 
	{
		border-right-width:0px;
		border-right-style: none;
	}		
.table_estilo th
{
	padding: 0.7em;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 2px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #99CC00;
	border-bottom-color: #506A00;
}		
.table_estilo th:last-child
{
	border-right-width:0px;
	border-right-style: none;	
}
.table_estilo tr:first-child td:first-child 
{
	padding: 10px;
	text-align: center;
	font-weight: bold;
	color: #F00;
}				
.table_petite
{
	border:solid 1px #0083B0;
}
.table_petite td
{
	border:solid 1px #0083B0;
}




#navbar {
    --navbar-height: 47px;
    /*position: fixed;  */
    height: var(--navbar-height);
	background: linear-gradient(to bottom, #F70303, #560202);
    background-color: var(--navbar-bg-color);
    left: 0;
    right: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}



/* Aqui empieza trans */

		
		/* Para relieve de imagenes */
		
		.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
}



.figure-centrarpanel

{	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;}

.figure-elevada
	{	
		background:#fff;
		padding:20px;	
		-moz-box-shadow:inset 0 0 15px #C9CED6;
		-webkit-box-shadow:inset 0 0 15px #C9CED6;
		box-shadow:inset 0 0 15px #C9CED6;
		-webkit-border-radius:9px;
		-moz-border-radius:9px;
		border-radius:9px;		
	}

.figure-reducecentra
	{
			display:inline-block;
	}
	/* Para relieve de imagenes */
		
		header{
			margin-top: 0px;
			}
	.content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 5px;
			height: 45vh;
			min-height: 500px;
			margin: 2%;			
        }
		
		.navbar-item {
			margin: 0.1em;
			width: 100%;
		}
		
				
	.navbar-logo
		{
			display: none;
		}
		
		#navbar
		{	border-radius: 10px;
			margin: 0 2% 0 2%;
			
		}
		
		.logo-right
		{
			margin-right: 24px;
		}
		
		.logo{
			margin-left: 24PX;
		}
		.header2
		{
			color: #090909;
            padding: 10px 0;
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;			
		}
		
		.header2 h1
		{		
			color: #292929;
			text-shadow: 0 3px 3px #B7B7B7;
			text-decoration: none;
	
			font-size: 1.1em;
			margin-right: 23px;
			font-weight: 500;
		}
		
		.ece_labs_title
		{
			visibility: hidden;
			display: none;								
		}
		
		.lab_title{
			padding-bottom: 10px;
			margin-top:1px;
			font-size: 1.1em;
		}
		
		.class_code
		{
			display: none;
		}
		
		.course_title
		{
			display: none;
		}
		
		.listas 		
		{
			margin-left: 2em;
			font-size: 1.1em;
			line-height: 1.5em;
		}
		
		.listas li
		{
			padding-left: 1.1em;
		}
		
		.img-fluid {
		  max-width: 100%;
		  height: auto;
		}

		.rounded
		{
			border-radius: 0.25rem !important;
			padding: 14px;			
		}
		
		
	.navbar-logo img
		{
			width: 90px;
			visibility: hidden;
		}
		
	.centrar_texto
			{
				text-align: center;
			}
.centrar{
	margin-left: auto;
	margin-right: auto;
}
		
	.item-list {
				flex: 1;
				display: flex;
				flex-direction: column;
				align-items: left;
				margin-left: 10px;
				gap: 10px;		
        	}
		
	.item {
            background-color: #f0f0f0;
            padding: 10px;
            border-radius: 5px;
          
            text-align: left;
        }
	.border_colores{
			background: linear-gradient(#FFF 0 0) padding-box, linear-gradient(to bottom,  #DDE581, #817B04) border-box;			
			padding: 10px;
			border-radius: 10px;
			border: 7px solid transparent;		
			padding-top: 1.4em;			
			margin: 2%;							
		}
		
		.description {            
            max-width: 100%;
            text-align: center;
			font-size: 1.2em;
			}

		.line {
			flex: 1;
			display: flex;
			height: 90%;
			max-width: 5px;
			background: linear-gradient(to bottom, #59C9FF, #02486B); /*Was green before */
			align-self: center;
			border-radius: 5px;
        } 



.lab_content p
{
	
	text-align: left;
	line-height: 1.5em;
	font-size: 1.2em;
	margin-top: 10px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.home-link,
.navbar-link {
    color: var(--navbar-text-color);
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    display: flex;
    font-weight: 400;
    align-items: center;
    transition: background-color 0.2s ease-in-out,
                color 0.2s ease-in-out;
	white-space: nowrap;
}

.home-link:focus,
.home-link:hover {
    color: var(--navbar-text-color-focus);
}

.navbar-link {
    justify-content: left;
    width: 100%;
    padding: 0.4em 0.8em;
    border-radius: 5px;
    white-space: nowrap;
}

.navbar-link:focus,
.navbar-link:hover {
    color: var(--navbar-text-color-focus);
    background-color: var(--navbar-bg-contrast);
}

.navbar-logo {
  /*  background-color: var(--navbar-text-color-focus);
    border-radius: 50%;
    width: 30px;
    height: 30px;
     */
	margin-right: 0.5em;
}

.navbar-toggle {
    cursor: pointer;
    border: none;
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 4px;
    margin: 2px;
    transition: background-color 0.3s ease-in-out,
                transform 0.3s ease-in-out,
                opacity 0.3s ease-in-out;
    background-color: var(--navbar-text-color);
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
    background-color: var(--navbar-text-color-focus);
}

#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
    position: absolute;
    margin: 0;
    width: 30px;
	
}

#navbar.opened .navbar-toggle .icon-bar:first-child {
    transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
    opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
}

#navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    transition: opacity 0.2s ease-in-out,
                visibility 0.2s ease-in-out,
                left 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    left: -1000px;
    right: 0;
}

#navbar.opened #navbar-menu {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
    left: 0;
}

.navbar-links {
    list-style-type: none;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    right: unset;
    box-shadow: 5px 20px 20px rgba(0, 0, 0, 0.3);
}

#navbar.opened .navbar-links {
    padding: 1em;
    max-height: none;
}

.navbar-item {
    margin: 0.4em;
    width: 100%;
}

@media screen and (min-width: 991px) {
    .navbar-toggle {
        display: none;
    }
	
		.ece_labs_title
			{
				display:flex;
				visibility: visible;
				color: var(--navbar-text-color-focus);
			}

    #navbar #navbar-menu,
    #navbar.opened #navbar-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block;
      /*  height: 100%; */
    }
	


    #navbar .navbar-links,
    #navbar.opened .navbar-links {
        margin: 0;
        padding: 0;
        box-shadow: none;
        position: static;
        flex-direction: row;
        list-style-type: none;
        max-height: max-content;
        width: 100%;
        height: 100%;
		
		
    }

    #navbar .navbar-link:last-child {
        margin-right: 0;
    }
	

}

@media screen and (max-width: 990px) {
			
			* {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		}	
/*
	.ece_labs_title
			{
				display:flex;
				visibility: visible;
				color: var(--navbar-text-color-focus);
			} */

		#navbar
		{	border-radius: 0px;
			margin: 0;
		}
	
	.course_title
		{
			display:block;
			font-size: 1.1em;
			font-weight: 600;	
		}
	
	.navbar-logo img
		{
			width: 90px;
			visibility: visible;
		}
	
			
	.navbar-logo
		{
			display: flex;
		}
	
	.navbar-links {
				background: linear-gradient(to bottom, #560202, #920303, #F70303);
			}
	
	.navbar-links {
				}
	
	.header2 {			
				display: none;				
            }
						
	.content {
				flex-direction: column;
				align-items: center;
				padding: 20px;				
            	}
			
	.content {
                text-align: center;
            	}
						
	.line {
				height: 2px;
				max-width: 100%;
				width: 90%;
				/* width: 7px; */
				background: linear-gradient(to right, #59C9FF, #02486B);
				margin: 0 20px;
				margin-bottom: 1.4em;
				margin-top: 1.4em;
				align-self: center;
				border-radius: 2px;				
       		}				
		}

							
@media screen and  (max-width: 480px){
			
		.border_colores {
			background: linear-gradient(#FFF 0 0) padding-box, linear-gradient(to bottom,  #59C9FF, #FFFFFF) border-box;
			border: 4px solid transparent;
			padding-top: 1.4em;
			}
	
		.navbar-links {
				background: linear-gradient(to bottom, #560202, #920303, #F70303);

			}	
		}

#options {
    display: flex;
    flex-direction: column;
}

@media screen and  (min-width: 990px){
	

}
