@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
body{
   line-height: 1.5 !important;
}

h1, h2, h3, h4, h5, h6{
   position: relative;
   font-family: 'Poppins', sans-serif !important;
   margin-bottom: 0px; 
}

p, ul li{
 line-height: 24px !important; 
 letter-spacing: .025em;
 font-family: sans-serif !important; 
}

a{
  text-decoration: none !important;
}

.banner-slider .d-appointment-button, 
.btn-comn a,
.btn-comn p,
.btn-com {
    display: inline-block;
    position: relative;
    border: 1px solid #fbfbfb !important;
    background: #fbfbfb;
    padding: 0.965em 3.85em !important;
    transition: all 100ms ease;
    margin: 0 auto;
    cursor: pointer;
}

.banner-slider .d-appointment-button:before,
.btn-comn a:before,
.btn-comn p:before,
.btn-com::before {
    content: '';
    position: absolute;
    inset: 0;
    inset: 0.125em;
    border: 2px solid #c1161c;
    transform-origin: center;
    transition: all 100ms ease;
    z-index: 1;
}

.banner-slider .d-appointment-button:focus,
.btn-comn a:hover, .btn-comn a:focus,
.btn-comn p:hover, .btn-comn p:focus,
.btn-com:hover, .btn-com:focus {
    background: #fff;
    color: #2d2e2e !important;
    border: 1px solid #c1161c !important;
}

.banner-slider .d-appointment-button:hover:before, 
.banner-slider .d-appointment-button:focus:before,
.btn-comn a:hover:before, .btn-comn a:focus:before,
.btn-comn p:hover:before, .btn-comn a:focus:before, 
.btn-com:hover:before, .btn-com:focus:before {
    inset: -.35em;
}

.banner-slider .d-appointment-button,
.btn-comn a,
.btn-comn p,
.btn-com input{
   text-transform: uppercase;
   color: #c1161c;
   font-weight: 900;
   letter-spacing: .125em;
}

.banner-slider .d-appointment-button,
.btn-comn a{
  padding: 0.75em 2.65em !important;
  font-size: 16px !important;
}
/** heading css start **/
.subtitle h5{
    letter-spacing: .25rem;
}

.main-sec1 h1, .main-sec1 h2,
.aside h1, .aside h2{
  display: inline-block;
}

 .main-sec1 h1::before, .main-sec1 h2::before{
    content: '';
    position: absolute;
    inset: 0;
    top: unset;
    width: 100%;
    right: 0;
    bottom: -10px;
    height: 5px;
    background: #c1161c;
    transform: scaleX(.45);
}

.aside  h1 span,
.main-sec1 h1 span {
    background: linear-gradient(180deg,#c1151b 43%,#2d2e2e 100%);
    color: transparent;
    -webkit-background-clip: text;
}

.d-privacy-policy-content h1:before,
.d-privacy-policy-content h3:before,
.d-location-hours-heading>h2:before,
.d-contact-us-form-heading:before,
.d-service-card-title:before,
.sec-3-box h3:before,
.aside h1::before,
.aside h2::before,
.aside h3::before,
.aside h4::before,
.aside h5::before,
.aside h6::before {
    content: '';
    position: absolute;
    inset: 0;
    top: unset;
    width: 2.5em;
    bottom: -15px;
    height: 5px;
    background: #c1161c;
}

.d-service-card-title:before{
  left: 15px;
}
/** container css start **/
.px_16 .container{
  padding: 0 16px !important;
}

.px_32 .container{
  padding: 0 32px !important;
}

/** slider css  start**/
.d-slider-caption br {
    display: none;
}

.banner-slider {
    max-height: 600px;
}

#u_content_custom_slider_1 .d-con-slider .d-slider-item .d-slider-caption h1::before {
    content: '';
    position: absolute;
    inset: 0;
    top: unset;
    width: 2.5em;
    bottom: -15px;
    height: 5px;
    background: #c1161c;
}

#u_content_custom_slider_1 .d-con-slider .d-slider-item .d-con-slider-caption {
    margin-left: 144px;
    max-width: 650px;
    margin-bottom: 30px;
}

#u_content_custom_slider_1 .d-con-slider .d-slider-item .d-con-slider-caption h1 {
    color: #fbfbfb;
    font-size: 48px;
    text-transform: capitalize;
    font-weight: 700 !important;
    width: fit-content;
    margin-bottom:  40px !important;
}

#u_content_custom_slider_1 .d-con-slider .d-slider-item .d-slider-caption h2, 
#u_content_custom_slider_1 .d-con-slider .d-slider-item .d-slider-caption p {
    display: none;
}

/** affiliation css start **/
#u_content_custom_affiliates_1 .d-affiliates-container {
    max-width: 70%;
    margin: auto;
}

#u_content_custom_affiliates_1 .d-affiliate {
    width: auto !important;
}

.d-affiliates-container .d-affiliate img {
    width: 100%;
    flex: 1 1 50%;
    max-width: 100px !important;
    min-width: 50px;
    background: rgba(1,1,1,.05);
    object-fit: contain;
    padding: 0.5em;
    aspect-ratio: 2/2;
}

/** hiring modal css start **/
#popupAnnouncement .modal-dialog {
    max-width: 500px !important;
    border-radius: 10px;
}

#popupAnnouncement .modal-dialog .modal-content{
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
}

#popupAnnouncement .modal-dialog .modal-content .d-close-modal {
    position: absolute;
    right: 30px;
    top: 30px;
    filter: brightness(0) invert(1);
    opacity: 1;
    font-size: 10px;
}

#popupAnnouncement .modal-dialog .modal-content .modal-header:first-child {
    padding: 0;
}

#popupAnnouncement .modal-dialog .modal-content .modal-header {
    padding: 23px 15px;
    background-color: #2d2e2e;
}

#popupAnnouncement .modal-dialog .modal-content .modal-header h2 {
    text-align: left !important;
    color: #c1161c;
    font-size: 1.5rem;
    font-weight: bold;
}

#popupAnnouncement .modal-dialog .modal-content > div {
    padding-right: 40px !important;
    padding-left: 40px !important;
}

#popupAnnouncement .modal-dialog .modal-content .modal-body{
    padding-bottom: 40px !important;
}

#popupAnnouncement .modal-dialog .modal-content .modal-body a {
    background: #c1161c;
    width: max-content;
    padding: 0.75em 1.75em;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: all 300ms cubic-bezier(.77,0,.25,1.29);
}

#popupAnnouncement .modal-dialog .modal-content .modal-footer {
    display: none;
}

#apptSubmitBtn {
    background-color: #5cb85c;
    color: #fff;
}

#apptSubmitBtn:hover {
    background-color: #306f30;
    color: #fff;
}

@media (max-width: 990.98px){
#u_content_custom_slider_1 .d-con-slider .d-slider-item .d-con-slider-caption {
    display: block !important;
    margin-left: 30px;
    margin-bottom: -30px;
}
}

@media screen and (max-width: 800px){
   .main-sec1 h1::before,.main-sec1 h2::before {
      transform: unset;
      width: 2.5em;
    }
   /** slider css start **/
   .banner-slider{
      height: 300px !important;
   }

  .banner-slider>ul>li{
    height:100%;
  }

  .banner-slider>ul>li img{
      object-fit: cover;
   } 

   .banner-slider .hidden-xs.d-con-slider-caption {
    display: block !important;
   }

   #u_content_custom_slider_1 .d-con-slider>ul>li>div {
     bottom: 50px !important;
    }
 
   #u_content_custom_slider_1 .d-con-slider .d-slider-item .d-con-slider-caption h1 {
      font-size: 32px;
      margin-bottom: 30px !important; 
    }
    /** slider css end **/


   /** affiliates css start **/
   #u_content_custom_affiliates_1 .d-affiliates-container{
     max-width: 100%;
   }
  
}

.modal-body {
    max-height: unset !important;
    padding: 1em !important;
}