@import url('reset.css');

body {
    color: #fff;
    font-family: Microsoft YaHei;
    font-size: 14px;
}

a {
    color: #fff;
    text-decoration: none;
}

.iw_wrapper {
    width: 100%;
    margin: 30px auto 100px auto;
    position: relative;
}

ul.iw_thumbs li {
    float: left;
    margin: 5px;
}

    ul.iw_thumbs li div {
        position: absolute;
        min-width:800px;
        top: 5px;
        padding: 0px 10px;
        display: none;
        color: #fff;
        z-index: 100;
    }

        ul.iw_thumbs li div h2 {
            font-size: 18px;
            text-transform: uppercase;
            text-shadow: 0px 0px 1px #fff;
        }

            ul.iw_thumbs li div a {
                color: #fff;
            }

        ul.iw_thumbs li div p {
            line-height:18px;
            margin-top:10px;
        }

    ul.iw_thumbs li:nth-child(1) {
        margin-left: 50px;
    }

    ul.iw_thumbs li:nth-child(even) {
        margin-top: 30px;
    }

    ul.iw_thumbs li:nth-child(3n) {
        margin-left: 20px;
    }

    ul.iw_thumbs li img {
        border: 7px solid #fff;
        cursor: pointer;
        position: relative;
        -moz-box-shadow: 1px 1px 1px #aaa;
        -webkit-box-shadow: 1px 1px 1px #aaa;
        box-shadow: 1px 1px 1px #aaa;
    }

        ul.iw_thumbs li img:hover {
            -moz-box-shadow: 1px 1px 7px #777;
            -webkit-box-shadow: 1px 1px 7px #777;
            box-shadow: 1px 1px 7px #777;
        }

    ul.iw_thumbs li:nth-child(even) img {
        height: 20px;
    }

    ul.iw_thumbs li:nth-child(odd) img {
        height: 40px;
    }

    ul.iw_thumbs li:nth-child(5n) img {
        height: 70px;
    }

    ul.iw_thumbs li:nth-child(6n) img {
        height: 110px;
    }

    ul.iw_thumbs li:nth-child(7n) img {
        height: 20px;
    }

.iw_ribbon {
    position: fixed;
    height: 126px; /*first 126 then 0 to close and 100% to open (while top goes to 0) */
    width: 0px; /*first 0 then animate to 100%*/
    left: 0px; /*or right 0*/
    top: 0px; /*First, top of thumb, then animate to 0*/
    background: #000;
    opacity: 0.8;
    z-index: 10;
    overflow: hidden;
    display: none;
}

.iw_close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f0f0f0 url(../images/close.gif) no-repeat center center;
    width: 18px;
    height: 18px;
    display: none;
    cursor: pointer;
}

.iw_zoom {
    color: white;
    font-size: 8px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    padding: 14px;
    display: none;
    float: right;
    margin-right: 30px;
}

.iw_ribbon img {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 7px solid #fff;
}

.iw_loading {
    background: #fff url(../images/loader.gif) no-repeat center center;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10000;
    margin: -14px 0px 0px -14px;
    opacity: 0.8;
}
/* Footer Style */
.footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    font-size: 13px;
    background: #000;
    opacity: 0.9;
    height: 20px;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    z-index: 4;
}

    .footer a {
        padding: 5px 10px;
        letter-spacing: 1px;
        text-shadow: 1px 1px 1px #000;
        color: #ddd;
        float: right;
    }

        .footer a:hover {
            color: #fff;
        }

        .footer a span {
            font-weight: bold;
        }

        .footer a.left {
            float: left;
        }
