.gif {
    position: relative;
    display: block;
}
.gif-top-ad {
    width: 1100px;
    margin: 30px auto 0;
}
.gif-header {
    width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}
.gif-header-copyright {
    width: 500px;
    float: left;
}
.gif-header-copyright-logo {
    width: 100px;
    float: left;
}
.gif-header-copyright-text {
    width: 400px;
    padding: 12px;
    float: left;
    line-height: 22px;
}
.gif-header-copyright-text span {
    display: block;
    text-align: left;
}
.gif-header-copyright-text span:first-child {
    font-size: 20px;
    font-family: fantasy;
    color: #ffb217;
}
.gif-header-copyright-text span:last-child {
    font-size: 12px;
    color: #555;
}
.gif-header-copyright-logo img {
    width: 100%;
}
.gif-header-search {
    position: relative;
    width: 300px;
    float: right;
}
.gif-header input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: none;
    border-bottom: 1px solid #000;
    font-size: 20px;
}
.gif-header .search-icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 20px;
    height: 20px;
}
.gif-header .search-icon img {
    width: 100%;
}
.gif-content {
    width: 1100px;
    margin: 10px auto;
}
.grid {
    display: block;
    margin: -40px 0 0 -40px;
}
.grid:after {
    content: '';
    display: block;
    clear: both;
}
.grid-sizer,
.grid-item {
    width: 33.33333%;
}
.grid-item {
    float: left;
    display: block;
    padding: 40px 0 0 40px;
    transition: 1s all;
}
.grid-item-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 20px;
    background: #fff;
    box-shadow: 3px 3px 6px #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.grid-item-comment {
    position: absolute;
    top: -20px;
    left: 5px;
    padding: 5px 8px;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    box-shadow: 2px 2px 5px #000;
}
.grid-item-comment::after {
    position: absolute;
    bottom: -13px;
    content: " ";
    height: 0;
    z-index: 10;
    border-bottom: 15px solid;
    border-right: 12px solid rgba(0, 0, 0, 0);
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
}
.grid-item-comment.c1 {
    background: #0e550e;
}
.grid-item-comment.c1::after {
    color: #0e550e;
}
.grid-item-comment.c2 {
    background: #ca0c0c;
}
.grid-item-comment.c2::after {
    color: #ca0c0c;
}
.grid-item-comment.c3 {
    background: #caaf0c;
}
.grid-item-comment.c3::after {
    color: #caaf0c;
}
.grid-item-comment.c4 {
    background: #a00cca;
}
.grid-item-comment.c4::after {
    color: #a00cca;
}
.grid-item-comment.c5 {
    background: #1b69cb;
}
.grid-item-comment.c5::after {
    color: #1b69cb;
}
.grid-item-wrap:hover .grid-item-comment {
    background:#320a90;
}
.grid-item-wrap:hover .grid-item-comment::after {
    color: #320a90;
}
.grid-item-wrap .grid-item-thumbnail {
    width: 100%;
    border-radius: 3px;
}
.grid-item-wrap .grid-item-thumbnail img {
    width: 100%;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.grid-item-title {
    display: block;
    padding: 20px 20px 0;
    color: #000;
    font-size: 22px;
    font-weight: bold;
}
.grid-item-title:hover {
    text-decoration: underline;
}
.grid-item-info {
    padding: 5px 20px 0;
    font-size: 12px;
    color: #555;
}
.grid-item-share {
    display: none;
    padding: 20px;
}
.grid-item-share ul {
    display: none;
}
.grid-item-wrap:hover .grid-item-share ul {
    display: block;
}
.grid-item-share ul li {
    margin-right: 3px;
    float: left;
}
.grid-item-share ul li a {
    display: inline-block;
    width: 30px;
    height: 30px;
}
.grid-item-share ul li a img {
    width: 100%;
}
.gif-paging {
    padding: 10px 0;
    text-align: center;
}
