.contact-companyinfo .contact-email .contact-details-info,
.header .header-business-email,
.footer .footer-business-email {
	overflow-wrap: anywhere;
}

.title .title-heading {
	font-size: 2.5rem;
}

@media (min-width: 1200px) {
	.title .title-heading {
		font-size: 2.7rem;
	}
}

/*-- Header --*/

.header .navbar-dark .navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: normal;
}

.header .navbar-dark .navbar-nav .active > .nav-link {
    color: #fff;
}

nav.navbar.affix {
    -webkit-box-shadow: 0px 0px 15px -10px black;
    box-shadow: 0px 0px 15px -10px black;
}

@media(max-width: 991px) and (min-width: 768px){
    .header-info .row {
        -ms-flex-pack: center;
        justify-content: center;
    }
}


@media(min-width: 992px) {

    .header .header-info-logo-img {
        position: fixed;
        top: 0;
        z-index: 1049;
		margin-left: -16%;
    }

    nav.navbar .container {
        position: relative;
        height: 121px;
        margin: 0 auto;
    }

    .navbar-nav {
        position: absolute;
        right: 0;
        top: 33px;
    }
}

/* -------------------- Hero ---------------------- */
/*-- Hero --*/

.cw-hero {
    background: var(--color-theme-primary);
}

.cw-heroText {
    margin: auto;
    max-width: 660px;
    background: var(--color-theme-primary);
}

.cw-heroText h1 {
    position: relative;
    z-index: 2;
    border: solid 3px var(--color-theme-border);
    padding: 1em;
}

    .cw-heroText h1:after {
        content: '';
        position: absolute;
        background-color: var(--color-theme-highlight);
        width: 20%;
        padding: 10px;
        left: 40%;
        transform: skewX(-35deg);
        bottom: -11px;
    }


.cw-heroText h1 span {
    /*color: var(--color-theme-secondary);
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 1);*/
    font-size: 3rem;
    line-height: 1;
}

@media (max-width: 567px) {
    .cw-heroText h1 {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {

    .cw-hero:after {
        overflow: hidden;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: rgba(0, 0, 0, 0.5);
    }

    .cw-heroText {
        position: absolute;
background: rgba(52, 50, 57, .65);
        top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
left: 0;
right: 0;
z-index: 99;
    }

    .cw-heroText h1 span {
        font-size: 4rem;
    }

}

@media (min-width: 1200px) {


    .cw-heroText h1 span {
        font-size: 5rem;
    }

    .cw-hero img {
        width: 100%;
    }
}


/*.cw-hero {
	min-height: 400px;
	display: flex;
	flex-flow: column;
	justify-content: flex-end;
	align-items: center;
}

.cw-hero .cw-heroText {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -120px;
	z-index: 2;
	padding: .5em;

	font-size: 1.8rem;

	background: #07a5ec;
	background: -moz-linear-gradient(left, #07a5ec 0%, #047cbf 50%, #047cbf 50%, #07a5ec 100%);
	background: -webkit-linear-gradient(left, #07a5ec 0%, #047cbf 50%, #047cbf 50%, #07a5ec 100%);
	background: linear-gradient(to right, #07a5ec 0%, #047cbf 50%, #047cbf 50%, #07a5ec 100%);

	border-radius: 10px 10px 0 0;

	color: #fff;
	-moz-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.cw-hero .cw-heroText h2 {
	font-size: inherit;
	margin-bottom: 0;
} */

/* Small devices (landscape phones, 576px and up) 
@media (min-width: 576px) {
	.cw-hero .cw-heroText {
		font-size: 2.1rem;
	}
}*/

/* Medium devices (tablets, 768px and up) 
@media (min-width: 768px) {

	.cw-hero .cw-heroText {
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		font-size: 2.5rem;

		padding: 1em 3em;

		background: url('https://apihoard.webit.com/api/v1/Image/9B3E6F45354BC16461AFBE793F49F62C/9B3E6F45354BC16461AFBE793F49F62C.png?size=720x540') no-repeat center center;
		background-size: contain;
	}

	.cw-hero {
		min-height: 500px;
		min-height: 50vw;
	}

	.cw-hero .cw-heroText h2 {
		max-width: 500px;
	}

}*/

/* Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {

	.cw-hero {
		min-height: 600px;
	}
} */



/*-- Home--*/

.cw-cascade {
    margin: 0 auto;
    padding: 8em 0;
}

.cw-cascade:before {
    overflow: hidden;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, .5);
}

.cw-cascade h2 {
    z-index: 2;
    font-size: 2.5rem;
    text-shadow: 2px 2px 0 rgb(52, 50, 57);
}

@media (min-width: 768px) {
    .page-home .cw-cascade {
        padding: 10em 0;
    }

    .cw-cascade h2 {
        z-index: 2;
        font-size: 2.75rem;
    }

    .cw-cascade .btn {
        width: 380px;
        font-size: 1.75rem;
    }

}

.page-home .list {
    background: url(https://s3.amazonaws.com/fcstores/stores/400821/2911/construction.svg) no-repeat center center;
    background-size: cover;
}

.cw-banner a.button {
    height: 80px;
    line-height: 80px;
    margin-top: 1em;
    padding: 0 2em;
    background: var(--color-theme-secondary);
    font-size: 1.25rem;
}

@media (min-width: 992px) {

    .cw-banner a.button {
        margin: 0;
        padding: 0 1em 0 3.75em;
    }

    .cw-banner a.button:before {
        top: 0;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        margin-top: 0;
        border-color: rgba(255, 255, 255, 0);
        border-top-color: var(--color-theme-primary);
        left: 0px;
        border-top-width: 80px;
        border-right-width: 60px;
        border-left-width: 0;
    }

    .cw-banner a.button:after {
        top: 0;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        margin-top: 0;
        border-color: rgba(255, 255, 255, 0);
        border-top-color: var(--color-theme-secondary);
        right: -60px;
        border-top-width: 80px;
        border-right-width: 60px;
        border-left-width: 0;
    }
}

.cw-banner a.button:focus:after {
    border-top-color: var(--color-theme-secondary);
}


/* Text With Image / Lazy Image Style */

.lazy-image {
  position: relative;
  z-index: 1;
  overflow: inherit;
  margin-bottom: 12%;
}

.lazy-image::after {
  content: "";
  height: 100%;
  width: 100%;
  background-color:  var(--color-theme-highlight);
  position: absolute;
  right: -12px;
  top: 12px;
  z-index: -1;
}

/* -------------------- Bottom Parallax ---------------------- */
.cw-bottom-parallax {
	position: relative;
}

.cw-bottom-parallax .cw-para-inner {
	background: rgba(0, 0, 0, 0.45);
	position: relative;
	min-height: 500px;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	padding: 1rem;
}

.cw-bottom-parallax .cw-bottom-box {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
	padding: 1.5rem 1rem;
	text-align: center;
	text-shadow: 1px 1px 2px #000;
}

.cw-bottom-parallax .cw-bottom-box .btn {
	text-shadow: none;
}



/* -------------------- Reviews ---------------------- */
.cw-reviews {
	padding: 1rem 0 3rem;
}

.cw-reviews .cw-author {
	color: var(--color-theme-secondary);
	font-style: italic;
	font-weight: 700;
}

.cw-reviews .cw-carddeck {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: stretch;
	text-align: center;
}

.cw-reviews .cw-carddeck .cw-card-body {
	flex-grow: 1;
	border: 1px solid var(--color-theme-highlight);
	box-shadow: 1px 1px 4px 1px #aaa;

	padding: 1rem;
	margin: .5rem .5rem;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;

	font-size: 1.2rem;
}

.cw-carddeck .fx-1 {
	flex-basis: 100%;
}

.cw-carddeck .fx-2 {
	flex-basis: 100%;
}

.cw-carddeck .fx-3 {
	flex-basis: 100%;
}

.cw-carddeck .fx-4 {
	flex-basis: 100%;
}

.cw-reviews .card-text {
	font-size: 1em;
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.cw-reviews .cw-carddeck .cw-card-body {
		padding: 1.5rem;
		font-size: 1.3rem;
	}

	.cw-carddeck .fx-1 {
		flex-basis: 36%;
	}

	.cw-carddeck .fx-2 {
		flex-basis: 55%;
	}

	.cw-carddeck .fx-3 {
		flex-basis: 100%;
	}
}

/* Large devices (desktops, 992px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {

	.cw-reviews .cw-carddeck .cw-card-body {
		padding: 1.8rem;
	}

	.cw-carddeck .fx-1 {
		flex-basis: 30%;
	}

	.cw-carddeck .fx-2 {
		flex-basis: 47%;
	}

	.cw-carddeck .fx-3 {
		flex-basis: 100%;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.cw-reviews .cw-carddeck .cw-card-body {
		padding: 2rem;
		font-size: 1.4rem;
	}

	.cw-carddeck .fx-1 {
		flex-basis: 30%;
	}

	.cw-carddeck .fx-2 {
		flex-basis: 47%;
	}

	.cw-carddeck .fx-3 {
		flex-basis: 63%;
	}
}


/*--- Footer Floating links ---*/

.cw-floating-cta {
	position: fixed;
	z-index: 10;
	bottom: 1em;
	right: 1em;
	border-radius: 25px;
	-webkit-box-shadow: 1px 1px 10px 1px #00000036;
	box-shadow: 1px 1px 10px 1px #00000036;
}

.cw-floating-cta:hover {
	cursor: pointer
}

.cw-floating-cta .hidden {
	display: none
}

#cwID-contactBtns a {
	display: inline-block;
	width: 54px;
	height: 54px;
	padding: 10px;
	border-radius: 50%;
	background: var(--color-theme-background);
}


#cwID-contactBtns .fa {
	font-size: 35px;
	color: var(--color-theme-primary);
}



/* =========================================================
   APW Top Bar (id="apwTopBar") — Mobile Slim Header Fix
   - Keeps desktop unchanged
   - On mobile: hides brand/badge row, keeps Call + Quote
   ========================================================= */

@media (max-width: 768px){

  /* Ensure the fixed top bar stays clean and compact */
  #apwTopBar{
    border-bottom-width: 3px !important;
  }

  /* Inner wrapper: shrink padding and keep everything on one row */
  #apwTopBar > div{
    padding: 10px 12px !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Hide the left block (Company name + Licensed & Insured) */
  #apwTopBar > div > div:first-child{
    display: none !important;
  }

  /* Right block (buttons): force single row */
  #apwTopBar > div > div:nth-child(2){
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* Phone button */
  #apwTopBar a[href^="tel"]{
    font-size: 18px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  /* Quote button */
  #apwTopBar a[href="/contact"],
  #apwTopBar a[href$="/contact"]{
    font-size: 14px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
  }
}

/* Optional: slightly smaller on very small phones */
@media (max-width: 390px){
  #apwTopBar a[href^="tel"]{
    font-size: 17px !important;
  }
  #apwTopBar a[href="/contact"],
  #apwTopBar a[href$="/contact"]{
    font-size: 13px !important;
  }
}



/* =========================================================
   MOBILE: Hide Webit default navbar brand text (Bar #2)
   - Keeps hamburger/menu
   - Does not affect desktop
   ========================================================= */
@media (max-width: 768px){
  a.navbar-brand.d-xl-none.d-lg-none{
    display: none !important;
  }

  /* Optional: tighten navbar height slightly */
  nav.navbar{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}



/* =========================================================
   MOBILE NAV FIX (restore normal menu behavior)
   - Do NOT collapse navbar height
   - Keep hamburger/menu in its normal flow
   - Hide only the brand text on mobile (already present)
   ========================================================= */
@media (max-width: 768px){
  /* Ensure navbar is visible and behaves normally */
  nav.navbar{
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    border: 0 !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* Keep the toggler in normal position (no absolute overlay) */
  nav.navbar .navbar-toggler,
  nav.navbar button.navbar-toggler,
  nav.navbar .menu-toggle,
  nav.navbar button.menu-toggle{
    position: static !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 12px 0 auto !important;
  }

  /* Hide the floating “Let’s Talk” CTA on mobile (optional, per request) */
  .cw-floating-cta{
    display: none !important;
  }
}



/* =========================================================
   Mobile Polish: Slightly reduce hero image height so CTA is higher
   - Mobile only
   - Desktop unchanged
   ========================================================= */
@media (max-width: 768px){
  .cw-hero img,
  .cw-hero .img-fluid{
    max-height: 190px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
}
@media (max-width: 390px){
  .cw-hero img,
  .cw-hero .img-fluid{
    max-height: 175px !important;
  }
}



/* =========================================================
   v7 Mobile Conversion Polish (Homepage)
   - MOBILE ONLY
   - Tighten hero spacing so CTA appears sooner
   - Reduce extra vertical padding between hero blocks
   ========================================================= */

@media (max-width: 768px){

  /* Tighten spacing inside hero text container */
  .cw-heroText{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  /* Reduce headline bottom spacing slightly */
  .cw-heroText h1{
    margin-bottom: 10px !important;
  }

  /* Tighten the section that contains the hero buttons (common Webit block) */
  .cw-para-inner.py-4{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* Reduce extra spacing around the bottom hero box wrapper if present */
  .cw-bottom-box{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Make the hero buttons slightly more compact (still thumb-friendly) */
  .cw-heroText .btn,
  .cw-para-inner .btn{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

/* Extra-small phones */
@media (max-width: 390px){
  .cw-heroText{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  .cw-para-inner.py-4{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}
