
html,body,#app{
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
	overflow: hidden;
	// --antd-wave-shadow-color: #341e57;
}
input{
	outline:none
}
ul,li{
	list-style: none;
	padding: 0;
}
.page_content{
    // width: 1440px;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
}
.button_first{
	width: 9.85rem;
    text-align: center;
    // background: #343579;
    height: 4rem;
    line-height: 4rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #000;
    cursor: pointer;
	border-radius: 1.5rem;
	border: 2px solid;
}
.button_second{
    width: 9.85rem;
    text-align: center;
    // background: #343579;
    height: 4rem;
    line-height: 4rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #000;
    cursor: pointer;
	border-radius: 1.5rem;
	border: 2px solid;
}

.system_silder{
  width: 100%;
  .ant-slider{
   margin: 0;
   width: 12rem;

   .ant-slider-rail{
     height: 0.6rem;
     border-radius: 0.3rem;
     background: #F2F0FD;
   }
   .ant-slider-track{
     height: 0.6rem;
     border-radius: 0.3rem;
     background: #343579;
   }
   .ant-slider-handle{
     margin-top: -0.4rem;
     border: solid 0.2rem #343579;
   }
 }
}
.ant-tooltip{
    // top: 74px !important;
    z-index: 2;

    .ant-tooltip-inner{
        background: #343579;
        border-radius: 5px;
        padding: 0.6rem 0.5rem;
    }
}

.select_block{
  .ant-select:not(.ant-select-customize-input) .ant-select-selector{
    background: transparent;
    height: 4rem;
    border: 0.1rem solid rgba(0,0,0,0) !important;
    // border: 0.1rem solid #000 !important;
    border-radius: 0;
    box-shadow: none !important;
	width: 15rem;
	background: #FFFFFF;
	border-radius: 1rem;
	margin: 0 1rem;
  }
  .ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-single .ant-select-selector .ant-select-selection-placeholder{
    line-height: 3.8rem;
    color: #1A1A1A;
    font-size: 1.3rem;
    font-weight: bold;
  }
  .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{
	padding: 0 1rem;
  }
}
//started公共按钮样式
.started_btn{
	padding: .5rem 2rem;
	display: inline-block;
	border-radius: 2rem;
	font-size: 1.2rem;
	color: #fff;
	background-color: #39215b;
	cursor: pointer;
	zoom: .9;
}

//弹窗公共样式

.modal_component{
   
  &.ant-modal{
      top: 0;
  }
  .ant-modal-content{
    overflow: hidden;

    .ant-modal-header{
      padding: 2.4rem 2.6rem;
      background: #F7F7F7;

      .ant-modal-title{
        font-size: 1.8rem;
        line-height: 1.8rem;
        color: #030303;
      }
    }

    .ant-modal-body{
      padding: 0;
    }
  }
}
.ant-modal-body{
	font-size: 1.4rem;
}
//衣服类型下拉菜单
.operate_file_block{
	width: 100%;
	height: 3rem;
	font-size: 1.6rem;
	color: #FFFFFF;
	position: absolute;
	left: 0;
	bottom: 0;

	.select_img_type{
		height: 100%;
		line-height: 3rem;
		text-align: center;
		background: rgba(0,0,0,0.6);
		position: relative;

		.select_category{
			display: flex;
			align-items: center;
			justify-content: center;

			.icon-xiala{
				margin-left: 0.8rem;
			}
		}

		.icon_rotate{
			-moz-transform:rotate(180deg);
			-webkit-transform:rotate(180deg);
			transform: rotate(180deg);
			animation-direction: 0.5s;
		}

		.category_list{
			position: absolute;
			width: 100%;
			cursor: pointer;
			position: absolute;
			// top: 3.1rem;
			margin-top: .2rem;
			left: 0;
			// background: rgba(0,0,0,0.4);
			background-color: rgb(177 177 177);
			border: 1px solid #343579;
			border-radius: 0.8rem;
			// overflow: hidden;
			z-index: 3;
			height: 9rem;
			overflow-x: hidden;
			&.category_list::-webkit-scrollbar{display: none;}

			.category_item{
				text-align: left;
				font-size: 1.4rem;
				padding: 1rem 1.5rem;
				line-height: 1.6rem;
				font-weight: 600;
				color: #595959;

				&.select_category_item{
					background: linear-gradient(-137deg, #eeefdb, #e7dbed);
				}

				&:hover{
					background: linear-gradient(-137deg, #eeefdb, #e7dbed);
				}
			}
		}
	}
}
//提示框样式
.ant-modal-root{
	.ant-modal-wrap{
		.ant-modal-confirm-confirm{
			.ant-modal-content{
				.ant-modal-body{
					.ant-modal-confirm-body-wrapper{
						
					}
				}
			}
		}
	}
}
.ant-message{
	z-index: 1049 !important;
	top: 6rem;
}
.ant-modal-confirm-btns{
	.ant-btn:hover{
		color: #39215b !important;
		border-color: #39215b !important;
	}
	.ant-btn-primary{
		background: #39215b !important;
		border-color: #39215b !important;
	}
	.ant-btn-primary:hover{
		color: #fff !important;
		border-color: #543087 !important;
		background: #543087 !important;
	}
}
//loding样式
.ant-spin-dot-item{
    background-color: #543087;
}
.ant-spin{
	color: #000;
}
.pin_block{
	text-align: center;
	margin-top:.5rem;
	.ant-checkbox-wrapper{
		height: 2.2rem;
		align-items: center;
		span{
			font-size: 1.4rem;
			height: 100%;
			line-height: 2.3rem;
		}
		.ant-checkbox-inner{
			width: 1.6rem;
			height: 1.6rem;
		}
		.ant-checkbox-inner::after{
			width: .571428571rem;
			height: .914285714rem;
		}
	}
}
//collection 弹窗
.collection_modal,.design_detail_modal_component,.designOpenrtion_modal,.library_page{

    .ant-modal-body{
        overflow-y: hidden;
    }
	.design_title_text{
		font-size: 1.8rem;
		font-weight: 900;
		color: rgba(0,0,0,.65);
		align-items: center;
		margin-bottom: 2rem;
		.design_title_text_intro{
			font-size: 1.2rem;
			font-weight: 400;
			color: rgba(0,0,0,.45);
		}
	}
    .ant-upload.ant-upload-select-picture-card{
        background: #FFFFFF;
		width: 6rem;
		height: 6rem;
		border: 0.3rem solid #ededed;
		border-radius: 1rem;
		margin: 0;
        .upload_tip_block{
            .icon-jiahao{
                font-size: 3.2rem;
                color: #B7B7B7;
            }
        }

        .ant-upload-text{
            font-size: 1.6rem;
            color: #B7B7B7;
        }
    }
    .ant-upload-list-picture-card-container{
        display: none !important;
    }
    .ant-upload-picture-card-wrapper{
        width: auto;
        vertical-align: top;
    }
}
//desing 关闭按钮
.designOpenrtion_modal,.design_detail_modal_component{
	.design_closeIcon{
		top: 2rem;
		right: 2rem;
        cursor: pointer;
		width: 4rem;
		height: 4rem;
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		.fi-rr-cross-small::before{
			padding: .2rem;
			border-radius: 5px;
			border: solid 2px rgba(0, 0, 0, 0.25);
			transition: 1s all;
			color: rgba(0, 0, 0, 0.55);
		}
		&.collection_closeIcon:hover .fi-rr-cross-small::before{
			border: solid 2px rgba(0, 0, 0, 0.55);
			color: rgba(0, 0, 0, 1);
		}
	}
}
.design_detail_modal_component,.designOpenrtion_modal{
	.ant-upload-list-picture-card-container{
		display: none !important;
	}
	.ant-upload-picture-card-wrapper{
		width: auto;
		vertical-align: top;
	}
	.subitOkPreviewBtn{
		background-color: #38205b;
		color: #fff;
		cursor: pointer;
		left: 50%;
		position: absolute;
		transform: translateX(-50%);
		padding: .5rem 2rem;
		border-radius: 2rem;
		font-size: 1.2rem;
		display: inline-block;
	}
}

.ant-upload{
	font-size: 1.4rem;
}
i{
	font-size: 1.4rem;
}
//设计input和上传按钮样式
.collection_modal_body,.design_detail_modal_component,.library_page{
	.input_box{
		display: flex;
		align-items: center;
		position: sticky;
		top: 0;
		background: #fff;
		padding-top: 2.5rem;
		padding-bottom: 2rem;
		z-index: 2;
		input{
			font-size: 1.2rem;
			border-radius: .5rem;
			width: 70%;
			border: 1px solid rgba(0,0,0,.15);
			padding-left: 1.5rem;
			border: 0.1rem solid #F1F1F1;
			font-size: 1.2rem;
			font-weight: 400;
			&input:-moz-placeholder{   
				color: rgba(0,0,0,.15);   
			}   
			
			&input:-ms-input-placeholder {   
				color: rgba(0,0,0,.15);   
			}   
			
			&input::-webkit-input-placeholder {   
				color: rgba(0,0,0,.15);   
			} 
		}
		span{
			position: absolute;
			bottom: 0rem;
			font-size: 1.2rem;
			color: red;
			opacity: 0;
			transform: scale(.7);
			transform-origin: left bottom;
		}
		&.active{
			input{
				// color: rgb(255, 0, .7);
				border: 1px solid rgb(255, 0, .7);
				box-shadow: 0px 0px 3px 1px rgba(255, 0, 0, 0.2);
			}
			span{
				opacity: 1;
			}
		}
		.generage_btn{
			margin: 0 auto;
		}

		
	}
	.upload_item{
		display: flex;
		flex-wrap: wrap;
		.upload_file_item {
			margin: 0 2rem 2rem 0;
			display: inline-block;
			// width: 16.5rem;
			// height: 16.5rem;
			width: 10rem;
			height: 10rem;
			border: 1px solid #f5f5f5;
			vertical-align: top;
			position: relative;
			cursor: pointer;

			&.active {
				opacity: 0.5;
				// border: 2px solid;
				border-radius: 1rem;
				transform: scale(0.9);
				.delete_file_block{
					pointer-events:none;
				}
				.operate_file_block{
					pointer-events:none;
				}
				img {
				}
			}
			&.upload_component {
				border: none;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			:deep(.ant-upload-picture-card-wrapper) {
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
			}
			:deep(.ant-upload-select-picture-card) {
				width: 6rem;
				height: 6rem;
				border: 0.3rem solid #ededed;
				border-radius: 1rem;
				margin: 0;
			}
			.upload_file_item_content {
				display: flex;
				align-items: center;
				justify-content: center;
				height: 100%;
				width: 100%;
				position: relative;

				&:hover .delete_file_block {
					display: block;
				}

				.upload_img {
					display: block;
					height: 100%;
					width: auto;
					max-width: 100%;
					object-fit: cover;
				}

				.delete_file_block {
					display: none;
					width: 100%;
					cursor: pointer;
					height: 3rem;
					background: rgba(0, 0, 0, 0.2);
					font-size: 1.6rem;
					color: #ffffff;
					line-height: 3rem;
					text-align: center;
					position: absolute;
					left: 0;
					bottom: 0;
					&.rightTop {
                        width: 3.2rem;
                        height: 3.2rem;
                        background: rgba(0, 0, 0, 0.6);
                        border-radius: 0.4rem;
                        position: absolute;
                        top: 0.9rem;
                        right: 0.9rem;
                        text-align: center;
                        line-height: 3.2rem;
                        left: auto;
                        .icon-shanchu {
                            font-size: 1.6rem;
                            color: #fff;
                        }
                    }
				}
			}

			.upload_img_icon {
				width: 4.6rem;
			}
		}
	}
}

//剪裁弹窗
.cut_pricture_modal{
	.ant-modal-content{
		border-radius: 1rem;
	}
    .ant-modal-body{
        height: 65rem;
		padding: 8rem 5rem !important;
        overflow-y: hidden;
    }
}

.scroll_style{
    &::-webkit-scrollbar-button:single-button {
        // background-color: #ffffff;
        display: block;
        border-style: solid;
        height: 1.3rem;
        width: 1.4rem;
      }
    &::-webkit-scrollbar-button:single-button:vertical:decrement {
        border-width: 0 0.8rem 0.8rem  0.8rem;
        border-color: transparent transparent #555555 transparent;
    }
    
    &::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
        border-color: transparent transparent #777777 transparent;
    }
    &::-webkit-scrollbar-button:single-button:vertical:increment {
        border-width:  0.8rem  0.8rem 0  0.8rem;
        border-color: #555555 transparent transparent transparent;
      }
      
    &::-webkit-scrollbar-button:vertical:single-button:increment:hover {
        border-color: #777777 transparent transparent transparent;
      }
    &::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 1.4rem; /*高宽分别对应横竖滚动条的尺寸*/
    }
    &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        background: #c2c2c2;
        opacity: 0.8;
        border-radius: 0.7rem;
    }
    &::-webkit-scrollbar-track {
        // background: #ffffff;
    }
}

//蒙层样式
.mark_loading{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    left: 0;
    top: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
