﻿.clearfix::after,
.clearfix::before {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}
.g-content {
    background-color: #fbfbfd;
    width: 100%;
    padding: 20px;
}
.g-item {
    position: relative;
    float: left;
    cursor: pointer;
}
.g-item:hover .g-checkbox-child {
	display: block;
}
.g-item:hover .g-icon-more {
	transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}
.g-checkbox-label {
    width: 178px;
    height: 20px;
    margin: 0 25px 15px 0;
    font-size: 0;
    display: block;
    cursor: pointer;
}
.g-checkbox-label:after {
	content: "";
	height: 100%;
	width: 0px;
	display: inline-block;
	vertical-align: middle;
}
.g-icon-more,
.g-checkbox-text,
.g-checkbox-icon {
    display: inline-block;
    vertical-align: middle;
}
.g-icon-more {
    width: 20px;
    height: 20px;
    transition: all 1s;
    background: url(../images/icon-sjx.png) no-repeat center;
}
.g-checkbox-label .checkbox {
    display: none;
}
.g-checkbox-text {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}
.g-checkbox-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url(../images/checkbox-bg.png) no-repeat center;
}
.g-checkbox-label.checked .g-checkbox-icon {
    background-image: url(../images/checkbox-cheacked.png);
}
.g-checkbox-child {
    position: absolute;
    width: 358px;
    padding: 30px 20px 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0px 0px 5px #ccc;
    top: 20;
    display: none;
}
.g-checkbox-child.right {
	right: 0;
}
.g-checkbox-child-warp {
    margin-right: -15px;
}
.g-checkbox-child .g-checkbox-label {
    width: 120px;
    margin: 0 15px 15px 0;
    float: left;
}
.g-checkbox-child .g-checkbox-text {
    max-width: 100px;
}
