@media only screen and (min-width: 1024px){
body:not(.fse-enabled) #masthead {
    padding-left: 30px;
    padding-right: 30px;
	padding-bottom:0px;
	width: calc(100%);
	background-color:white;
	
	
}
}

element.style {
}
@media only screen and (min-width: 560px)
{
	
.site-header .main-navigation > div  ul  li  a {
    padding: 0;
    font-size: 1.6rem;
}
}


@media only screen and (min-width: 560px)
{
.site-header .main-navigation > div > ul > li {
     padding-left: 1px; 
 
    padding-top: 8px;
     padding-bottom: 0px;
}
}

.main-navigation .sub-menu .menu-item a::before {
	display:none;
}

.main-navigation .sub-menu .menu-item a {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
	   padding-right: 16px;
}
.site-footer{
	background-color:#006bb5e0;
	
}
@media only screen and (max-width: 559px)
{
.site-header .main-navigation > div > ul > li a {
     font-size: 1.6rem; 

}
}
#toggle-menu {
	font-size: 1.6rem !important;
}
#menu-item-2375 a {
    background: #006BB5;
    color: #fff;
    border-radius: 3px;
	  transition: all .2s;
}
#menu-item-2375 a:hover {
    background: #4cb648;
}
.menu-item a:hover {
    color: #4CB648 !important;
}
header .sub-menu a.hfe-sub-menu-item {
    padding: 12px 15px !important;
}
nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-classic.menu-is-active.hfe-dropdown {
    margin-top: 15px;
}
a.cs-call-btn {
    background: #006BB5;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
	  margin-left: 5px;
}
.cs-mob-btns > a {
    vertical-align: middle;
}
@media only screen and (max-width: 767px)
{
header#masthead {
    padding-top: 20px;
}
#cs-mob-left, #cs-mob-left + div {
    width: 50% !important;
}	
#menu-item-2374,#menu-item-2375 {
		display: none;	
}
.hfe-nav-menu-icon i {
    font-size: 14px;
}	
.hfe-nav-menu.hfe-layout-horizontal.hfe-nav-menu-layout.horizontal {
    margin-top: -4px;
	  position: absolute;
}	
}	
li {
  font-weight: 400 !important;
  color: #000 !important;
}
.postid-4222 .post-thumbnail,
.postid-4293 .post-thumbnail,
.postid-4200 .post-thumbnail,
.postid-4211 .post-thumbnail,
.postid-4194 .post-thumbnail,
.postid-4131 .post-thumbnail {
  display: none !important;
}
body.page-id-4490 .instant-quote-section {
  background-image: url('https://c-sinsurance.com/wp-content/uploads/2025/06/Virginia-and-North-Carolina-smaller.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  min-height: 600px;
  padding: 100px 20px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



body.page-id-4490 .instant-quote-overlay {
  background-color: rgba(0, 85, 140, 0.75);
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
}

body.page-id-4490 .instant-quote-btn {
  background-color: #2caf3f;
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

body.page-id-4490 .instant-quote-btn:hover {
  background-color: #249737;
}

body.page-id-4490 .image-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

body.page-id-4490 .image-links > div {
  flex: 0 0 300px;
  max-width: 300px;
  text-align: center;
}


body.page-id-4490 .image-links > div {
  flex: 0 1 300px;
  max-width: 300px;
  text-align: center;
}


body.page-id-4490 .logo-carousel {
  overflow: hidden;
  padding: 40px 0;
}

body.page-id-4490 .logo-track {
  display: flex;
  width: calc(250px * 16);
  animation: scroll 30s linear infinite;
}

body.page-id-4490 .logo-track img {
  height: 60px;
  margin: 0 40px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

body.page-id-4490 .instant-quote-section {
  min-height: 600px;
}

@media (max-width: 768px) {
  body.page-id-4490 .image-links {
    flex-direction: column;
    align-items: center;
  }
}
p.contact-address{
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
p.contact-name{
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
/* ===== Quote Hero (clean, max-height kept, 3 tiles same row, tiles not wider than CTA) ===== */

.cs-quote-hero{
  position: relative;
  overflow: hidden;

  /* Full-bleed breakout */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none !important;

  background-color: #1f232a;
  background-image: url("https://c-sinsurance.com/wp-content/uploads/2022/06/flags-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  /* Keep your capped hero height */
  max-height: 560px;

  /* IMPORTANT: do NOT vertically center with flex (it causes clipping) */
  padding: 26px 16px 34px;
  box-sizing: border-box;
}

/* Dark overlay */
.cs-quote-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.60);
  z-index: 0;
}

/* Inner wrapper */
.cs-quote-hero .cs-hero-inner{
  position: relative;
  z-index: 1;

  max-width: 900px;
  width: 100%;
  margin: 0 auto;

  display: grid;
  justify-items: center;
  row-gap: 18px;

  /* Ensure nothing weird pushes outside */
  box-sizing: border-box;
}

/* CTA panel */
.cs-quote-hero .cs-hero-panel{
  width: min(720px, 100%);
  background: rgba(0, 110, 150, .78);
  padding: 22px 22px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  box-sizing: border-box;
}

.cs-quote-hero .cs-hero-panel h2{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .5px;
  font-size: clamp(22px, 3.2vw, 38px);
  color: #60b63d;
  text-transform: uppercase;
}

.cs-quote-hero .cs-hero-panel p{
  margin: 0 0 14px;
  color: rgba(0,0,0,.80);
  font-size: 14px;
  line-height: 1.4;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.cs-quote-hero .cs-hero-btn{
  display: inline-block;
  background: #4dbb3f;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  padding: 10px 22px;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* Tiles row: match CTA width and FORCE 3 columns */
.cs-quote-hero .cs-hero-tiles{
  width: min(720px, 100%);
  margin: 0 auto !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;

  /* hard reset any theme layout */
  float: none !important;
  clear: both !important;
  text-align: initial !important;
}

/* Each tile: reset theme link styles that break grids */
.cs-quote-hero .cs-tile{
  display: grid !important;
  justify-items: center;
  gap: 10px;

  width: 100% !important;
  max-width: 100% !important;

  float: none !important;
  position: static !important;

  text-decoration: none !important;
  text-align: center;

  box-sizing: border-box;
}

/* Square image boxes that fit inside max-height */
.cs-quote-hero .cs-tile img{
  width: 100% !important;

  /* square */
  aspect-ratio: 1 / 1 !important;
  height: auto !important;

  /* keep them small enough so CTA never gets clipped */
  max-height: 155px !important;

  object-fit: cover !important;
  display: block !important;

  background: #fff;
  border: 10px solid #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.30);

  box-sizing: border-box;
}

/* Labels */
.cs-quote-hero .cs-tile span{
  font-weight: 900;
  letter-spacing: .5px;
  color: #60b63d;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 760px){
  .cs-quote-hero{
    max-height: none; /* allow it to grow on mobile */
    padding: 24px 16px 30px;
  }

  .cs-quote-hero .cs-hero-inner{
    max-width: 600px;
  }

  .cs-quote-hero .cs-hero-tiles{
    grid-template-columns: 1fr !important;
    width: min(520px, 100%);
  }

  .cs-quote-hero .cs-tile img{
    max-height: none !important;
  }
}
/* --- Bulletproof the 3-tile row --- */
.cs-quote-hero .cs-hero-tiles{
  width: min(720px, 100%);
  margin: 0 auto !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;

  /* kill any theme layout */
  float: none !important;
  clear: both !important;
  text-align: initial !important;
}

/* kill any theme styles on the anchors */
.cs-quote-hero .cs-hero-tiles > a.cs-tile{
  display: block !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

/* make images a consistent square */
.cs-quote-hero .cs-hero-tiles > a.cs-tile img{
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  max-height: 155px !important; /* raise/lower to fit */
  object-fit: cover !important;
  display: block !important;
}
