                                                      :root {
	--body: -apple-system, "Roboto", sans-serif;
   --smaller: 14px;
   --medium: 16px;
	--bigger: 24px;
	--very-big: 28px;
	--darker-grey: #1a1a1a;
   --red: #a21318;
}
body {
   font-family: var(--body);
   overflow-x: hidden;
   width: 75%;
   margin: auto;
}
body p {
   font-size: var(--medium);
   font-weight: normal;
   margin: 5px 0 5px 0;
}
body h3 {
   font-size: var(--bigger);
   color: var(--red);
   margin: 15px 0 15px 0;
   text-align: center;
   font-weight: bold;
}
body h2 {
   font-size: var(--very-big);
   color: var(--red);
   font-weight: bold;
   margin: 0 0 10px 0;
   text-transform: uppercase;
}
body button {
   background-color: #a21318;
   color: white;
   border: 0px;
   padding: 10px;
}
body button:hover {
   background-color: var(--darker-grey);
}
body span {
   font-size: var(--smaller);
}
body input {
   font-family: var(--body);
}
body label {
   font-family: var(--body);
}
#logocont {
   z-index: 1;
   position: absolute;
   height: auto;
   width: 90px;
   margin: 20px;
   top: 0;
   left: 0;
}
.country {
   text-align: end;
}
.contact {
   display: block;
   text-align: end;
}
.contact > p {
   display: inline-block;
   margin: 5px 30px 5px 5px;
}
.text1 > p > span:nth-child(1) {
   color: var(--red);
   font-weight: bold;
}
table {
   margin: auto;
   width: 100%;
}
.table-heading {
   text-transform: uppercase;
}
tbody input {
   width: 120px;
}
.top-heading {
   text-align: center;
   margin-top: 15px;
}
.top-heading input {
   border-top: 0;
   border-left: 0;
   border-right: 0px;
   margin: 10px;
   border-bottom: 0.5px solid   ;
}
.shipping-billing {
   display: flex;
}
.shipping {
   width: 50%;
   padding: 0 10px 0 10px;
}
.billing {
   width: 50%;
   padding: 0 10px 0 10px;
}
.shipping-billing input {
   width: 69%;
   border-bottom: 0.5px solid  rgba(53, 53, 53, 0.652);
   border-top: 0;
   border-left: 0;
   border-right: 0;
}
.shipping-billing label {
   float: left;
   width: 28%;
}
.line {
   border-bottom: 0.5px solid  var(--darker-grey);
   width: 100%;
   margin: 8px 0px 8px 0px ;
}
tbody input {
   width: 90%;
   margin: 0 10px 0 10px;
}
.bottom {
   display: flex;
   margin-bottom: 40px;
}
.left {
   align-items: center;
   flex-flow: column;
   width: 40%;
}
.left p {
   margin: 5px 5px 5px 0;
}
.centre {
   width: 10%;
   margin: auto;
}
.right {
   width: 100%;
   flex-flow: column;
}
.right input {
   width: 30%;
   border-bottom: 0.5px solid  rgba(53, 53, 53, 0.652);
   border-top: 0;
   border-left: 0;
   border-right: 0;
   text-align: end;
}
.right label {
   float: left;
   width: 60%;
   text-align: end;
   padding-right: 10px;
}

/* Right float */
#rightbuttons {
   right: 0;
   top: 50%;
   position: fixed;
   width: 100px;
   transform: translateY(-50%);
}

.float-btn {
   width: 70px;
   height: 70px;
   border-radius: 35px;
   margin: 0 15px 15px;

}

.c-table {
   top: 50px;
}
.add-disc {
   top: 90px;
}
.btn-remove {
   margin: 0 20px 0 20px;
}
.on-off p {
   margin-right: 10px;
}
footer p {
   text-align: center;
}
footer p > span {
   color: var(--red);
   font-weight: bold;
}
th:nth-child(1), td:nth-child(1){
   width: 30%;
}
th:nth-child(2), td:nth-child(2) {
   width: 20%;
}
th:nth-child(3), td:nth-child(3) {
   width: 15%;
}
th:nth-child(4), td:nth-child(4) {
   width: 15%;
}
th:nth-child(5), td:nth-child(5) {
   width: 15%;
}
.quant, .item-price, .total-price {
   text-align: end;
}
.discount {
   display: none;
}
.discount label {
   color: var(--red);
   font-weight: bold;
}
.on-off {
   text-align: end;
}
.switch {
   position: relative;
   display: block;
   width: 60px;
   height: 25px;
   left: 89%;
}
.switch input {
   display:none;
}
.slider {
   position: absolute;
   cursor: pointer;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #a21318;
   -webkit-transition: .4s;
   transition: .4s;
}
.slider:before {
   position: absolute;
   content: "";
   height: 17px;
   width: 15px;
   left: 4px;
   bottom: 4px;
   background-color: white;
   -webkit-transition: .4s;
   transition: .4s;
}
input:checked + .slider {
   background-color: #2ab934;
}
input:checked + .slider:before {
   -webkit-transform: translateX(55px);
   -ms-transform: translateX(55px);
   transform: translateX(38px);
}
#on {
   display: none;
}
#on, #off {
   color: white;
   position: absolute;
   transform: translate(-50%,-50%);
   top: 50%;
   left: 50%;
   font-size: 10px;
   font-family: Verdana, sans-serif;
}
input:checked+ .slider #on{
   display: block;
}
input:checked + .slider #off{
   display: none;
}  
.slider.round {
   border-radius: 34px;
}
.slider.round:before {
   border-radius: 50%;
}
@media print {
   header, aside, button, … {
	   display: none;
   }
   body {
	   width: 100%;
   }
   input {
	   border-top: 0;
	   border-left: 0;
	   border-right: 0;
	   border-bottom: 0.5px solid rgba(53, 53, 53, 0.652);
   }
   #item, .quantity {
	   border-top: 0;
	   border-left: 0;
	   border-right: 0;
   }
   select {
	   -webkit-appearance: none;
   }
   .on-off {
	   display: none;
   }
   input {
	   border-top: 0;
	   border-left: 0;
	   border-right: 0;
	   border-bottom: 0.5px solid rgba(53, 53, 53, 0.652);
   }
   #item, .quantity {
	   border-top: 0;
	   border-left: 0;
	   border-right: 0;
   }
   select {
	   -webkit-appearance: none;
   }
   #switch {
	   display: none;
   }
   .switch span {
	   display: none;
   }
   input:disabled  {
	   background-color: white !important;
	   color: var(--darker-grey);
   }
}


#fabricDropdown {
   width: 100%;
   padding: 8px;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-sizing: border-box;
 }
 
 /* CSS styles for the search input */
 #search {
   width: 100%;
   padding: 8px;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-sizing: border-box;
   margin-bottom: 10px;
 }
 .fabrics {
   width: 100% !important;
   padding: 1px !important;
 }
 #productDropdown {
   position: absolute;
   display: none;
   background-color: #f9f9f9;
   box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   z-index: 1;
}

#productDropdown.show {
   display: block;
}
.dropdown {
   display: none;
}

.search-container:focus-within .dropdown {
   display: block;
}
.search-container {
   position: relative;
}

.dropdown {
   position: absolute;
   top: 100%;
   left: 0;
   z-index: 1;
}