/*
 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*****/

/* Custom css for listing and single page of  programs based on category */

.cat_obj {
  margin-top: 3rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 970px;
  padding: 0 10px;
}

.programCard-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 1rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 970px;
  padding: 0 10px;
}

.programCard {
  position: relative;
  /* height: 150px; */
}
.title_section_wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
  flex-direction: row;
}

.title_section_wrap .programCaption-title {
  font-size: 21px;
  color: #333;
  font-weight: 700;
}
.programCard img {
  width: 38px;
  height: auto;
}
.programCaption {
  /* background: url("./Images/bg-img.png"); */
  min-height: 65px;
  padding: 20px;
  background-size: cover;
  margin-top: 20px;
  background: #2cace3;
}
.programCaption:hover {
padding: 0px 20px; 
}
.programCaption-link {
  color: #fff;
  opacity: 1;
}
.programCaption-content {
  color: #fff;
  font-size: 20px;
  padding-bottom: 0px;
}
.hover-visit-link {
  opacity: 0;
}
.title-icon img {
  width: 30px;
  height: auto;
  margin-top: 5px;
}
.programCaption:hover .hover-visit-link {
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
.programCaption:hover .programCaption-content {
  /* opacity: 0;
  display:none; */
  /* transform: translate(-50%, -200%);
  transition: transform 0.2s ease, opacity 0.1s ease; */
  /* font-size: 20px; */
  display: none;
}
.programCaption:hover p:last-child {
  opacity: 1;
  top: 0%;
  display: block;
  transform: translateY(85%);
  /* transition: transform 0.9s ease, opacity 0.9s ease; */
}
.programCaption:hover p:last-child a {
  font-size: 18px;
  opacity: 1;
  display: block;
}
.programCard .programCaption-content {
  margin: 0;
}
.programCard .programCaption-link {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  opacity: 0;
  /* transition: opacity 1s ease; */
  display: none;
}

/* .programCard .programCaption-link:hover {
  opacity: 1;
  display: block;
} */

.programCard:hover .programCaption-content {
  opacity: 0;
  display: none;
}
.programCard:hover .programCaption-link {
  opacity: 1;
  display: block;
}

/* Responsive Design */

/* Resource Links design - For Ran References */
/* .resource-blocks {
    display: flex;
    flex-direction: column;
} */
.ran-references-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
  margin: 30px 0;
}
.ran-references-wrap a.d-block {
  background: #D3D3D315;
  margin-bottom: 10px;
  padding: 15px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  box-shadow: 2px 1px 10px #d3d3d3;
  align-items: center;
  max-width: 50%;
  width: 48%;
  justify-content: space-between;
}

.resource-blocks a.d-block:hover {
  color: #4069b2;
}
.resource-blocks a.d-block:hover svg {
  color: #4069b2;
  fill: #4069b2;
}
.link-button-1::after {
  display: inline-block !important;
}
.ran-references-wrap a.d-block span.text {
  display: inline !important;
}


.ran-references-wrap a.d-block svg {
  width: 18px !important;
  height: 18px !important;
}
.et-menu-nav .menu-ran-knowledge-library li.default-login{
  display: none !important;
}
/*.menu-btn{
  display: none !important;
}*/

/* For tablets */

@media (max-width: 768px) {
  .programCard-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .programCard .programCard-title {
    font-size: 1.5rem;
  }
  .programCard .programCaption {
    padding-left: 30px !important;
    padding: 30px;
  }
  .link-button-1 {
    width: 100%;
    max-width: 100%;
  }
  .ran-references-wrap a.d-block {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
  .title-icon img {
    width: 30px;
    height: auto;
}
.programCaption {
  min-height: auto;
}
.programCaption:hover p:last-child {
  transform: translateY(0%);
}
.programCaption:hover p:last-child a {
  font-size: 14px;
}
}

/* For mobile devices */

@media (max-width: 480px) {
  .programCard-container {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 2rem auto;
  }
  .programCard .programCaption-title {
    font-size: 1.2rem;
    padding: 5px 10px;
  }
  .programCard .programCaption {
    padding-left: 16px !important;
    padding: 16px;
  }
  .programCard .programCaption-link {
    font-size: 14px;
  }
}

/* Program css ends here. */

/* css for RAN pages 31-3-2025 */

.et_pb_blurb.title_with_icon .et_pb_module_header {
  padding-bottom: 0px !important;
}
.et_pb_blurb.title_with_icon .et_pb_main_blurb_image {
  margin-bottom: 0px !important;
}
.et_pb_blurb.title_with_icon .et_pb_blurb_content {
  display: flex;
  align-items: center;
}
.title_with_icon .et_pb_blurb_content {
 gap:10px;
}
.title_with_icon .et_pb_blurb_content .et_pb_image_wrap {
  width:30px;
}
.custom-blurb.ran-blurb .et_pb_blurb_description p:first-child {
  min-height: 85px;
}
/* Slower transition with 2 seconds */
.custom-blurb {
  min-height: 150px;
}
.custom-blurb .et_pb_blurb_description {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  transition: transform 1.2s ease, opacity 0.8s ease;
}
.custom-blurb:hover {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.custom-blurb:hover .et_parallax_gradient {
  background-image: linear-gradient(
    180deg,
    rgba(124, 94, 169, 0.47) 0vh,
    rgba(124, 94, 169, 0.9) 0vh,
    rgba(124, 94, 169, 0.9) 0vh,
    rgba(124, 94, 169, 0.9) 100vh,
    rgba(124, 94, 169, 0.9) 100vh,
    rgb(44 38 38 / 0%) 100vh
  ) !important;
}

.custom-blurb:hover .et_pb_blurb_description {
  opacity: 1;
  visibility: visible;
  /*transform: translateY(0);*/
  color: #fff;
  transform: translateY(-5%);
  transition: transform 1.2s ease, opacity 0.8s ease;
}
.custom-blurb:hover .et_pb_blurb_description p:first-child {
  display: none !important;
  animation: slideUp 2s forwards;
}
.custom-blurb:hover .box_link {
  font-size: 22px !important;
  transition: transform 2s ease, opacity 2s ease;
}
.custom-blurb.ran-blurb {
  min-height:170px;  
}
@media only screen and (max-width: 1280px) {
  .custom-blurb {
    min-height: 170px !important;
  }
  .custom-blurb.ran-blurb {
    min-height:200px !important;  
  }
}
/* new login-logout header button css  */

.wa_login_shortcode form {
  position: absolute;
  right: 0;
  top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: anchor-center;
}
.wa_login_shortcode form p {
  position: relative;
  color: #595b5d;
  font-weight: 500;
  font-size: 14px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
  display: flex;
  justify-content: center;  
  align-items: center;
  gap: 10px;
}
.wa_login_shortcode form p span{  
  color: #595b5d;
  font-weight: 500;
  font-size: 14px;
  position: absolute;
  top: 50px;
  background: #fff;
  padding: 6px 10px;
  right: -7px;
  border: 2px solid #9953a0;
  width: max-content;
  border-radius: 2px;
}
span.logged_in_user {
  display: none;
}
.user_img:hover {
  cursor: pointer;
  /* border: 1px solid #9953a0; */
}
.wa_login_shortcode form p:hover span.logged_in_user{
   display: block !important;
}
.wa_login_shortcode form p span::before{  
 content: ' ';
  height: 0;
  position: absolute;
  width: 0;
  right: 15px;
  border: 10px solid transparent;
  border-top-color: transparent;
  border-top-color: transparent;
  border-top-color: #9953A0;
  top: -20px;  
  rotate: 180deg;
}
.wa_login_shortcode .user_img {
   width: 40px;
}


.wa_login_shortcode form .button-primary {
  color: #fff;
  padding: 10px 15px;
  color: #fff;
  background: #2cace3;
  border: 0;
  font-size: 15px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}
.wa_login_shortcode form .button-primary:hover {
  cursor: pointer;
  opacity: 0.9;
}

 
@media (max-width: 1200px) {
  .wa_login_shortcode form {
    top: 22px;
  }
}
@media (max-width: 980px) {
  .wa_login_shortcode form {
    top: -45px;
  }
}
@media (max-width: 568px) {
  .wa_login_shortcode form {
    z-index: 99 !important;
  }

    .et_pb_column_1_tb_header {
     z-index: 1 !important;    
  }  
   
  .et_pb_menu--style-centered .et_pb_menu__wrap {   
    justify-content: flex-start !important;
    width: fit-content;
}
}
