/* Specific styles for nested elements, ids and classes. */

header #sitetitle {
    position: absolute;
    margin: 0px;
    padding: 0px 0px 0px 14px;
    opacity: 0.85;
}
#altMenu {
    display: none;
}
.hidden {
  display: none;
}
body {
    margin-bottom: 180px;
}
h3.hdrinline {
  margin-left: 0px;
}
nav#mainNav {
  text-align: right;
  height: 77px;
  border-bottom: 1px solid #aaa;
}
#mainNav ul {
    line-height: 0;
}
#mainNav ul li {
    display: inline-block;
    padding-top: 10px;
    margin-left: 0.5em;
}
#mainNav ul li a {
  font-size: 16px;
  padding: 1em 1.5em;
  color: #000;
  float: left;
  letter-spacing: 2px;
}
#mainNav ul li a:hover, #mainNav a#currentPage {
    /*background-color: #cd3a26; */
    text-decoration: underline;
}

#mainNav ul.sub_menu li {
  display: block;
  text-align: left;
  padding: 6px 2px;
  margin-left: 0px;
}
#mainNav ul.sub_menu li a {
  font-size: 15px;
  padding: 0.8em;
  float: none;
}
#mainNav ul.sub_menu {
  display: none;
  clear: both;
  position: absolute;
  top: 69px;
  border: 1px solid #aaa;
  z-index: 1;
  background-color: #fff;
  padding: 8px;
}

#mc_embed_signup {
    /*display: none;*/
    padding-left: 20px;
}
img#endmarker {
    margin: 27px auto;
    display: block;
}

#anicon {
  position: absolute;
  width: 100px;
  height: auto;
  right: 30px;
}

#netTable ul li {
  margin-left: 0px;
}

/* home page */

#homepic h1 {
  text-shadow: rgba(0, 0, 0, 0.7) 3px 4px 5px;
}
#homepic {
  /*  pdx-winery-wedding-cr.jpg*/
  /*background-image: url(../photos/pat_julia1-640.jpg);
  background-size: 100%;
  height: 480px;
  background-position: center;*/
  background-color: #06143c;
  position: relative;
  width: 95%;
  text-align: center;
  color: #fff;
  opacity: 0.95;
  margin: 20px auto 10px;
  padding: 20px 0px;
}
#homepic p {
  padding: 0px 140px;
  font-size: 20px;
}
#upcomingPerf {
  background-image: url(../graphics/DSC_1901k-sketch720.jpg);
  background-repeat: no-repeat;
  background-position-x: center;
}
.event_title {
  font-weight: bold;
  font-style: italic;
  font-size: 129%;
  display: block;
  margin: 18px 0px 4px 0px;
}
.event_subtitle {
  display: block;
  margin: 0px;
  padding-left: 1em;
  color: rgb(79, 70, 60);
  font-style: italic;
}
.event_date {
  font-size: 129%;
  display: block;
}

a#rqlink {
  display: block;
  margin: 10px;
  text-align: center;
  font-size: 22px;
}

/* artists */
.artist:hover {
  cursor: pointer;
}

/* articles */

article img {
  width: 250px;
  height: auto;
  margin: 14px;
  border: 1px solid #222;
}
article .imgright {
  float: right;
}
article .imgleft {
  float: left;
}
article > div:nth-child(odd) {
    background-color: #ddd;
}
article > div:nth-child(even) {
    background-color: #eee;
}
article > div {
    padding-bottom: 1px;
    padding-top: 1px;
    position: relative;
    /*
    -webkit-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.76);
    -moz-box-shadow:    3px 3px 5px 0px rgba(50, 50, 50, 0.76);
    box-shadow:         3px 3px 5px 0px rgba(50, 50, 50, 0.76);
    */
}

/* booking */
#bookingform label {
  display: inline-block;
  width: 125px;
  vertical-align: middle;
}
#bookingform input[type="submit"] {
  margin-left: 150px;
}
#bookingform .textlabel {
    float: left;
}

/* testimonials */
.testimonials p {
    font-size: 15px;
    margin-bottom: 2.5em;
}
.testimonials div {
  position: relative;
}

div.date {
    position: absolute;
    right: 20px;
    bottom: 2px;
}

/* gallery */
div#gallery_wrapper {
    text-align: center;
    position: relative;
    background-color: #eee;
    color: gray;
}
div#gallery {
    height: 484px;
    width: 644px;
    overflow: hidden;
    margin: 0px auto;
    background-color: #eee;
}
div#gallery img {
    height: auto;
    border: 1px solid #333;
    margin: 0px;
    /* fancy way to vertical-align middle */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
div#gallery img {
    cursor: pointer;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
#deck_previous {
    left: 0px;
}
#deck_next {
    right: 0px;
}
#deck_previous, #deck_next {
    height: auto;
    width: 36px;
    position: absolute;
    border: none;
    top: 234px;
    opacity: 0.2;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#deck_previous:hover, #deck_next:hover {
    opacity: 0.5;
}

/* artist profile pages */
span.emSubTitle {
  display: inline-block;
  margin: 0em 1em 1em 1.5em;
  font-style: italic;
  font-size: 145%;
}
.artistprofile h1 {
  text-align: left;
  padding-left: 10px;
}
.profileLeft {
  width: 20%;
  float: left;
}
.profileRight {
  display: inline-block;
  width: 75%;
}
.profileTopImage {
  width: auto;
  border: none;
  margin: 0 auto;
  display: block;
}
.artistprofile article div {
  background-color: #fff;
}
.artistprofile hr {
  width: 97%;
  text-align: center;
  margin: 10px auto;
  display: block;
  color: #ddd;
}
.profileTabs li {
  margin-left: 16px;
  font-size: 17px;
  padding: .3em .7em;
  background-color: #a7b3c6;
  display: inline-block;
  border-radius: 6px;
}
.profileTabs li:hover {
  cursor: pointer;
}
#headrqlink {
  float: right;
  font-size: 22px;
  padding: 30px 20px 0px;
}
#photoHeader {
  background-color: #eee;
  height: 420px;
  width: 100%;
}
#photoHeader img {
  width: 100%;
}
#photoleft {
  width: 50%;
  height: 100%;
  float: left;
  position: relative;
  text-align: center; /* for the button */
}
#photoright {
  float: left;
  width: 50%;
  height: 100%;
}
#photomain {
  width: 98%;
  height: 416px;
  overflow: hidden;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px 1%;
}
#viewallphotos {
  position: relative;
  padding: 0px .5em;
  bottom: 44px;
}
#phototleft, #phototright, #photobleft, #photobright {
  float: left;
  width: 48%;
  height: 206px;
  overflow: hidden;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2px 1%;
  background-color: #9ab;
}

/* media */
figure.utube {
    width: 400px;
    margin: 0px auto;
    height: auto;
}
figure.utube.wide {
  width: 560px;
}
audio {
    width: 368px;
    height: 32px;
}
.audioFig {
    background-color: #c4b19b;
    padding-bottom: 6px;
    width: 420px;
    margin: 5px auto;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    caption-side: top;
}

div#netTable {
    display: table;
    width: 100%;
}
div#audioTable {
    display: table;
    width: 100%;
}
div.tblRow {
    display: table-row;
}
div.graphicCell {
    display: table-cell;
    text-align: center;
    vertical-align: top;
    padding: 0px;
}
#netTable .graphicCell {
    width: 33%; 
}
#audioTable .graphicCell {
    width: 50%; 
}

/* point at which we're less than default body width of 1200 */
/* pad landscape (1080), big phone landscape (926) */
@media screen and (max-width: 1199px) {
    body {
        width: 100%;
    }
    article {
        padding: 0em;
    }
    h1 {
      font-size: 36px;
    }
    header #sitetitle {
        margin-top: 0px;
        font-size: 36px;
        margin-left: 64px;
    }
    #anicon {
      position: relative;
      right: 0px;
      float: right;
    }
    #altMenu {
        display: block;
        padding: 10px 6px;
    }
    #mainNav ul {
        display: none;
        background-color: #fff;
        position: relative;
        text-align: left;
        z-index: 1;
        border-bottom: 1px solid black;
    }
    #mainNav ul li {
        display: block;
        line-height: 2em;
    }
    #mainNav ul li a {
        float: none;
        font-size: 17px;
        padding: 0.25em 2em;
    }
    #mainNav ul.sub_menu {
        background-color: #fff;
        position: relative;
        text-align: left;
        padding: 0px 0px 0px 2em;
        border: none;
        top: 0px;
    }
    #mainNav ul.sub_menu li a {
      font-size: 15px;
    }
    /*
    #homepic {
      height: 350px;
    }
    */
    #homepic p {
      padding: 0px 20%;
      font-size: 19px;
    }

    #photoHeader {
      height: 210px;
    }
    #photobottom {
      display: none;
    }
    #photomain {
      height: 206px;
    }

    #audioTable .graphicCell {
        display: block;
        width: auto;
        margin-bottom: 10px;
    }
    .audioFig {
        width: 96%;
        margin-bottom: 20px;
    }
    audio {
        width: 85%;
    }
    div#gallery img {
      max-width: 100%;
      max-height: 100%;
    }
    div#gallery {
      width: 100%;
    }
    #deck_previous, #deck_next {
        width: 40px;
        opacity: 0.4;
    }
    #netTable .graphicCell {
      width: 100%;
      margin: 2em auto;
    }
    div.graphicCell {
      display: block;
    }
}
/* pad portrait */
@media screen and (max-width: 879px) {

    p, .testimonials p, .testimonials .date, dl, blockquote {
      font-size: 17px;
    }
    footer, figcaption {
      font-size: inherit;
    }
    /*
    #homepic {
      background-repeat: no-repeat;
      background-color: #333;
      background-position: center;
      background-size: auto;
      height: 300px;
    }
    */
    #homepic h1 {
      margin-top: 0px;
    }

    .profileTopImage {
      max-width: 500px;
    }
    .profileTabs li {
      display: block;
      width: 200px;
      margin: 6px;
    }
    #phototright {
      display: none;
    }
    #phototleft {
      width: 96%;
    }
    #headrqlink {
      float: none;
      padding: 10px;
    }
    .profileRight, .profileLeft {
      display: block;
      width: 100%;
    }
    label, input, select, textarea, fieldset fieldset {
      margin: 0px 5px;
      display: block;
    }
    input[type=text], input[type=email], textarea {
        width: 95%;
    }
    #bookingform input[type="submit"] {
      margin: 10px auto;
    }
}

/* special for background 720px wide image */
@media screen and (max-width: 720px) {
    #upcomingPerf {
      background-size: contain;
    }
}

/* phone portrait */
@media screen and (max-width: 500px) {

    h1 {
      font-size: 30px;
    }
    #homepic p {
      padding: 0px 10%;
      font-size: 18px;
    }
    .profileTopImage {
      max-width: 300px;
    }
    #photoleft {
      width: 100%;
    }
    #photoright {
      display: none;
    }
    article .imgright, article .imgleft {
        float: none;
    }

    figure.utube {
        width: 100%;
    }
    figure.utube iframe {
        width: 95%;
    }
    #mc_embed_signup {
        padding-left: 0px;
    }
    #mc_embed_signup input[type="email"], #mc_embed_signup input[type="text"] {
        width: 94%;
    }
    #mc-embedded-subscribe {
        font-size: 15px;
        margin: 10px auto;
    }
}
