/* ----- colours ----- */
@import url('colors.css');

html { -webkit-text-size-adjust: none; } 

/* ----- 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: 1em 0;
  overflow: hidden;
}

#logo a {
  display: block;
  height: 100px;
  text-indent: -999em;
  background: url(logo-100.png) no-repeat;
}

#menu {
  font-size: 110%;
}

ul#menu, #menu ul {
  list-style-type: none;
  padding: 0;
}

.menu-section {
  float: left;
  width: 33%;
}

.menu-section > a {
  font-size: 130%;
}

.menu-section > a:hover {
  text-decoration: none;
  cursor: default;
}


#menu UL {
  padding-top: 0.25em;
}

#menu {
  line-height: 1.5em;
}

#menu .selected {
 text-decoration: underline;
}

#menu A {
 display: block;
 color: inherit;
}

#intro-bar {
 text-align: center;
 font-size: 120%;
 text-shadow: 0px 0px 3px rgba(255,255,255,0.8);
 padding: 0.5em 0;
 margin: 0;
 font-weight: normal;
}

#intro-bar SPAN {
 visibility: hidden;
 display: block;
 height: 0;
}

#footer {
 font-size: 75%;
}

#content {
 line-height: 1.4em;
 min-height: 600px;
 padding-bottom: 3em;
}

#intro {
 width: 49%;
 float: left;
 margin-bottom: 3em;
}

#dates {
 width: 50%;
 float: right;
}

#dates H3, #dates P {
 margin-left: 10px;
}

#dates #list-dates {
 list-style-type: none;
 padding: 0;
}

#list-dates LI {
 clear: right;
 margin-top: 0.15em;
}

#list-dates SPAN {
 float: right;
 width: 220px;
}

#list-accom IMG {
 clear: right;
 float: right;
 margin: 0px 10px 40px 20px;
 padding: 4px;
 border: 1px solid #ddd;
 background: rgba(255,255,255,0.3);
}

#list-accom H3 SPAN {
 display: block;
 font-weight: normal;
 font-size: 80%;
}

#list-accom UL {
  padding-left: 0;
}

#list-accom H3 {
 margin-top: 4em;
}

#list-accom {
 list-style-type: upper-alpha;
}

#footer P, #content P, #content UL, #content H1, #content H2, #content H3, #content H4, #content DL {
 margin-left: 10px;
 margin-right: 10px;
}

#footer P, #content P, #content LI, #content H1, #content H2, #content H3, #content H4, #content DL {
 line-height: 1.4em;
}

#content DT {
 margin-top: 1.4em;
 font-weight: bold;
}


#news {
 clear: both;
}

DIV#newsbox {
 margin: 1em 2em 2em 2em;
 padding: 0 1em;
 color: saddlebrown;
 background: #fec;
 border: 1px solid orange;
 border-radius: 16px;
}

DIV#newsbox P {
 text-align: center;
 margin: 1em 0;
}

#footer {
 font-size: 75%;
 margin: 0 auto;
}

#footer P {
 text-align: right;
}


#list-news, #twitter UL, #recentcomments UL {
 list-style-type: none;
 padding: 0;
 overflow: hidden;
}

#list-news LI, #twitter LI, #recentcomments LI {
 position: relative;
 margin: 0.2em 2% 1.5em 0;
 width: 48%;
 float: left;
 clear: none;
}

#list-news LI:nth-child(odd), #twitter LI:nth-child(odd), #recentcomments LI:nth-child(odd) {
 clear: left;
}

.session-info .day,
#list-news LI > SPAN, #twitter LI > IMG, #recentcomments LI > IMG {
 float: left;
 width: 3.2em;
 height: 3.2em;
 margin: 0.5em 1em -0.65em 0;
 text-align: center;
 position: relative;
 top: -0.65em;
}

#list-news LI > SPAN {
 padding-top: 0.1em;
}

#recentcomments .dsq-widget-avatar { margin-right: 1em; !important }
#recentcomments .dsq-widget-comment P { display: inline; }
#recentcomments .dsq-widget-meta { margin-left: 5.6em; }


.session-box { clear: both; overflow: hidden; margin-bottom: 2em; }

.paper-info, .session-info { padding-left: 5px; }

.session-list { margin-top: -3.6em; float: right; width: 50%; }
.session-list UL { list-style-type: none; padding: 0; margin-top: 0;}
.session-list H4 { margin-top: 1.39em; }

.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; }
.session-info H3 { margin-left: 4.5em !important; }
.session-info P.info { margin-left: 5.4em !important; }
.session-info .info { margin: 0; font-weight: bold; }
.session-info .info span { font-weight: normal; font-variant: small-caps; font-size: 85%;}
#content .session-info .day A { border: 0; }
.schedule .session-info .day:hover { border-color: white; }

.session-box .paper-info { width: 49%; float: left; }
.session-box .paper-info.tutorial { width: 100%; } 
.session-list span,
.paper-info .title span { font-size: 85%; font-variant: small-caps; padding-left: 0.5em; text-shadow: rgba(0,0,0,0.3) 1px 1px 0px; }
.paper-info { clear: left; padding-top: 0.5em; }
.paper-info .time { float: left; text-align: center; width: 3.2em; margin-left: 0.75em; }
.paper-info .title,
.paper-info .authors { margin: 0em 0em 0em 5.4em !important; }

.tutorial-info { float: right; clear: right; width: 25%; margin-left: 1.5em; }
.paper-info.tutorial .title { padding-bottom: 1em; margin-right: 50%; }

.session-info .day strong,
#list-news LI > SPAN STRONG {
 font-size: 170%;
 display: block;
}

.smallline {
 font-size: 80%;
 margin-top: -1.5em;
 margin-bottom: 2.2em;
}

div.half {
 width: 50%;
 float: left;
}

.half UL {
 list-style-type: none;
 padding: 0;
}

.half UL LI {
 margin: 0.5em 0;
}

.half UL LI SPAN {
 display: block;
 margin-left: 0em;
}

.half UL LI SPAN+SPAN {
 display: block;
 margin-left: 1em;
}

.clear {
  clear: both;
}

.action {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.schedule-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
  margin: 10px;
  line-height: 2em;
}

.schedule-table TR:nth-child(even) {
  background: rgba(255,255,255,0.2);
}

.schedule-table TH, .schedule-table TD {
  padding: 0 4px;
}

/* custom style for the 2012 schedule */

.schedule-table TH:nth-child(3),
.schedule-table TH:nth-child(4),
.schedule-table TH:nth-child(5),
.schedule-table TD:nth-child(3),
.schedule-table TD:nth-child(4),
.schedule-table TD:nth-child(5) {
  border-left: 2px solid rgba(255,255,255,0.1);
}

.schedule-table TD:nth-child(1),
.schedule-table TD[colspan="2"] {
  text-align: center;
}

.aside { font-size: 80%; }
.aside H2 { font-size: 187.5%; }
.aside IMG { margin-left: 10px; max-width: 100%; }


/* custom for workshop and tutorial list */

OL.boxlist { list-style-type: none; padding: 0; }
OL.boxlist LI {
 float: left;
 width: 48.6%;
 margin: 1em 1% 1em 0;
}

OL.boxlist LI { min-height: 12em; 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 LI:nth-child(odd) { clear: left; }


/* custom for workshop and tutorial list */

#sponsors LI DIV {
  background: white;
  text-align: center;
}

#sponsors LI IMG {
  max-width: 90%;
  padding: 5%;
  margin: 0 auto;
  display: block;
}

.paper H2 { margin: 3em 0 0 0; font-size: 1em; }
.paper .authors { font-weight: bold; margin: 0em; }
.paper .type { margin: 0; font-size: 80%;}
.paper .abstract { margin: 1em 0 0 0; text-align: justify; }

del { cursor: help; }

/* ---------------------------------- */

.bio P {
 font-size: 80%;
}

.person IMG {
 margin: 10px 10px 1em 1em;
 float: right;
 width: 25%;
 height: auto;
}

#content H3 { clear: left; }
#content H2 { clear: both; padding-top: 1em;}

#reviewers UL { padding: 0; list-style-type: none; overflow: hidden;}
#reviewers LI { float: left; width: 33%; }


/* ---- survey results -------------- */

.results code, .results big {
  white-space: pre;
}

.results code {
  float: left;
  width: 12em;
}

.results H3 {
  font-size: 120%;
  font-weight: normal;
}

.results OL LI+LI {
  border-top: 1px dotted white;
}



/* ----- wide screens: above 960px ----- */
@media screen and (min-width: 980px) {

  #reviewers LI { width: 25%; }
  #header, #content, #footer {
    width: 960px;
    margin: 0 auto;
  }

  #logo {
    width: 22.92%;
    margin: 21px 1.04% 4px 1.04%;
    float: left;
  }

  #logo a {
    display: block;
    height: 170px;
    width: 220px;
    margin-top: -11px;
    background: url(logo-170.png) no-repeat;
  }

  #menu {
    margin-top: 0;
  }

  .menu-section {
    margin: 0 1.04%;
    width: 22.92%;
  }

  #intro-bar SPAN {
   visibility: visible;
   display: inline;
  }

  #list-info LI { margin-right: 25%; }

  .comfortable {
   width: 65.7%;
   float: left; /* needed for aside */
  }
  
  .aside {
   width: 33%;
   float: right;
  }

  .person {
    width: 50%;
    float: right;
    background: rgba(31,51,99,0.5);
  }

  .invited-abstract {
    width: 50%;
    float: left;
    margin-bottom: 2em;
  }

  .bio {
    width: 50%;
    float: left;
    background: rgba(31,51,99,0.5);
  }

  #list-accom IMG {
    margin: 0px 90px 40px 20px;
  }

  .paper { width: 75%; }

}

table {
  margin-left: 10px;
}

form p {
  clear: left;
}

label {
  float: left;
  width: 35%;
}

.single label {
  float: none;
  width: auto;
}

fieldset {
  margin: 0 0 1em 0;
}

input[type="text"], select {
  width: 55%;
}

form span {
  font-size: 80%;
}


/* ----- narrow screens: below 640px ----- */
@media screen and (max-width: 640px) {

  OL.boxlist LI { float: none; width: auto; margin: 1em 0; }
  #reviewers LI { float: left; width: 50%; }

  #logo a {
    height: 80px;
    background: url(logo-80.png) no-repeat;
    width: 100%;
  }

  #header, #content, #footer {
    margin: 0 3px;
    padding: 3px 0;
  }

  #wrapper {
    background: none;
  }

  #content {
    font-size: 15px;
    min-height: 0px;
  }

  #intro-bar {
    display: none;
  }

  .menu-section {
   float: none;
   width: auto;
  }

  .menu-section a, .menu-section .disabled {
    padding: 0.5em 10px;
    display: block;
  }

  .menu-section UL {
    display: none;
    position: absolute;
    top: 1em;
    right: 0.5em;
    width: 43%;
    overflow: hidden;
    border-radius: 5px;
  }

  .menu-section:hover UL {
    display: block;
  }

  DIV.half, #intro, #dates, .comfortable {
    width: auto;
    float: none;
  }

  #intro { margin: 0; }

  #content UL {
    padding-left: 2em;
  }

  #dates #list-dates {
    padding-left: 2em;
    list-style-type: disc;
  }

  #list-dates, UL#list-news, #twitter UL, #recentcomments UL {
    padding-left: 0;
  }

  #list-dates LI {
    margin-top: 0.5em;
  }

  #list-dates SPAN {
    float: none;
    width: auto;
    display: block;
    text-align: left;
  }

  #list-accom H3 SPAN {
    display: block;
  }

  #list-accom IMG {
    display: none;
  }

  #list-news LI, #twitter LI, #recentcomments LI {
    margin: 0.2em 0 1.5em 0;
    width: auto;
  }

  .session-list { float: none; width: auto; clear: left; margin-top: 1em;}
  .session-box .paper-info { float: none; width: auto; }

}


@media print {
  #head, #footer, #intro-bar { display: none; }
  body { font-size: 12px; font-family: serif; }
}


/* - eof - */

