@charset "UTF-8";


/* styles for photo gallery */
body {
   margin: 0;
   padding: 0;
   background: #EEE;
   /* font: 10px/13px 'Lucida Sans',sans-serif; */
}
.wrap {
   overflow: hidden;
   margin: 10px;
}
.box {
   float: left;
   position: relative;
   width: 20%;
   padding-bottom: 15%;
}
.boxInner {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner img {
   width: 100%;
}
.boxInner .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
   margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
   /* Smartphone view: 1 tile */
   .box {
      width: 100%;
      padding-bottom: 75%;
   }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
   /* Tablet view: 2 tiles */
   .box {
      width: 50%;
      padding-bottom: 37.5%;
   }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
   /* Small desktop / ipad view: 3 tiles */
   .box {
      width: 33.3%;
      padding-bottom: 25%;
   }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
   /* Medium desktop: 4 tiles */
   .box {
      width: 25%;
      padding-bottom: 19%;
   }
}

div.page { width: 100%; background-color: #fff; border:none;}
.mainContent { margin: 0;}
.mainContent img { border: none;}
header { overflow: hidden;}
header h2 { padding: 1em 1em 0 0; color:#fff;}
header p { text-align: left; margin: 0 0 5px 5px;}
header a { font-weight: bold; color:#fff; margin-left: 10px; padding:4px 10px;}
header a:hover { background-color: #63c; color: #fff;}
header #cornerObj a:hover {background-color: #000;}

#galleryPageNav a { display: inline; margin: 0 60px;}
.galleryPage img { border: 1px solid black;  max-width: 100%; height: auto;}
@media screen and (max-width: 500px){
   header h2 { padding-top: 0; font-size: 1em;}
   #galleryPageNav a { margin: 0 10px;}
}