/*
 * Henry Feild
 * CSS
 * octopus.css
 * 02-May-2016
 *
 * Based on no.css.
 */


/*@import url(https://fonts.googleapis.com/css?family=Enriqueta:400,700|Open+Sans+Condensed:300);*/
/*@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Roboto+Condensed:300italic,300,700);*/
/*@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Roboto:300italic,300,700);*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Open+Sans);

html, body {
    height: 100%;
}

body
{
    font-size:         11pt;
   /*font-size: 13pt;*/
   /*color:             #696969;*/
    color:             #424242;

/*   font-family: Helvetica, arial, sans-serif;*/
   /*font-family:       'Enriqueta', sans-serif;*/
    font-family:       'Open Sans', sans-serif;
    text-align:        center;
    min-width:         800px;
    max-width:         800px;
      
    margin:            0;
    margin-left:       auto;
    margin-right:      auto;

/*   background:  #E0E0E0 url(images/leftRightShadow_gray.jpg) repeat-y 50%;
    background:  #33CCCC url(images/leftRightShadow_gray.jpg) repeat-y 50%;*/
   /*background:  white url(images/leftRightShadow_white.jpg) repeat-y 50%;*/

}


body.menu
{
    text-align:    center;
    background:    white;
    position: absolute;
    height: 100%;
}

table.special
{
    font-size:         75%;
    color:             #696969;
   /*font-family:       arial, sans-serif;*/
}

#menuMain, .menuMain
{
    font-family: "Open Sans Condensed";
    font-size: 150%;

    width:         700px;
    background:    white;
    margin-top: 10px;
    text-align: center;
    margin-right: 10px;
    padding: 5px;

   /*color: #b4af46;*/
    color: #b47846;
   /*color: orange;*/
   /*font-size: 105%;*/
   /*box-shadow: 0px 5px 10px #888888;*/
    box-sizing: border-box;

}

.menuMain.book {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

a:link    { color: steelblue; }
a:visited { color: slategray; } 
/*a:hover   { color: black; } */


/*body > #main*/
/*body #main*/
#main
{
    min-height: 100%;

   /*height: auto;*/
   /*height: 100%;*/
   /*box-shadow: 0px 0px 20px #888888;*/
   /*margin-bottom: 5em;*/
   /*border-radius: 0 0 25px 25px;*/
   /*border-radius: 0 0 10px 10px;*/
}


#content
{
    height: 100%;
    padding:    10px 50px 10px 40px;
    text-align: justify;
    padding-bottom: 3em;
    box-sizing: border-box;
}


#copyright
{
   /*position: relative;*/
    height: 3em;
    margin-top: -3em;
   /*margin-top: -5em;*/
   /*margin-left: -50px;*/
   /*width: 100%;*/
    text-align: center;
    font-style: italic;
    color: lightgray;
    z-index: 10;
    font-size: 80%;
   /*clear: both;*/
}

#pageHeader
{
    height:     150px;
   /*height:  148px;*/
    width:      auto;
    margin:     0;
    padding:    0;
}

#pageHeaderDesc
{
    width:  auto;
    padding-top: 10px;
    text-align:  center;
}

#pageHeaderDesc .descriptionText 
{
    max-width: 300px;
    display: inline-block;
}

#pageHeaderImg
{
    padding-top: 20px;
    float:         left;
    text-align:    center;
}

#pageHeaderImg img
{
    padding: 0;
    margin: 0;
    width: 150px;
}

.firefoxlogo
{
    float:         left;
    width:         180px;

}

hr.small
{
    width:         150px;
    text-align:    center;
}

#iframe
{
    height:     auto;
    display:    block;
    overflow:   visible;
    margin-bottom: -50px;
}

table
{
    margin-bottom: 1em;
}

p
{
    text-align: justify;
    margin-top: 3px;
}

ul, ol
{
    margin-top: 3px;
}

code, .code
{
    white-space:     pre;
    font-family:     "Bitstream Vera Sans Mono", "Courier", monospace;
    font-size:       90%;
    color:           #3399cc;   
    padding:    2px;
    background-color: #fdfdfd;
    border-radius:   3px;
    border: 1px solid #ddd;
   /*padding-top:     1em;*/
   /*padding-bottom:  1em;*/
}

code
{
    white-space: normal;
}

pre.code
{
    padding: 10px;
   /*margin-top: 10px;*/
}

.noBreak
{
    margin-bottom:0;
    padding-bottom:0; 
}

.gap 
{
    height: 2em;
}


h1,h2,h3,h4 {
    font-family: "Open Sans Condensed";
    font-weight: 300;
   /*font-weight: 400;*/
    margin: 0;
    padding-left: 0px;
    margin-bottom: .25em;
    margin-top: .5em;
    line-height: 100%;
}

h1
{
    margin-top: 0;
    font-size:  230%;
    color:      steelblue;
}

h2
{
    font-size: 200%;
    color:      #555;
}

h3
{
    font-size:  170%;
   /*color:      #7AA7D1;*/
   /*color: #b4af46;*/
   /*color: #46b478;*/
    color: #b47846;
}

h4
{
    font-size:  150%;
    color:      slategray;
}


.pre
{
    border:   1px solid steelblue;
    padding-left:  10px;
}

.warning
{
    color:      darkred;
}

.easy
{
    color: #a6a6a6;
}

.highlight
{
    background-color: yellow;
}

.paper-title 
{
   /*color: #b47846;*/
    color: #b4af46;
   /*color: #b4464b;*/
}

.note
{
   /*color:   orange;*/
   /*color: #b97d4b ;*/
    color: #b4af46;
   /*color: #46b478;*/
}

.back-to-top
{
    font-size: 80%;
}

/**
{
    max-height: 999999999px;
}
*/
/*@media screen and (max-device-width: 480px) and (orientation:portrait){
    body
   {
      font-size:         26pt;
   }
}*/

body.course-page
{
    font-size: 16px;
    line-height: 1.4;

}

.course-page pre
{
    line-height: 1;
}

.course-page #pageHeader
{
    height: auto;
}

/*.header-bar
{
    position: fixed;
    top: 0;
    width: 100%;
    margin-left: 40px;
    text-align: left;
    background-color: white;
}

.course-page #main {
    padding-top: 13em;
}*/

.multicolumn
{
   -moz-column-count:2; /* Firefox */
   -webkit-column-count:2; /* Safari and Chrome */
    column-count:2;
    list-style-position: inside;
}

.top td 
{
    vertical-align: top;
}

.left
{
    text-align: left;
}

table.thin-lines
{
    border-collapse: collapse;
}

.thin-lines td
{
    border-top: 1px solid #ededed;
    padding: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.lines td 
{
    border: 1px solid gray;
}

.syntaxhighlighter, pre.code, .figure, blockquote
{
   /*height: auto;*/
    padding: 5px;
    border: 1px solid #eee;
    background-color: #fdfdfd !important;
    border-radius: 10px !important;
}


.syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, 
.syntaxhighlighter table, .syntaxhighlighter table td, 
.syntaxhighlighter table tr, .syntaxhighlighter table tbody, 
.syntaxhighlighter table thead, .syntaxhighlighter table caption, 
.syntaxhighlighter textarea
{
    font-size: 13px !important;
}

.syntaxhighlighter {
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.figure
{
    margin-top: 10px;
    padding: 10px;
}

img.figure
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.figure, div.figure
{
    margin-bottom: 20px;
}

pre.code.terminal
{
   /*border: 1px solid: gray;*/
    background-color: #555 !important;
    color: #fefefe;
    border-radius: 5px !important;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.syntaxhighlighter .gutter .line
{
    border-right: 1px solid lightsteelblue !important;
    font-weight: normal !important;
}

.date 
{
    color: #999;
    width: 6em;
}

.date2
{
    color: #999;
}

.due 
{
    color: #b47846;
}

th
{
    font-family: "Open Sans Condensed";
    font-size: 130%;
    font-weight: 300;
    color: #b4af46;
}

.zebra
{
    border-collapse: collapse;
}
.zebra td
{
    padding-left: 3px;
    padding-right: 3px;
    box-sizing: border-box;
}
.zebra tr:nth-child(even)
{
    background-color: #f3f3f3;
}

.center 
{
    margin-right: auto;
    margin-left: auto;
}

.text-center 
{
    text-align: center;
}

.input
{
    color: orange;
}

.label
{
    font-size: 90%;
    font-style: italic;
    color: #aaa;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-bottom: -10px;
}

.label.left
{
    text-align: left;
}

blockquote
{
    font-style: italic;
    padding: 10px 20px 10px 20px;
}


.section-numbers
{
    counter-reset: section 0;
}

.section-numbers h2
{
    counter-reset: subsection fig tab prog snip;
}
.section-numbers h2:before
{
    counter-increment: section;
    content:counter(section) ". ";
}

/*.section-numbers .fig:before
{
    counter-increment: fig;
    content:"Figure " counter(section) "." counter(fig) ": ";
}

.section-numbers .tab:before
{
    counter-increment: tab;
    content:"Table " counter(section) "." counter(tab) ": ";
}

.section-numbers .prog:before
{
    counter-increment: prog;
    content:"Program " counter(section) "." counter(prog) ": ";
}

.section-numbers .snip:before
{
    counter-increment: snip;
    content:"Snippet " counter(section) "." counter(snip) ": ";
}*/

.no-bullet, .no-bullet ul
{
    list-style-type: none;
}

table.figure 
{
    margin-left: auto;
    margin-right: auto;
}

.array td
{
    border: solid 1px gray; 
    width: 30px; 
    height: 30px; 
    text-align: center;
}

.array td.selected
{
    border: solid 3px orange;
}

.array td.used
{
    background: #ddd;
    font-style: italic;
}

.array td.correct
{
    border: 3px solid green;
}

.array td.divider
{
    width: 0;
    padding: 0;
    border: 2px dotted gray;
}

.array td.none
{
    border: none;
}

tr.non-class-day td.date {
   /*background-color: #ebfaff;*/
   /*border-left: 5px solid #999;*/
    color: #ccc;
}

tr.non-class-day td {
    font-style: italic;
}

tr.due td {
    border-top: 2px solid #aaa;
    border-bottom: 2px solid #aaa;
}
tr.due td:FIRST-CHILD {
    border-left: 2px solid #aaa;
}
tr.due td:LAST-CHILD {
    border-right: 2px solid #aaa;
}


table.last-col-right tr td:LAST-CHILD{
    text-align: right;
    padding-right: 10px;
}

.question {
    color: #b97d4b;
}

table.borders, .borders td, .borders th {
    border: 1px solid lightgray;
}

li {
    margin-top: 10px;
}


.packed li {
    margin-top: 5px;
}

td li {
    margin-left: 1em;
}

.inline-title {

    font-family: "Open Sans Condensed";
    font-size: 130%;
    font-weight: 300;
    color: #b4af46;     
}

table.box {
    border-collapse: collapse;
}

table.box td, td.box {
    border: 2px solid gray;
}

table.no-box td, td.no-box {
    border: none !important;
}


iframe.websheet {
    border: 1px solid gray;
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px;
    min-height: 500px;
    width: 100%;
    margin-top: 10px;
}


.take-aways {
    margin-top: 20px;
    padding:    5px;
    background-color: #f9f9f9;
    border: 2px solid #b4af46;
    border: 2px solid steelblue;
    border-radius: 10px;
}

.take-aways h2 {
    color: #b4af46;
    color: steelblue;
    margin-top: -2px;
    margin-bottom: 5px;
}

.take-aways ul {
    padding-right: 10px;
}


.week {

}

.week h1 {
    font-size: 100%;
    font-weight: normal;
    /* Green */
    /*color: #b4af46;*/
    /* Gray */
    /*color:      #555;*/
    /* Dark steelblue */
    color: #315a7d;

    font-family:       'Open Sans', sans-serif;
    text-decoration: underline;
}

.week li {
    margin-top: 5px;
}

.week input[type="checkbox"] {
    margin-left: -20px;
}

.schedule {
    border: 1px solid #555;
    padding: 10px;
}


.videos .video-entry {
    display: table-row;
}
.videos .video-description {
    display: table-cell;
    width: 300px;
    text-align: left;
}
.video-entry iframe {
    display: table-cell;
    width: 187px;
    height: 105px;
}

.videos .video-entry2 {
    text-align: left;    
    display: table-cell;
    width: 187px;  
    padding-right: 2em;
}

.video-entry2 iframe {
    width: 187px;
    height: 105px;
}




/* For smart phones, etc. */
@media only screen 
  and (max-device-width: 800px) {
  body {
     width: 100%;
     min-width: 100%;
     max-width: 100%;
     font-size: 20pt;
  }
  body.course-page {
      font-size: 20pt;
  }

   .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, 
   .syntaxhighlighter table, .syntaxhighlighter table td, 
   .syntaxhighlighter table tr, .syntaxhighlighter table tbody, 
   .syntaxhighlighter table thead, .syntaxhighlighter table caption, 
   .syntaxhighlighter textarea
   {
      font-size: 20pt !important;
   }
  #menuMain {
      width: 100%;
      margin-right: 0px;
  } 

  #content {
     padding:    10px 10px 3em 10px;
     text-align: left;
  }
   #pageHeader
   {
      height:     auto;
      width:      auto;
      margin:     0;
      padding:    0;
   }
   #pageHeaderDesc
   {
      margin-left: 0px;
      width:       100%;
      padding-top: 10px;
      text-align:  center;
      float: none;
   }

   #pageHeaderImg
   {
      /*margin-left:   50px;*/
      float:         none;
      text-align:    center;
      width:         100%;
   }

   #pageHeaderImg.img
   {

   }

    table {
      /*table-layout:fixed;*/
      width: 100%;
      box-model: border-box;
      font-size: 90%;
   }

    p {
      text-align: left;
   }
     
  #content * {
      max-width: 100%;
      /*overflow-x: auto;*/
      /*overflow-y: auto;*/
      /*overflow-y: visible !important;*/
      box-sizing: border-box !important;
      /*height: 100%;*/
      /*line-height: 1 !important;*/
   }
}


