body{
	background-image: url('../images/backgrounds/bachelor.jpg');
	background-repeat: no-repeat;
	background-attachment: fixed;
    background-size: cover;
}

/* Style of all sections */
.section{	
    position: fixed;
	top: 55px;
	width: 100%;
	height: calc(100% - 90px); 
    background-size: cover;	
    background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
    -webkit-transition: transform 0.7s ease-out;
    -moz-transition: transform 0.7s ease-out;
    -o-transition: transform 0.7s ease-out;
    transition: transform 0.7s ease;
}

/* Side menu */
table#side_menu{
	position: fixed;
	top: 25%;
	left: 0;
	height: 50%;
	border: 1px solid rgba(200,0,0,0.5);
	font-size: 30px;
	background-color: rgba(255,255,255,0.5);
	z-index: 1;	
}

table#side_menu td img{
	height: 40px;
	width: 40px;
	padding: 0px 5px 5px 0;
}

table#side_menu td#uni_logo{
	background-color: rgba(255,0,0,0.5);
}

table#side_menu td:hover{
	background-color: rgba(0,0,0,0.4);
	cursor: pointer;
}

/* Left and Right Arrow */
.arrow{
	height: 70px;
    width: 70px;
    cursor: pointer;
    position: absolute;
    bottom: 50px;
}

.arrow[alt = "left"]{
	left: 50px;
}

.arrow[alt = "right"]{
	right: 50px;
}

#uab_section{
	background-image: url('../images/bachelor/uab.jpg');
}

#uab_text, #cs_text{
	-webkit-transform: rotateY(90deg);	    
	-ms-transform: rotateY(90deg);			
	transform: rotateY(90deg);	
}

#cs_section{
	background-image: url('../images/bachelor/cs.jpg');
	-webkit-transform: rotateX(90deg);	    
	-ms-transform: rotateX(90deg);			
	transform: rotateX(90deg);			
}

#grades_section{
	background-image: url('../images/bachelor/grades.jpg');
	-webkit-transform: rotateX(90deg);	    
	-ms-transform: rotateX(90deg);			
	transform: rotateX(90deg);	
}


/* Text style */
.text{
	font-family: "Goudy Old Style", Garamond, "Big Caslon", "Times New Roman", serif;									
	font-size: 22px;															
	padding: 20px 200px 20px 200px;
	background-color: rgba(255,255,255,0.1);
	background-image: url('../images/bachelor/text_uab.png');
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
    overflow-y: auto;
    height: 100%;
    text-decoration: none;
    color: black;
}


/* Uab - Title */
table#uab_table{
	position: relative;
	top: 35%;
	margin: 0 auto;
	font-family: 'Abril Fatface', cursive;
	font-size: 45px;
	text-shadow: 0px 4px 3px rgba(0,0,0,0.8),
             0px 8px 13px rgba(0,0,0,0.6),
             0px 18px 23px rgba(0,0,0,0.6);
}
table#uab_table td{
	float: right;
	color: #202020
}
table#uab_table td#uab_title{
 	font-size: 110px;
}
table#uab_table td a{
	text-decoration: none;
	color: #A0A0A0
}

/* CS - title */
table#cs_table{
	position: relative;
	top: 25%;
	margin: 0 auto;
	font-family: 'Abril Fatface', cursive;
	font-size: 70px;
	text-shadow: 0px 4px 3px rgba(0,0,0,1),
             0px 8px 13px rgba(0,0,0,0.6),
             0px 18px 23px rgba(0,0,0,0.6);
}
table#cs_table td{
	float: left;
	color: #202020;
}

table#cs_table td span.first_letter{
	font-size: 130px;
}

/* Grades - Title */
#grades_section h1{
	margin-top: 3%;
	text-align: center;
    color: #202020;
	font-family: 'Abril Fatface', cursive;
	font-size: 50px;
	text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
    padding-bottom: 50px;

 }

/* Grades Table */
 table#grades_table{
 	margin: 0 auto;
 	font-size: 25px;
 	font-family: 'Abril Fatface', cursive;
 	background-color: rgba(255,255,255,0.6);
 	margin-bottom: 50px;
 }

 table#grades_table tr th{
 	font-size: 30px;
 	padding: 10px;
 	border-bottom: 3px solid rgba(0,0,0,0.7);
 	text-align: center;
 	cursor: pointer;
}

table#grades_table tr th:hover{
	background-color: rgba(255,0,0,0.6);
}

table#grades_table tr td{
 	padding: 10px;
 	border-bottom: 1px solid rgba(0,0,0,0.3);
 	text-align: center;
}

/* Table to search for grades */
table#search_table{
 	margin: 0 auto;
	font-family: 'Abril Fatface', cursive;
	margin-bottom: 30px;
	background-color: rgba(255,255,255,0.8);
}
table#search_table td img{
	height: 45px;
	width: auto;
}
table#search_table td input{
  	background-repeat: no-repeat;
	font-size: 16px;
	border: 1px solid #ddd;
	padding: 12px 20px 12px 40px;
}

table#search_table td input#search_mobile{
	display: none;
}

/* --------------------------------------------- Responsive CSS --------------------------------------------------------------*/

@media all and (max-width: 1024px) {

	.arrow{
		height: 60px;
	    width: 60px;
	}

	.arrow[alt = "left"]{
		left: 20px;
	}

	.arrow[alt = "right"]{
		right: 20px;
	}

	.text{
		font-size: 22px;															
		padding: 20px 100px 20px 100px;
	}

	table#grades_table{
	 	font-size: 20px;
	 }

	table#grades_table tr th{
	 	font-size: 27px;
	}
}

@media all and (max-width: 925px) {
    
    body{
		background-image: url('../images/backgrounds/bachelor_mobile.jpg');
		background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        height: 100%;
        width: 100%;

	}

	table#grades_table{
		font-size: 20px;
	}

	table#search_table td img{
		height: 30px;
	}
	table#search_table td input{
		font-size: 14px;
	}
    
}

/* -------------------------------------------- Mobile ------------------------------------------------------------------*/ 
/* Landscape */
@media all and (max-width: 768px) and (orientation: landscape){

	table#uab_table, table#cs_table{
		top: 5%;
		font-size: 40px;
	}
	table#uab_table td#uab_title{
    	font-size: 70px;
    }

	table#uab_table td#uab_title{
 		font-size: 90px;
	}
	table#cs_table td span.first_letter{
		font-size: 90px;
	}


	.arrow{
	    height: 45px;
   		width: 45px;
	}
	.arrow[alt = "left"]{
		left: 1px;
	}

	.arrow[alt = "right"]{
		right: 1px;
	}

	table#grades_table{
	 	margin-left:75px;
	 	margin-right: 10px;
	 	font-size: 18px;
	 }

	table#grades_table tr th{
	 	font-size: 18px;
	}
	
	#grades_section h1{
	    font-size: 35px;
	}

	table#search_table {
		margin-left:75px;
	}
	table#search_table td img{
		height: 25px;
	}
	table#search_table td input{
		font-size: 12px;
	}

	.text{
		font-size: 18px;															
		padding: 20px 60px 20px 60px;
	}
}

@media all and (max-width: 768px) and (orientation: portrait){

	.arrow[alt = "left"]{
		left: 10px;
	}

	.arrow[alt = "right"]{
		right: 10px;
	}

	table#side_menu{
		top: 30%;
		height: 45%;
	}

	table#side_menu td img{
		height: 30px;
		width: 30px;
	}

	.text{
		font-size: 20px;															
		padding: 20px 70px 20px 70px;
	}

	table#grades_table{
	 	margin-left:75px;
	 	margin-right: 10px;
	 	font-size: 18px;
	 }

	table#grades_table tr th{
	 	font-size: 20px;
	}

	table#search_table {
		margin-left:75px;
	}
	table#search_table td img{
		height: 25px;
	}
	table#search_table td input{
		font-size: 12px;
	}
}

/* Landscape */
@media all and (max-width: 580px) and (orientation: landscape){

	.section{	
		top: 10px;
		height: calc(100% - 80px); 
	}

	.arrow{
	    height: 45px;
   		width: 45px;
	}
	.arrow[alt = "left"]{
		left: 1px;
	}

	.arrow[alt = "right"]{
		right: 1px;
	}

	.text{
		font-size: 20px;															
		padding: 20px 60px 20px 60px;
	}
	table#uab_table, table#cs_table{
		top: 0%;
	}

	table#cs_table td span.first_letter{
		font-size: 90px;
	}

	#grades_section h1{
		margin-left:60px;
		padding-bottom: 20px;
	 }

	table#grades_table{
	 	margin-left:60px;
	 	font-size: 16px;
	 }

	table#grades_table tr th{
	 	font-size: 19px;
	}

	table#search_table {
		margin-left:60px;
		padding-bottom: 0px;
	}
	table#search_table td img{
		height: 25px;
	}
	table#search_table td input{
		font-size: 14px;
		padding: 8px 16px 8px 20px;
	}
}
@media all and (max-width: 580px) and (orientation: portrait){

	.section{	
		top: 45px;
		height: calc(100% - 80px); 
	}

	.arrow[alt = "left"]{
		left: 5px;
	}

	.arrow[alt = "right"]{
		right: 5px;
	}

	.text{
		font-size: 18px;															
		padding: 20px 60px 20px 60px;
	}

	table#uab_table{
		top: 35%;
		font-size: 35px;
	}

	table#uab_table td#uab_title{
 		font-size: 90px;
	}
	table#cs_table{
		font-size: 60px;
	}
	table#cs_table td span.first_letter{
		font-size: 100px;
	}
	#grades_section h1{
		margin-left:60px;
		font-size: 40px;
		padding-bottom: 30px;
	 }

	table#grades_table{
	 	margin-left:60px;
	 	font-size: 16px;
	 }

	table#grades_table tr th{
	 	font-size: 19px;
	}

	table#search_table {
		margin-left:60px;
		padding-bottom: 20px;
	}
	table#search_table td img{
		height: 25px;
	}
	table#search_table td input{
		font-size: 14px;
		padding: 8px 16px 8px 20px;
	}

	table#search_table td input#search_grade{
		display: none;
	}
	table#search_table td input#search_mobile{
		display: block;
	}
	    
}

@media all and (max-width: 400px) and (orientation: portrait){

	.arrow[alt = "left"]{
		left: 0px;
	}

	.arrow[alt = "right"]{
		right: 0px;
	}

	.text{
		padding: 10px 50px 10px 50px;
	}

	table#uab_table{
		top: 35%;
		font-size: 30px;
	}

	table#uab_table td#uab_title{
 		font-size: 70px;
	}
	table#cs_table{
		font-size: 40px;
	}
	table#cs_table td span.first_letter{
		font-size: 80px;
	}
	#grades_section h1{
		margin-left:50px;
		font-size: 35px;
		padding-bottom: 20px;
	 }

	table#grades_table{
	 	margin-left:50px;
	 	font-size: 14px;
	 }

	table#grades_table tr th{
	 	font-size: 15px;
	}

	table#search_table {
		margin-left:50px;
		padding-bottom: 10px;
	}
	table#search_table td img{
		height: 20px;
	}
	table#search_table td input{
		font-size: 12px;
	}


   
}

