@media all
{
  *
  {
    margin: 0;
    padding: 0;
  }
  
  html, body
  {
    height: 100%;
  }
  
  body
  {
    background-color: #F1F1F1;
  }
  
  div.wrapper
  {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    width: 800px;
    margin: 0 auto -50px;
    background-color: #FFFFFF;
    border-left: 2px dashed #CCC;
    border-right: 2px dashed #CCC;
  }

  div.footerPush,
  div.footer
  {
    width: 800px;
    margin: auto;
    height: 50px;
    clear: both;
  }

  div.footer
  {
    background-color: #FFFFFF;
    border-top: 2px dashed #CCC;
  }
  
  div.footerContent
  {
    text-align: right;
  }
  
  div.copy
  {
    width: auto;
    padding: 10px;
  }
  
  div.leftCopy
  {
    width: 490px;
    float: left;    
    padding: 10px;
  }
  
  div.events
  {
    width: 275px;
    float: right;    
    padding: 5px 10px 10px 5px;
  }
  
  div.eglogo
  {
    margin-top: 10px;
    height: 80px;
    background: url('/img/eglogo.png') no-repeat center center;
    border: none;
  }

  div.header
  {
    border-bottom: 2px dashed #CCC;
  }
  
  div.header div.logo
  {
    padding-left: 25px;
    padding-top: 5px;
    width: 424px;
    height: 48px;
    background: url('/img/logo424-nvtg.png');
    background-repeat: no-repeat;
    background-position: 25px 5px;
    border: none;
    margin-bottom: 15px;
  }
  
  ul.navigation
  {
    margin: 5px 0 5px 0;
  }
  
  ul.navigation li
  {
    display: inline;
    list-style-type: none;
    padding: 5px 30px 5px 30px;
    border-right: 2px dashed #CCC;
    line-height: 30px;
    vertical-align: middle;
    text-align: center;
    margin-left: -2px;
  }
  
  ul.navigation li.last
  {
    border-right: none;
  }
  
  ul.navigation li a:active,
  ul.navigation li a:hover,
  ul.navigation li a:link,
  ul.navigation li a:visited
  {
    text-decoration: none;
    color: #DE3931;
    font-weight: bold;
  }     
  
  h1
  {
    font-family: Georgia, Helvetica, Verdana;
    color: #666;
    font-size: 26px;
  }
  
  h2
  {
    font-family: Georgia, Helvetica, Verdana;
    color: #666;
    font-size: 18px;
  }
  
  h3
  {
    font-family: Georgia, Helvetica, Verdana;
    color: #666;
    font-size: 16px;
  }
  
  p, span, div, li, a, label, input, textarea
  {
    font-family: Helvetica, Verdana;
    color: #666;
    font-size: 14px;
  }
  
  div.formField
  {
    margin-bottom: 10px;
  }

  input[type=text],
  input[type=email]
  {
    width: 300px;
    padding: 2px;
  }
  
  input[type=submit]
  {
    padding: 2px;
  }
  
  textarea
  {
    width: 300px;
    height: 100px;
    padding: 2px;
  }
  
  div.wrapper a:active,
  div.wrapper a:hover,
  div.wrapper a:link,
  div.wrapper a:visited
  {
    text-decoration: underline;
    color: #DE3931;
  }     
  
  div.footer a:active,
  div.footer a:hover,
  div.footer a:link,
  div.footer a:visited
  {
    text-decoration: underline;
    color: #DE3931;
    font-weight: bold;
  }     
  
  h1, h2, h3, p,
  div.contactForm,
  div.photoset,
  div.photoContainer
  {
    padding: 5px;
  }
  
  div.copy li,
  div.leftCopy li
  {
    background: url('/img/icon16.png') no-repeat 8px 3px;
    list-style-type: none;
    margin: 0;
    padding: 2px 2px 2px 30px;
  }
  
  img.guildhall
  {
    float: right;
    width: 182px;
    height: 243px;
    margin-left: 5px;
    padding: 1px;
    border: 1px solid #888888;
  }
  
  div.event
  {
    width: auto;
    border: 1px solid #CCC;
    padding: 5px;
    margin-top: 10px;
    background-color: #DFECFD;
  }
  
  div.event span.price
  {
    float: right;
  }
  
  div.event p.link
  {
    text-align: right;
    font-weight: bold;
  }
  
  div.validator
  {
    padding: 5px 0 5px 0;
    color: #F00;
    font-weight: bold;
    display: none;
  }
  
  div.googleMap
  {
    width: 770px;
    height: 400px;
    margin-top: 10px;
  }
  
  div.ajaxing
  {
    width: auto;
    background: url('/img/ajax32.gif') no-repeat 0px 0px;
    line-height: 32px;
    vertical-align: middle;
    padding-left: 40px;
    margin-top: 10px;
  }
  
  div.contactSuccess
  {
    padding: 5px;
    border: 2px dashed #4594E4;
    font-weight: bold;
  }
  
  div.contactFailure
  {
    padding: 5px;
    border: 2px solid #F00;
    color: #F00;
    font-weight: bold;
  }
  
  div.flickrPhotostreamLink
  {
    text-align: right;
  }
  
  div.flickrPhotostreamLink a
  {
    font-weight: bold;
  }
  
  img.galleryThumbnail
  {
    width: 75px;
    height: 75px;
    border: none;
    margin-right: 2px;
  }
  
  img.galleryPhoto
  {
    width: auto!important;
    height: auto!important;
    max-width: 100%;
  }

  a.backToGallery
  {
    display: block;
    margin-left: 5px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  div.flickrLinks
  {
    margin-bottom: 10px;
  }
  
  a.galleryPhotoFlickrLink,
  a.previousLink,
  a.nextLink
  {
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
    visibility: hidden;
    opacity: 0;
    float: left;
    display: none;
  }
  
  a.inline
  {
    display: inline;
  }
  
  a.transitionVisible
  {
    visibility: visible;
    opacity: 1;
    transition: all 0.5s ease;
  }
  
  div.imageContainer
  {
    padding: 5px;
    clear: both;
  }
}    

/*
tablet landscape width 980px
tablet portrait width 768px
phone landscape width 480px
phone portrait width 320px
*/

@media screen and (max-width: 810px)
{
  body
  {
    background: none;
  }

  div.wrapper,
  div.footerPush,
  div.footer,
  div.leftCopy
  {
    width: auto;
    min-width: 210px;
  }
  
  div.wrapper
  {
    border: none;
  }
  
  div.header div.logo
  {
    padding-left: 10px;
    padding-top: 5px;
    width: 236px;
    height: 48px;
    background: url('/img/logo236-nvtg.png');
    background-repeat: no-repeat;
    background-position: 10px 5px;
    border: none;
    margin-bottom: 15px;
  }
  
  div.events
  {
    display: none;
  }

  ul.navigation li
  {
    padding: 5px 10px 5px 10px;
  }
  
  a.scrollTopLink
  {
    margin-right: 10px;
  }

  .fullWidthOnly
  {
    display: none;
  }
  
  div.googleMap
  {
    width: auto;
    margin: 10px 20px 10px 20px;
  }
}    

@media screen and (max-width: 320px)
{
  div.header div.logo
  {
    padding-left: 15px;
    padding-top: 5px;
    width: 98px;
    height: 72px;
    background: url('/img/logo98.png');
    background-repeat: no-repeat;
    background-position: 15px 5px;
    border: none;
    float: left;
  }
  
  input[type=text],
  input[type=email],
  textarea
  {
    width: 100%;
  }

  ul.navigation
  {
    margin: 5px 0 5px 0;
    padding-left: 5px;
    float: right;
  }
  
  ul.navigation li
  {
    display: block;
    padding: 2px 12px 2px 0;
    line-height: 16px;
    vertical-align: auto;
    text-align: right;
    margin: 0;
    border: none;
  }
  
  div.headerPush
  {
    clear: both;
  }
}
