/*Code responsible for adjusting the font-size for different resolutions*/
html {
    font-size: 62.5%;
}

body {
  /*padding-top: 20px;*/
  font-size: 1em;
}

@media (max-width: 500px) {
    html {
        font-size: 80%;
    }
}

@media (min-width: 500px) {
    html {
        font-size: 100%;
    }
}

@media (min-width: 1500px) {
    html {
        font-size: 120%;
    }
}

@media (min-width: 2200px) {
    html {
        font-size: 140%;
    }
}
/*End of the code responsible for the font-size*/


/* Customize the nav-justified links to be fill the entire space of the .navbar */
 /*Responsible for the first level of the navbar*/
.nav-justified > li > a {
  padding-top: 0.313em; /*5px*/
  padding-bottom: 0.313em; /*5px*/
  margin-bottom: 0;
  font-weight: bold;
  color: #FFF;
  text-align: center;
  background-color: #35436a; /* Old browsers */
  border-bottom: 1px solid #c0c0c0; /*1px*/
  font-size: 1.063em; /*17px*/
}

.nav-justified > li > a:hover{
	background-color: #2B6199;	
	}
/*Menu aulas e alunos*/
#internalmenu .nav-justified > li > a {
  padding-top: 0.313em; /*5px*/
  padding-bottom: 0.313em; /*5px*/
  margin-bottom: 0;
  margin-right:0px;
  margin-left:0px;
  font-weight: bold;
  color: #FFF;
  text-align: center;
  background-color: #2B6199; /* Old browsers */
  border-bottom: 1px solid #c0c0c0; /*1px*/
  font-size: 1.063em; /*17px*/
}

#internalmenu .nav-justified > li > a:hover{
	background-color: #35436a;	
	}
/*Fim menu aulas e alunos*/
.nav-justified > li:first-child > a {
  border-radius: 0.313em 0.313em 0 0; /*5px 5px*/
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 0.313em 0.313em; /*5px 5px*/
}

@media (min-width: 768px) { /*768px*/
  .nav-justified {
    max-height: 3.250em; /*52px*/
  }
  .nav-justified > li > a {
    border-right: 0.063em solid #c0c0c0; /*1px*/
  }
  
  .nav-justified > li:first-child > a {
    border-left: 0;
    border-radius: 0.313em 0 0 0.313em; /*5px 5px*/
  }
  .nav-justified > li:last-child > a {
    border-right: 0;
    border-radius: 0 0.313em 0.313em 0;/*5px 5px*/
  }
}
/*Media responsible for small screens*/
@media (max-width: 768px) { /*767px*/
	.nav-justified > li > a {
		text-align: left;
		padding-left: 3.125em; /*50px*/
		border-right:0em;
		font-size: 1.063em; /*17px*/	
		padding-bottom: 0.469em; /*7.5px*/
		padding-top: 0.469em; /*7.5px*/
	}
	
	/*Menu aulas e alunos*/
	#internalmenu .nav-justified > li > a {
		text-align: center;
		padding-left: 0px; /*50px*/
		border-right:0em;
		font-size: 1.063em; /*17px*/	
		padding-bottom: 0.469em; /*7.5px*/
		padding-top: 0.469em; /*7.5px*/
	}
	/*Fim menu aulas e alunos*/
	
	/*Resposible for the sub items of the navbar*/
	.nav-justified > li > ul > li > a {
		font-size: 1.063em; /*17px*/
		border-bottom: 1px solid #c0c0c0; /*1px*/
		padding-bottom: 0.469em; /*7.5px*/
		padding-top: 0.469em; /*7.5px*/
		
	}	
	  .nav-justified {
    max-height:none;
  }
		}