/* TUDelft color scheme:
white: #FFFFFF
ligh blue: #00A6D6
blue: #007CC0
darker blue: #005369
black: #000000
dark grey: #333
med grey: #DDD
light grey: #F4F4F4
/*
  Define the fonts to use. 
  Droid Sans for content, News Cycle for headings.
*/
@font-face {
  font-family: News Cycle;
    src: url('../fonts/NewsCycle-Regular.eot');
    src: local("News Cycle"), url('../fonts/NewsCycle-Regular.ttf');
}

/* Set all margins and paddings to 0 */
* { margin:0px; padding:0px; }

html { height: 100%; }

body {
  font: normal .8em  arial, sans-serif;
  background: #FFFFFF;
  color: #333;
}

/* Everything is contained in main. */
#main {
  background: url(../images/bg2.png);
}

/* Headers and footers
The header consists of a logo-bar. The sticky nav-bar is below it.
*/
header {
  background: #00A6D6;
  width: 100%;
  height: 100px;
  min-width: 800px;

}

#logo {
  height: 85px;
  text-align: left;
  font: normal 350% 'News Cycle',arial, sans-serif;
  color: #FFF;
  padding: 10px 30px 5px 30px;
}

nav {
  height: 40px;
  min-width: 800px;
  color: #FFFFFF;
  background: #005369;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}

nav ul { padding-right: 80px; float: right; }

nav ul li {
  float: left;
  list-style: none;
}

nav ul li a {
  padding-left: 10px;
  padding-right: 10px;
  font: 150% 'News Cycle', arial, sans-serif;
  text-shadow: 1px 1px #000000;
  text-decoration: none;
  color:#FFFFFF;
  display: block;
  height: 40px;
}

nav ul li a:hover { color: #FFFFFF; text-decoration: underline; }
nav ul li.selected a { color: #FFFFFF; background: #000000; }


footer {
  font: 100% arial, sans-serif;
  padding: 20px 0 15px 0;
  text-align: center;
  background: #00A6D6;
  color: #FFFFFF;
  border-top: 6px solid #005369;
}

footer p { line-height: 1.5em; padding: 0 0 10px 0; }
footer a { color: #FFFFFF; text-decoration: none; }
footer a:hover { color: #FFFFFF; text-decoration: underline; }


#site_content {
  width: 900px;
  overflow: hidden;
  margin: 0px auto 0 auto;
  padding: 40px 50px 40px 50px;
  text-shadow: 1px 1px #FFFFFF;
  background: #F4F4F4;
  font-size: 110%;
}


/* Headings */
h1, h2, h3, h4, h5, h6 { color: #333; text-shadow: none; }

h1 {
  font-size: 250%;
  margin-top: 35px;
  margin-bottom: 15px;
  padding-top: 5px;
  padding-bottom:8px;

}


h2 {
  font-size: 160%;
  margin-top: 30px;
  margin-bottom: 10px;
  padding-top:8px;
  padding-bottom:6px;

}

h1,h2 {
  background-color: #005369;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
  margin-left:-20px;
  padding-left:20px;
  color: #DDD;
  font-weight: normal;
}


h3 {
  font-size: 140%;
  margin-top: 15px;
  margin-bottom: 5px;
}

h4, h5, h6 {
  font-size: 120%;
  margin-top: 15px;
  margin-bottom: 5px;
}



/* Hyperlinks */
a, a:hover { color: #007CC0; text-decoration: none;}
a:hover { text-decoration: underline; }


/* Paragraphs */
p { margin: 10px 0 10px 0; line-height: 1.5em; }


hr {
  margin: 1em 0 1em 0;
  border-style: solid;
  border-width: 1px;
  border-color: #005369;
}



/* Photo's with shadow effect */
.photo {
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}




/* Lists */
ul { margin-left: 30px;}
ul li { line-height: 1.3em; padding: 0 0 4px 5px; }




/* Put stuff to he left or to the right */
.left {
  float: left;
  width: auto;
  margin-left: 20px;
  margin-right: 20px; }
.right {
  float: right;
  width: auto;
  margin-left: 20px;
  margin-right: 20px;
}
.center { display:block; width: auto; text-align: center;}

/* Two columns for intro page */
#leftcolumn { width: 320px; float: left; padding-right: 20px; }
#rightcolumn { margin-left: 320px; }
.clear { clear: both; }


/* Tables */
table {
    width: 100%;
    margin: 10px 0 30px 0;
}

th, td { text-align: left; padding: 8px; text-shadow: none; }

tr {background-color: #DDD;}
tr:nth-child(even){background-color: #FFFFFF;}

th { background-color: #333; color: #FFF; }


/* A block quote */
blockquote { margin-left: 30px; line-height: 1.5em; }



/* Stuff for the seminar talks */



#talk {
padding: 15px 0 0px 15px;
position:relative;
}

#talk:hover {
  border-left: 5px solid;
  border-left-color: #005369;
  padding-left: 10px;
  background-color: #FFFFFF;
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-right: 2px solid;

}

#talk h4 {
  width: 60px;
  margin: 2px 0 0 0;
  padding:0;
  float: left;
  text-align: right;
  color: #005369;
  font: bold 1em arial, sans-serif;
  text-transform: uppercase;
}

#talk span {display: none;}

#talk:hover span {
   display: block;
   position: absolute;
   right: -2px;
   top: 100%;
   margin-top: 0px;
   background-color: #FFFFFF;
   width: 80%;
   box-shadow: 5px 20px 5px -8px rgba(0,0,0,0.2);
   padding: 20px 40px 20px 30px;
   border-top: 1px dashed;
   border-right: 2px solid;
   border-left: 2px solid;
   border-bottom: 2px solid;

   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
   z-index: 1;
   }

.indent {
     display:block;
     margin-top:0px;
     margin-bottom:15px;
     margin-left:80px;
     line-height: 1.3em;
   }
