

.styled-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0a4bd7;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.5;
  padding-top: 10px;
  padding-bottom: 10px;
}
a.styled-link.sch {
    color: black;
    background-color: #ee860a;padding-left: 15px;
    padding-right: 15px;
}
a.styled-link.sch span.glyphicon.glyphicon-calendar {
  padding: 0;
}
.header-section-reg .styled-link {
  display: inline-block;
  padding: 5px;
  background: none;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.5;
  /* padding-top: 20px; */
  /* padding-bottom: 20px; */
}

.header-section-reg .smt {
  display: none;
}
.sc {
    color: white;
    padding: 0;
}
.header-section-reg a.fb span,
.header-section-reg a.in span,
.header-section-reg a.yp span {
    margin-right: -14px;padding:0;font-size: 18px;}

.header-section-reg em {
  color: #ffffff;
  font-size: 18px;padding: 4px;
}
.header-section-reg section {
    text-align: center;
}
.header-section-reg .bsm {
  margin-top:5px;
}
.bsm img {
    width: 50px;    
    margin-top: -5px;
}
#block-schedule .styled-link:hover {
  text-decoration: none;
  font-weight:bold;font-size:20px; color:white;
}
.bsc .sch {
  background-color: #a00929;
}

.bsc .styled-link:hover {
  background-color: #0056b3;
}


.call-wrapper {
  border: 2px solid #0a4bd7;
  border-radius: 10px;
  padding: 16px 24px;
  background-color: #f9fbff;
  max-width: 100%;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.call-wrapper .label {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.call-wrapper .phone a.icon-contact-link {
  font-size: 22px;
  font-weight: bold;
  color: #0a4bd7;
  text-decoration: none;
}

.call-wrapper .phone a.icon-contact-link:hover {
  text-decoration: underline;
}

.bfe, .bcut, .bsm {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}
.styled-link.sch,
.styled-link.scp {
  background-color: #0340c2;
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.styled-link.sch:hover,
.styled-link.scp:hover {
  background-color: #0840bd;
  text-decoration: none;
}
.bsm img {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  padding: 2px;
}

.main-menu a {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  display: inline-block;
}

/* .main-menu a:hover,
.main-menu .is-active > a {
  background-color: #0840bd;
  text-decoration: none;
  border-radius: 6px;
} */

#block-schedule {
  padding: 20px 80px;
}


@media only screen and (min-width: 769px) {
.blogo {
  padding: 20px 80px;
}
.main-menu {
  background-color: #0840bd;    height: 37px;

  text-align: center;        background: #05058f;
}
.main-menu .navbar-nav {
 display:inline-block;float: none;
}
.main-menu a {
  font-size: 18px;
}
.main-menu .nav > li > a {
    padding: 9px;color: white;
}
.bsc a {
  font-size: 16px;
  font-family: 'Montserrat';
  text-transform: uppercase;
}
/* .main-menu li.active a,
.main-menu li.active-trail a,
.main-menu a.is-active,
.main-menu a[aria-current="page"] {
    border-bottom: 3px solid #d9232e; 
  color: #d9232e; 
  padding-bottom: 2px; 
  text-decoration: none;

} */
/* .main-menu a.is-active,
.main-menu a[aria-current="page"] {
  position: relative;
  color: #d9232e;
  text-decoration: none;
} */

.main-menu a.is-active::after,
.main-menu a[aria-current="page"]::after {
  content: "";
  display: block;
  /* width: 60px;   */
  height: 2px;   
  background-color: #f46303; /* underline color */
  margin: 5px auto 0;        /* center align */
}
/* HOVER underline (only for hovered <a>) */
.main-menu a:hover::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #999999; /* different color on hover */
  margin: 5px auto 0;
}

.main-menu a {
  position: relative;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  display: inline-block;
}

.main-menu a {
  position: relative; /* Required for absolute ::after positioning */
}

/* Active: solid underline */
.main-menu a.is-active::after,
.main-menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: 60px;
  height: 3px;
  background-color: #f46303;
}

/* Hover: lighter or thinner underline */
.main-menu a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: 60px;
  height: 2px;
  background-color: #999999;
}


/* Optional: change text color on hover */
/* .main-menu a:hover {
  color: #f46303;
  text-decoration: none;
} */



.bsc .s {
  display: block;
}
/* .bsc .styled-link {
  display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
} */

/* .main-menu {
  padding-left: 7%;
} */


#block-schedule {
  display: flex;
  justify-content: right;
  margin-top: -10px;
  margin-bottom: 15px;
}

#block-schedule img {
    vertical-align: middle;
    width: 100px;
    height: 70px;
}



}

@media only screen and (max-width: 1162px) and (min-width: 992px) {
.bsc .sch, .bsc .styled-link {
  width: 100%;
}
}
@media only screen and (max-width: 992px) and (min-width: 768px) {

.main-menu {
    margin-top: 0;
}
.styled-link {
 padding: 10px 20px;
}

.call-wrapper {
    margin-left: 15%;
}
/* mobile menu */
#block-schedule {
        display: block;
        padding: 0;
        float: right;
        text-align: right;
        padding-top: 20px;
        padding-right: 20px;
}

.menu-click {
    position: relative;float: right;display:block;z-index: 999;
        background: #05058f;
}

.res-menu-click {
  padding: 5px 10px;display: inline-block;
}

.res-menu-click span {
  display: block;
  background-color: #efecec;
  height: 2px;
  width: 25px;
  margin-top: 6px;
  margin-bottom: 4px;
  transform: rotate(0deg);
  position: relative;
  opacity: 1;
  font-size: 0;
}


.res-menu-click span:nth-child(1),
.res-menu-click span:nth-child(3) {
  transition: transform .35s ease-in-out;
}

.res-menu-click.active span:nth-child(1),
.res-menu-click.active span:nth-child(3) {
  position: absolute;
  top: 16px;
}

.res-menu-click.active span:nth-child(1) {
  transform: rotate(135deg);
}

.res-menu-click.active span:nth-child(2) {
  visibility: hidden;
  background-color: transparent;
}

.res-menu-click.active span:nth-child(3) {
  transform: rotate(-135deg);
}


}

@media only screen and (max-width: 768px) {

/* mobile menu */
.header-section-reg .sc {
}
.container-fluid.header-section-reg section{
  font-size: 14px;
}
.header-section-reg .bsm{
    text-align: right;        padding-right: 15px;
}
.header-section-reg .bcut{
    text-align: left;
}
.bfe, .bcut, .bsm {
    display: inline-block;
}
.main-menu{
  padding: 0;
}
.main-menu .navbar-nav {
  background: #0566e1;
}
.main-menu .nav>li {
  position: relative;
  display: block;
  border: 1px solid white;
  text-align: center;
}
.main-menu a {
  color: #ffffff;
}
.navbar-nav>li>a {
  color: #ffffff;
  font-size: 18px;
}
/* .main-menu .nav>li>.is-active {
  padding-bottom: 5px;
  color: white;
  font-weight: bold;
    background-color: rgb(34, 0, 255);
}
.mainmenu li a:hover {
  text-decoration: none;
  font-weight:bold;font-size:24px;
} */
#block-subtheme-main-menu .navbar-nav>li>a {
    color: #ffffff;
    font-size: 18px;
}
.menu-click {
    position: relative;
    text-align: center;
    padding-bottom: 2px;  
          /* padding-top: 25px; */
}

#block-freeestimate {
    background-color: #ee860a;
}
#block-contactustoday {
    display: block;
}
a.styled-link.sch {
    color: white;
    background-color: #ee860a;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 18px;
    font-family: monospace;
}
a.styled-link.sch span.glyphicon.glyphicon-calendar {
    padding: 0;
    color: white;
}

.res-menu-click {
  right: 15px;
  top: 50%;
  /*transform: translateY(-50%);*/
  /* height: 45px; */
  line-height: 1;
  padding: 5px 10px;display: inline-block;
}

.res-menu-click span {
        display: block;
          background-color: #f39d05;
          height: 4px;
          width: 35px;
          margin-top: 6px;
          margin-bottom: 4px;
          transform: rotate(0deg);
          position: relative;
          opacity: 1;
          font-size: 0;
}

.res-menu-click span.middle {
  width: 25px;
}

.res-menu-click span:nth-child(1),
.res-menu-click span:nth-child(3) {
  transition: transform .35s ease-in-out;
}

.res-menu-click.active span:nth-child(1),
.res-menu-click.active span:nth-child(3) {
  position: absolute;
  top: 16px;
}

.res-menu-click.active span:nth-child(1) {
  transform: rotate(135deg);
}

.res-menu-click.active span:nth-child(2) {
  visibility: hidden;
  background-color: transparent;
}

.res-menu-click.active span:nth-child(3) {
  transform: rotate(-135deg);
}


.mainmenu {
  display: none;
}

.mainmenu.show {
  display: block; z-index: 1;        padding: 10px;
}
}
@media only screen and (min-width: 1016px) {
  .res-menu-click {
    display: none;
}
}


