@charset "utf-8";
/* ///////////////////
header 
/////////////////// */

body {
    background: url(../img/bgbody.png);
    box-sizing: border-box;
}

@media only screen and (min-width:980px) {
    br.sp {
        display: none;
    }
}

header#header {
    /*    background: #fff;*/
    position: relative;
    z-index: 1;
}

header#header:after {
    position: absolute;
    width: 105%;
    height: 330px;
    bottom: -10px;
    right: 0;
    content: "";
    display: block;
    background: #fff;
    transform: skewY(1.25deg);
}

div#headerInner {
    padding: 15px 20px;
    max-width: 1560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media only screen and (min-width:768px) {
    div#headerInner {
        padding: 15px 40px;
    }

}

header#header h2 {
    text-align: center;
    margin-bottom: 0px;
    font-size: 10px;
    color: #999;
    line-height: 1.2em;
}





h1#logo {
    max-width: 280px;
    margin: 0 auto;
    margin-bottom: 15px;
}

div#searchBox {
    margin-bottom: 8px;
    max-width: 400px;
    margin: 0 auto 8px;
}

input#search_txt {
    float: left;
    width: 80%;
    line-height: 1.8em;
    border: none;
    text-indent: 5px;
    background: #fff;
    border: 1px solid #d9b268;


}

input#search_submit {
    background: #000;
    line-height: 1.8em;
    width: 18%;
    background: #000 url(../img/btn_search.png) no-repeat center center;
    text-indent: -9999px;
    border: none;
    float: right;
}

input#search_submit:hover {
    background: #666 url(../img/btn_search.png) no-repeat center center;
}



nav#globalNav {
    text-align: center;
    position: relative;
    z-index: 100;
    margin-bottom: 10px;
}

nav#globalNav ul {
    display: inline;
    margin: 0 auto;
}

nav#globalNav ul li {
    display: inline-block;
    margin: 0 3px;
}

nav#globalNav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 12px;
}

@media only screen and (min-width:980px) {
    nav#globalNav ul li {
        margin: 0 8px;
    }

    nav#globalNav ul li a {
        font-size: 14px;
    }
}

div#projectPop {
    display: none;
}

@media only screen and (min-width:980px) {
    div#projectPop {
        display: block;
        width: 150px;
        position: absolute;
        top: 30px;
        right: 40px;
        z-index: 100;
    }
}

/* category nav */

nav#category {
    margin-bottom: 0px;
    text-align: center;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100px;
    background: #fff;
    left: 0px;
    display: none;
    padding: 60px;
}

nav#category ul {
    margin: 0 auto;
}

nav#category ul li {
    display: inline-block;
    margin: 15px 10px;
    height: 30px;
    width: 30px;
}

nav#category ul li a {
    height: 30px;
    width: 30px;
    display: block;
    background: url(../img/menu.png);
    background-size: 510px 30px;
    overflow: hidden;
    text-decoration: none;
    text-indent: -99999px;
}



nav#category ul li:nth-child(2) a {
    background-position: -30px 0;
}

nav#category ul li:nth-child(3) a {
    background-position: -60px 0;
}

nav#category ul li:nth-child(4) a {
    background-position: -90px 0;
}

nav#category ul li:nth-child(5) a {
    background-position: -120px 0;
}

nav#category ul li:nth-child(6) a {
    background-position: -150px 0;
}

nav#category ul li:nth-child(7) a {
    background-position: -180px 0;
}

nav#category ul li:nth-child(8) a {
    background-position: -210px 0;
}

nav#category ul li:nth-child(9) a {
    background-position: -240px 0;
}

nav#category ul li:nth-child(10) a {
    background-position: -270px 0;
}

nav#category ul li:nth-child(11) a {
    background-position: -300px 0;
}

nav#category ul li:nth-child(12) a {
    background-position: -330px 0;
}

nav#category ul li:nth-child(13) a {
    background-position: -360px 0;
}

nav#category ul li:nth-child(14) a {
    background-position: -390px 0;
}

nav#category ul li:nth-child(15) a {
    background-position: -420px 0;
}

nav#category ul li:nth-child(16) a {
    background-position: -450px 0;
}

nav#category ul li:nth-child(17) a {
    background-position: -480px 0;
}



@media only screen and (min-width:2980px) {

    /* category nav */
    nav#category {
        margin-bottom: 0px;
        text-align: center;
        position: relative;
        display: block;
        padding: 0px;

    }

    nav#category ul {
        margin: 0 auto;
    }

    nav#category ul li {
        display: inline-block;
        margin: 0 6px;
        height: 30px;
        width: 30px;
    }

    nav#category ul li a {
        height: 30px;
        width: 30px;
        display: block;
        background: url(../img/menu.png);
        background-size: 510px 30px;
        overflow: hidden;
        text-decoration: none;
        text-indent: -99999px;
    }



    nav#category ul li:nth-child(2) a {
        background-position: -40px 0;
    }

    nav#category ul li:nth-child(3) a {
        background-position: -80px 0;
    }

    nav#category ul li:nth-child(4) a {
        background-position: -120px 0;
    }

    nav#category ul li:nth-child(5) a {
        background-position: -160px 0;
    }

    nav#category ul li:nth-child(6) a {
        background-position: -200px 0;
    }

    nav#category ul li:nth-child(7) a {
        background-position: -240px 0;
    }

    nav#category ul li:nth-child(8) a {
        background-position: -280px 0;
    }

    nav#category ul li:nth-child(9) a {
        background-position: -320px 0;
    }

    nav#category ul li:nth-child(10) a {
        background-position: -360px 0;
    }

    nav#category ul li:nth-child(11) a {
        background-position: -400px 0;
    }

    nav#category ul li:nth-child(12) a {
        background-position: -440px 0;
    }

    nav#category ul li:nth-child(13) a {
        background-position: -480px 0;
    }

    nav#category ul li:nth-child(14) a {
        background-position: -520px 0;
    }

    nav#category ul li:nth-child(15) a {
        background-position: -560px 0;
    }

    nav#category ul li:nth-child(16) a {
        background-position: -600px 0;
    }

    nav#category ul li:nth-child(17) a {
        background-position: -640px 0;
    }
}

div#catShowBtn {
    position: fixed;
    top: 270px;
    left: -3px;
    width: 35px;
    z-index: 600;
    cursor: pointer;
}

div#catCloseBtn {
    position: fixed;
    top: 270px;
    left: -3px;
    width: 35px;
    z-index: 12000;
    display: none;
    cursor: pointer;
}

@media only screen and (min-width:768px) {
    div#h1SearchWrap {
        margin-bottom: 15px;
    }

    h1#logo {
        max-width: 280px;
        margin: 0 0 15px 0;
        margin-bottom: 15px;
    }

    div#searchBox {
        margin-bottom: 8px;
        max-width: 400px;
        margin: 0 auto 8px;
        margin-left: 320px;
        margin-top: -60px;
    }

    nav#globalNav {
        text-align: left;
        padding: 8px 0 0;
        margin-bottom: 0;

    }

    nav#category {
        margin-bottom: 0px;
        text-align: left;
        position: relative;
        z-index: 1000;
        background: none;
        height: auto;
        left: 0;
        padding: 0px;
        display: block;
    }

    nav#category h1 {
        display: none;
    }

    nav#category p {
        display: none;
    }

    nav#category ul {
        margin: 0;
    }

    nav#category ul li {
        margin-left: 2px;
        margin-right: 2px;
    }

    div#catShowBtn {
        display: none;
    }

    div#catCloseBtn {
        display: none;
    }
}

@media only screen and (min-width:1200px) {
    nav#category ul li {
        margin-left: 12px;
        margin-right: 12px;
    }
}

/*   contents  */

div#content {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

section#main {
    max-width: 1560px;
    margin: 0 auto;
}


/* ad 左右*/

div#flexWrap {}

aside#sideBarL {
    display: none;
    width: 160px;
}

aside#sideBarR {
    display: none;
    width: 160px;
}

@media only screen and (min-width:769px) {
    div#flexWrap {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }

    aside#sideBarL {
        display: none;
        padding-top: 60px;
        width: 160px;
        margin-left: 1%;
        min-width: 160px;
    }

    aside#sideBarR {
        display: block;
        padding-top: 60px;
        width: 160px;
        margin-right: 1%;
        min-width: 160px;
    }
}

@media only screen and (min-width:1560px) {


    aside#sideBarL {
        display: block;

    }


}

ul.entryGallery {

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    max-width: 1560px;
    margin: 0 auto;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;

}

ul.entryGallery li {

    display: block;
    margin-bottom: 25px;
    background: url(../img/bgEntry.png);
    padding-right: 5px;
    padding-bottom: 5px;

}



ul.entryGallery li a img {
    margin-bottom: 0;
    padding-bottom: 0;
}

ul.entryGallery li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    background: #fff;
    display: block;
}

ul.entryGallery li a p {
    background: rgba(100, 0, 0, 1);
    padding: 2px 10px 2px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

h1.entryTitile {
    text-indent: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
}

p.enterylead {
    text-indent: 20px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.8em;
    margin-bottom: -5px;
}

div#pageNavAd {
    max-width: 600px;
    margin: 0 auto;
}

@media only screen and (min-width:600px) {
    h1.entryTitile {
        padding-left: 20px;
        text-indent: 2.5%;
    }

    p.enterylead {
        padding-left: 20px;
        text-indent: 2.5%;
    }

    ul.entryGallery {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }

    ul.entryGallery li {
        display: block;
        margin-bottom: 25px;
        width: 45%;
        min-width: 220px;
        margin-right: 2.5%;
        margin-left: 2.5%;
    }

}



@media only screen and (min-width:980px) {
    h1.entryTitile {
        text-indent: 1.4%;
    }

    p.enterylead {
        text-indent: 1.4%;
    }

    ul.entryGallery {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;

    }

    ul.entryGallery li {
        display: block;
        margin-bottom: 30px;
        width: 30%;
        margin-right: 1.6%;
        margin-left: 1.6%;
    }

}

@media only screen and (min-width:1200px) {
    h1.entryTitile {
        text-indent: 1%;
    }

    p.enterylead {
        text-indent: 1%;
    }

    ul.entryGallery {
        padding-left: 20px;
        padding-right: 20px;
        min-width: calc(100% - 360px -2%);

    }

    ul.entryGallery li {
        display: block;
        margin-bottom: 30px;
        width: 23%;
        margin-right: 1%;
        margin-left: 1%;
    }
}


/* page nav */

nav.pageNav {
    padding-top: 35px;
    margin-bottom: 30px;
    margin-left: 40px;

}

nav.pageNav ul li {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 3px 3px;
    margin-left: auto;
    margin-right: auto;
}

nav.pageNav ul li a {
    display: block;
    line-height: 32px;
    width: 100%;
    height: 100%;
    background: none repeat scroll 0% 0% #000;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85em;
}

nav.pageNav ul li a:hover {
    color: #000;
    background: #FC0;
}

nav.pageNav ul li.active_page a {
    background: none repeat scroll 0% 0% #396;
    color: #FFF;
    text-decoration: none;
    border-radius: 50%;
}

/* page nav @END */

/* footer START */

footer#footer {
    background: #000;
    min-height: 180px;
    padding: 40px 20px;
    position: relative;
}

div#footerInner {
    max-width: 1500px;
    margin: 0px auto;
    position: relative;
    padding: 10px 0;

}



ul#footerNav li {
    display: inline-block;
    margin-bottom: 20px;
}

ul#footerNav li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

ul#footerNav li:after {
    content: " | "
}

a#pagetop {
    position: absolute;
    top: -42px;
    right: 50%;
    margin-right: -61px;
    display: block;
    width: 122px;
    height: 64px;
}

ul#footerLogo {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    margin: 0 auto;
    width: 270px;
    margin-bottom: 20px;
}

ul#footerLogo li:first-child {
    width: 150px;
    margin-right: 25px;
}

ul#footerLogo li {
    width: 90px;
}

footer#footer small {
    line-height: 25px;
    font-size: 12px;
    color: #fff;
    display: block;
    position: absolute;
    bottom: 5px;
    text-align: center;
    width: auto;
}

@media only screen and (min-width:768px) {
    ul#footerLogo {
        position: absolute;
        right: 25px;
        top: 30px;

    }

    ul#footerLogo li:first-child {
        width: 150px;
        margin-right: 25px;
    }

    ul#footerLogo li {
        width: 90px;
    }

    footer#footer small {
        line-height: 25px;
        font-size: 12px;
        color: #fff;

    }
}

/* footer END*/

/* adstamp */

#adstamp {
    width: 160px;
    padding: 15px 0 0px;
    margin: 0 auto 20px auto;
}

#authorReco {
    width: 160px;
    color: #fff;
}

#authorReco h1 {
    font-size: 14px;
    text-align: center;
}

#authorReco p {
    font-size: 13px;
    text-align: justify;
}

#authorReco div#mysite a {
    display: block;
    width: 160px;
    height: 200px;
    background: url(../img/authorreco.png);
    margin-top: 5px;
}

@media only screen and (min-width:768px) {
    #adstamp {
        width: 160px;
        padding: 15px 0 0px;
        margin: 0 auto;
    }

    .single #adstamp {
        width: 160px;
        padding: 15px 0 0px;
        margin: 0 auto 20px 60px;
    }

}

#adstamp h1 {
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

#adstamp li {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.4;
}

#adstamp li:nth-child(1) {
    background: #fff;
    color: #000;
    border-radius: 6px;
    position: relative;
    padding: 8px;
}

#adstamp li:nth-child(1):after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 60px;
    width: 20px;
    height: 22px;
    display: block;
    background: url(../img/adlinebg3.png) no-repeat -2880px 0px;

}

#adstamp li:nth-child(2) a {
    display: block;
    width: 160px;
    height: 160px;
    background: url(../img/adlinebg3.png) no-repeat;
    cursor: pointer;
}

#adstamp li:nth-child(3) {
    padding: 0 10px;
    text-align: center;
    display: none;
}

@media only screen and (min-width:798px) {
    #adstamp li:nth-child(3) {

        display: block;
    }
}

section#links {
    display: none;
}

@media only screen and (min-width:1200px) {
    section#links {
        display: block;
        max-width: 1200px;
        margin: 0 auto;
    }

    ul.linkul {
        margin-bottom: 100px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }

    ul.linkul li {
        width: 25%;
    }

}


ins[style] {
    background-color: transparent;
}
