section {
	padding: 50px 0;
}

fieldset {
	padding: 50px 0;
}

h2 {
	font-size: 22px;
	text-align: center;
}

div#overlay.wait {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 500px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.2)!important;
	opacity: 0.5;
	z-index: 8;
	cursor: wait!important;
}

.devis {
	width: 900px;
	max-width: 100%;
	margin: auto;
}

.devis .titre {
	color: #f26c4f;
	font-size: 40px;
	text-align: center;
	font-weight: 300;
	font-style: italic;
	padding: 0 20px;
	box-sizing: border-box;
}

.devis .titre strong {
	font-style: normal;
	font-weight: 700;
}

.devis .texte {
	max-width: 664px;
	margin: 12px auto 0;
	font-size: 20px;
	color: #252525;
	letter-spacing: -1px;
	line-height: 25px;
	font-style: italic;
	text-align: center;
	padding: 0 20px;
	box-sizing: border-box;
}

.devis .formulaire {
	margin: 60px auto 0;
	max-width: 1000px;
	background-color: #6bc9bb;
	box-sizing: border-box;
	padding: 50px 100px;
}

.devis .formulaire .error {
	background-color: #fff;
	padding: 10px;
	text-align: center;
	margin-bottom: 20px;
	color: #c82333;
}

.devis .formulaire .success {
	background-color: #fff;
	padding: 10px;
	text-align: center;
	color: #1a7d14;
}

.devis .t-bloc {
	font-size: 29px;
	font-weight: 700;
	color: #fff;
}

.devis .bloc .input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 14px;
	border: 0 none;
	height: 36px;
	padding: 0 14px;
	font-size: 20px;
	font-style: italic;
	color: #013b60;
	font-family: "Karla", sans-serif;
}

.devis .bloc .input--textarea {
	height: auto;
	padding: 5px 14px;
	resize: none;
}

.devis .bloc .input::placeholder {
	opacity: 1;
	color: #898989;
}

.devis .sep {
	margin: 36px 0;
	height: 4px;
	background-color: #f8f5f1;
}

.devis .ligne {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 14px;
}

.devis .ligne label {
	display: block;
	text-align: center;
	width: 200px;
	background-color: #013b60;
	height: 36px;
	line-height: 36px;
	white-space: nowrap;
	color: #f8f5f1;
	font-family: "Karla", sans-serif;
	font-style: italic;
	font-size: 20px;
}

.devis .field-wrapper select {
	width: 600px;
	cursor: pointer;
	box-sizing: border-box;
	/* border: 0 none; */
	height: 36px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0 52px 0 14px;
	/* font-size: 20px; */
	/* font-style: italic; */
	font-family: "Karla", sans-serif;
}

div#materiau-infos-container > div {
	margin: 10px auto;
	background-color: rgba(235,228,218,0.39);
	padding: 25px 15px 15px;
}

div#materiau-infos-container p {
	color: #a44310;
	line-height: 1.5rem;
}

.devis .field-wrapper select[disabled='disabled'] {
	background-color: #d4d4d4;
	cursor: no-drop;
}

div#overlay.wait .devis .field-wrapper select {
	cursor: wait;
	background-color: rgba(0,0,0,0.8)!important;
}

div#overlay.wait input {
	cursor: wait;
}

.devis .visuel-chant.active {
	margin-top: 14px;
}

.devis .visuel-chant img {
	max-width: 50px;
	margin: 0 auto;
	display: block;
}

.devis .sous-titre-bloc {
	margin-top: 14px;
	background-color: #013b60;
	color: #f8f5f1;
	font-family: "Karla", sans-serif;
	font-style: italic;
	font-size: 20px;
	text-align: center;
	padding: 8px 10px;
}

.devis .plans {
	margin-top: 10px;
	width: 100%;
}

.devis .plans thead th {
	color: #a44310;
	padding: 10px;
}

.devis table#plans.plans thead th.longueur,
.devis table#plans.plans thead th.profondeur {
	padding: 10px 20px 10px 0;
}

.devis table#plans.plans thead th.longueur span.text,
.devis table#plans.plans thead th.profondeur span.text{
	display: block;
	width: 140px;
	text-align: center;
}

.devis .plans thead th:not(:last-of-type(2)) {
	padding: 10px 30px 10px 10px;
}

.devis .plans tbody td {
	padding: 10px;
	text-align: left;
	vertical-align: baseline;
}

.devis .plans tbody td.prix,
.devis .plans tbody td.chant_prix_ml_wrapper,
.devis .plans tbody td.chant_prix_wrapper {
	text-align: center;
}

.devis .plans#plans tbody tr:nth-of-type(4n+1),
.devis .plans#plans tbody tr:nth-of-type(4n+2) {
	border-left:2px solid #a44310;
}

.devis .plans#plans tbody tr:nth-of-type(4n+3),
.devis .plans#plans tbody tr:nth-of-type(4n+4) {
	border-left: 2px solid #e46420;
}

.devis .plans#credences tbody tr:nth-of-type(odd) {
	border-left:2px solid #a44310;
}

.devis .plans#credences tbody tr:nth-of-type(even) {
	border-left: 2px solid #e46420;
}

.devis .plans tbody tr:nth-of-type(4n+1) td,
.devis .plans tbody tr:nth-of-type(4n+2) td {
	color: #a44310;
}

.devis .plans#plans tbody tr:nth-of-type(4n+3) td ,
.devis .plans#plans tbody tr:nth-of-type(4n+4) td {
	color: #e46420;
}

.devis .plans#plans tbody tr:nth-of-type(4n+1) .delete {
	background-color: #a44310;
}

.devis .plans#plans tbody tr:nth-of-type(4n+3) .delete {
	background-color: #e46420;
}

.devis .plans#plans tbody tr td.numero span.text {
	color: #fff;
	display: block;
	height: 100%;
	width: 100%;
	text-align: center;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 7px 5px;
}

.devis .plans#plans tbody tr:nth-of-type(4n+1) td.numero span.text {
	background-color: #a44310;
}

.devis .plans#plans tbody tr:nth-of-type(4n+3) td.numero span.text {
	background-color: #e46420;
}

.devis .plans tbody tr:nth-of-type(4n+1) select ,
.devis .plans tbody tr:nth-of-type(4n+2) select {
	border: 1px solid #a44310;
}

.devis .plans#plans tbody tr:nth-of-type(4n+3) select ,
.devis .plans#plans tbody tr:nth-of-type(4n+4) select {
	border: 1px solid #e46420;
}


.devis .plans tbody tr:nth-of-type(4n+1) input ,
.devis .plans tbody tr:nth-of-type(4n+2) input {
	border: 1px solid #a44310;
}

.devis .plans#plans tbody tr:nth-of-type(4n+3) input ,
.devis .plans#plans tbody tr:nth-of-type(4n+4) input {
	border: 1px solid #e46420;
}

.devis .plans#credences tbody tr td {
	color: #a44310;
}

.devis table#credences.plans tbody td.longueur span.text:first-child,
.devis table#credences.plans tbody td.profondeur span.text:first-child,
.devis table#credences.plans tbody td.epaisseur span.text:first-child {
	font-weight: bold;
}

.devis .plans select {
	height: 36px;
	text-align: center;
	padding: 0 5px;
	font-size: 18px;
	color: #013b60;
	border: 1px solid #e46420;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.devis .plans#plans select {
	width: 100%;
}

.devis .plans#credences select {
	width: 80px;
}

.devis .plans#credences tbody tr td.numero span.text {
	color: #fff;
	display: block;
	height: 100%;
	width: 100%;
	text-align: center;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 7px 5px;
}

.devis .plans#credences tbody tr:nth-of-type(odd) td.numero span.text {
	background-color: #a44310;
}

.devis .plans#credences tbody tr:nth-of-type(even) td.numero span.text {
	background-color: #e46420;
}

.devis .plans#credences tbody tr:nth-of-type(odd) .delete {
	background-color: #a44310;
}

.devis .plans#credences tbody tr:nth-of-type(even) .delete {
	background-color: #e46420;
}

span.text.price,
span.text.calc-result {
	display: none;
}

tr.chant td:first-child {
	white-space: nowrap;
	text-align: center;
}


tr.chant td:nth-child(2) {
	position: relative;
}

.devis .plans span.dashicons.dashicons-calculator {
	position: absolute;
	left: 0;
	height: 36px;
	font-size: 28px;
	padding: 4px;
	width: fit-content;
}

.devis .plans span.dashicons.dashicons-calculator:before {
	height: 100%;
	color: #fff;
}

.devis .plans tbody tr:nth-of-type(4n+1) span.dashicons.dashicons-calculator ,
.devis .plans tbody tr:nth-of-type(4n+2) span.dashicons.dashicons-calculator {
	background-color: #a44310;
}

.devis .plans tbody tr:nth-of-type(4n+3) span.dashicons.dashicons-calculator ,
.devis .plans tbody tr:nth-of-type(4n+4) span.dashicons.dashicons-calculator {
	background-color: #e46420;
}

.devis .showPrice .prix,
.devis .showPrice .prix_chant,
.devis .showPrice #total_ht,
.devis .showPrice #tva,
.devis .showPrice #total_ttc {
	opacity: 1;
}

table#plans td.longueur,
table#plans td.profondeur,
table#plans td.calc,
table#plans td.mml {
	padding: 10px 20px 10px 0;
}

.devis .plans tbody .plan:nth-child(4n + 3) {
	background-color: rgba(235,228,218,0.39);
}

.devis .plans tbody .chant:nth-child(4n) {
	background-color: rgba(235,228,218,0.39);
}

.devis .plans input {
	height: 36px;
	border: 1px solid #A4421B;
	box-sizing: border-box;
	text-align: center;
	padding: 0 5px;
	font-size: 18px;
	color: #013b60;
}


.devis .plans input.plan_input {
	width: 140px;
}

.devis .plans input.chant_input {
	width: 140px;
}

.devis .plans input.chant_calc {
	width: 140px;
	padding-left: 40px;
}


.devis .plans input.credence_input {
	width: 80px;
}

tr.plan td.numero {
	vertical-align: middle;
}


.devis .plans tbody td.delete_wrapper {
	vertical-align: middle;
}


.devis .plans .delete {
	display: block;
	width: 24px;
	height: 24px;
	color: #fff;
	border-radius: 50%;
	line-height: 24px;
	font-size: 14px;
	cursor: pointer;
	text-align: center;
}

.devis .plans tr.credence:not(:last-of-type) span.delete {
	display: none;
}

.devis .plans tr.plan:not(:nth-last-child(2)) span.delete {
	display: none;
}

.devis .add-plan {
	text-align: center;
	margin-top: 10px;
	padding-bottom: 20px;
}

.devis .add-credence button,
.devis .add-plan button {
	color: #fff;
	cursor: pointer;
	border: 0 none;
	font-size: 16px;
	background-color: #e46420;
	border-radius: 20px;
	display: inline-block;
	padding: 10px 15px;
}

.devis .credences {
	margin-top: 10px;
	width: 100%;
}

.devis .credences thead th {
	color: #fff;
	padding: 10px;
}

.devis .credences tbody td {
	padding: 10px;
	text-align: center;
	color: #fff;
	vertical-align: middle;
}

.devis .credences input {
	width: 54px;
	height: 36px;
	border: 0 none;
	box-sizing: border-box;
	text-align: center;
	padding: 0 5px;
	font-size: 18px;
	color: #013b60;
}

.devis .credences select {
	width: 54px;
	height: 36px;
	text-align: center;
	padding: 0 5px;
	font-size: 18px;
	color: #013b60;
	border: 0 none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.devis .credences .delete {
	display: block;
	background-color: #013b60;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	line-height: 24px;
	font-size: 14px;
	cursor: pointer;
}

.devis .add-credence {
	text-align: center;
	margin-top: 10px;
	padding-bottom: 20px;
}

.devis .add-credence button {
	color: #fff;
	cursor: pointer;
	border: 0 none;
	font-size: 16px;
	background-color: #e46420;
	border-radius: 20px;
	display: inline-block;
	padding: 10px 15px;
}

.devis .actions {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.devis .actions button {
	display: block;
	background-color: #013b60;
	color: #fff;
	padding: 10px;
	margin: 5px;
	border: 0 none;
	font-size: 16px;
	cursor: pointer;
}

.devis .faconnages,
.devis .options {
	margin-top: 10px;
	width: 100%;
}

.devis .faconnages tr,
.devis .options tr {
	background-color: rgba(235,228,218,0.39);
}

fieldset#produit div.field-wrapper{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 10px auto;
	width: 700px;
	align-items: center;
}

fieldset#produit div.field-wrapper label {
	color: #a44310;
	font-weight: bold;
}


.devis .faconnages tr.hide {
	display: none;
}

.devis .faconnages th,
.devis .options th {
	padding: 10px;
	color: #a44310;
	vertical-align: middle;
}

.devis .faconnages th:first-child,
.devis .options th:first-child {
	text-align: left;
}

.devis .faconnages td,
.devis .options td {
	padding: 10px;
	text-align: center;
	color: #a44310;
	vertical-align: middle;
	line-height: 24px;
}

.devis .options .loader::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	background: url("/assets/images/loader.svg") no-repeat scroll 0 0 transparent;
	background-size: 30px;
	margin: 0 auto;
}

.devis .options td.visuel img {
	width: 50px;
	height: 50px;
	display: block;
}

.devis .options td:first-child {
	text-align: left;
}

.devis .options td input {
	width: 54px;
	height: 36px;
	border: 0 none;
	box-sizing: border-box;
	text-align: center;
	padding: 0 5px;
	font-size: 18px;
	color: #013b60;
}

.devis .options td .cp {
	width: 200px;
	vertical-align: middle;
	display: inline-block;
	text-transform: uppercase;
}

.devis .options td .cp.error {
	-moz-box-shadow: 0px 0px 2px 1px #cb0000;
	-webkit-box-shadow: 0px 0px 2px 1px #cb0000;
	-o-box-shadow: 0px 0px 2px 1px #cb0000;
	box-shadow: 0px 0px 2px 1px #cb0000;
	margin-bottom: 0;
}

.devis .options td .sub-cp {
	background-color: #013b60;
	color: #fff;
	margin-left: 5px;
	height: 36px;
	border: 0 none;
	vertical-align: middle;
	display: inline-block;
	cursor: pointer;
	font-family: "Karla", sans-serif;
	font-size: 16px;
	padding: 0 10px;
}

.devis .total tr {
	background-color: rgba(235,228,218,0.39);
}

tr.faconnage.hidden {
	display: none;
}

tr.faconnage.hidden_cuve {
	display: none;
}

.devis .options tbody tr:last-child {
	border-bottom: 0 none;
}

.devis .options tbody td.loading {
	height: 40px;
	background: url("/assets/images/loader.svg") no-repeat scroll center center transparent;
	background-size: 30px;
}

.devis .total {
	margin-top: 10px;
	width: 100%;
}

.devis .total td {
	padding: 10px;
	text-align: center;
	color: #a44310;
	vertical-align: middle;
}

.devis .total td:last-of-type {
	min-width: 100px;
}

.devis .total td:first-child {
	text-align: left;
}

.devis .total input {
	margin: 0 5px 0 0;
}

.devis .total .ligne-2 {
	display: flex;
	align-items: center;
	margin: 8px;
}

.devis .total .ligne-2 input {}

.devis .total .ligne-2 label {}

div.ligne-tva {
	display: flex;
	flex-direction: row;
	justify-content: left;
}

td.choix-tva {
	width: 67px;
}

td#libelle-tva {
	width: 67px;
}

form.incomplete fieldset#surfaces,
form.incomplete fieldset#credences,
form.incomplete fieldset.options,
form.incomplete fieldset#codepro,
form.incomplete fieldset#recap,
form.incomplete input#submit {
	display: none;
}

table#table_code_promo td.nombre p {
	font-weight: bold;
	font-size: 18px;
}

.devis .options td input.cp.auto_cp {
	display: none;
}

div#noproduct-error-container p {
	text-align: center;
	color: #a44310;
	font-weight: bold;
	font-size: 16px;
}

.devis .options td .livraison-distance {
	height: 36px;
	border: 0 none;
	width: 200px;
	padding: 0 10px;
	font-size: 16px;
	color: #013b60;
	text-align: center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.devis .options td.no-data {
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	color: #f83f3f;
}

.devis .options td.empty-data {
	text-align: center;
	font-size: 16px;
	color: #ffffff;
}

.devis .verification-wrapper {
	margin-top: 30px;
	text-align: center;
	color: #f00;
	text-transform: uppercase;
	font-weight: 700;
	display: none;
}

.devis .formulaire--code-pro .info {
	width: 100%;
	max-width: max-content;
	margin: 15px auto 0 auto;
	color: red;
}

.onlyPrint {
	display: none;
}

input#submit {
	color: #fff;
	cursor: pointer;
	border: 0 none;
	font-size: 16px;
	background-color: #e46420;
	border-radius: 20px;
	display: block;
	margin: 20px auto;
	padding: 10px 15px;
}


@media all and (max-width: 850px){
	table#credences td.longueur, table#credences td.profondeur, table#credences td.calc, table#credences td.mml {
		
	}
}

@media all and (min-width: 719px){
	span.text_mobile {
		display: none;
	}
}


@media all and (max-width: 720px){
	
	table#plans thead {
		display: none;
	}
	
	section#devis.devis .field-wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	section#devis.devis .field-wrapper select {
		max-width: 100%;
		width: auto;
	}
	
	tr.plan,
	tr.plan,
	tr.chant {
		display: flex;
		flex-direction: column;
		align-items: center;
		border-bottom: 1px solid rgba(235,228,218,0.39);
	}
	
	span.text_mobile {
		width: 100%;
		padding: 5px;
		
	}

	 table#plans td {
		text-align: center;
		width: fit-content;
		display: flex;
		flex-direction: column;
		padding: 10px;
	}
	
	section#devis table#plans td.prix,
	section#devis table#plans td.chant_prix_ml_wrapper,
	section#devis table#plans td.chant_prix_wrapper {
		flex-direction: row;
		justify-content: center;
	}
	
	section#devis table#plans td.prix,
	section#devis table#plans td.chant_prix_wrapper {
		font-weight: bold;
		font-size: 22px;
	}
	
	section#devis  table#plans td.longueur, section#devis  table#plans td.profondeur, section#devis  table#plans td.calc, table#plans td.mml {
		padding: 10px;
	}
	
	section#devis.devis .plans input.plan_input, .devis .plans#plans select {
		width: auto;
	}
	
	section#devis.devis fieldset#produit div.field-wrapper {
		width: auto;
	}
	
	section#devis table#plans td.prix {
		margin-bottom: 50px;
	}
}


@media all and (max-width: 620px){
	
	tr.credence {
		display: flex;
		flex-direction: column;
		align-items: center;
		border-bottom: 1px solid rgba(235,228,218,0.39);
	}
	
	section#credences table#plans td.prix {
		font-weight: bold;
		font-size: 16px;
	}
	
	 table#credences td {
		text-align: center;
		width: fit-content;
		display: flex;
		flex-direction: column;
		padding: 10px;
	}
	
	table#credences thead {
		display: none;
	}
	
	section#devis table#credences td.prix {
		flex-direction: row;
		justify-content: center;
		font-weight: bold;
		font-size: 22px;
		margin-bottom: 50px;
	}
	
}



@media all and (max-width: 500px){
	thead {
		display: none;
	}
	
	tr {
		display: flex;
		flex-direction: column;
		align-items: center;
		border-bottom: 1px solid rgba(235,228,218,0.39);
	}

	.devis .total tr:last-of-type td:first-of-type {
		font-size: 22px;
		font-weight: bold;
	}
	
	.devis .total tr:last-of-type td:last-of-type {
		font-size: 36px;
		font-weight: bold;
	}
}