html{
  height:100%; 
  overflow-y: scroll;
  background-image : url(../images/background.jpg);
  }

body{
  height: 100%;
  font: normal .938em arial, sans-serif;
  color: #000;
  margin: 0px;
  background: transparent
  }
  
header, content , footer{
  display:block;
  }
  
img{
 border: 0px;
  max-width: 100%;
  height: auto;
  }

a:link{
text-decoration:underline;
color:#000;
}

a:visited{
color:#6abccd;
}

a:hover{
color:#6abccd;
text-decoration:underline;
}

a:active{color:#000;
}

a.menubar:link{ 	
color:#FFF;
text-decoration:none
}

a.menubar:hover{
color:#FFF;
background-color:#6abccd;
}

a.menubar:visited{
color:#FFF;
}

h1{
  font-size:0.9em;
  padding: 0px;
  margin: 0px;
}


h1.hidden {
  display: none;
}

h2{
  font: bold 160% arial, sans-serif;
  color: #000;
  margin: 0px;
  padding-bottom: 10px;
}

h3{
  font: bold 140% arial, sans-serif;
  color: #000;
  margin: 0px;
  padding-bottom: 10px;
}
  
h4{
  font: bold 120% arial, sans-serif;
  color: #000;
  margin: 0px;
  padding: 10px;
}

h5, h6{
  font: normal 120% arial, sans-serif;
  color: #000;
  margin: 0px;
  padding: 10px;
}
  
p{
  margin: 0px auto;
  padding: 10px;
}
  
ul li{
  display: table-cell;
}

ol{
  margin: 8px 0px 22px 20px;
}

ol li{
  margin: 0px 0px 11px 0px;
}

#wrap{
  border-radius:25px;
  margin:10px auto;
  width:960px;
  background-image: url(../images/paper.jpg);
}

#header{
  width: 960px;
  height: 350px;
  text-align: center;
  margin:0px;
  background-color: transparent
  }
  
#cover{
  width: 960px;
  height: 520px;
  text-align: center;
}
  
#menubar{
  margin:0px;
  padding:0px;
  text-align: center;
  width:100%;
  display: table;
  table-layout: fixed;
  } 
  
#menubar li{
  height: 42px;
  padding-top: 6px;
  font: normal 140% arial, sans-serif;
  font-weight: bold;
  text-decoration: none;
  }  
  
#gallery{
  margin:0px;
  padding:0px;
  text-align: center;
  width:100%;
  display: table;
  table-layout: fixed;
  } 
  
#gallery li {
  height: 42px;
  padding-top: 8px;
  font: normal 100% arial, sans-serif;
  font-weight: bold;
  text-decoration: none;
  }  
  
  
#content{
  max-width: 960px;
  margin: 0px auto;
  padding: 30px;
  text-align: center;
  letter-spacing: 2px;
  }

#content2{
  max-width: 960px;
  margin: 0px auto;
  padding: 30px;
  text-align: center;
}

#services, #join, #faq{
  max-width: 960px;
  margin: 0px auto;
  padding: 30px 30px 0px 30px;
}

#appointment{
  max-width: 960px;
  margin: 0px auto;
  padding: 0px 30px 0px 30px;
  text-align: center;
}

#hours{
  max-width: 960px;
  margin: 0px auto;
  font: normal 120% arial, sans-serif;
  text-align: center;
  }

footer{
clear:both;
height:160px;
padding: 20px 0px 0px 0px;
text-align:center;
font-size:0.85em;
background-image:url(../images/footer.png);
background-repeat:no-repeat;
}

/*-----------------------------------------------------------------------------
 *  THUMBNAIL SCALING
 *  As window size gets smaller, reduce the maximum thumbnail width.
 *  By doing so we can maintain the photopile effect for all screen resolutions.
 *  It is highly likely that you'll want to customize these values based on
 *  your personal preferences and the size of your thumbnails.
 *----------------------------------------------------------------------------*/

@media (max-width: 320px)                         { ul.photopile li a { max-width:  85px; }}
@media (min-width: 321px) and (max-width: 568px)  { ul.photopile li a { max-width: 100px; }}
@media (min-width: 569px) and (max-width: 768px)  { ul.photopile li a { max-width: 115px; }}
@media (min-width: 769px) and (max-width: 1024px) { ul.photopile li a { max-width: 125px; }}
@media (min-width: 1025px)                        { ul.photopile li a { max-width: 150px; }}

/*-----------------------------------------------------------------------------
 *  Minimum height of the photopile's container div.
 *  This is a placeholder for the gallery while it loads which reduces
 *  shuffling around of elements before the gallery has rendered.
 *----------------------------------------------------------------------------*/

div#photopile-wrapper {
  width: 960px;
  min-height: 150px;
  text-align: center;
  margin:0px;
  padding-top: 30px;
background-image: url(../images/paper.jpg);
}

/*-----------------------------------------------------------------------------
 *  Make sure path to navigation sprite is correct
 *----------------------------------------------------------------------------*/

div#photopile-nav-next,
div#photopile-nav-next:hover,
div#photopile-nav-prev,
div#photopile-nav-prev:hover {
background-image: url('../images/nav-sprites.png');
}

/*----- end customization -----*/

/* Prevent FOUC */
.js ul.photopile { 
    display: none;
}

/* Thumbnails */
ul.photopile {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.photopile li {
    display: inline-block;
    position: relative;
    margin: 2px;
    padding: 0;
    -webkit-backface-visibility: hidden;
}
ul.photopile li a {
    display: block;
    padding: 2px;
    outline: none;
    text-decoration: none;
    border: 1px solid #6F6F6F;
    box-shadow: 0 0 5px #3D3D3D;
}
ul.photopile li.photopile-active-thumbnail:hover,
ul.photopile li.photopile-active-thumbnail a:hover { 
    cursor: default;
}
ul.photopile li a img {
    display: block;
    margin: 0;
    padding: 0;
    border: 1px solid #6F6F6F;
    width: 100%;
    height: auto;
    box-sizing:border-box;
}

/* Photo container */
div#photopile-active-image-container 
{
    border: 1px solid #6F6F6F;
    box-shadow: 0 20px 40px black;
    box-sizing:border-box;
}

div#photopile-active-image-container img {
    margin: 0 auto;
    height: auto;
}

div#photopile-active-image-info {
    position: relative;
    width: 100%;
    background: rgba(0,0,0,0.3);
}

div#photopile-active-image-info p {
    color: white;
    font-size: 12px;
    margin: 0;
    padding: 3px 8px;
}

/* Navigator */
div#photopile-nav-next,
div#photopile-nav-prev {
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 30px;
    height: 40px;
    margin-top: -20px;
    cursor: pointer;
}

div#photopile-nav-next {
    right: 0;
    margin-right: -35px;
    background-position: -50px 0;
}

div#photopile-nav-next:hover {
    background-position: -50px -50px;
}

div#photopile-nav-prev {
    left: 0;
    right: 0;
    margin-left: -35px;
    background-position: 0 0;
}
div#photopile-nav-prev:hover {
    background-position: 0 -50px;
}

/* =Hovergallery Code
----------------------------------------------------------------------*/

.hovergallery img{
-webkit-transform:scale(0.8); /* =Webkit: Scale down image to 0.8x original size*/
-moz-transform:scale(0.8); /* =Mozilla scale version*/
-o-transform:scale(0.8); /* =Opera scale version*/
-webkit-transition-duration: 0.5s; /* =Webkit: Animation duration*/
-moz-transition-duration: 0.5s; /* =Mozilla duration version*/
-o-transition-duration: 0.5s; /* =Opera duration version*/
/* =opacity: 0.7;   <---initial opacity of images*/
margin: 10px 10px; /* =margin between images*/
}

.hovergallery img:hover{
-webkit-transform:scale(1.2); /*Webkit: Scale up image to 1.2x original size*/
-moz-transform:scale(1.2); /*Mozilla scale version*/
-o-transform:scale(1.2); /*Opera scale version*/
box-shadow:0px 0px 20px gray; /*CSS3 shadow: 30px blurred shadow all around image*/
-webkit-box-shadow:0px 0px 20px gray; /*Safari shadow version*/
-moz-box-shadow:0px 0px 20px gray; /*Mozilla shadow version*/
opacity: 1;
}


/* =Hovergallery Code Ends Here
----------------------------------------------------------------------*/