/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/


/**************************************************/
/*Hide Title descriptions on mouse hover*/
/**************************************************/
img	{
        	pointer-events: none;
		}


/**************************************************/
/* Custom Fonts */
/**************************************************/

h1, h2, h3 {	
	font-family: "gotham-black", sans-serif!important;
	font-weight: 400!important;
	font-style: normal;	
}


p {
	font-family: "gotham-black", sans-serif!important;
	font-weight: 400!important;
	font-style: normal;
}


/**************************************************/
/* Custom Menu */
/**************************************************/
.custom-nav .et-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.custom-nav .et-menu > li > a {
  background: linear-gradient(to bottom, #4a4a4a, #2b2b2b);
  color: #fff !important;
  padding: 10px 24px !important;
  text-align: center;
  border-radius: 2px;
  transition: all 0.2s ease;
  font-family: "gotham-black", sans-serif !important;
  font-style: normal !important;
  transform: scaleY(0.9);
  font-weight: 400 !important;
  white-space: nowrap;
  box-shadow:
    -2px -2px 5px rgba(220,220,220,0.15),
    -6px -6px 14px rgba(200,200,200,0.07),
     4px  4px 10px rgba(0,0,0,0.5),
    10px 10px 24px rgba(0,0,0,0.3);
}

.menu-custom-wrap {
  position: relative !important;
  top: -45px !important;
  left: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1555px) {
  .menu-custom-wrap {
    top: auto !important;
  }

  .custom-nav .et-menu {
    gap: 12px;
    justify-content: flex-end;
  }

  .custom-nav .et-menu > li > a {
    padding: 8px 16px !important;
    font-size: 13px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .menu-custom-wrap {
    top: -30px !important;
  }

  .menu-col-fix {
    width: 50%;
    float: right;
  }

  .menu-custom-wrap .et_pb_menu--style-centered .et_pb_menu__wrap {
    justify-content: right;
  }

  .custom-icons {
    top: -60px !important;
  }

  .custom-logo {
    width: 150px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .menu-col-fix {
    display: none;
  }

  .menu-custom-wrap {
    top: -20px !important;
  }

  .custom-logo {
    width: 100px !important;
  }
}

/**************************************************/
/* Custom Menu Gradient */
/**************************************************/

.custom-nav .et-menu > li.current-menu-item > a,
.custom-nav .et-menu > li.current_page_item > a,
.custom-nav .et-menu > li > a:active {
  background: radial-gradient(
    circle at 2% 2%,  /* moved from 30% → tighter to corner */
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );
}

.custom-nav .et-menu > li > a:hover {
  background: radial-gradient(
    circle at 98% 98%,  /* opposite corner */
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );
}

.custom-nav .et-menu > li > a:active {
  background: radial-gradient(
    circle at 2% 2%,
    #4dd3e2 0%,
    #4dd3e2 10%,   /* reduced from 22% → much subtler */
    #0065b5 100%
  );
}

.custom-nav .et-menu > li > a:hover {
  opacity: 1 !important;
  filter: none !important;
}

/**************************************************/
/* Custom Heading Fonts */
/**************************************************/


.custombody {
	
	font-family: "gotham-black", sans-serif!important;
	font-weight: 400!important;
	font-style: normal!important;
}


.custombody ul li{padding-bottom:20px!important;}

.heading2custom {
	font-family: "gotham-black", sans-serif!important;
	font-weight: 500!important;
	font-style: normal!important;
	transform: scaleY(0.8); /* < 1 = squish vertically */
}

.heading2customblue {
	font-family: "gotham-black", sans-serif!important;
	font-style: normal!important;
	transform: scaleY(0.8); /* < 1 = squish vertically */
	font-weight: 600 !important;
}

.heading3 {
	font-family: "gotham-black", sans-serif!important;
	font-style: normal!important;
	transform: scaleY(0.8); /* < 1 = squish vertically */
	font-weight: 500 !important;
}

.footertext{
	font-family: "gotham-black", sans-serif!important;
	font-weight: 400!important;
	font-style: normal!important;
	transform: scaleY(0.8); /* < 1 = squish vertically */
}


/**************************************************/
/* Custom Button Gradient */
/**************************************************/
.custom-btn {
  background: radial-gradient(
    circle at 2% 2%,
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );

  color: #fff;
  
  border-radius: 2px;
  border: none;

  box-shadow:
    -2px -2px 5px rgba(220,220,220,0.15),
    -6px -6px 14px rgba(200,200,200,0.07),
     4px  4px 10px rgba(0,0,0,0.5),
    10px 10px 24px rgba(0,0,0,0.3);

  transition: all 0.2s ease;
	
	font-family: "gotham-black", sans-serif!important;
	font-weight: 500!important;
	font-style: normal!important;
	transform: scaleY(0.8); /* < 1 = squish vertically */
}

/**************************************************/
/* Hover */
/**************************************************/
.custom-btn:hover {
  background: radial-gradient(
    circle at 98% 98%,
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );

  color: #fff;
}


/**************************************************/
/* Press / Click */
/**************************************************/
.custom-btn:active {
  background: linear-gradient(
    to bottom,
    #0080d3,
    #004470
  ) !important;

  transform: scaleY(0.8) translateY(1px);


}

/**************************************************/
/* Custom Button Grey */
/**************************************************/
.dark-shadow-btn {
  background: #3a3a3a;

  color: #fff !important;
  border: none;
  border-radius: 2px;

  padding: 12px 36px;

  text-transform: uppercase;
  letter-spacing: 1px;

  transition: all 0.25s ease;

  box-shadow:
    -2px -2px 5px rgba(220,220,220,0.14),
    -6px -6px 14px rgba(200,200,200,0.06),

     4px  4px 10px rgba(0,0,0,0.5),
    10px 10px 24px rgba(0,0,0,0.28);
	
	font-family: "gotham-black", sans-serif!important;
	font-weight: 500!important;
	font-style: normal!important;
	transform: scaleY(0.8); /* < 1 = squish vertically */
}

.dark-shadow-btn:active {
  background: #2f2f2f;




}
.dark-shadow-btn:hover {
  background: #4a4a4a !important;
  background-image: none !important;
}


/**************************************************/
/* Press / Click */
/**************************************************/
.dark-shadow-btn:active {
  background: linear-gradient(
    to bottom,
    #0080d3,
    #004470
  ) !important;




}

/**************************************************
 * Contact Form Submit 
**************************************************/
.et_pb_row_0_tb_footer .customsubmit .frm_button_submit {
  background: linear-gradient(to bottom, #4a4a4a, #2b2b2b) !important;
  color: #fff !important;
  border: none !important;

  padding: 12px 38px !important;
  border-radius: 2px !important;

  font-family: "gotham", sans-serif !important;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;

  cursor: pointer;
  transition: all 0.2s ease;

  box-shadow:
    -2px -2px 5px rgba(220,220,220,0.15),
    -6px -6px 14px rgba(200,200,200,0.07),
     4px  4px 10px rgba(0,0,0,0.5),
    10px 10px 24px rgba(0,0,0,0.3)!important;
}

/* Name, Email, Phone */
.et_pb_row_0_tb_footer .frm_form_fields input {
  	color: #fff !important;
	background:#262626!important;
	border-bottom:1px solid #4dd3e2!important;

}

/* Message field */
.et_pb_row_0_tb_footer .with_frm_style textarea {background:#fff!important; color: #888 !important; height:250px;}

.contactform-col  {
  background: rgba(20,20,20,0.85);

  box-shadow:
    -4px -4px 12px rgba(220,220,220,0.12),  /* soft top-left white */
    -10px -10px 28px rgba(200,200,200,0.05),

     6px  6px 14px rgba(0,0,0,0.55),        /* bottom-right dark */
    16px 16px 36px rgba(0,0,0,0.35);

  border-radius: 2px;
}

/**************************************************
/*Subcontractor Form
**************************************************/
.frm_fields_container h3{
	color:#4dd3e2;
	font-family: gotham-black, sans-serif !important;
	font-weight: 400 !important;
    font-style: normal !important;
	padding-top:20px;
}

#frm_form_2_container .frm_button_submit,
#frm_form_2_container .frm_prev_page{
	font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    color: rgb(255, 255, 255) !important;
    font-family: gotham, sans-serif !important;
    box-shadow: rgba(220, 220, 220, 0.15) -2px -2px 5px, rgba(200, 200, 200, 0.07) -6px -6px 14px, rgba(0, 0, 0, 0.5) 4px 4px 10px, rgba(0, 0, 0, 0.3) 10px 10px 24px !important;
    transition: 0.2s;
    background: linear-gradient(rgb(74, 74, 74), rgb(43, 43, 43)) !important;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: none !important;
    padding: 12px 38px !important;
    border-radius: 2px !important;
}

.with_frm_style .frm_scale input[type=radio]:before, .with_frm_style .frm_radio input[type=radio]:before, .frm_forms.with_frm_style .frm_fields_container .frm_checkbox input[type=checkbox]:not([disabled]):checked{
	    background-color: #4dd3e2 !important;
}
.frm_forms.with_frm_style .frm_fields_container .frm_radio input[type=radio]:not([disabled]):checked {
	border-color:#262626 !important;
}
.frm_forms .frm_page_bar input:hover{
	background-color:#fff!important;
}
/* Mobile */
@media (max-width: 500px) {
	.with_frm_style .frm_form_fields > fieldset {padding:10px;}
}
/**************************************************
/*Social Icons Footer 
**************************************************/
.image-inline-wrap .et_pb_column {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.image-inline-wrap .et_pb_image {
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* fine-tune just the email icon */
.image-inline-wrap .et_pb_image_4_tb_footer {
  transform: translateY(0px);
}




/**************************************************cv
 * Custom Post Slider 
**************************************************/
.project-carousel .swiper-slide {
  transform: scale(0.82);
  opacity: 0.85;
  transition: all 0.35s ease;
  z-index: 1;
}

.project-carousel .swiper-slide-active {
  transform: scale(1.08);
  opacity: 1;
  z-index: 5;
}

.project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-meta,
.project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-content,
.project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-excerpt,
.project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-summary {
  display: none !important;
}

.project-carousel .dsm-entry-wrapper {
	display: block;
	text-align: center;
	margin-top: 18px;
	color: #fff;
	padding-bottom:70px!important;
}

.project-carousel .dsm-entry-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}
/* Inactive slides */
.project-carousel .dsm-entry-image img,
.project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-thumbnail {
  height: 400px;
}

/* Active slide */
.project-carousel .swiper-slide-active .dsm-entry-image img,
.project-carousel .swiper-slide-active .dsm-entry-thumbnail {
  height: 500px;
}
.project-carousel .dsm-entry-meta {
  display: none !important;
}

.project-carousel .dsm-entry-title a {
  color: #777 !important;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.project-carousel .swiper-slide-active .dsm-entry-title a {
  color: #fff !important;
}


.project-carousel .swiper-container {
  padding-top: 90px;
  padding-bottom: 100px;
}

.project-carousel .dsm-grid-post-holder-inner {
  position: relative;
}

.project-carousel .dsm-entry-header {
  position: absolute;
  top: auto;
  bottom: 100%;       /* anchors to the top edge of dsm-grid-post-holder-inner */
  margin-bottom: 15px; /* consistent gap between title and image */
  left: 0;
  width: 100%;
  z-index: 20;
  text-align: center;
}

.project-carousel .dsm-entry-title a {
  color: #777 !important;
  transition: color 0.3s ease;
}

.project-carousel .swiper-slide-active .dsm-entry-title a {
  color: #fff !important;

}

.dsm_post_carousel_0 .dsm-post-carousel-item {
	padding-top:90px!important;
}

/*Navigation for image slider*/
.project-carousel .swiper-button-next,
.project-carousel .swiper-button-prev {
  width: 64px;
  height: 64px;

  border-radius: 50%;

  background: radial-gradient(
    circle at 2% 2%,
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );

  box-shadow:
    -2px -2px 5px rgba(220,220,220,0.15),
    -6px -6px 14px rgba(200,200,200,0.07),
     4px  4px 10px rgba(0,0,0,0.5),
    10px 10px 24px rgba(0,0,0,0.3);

  transition: all 0.3s ease;
}

/* Tablet */
@media (max-width: 980px) {
  .project-carousel .dsm-entry-image img,
  .project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-thumbnail {
    height: 300px;
  }

  .project-carousel .swiper-slide-active .dsm-entry-image img,
  .project-carousel .swiper-slide-active .dsm-entry-thumbnail {
    height: 380px;
  }
}

/* Mobile */
@media (max-width: 767px) {
	
.dsm_card_carousel .swiper-container, .dsm_image_carousel .swiper-container, .dsm_blog_carousel .swiper-container, .dsm_post_carousel .swiper-container {width:95%;}
	
	
 .project-carousel1 .swiper-button-next,
  .project-carousel1 .swiper-button-prev,
  .dsm_post_carousel_0 .swiper-arrow-button {
    top: 60px !important;
    transform: none !important;
    width: 32px;
    height: 32px;
  }
  .project-carousel1 .swiper-button-next::after,
  .project-carousel1 .swiper-button-prev::after {
    font-size: 22px !important;
  }
	
  .project-carousel .dsm-entry-image img,
  .project-carousel .swiper-slide:not(.swiper-slide-active) .dsm-entry-thumbnail {
    height: 200px;
  }

  .project-carousel .swiper-slide-active .dsm-entry-image img,
  .project-carousel .swiper-slide-active .dsm-entry-thumbnail {
    height: 250px;
  }
}

.dsm-post-carousel .dsm-post-excerpt {
    text-align: left !important;
	line-height:1.4em!important;
}

/* Disable title click on project carousel */
.project-carousel .dsm-entry-title a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

@media (max-width: 767px) {

  .project-carousel .dsm-entry-header {
    position: absolute;
    top: -65px;
    left: 0;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .project-carousel .dsm-entry-title {
    width: 100%;
    white-space: normal !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    line-height: 1.25em;
  }

  .project-carousel .dsm-entry-title a {
    display: block;
    width: 100%;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.25em;
  }

  .project-carousel .swiper-slide,
  .project-carousel .dsm-grid-post-holder-inner {
    overflow: visible !important;
  }
}
/**************************************************
 * Flex Buttons
**************************************************/

.button-inline-wrap .et_pb_button_module_wrapper {
  display: inline-block !important;
  width: auto !important;
  margin-right: 20px !important;
  margin-bottom: 0 !important;
  vertical-align: top;
}

.button-inline-wrap .et_pb_button_module_wrapper:last-child {
  margin-right: 0 !important;
}


/**************************************************
 * Equal Height Timeline
**************************************************/
.bottom-images-row .et_pb_column {
  display: flex !important;
  flex-direction: column !important;
}

.bottom-images-row .et_pb_module {
  width: 100%;
}

.bottom-images-row .card-images {
  margin-top: auto !important;
}

/**************************************************
 * Custom Timeline
**************************************************/

.custom-timeline .dsm_card_carousel_child {
  position: relative;
  background: #1e1e1e;
  border-radius: 2px;
  padding: 2px; /* gradient border thickness */
  overflow: hidden;

}

.custom-timeline .dsm_card_carousel_child::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 2px;

  background: radial-gradient(
    circle at 2% 2%,
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}



.custom-timeline-2 .dsm_card_carousel_child {
  position: relative;
  background: #1e1e1e;
  border-radius: 2px;
  padding: 2px; /* gradient border thickness */
  overflow: hidden;

}

.custom-timeline-2 .dsm_card_carousel_child::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 2px;

  background: radial-gradient(
    circle at 2% 2%,
    #4dd3e2 0%,
    #4dd3e2 22%,
    #0065b5 100%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
}



.custom-timeline-2 .dsm_card_carousel_child_img{
	position:relative;
	
	margin-bottom:30px;
	
	
}



.custom-timeline-2 .et_pb_module_inner {
  display: grid;
}

.custom-timeline-2 .dsm_card_title {
  grid-row: 1;
  text-align: center;
  margin-bottom: 20px;
}

.custom-timeline-2 .dsm_card_title {
  grid-row: 1;

  margin-bottom: 20px;
}

.custom-timeline-2 .dsm_card_carousel_child_description {
  grid-row: 3;
  text-align: center;
}

.custom-timeline-2 .dsm_card_wrapper {
  display: contents;
}

.custom-timeline-2 .dsm_card_carousel_child {
  padding: 40px 30px;
}