/* Clear floats after the columns */

/* below is for the polishingFB product detail DIV  */
/*

/* below is two columns grid use for the product page */

.service-container {
		display: grid; 
		grid-gap: 10px;
		grid-template-columns: 200px 280px; 
		grid-template-rows:  repeat(1, 50px); 
		vertical-align: top;		
		align-items: center;
	}
	
	.ez-service-container {
		display: grid; 
		grid-gap: 10px;
		grid-template-columns: 250px 320px; 
		grid-template-rows:  repeat(1, 70px); 
		vertical-align: top;		
		align-items: center;
	}
	
	.Dremel-container {
		display: grid; 
		grid-gap: 10px;
		grid-template-columns: 60px 100px 280px; 
		grid-template-rows:  repeat(1, 30px); 
		vertical-align: top;		
		align-items: center;
	}
	
	.brief-right{
	text-align: left;
	vertical-align: top;
	float: left;
	padding: 10px;
	 border: 2px solid green;
	}
	
	.aditional-left{
	text-align: left;
	vertical-align: top;
	float: left;	
	}
/*	
	#border-bottom{
	width:100%;
	text-align: left;	
	border-bottom: 3px solid green;	
}
*/
.white {
	color: yellow;
	text-align: center;
}	

/* below is categories page. */

hr {
  height: 1px;
  background-color: green;
  border: none;
  margin-bottom: 10px;
}

.dcdbcontainer {
		.height: 300px; 
		display: grid; 
		grid-gap: 10px;
		padding: 50px;
		grid-template-columns: 25% 25% 25% 25%; 
		grid-template-rows:  repeat(3, 200px); 
		justify-content: 40px auto 40px;
	    justify-items: end; 
		align-items: center;
		grid-row-gap: 10px;
		grid-column-gap: 5px;
}

.jkjndcdbcontainer {
		.height: 300px; 
		display: grid; 
		grid-gap: 3px;
		padding: 30px;
		grid-template-columns: repeat(2, 2fr); 
	}

.yinxian{
	text-align: left; 
	font-size: 14px;
	width: 100%;
	padding: 10px;
	}
	
.huixiang{
	text-align: left; 
	font-size: 14px;
	width: 100%;
	padding: 10px;
	color:green;
	font-weight:550;
	}
	
/* this is from the froservices.css  */	

	#xyz{
	font-size:12px;
	font-family:"Verdana","Arial","sans-serif";
	}
	

	/* below is from FB_3 services page */
	
.zida{
	font-size:16px;
	color: blue;
	font-family:"Verdana","Arial","sans-serif";
	font-weight:600;
	}

.across-line{
	text-align: left;
	height: 3px;
	width: 80%;
	color: #008000;
}
 
 .bgf{
	font-size:18px;
	font-family:Verdana, Arial, sans-serif;
	font-weight:550;
	}
/* this is from the Copilot  */		
.service-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.brief-left {
  width: 150px;
  font-weight: bold;
}

/*
.border-bottom {
  border-bottom: 1px solid #ccc;
  padding: 4px 0;
  flex: 1;
}

.border-bottom:hover {
  background-color: #f9f9f9;
}
*/
.sd {
  color: green;
  margin-right: 10px;
}
.md {
  color: orange;
  margin-right: 10px;
}
.hd {
  color: red;
  margin-right: 10px;
}
.rd{
	color: blue;
	 margin-right: 10px;
	}
	
.extra-soft {
	color: black;
	margin-right: 10px;
	}
	
/*
  This part of the CSS code is come from Google AI on 8/27/2025. 
  It is flex for 3 columns in the center of the website. E-Z page: categories.php
*/

.nwomtf-container {
    display: grid;
    gap: 20px; 
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
}

.nav-item {
    display: flex;
    justify-content: center; 
    align-items: center; 
    
    text-align: center;
    
    padding: 10px;
    font-size: 30px;
    background-repeat: no-repeat;
    border: 1px transparent;
    height: 267px;
    min-width: 200px;
}

.nav-item-quotes {
    background-image: url("http://feltbobs.com/catalog/images/nav-bar/quotes.jpg");
}

.nav-item-custom-size {
    background-image: url("http://feltbobs.com/catalog/images/nav-bar/custom-size.jpg");
    /* The 'text-align' property is unnecessary and has been removed */
}

.nav-item-services {
    background-image: url("http://feltbobs.com/catalog/images/nav-bar/services.jpg");
    /* The 'text-align' property is unnecessary and has been removed */
}
.navbar-quotes{
	background-image: URL("http://feltbobs.com/catalog/images/nav-bar/quotes.jpg");
	}
	
.navbar-wave-1{
	background-image: URL("http://feltbobs.com/catalog/images/nav-bar/wave-1.jpg");
	}	
	
/*
  This part of the CSS code is come from Google AI on 8/27/2025. 
  It is flex for 4 product columns in the center of the website. E-Z page: categories.php
*/


/* Container for the entire product selection section */
.product-selection {
  text-align: center;
}

.product-selection h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Grid container for the product cards */
.product-grid {
  display: grid;
  gap: 20px; /* Modern shorthand for grid-gap */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  list-style: none; /* Remove default list bullets */
  padding: 0;
  margin: 0;
  justify-content: center;
}

/* Individual product card item */
.product-card {
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Link element inside the product card */
.product-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

/* Product image styling */
.product-card img {
  max-width: 100%;
  height: 150px; /* Maintain consistent image height */
  object-fit: contain; /* Ensures images fit without distortion */
  margin-bottom: 10px;
}

/* Product details section */
.product-details {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

/* Separator line styling */
.product-details hr {
  border: 0;
  height: 1px;
  background-color: #eee;
  margin: 10px 0;
}
/* footer CSS by Copilot */
.footer-wrapper {
  background-color: #222;
  color: #ddd;
  padding: 40px 0;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.footer-column {
  width: 30%;
  min-width: 250px;
  text-align: left;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #f0f0f0;
  text-align: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
  text-align: center;
}

#custom-footer .footer-column a {
  color: #5fc796 !important;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: center;
}

#custom-footer .footer-column a:hover {
  color: #ffffff !important;
}
/* Middle three column image CSS by Copilot 9/3/2025 */
.custom-banner-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
}

.custom-banner {
  flex: 1;
  text-align: center;
}

.custom-banner img {
  width: 100%;
  max-width: 370px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.custom-banner img:hover {
  transform: scale(1.05);
}

/* The CSS for Estimate Form By Copilot 9/6/2025 */
#estimateForm {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#estimateForm h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
}

#estimateForm label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #444;
}

#estimateForm input,
#estimateForm select {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
}

#estimateForm button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  background-color: #005a87;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#estimateForm button:hover {
  background-color: #0073aa;
}

#result {
  max-width: 600px;
  margin: 1rem auto;
  padding: 1rem;
  background: #e6f4ea;
  border: 1px solid #cce5cc;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  color: #2c5f2d;
}

.estimate-summary p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

@media screen and (max-width: 600px) {
  #estimateForm, #result {
    padding: 1rem;
    margin: 1rem;
  }

  #estimateForm h2 {
    font-size: 1.3rem;
  }

  #estimateForm button {
    width: 100%;
  }
}

/* for form pieces to weight 911 */
/* Estimator Form Container */
.estimator-form {
  max-width: 420px;
  margin: 20px auto;
  padding: 15px 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
}

/* Labels & Inputs */
.estimator-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.estimator-form input[type="number"],
.estimator-form input[type="text"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Button */
.estimator-form button {
  display: inline-block;
  background: #2a7ae2;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.estimator-form button:hover {
  background: #1d5fb8;
}

/* Result Box */
.weight-result {
  margin-top: 15px;
  padding: 10px;
  background: #e8f4ff;
  border: 1px solid #b5d9ff;
  border-radius: 4px;
  font-weight: bold;
  color: #004a80;
}

.weight-result.error {
  background: #ffe8e8;
  border-color: #ffb5b5;
  color: #800000;
}

.two-columns-table {
  display: grid;
  grid-template-columns: 350px 350px; /* fixed columns */
  gap: 8px;
  width: 708px;                       /* force full width */
  margin: 0 auto;
}

.two-columns-cell {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  text-align: center;
}

.two-columns-cell img {
  width: 100%;   /* prevent overflow */
  height: auto;
  display: block;
}
