/*
This CSS is really just for this demo page
But take a look at the comments to see how I set padding
and borders on the images
*/
html body{
    margin:0;
    padding:0;
    background-color:rgb(230, 230, 230);
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
}
a{
    color:#09F;
    text-decoration:none;
}
.header{
    padding:0;
    background-color: #272D35;
}
.header h1{
    font-size: 14px;
    color: rgb(164, 177, 190);
    display:inline-block;
    font-weight:bold;
    margin:0;
    padding:10px;
}
.header h1 a{
    color:#41505A;
}
.header h1 a:hover{
    color:#09F;
}
.header nav{
    background-color:rgb(65, 68, 75);
    padding:40px;
    border-bottom:1px solid #CCC;
    margin-bottom:0px;
}
.header nav a{
    display: inline-block;
    padding: 4px 6px;
    margin-right:10px;
    background-color:#09F;
    color:#FFF;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow: 0 3px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 3px 1px rgba(0,0,0,0.1);
    box-shadow: 0 3px 1px rgba(0,0,0,0.1);
    text-shadow:0 2px 1px rgba(0,0,20,0.1);
}
.Example_Details{
    padding:20px;
    color:#272D35;
    font-size:14px;
    background-color: #FFFFFF;
    margin-top:0;
}
h1.instance-header{
    font-size: 14px;
    padding:20px;
    margin-bottom:10px;
    margin-top: 30px;
}
a.return{
    font-size:12px;
    display:inline-block;
    padding:12px 10px 10px 10px;
    float:right;
    text-transform: uppercase;
    color:#41505A;
}
a.return:hover{
    color:#09F;
}
.footnote{
    color:#999;
    padding:10px;
    font-size:12px;
}
.Collage{

    /*This is where you set the padding you want between the images*/
    padding:10px;

}
.Collage img{
    margin:0;
    padding:0;
    display:inline-block;
    vertical-align:bottom;
    opacity:1;

     border:2px solid #00866a;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#307868+34,ffffff+100&1+0,0+100 */
background: -moz-linear-gradient(top,  rgba(48,120,104,1) 0%, rgba(48,120,104,0.66) 34%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(48,120,104,1) 0%,rgba(48,120,104,0.66) 34%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(48,120,104,1) 0%,rgba(48,120,104,0.66) 34%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#307868', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}


/* In this example, this is the main item being resized */
.Image_Wrapper{
    /* to get the fade in effect, set opacity to 0 on the first element within the gallery area */
    opacity:0;
    -moz-box-shadow:0px 2px 4px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow:0px 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow:0px 2px 4px rgba(0, 0, 0, 0.1);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
	position:relative;
}

.Caption{
    font-size:14px;
    font-weight:normal;
    font-family:arial;
}
.Caption_Content{
    /* padding:10px; */
    color:#FFF;
    padding:20px;
}

/*-----------hover sp---------------*/
.hover_sang:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -ms-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}
.hover_sang:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -ms-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}

.Image_Wrapper:hover .hover_sang:before {
    right: 50%;
    left: 50%;
    background: rgba(255,255,255,0.2);
}
.Image_Wrapper:hover .hover_sang:after {
    top: 50%;
    bottom: 50%;
    background: rgba(255,255,255,0.2);
}

/*-----------hover sp---------------*/