/* Behavior for the original presentation hooks. Loaded before site and page custom CSS. */
.waterfall > .waterlist {left:var(--frameleaf-x,0);top:var(--frameleaf-y,0)}
.waterfall {height:var(--frameleaf-height,auto)}
.nivoSlider > img:first-child:where(:not([hidden])), .nivoSlider > a:first-child:where(:not([hidden])) img,
.nivoSlider > .nivo-current:is(img), .nivoSlider > a.nivo-current img {display:block}
.nivoSlider > [hidden], .nivoSlider > [hidden] img {display:none}
#gototop:where(.visible) {display:block}
dialog#lbCenter {position:fixed;inset:0;margin:auto;padding:0;border:6px solid white;max-width:94vw;max-height:94vh}
dialog#lbCenter::backdrop {background:rgba(0,0,0,.8)}
#lbCenter img#lbImage {position:static;display:block;border:0;width:auto;height:auto;max-width:90vw;max-height:88vh}
#lbCenter #lbPrevLink, #lbCenter #lbNextLink {height:100%}
#lbCenter button#lbCloseLink {display:block;position:absolute;right:0;top:0;z-index:2}

:where(.bdsharebuttonbox) > a {display:inline-block;width:24px;height:24px;margin:6px 3px 6px 0;background-position:center;background-repeat:no-repeat;vertical-align:middle;text-align:center;line-height:24px}
:where(.bdsharebuttonbox .bds_qzone) {background-image:url(images/qqzone.png)}
:where(.bdsharebuttonbox .bds_tsina) {background-image:url(images/weibo.png)}
:where(.bdsharebuttonbox .bds_tqq) {background-image:url(images/qq.png)}
:where(.bdsharebuttonbox .bds_renren) {background-image:url(images/renren.png)}
:where(.bdsharebuttonbox .bds_douban) {background-image:url(images/douban.png)}
