@media print {
  h1, title, img, nav, #intro {
    display: none;
  }
  #info, #info p {
    padding: 0 1% 0 0;
  }
  img {
    display: none;
  } 
  label {
    width: 20%;
  }
  #main {
    margin: 0 0 0 0;
  }
  nav ul { 
    list-style: square; 
  } 
  #recipe {
    border: 1px solid #000;
  }
}

/* ----------- Google Pixel ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) {
  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }

}

/* Portrait */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {
  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }

}

/* Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape) {
  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }

}

/* ----------- Google Pixel XL ----------- */

/* Portrait and Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) {
  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }

}

/* Portrait */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: portrait) {

  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }
}

/* Landscape */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }

}

@media screen and (max-width: 480px) {
  #main #about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
    margin: 0 1% 0 1%;
    padding: 0 0 0 0;
  }
  .dontshow {
    display: none;
  }
  .logo {
    height: 82px;
    width: 233px;
  }
}

@media screen { 
  a, .ui-widget-content a {
    color: navy;
    font-style: italic ;
    text-decoration: none;
  }
  body {
    background: #CCC; /* url("http://wings.buffalo.edu/images/backgrounds/sky.jpg;"); */ /* repeat-x; */
  }
  h1, h2, h3, h4, h5, h6 { 
    /* text-align: center; */ 
    color: navy; /* #00F; */
  }
  div.figure {
  float: right;
  /* width: 30%; */
  /* border: thin silver solid; */
  margin: 0.5em;
  padding: 0.5em;
  }
  div.figure p {
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
  }
  table {
    margin: 2px;
    padding: 2px;
  }
  td, tr {
    vertical-align: top;
  }
  .logo {
    height: 163px;
    width: 467px;
  }
  #nav , nav {
    background-color: navy;
    clear: both; 
    color: #000;
    display: block;
    margin: 0 0 0 2%;
    padding: 0px;
    text-align: center;
  } 
  nav ul { 
    list-style: none; 
  } 
  nav ul li {
    background-color: navy;
    border-right: 1px solid #FFF;
    color: #000;
    float: left;
    font-size: 10pt;
    padding: 8px;
  }
  #nav ul li a {
    color: #FFF;
    display: block;
    font-size: 10pt;
    text-align: center;
    text-decoration: none;
    width: 100%;
  }
#nav ul li a:active, nav ul li a:active {
  color: #00F !important;
}
nav ul li a:hover {
  color: #ccc;
}
#main {
  background: #FFF;
  background-size: 100%;
  border-radius: 11px;
  text-align: center;
  margin: 0 5% 0 5%;
  padding: 2% 2% 2% 2%;
}
#about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact {
  clear: both;
  display: block;
  color: #000;
  margin: 0 2% 1% 2%;
  padding: 1% 2% 1% 2%; /* top right bottom left */ 
  text-align: left;
} 
#footer {
  background: #CCC; /* url("http://wings.buffalo.edu/images/backgrounds/sky.jpg;"); */
  border-radius: 11px;
  font-size: smaller;
  text-align: left;
  padding: 1% 2% 1% 2%;
}
form {
  font-size: smaller;
}
#about, #applications, #consulting, #database, #teaching, #training, #webdesign, #contact { 
  /* background: #FFF url("http://wings.buffalo.edu/images/backgrounds/sky.jpg;"); * / /* repeat-x; */
  /* background-size: 100%; */
  display: none;
  margin: 0px 30px;
  padding: 5px 20px !important; /* top right bottom left */ 
}
#about {
  display: block;
}
.fieldContainer {
  display: block;
  margin: 0 0 1% 0;
}
#info {
  background-color: #ADD8E6;
  border-radius: 11px;
  margin: 0 0 1% 0;
  text-align: center;
}
label {
  color: navy;
  float: left;
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  padding: 0 1% 0 0;
  text-align: right;
  width: 35%;
}
#logo {
 position: absolute; 
 z-index: 1;
}
.required {
  color: red;
  font-weight: bold;
}
#schedule {
  text-align: center;
}
#schedule th {
  background-color: #CCC;
  border: ridge 1px;
}
#schedule tr td {
  border: ridge 1px;
  padding: 0 1em 0 1em;
}
  #note, .note {
    background-color: red;
    border-radius: 11px;
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
    color: white;
    display: block;
    font-weight: bold;
    margin: 1% 0 1% 10%;
    text-align: center;
    width: 80%;
  }
  .schedule strong { 
    color: red; 
    text-align: center;
  }
  .tab-selected {
    background: #CCC; /* url("http://wings.buffalo.edu/images/backgrounds/sky.jpg;"); */ /* repeat-x; */
    border-top: solid 1px navy;
   border-right: solid 1px navy !important;
    border-bottom: solid 1px #CCC;
    border-left: solid 1px navy;
    color: navy !important;
  }
  .tab-selected a {
    color: #FFF !important;
  }
  .tab-not-selected {
    background-color: navy;
    color: #FFF;
  }
  .imgRounded { 
    border-radius: 11px;
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
    height: 130px; 
    /* float: right; */
    margin: 1% 1% 0 0;
    width: 160px;
  }
  .evenRow, .evenRow tr td {
    background-color: #DDF;
    border: ridge 1px;
  }
  .oddRow, .oddRow  tr td{
    background-color: #CCF;
    border: ridge 1px;
    text-align: center;
  }
  .ulNone li {
    list-style-type: none;
  }
}
