html, body {width:100%; padding:0; margin:0;}
body {background-color: #365a58;color: #474747;font:13px/20px Arial, Helvetica, sans-serif;}
img {vertical-align:top;}

/*------------------------------------------------------------------*/
a{color: #474747;text-decoration: none;}

a.button, input.button {cursor: pointer;color: #fff;line-height: 14px;font-family: 'BebasNeueRegular';	font-size: 20px;	font-weight: normal;	background: #383838;border:3px solid #2C2C2C; -webkit-border-radius: 4px;-moz-border-radius: 4px;-khtml-border-radius: 4px;border-radius: 4px;}
a.button {	display: inline-block;	text-decoration: none;	padding: 8px 12px 6px 12px;}
input.button {	margin: 0;	border: 0;	height: 24px; padding: 5px 12px 5px 12px;}

.clear{ clear: both;}

header #logo {position:absolute; top:40px; right: 11%;}

/*-------------Featured*/
.featured{ width:960px; margin: 0px auto 20px auto;}
.featured .col-1-3{ display:inline-block;width:30%; float:left; text-align:center; margin:0px; border:10px solid #2C2C2C;}
.featured .col-1-3.center{margin:0px 17px;}

/*-------------content */
#content {width:960px; margin:0 auto; background-color:#FFF; border:1px solid #D0D0D0;}

#main-content{width:600px;float: left; display: inline; padding:20px;}
#main-content article{ font-size:14px; margin:10px 0px 50px 0px; display:inline-block;}
#main-content article h2{font-family: 'BebasNeueRegular'; font-size:25px; line-height:25px; font-weight:normal;}
#main-content article img{padding:5px; border:1px solid #999; display:inline-block; margin:10px 0;}
#main-content article p{margin-bottom:10px;}
#main-content article .info{background-color:#EFEFEF; padding:15px; border:1px solid #D0D0D0; line-height:32px;}
#main-content article .info{background-color:#EFEFEF; padding:15px; border:1px solid #D0D0D0; line-height:32px;}
#main-content article .more{float:right;}

#sidebar{width:280px;float: left; display: inline; padding:20px;}
#sidebar section{margin-bottom:20px;}
#sidebar .heading{ padding:10px 5px 5px 5px; border:5px double #2C2C2C; background-color:#383838;}
#sidebar .heading h2{font-family: 'BebasNeueRegular';font-size:25px; font-weight:normal; display:inline; padding:0 10px; color:#ffffff; }
#sidebar .content{padding:15px}
#sidebar .content ul{ font-size:14px; list-style-type:circle; margin-left:20px;}
#sidebar .content ul li{border-bottom: 1px solid #E1E1E1; padding:5px;}
#sidebar .content .post {margin-bottom: 20px; text-align:center;}
#sidebar .content .post h4{ font-size:14px; font-weight:normal;}
#sidebar .content .post img{ padding:5px; border:1px solid #D0D0D0; display:inline-block;}
#sidebar .content .post p{color:#A3A3A3; font-style:italic;}

/*------------footer */ 
.wrap-footer{width:960px; margin: 0px auto; padding:10px 0px; color:#ffffff; text-align:center; }
footer {background-color:#383838; border-top:10px solid #2C2C2C; border-bottom:10px solid #2C2C2C; margin-top:20px;}
footer a{color:#ffffff; text-decoration:underline;}

/* ----------------------------------------------------------------------- */
.bubble {
    position: fixed;
    width: 40px;
    height: 40px;
    background-color: #fff;
    opacity: .6;
    border-radius: 100%;
    animation: flying 3s ease-in-out infinite;
    z-index: -1;
}

.bubble:nth-child(3n+1) {
    left: calc(90px * var(--i));
    width: calc(3px * var(--i));
    height: calc(3px * var(--i));
    animation-duration: calc(0.3s * var(--i));
}

.bubble:nth-child(3n+2) {
    left: calc(50px * var(--i));
    width: calc(4px * var(--i));
    height: calc(4px * var(--i));
    animation-duration: calc(0.5s * var(--i));
}

.bubble:nth-child(3n+3) {
    left: calc(20px * var(--i));
    width: calc(2px * var(--i));
    height: calc(2px * var(--i));
    animation-duration: calc(0.4s * var(--i));
}

@keyframes flying {
    0% {
        /* 移除可视范围 */
        bottom: -50px;
        transform: translateX(0px);
    }
    25% {
        transform: translateX(20px);
    }
    50% {
        transform: translateX(100px);
    }
    75% {
        transform: translateX(130px);
    }
    100% {
        bottom: 900px;
        transform: translateX(-10px);
    }
}
/* 顶端背景------------------------------------------------------------- */

.banner{
    position: relative;
    width: 100vw;
    height: 155px;
    overflow: hidden;
    background-color: #383838;
}

.image{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*分享-----------------------------------------------------------------------*/
.cen {
    width: 7%;
    height: 20%;
    justify-content: center;
    align-items: center;
    bottom: 1%;
    margin: auto 10% 50px auto;
}

/* 小圆环 */

.circle {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle .share {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    /* 用阴影实现3个px的边框 伪边框，不是真的边框 */
    box-shadow: 0 0 0 3px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* 大圆环 */


.circle ul {
    position: absolute;
    list-style: none;
    left: -50px;
    top: -50px;
    right: -50px;
    bottom: -50px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #000;
    box-shadow: 0 0 0 2px #fff;
    z-index: 1;
    overflow: hidden;
    /* 默认为旋转180度并且缩小为0 */
    transform: rotate(180deg) scale(0);
    transition: 0.3s ease-in-out;
}

/* 交叉线 */

.circle ul::after,
.circle ul::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 110%;
    height: 2px;
    background-color: #000;
}

.circle ul::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.circle ul::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* 4个分享图标 */

.circle li {
    position: absolute;
    display: block;
    /* 这个地方需要定义一个高度宽度，又不然后面图标的变大缩小无法实现
    原因未知？ */
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.circle li:nth-child(1) {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.circle li:nth-child(2) {
    top: 18px;
    left: 54%;
    transform: translateX(-50%);
}

.circle li:nth-child(3) {
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.circle li:nth-child(4) {
    bottom: 8px;
    left: 54%;
    transform: translateX(-50%);
}


/* 鼠标移入效果 */

.circle:hover ul{
    /* 鼠标移入时显示 */
    transform: rotate(0deg) scale(1.5);
    margin:0;
}

.circle li:hover img{
    position: absolute;
    transform: scale(1.5);
}
/* ------------------------------------------------------- */

