/*
Theme Name: Divi Child Template
Version: 1.0
Description: A customized version of Divi which adds a number of tiny features you need.
Template: Divi
*/

/* -----------------------------------------------------------------------
 * Base Style
 * ----------------------------------------------------------------------- */
body {
	color: #2D2D2D;
	font-family: 'Arial', sans-serif;
	font-weight: 400;
	line-height: 24px;
}


body {
  font-size: 17px !important;
}

h1 {
	font-weight: bold;
}
#homepage-heading h1 {
	font-size: 36px !important;
}

.home-badges{display:flex;/* max-width: 100%; *//* width: 100%; */gap: 20px;}
.home-badges img{
	width:fit-content;
	height: 136px !important;
}
.home-title{
	color: #ba0d2f !important;
}

.entry-title.main_title {
	color: #000;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
}

.et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h2.et_pb_slide_title {
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
  color: #002D72 !important;
text-shadow: -2px 1px #fff;
}

blockquote {
	border: 0;
  padding-left: 0;
}

.wpcr3_item_name a {
	color: #BA0C2F!important;
	text-decoration: underline;
}

.button {
    position: relative;
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    text-shadow: none;
    padding: 17px 10px;
    /* margin-top: 30px; */
    margin-bottom: 0px;
    transition: 0.3s ease-in-out;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    width: 235px;
    border: solid 1px #fff;
}

.slider-button-call span, .slider-button-get span{
  position: absolute;
  display: block;
}
.slider-button-call span:nth-child(5), .slider-button-get span:nth-child(5){
  height: 3px;
  width:200px;
  top:0px;
  left:-200px;
  background: linear-gradient(to right, rgba(0,0,0,0), #f81724);
  border-top-right-radius: 1px;
  border-bottom-right-radius: 1px;
  animation: span1 2s linear infinite;
  animation-delay: 1s;
}

@keyframes span1{
  0%{
      left:-200px
  }
  100%{
      left:200px;
  }
}
.slider-button-call span:nth-child(2), .slider-button-get span:nth-child(2){
  height: 70px;
  width: 3px;
  top:-70px;
  right:0px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #f81724);
  border-bottom-left-radius: 1px;
  border-bottom-right-radius: 1px;
  animation: span2 2s linear infinite;
  animation-delay: 2s;
}
@keyframes span2{
  0%{
      top:-70px;
  }
  100%{
      top:70px;
  }
}
.slider-button-call span:nth-child(3), .slider-button-get span:nth-child(3){
  height:3px;
  width:200px;
  right:-200px;
  bottom: 0px;
  background: linear-gradient(to left, rgba(0,0,0,0), #f81724);
  border-top-left-radius: 1px;
  border-bottom-left-radius: 1px;
  animation: span3 2s linear infinite;
  animation-delay: 3s;
}
@keyframes span3{
  0%{
      right:-200px;
  }
  100%{
      right: 200px;
  }
}

.slider-button-call span:nth-child(4), .slider-button-get  span:nth-child(4){
  height:70px;
  width:3px;
  bottom:-70px;
  left:0px;
  background: linear-gradient(to top, rgba(0,0,0,0), #f81724);
  border-top-right-radius: 1px;
  border-top-left-radius: 1px;
  animation: span4 2s linear infinite;
  animation-delay: 4s;
}
@keyframes span4{
  0%{
      bottom: -70px;
  }
  100%{
      bottom:70px;
  }
}

.button-call {
	color: #fff;
}
.button-call:hover {
	background-color: #000;
	color:#fff;
	border-color:#000;
}
.button-get {
	background-color:transparent;
	color: #fff;
}
.button-get:hover {
	background-color: #BA0C2F;
	color:#fff;
}
.slider-button-call, .slider-button-get {
	text-align:center;
	position: relative;
	overflow: hidden;
	border-radius:10px;
}
.slider-button-call, .slider-button-get {
}
#location strong {
  	color: #002D72;
}

#servcss {
	list-style-type: none;
	padding: 0;
}

#servcss li {
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
  	margin-bottom: 0.3em;
}

/* Social Icons */
#social-icons {
	text-align: left;
}

/* -----------------------------------------------------------------------
 * Header Style
 * ----------------------------------------------------------------------- */
/* Top header */
#main-header {
  background-color: #fff;
	box-shadow: 0 0px 0 rgb(0 0 0 / 10%);
}
#main-header.et-fixed-header {
    -webkit-box-shadow: 0 0 0px rgb(0 0 0 / 10%) !important;
    box-shadow: 0 0 0px rgb(0 0 0 / 10%) !important;
}
header > .et_menu_container {
    max-width: 1350px !important;
}
#main-header,
#main-header.et-fixed-header {
	filter:drop-shadow(0 0 0px rgba(0, 0, 0, 0.25)) !important;
}

/* Logo */
.logo_container {
  height: 100%!important;
  width: 100%;
  text-align: left;
}

.et-fixed-header .logo_container, .logo_container {
  padding: 0;
}

.text-logo {
  position: relative;
  display: inline-block;
  color: #000;  
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: bold;
  line-height: 32px;  
  text-transform: uppercase; 
  transition: 0.3s;
}

/* Navigation */
#et-top-navigation {
  	background-color: #002d72;
  	/* padding:0 0 20px; */
  	max-width: 1080px;
  	margin: auto;
  	border-top-right-radius: 20px;
}

#top-menu li {
	padding-right: 0px;
	margin-right: -4px;
}

#top-menu li a {
	font-family: 'Arial', sans-serif;
	padding: 15px 18px !important;
	transition: 0.4s ease-in-out;
	/* border-left:1px solid #ddd; */
}


#top-menu li a:hover {
	background:#F7F7F8;
	color: #BA0C2F!important;
	opacity: 1!important;
}
#top-menu>li:last-child a {/* border-right:1px solid #ddd; */}

#top-menu .current-menu-item > a {
	opacity: 1!important;
}

#main-header.et-fixed-header #top-menu li.menu-item-object-custom:last-child a {
	color:#000 !important;
}

/* mobile */
.mobile_menu_bar::before, .select_page {
	color: #000!important;
}

#et_mobile_nav_menu, .et_header_style_centered #main-header .mobile_nav {
	/* background-color: #fff!important; */
}

.et_mobile_menu {
	padding: 2% 5%;
}

#mobile_menu {
	background-color: #002D72!important;
	text-align: center;
}

.et_mobile_menu li a {
	color: #fff;
}

.et_monarch .et_social_mobile {
  	width: 100%!important;
}

/* Scroll Down Button */
.scroll-down-btn {
  z-index: 99999;
  position: absolute;
  bottom: 35px;
  text-align: center;
  margin: 0 auto;
  left: 0;
  right: 0;
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
  padding: 10px;
  border-radius: 40px;
  background-color: #BA0C2F;
}

.scroll-down-btn:hover {
  opacity: 0.8;
}

/* -----------------------------------------------------------------------
 * Sidebar Style
 * ----------------------------------------------------------------------- */
.widgettitle {
	position: relative;
	color: #002D72!important;
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-weight: 600;
	padding-bottom: 15px;
	margin-bottom: 25px;
	border-bottom: 1px solid #eee; 
}

.widgettitle:before {
  position: absolute;
  content: "";
  display: block;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 3px;
  background-color: #BA0C2F; 
}

#sidebar {
  color: #525252;
}

#sidebar .textwidget br:nth-child(4), #sidebar .textwidget br:nth-child(5) {
  display: none;
}

#sidebar #servcss li {
  position: relative;
/*   padding-left: 25px; */
  transition: 0.4s ease-in-out;
}

/* #sidebar #servcss li:before {
  position: absolute;
  content: '\f00c';
  top: 0;
  left: 0;
  color: #BA0C2F;
  font-family: 'FontAwesome';
} */

#servcss svg {
  display: none;
}



.content-title {
  position: relative;
}

.content-title span {
  font-weight: 300;
}

/* -----------------------------------------------------------------------
 * Testimonial
 * ----------------------------------------------------------------------- */
.home-testimonial .heading {
	position: relative;
	font-family: 'Raleway', sans-serif;
	font-size: 30px;
	font-weight: bold;
 	line-height: 40px;
}
/*
.home-testimonial .heading:before {
	position: absolute;
	content: '\f005 \f005 \f005 \f005 \f005';
	top: -33px;
	left: 50%;
	color: #BA0C2F;
	font-family: 'FontAwesome';	
	font-size: 15px;
	transform: translateX(-50%);
}
*/
.home-testimonial blockquote {
	border: 0;
	margin-bottom: 0;
	padding-left: 0;
	padding-bottom: 0 !important;
}

.home-testimonial div.wpcr3_review div.wpcr3_review_title, 
.home-testimonial div.wpcr3_review div.wpcr3_review_ratingValue,
.home-testimonial div.wpcr3_review div.wpcr3_review_datePublished,
.home-testimonial div.wpcr3_review div.wpcr3_review_author {
  	display: none!important;
}

.home-testimonial .wpcr3_item_name a {
	color: #fff!important;
}

.btn-testimonials a {
	background-color: #BA0C2F;
	color: #fff;
	text-transform: uppercase;
	padding: 15px 25px;
	font-size: 14px;
	font-weight: 600;
	transition: 0.3s ease-out;
}
.btn-testimonials a:hover {
	background-color:#000;
}
/***** TESTIMONIALS FORM *****/
.wpcr3_respond_2 input[type="text"] {
    margin: 3px 0;
}
.wpcr3_table_2 td {
    font-size: 1em !important;
}
.wpcr3_leave_text {
	font-size: 1.1em;
}
.wpcr3_leave_text {
    margin-bottom: 20px;
}
@media (min-width: 981px) {
.wpcr3_respond_2 input[type="text"],
.wpcr3_respond_2 textarea {
    min-width: 100%;
}
.wpcr3_table_2 td {
    text-align: left !important;
}
.wpcr3_review_form_rating_field label {
    margin: 6px 0 !important;
}
.wpcr3_button_1 {
    margin-top: 10px;
}
}
@media (max-width: 980px) {
.wpcr3_respond_3,
.wpcr3_aggregateRating,
.wpcr3_table_2 td {
   	text-align: center !important;
}
.wpcr3_div_2 {
    width: 100%;
}
.wpcr3_table_2 tr:last-of-type td {
    margin: 20px auto 0 !important;
}
.wpcr3_table_2 td {
    display: block;
	padding: 0 !important;
}
.wpcr3_table_2 td:first-child {
    margin-top: 10px !important;
}
.wpcr3_rating_style1_status {
    width: 85px !important;
}
.wpcr3_respond_2 input[type="text"],
.wpcr3_in_content textarea {
    width: 100% !important;
    min-width: unset !important;
}
.wpcr3_submit_btn, .wpcr3_cancel_btn {
    width: 40%;
}
}

/* -----------------------------------------------------------------------
 * Get a Free Estimate Style
 * ----------------------------------------------------------------------- */
#location h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 27px;
}

.free-estimate-heading {
  position: relative;
  color: #BA0C2F !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 30px;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.free-estimate-heading span {
	    /* color: #BA0C2F; */
}
textarea {
  resize: none;
}

#contactForm input[type=text],
#contactForm input[type=password],
#contactForm input[type=tel],
#contactForm input[type=email],
#contactForm input.text,
#contactForm input.title,
#contactForm textarea,
#contactForm select {
  /* border-style: none none solid; */
  border-width: 1px;
  border-color: #000 #000 #c3c3c3;
  color: #333!important;
  padding: 15px 15px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.42857143;
  margin: 10px 0px!important;
  border-radius: 0px;
  transition: 0.3s linear;
  width: 100% !important;
}

#contactForm input[type=text]::placeholder,
#contactForm input[type=password]::placeholder,
#contactForm input[type=tel]::placeholder,
#contactForm input[type=email]::placeholder,
#contactForm input.text::placeholder,
#contactForm input.title::placeholder,
#contactForm textarea::placeholder,
#contactForm select {
 color: #002D72!important;
}

#contactForm input[type=text]:focus,
#contactForm input[type=password]:focus,
#contactForm input[type=tel]:focus,
#contactForm input[type=email]:focus,
#contactForm input.text:focus,
#contactForm input.title:focus,
#contactForm textarea:focus,
#contactForm select:focus {
  opacity: 1;
}

#contactForm div:nth-child(5) img {
  float: left; margin-top: 5px;
}

#contactForm div:nth-child(5) input {
  float: right;
  width: 50% !important;
  height: 50px;
  margin: 0 !important;
}

#submitter {
  font-size: 16px;
  padding: 20px 30px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600 !important;
  color: #fff;
  cursor: pointer;
  height: auto !important;
  -webkit-border-radius:0px;
  -moz-border-radius: 0px;
  -o-border-radius: 0px;
  background-color: #BA0C2F;
  border:2px solid #BA0C2F;
  border-radius:0px;  
  margin-top: 20px!important;
  overflow: hidden;
  transition: 0.3s;
	width: 100% !important;
}

/* -----------------------------------------------------------------------
 * Footer Style
 * ----------------------------------------------------------------------- */
#main-footer {
	background-color: #030303;
	padding-top: 100px;
}

#main-footer #footer-widgets {
    margin-bottom: 30px;    
    padding: 3% 0 0;
}

#main-footer .footer-widget {
	color: #f7f7f7!important;
}

#main-footer .footer-widget strong {
	color: #fff!important;
}

#main-footer .footer-widget .et_pb_widget {	
	float: none;
}

#main-footer #footer-widgets .footer-widget:nth-child(2) > div {
    width: 100%;
}

#main-footer h4 {
	position: relative;
	color: #fff!important;
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
	padding-bottom: 13px;
	margin-bottom: 17px;
}

#main-footer h4:before {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	width: 30px;
	height: 3px;
	background-color: #BA0C2F;
}

.hours th,
.openinghours td {
  text-align: left !important;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400!important;
  text-shadow: none !important;
}

.openinghours td, .hours th {
  color: #f7f7f7!important;
}

.openinghours tr td:last-child {
	text-align: right!important;
}

#current-day {
    background-color: transparent;
}

#current-day td {
	color: #fff!important;
	font-weight: 600!important;
}

#text-7 .textwidget br,
#text-7 .textwidget strong {
    display: none;
}

#footer-bottom {
	background-color: transparent!important;
	color: white;
}

#footer-bottom .container {  
  border-top: 3px solid rgba(255,255,255,0.1);
  padding: 25px 0;
}

/* -----------------------------------------------------------------------
 * Helper Styles
 * ----------------------------------------------------------------------- */
/*#section-1,
#home-testimonial-wrapper, 
#main-footer,
#footer-bottom {
  position: relative;
}

#home-testimonial-wrapper:before, 
#main-footer:before {
  position: absolute;
  content: "";
  top: 0;
  left: -15px;
  width: 40%;
  height: 35px;
  background-color: #fff;
  transform: skew(-35deg);
}

#section-1:after,
#home-testimonial-wrapper:after, 
#footer-bottom:after {
  position: absolute;
  content: "";
  bottom: 0;
  right: -15px;
  width: 40%;
  height: 35px;
  background-color: #fff;
  transform: skew(-35deg);
}

#footer-bottom:after, #section-1:after {
  top: -35px;
}

#section-1:after {
  background-color: #172646;
}
*/

/* -----------------------------------------------------------------------
 * Animation Style
 * ----------------------------------------------------------------------- */
/* Bounce */
@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
 
@-webkit-keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }

    40% {
      -webkit-transform: translateY(-30px);
      transform: translateY(-30px);
    }

    60% {
      -webkit-transform: translateY(-15px);
      transform: translateY(-15px);
    }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

/* -----------------------------------------------------------------------
 * Helper Style
 * ----------------------------------------------------------------------- */
.pull-right { float: right!important; }
.pull-left { float: left!important; }

/* -----------------------------------------------------------------------
 * Media Queries Style
 * ----------------------------------------------------------------------- */

@media (max-width: 980px) { 
#location h3 {
    text-align: center;
}

.home ul#servcss {
    text-align: center;
}
  .et_header_style_centered #main-header {
    padding: 0px 0 0;
	 
  }
	
  .text-logo {
		width:unset;
  }




  .logo_container {
    position: static;
    text-align: center;
  }

  /*.text-logo {
    margin-bottom: 15px;
  }*/

  #mobile_menu {
    top: 33px;
    border-top: 0;
  }


  .home-testimonial .wpcr3_item_name a, .home-testimonial .heading, .home-testimonial .et_pb_text {
   	text-align: center;
  }
  
}

@media (max-width: 650px) { 
  .et_monarch .et_social_mobile {
      width: 50% !important;
  }
}


@media (max-width: 600px) { 

	
	.et_pb_slide_description{
  width: 100% !important;
padding-right: 0px !important;
}
	
}


@media (max-width: 500px) { 
  #contactForm div:nth-child(5) img {
    float: none;
    display: block;
    margin: 0 0 10px;
    width: 100%;
  }

	.text-logo{
		font-size: 24px;
	}
	
  #contactForm div:nth-child(5) input {
    float: none;
    width: 100% !important;
  }
}

@media screen and (max-width: 425px) {
  .et_pb_slide_description {
    width: 300px;
    padding: 60px 10px 100px 0;

  }	

  .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h2.et_pb_slide_title {
    font-size: 48px!important;
    line-height: normal;
  }
}


@media screen and (max-width: 375px) {
  .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h2.et_pb_slide_title {
    font-size: 38px!important;
  }
}
.et-fixed-header #top-menu li a {
    font-size: 12px;
}
/***** BODY FONT-SIZE *****/
body,
.wpcr3_content p {
    font-size: 17px !important;
}
/***** CENTER SLIDE DESCRIPTION/BUTTON *****/
@media screen and (max-width:600px) {
.et_pb_slide_description{
  width: 100% !important;
}
}
/***** SET MONARCH SHARE DROPDOWN WIDTH *****/
.et_monarch .et_social_mobile {
    width: 65% !important;
}
/***** FIX DROPDOWN ARROW POSITION *****/
.menu-item-has-children>a:after {
    top: unset !important;
    right: 3px !important;
}
/***** FIX DROPDOWN *****/
.sub-menu {
    padding: 0 !important;
    width: unset !important;
    border-top: 3px solid #ddd !important;
}
.sub-menu li {
    padding: 0 !important;
    line-height: 1.2em !important;
}
.sub-menu li a {
    border-left: 0 !important;
}
.et_mobile_menu .sub-menu {
    border: none !important;
}
/***** FIX MENU SIZING *****/
@media (min-width: 981px) {
.bottom-header{
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	max-width: 1080px;
	width: 100%;
	margin: auto;
}

.header-contacts-container{
		display: flex;
		align-items: flex-start;
		width: calc(100% - 300px);
		justify-content: space-around;
	}

.contact-info-phone,.work-days, .work-hours{
	display: flex;
	align-items: center;
}

.header-icon{
	position:relative;
}
	
.header-icon:before{
	content:'';
	width: 35px;
	height: 35px;
	background: transparent;
	display:block;
	position:absolute;
	z-index: 0;
	border: 2px solid #ba0e2f;
	top: 5px;
	left: -4px;
}
	
.contact-info-phone p, .work-days p, .work-hours p{
	display:flex;
	flex-direction:column;
	color: #000;
}	

.contact-info-phone a{
	color:#000;
}	

.contact-info-phone span, .work-days span, .work-hours span{
	font-size:14px;
}
	
.logo_container {
    max-width: 256px;
    text-align: center;
    display: table;
    /* padding: 20px 0 !important; */
    width: 100%;
}
span.logo_helper {
    display: none;
}
a.text-logo {
	line-height: 1em;
	display: table-cell;
    vertical-align: middle;
}
}
/***** MORE *****/
@media (max-width: 980px) {
	.et_pb_text,
	.et_pb_widget,
	.module-titles {
		text-align: center;
	}

}
/***** FOOTER, widgets , h1.entry-title *****/
@media (max-width: 980px) {
	#main-footer h4 {
    text-align: center;
}
	.widgettitle:before,
	#main-footer h4:before {
    width: 100%;
}
	body:not(.home) h1.entry-title {
    text-align: center;
    font-size: 24px;
    border-bottom: 1px solid #ccc;
}
	.et_pb_widget {
    text-align: center;
}
	footer .et_pb_widget {
		float: none;
	}
}
	#main-footer .container {
    width: 93%;
}
.payments strong, .payments br {
    display: none;
}


/* Full-width clickable mobile menu */
#et_mobile_nav_menu {
		width: 100%;
}
.mobile_menu_bar_toggle {
    height: 100%;
    width: 100%;
    right: 0 !important;
    top: 0 !important;
}
.mobile_menu_bar:before {
	right: 5px !important;
    left: unset !important;
    position: absolute;
    top: 1px;
}
ul#mobile_menu {
    top: 100%;
}
#et-top-navigation > .container.clearfix.et_menu_container {
    width: 100%;
}

#et-top-navigation > .container.clearfix.et_menu_container:after{
	display:none;
}

.estimate-btn{
	clip-path:polygon(0 0,calc(100% - .7em) 0,100% .7em,100% 100%,.7em 100%,0 calc(100% - .7em));
	background-color:#ba0e2f;
	padding: 11px;
}

.estimate-btn a{
	color:#fff;
}
/*****************************************
 ********   IF LOGO IS IMAGE     *********
 *****************************************/
.image-logo .logo_container a {
	display: block;
}



.et_header_style_centered #logo {
	position: static;
}

@media ( min-width: 981px ) {
	.image-logo header {
		transition: all .3s !important;
	}


	.image-logo #top-menu > li > a {
		transition: all .3s !important;
		color: #fff;
	}

}

@media ( max-width: 980px ) {
	.image-logo .logo_container {
		width: fit-content;
    	margin: 0 auto 25px;
		height: 100% !important;
	}
	.image-logo .logo_container,
	.image-logo #logo {
    	max-height: 120px !important;
		max-width: 100%;
		margin-top:20px;
}
	.header-contacts-container{
		display:none;
	}
}


/*
SIDEBAR FULL-WIDTH WIDGETS ON MOBILE
SIDEBAR LIST ADD BULLET
SIDEBAR TITLE FONT-SIZE
*/

h4.widgettitle {
    font-size: 1.2em;
}
.et_pb_widget svg {
    display: none;
}
@media (min-width: 981px) {
	.et_pb_widget li {
    list-style: disc inside;
	}
}
@media (max-width: 980px) {
	.et_pb_column .et_pb_widget:nth-child(n) {
    	width: 100% !important;
    	max-width: 100% !important;
    	margin-right: 0 !important;
    	margin-left: 0 !important;
	}
}

/***************************
FORMAT LISTS IN CONTENT ONLY
***************************/
article div:not(.et_pb_widget_area) ul:not(#servcss) li,
article div:not(.et_pb_widget_area) ol li {
    margin-bottom: 1em;
}

#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul,
#left-area ol,
.entry-content ol,
.comment-content ol,
body.et-pb-preview #main-content .container ol {
    padding-bottom: 0;
}

/***********
FOOTER FIXES
***********/
.fwidget {
    width: 100%;
}
#social-icons {
    text-align: inherit;
}

@media (max-width:980px) {
.et_pb_widget {
    text-align: center;
}
.paymentType {
    display: inline-block;
    float: none;
}
}

#social-icons .social-icon {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.75));
}


@media (max-width: 767px) {
.hours, .openinghours {
    width: 100%;
    text-align: center;
}
}

#top-menu li a {
text-transform: uppercase !important;
}

#mobile_menu li a {
text-transform: capitalize !important;
}

@media screen and (max-width: 981px) and (min-width: 767px) {
.footer-widget:nth-child(n) {
width: 100% !important;
}
#footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget {
margin-bottom: 5% !important;
}
#footer-widgets .footer-widget .fwidget {
margin-bottom: 5%;
}
.openinghours {
margin: none;
}
.hours, .openinghours {
width: 65%;
margin: 0 auto !important;
}
}

.top-header {
    background: #002D72;
    height: 50px;
}
.container_nav {
    display: flex;
    align-items: center;
    justify-content:center;
    /* width: 95% !important; */
    padding-left: 0px !important;
    padding-right: 0px !important;
    /* border: 1px solid #ddd; */
}
.container_nav {display:flex;align-items:center;/* width:95% !important; */padding-left:0px !important;padding-right:0px !important;/* border:1px solid #ddd; */justify-content: space-between;}
.contact-info-header {
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.contact-info-address-sc:before{
	content:'';
	width: 50%;
	height: 100%;
	background: #ba0e2f;
	display:block;
	position: absolute;
	z-index: -1;
	left: 0px;
}

.contact-info-address-sc:after{
	content:'';
	width: 0px;
	height: 0px;
	display:block;
	position: absolute;
	z-index: -1;
	left: calc(50% - 1px);
	top:0;
	border-bottom:50px solid #ba0e2f;
	border-right:70px solid transparent
}
.contact-info-address-sc {
	margin-right:25px;
	text-align: end;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.contact-info-address-sc, .contact-info-empty {
	color: #fff;
	width: 50%;
}
#main-header .fa-mobile {
	top:2px;
}
.top-header .fa {
	position:relative;
	color: #fff;
	font-size: 30px;
	font-weight: 500;
	line-height: 48px;
	text-align: center;
	margin-right:15px;
	transition: all 500ms ease 0s;
}

.header-contacts-container .fa{
	position:relative;
	color: #f91745;
	font-size: 30px;
	font-weight: 500;
	line-height: 48px;
	text-align: center;
	margin-right:15px;
	font-family: 'FontAwesome';
	width: 29px;
}



.slider-section {
	padding:150px 0 !important;
}
.slider {
    /* background: rgb(255 255 255 / 92%); */
    /* border-left: 5px solid #BA0C2F; */
    /* padding:50px 50px; */
}

.slider-cn{
	margin-bottom:20px;
	text-align: center;
}
.little-title-slider {
	font-weight: bold;
	font-size: 25px;
	line-height: normal;
	color: #fff;
}
.big-title-slider {
	 color: #fff;
	 font-weight: bold;
	 font-size: 40px;
	 line-height: normal;
}
.slider-buttons {
	display:flex;
	align-items:center;
	justify-content: center;
	gap: 20px;
}
.square {
    height: 40px;
    width: 140px;
    margin: 0 auto;
    border-style: solid solid none;
    border-width: 16px;
    border-color: #BA0C2F;
}
.home h1.entry-title {
    font-size: 40px !important;
    font-weight: 800 !important;
    margin-top: 0;
    font-family: 'Raleway', sans-serif;
    color: #002D72;
    text-align: center;
    line-height: normal;
}

/* end services box */
.nap-section{
	display:flex;
	position: relative;
}
.nap-h{
	clip-path: polygon(0 100%, 100% 100%, 76% 50%, 100% 0, 0 0);
	background:#ba0d2f;
	width:30%;
}

.nap-h img{
	width: 70%;
}

.nap-d{
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.nap-d h3{
	color:#fff;
}
.nap-d .fa{
	color:#fff;
	background:#000;
	width: 50px;
	height: 50px;
	display:flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}
.nap-details{
	clip-path:polygon(100% 100%, 100% 0, 25% 0, 17% 50%, 25% 100%);
	background:#ba0d2f;
	width: 87%;
	position: absolute;
	left: 13%;
	height: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
	padding: 30px;
}
.title-testimonials {
    font-weight: bold;
    text-transform: capitalize;
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    line-height: normal;
}
.title-testimonials span {
	color:#BA0C2F;
}
.module-testimonials {
    width: 80%;
    background: #fff;
    padding: 15px 20px 40px;
    /* margin: -230px auto 0; */
    /* border-top: 16px solid #BA0C2F; */
    /* border-bottom: 16px solid #BA0C2F; */
    /* border-left: 16px solid #002D72; */
    /* border-right: 16px solid #002D72; */
    margin: auto;
    border: solid 2px #adadad;
    border-radius: 20px;
}
.home div.wpcr3_dotline {
    border-bottom: 0px dotted #ccc !important;
}

.title-services-list {
    color: #BA0C2F;
    font-weight: bold;
    text-align: center;
    font-size: 30px;
    line-height: normal;
    text-transform: capitalize;
}
.title-services-list span {
	color:#BA0C2F;
}
.home ul#servcss {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.home #servcss li {
    position: relative;
    font-weight: bold;
    margin: 0.3em 0;
    padding-left: 20px;
    margin-left: 10px;
    margin-right: 10px;
    display: inline-block;
}
.home #servcss li:before {
    position: absolute;
    content: '\f105';
    top: 0;
    left: 0;
    color: #BA0C2F;
    font-family: 'FontAwesome';
}
span.logo_helper {
    display: block;
}
.module-background-testimonials {
    background: url(https://foundationcontractorgreenville.com/wp-content/uploads/2022/08/background-review.jpg);
	background-size: cover;
    background-position: center;
    height: 500px;
    width: 100%;
}
@media screen and (max-width:1024px) {
.container_top_header {
    flex-direction: column;
    width: 100%;
}
	.col-left-slider {
		width:100% !important;
	}
}
@media screen and (max-width:980px) {
	.logo_container {
    margin-top: 20px;
    margin-bottom: 20px;
}
	#et-top-navigation {
    padding: 0 0 10px;
}
	
	.row-nap {
    padding: 50px 50px !important;
	}
	.row-services {
    padding-bottom: 0px !important;
}
body .row-services-last {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}
	.col-services {
    margin-bottom: 200px !important;
}
	
.col-address {
	border-top: 1px solid #d8eeff;
    border-bottom: 1px solid #d8eeff;
    border-left: 0px solid #d8eeff;
    border-right: 0px solid #d8eeff;
}
.et_header_style_centered #et_mobile_nav_menu {
    margin-top: 0px;
}
	  .wpcr3_review, .wpcr3_item_name {
    text-align:center;

  }

	.nap-section{
	display:flex;
	position: relative;
	flex-direction: column;
	height: 600px;
}
.nap-h{
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 50% 80%, 0 100%);
	background:#ba0d2f;
	width: auto;
	height: 300px;
	display: flex;
	justify-content: center;
	padding-top: 20px;
}

.nap-h img{
	width: auto;
	/* margin-bottom: 20px; */
	max-height: 200px;
}

.nap-d{
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.nap-d h3{
	color:#fff;
}
.nap-d .fa{
	color:#fff;
	background:#000;
	width: 50px;
	height: 50px;
	display:flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}
.nap-details{
	clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 99%, 0 24%);
	background: #ba0d2f;
	width: 100%;
	display: flex;
	gap: 20px;
	padding: 30px;
	height: 300px;
	flex-direction: column;
	position: relative;
	left: auto;
	justify-content: center;
}
}
@media screen and (max-width:600px) {
.contact-info-header {
}
	.contact-info-address-sc {
    /* margin-right: 0px; */
    justify-content: center;
    width: 300px;
}

	.top-header .fa{
		margin-right:2px;
	}
	.slider-buttons {
		flex-direction:column;
		/* align-items: flex-start; */
	}
	.slider-button-call {
    margin-right: 0px;
}
	.slider {
    padding: 40px 10px;
    text-align: center;
}
	.big-title-slider {
    font-size: 35px;
	}
	.row-nap {
    padding: 50px 20px !important;
}
	.col-nap {
    padding: 20px 0px;
}
	.module-testimonials {
    width: 90%;
	}
	.module-background-testimonials {
    height: 350px;
	}
	.slider-section {
    padding: 100px 0 50px!important;
    background-position: 75% 100%;
}


	.btn-testimonials a {
    display: block;
	}
	.col-services {
    margin-bottom: 150px !important;
}
}

/* Swiper container */
.mySwiper {
  width: 100%;
  padding: 40px 30px;
}

/* Slide box */

.title-services{
	color:#8b0100;
	text-align:center;
	font-size:25px;
	font-weight:600;
}
.services-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image */
  .services-box-img{
    height:100%;
  } 

  .services-box-img:before{
	  content:'';
	  height:100%;
	  width:100%;
	  background:#0000005c;
	  position:absolute;
	  left:0;
  }
  
.services-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* Title in center */
.services-box-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* color: #fff !important; */
  z-index: 2;
}
.services-box-title h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

/* Content text hidden initially */
.services-box-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
}

/* Red overlay semicircles */
.services-box::before,
.services-box::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: #ba0d2f;
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 1;
}

.services-box::before {
  top: -75px;
  left: -75px;
}

.services-box::after {
  bottom: -75px;
  right: -75px;
}

/* Hover effect: circles expand to cover full */
.services-box:hover::before,
.services-box:hover::after {
  width: 250%;
  height: 250%;
  top: -75%;
  left: -75%;
  bottom: auto;
  right: auto;
  border-radius: 0;
}

/* Hide title and show content on hover */
.services-box:hover .services-box-title {
  opacity: 0;
}

.services-box:hover .services-box-content {
  opacity: 1;
}

/* Swiper navigation */
.swiper-button-next{
  color: #8b0000;
  right: 0px;
}

.swiper-button-prev {
  color: #8b0000;
  left: 0px;
}

.swiper-pagination-bullet-active {
  background: #8b0000 !important;
}

.last-section-wrapper {
  width: 100%;
  padding: 40px 0;
}

.last-section-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Columns */
.last-section-col {
  flex: 2;
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
	padding-top:20px;
}

 .last-section-img{
	 aspect-ratio:1/1;
 }

.last-section-col-2{
	padding-top:0px;
}

/* Red Experience Box */
.last-section-box {
  background: #ba0d2f;
  color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.last-section-icon span {
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
}

.last-section-years {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.last-section-text {
  font-size: 18px;
  font-weight: 500;
}

/* Images */
.last-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Responsive */
@media (max-width: 980px) {
  .last-section-row {
   
  }

	.container_nav{
		flex-direction:column;
	}
	#et_mobile_nav_menu{
		background: #d7d7d7;
	}
}
.last-section-title{
	color: #ba0d2f;
	font-weight:bold;
	font-size:25px;
}

#last-content-row:before{
	content:'';
	height:90%;
	width:110%;
	background:transparent;
	border: 10px solid #ba0d2f;
	position:absolute;
	left: -6%;
	z-index:-1;
}

.et_pb_section{
	background:transparent;
}