@font-face {
	font-family: 'BebasNeueRegular';
	src: url('../fonts/BebasNeue-webfont.eot');
	src: url('../fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/BebasNeue-webfont.woff') format('woff'),
		url('../fonts/BebasNeue-webfont.ttf') format('truetype'),
		url('../fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* CSS reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}

html,
body {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

input {
	border: 1px solid #b0b0b0;
	padding: 3px 5px 4px;
	color: #979797;
	width: 190px;
}

address,
caption,
cite,
code,
dfn,
th,
var {
	font-style: normal;
	font-weight: normal;
}

ol,
ul {
	list-style: none;
}

caption,
th {
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after {
	content: '';
}

abbr,
acronym {
	border: 0;
}

/* General Demo Style */
body {
	font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	background: #000;
	font-weight: 400;
	font-size: 15px;
	color: #aa3e03;
	overflow-y: scroll;
	overflow-x: hidden;
}

a {
	color: #333;
	text-decoration: none;
}

.inner-container {
	position: relative;
	text-align: center;
}

.clr {
	clear: both;
}

.inner-container>header {
	padding: 30px 30px 10px 110px;
	margin: 0px auto;
	position: absolute;
	display: block;
	width: 100%;
	max-width: 1900px;
	background-color: transparent;
	z-index: 100;
}

.inner-container>header .logo {
	float: left;
	margin: -8px 0 0 5px;
	padding: 5px 10px;
	background-color: #fff;
	opacity: .6667;
}

.inner-container>header h1 {
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
	font-size: 35px;
	line-height: 35px;
	position: relative;
	font-weight: 400;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	padding: 0px 0px 5px 0px;
}

/* .inner-container > header h1 span{

} */
.inner-container>header h2,
p.info {
	font-size: 16px;
	font-style: italic;
	color: #f8f8f8;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

/* Header Style */
p.menu-demos {
	display: block;
	padding: 15px 0px;
}

p.menu-demos a,
p.menu-demos a.current-demo,
p.menu-demos a.current-demo:hover {
	display: inline-block;
	border: 1px solid #6d0019;
	padding: 10px 10px 8px;
	font: 14px Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	line-height: 18px;
	margin: 2px 3px;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
	color: #fff;
	border-radius: 5px;
	background: #a90329;
	background: linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%);
}

p.menu-demos a:hover {
	background: #6d0019;
}

p.menu-demos a:active {
	background: #6d0019;
	background: linear-gradient(top, #6d0019 0%, #8f0222 56%, #a90329 100%);
	box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.9);
}

p.menu-demos a.current-demo,
p.menu-demos a.current-demo:hover {
	color: #6d0019;
	background: #ddd;
}

.menu-btn {
	color: #fff;
}

.enter-site-btn {
	position: absolute;
	bottom: 27px;
	width: 20%;
	z-index: 10;
	text-align: center;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.enter-site-btn button {
	margin: 0 auto;
	padding: 4px 12px 3px;
	font-size: 1.33rem;
	color: #fff;
	background-color: #46ace2;
	text-transform: uppercase;
	opacity: .75;
}

.enter-site-btn button:hover {
	opacity: 1;
	cursor: pointer;
}



/* NEW BANNER CSS START */


.swiper {
	width: 100%;
	height: 100vh;
	position: relative !important;
}

.swiper-slide {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end;
	position: relative;
	color: #fff;
	flex-direction: column;
}

.slide1 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/SCJC/x-large/Spartanburg-County-Judicial-Center-05.jpg') center/cover no-repeat;
}

.slide2 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/Credit-One-Stadium/x-large/credit-one-stadium-09.jpg') center/cover no-repeat;
}

.slide3 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/Rock-Tenn-Corp-Office/x-large/rock-tenn-corp-office-02.jpg') center/cover no-repeat;
}

.slide4 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/SCJC/x-large/Spartanburg-County-Judicial-Center-14.jpg') center/cover no-repeat;
}

.slide5 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/Cougar-Point-Clubhouse/x-large/cougar-point-01.jpg') center/cover no-repeat;
}

.slide6 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/Lexington-Performing-Arts-Center/x-large/lexington-performing-arts-center-10.jpg') center/cover no-repeat;
}

.slide7 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/Ruths-Chris/x-large/ruths-chris-02.jpg') center/cover no-repeat;
}

.slide8 {
	background: url('https://coastalmillworkandsupply.com/_assets/img/gallery/projects/Jerry-Richardson-Indoor-Stadium/x-large/jerry-richardson-indoor-stadium-01.jpg') center/cover no-repeat;
}

/* Text container */
.slide-text {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
	padding: 0 30px;
	font-size: 6vw;
	letter-spacing: -.005em;
	word-spacing: .25em;
	line-height: .825;
	text-shadow: 2px 2px #333;
	color: #fff !important;
	text-align: center;
	margin-bottom: 90px;
}

.slide-text h3 {
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
	padding: 0 30px;
	font-size: 6vw;
	letter-spacing: -.005em;
	word-spacing: .25em;
	line-height: .825;
	text-shadow: 2px 2px #333;
	color: #fff !important;
	text-align: center;
}

/* Active animation */
.slide-text.show {
	opacity: 1;
	transform: translateY(0);
}

/* Pagination fraction style */
.swiper-pagination {
	color: #fff !important;
	font-size: 30px !important;
	font-style: italic;
	text-align: right !important;
	padding-right: 50px;
	padding-bottom: 20px;
}

/* Progress bar */
.autoplay-progress {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 10;
	width: 100px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	overflow: hidden;
	border-radius: 2px;
}

.autoplay-progress span {
	display: block;
	height: 100%;
	width: 0%;
	background: #fff;
	transition: width 0.1s linear;
}

/* Pause/Play button */
/* .swiper-button-pauseplay {
	position: absolute;
	display: inline-block !important;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: #d9d9d9;
	color: black;
	padding: 17px 20px;
	font-size: 14px;
	cursor: pointer;
	z-index: 99999999999;
	margin: auto;
	max-height: max-content;
	max-width: max-content;
	border-radius: 100%;
	border: 0;
} */

.swiper-button-pauseplay {
	position: absolute;
	display: inline-block !important;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	padding: 10px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
		margin: auto;
	max-height: max-content;
	max-width: max-content;
}

.swiper-button-pauseplay svg {
	width: 40px;
	height: 40px;
}


.pushy.pushy-right {
	z-index: 9999999;
}

.swiper-button-next {
	right: 25px !important;
}

.swiper-button-prev {
	left: 25px !important;
}

.swiper-button-next,
.swiper-button-prev {
	padding: 20px 22px;
	background-color: #D9D9D9 !important;
	border-radius: 100px;
	width: 10px !important;
	transition: .4s;
	box-shadow: 0px 0px 1px 10px #d9d9d980;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background-color: black;
	border-radius: 100px;
	width: 10px !important;
	transition: .4s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 20px !important;
	color: black;
	font-weight: bold;
}


/* NEW BANNER CSS END */

/* --- Ken Burns background (no HTML changes) --- */
.swiper-slide {
  position: relative;
  overflow: hidden;         /* hide zoomed edges */
}

/* Background layer that inherits each slide's background */
.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;      /* uses the same background you set on .slide1, .slide2, ... */
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform-origin: center;
}

/* Only animate the active slide so it restarts each time */
.swiper-slide-active::before {
  animation: kenburns 4s ease-in-out forwards;  /* match your autoplay: 4000ms */
}

/* Keep text above the animated layer */
.swiper-slide .slide-text {
  position: relative;
  z-index: 2;
}

/* Ken Burns keyframes: subtle zoom + tiny pan */
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}

/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .swiper-slide-active::before { animation: none !important; }
}



/* Media Queries */
@media screen and (max-width: 767px) {
	.inner-container>header {
		text-align: center;
	}

	p.menu-demos {
		position: relative;
		top: auto;
		left: auto;
	}
}