*{
	font-family: arial;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  color: black;
}


/* 
/* Popup container 
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* The actual popup (appears on top) 
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow 
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) 
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) 
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

 */

/* style pour l'acceuil */
table { border: 1px solid black; 
        border-collapse: collapse;} 
td { border: 1px solid black;}
.aerospace {
  background-color:#d32f2f;}
.aerospace-details {
    background-color:#ef9a9a;
text-align:center;
vertical-align:middle
}


.meca-details {
    background-color:#ce93d8;
text-align:center;
vertical-align:middle}

.electrical-details {
    background-color:#9fa8da;
text-align:center;
vertical-align:middle}

.otherseng-details {
    background-color:#81d4fa;
text-align:center;
vertical-align:middle}


.science-details {
    background-color:#abebc6;
text-align:center;
vertical-align:middle}

.business-details {
    background-color:#f9e79f;
text-align:center;
vertical-align:middle}

.other-details {
    background-color:#edbb99;
text-align:center;
vertical-align:middle}

th { border: 1px solid black;} 


/* Autres styles*/
	
.popup{
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.5);
}

.popup_content{
	margin: 5% auto;
	width: 60%;
	display: flex;
	flex-direction: column;
	color: white;
}

.line_wrap{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
.line_wrap > *{
	flex-grow: 1;
	margin: 3px 10px;
}

.line_wrap_spacebetween{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
}
.line_wrap_spacebetween > *{
	flex-grow: 0;
	margin: 3px 10px;
}

.line_wrap_nogrow{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
.line_wrap_nogrow {
	margin: 3px 10px;
}

.line_nowrap_scroll {
	display: flex;
	flex: row nowrap;
	overflow-x: scroll;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}
.line_nowrap_scroll > * {
	flex-shrink: 0;
}
.line_nowrap_scroll::-webkit-scrollbar {
    width: 0px; /* For Chrome, Safari, and Opera */
}



#home_popup_content {
	/*background: black url("pictures/logo.png") top/90% no-repeat;*/
	background: black;
	padding: 20px 5% 5% 5%;	
	border-radius: 15px;
	color: white;
}

#info_popup_content {
	/*background: black url("pictures/logo.png") top/90% no-repeat;*/
	background: silver;
	padding: 20px 5% 5% 5%;	
	border-radius: 15px;
	color: white;
}

#instructions{
	opacity: 0.65;
	text-justify: inter-word;
}

#author{
	/* font-size: 11pt; */
	font-size: small;
	opacity: 0.5;
	text-align: right;
}

#logo{
	width: 70%;
	height: auto;
	margin: auto;
}

#logo_info{
	width: 20%;
	height: auto;
	margin: auto;
}

#croixpopup{
	width: 2%;
	height: auto;
	margin: auto;
	float: right;
}

#croixpopup_info{
	width: 2%;
	height: auto;
	margin: auto;
	float: right;
}

/* #croixpopup_home{
	width: 2%;
	height: auto;
	margin: auto;
	float: right;
} */

.search_field {
	padding: 2px 15px;
	margin: 3px 0;
	box-sizing: border-box;
	background-color: transparent;
	color: white;
	border: 2px solid white;
	border-radius: 7px;
}


.quick_search_field{
	width: 100%;
	padding: 8px 15px;
	border-radius: 10px;
	background-color: black;
	margin: 3px 0;
	box-sizing: border-box;
	color: white;
	border: 2px solid white;
	border-radius: 7px;
}

.quick_search {
	flex-grow: 1;
	margin: 5px 50px 5px 10px;
	position: relative;
  	display: inline-block;
}

.dropdown_content {
	display: none;
	width: 100%;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	max-height: 300px;
	overflow: auto;
	opacity: 1;
}


#dropdown_name {
	font-size: 11pt;
	margin: 0;
}
#dropdown_type {
	font-size: 10pt;
	opacity: 0.8;
	margin: 0;
}

#dropdown_item:hover {background-color: #ddd}

#dropdown_item{
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	cursor: pointer;
}
#dropdown_text_div{
	display: flex;
	flex-flow: column wrap;
	margin: 0 5px;
}
#dropdown_icon{
	width: 25px;
	height: 25px;
	margin: 7px;
}

.category_label {
	height: auto;
	padding: 4px 10px;
	border-radius: 7px;
	box-sizing: border-box;
	margin: 3px;
	cursor:pointer;
	border: 1px solid white;
	text-align: center;
}

.category_label_unselected {
	height: auto;
	padding: 6px 12px;
	box-sizing: border-box;
	margin: 3px;
	cursor:pointer;
	border: none;
	text-align: center;
	opacity: 0.5;
}

.subcategory_label{
	padding: 2px 15px;
	margin: 3px 0;
	cursor:pointer;
}

/*#search_subject {
	display: flex;
	flex-flow: column wrap;
}*/

/*#search_subject > .category_label {
	flex: 1;
	padding: 8px 12px;
	align-self: stretch;
	text-align: center;
}*/

.action_button {
	cursor: pointer;
	margin: 2px 0px 0px 15px;
	font-size: 15px;
}

.selected_num {
	margin: 2px 0px 0px 15px;
	font-size: 15px;
}

#launch_search {
	background: white;
	color: black;
	font-weight: bold;
	align-self: center;
	padding: 10px 25px;
	margin: 35px 0 10px 0;
}
#launch_search:hover {
	background: rgba(255,255,255,0.3);
	color: white;
}

#send_comments{
	background: #414141;
	border-radius: 10px;
	padding: 5px 15px;
	color: white;
	float: right;
}

#home_button_div{
	justify-content: space-evenly;
}

.home_button{
	background: white;
	color: black;
	font-weight: bold;
	align-self: center;
	padding: 10px 25px;
	margin: 35px 0 50px 0;
	cursor: pointer;
	box-sizing: border-box;
	border: 2px solid white;
	border-radius: 7px;
	width: 38%;
	text-align: center;
}
.home_button:hover {
	background: rgba(255,255,255,0.3);
	color: white;
}

.home_button_search_section{
	background: #DCDCDC;
	color: black;
	font-weight: bold;
	align-self: center;
	padding: 10px 25px;
	/* margin: 35px 0 50px 0; */
	cursor: pointer;
	box-sizing: border-box;
	border: 2px solid white;
	border-radius: 7px;
	width: 100%;
	text-align: center;
}
.home_button_search_section:hover {
	background: #696969;
	color: white;
}

.line_wrap_special{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	/* margin-left: 10pt; */
	margin-top: 20 pt;
	margin-bottom: 20 pt;
	margin: 3px 10px;
	/* margin: auto;	 */
	
}

#loading_popup{
	display: none;
	position: absolute;
	z-index: 3500;
	left:50%;
	padding: 7px 15px;
	margin-top: 10px;
	background: #e9e9e9;
	border-radius: 5px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	color: black;
}




#results_display
{
	height: 100%;
}

#side_box
{
	position: fixed;
	z-index: 1500;
	left: 0;
	top: 0;
	width: 40%;
	min-width: 300px;
	height: 100%;
	margin: 0;
	resize: horizontal;
	background-color: #ffffff;
	border-radius: 0px 20px 20px 0;
	display: flex;
	flex-wrap: wrap;
}

.hide_search{
	position: fixed;
	z-index: 1500;
	margin-left: 40%;
	background: url("pictures/hide_arrow.svg") no-repeat center;
	width: 28px;
	height: 28px;
	padding-left: 25px;
	background-color: #dddddd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.show_search{
	position: fixed;
	z-index: 1500;
	margin-left: 0;
	background: url("pictures/open_arrow.svg") no-repeat center;	
	width: 28px;
	height: 28px;
	padding-left: 25px;
	background-color: #dddddd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-left: 0%;
}

#map
{
	height: 100%;
}

#home{
  opacity: 50%;
  float: right;
  width: 28px;
  height: 28px;
  margin: 3px;
  background: url("pictures/home.svg") no-repeat center;
  background-size: contain;
  flex-grow: 0;
}

#info{
  opacity: 50%;
  float: right;
  width: 25px;
  height: 25px;
  margin: 2px 15px;
  background: url("pictures/info.png") no-repeat center;
  background-size: contain;
  flex-grow: 0;
}

#header_quick_search_field{
	width: 100%;
	background-color: white;
	color: black;
	border: 1px solid rgb(146, 146, 146);
}

#home:hover,
#home:focus {
  cursor: pointer;
  opacity: 100%;
}

#info:hover,
#info:focus {
  cursor: pointer;
  opacity: 100%;
}

#search_header{
	display: flex;
	background-color: #dddddd;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	align-items: center;
	height: 10%;
}

#search_content{
	height: 90%;
	overflow-y: scroll;
}


#cursus_container {
	margin: 0px;
	padding: 0px 8px;
	border: 1px solid black;
	border-bottom-style: none;
}
#cursus_uni{
	margin: 9px 0px;
}
#cursus_name {
	margin: 5px 0px;
	font-size: 13pt;
}
#cursus_loc{
	opacity: 0.8;
	margin: 0;
}
#cursus_container > .line_wrap {
	justify-content: space-between;
	margin: 0px;
}
#cursus_container > .line_wrap > * {
	margin: 5px 0px;
}
#cursus_container > .line_wrap > .line_wrap_nogrow {
	margin: 5px 0px;
}
#cursus_container > .line_wrap > .line_wrap_nogrow > *{
	margin: 0px;
}


.category_label_light {
	padding: 0px 5px;
	cursor: pointer;
	margin: 0px;
	justify-content: space-between;
}




.link{
	text-decoration: none;
	color: black;
	opacity: 0.7;
}
.link:hover{
	color: blue;
	opacity: 1;
}


#uni_details_popup {
	background-color: rgba(0,0,0,0.3);
	display: none;
}

#uni_details_popup_content {
	color: black;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#uni_details_header {
	padding: 5% 5% 0 5%;
	background-color: #dddddd;
	margin: 0;
}
#uni_details_cursus{
	padding: 0 5% 5% 5%;
	background-color: white;
	margin: 0;
}

#uni_details_header > .line_wrap > * {
	padding: 10px;
}
#uni_details_cursus > .line_wrap > * {
	padding: 10px;
}
#uni_details_subjects{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	margin: 20px 0;
}
#uni_details_subjects > *{
	flex-grow: 1;
}

.uni_details_tab_header{
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.uni_details_tab_name{
	margin: 0;
	padding: "0 0 3px 0";
}
.uni_details_tab_type{
	margin: 0;
	padding: 0;
	font-size: 10pt;
	opacity: 0.7;
}

#uni_details_tab{
	margin: 25px 0 0 0;
	display: flex;
	flex-wrap: no-wrap;
	align-items: stretch;
	overflow: hidden;
}
#uni_details_tab > * {
	flex: 1;
	padding: 10px;
}

#close {
  opacity: 50%;
  float: right;
  font-size: 30px;
  flex: 0;
}

#close:hover,
#close:focus {
  cursor: pointer;
  opacity: 100%;
}

#error_report{
	background: #dddddd;
	border-radius: 10px;
	float: right;
	padding: 5px 15px;
	opacity: 1;
}








.search_option{
	height: auto;
	padding: 3px 8px;
	border-radius: 6px;
	box-sizing: border-box;
	margin: 2px;
	cursor:pointer;
	text-align: center;
	opacity: 0.6;
	background-color: transparent;
	box-shadow: none;
}
.search_option:hover{
	background-color: #e9e9e9;
	opacity: 1;
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 15px 0 rgba(0, 0, 0, 0.19);
}
.search_option_selected{
	height: auto;
	padding: 3px 8px;
	border-radius: 6px;
	box-sizing: border-box;
	margin: 2px;
	cursor:pointer;
	text-align: center;
	background-color: #e9e9e9;
	opacity: 1;
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 15px 0 rgba(0, 0, 0, 0.19);
}

.search_option_selected:hover{
	opacity: 0.6;
	background-color: transparent;
	box-shadow: none;
}

.search_title{
	padding: 0;
	margin: 10px 10px 5px 15px;
	font-size: 12pt;
	font-weight: bold;
}

#advanced_search_label{
	padding: 0;
	margin: 10px 10px 5px 15px;
	font-size: 18pt;
	font-weight: normal;
}

.department_title{
	padding: 0;
	margin: 10px 10px 5px 15px;
	font-size: 11pt;
	font-weight: normal;
}

#search_bottom{
	height : 5%;
}


#popup_map_details{
	font-size: 10pt;
	opacity: 0.6;
	width: 100%; 
	text-align: center;
}