/* 
 Theme Name:     EdITCon
 Author:         EdITCon Digital
 Author URI:     https://www.editcon.digital
 Template:       Divi
 Version:        1.0
 Description:   A Child Theme for Divi
 Wordpress Version: All
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* ----------------------------------- ADD A CALL TO ACTION BUTTON IN MENU ----------------------------------- */ 
.subscription-cta-menu a {
  background-color: #f37851;
  padding: 15px 25px !important;
  border-radius: 25px;
  text-transform: uppercase;
  color: #fff !important;
  text-align: center;
}
/* ----------------------------------- STYLING FOR BOOK BLOG PAGE  ----------------------------------- */ 
/* Hide post title, meta, and any other text elements */
.bookblog .et_pb_blog_grid .et_pb_post h2,
.bookblog .et_pb_blog_grid .et_pb_post .post-meta,
.bookblog .et_pb_blog_grid .et_pb_post .et_post_meta_wrapper {
    display: none;
}
.bookblog .et_pb_blog_grid .et_pb_post .et_pb_image_container img {
    position: absolute; /* Position image absolutely within its parent container */
    top: 0;
    left: 0;
    width: 100%; /* Image fills the width of its container */
    height: 100%; /* Image fills the height set by padding-top on the container */
    object-fit: cover; /* Ensures the image covers the area, cropping if necessary */
}
/*blog image aspect ratio portrait 2:3*/

.bookblog .entry-featured-image-url {
  padding-top: 155.74% !important ;
  display: block;
}

.bookblog .entry-featured-image-url img {
  position: absolute;
  height: auto;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}
/*hide desktop menu*/
.pa-sidebar-menu .et_pb_menu__menu,
.pa-sidebar-menu .mobile_menu_bar:before {
	display: none !important;
}

/*display mobile menu container on desktop*/
.pa-sidebar-menu .et_mobile_nav_menu {
	display: block !important;
	width: 100%;
}

/*display mobile menu on desktop*/
.pa-sidebar-menu .et_mobile_menu {
	display: block !important;
	position: relative;
	border-top: none;
}

/*hide point on top from prerequisite tutorial*/
.pa-sidebar .et_mobile_menu:after{
  display: none;
}

/*hide bullet lists from menu*/
.pa-sidebar-menu li {
	list-style: none;
}

/*style the menu, add overflow, set height*/
.pa-sidebar-menu {
	max-height: 50vh !important;
	overflow-y: auto;
	border: 2px solid #000;
	box-shadow: none;
}

/*adjust the width of the entire scrollbar*/
.pa-sidebar-menu::-webkit-scrollbar {
	width: 10px;
}

/*set a color for the scrollbar track*/
.pa-sidebar-menu::-webkit-scrollbar-track {
	background: #ffffff;
}

/*style the scrollbar thumb*/
.sidebar-menu::-webkit-scrollbar-thumb {
	background-color: #00d263;
	border-radius: 20px;
	border: 2px solid #ffffff;
}