.text-start, .text-left {text-align: left;}
.text-end, .text-right {text-align: right;}
.text-center {text-align: center;}

.d-center-block {display: block;margin-left: auto;margin-right: auto;}

.px-0, .ps-0 {padding-left: 0 !important;}
.px-0, .pe-0 {padding-right: 0 !important;}
.px-1, .ps-1 {padding-left: .25rem !important;}
.px-1, .pe-1 {padding-right: .25rem !important;}
.px-2, .ps-2 {padding-left: .5rem !important;}
.px-2, .pe-2 {padding-right: .5rem !important;}
.px-3, .ps-3 {padding-left: 1rem !important;}
.px-3, .pe-3 {padding-right: 1rem !important;}
.px-4, .ps-4 {padding-left: 1.5rem !important;}
.px-4, .pe-4 {padding-right: 1.5rem !important;}
.px-5, .ps-5 {padding-left: 3rem !important;}
.px-5, .pe-5 {padding-right: 3rem !important;}
.py-0, .pt-0 {padding-top: 0 !important;}
.py-0, .pb-0 {padding-bottom: 0 !important;}
.py-1, .pt-1 {padding-top: .25rem !important;}
.py-1, .pb-1 {padding-bottom: .25rem !important;}
.py-2, .pt-2 {padding-top: .5rem !important;}
.py-2, .pb-2 {padding-bottom: .5rem !important;}
.py-3, .pt-3 {padding-top: 1rem !important;}
.py-3, .pb-3 {padding-bottom: 1rem !important;}
.py-4, .pt-4 {padding-top: 1.5rem !important;}
.py-4, .pb-4 {padding-bottom: 1.5rem !important;}
.py-5, .pt-5 {padding-top: 3rem !important;}
.py-5, .pb-5 {padding-bottom: 3rem !important;}

.mx-0, .ms-0 {margin-left: 0 !important;}
.mx-0, .me-0 {margin-right: 0 !important;}
.mx-1, .ms-1 {margin-left: .25rem !important;}
.mx-1, .me-1 {margin-right: .25rem !important;}
.mx-2, .ms-2 {margin-left: .5rem !important;}
.mx-2, .me-2 {margin-right: .5rem !important;}
.mx-3, .ms-3 {margin-left: 1rem !important;}
.mx-3, .me-3 {margin-right: 1rem !important;}
.mx-4, .ms-4 {margin-left: 1.5rem !important;}
.mx-4, .me-4 {margin-right: 1.5rem !important;}
.mx-5, .ms-5 {margin-left: 3rem !important;}
.mx-5, .me-5 {margin-right: 3rem !important;}
.my-0, .mt-0 {margin-top: 0 !important;}
.my-0, .mb-0 {margin-bottom: 0 !important;}
.my-1, .mt-1 {margin-top: .25rem !important;}
.my-1, .mb-1 {margin-bottom: .25rem !important;}
.my-2, .mt-2 {margin-top: .5rem !important;}
.my-2, .mb-2 {margin-bottom: .5rem !important;}
.my-3, .mt-3 {margin-top: 1rem !important;}
.my-3, .mb-3 {margin-bottom: 1rem !important;}
.my-4, .mt-4 {margin-top: 1.5rem !important;}
.my-4, .mb-4 {margin-bottom: 1.5rem !important;}
.my-5, .mt-5 {margin-top: 3rem !important;}
.my-5, .mb-5 {margin-bottom: 3rem !important;}

radius-0 {border-radius: 0 !important;}
radius-1 {border-radius: .25rem !important;}
radius-2 {border-radius: .5rem !important;}
radius-3 {border-radius: .1rem !important;}
radius-4 {border-radius: 1.5rem !important;}
radius-5 {border-radius: 3rem !important;}

.import-block {
	position: relative;
	border: 1px solid #eee;
	padding-top: 15px;
	padding-bottom: 15px;
    margin-bottom: 15px;
}

.import-block > *:not(.row) {
	display: block;
    max-width: 100%;
    width: 100%;
	margin-bottom: 15px;
}

.import-block > .del {
	position: absolute;
	top: 0;
	right: 0;
    font-size: 50px;
    width: 50px;
    height: 50px;
    line-height: 38px;
    padding: 0;
    text-align: center;
    /* background-color: #fff; */
    background-color: rgba(255,255,255,0);
    border: 1px solid #eee;
    z-index: 2;
}

.import-block .import-material,
.import-block .import-thikness {
	padding: 5px 0px 5px 15px;
}

.import-block .import-qty,
.import-block .import-price {
	padding: 5px 15px 5px 15px;
}

.import-block .import-price {
    background-color: #e9e9e9;
}

.custom-select {
}

#addBlock .fa-trash {
	display: none;
}

#addBlock .material-icons {
	/* display: none; */
}

.import-qty,
.import-price {
	display: block;
    width: 100%;
    text-align: center;
}

#addBlock input {
	box-shadow: none;
}

#addBlock input[type=number]::-webkit-inner-spin-button,
#addBlock input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    -moz-appearance: inner-spin-button;
    -o-appearance: inner-spin-button;
    appearance: inner-spin-button;
}

.del.text-danger {cursor: pointer;}

.block-upload-file {
	position: relative;
}

.block-upload-file .info-upload {
	/* position: absolute; */
	position: relative;
    /* z-index: 2; */
    width: 100%;
    /* height: 280px; */
    /* height: 160px; */
    height: auto;
    display: block;
    /* left: 0; */
    /* top: 0; */
    top: 50%;
    /* transform: translateY(40%); */
    transform: translateY(-55%);
}

.block-upload-file .info-upload .material-symbols-outlined {
    /* font-size: 200px; */
    font-size: 80px;
    width: 100%;
    /* height: 200px; */
    height: 100px;
    display: block;
    left: 50%;
    top: 50%;
}

.block-upload-file #config-product-block {
	border: 1px solid #e7e7e7;
}

.block-upload-file #inputFileDxf {
	opacity: 0;
	cursor: pointer;
    width: 100%;
    /* min-height: 520px; */
    /* min-height: 50px; */
    /* height: calc(100% - 3px); */
    /* position: relative; */
    z-index: 3;
	
    position: absolute;
    height: 100%;
    inset: 0;

}

#block_send {
    height: 100%;
}

.block-upload-file {
    height: 100%;
}

.block-upload-file #config-product-block {
    height: 100%;
}

#formdxf {
    /* height: calc(100% - 45px); */
    position: absolute;
    inset: 0;
    z-index: 1;

}

.block-upload-file .send-file {
    font-size: 16px;
    line-height: 30px;
	display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.block-upload-file .info-upload {
	padding: 15px 15px;
	text-align: center;
}

.block-upload-file .info-upload h4 {
	margin: 0px;
}

.import-block .alert_import_block {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.import-block .alert_import_block .alert {
    margin-bottom: 0px;
}

.import-block {
    padding: 0px 15px 0px 15px;
    margin-bottom: 0px;
}

.import-block .import-img-block {
	border-bottom: 1px solid #eee;
}

.text-danger.btn-primary:before {
    background: #ff4c4c;
}

.text-danger.btn-primary:hover .material-symbols-outlined {
	color: #fff;
    transition: all 400ms ease-in-out 0s;
}

.alert_import_block .alert {
	float: none;
}

.import-block > .row {
	margin-bottom: 1rem;
    position: relative;
}

.import-block > .row.import-price-block {
	margin-bottom: 0rem;
}

.import-block > .import-price-block {
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    padding: 15px 15px;
    color: #000;
}

.waiting-edited {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background-color: rgba(0 0 0 /15%);
    z-index: 2;
    margin-bottom: 0px;
}

.waiting-edited > div {
    position: absolute;
    top: 40%;
    left: 35%;
	width: 120px;
	height: 120px;
	border: 5px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #00a8e1;
	animation: spin 1s ease-in-out infinite;
	-webkit-animation: spin 1s ease-in-out infinite;
}

#formdxf .waiting-edited > div {
    /* position: absolute; */
    top: 30%;
    left: 44%;
	width: 70px;
	height: 70px;
	/* border: 5px solid rgba(255,255,255,.3); */
    /* border-radius: 50%; */
    /* border-top-color: #00a8e1; */
	/* animation: spin 1s ease-in-out infinite; */
	/* -webkit-animation: spin 1s ease-in-out infinite; */
}

#block_send {
	margin-bottom: 30px;
}
#addBlock .import-col {
	margin-top: 15px;
	margin-bottom: 15px;
}
#block_add_to_cart {
	margin-bottom: 15px;
}

.col-offset-md-3 {
	margin-left: 25%;
}

.block-add-to-cart {
	padding-top: 30px;
	border-top: 1px solid #eee;
}

#config-product-block {
	transition: all 0.2s ease-in-out;
	border-color: #e5e5e5;
}

#config-product-block:hover {
	transition: all 0.2s ease-in-out;
	border-color: #00a8e1;
}

#addBlock {
	display: flex;
	place-content: stretch flex-start;
	flex-flow: row wrap;
    /* margin-top: 30px; */
}

#module-generateurdedxf-import #content > .row {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

#module-generateurdedxf-import #content > .row > .col-md-6 {
    float: none;
	flex: 0 0 auto;
	width: 50%;
}

#module-generateurdedxf-import #content > .row > .col-md-12 {
    float: none;
	flex: 0 0 auto;
	width: 100%;
}

@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

@media (max-width: 1199px) {
	.block-upload-file #inputFileDxf {
		height: 440px;
	}
	
	.block-upload-file > .info-upload {
		height: 230px;
	}
}

@media (max-width: 991px) {
	.block-upload-file #inputFileDxf {
		height: 487px;
	}
}

@media (max-width: 767px) {
	.block-upload-file > .info-upload .material-symbols-outlined {
		font-size: 130px;
		height: 130px;
	}
	
	.block-upload-file #inputFileDxf {
		height: 200px;
	}
	
	.block-upload-file > .info-upload {
		height: 230px;
		transform: translateY(0);
	}

	#module-generateurdedxf-import #content > .row > .col-md-5,
	#module-generateurdedxf-import #content > .row > .col-md-6,
	#module-generateurdedxf-import #content > .row > .col-md-7,
	#module-generateurdedxf-import #content > .row > .col-md-8,
	#module-generateurdedxf-import #content > .row > .col-md-9,
	#module-generateurdedxf-import #content > .row > .col-md-12 {
		float: none;
		flex: 0 0 auto;
		width: 100%;
	}
}
