/* CSS for the project page*/
/** Design adapted from : http://codepen.io/lukepeters/pen/bfFur 
   Function to sort rows : http://codepen.io/jakestuts/pen/tGpju
   jQuery code for the incremental search
   http://stackoverflow.com/questions/9127498/how-to-perform-a-real-time-search-and-filter-on-a-html-table
 (dfsq answer)
 */
 
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

html,body {
	width:100%;
	/*overflow-x:hidden;*/
	padding:0;
}
	

body {
	font-family: 'Open Sans', Arial, sans-serif; 
	font-size: 14px;
	line-height: 20px;
	color: rgb(190, 190, 190);	
	margin-left: auto;
	margin-right: auto;	
	margin-top: 0px !important;	
}

.bkbg {
	background: rgb(43,43,43);
}

.preamble{
	margin-top: 40px;
	margin-left: 10%;
	margin-right: 10%;
	text-align: justify;
	font-size: 1.2em;
	
}
/** ------ LINKS  -------------*****/
/* unvisited link */
a{
	text-decoration: none;
}
a:link {
	color: rgb(44,188,231);/*turquoise blri*/
}

/* visited link */
a:visited {
    color: rgb(44,188,231); /*rgb(6, 113, 184);*/ /*color: rgb(255, 175, 35); */
}

/* mouse over link */
a:hover {
	color: rgb(255, 175, 35); /*jaune blri*/
}

/* selected link */
a:active {
    color: rgb(44,188,231); 
}

#mentions {
	color: rgb(44,188,231);
	cursor: pointer;
}
#mentions:hover {
	color: rgb(255, 175, 35); /*jaune blri*/
}


/** ------ HEADER BANNER ------ ****/

#hdr_banner {
	width: 100%;
	left: 0;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	background-color: rgb(6, 113, 184);
}

#main_logo {
	float: left;
	width: 140px;
	margin-left: 20px;
}

#main_title {
	float: left;
	font-size: 20px;
	font-weight: bold;
	width: 65%;
	margin: 15px 25px;
	color: rgb(6, 113, 184);
}

#main_banner {
	background-color: rgb(255, 255, 255);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	height: 50px;
	font-size: 20px;	
}


#sub_banner{
	display: inline-block;
	width: 100%;
	height: 32px;
	margin-top: 0;
	vertical-align: middle;	
}
.banrect{
	float: left;
	margin-left: 115px;
	margin-right: 10px;
	width: 20px;
	height: 12px;	
	background: rgb(250, 186, 21); 
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.subtitle{
	display: inline-block;
	padding-top: 3px;
	font-size: 18px;
	font-weight: bold;	
	color: rgb(255, 255, 255);
}


/** ----------  PROJECT TABLE -----**/

.projtable{
	margin: auto;
	top: 200px;	
	max-width: 1200px;	
	color: rgb(59, 59, 59);
}
.wrapper {
  margin: 0 auto;
  width: 90%; /*800px;*/
  max-width: 1200px;
}

#tabfilter {
	margin: 0 auto;
	padding-top: 5px;
	padding-bottom: 30px;
	color: rgb(190, 190, 190);
	text-align: right;
}

.table {
  margin: 0 0 15px 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: table;
}

@media screen and (max-width: 580px) {
  .table {
    display: block;
  }
}

th, td {
    border-bottom: 2px solid rgb(255, 255, 255);
}

#keywords thead {
  cursor: pointer;
}

th.headerSortUp, th.headerSortDown {
  background: rgb(0, 112, 192); 
}

.sortchar {
	padding-left: 20px;
	font-size: 10px;
}

.headerSortUp .sup {
	color: rgb(255, 175, 35);
	font-size: 12px;
}

.headerSortDown .sdown {
	color: rgb(255, 175, 35);
	font-size: 12px;
}
.row {
  display: table-row;
  background: #f6f6f6;
  cursor: pointer;
}
.row:hover {
    color: rgb(6, 113, 184); 
}

.row:nth-of-type(odd) {
  background: rgb(233, 233, 233);
}

.row.header {
  background: rgb(234, 97, 83);
  
}

.hdr{
  font-weight: 800;
  color: #ffffff;	
  text-align: left;	
}


.row.blue {
  background: rgb(41,128,185);
}

@media screen and (max-width: 580px) {
  .row {
    padding: 8px 0;
    display: block;
  }
}

.cell {
  padding: 6px 12px;
  display: table-cell;

}
@media screen and (max-width: 580px) {
  .cell {
    padding: 2px 12px;
    display: block;
  }
}


.center {
	text-align: center;
}

/* Project informations */
#pi_container{
	display: table;   
    position:fixed;
    top: 120px;
    width: 90%;
	max-width: 1200px;
    z-index: 999999999;	
	left: 5%;
	background: rgba(250, 250, 250, 1) none repeat scroll 0 0; 
	border-radius: 8px;
	box-shadow: 1px 2px 5px gray;
}


#pi_content{
    margin: 0 auto;
    position: relative;
    width: 90%;
}
#pi_content h1{
	display: block;
    position: relative;
	height: 1em;
    text-align: left;	
    font-size: 28px;
	margin: 20px 0 0;
    font-weight: normal;
	color: rgb(6, 113, 184); /*Bleu blri*/
}


#pi_content h2{
    display: block;
    font-size: 24px;
    font-weight: normal;
    position: relative;
    text-align: center;
	line-height: 14px;
}

/*img.visuelSat {
	width: 100px;
}
section#projInfosContainer #projInfos #projInfosContent img.visuelSat {
    left: 0;
    position: absolute;
    top: 0;
}*/
#pi_content table {
    float: left;
    width: 35%;
	color: rgb(255, 175, 35);
	font-size: 14px;
}
#pi_content table tr td {
 /* border-bottom: 1px solid rgb(250, 0, 250);*/
    padding: 10px 0;
    text-align: left;
    vertical-align: top;
	color: rgb(0, 0, 0);
}

#pi_content table tr td:last-of-type {
	border-bottom: none;
}
#pi_content table tr td:first-of-type {
    width: 100px;
	color: rgb(255, 175, 35);
	border-bottom: 1px solid rgb(255, 175, 35);
}
#pi_content table tr:last-of-type td {
    border: medium none;
}
#pi_content #abstract {
    float: right;
    line-height: 20px;
    padding: 10px 0;
    text-align: justify;
    width: 60%;
	color: rgb(0, 0, 0);
	overflow: auto;
	height: 290px; 
	font-size: 16px;
	margin-bottom: 80px; 
	margin-right: 2%;
}
#pi_content #projplus {
	cursor: pointer;
	position: absolute;
	top: 555px;
	width: 55%;
	left: 40%;
	text-align: center;
	vertical-align: middle;
	font-size: 1.2em; 
	font-weight: bold;
	color: rgb(41,128,185);
}
	
.openproj{
	text-align: center;
	padding: 10px 10px;
	
}
.openicon{
	width: 30px;
	cursor: pointer;
	/*padding-right: 10px;*/
	vertical-align: middle;
}


/** --------- PROJECT PAGE *******/
.projsect{
	margin: 42px;
	width: 90%;
	max-width: 1200px;	
}
.projtitle {
    text-align: left;
	vertical-align: center; 	
    font-size: 36px;
    font-weight: normal;
	color: rgb(6, 113, 184); /*Bleu blri*/
}
.psrect{
	float: left;
	margin-left: 115px;
	margin-right: 10px;
	width: 12px;
	height: 20px;	
	background: rgb(44,188,231);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

footer {
	font-size: 0.9em;
	margin: auto;
	bottom: 10px;
	width: 60%;
	text-align: center;
}

.close{
  position: absolute;
  right: 30px;
  top: 25px;
  width: 50px;
  height: 50px;
  opacity: 0.7;
  cursor: pointer;
}

.close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.close:hover::before, .close:hover::after {
  background-color:  rgb(0, 112, 192); 
}
.close:hover {
  opacity: 1;
  
}
.close::before, .close::after {
  background-color: rgb(140, 140, 140); 
  content: '';
  position: absolute; 
  top: 50%;
  left: 0;  
  width: 100%;
  height: 3px;
  margin-top: -2px;
  border-radius: 5px; 
}

#crossClose{
  right: -2%;
  top: -8px;
  width: 26px;
  height: 26px;
}