/* BASIC CSS */
.clearfix:before, .clearfix:after { content: "."; display: block; height: 0; overflow: hidden; }

.clearfix:after { clear: both; }

.clearfix { zoom: 1; /* IE < 8 */ }

img { max-width: 100%; }

/* GRIDDER CSS */
.gridder 
{ 
  margin: 0 auto; 
  font-size: 0;
  padding: 5px 40px 0; }

.gridder-list 
{ display: inline-block; 
  *display: inline; 
  white-space-collapsing: discard;
  zoom: 1; 
  margin: 1% 2.2% 5.6%;
  cursor: pointer;
  position: relative; 
}
.gridder-list .gridder-thumb 
{ 
    display: block; 
}
.gridder-list .gridder-thumb .overlay 
{ 
    position: absolute;
    color: #555;
    text-align: center;
    font-weight: 700;
    display: block;
    width: 100%;
    padding: 8px 0 0px;
    font-size: 12px;
    }
.gridder-list .gridder-thumb .overlay span { font-weight: 11px; display: block; }
.gridder-list img { width:110px; }
.gridder-list.imactive { margin-bottom: 26px; }
.gridder-list.imactive:after 
{ 
    content: " "; 
    width: 0px; 
    height: 0px; 
    border-style: solid; 
    border-width: 0 12px 12px 12px; 
    border-color: transparent transparent #C5D1D4 transparent; 
    display: block; 
    position: absolute; 
    bottom: 0px; 
    left: 45%; 
    margin-bottom: -50px; 
 }

.gridder-image, .gridder-content { display: none; }

.gridder-show 
{ 
    text-align: center; 
    position: relative; 
    background: #C5D1D4; 
    float: left; 
    padding: 0px; 
    display: none; 
    color: #000; 
    overflow: hidden; 
    font-size: 0; 
    width: auto; 
    margin-bottom: 1%;
    margin-left: -40px; 
    margin-right: -40px; 
    padding: 20px; 
 }
.gridder-show .padding  
{
    padding: 20px;
}
.gridder-show .image { float: left; width: 30%; margin-left: 5%;}
.gridder-show .content { float: right; width: 60%; text-align: left; margin-right: 4%; padding-left: 1%;}
.gridder-show .content img {float: left; margin-right: 20px; margin-bottom:10px; }
.gridder-show .content h2 { font-weight: bold; font-size: 30px; margin: 10px 0 8px 0;}
.gridder-show .content p { font-size: 12px; margin: 0 0 20px 2px; line-height: 20px;}
.gridder-show .content a { cursor: pointer; }
.gridder-show .image { }

.gridder-show:after { content: "."; display: block; height: 0; overflow: hidden; }

.gridder-img:hover { opacity: 0.8; }

.gridder-float { float: left; }

.gridder-close { opacity: 0.6; cursor: pointer; position: absolute; top: 30px; right: 30px; background: url("../image/close.png") no-repeat center center; width: 20px; height: 20px; }

.gridder-close:hover { opacity: 1; }

.gridder-nav { background: #3C3C3C; height: 100px; width: 30px; position: absolute; top: 38%; cursor: pointer; opacity: 0.6; }
.gridder-nav.prev { left: 0px; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; }
.gridder-nav.prev div { background: url("../image/prev.png") center no-repeat; bottom: 0; height: 23px; left: 0; margin: auto; position: absolute; right: 0; top: 0; width: 14px; }
.gridder-nav.next { right: 0px; -webkit-border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; }
.gridder-nav.next div { background: url("../image/next.png") center no-repeat; bottom: 0; height: 23px; left: 0; margin: auto; position: absolute; right: 0; top: 0; width: 14px; }
.gridder-nav:hover { opacity: 1; }

.gridder-prev:hover { opacity: 1; }

/* iPhone [portrait + landscape] */
@media screen and (max-width: 480px) {
.gridder-list img { width:120px; }
.gridder-show .content {width: 100%;}
.gridder-show .content h2
{
    margin-left: 7%;
}
.gridder-show .image
{
    width: 80%;
}
.gridder {
    padding: 5px 46px 0;
    }
    .gridder-list {
    margin: 1% 2.2% 12.6%;
    }
}

@media screen and (max-width: 360px) {
    .gridder {
    padding: 5px 20px 0;
    }
    .gridder-list {
    margin: 1% 2.2% 12.6%;
    }
}