/* ----- colours ----- */
@import url('colors.css');

html { -webkit-text-size-adjust: none; } 

body { margin: 0; }

/* ----- common styles ----- */
A { text-decoration: none; }
A:hover { text-decoration: underline; }

#content a, #footer a {
 border-width: 1px;
 border-bottom-style: dotted;
}

#content A:hover, #footer A:hover {
 border-bottom-style: solid;
 text-decoration: none;
}

/* ----- default layout: between 640px and 960px ----- */
body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

#header, #intro-bar, #content, #footer {
  width: auto;
  margin: 0 1em;
  padding: 0.5em 0;
  overflow: hidden;
}

#logo a {
  display: block;
  height: 100px;
  text-indent: -999em;
  background: url(logo-100.png) no-repeat;
}

#header H1 {
  float: left;
}

#footer {
 font-size: 75%;
 margin: 0 auto;
}

#footer P {
 text-align: right;
 margin: 10px; 
}

/* custom for workshop and tutorial list */

OL.boxlist { list-style-type: none; padding: 0; overflow: hidden; }
OL.boxlist LI {
 float: left;
 width: 48.6%;
 margin: 1em 1% 1em 0;
}
OL.boxlist LI:nth-child(2n+1) { clear: left; }

OL.boxlist LI { position: relative; }
OL.boxlist H2 { font-size: 1em; margin-right: 2em; }
OL.boxlist H2 SPAN { font-weight: normal; font-size: 0.8em; position: absolute; margin: 0 0 0.3em 0.5em; right: 0.5em; top: 0.1em; }
OL.boxlist LI P SPAN { font-weight: bold; }
OL.boxlist IMG { width: 100%; }
#content OL.boxlist SPAN { font-size: 80%; display:block; margin-top: 0.5em; }
#content OL.boxlist A { padding: 3%; display: block; border: none; }
#content OL.boxlist A:hover { background: rgba(255,255,255,0.3); }



.session-info { clear: both; margin-top: 2em; }
.session-info SPAN { font-weight: bold; }
.session-info H3 { clear: none !important; margin-bottom: 0; font-size: 1.2em; margin-top: 3em; }
.session-info .info { margin: 0; font-weight: bold; }
.session-info .info span { font-weight: normal; font-variant: small-caps; font-size: 85%;}
.session-box .paper-info { width: 49%; float: left; }
.session-box .paper-info.tutorial { width: 100%; } 


/* ----- wide screens: above 960px ----- */
@media screen and (min-width: 980px) {
  OL.boxlist LI { width: 23.6%; }
  OL.boxlist LI:nth-child(2n+1) { clear: none; }
  OL.boxlist LI:nth-child(4n+1) { clear: left; }
}

/* ----- very screens: above 1400px ----- */
@media screen and (min-width: 1400px) {
  OL.boxlist LI { width: 15.5%; }
  OL.boxlist LI:nth-child(2n+1) { clear: none; }
  OL.boxlist LI:nth-child(6n+1) { clear: left; }
}

/* ----- narrow screens: below 640px ----- */
@media screen and (max-width: 640px) {

  OL.boxlist LI { float: none; width: auto; margin: 1em 0; }
  OL.boxlist LI IMG { display: none; } 
  #reviewers LI { float: left; width: 50%; }

  #wrapper {
    background: none;
  }

}
