@charset "utf-8";

.free {
    padding-bottom: 65px;
    background-color: #F7F7F7;
    overflow: hidden;
}

.free-product {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.free-product .item {
    box-sizing: border-box;
    width: 226px;
    border: 1px solid #E5E5E5;
    margin: 0 17px 24px 0;
    background-color: #fff;
}

.free-product .item:hover {
    box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0.16);
}

.free-product .item:nth-child(5n) {
    margin-right: 0;
}

.free-product .img-block {
    width: 224px;
    height: 180px;
    position: relative;
}

.free-product .item>.img-block:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .3);
    transition: opacity .3s ease;
    opacity: 0;
}

.free-product .img-block img {
    max-width: 100%;
    max-height: 100%;
}

.free-product .item-title {
    color: #333;
    font-size: 16px;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.free-product .item-btn {
    position: absolute;
    width: 100px;
    height: 36px;
    line-height: 36px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

.free-product .item:hover .item-btn {
    opacity: 1;
    transform: none;
}

.free-product-pop {
    display: none;
    padding: 0;
}

.free-product-pop .item-block {
    position: relative;
    width: 680px;
    height: 240px;
    box-sizing: border-box;
    padding: 30px;
    background-color: #fff;
    align-items: stretch;
}

.free-product-pop .item-pop-info {
    width: 0;
    flex: 1;
    margin-left: 20px;
    overflow-y: auto;
}

.free-product-pop .item-pop-title {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.free-product-pop .item-pop-detail {
    color: #666;
    font-size: 14px;
    line-height: 1.7em;
    margin-top: 15px;
}

.free-product-pop .item-pop-close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: 0;
    z-index: 1;
    cursor: pointer;
    background-color: #EE534F;
}

.free-product-pop .item-pop-close:before,
.free-product-pop .item-pop-close:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 24px;
    background-color: #fff;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotateZ(45deg);
}

.free-product-pop .item-pop-close:after {
    width: 24px;
    height: 2px;
}

.free-company {
    margin-top: 18px;
    box-sizing: border-box;
    padding: 30px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    justify-content: flex-start;
    align-items: flex-start;
}

.free-company .img-block {
    width: 238px;
    height: 238px;
}

.free-company .img-block img {
    max-height: 100%;
}

.free-company .item-info {
    width: 0;
    flex: 1;
    margin: 0 12px 0 27px;
}

.free-company .item-p {
    padding-left: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    position: relative;
}

.free-company .item-p:before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #20B09F;
    left: 0;
    top: calc(50% - 3px);
}

.free-company .item-label {
    color: #333;
}

.free-company .item-bottom {
    padding-top: 12px;
    border-top: 1px dashed #eee;
}

.free-company .item-detail {
    padding-left: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.8em;
}

.free-list {
    border: 1px solid #E5E5E5;
    background-color: #fff;
    padding: 30px;
    margin-top: 30px;
}

.free-list-table thead th {
    height: 50px;
    text-align: center;
    border-right: 1px solid #fff;
    background-color: #20B09F;
    color: #fff;
    font-size: 16px;
}

.free-list-table tbody tr {
    background-color: #fff;
}

.free-list-table tbody tr:nth-child(2n) {
    background-color: #F9F9F9;
}

.free-list-table tbody td {
    font-size: 14px;
    color: #666;
    text-align: center;
    border: 1px solid #eee;
    padding: 20px 0;
}

.free-list-table .free-list-other {
    font-size: 12px;
    padding: 12px 34px;
    text-align: left;
    line-height: 1.6em;
}

.free-list .pagination {
    text-align: right;
    margin-top: 13px;
}

.free-list .pagination a {
    text-align: center;
}

/* 申请表单 */

.free-form-top {
    padding: 20px 30px 30px;
    background-color: #fff;
    border: 1px solid #E5E5E5;
    margin-top: 30px;
}

.free-form-top .items-block {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.free-form-top .item {
    width: 540px;
    height: 40px;
    margin: 22px 28px 0 0;
    justify-content: flex-start;
}

.free-form-top .item-label {
    width: 76px;
    font-size: 14px;
    color: #333;
}

.free-form-top .item-input {
    width: 0;
    flex: 1;
    box-sizing: border-box;
    height: 100%;
    line-height: 40px;
    border: 1px solid #e5e5e5;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    outline: none;
}

.free-form-top .item-input:focus {
    border-color: #20B09F;
}

.free-form-top .item-long {
    width: 1108px;
}

.free-form-top .item-btns {
    margin-top: 34px;
    justify-content: space-between;
    width: 1108px;
}

.free-form-top .item-upload-label {
    width: 140px;
    height: 140px;
    position: relative;
    background: no-repeat center #e5e5e5;
}

.free-form-top .item-upload-logo {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.free-form-top .item-upload-logo:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.free-form-top .item-upload-logo .item-title {margin-top: 10px;}

.free-form-top .item-upload-logo .item-note {
    font-size: 12px;
    margin-top: 5px;
}

.free-form-top .item-contact {
    width: 140px;
    height: 36px;
    line-height: 34px;
    color: #FF8B47;
    border-color: #FF8B47;
}

.free-form-top .item-contact:hover {
    background-color: #fffaf7;
}

.free-form-top .item-1yuan {
    width: 140px;
    height: 36px;
    line-height: 36px;
    margin-left: 22px;
    background-color: #FF8B47;
}

.free-form-top .item-1yuan:hover {
    background-color: #d36f34;
}

.free-form-products {
    padding: 0 0 50px;
    background-color: #fff;
    border: 1px solid #E5E5E5;
    margin-top: 22px;
}

.free-form-products .items-title {
    text-align: left;
    padding: 0 30px;
    height: 60px;
    line-height: 60px;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.free-form-products .items-block {
    margin-top: 4px;
    padding: 0 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.free-form-products .item {
    width: 200px;
    height: 161px;
    position: relative;
    margin: 30px 30px 0 0;
}

.free-form-products .item:nth-child(5n) {
    margin-right: 0;
}

.free-form-products .item-controls {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.free-form-products .item-modify {
    width: 100%;
    height: 40px;
    line-height: 40px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    transition: all .3s ease;
    transform: translateY(100%);
    opacity: 0;
}

.free-form-products .item:hover .item-modify {
    transform: none;
    opacity: 1;
}

.free-form-products .item-modify a {
    flex: 1;
}

.free-form-products .item-modify .item-title {
    text-align: center;
    color: #fff;
}

.free-form-products .item-modify .modify:hover .item-title {
    color: #20B09F;
}

.free-form-products .item-modify .delete:hover .item-title {
    color: #EE534F;
}

.free-form-products .item-upload {
    height: 100%;
}

.free-form-products .item-upload .upload {
    height: 100%;
    background-color: #E5E5E5;
}

.free-form-products .item-upload:hover .upload {
    background-color: #ddd;
}

.free-form-products .item-upload .img-block {}

.free-form-products .item-upload .item-title {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.free-form-save {
    margin-top: 30px;
    text-align: center;
}

.free-form-save-btn {
    width: 180px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

/**/

.free-form-upload {
    position: relative;
    width: 620px;
    height: 380px;
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
    display: none;
    padding: 0;
}

.free-form-upload .items-title {
    padding: 0 30px;
    border-bottom: 1px solid #eee;
    height: 60px;
    line-height: 60px;
    text-align: left;
    color: #666;
}

.free-form-upload .items-block {
    padding: 30px;
    justify-content: flex-start;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
}

.free-form-upload .item-img {
    width: 200px;
    height: 160px;
    background: no-repeat center;
}

.free-form-upload .item-img .upload-img {
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.free-form-upload .item-img .upload-img:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.free-form-upload .item-img.hasCropped .upload-img {
    background-color: rgba(0, 0, 0, 0.4);
}

.free-form-upload .item-img.hasCropped .upload-img:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.free-form-upload .item-title {
    color: #666;
    margin-top: 15px;
}

.free-form-upload .item-note {
    color: #999;
    font-size: 12px;
    margin-top: 10px;
}

.free-form-upload .item-img.hasCropped .item-title, .free-form-upload .item-img.hasCropped .item-note {
    color: #fff;
}

.free-form-upload .item-info {
    margin-left: 30px;
    width: 0;
    flex: 1;
}

.free-form-upload .item:not(:first-child) {
    margin-top: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}

.free-form-upload .item-label {
    width: 65px;
    line-height: 40px;
}

.free-form-upload .item-input {
    box-sizing: border-box;
    background: no-repeat;
    border: 1px solid #E5E5E5;
    flex: 1;
    width: 0;
    height: 40px;
    line-height: 38px;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    outline: none;
}

.free-form-upload .item-input:focus {
    border-color: #20B09F;
}

.free-form-upload .item-textarea {
    padding: 10px 15px;
    height: 100px;
    resize: none;
    line-height: 1.5em;
}

.free-form-upload .item-btns {
    margin-top: 30px;
}

.free-form-upload .item-btn-submit {
    width: 100px;
    height: 36px;
    line-height: 36px;
}

.free-form-upload .item-btn-close {
    width: 100px;
    height: 36px;
    line-height: 34px;
    margin-left: 30px;
}

.free-form-upload .free-form-upload-close {
    position: absolute;
    width: 60px;
    height: 60px;
    right: 0;
    top: 0;
    z-index: 1;
}

.free-form-upload .free-form-upload-close:before, .free-form-upload .free-form-upload-close:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 22px;
    background-color: #9A9A9A;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotateZ(45deg);
}

.free-form-upload .free-form-upload-close:after {
    width: 22px;
    height: 1px;
}

/**/

.settings-photo-fixed {
    display: none;
    padding: 0;
}

.settings-photo-fixed:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.settings-photo-confirm {
    width: 160px;
    height: 45px;
    line-height: 45px;
    margin-top: 106px;
    cursor: pointer;
    font-size: 18px;
}

.settings-photo-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

.settings-photo-close:before {
    content: "x";
    font-size: 24px;
    font-family: Calibri;
}

.settings-photo-block {
    box-sizing: border-box;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 750px;
    height: 350px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
    padding: 30px;
}

.settings-photo-block .item-l {
    width: 400px;
    text-align: center;
}

.settings-photo-block .item-l .img-block {
    height: 224px;
}

.settings-photo-block .item-l .img-block img {
    max-height: 100%;
}

.settings-photo-block .item-l input[type="file"] {
    display: none;
}

.settings-photo-block .settings-photo-select {
    width: 100px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
}

.setting-photo-btns {
    margin-top: 20px;
}

.setting-photo-zoom {
    width: 45px;
    height: 28px;
    line-height: 28px;
    margin-left: 10px;
}

.settings-photo-block .item-r {
    text-align: center;
    flex: 1;
}

.settings-photo-block .settings-photo-preview {
    width: 100px;
    height: 100px;
    background-color: #eee;
    overflow: hidden;
}

.settings-photo-block .item-p {
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.settings-form-photo-block {
    display: inline-block;
    margin-top: 40px;
}

.settings-form-photo-block .img-block {
    width: 102px;
    height: 102px;
    border-radius: 50%;
    background-color: #eee;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.settings-form-photo-block .img-block:after {
    content: "点击修改";
    position: absolute;
    height: 24px;
    width: 100%;
    left: 0;
    top: calc(50% - 12px);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
    line-height: 24px;
}

.fancybox-slide--html .fancybox-close-small {
    display: none;
}

/**/

.free-note {
	font-size: 12px;
	line-height: 1.5em;
	color: #666;
	margin-top: 20px;
}