/******************************************************************************/
/* GENERAL CLASSES                                                            */
/******************************************************************************/
.page-break {
  page-break-after: always;
}

.clear {
  clear: both;
}

body.print-output {
  font-family: Verdana, Arial;
  page-break-before: avoid;
  font-size: 0.8em;
}

/******************************************************************************/
/* PRINT-SELECT-POPUP                                                         */
/******************************************************************************/
body.print-select {
  margin-top: 1em;
  background-color: #fff;
  font-family: Arial,Tahoma,Times;
  font-size: 75%;
}

.print-select form label {
  text-align: right;
  padding-right: 10px;
  font-weight: bold;
  display: block;
  float: left;
  width: 150px;
}
.print-select form label.radio,
.print-select form label.checkbox {
  /* reset for 'radio/checkbox' labels */
  float: none;
  width: auto;
  text-align: left;
  font-weight: normal;
  padding-top: 0.1em;
  cursor: pointer;
}

.print-select form fieldset fieldset,
.print-select form input,
.print-select form select,
.print-select form textarea {
  float: left;
}

.print-select form select {
  width: 228px;
}
                           

  .print-select form fieldset legend {
    display: none;
  }

.print-select form div {
  padding-top: 5px;
}

.print-select form fieldset fieldset {
  border: 1px solid #ccc;
  padding: 4px;
  width: 220px;
}

.print-select form fieldset fieldset div.clear {
  padding-top: 4px;
}

.print-select form fieldset fieldset div.info {
  font-style: italic;
  padding-bottom: 5px;
}
.print-select form button {
  margin-left: 160px; /* label width + padding-right */
}

/******************************************************************************/
/* PRESENTATION OVERRIDES                                                     */
/******************************************************************************/
.row {
  position: relative;
  min-height: 230px; /* presentation-height + space between rows */
  height: auto !important;
  height: 230px;
}

.row.page-break {
  min-height: 210px; /* presentation-height + space between rows */
  height: auto !important;
  height: 210px;
}

#presentation {
  page-break-before: always;
}

  #presentation .presentationpage {
    display: block;
    position: absolute;
    float: none;
  }
  
  #presentation .presentationpage.right {
    right: 0;
  }
  
  #presentation .presentationpage .page-number {
    position: absolute; 
    bottom: 0;
    background-color: #808080;
    color: #fff;
    font-weight: bold;
    padding: 1px 3px;
  }

/* SPEECHBUBBLE TEMPLATE */
.bubble div {
  font-size: 0.8em;
  padding: 0.6em;
  letter-spacing: 1px;
}

.bubble div p {
  margin-top: 0;
}

/* TEXTONLY TEMPLATE */
.presentationpage.textonly {
  font-size: 0.9em;
  letter-spacing: 1px;
  
}

.textonly_everything .textonly_text {
  position: absolute;
  left: 0px;
}

#presentation .presentationpage.textonly .textonly_everything .textonly_text {
  /* (opacity != 1) = no print in FF */
  opacity: 1;
}

/* ONEIMAGE TEMPLATE */
.presentationpage.oneimage {
  font-size: 1em;
}

.oneimage_everything .oneimage_text {
  position: absolute;
  left: 0px;
  top: 0px;
}

/******************************************************************************/
/* LAYOUT                                                                     */
/******************************************************************************/
.print-header {
  page-break-before: avoid;
}

/******************************************************************************/
/* SUBJECT                                                                    */
/******************************************************************************/
.subject {
  page-break-before: always;
}

.subject.first {
  page-break-before: auto;
}
  
  .subject ul,
  .subject ol {
    margin: 0;
  }
  
    .subject ul li,
    .subject ol li {
      margin-left: 2em;
    }

  .subject .title {
    zoom: 1;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #000;
    padding-left: 0.3em;
    page-break-inside: avoid;
    page-break-after: avoid;
  }
  
    .title h2 {
      font-size: 1.2em;
      margin: 0.3em 0;
      padding: 0;
    }

  .subject .activity {
    margin-bottom: 2em;
  }

  .subject .intro {
    margin-bottom: 2em;
  }

    .activity img.activity-detail-image {
      height: 200px;
      margin: 0 1em 1em 0;
      float: left;
      /* LAL-107 */
      display: none;
    }
    
    .activity .activity-text img {
      margin-right: .5em;
      float: none;
    }

/******************************************************************************/
/* media="print" STYLES FOR IF YOU PRINT ONE PAGE DIRECTLY                    */
/* NOTE: THIS HAS NOTHING TO DO WITH THE PRINTING OF (A) COMPLETE SUBJECT(S)  */
/******************************************************************************/
/* hide stuff we don't want to print */
#header,
#sidebar,
#navicons {
  display: none;
}

/* hide the background */
body,
#middle {
  background: none;
}

#main,
#text,
#middle,
#maincontent {
  height: auto;
  width: auto;
}

/* info presentation (the screen version, not the specific print version version) */
#text #presentation .presentationpage {
  display: block;
  position: relative;
}