  /* 
Theme Name: Sapphire Carpets
Theme URI: 
Author: Michael Rosser
Version: 2.0 
Tags: Simple, effective 
*/ 
 /* Global Styles - Start */


img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

		body {
		margin: 0;
		padding: 0;
		background-color: #f9f7f7;
		line-height: 1.8;
		font-size: 18px;
		font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	}
	
	p {
		margin: 0;
		padding: 0;
	}
	
    h2 {
		margin: 0;
		padding: 0;
		font-weight: 600;
	}
	
	
	img, png {
		width: 100%;
		height: auto;
		display: block;
	}



/*VideoGallery*/



        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
        }


.video_background {
	height: auto;
	background-color: #232323;
	padding-top: 70px;
	padding-bottom: 70px;
	padding-left: 10px;
	padding-right: 10px;
}
      .video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: auto;

    align-items: start;   /* prevents equal-height stretching */
}

        .video-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .video-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .video-card video {
            width: 100%;
            display: block;
        }

        .video-info {
            padding: 15px;
        }

        .video-info h3 {
            margin-bottom: 8px;
            color: #222;
        }

        .video-info p {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
        }


/*BeforeAndAfer*/
.ba-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.comparison {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 12px;
    cursor: ew-resize;
    user-select: none;
}

.comparison > img,
.after img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}

.divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 5;
}

.handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.handle::before,
.handle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}

.handle::before {
    left: 10px;
    transform: translateY(-50%) rotate(-135deg);
}

.handle::after {
    right: 10px;
    transform: translateY(-50%) rotate(45deg);
}

.label {
    position: absolute;
    top: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 14px;
    z-index: 6;
}

.before-label {
    left: 15px;
}

.after-label {
    right: 15px;
}

@media (max-width: 768px) {
    .ba-gallery {
        grid-template-columns: 1fr;
    }
}

a img {
	border: none;
}
	
			/*GridCols*/
	*,
	*:before,
	*:after {
		box-sizing: inherit;
	}
	
	.col {
		padding:1em;
		margin: 8px;
	}
	
	
	[class*='col-'] {
		width:100%;
		float: left;
		min-height: 1px;
	}
	
	.col-mob-1 {width:8.33333%;}
	.col-mob-2 {width:16.66667%;}
	.col-mob-3 {width:25%;}
	.col-mob-4 {width:33.33333%;}
	.col-mob-5 {width:41.66667%;}
	.col-mob-6 {width:50%;}
	.col-mob-7 {width:58.33333%;}
	.col-mob-8 {width:66.66667%;}
	.col-mob-9 {width:75%;}
	.col-mob-10 {width:83.33333%;}
	.col-mob-11 {width:91.66667%;}
	.col-mob-12 {width:100%;}
	
	
	.row_container, .section_container {
		margin: 0 auto;
		max-width: 1100px;
		height: auto;
	}

.social_links {
	text-align:right;
}

.social_links p {
	display: inline-block;
	vertical-align: middle;
}

.socials {
	width: 25px;
	display: inline-block;
	margin:5px;
		vertical-align: middle;

}

.soical_links a:link, .social_links a:visited {
	border: none;
}

.section_background {
		margin: 0 auto;
		max-width: 1100px;
		height: auto;
		overflow:hidden;
	}

.two_boxes_background {
	height: auto;
	overflow: hidden;
	background-color: rgba(27,27,27,1.00);
	padding: 20px;
	text-align: center;

}

.video_background {
	text-align:center;
}
.two_boxes_background h2, .video_background h2 {
	color: white;
	font-size:30px;
	text-align: center;
	  position: relative;
  text-decoration: none;
  display: inline-block; /* Ensures underline fits text width */
	margin-bottom: 20px;
}

.two_boxes_background h2::after, .video_background h2::after {
	  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fbc200;
  bottom: 0;
  left: 0;
}

.box {
	-webkit-box-shadow: 5px 5px 5px 0.2px #000000;
box-shadow: 5px 5px 5px 0.2px #000000;
	background-color: #fbc200;
	overflow: hidden;
	padding: 10px;
	border-radius: 20px;
	min-height:130px;
}

.box_text {
	padding: 10px;
	height: auto;
	border-radius: 20px;
	min-height:130px;
}

.box_text h3 {
	font-weight: 400;
	font-size: 30px;
	margin: 0;
	padding: 0;
}

.section_text a:link, .section_text a:visited {
	color: black;
}

.section_text h2 {
	padding: 10px;
	background-color: #fbc200;
	border-radius: 20px;
	margin-bottom: 10px;
	-webkit-box-shadow: 0 0 3px .2px #000000;
box-shadow: 0 0 3px .2px #000000;
}

.section_text p {
	padding: 10px;
}

.yellow_bar {
	padding: 10px;
	color: black;
	background-color: #fbc200;
	height: auto;
	overflow: hidden;
}

.yellow_bar a:link, .yellow_bar a:visited {
	color: white;
}

.yellow_bar a:hover {
	color: black;
}

	.top_bar {
		background-color: white;
height: auto;
		overflow: hidden;
		width: 100%;
		border-bottom: 1px solid #e7d6d2;

		}
	
	.spacer {
		height: 114px;
		display: none;
	}
	
	.logo {
		width: 250px;
	}
	
	
	
	.hero {
		background-position: center;
		background-image: url("hero.jpg");
		background-size: cover;
		height: auto;
		
	}
	
	.hero_overlay {
		height: 100%;
		padding-top: 200px;
		padding-bottom: 200px;
		background-color: rgba(0,0,0,0.45);
	}
	
	.hero_text {
		color: #fbc200;
	}
	
	.button:link, .button:visited {
		background-color: #fbc200;
		padding-top: 10px;
		color: black;
				padding-bottom: 10px;
padding-left: 40px;
		padding-right: 40px;
		border-radius: 10px;
		text-decoration: none;
		display: block;
		width: 200px;
		margin-top: 30px;
		text-align: center;
	}
	
	.button:hover {
	background-color: black;
		color: #fbc200;
	}
	
	
	h1 {
		color: #fbc200;
		margin: 0;
		padding: 0;
		font-weight: 400;
	}
	
	.white_row {
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 60px;
		padding-bottom: 60px;
		display: flex;
		flex-direction: column;
		max-width: 1100px;
		margin: 0 auto;
		gap:30px;
	}
	.text {
		width: 100%;
	}
	
	.image {
		width: 100%;
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		height: 350px;
		border-radius: 20px;
		-webkit-box-shadow: 5px 5px 5px 0.2px #000000;
box-shadow: 5px 5px 5px 0.2px #000000;
	}
	
	
	.light_grey_row_bg {
				background-color: #DCDBDB;
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 60px;
		padding-bottom: 60px;

	}
	
	.light_grey_row {
		display: flex;
		flex-direction: row;
		margin: 0 auto;
		gap:30px;
		max-width: 1200px;
	}


.before_after {
	overflow: hidden;
	padding-top:50px;
	padding-bottom:50px;
	text-align: center;
	padding-left: 10px;
	padding-right:10px;
}

.before_after h2 {
	color: black;
	font-size:30px;
	text-align: center;
	  position: relative;
  text-decoration: none;
	margin: 0 auto;
  display: inline-block; /* Ensures underline fits text width */
	margin-bottom: 20px;
}

.before_after h2::after {
	  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fbc200;
  bottom: 0;
  left: 0;
}



.logos {
	padding: 20px;
}
	
	.footer {
		height: auto;
		overflow: hidden;
		width: 100%;
			background-image: url("https://rhonddarenderingsystems.co.uk/wp/wp-content/uploads/2026/07/727519389_2086031722331836_9085984455486347490_n-1.jpg");
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-position: center;
		background-size: cover;
		color: white;
	}

.footer h2, .quick_links h2 {
	color: #fbc200;
}



.footer_overlay {
	height:100%;
	overflow: hidden;
		background-color: rgba(0,0,0,0.82);
padding-top: 60px;
	padding-bottom: 60px;
	padding-left:10px;
	padding-right: 10px
}

	
	.footer_info {
		background-color: white;
		padding-top: 20px;
		padding-bottom: 20px;
		overflow: hidden;
	}
	
	.footer_info_two {
		padding:10px;
		overflow: hidden;
		
	}
	
	.footer_logo {
		width: 180px;
	}


.contact_us a:link, .contact_us a:visited {
	color: #fbc200;
}

.contact_us a:hover {
	color: white;
}

.quick_links {
	padding: 10px;
}

.quick_links a:link, .quick_links a:visited {
	text-decoration: none;
	color: black;
}

.quick_links a:hover {
	color: #fbc200;
}

.quick_links a:not(:last-child)::after {
    content: " • ";
    margin: 0 10px;
}
	
	 @media only screen and (min-width: 768px) {
        		.col-dt-1 {width:8.33333%;}
	.col-dt-2 {width:16.66667%;}
	.col-dt-3 {width:25%;}
	.col-dt-4 {width:33.33333%;}
	.col-dt-5 {width:41.66667%;}
	.col-dt-6 {width:50%;}
	.col-dt-7 {width:58.33333%;}
	.col-dt-8 {width:66.66667%;}
	.col-dt-9 {width:75%;}
	.col-dt-10 {width:83.33333%;}
	.col-dt-11 {width:91.66667%;}
	.col-dt-12 {width:100%;}
		 
		 	.top_bar {
		background-color: white;
height: auto;
		overflow: hidden;
		position: fixed;
		width: 100%;
		z-index: 9;
		border-bottom: 1px solid #e7d6d2;
}
		 
		 .nav {
			 margin-top: 20px;
		 }
		 
		 .spacer {
		height: 150px;
			 display: inherit;
	}
			 
		 
		 
		 
		 	
	.white_row {
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 60px;
		padding-bottom: 60px;
		display: flex;
		flex-direction: row;
		max-width: 1100px;
		margin: 0 auto;
		gap:30px;
	}
	}