body {
    background: #EEE;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

#content {
    width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    background: #FFF;
    /*border: 1px solid #CCC;*/
}

.content.pd {
    padding: 20px;
}
.title-s {
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.content-img {
    width: 100%;
    height: auto;
}

.nav-img {
    max-width: 103px;
    opacity: .7;
}

#gallery_content p {
    margin-left: 6px;
}

#gallery_nav {
    float: right;
    width: 505px;
    text-align: center;
    overflow: hidden;
}

#gallery_nav a {
    display: table-cell;
    border: 1px solid white;
}

#gallery_output {
    float: left;
    width: 650px;
    height: auto;
    overflow: hidden;
}

#gallery_content {
    float: right;
    width: 505px;
    max-height: 245px;
    overflow: hidden;
}

#gallery_output img {
    display: block;
    cursor: pointer;
    /*margin: 0px auto 0 auto;*/
}

#gallery_output p {
    display: block;
    margin: 0px auto 0 auto;
}

.zz {
    /*border: 1px solid rgba(92, 92, 92, 1.00);*/
}
.zz img {
    opacity: 1;
}
.sp {
    font-size: 24px;
    border-bottom: 1px solid #000000;
    padding-bottom: 5px;
}

.ss {
    width: 50%;
    display: inherit;
    padding-top: 10px
}


@media only screen and (max-width:768px) {
    #content {
       width: 96%;
    }
    #gallery_nav {
        width: 100%;
        margin-bottom: 5px;
    }

    #gallery_output {
        width: 100%;
    }

    #gallery_content {
        width: 100%;
    }
    .nav-img {
        width: 100%;
    }
    .content-img {
        width: 100%;
        height: auto;
    }
}

