/* css3 photo gallery_shtor styles */
	
	.gallery_shtor {
    width:100%;
    margin:0 auto;
}
.gallery_shtor a {
    display:inline-block;
    height:150px;
    position:relative;
    width:200px;
}
.gallery_shtor a img {
    border:5px solid #fff;
    cursor:pointer;
    display:block;
    height:100%;
    left:0px;
    position:absolute;
    top:0px;
    width:100%;
    z-index:1;

    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;

    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;

    -webkit-transition-property:width, height, top, bottom, left, right, z-index, border;
    -webkit-transition-duration:0.5s;
    -moz-transition-property:width, height, top, bottom, left, right, z-index, border;
    -moz-transition-duration:0.5s;
    -o-transition-property:width, height, top, bottom, left, right, z-index, border;
    -o-transition-duration:0.5s;
    transition-property:width, height, top, bottom, left, right, z-index, border;
    transition-duration:0.5s;
}
.gallery_shtor a:focus img {
    border:15px solid #fff;
    cursor:default;
    height:250%;
    position:absolute;
    width:250%;
    z-index:25;

    box-shadow:1px 1px 5px #888;
    -moz-box-shadow:1px 1px 5px #888;
    -webkit-box-shadow:1px 1px 5px #888;
    -webkit-transition-property:width, height, top, bottom, left, right, z-index, border;
    -webkit-transition-duration:0.5s;
    -moz-transition-property:width, height, top, bottom, left, right, z-index, border;
    -moz-transition-duration:0.5s;
    -o-transition-property:width, height, top, bottom, left, right, z-index, border;
    -o-transition-duration:0.5s;
    transition-property:width, height, top, bottom, left, right, z-index, border;
    transition-duration:0.5s;
}

/* custom focus rules */
.gallery_shtor a:focus:nth-child img {
left:150px;
}
.gallery_shtor a:focus:nth-child img {
    top:140px;
}

.gallery_shtor a:focus:nth-child(2n) img {
    left:-180px;
}
.gallery_shtor a:focus:nth-child(2n) img {
    top:-10px;
}

/* extra close layer */
.gallery_shtor .close {
    background:transparent;
    cursor:pointer;
    display:none;
    height:200%;
    left:10px;
    position:absolute;
    top:170px;
    width:100%;
    z-index:30;
}
.gallery_shtor a:focus ~ .close {
    display:block;
}




