@charset "utf-8";
/* CSS Document */
#squaremeter {
	color: #7a7a7a;
	font-size: 11px;
}

#squaremeter hr {
	clear:both;
}

#height, #width, #quantitym, #quantity_calculated {
	/* width: 100px;
	margin: 0 auto;*/
	text-align: left;
	/* border: 1px solid #ddd;*/
	background: #fff;
}

#squaremeter>.form-group {
	margin-bottom:unset;
}

.row-item-group {
	/* width:50%; */
	float:left;
	/* padding-right: 15px; */
}

.first-item {
	width:65%;
color: #000;
clear:both;
}

.second-item {
	width:35%;
}

.row-group {
	width:100%;
	float:left;
}

.height_label, .width_label, .quantity_label, .quantity_calculated_label {
	width: 100px;
	margin: 0 auto;
	text-align:left;
font-weight:700;
	font-size: 14px;
	color: #000;
}

.explanation_label {
	width: 100%;
	margin: 0 auto;
    	font-weight: 900;
	text-align:left;
	font-size: 11px;
	color: #7a7a7a;
}

.title_explanation {
	width: 100%;
	margin: 0 auto;
	font-size: 12px;
	color: #7a7a7a;	
}
  
.value-button {
	display: inline-block;
	border: 1px solid #ddd;
	border-radius: 3px;
	line-height: 25px;
	/* margin: 0px;*/
	margin-left:3px;
	width: 20%;
	height: 28px;
	text-align: center;
    	font-weight: bold;
    	font-size: 17px;
	vertical-align: top;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: verdana;
}
  
.value-button:hover {
	cursor: pointer;
}
  
div .decrease {
	/* margin-left: 0px; */
}
  
div .increase {
	/* margin-left: 0px; */
}

input#quantity_wanted_alt, input#quantity_wanted_alth, input#quantity, input#directinput,
#width select, #height select, #depth select, #weight select, #direct_input_p select, #directinput_p select {
	text-align: left;
	border: 1px solid #ddd;
	border-radius: 3px;
	margin: 0px;
	width: 40%;
	height: 28px;
	font-size:13px;
}
  
div#height input[type=text]::-webkit-inner-spin-button,
div#height input[type=text]::-webkit-outer-spin-button,
div#width input[type=text]::-webkit-inner-spin-button,
div#width input[type=text]::-webkit-outer-spin-button,
div#quantity input[type=text]::-webkit-inner-spin-button,
div#quantity input[type=text]::-webkit-outer-spin-button,
div#directinput input[type=text]::-webkit-inner-spin-button,
div#directinput input[type=text]::-webkit-outer-spin-button
{
	-webkit-appearance: none;
	margin: 0;
}

.squaremeter_disablecart {
    pointer-events: none;
}

.squaremeter_disablecart_wrapper {
    cursor: not-allowed;
}

#width select, #height select, #depth select, #weight select, #direct_input_p select, #directinput_p select {
	width: 95px;
}

#totalprice, #squaremeter_availability {
	margin-bottom:10px;
clear:both;
}

#totalpriceinfo {
	color: #777;
	font-size:14px;
}

#totalpriceinfo span {
	color: #000;
	font-weight:900;
	font-size:17px;
}

.product-add-to-cart {
	clear:both;
}

#preview {
	position: absolute;
	border: 1px solid #ccc;
	background: #333;
	padding: 5px;
	display: none;
	color: #fff;
}

.hint {
	width: 18px;
	margin-top: -5px;
}

#preview>img {
	max-width: 100%;
	max-height: 100%;
}

#preview {
	width: auto;
	height: auto;
}

.preview {
	cursor: default;
}
/* The switch - the box around the slider */

#switchx {
	font-size: 12px !important;
    margin-top: 10px;
    margin-bottom: 10px;
}

.switchx {
	position: relative;
	display: inline-block;
	width: 28px;
	height: 17px;
}

/* Hide default HTML checkbox */

.switchx input {
	opacity: 0;
	width: 0;
	height: 0;
}

.open_calculator {
	display:none;
}

.open_calculator,
.close_calculator {
	vertical-align: text-bottom;
}

/* The slider */

.sliderx {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.sliderx:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.sliderx {
	background-color: #2196F3;
}

input:focus+.sliderx {
	box-shadow: 0 0 1px #2196F3;
}

input:checked+.sliderx:before {
	-webkit-transform: translateX(13px);
	-ms-transform: translateX(13px);
	transform: translateX(13px);
}

#uniform-discretion.checked+.sliderx {
	background-color: #2196F3;
}

#uniform-discretion.checked+.sliderx:before {
	-webkit-transform: translateX(13px);
	-ms-transform: translateX(13px);
	transform: translateX(13px);
}

/* Rounded sliders */

.sliderx.roundx {
	border-radius: 34px;
}

.sliderx.roundx:before {
	border-radius: 50%;
}

div.checker, div.checker span, div.checker input {
	float:left;
margin-right:10px;
}

.extrafee, .waste {
	/* border:1px solid #ccc;*/
	padding:10px;
	/* margin:0 0 10px; */
	display:block; 
	border-radius: 5px;
	text-align: left;
}
	   
.extrafee:hover, .waste:hover {
	background:#eee;
	cursor:pointer;
}

#extrafee, #waste {
	width: 20px;
    	height: 20px;
	vertical-align: bottom;
	margin-right: 5px;
    -webkit-appearance: auto;
    opacity: 1;
}

#dimension {
	display: none;
}
.hidden_sqm {
    display: none;
}
#calculateur {
/* margin-left: 15%;*/
    height: 155px;
    border: 1px solid #ddd;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
#calculateurContainer {
font-size:13px;
text-align:center;
}

#toggleCalculateur {
	border: 1px solid #ddd;
	border-radius: 3px;
margin-bottom:0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #ccc;
	padding: 5px;
font-size:14px;
font-weight:700;
}
#uniform-extrafee.checker {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
#squaremeter_extrafee, .extrafee {
font-size:13px;
font-weight: unset;
}
@media screen and (max-width: 600px) {
  #squaremeter, #totalpriceinfo {
    padding: 15px;
  }
  .row-item-group {
    padding-right: 0px;
  }
  .row-group {
    width: 100%;
  }
#usefull_link_block {
display:block !important;
}
}
#errorContainer>p.error {
    background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent red */
    border: 1px solid #FF0000; /* Solid red border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Some padding */
    color: #FFFFFF; /* White text color */
    font-size: 14px; /* Font size */
    margin: 10px 0; /* Some margin */
}
    iframe {
        width: 100%;
        border: none;
    }
    .modal_help {
    display: none; 
    position: fixed; 
    z-index: 99; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(0,0,0,0.4);
    }

    .modal-content-help {
	position:relative;
        background-color: #fefefe;
        margin: 2% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 64%;
	height: 90%;
	border-radius: 10px;
    }
@media screen and (max-width: 600px) {
.modal-content-help {
        width: 80%;
    }
}
    .close {
    position: absolute;
    top: -15px; /* Half of the button's height */
    right: -15px; /* Half of the button's width */
    width: 30px;
    height: 30px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    text-align: center;
    line-height: 30px; /* Vertically center the X */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional shadow for better aesthetics */
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
