@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?5s2yl6');
    src: url('../fonts/icomoon.eot?5s2yl6#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?5s2yl6') format('truetype'), url('../fonts/icomoon.woff?5s2yl6') format('woff'), url('../fonts/icomoon.svg?5s2yl6#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 初始化ul li a标签 */

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

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

a:hover {
    text-decoration: none;
}


/* 胶囊导航改变样式 */

.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    color: #fff;
    background-color: #24abf2;
}

.tool-nav ul li {
    margin-bottom: 2px;
    background-color: #f9f9f9;
    border-radius: 5%;
}

.nav-container img {
    width: 100%;
    border-radius: 2%;
}

.nav-container>span {
    margin: 30px 0;
}


/* 工具明细分类样式*/

.nav-container span {
    font-size: 2.0rem;
    color: #24abf2;
}

.ditail-nav h3,
.ditail-nav p {
    text-align: left;
    font-size: 14px;
    color: #333;
}

.ditail-nav h3 {
    font-size: 18px;
    margin: 8px 0 0 0;
}

.ditail-nav p {
    margin-bottom: 30px;
}


/* 设置工具明细中鼠标滑动效果 */

.ditail-nav img:hover {
    position: relative;
    top: -1px;
    box-shadow: 0 10px 10px #ddd;
    transition: 0.3s;
}

.text-center li {
    position: relative;
    top: 0;
    left: 0;
}

.text-center li i {
    display: none;
    font-family: 'icomoon';
    position: absolute;
    top: 30%;
    left: 47%;
    font-size: 4rem;
    font-style: normal;
    color: #f7f7f7;
    transform: translateY(-50%);
    transform: translateX(-50%);
    transform: rotate(-45deg);
}

.col-xs-3 {
    font-family: 'icomoon';
    font-size: 4rem;
    font-style: normal;
}

.photography li i::before {
    content: '\e911';
}

.avation li i::before {
    content: '\e99a';
}

.space li i::before {
    content: '\e98a';
}

.web li i::before {
    content: '\e967';
}

.games li i::before {
    content: '\e993';
}

.col-xs-3 ::before {
    content: '\e932';
}

.text-center li .rotate {
    /* 首先，图标的实现是:before伪元素控制的
    :before伪元素默认是行内元素（即display: inline）
    行内元素旋转无效，所以需要给.rotate:before伪元素加上display: inline-block，使其变为行内块元素。 */
    display: inline-block;
    transform: translate(0, 0) rotate(0) scale(1.5);
    transition: all 0.5s;
}

.glyphicon {
    font-family: 'icomoon';
    font-size: 30px;
}

.glyphicon::before {
    content: '\e932';
}