/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/hello-theme/
 Description:  Child theme for Hello Elementor
 Author:       Elementor
 Author URI:   https://elementor.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  hello-elementor-child
*/

@import url("../hello-elementor/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

h1 {
        color: #1A3645;
    }

li.menu-item:last-child {
     background: #1A3645;
	 border-radius: 5px;
}
sub-menu li.menu-item.menu-item-type-post_type.menu-item-object-page {
    background: #fff!important;
}

.sub-menu li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-5480 {
    background: #fff;
}
li.menu-item.menu-item-type-post_type.menu-item-object-page:last-child a.elementor-item {
    color: #fff;
}
.page-template-search-certificate div#primary {
    background: url(http://new.adladvisory.co/wp-content/uploads/2025/08/Vector.png), linear-gradient(180deg, #F2FAFF, #FFFFFF);
    background-repeat: no-repeat;
    background-position: top;
    background-size: inherit;
}
.page-template-search-certificate main#main {
    max-width: 1130px;
    margin: 0 auto;
}

#ep_single_event_detail_page_content .ep-main-container {
    max-width: 1170px;
    margin: 0 auto;
}
/* This CSS is added to the template to handle the layout */
.certificate-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
	padding: 80px 0 0 0;
}
.certificate-search {
    flex: 1;
    min-width: 300px; /* Ensures content doesn't get too narrow */
	color: #1A3645;
}

.certificate-image {
    flex: 0 0 350px;
    align-self: center; /* Vertically aligns the image in the container */
}

.certificate-search {
    width: 85%;
    margin: 0 auto;
    padding: 0px 105px 20px 0;
}
.certificate-search h1 {
    font-size: 50px;
    padding-bottom: 20px;
    font-weight: 600;
    font-family: sans-serif;
}
.certificate-search h3 {
    padding-top: 40px;
}
.certificate-search p {
    font-size: 18px;
    font-family: sans-serif;
}
.search-form .search-field
 {
    width: 450px;
    padding: 0 60px 0 20px;
    height: 48px;
    line-height: 1;
    border-color: #C3C3C3;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
	background: #F2FAFF;
}
.search-result {
    width: 85%;
    padding: 0 0 100px;
}
.certificate-search .search-submit {
  	background: #12B535;
    border: none;
    padding: 12px 40px 12px 40px;
    margin-left: 15px;
	color: #fff;
}
.certificate-search .search-submit:hover {
    background: #1A3645;
}
.search-form {
    max-width: 800px;
	margin: 0 auto;
}


/* .single-certificate .wp-block-table td:first-child {
  width: 125px;
} */

 /* Styling for the table */
   .single-certificate .wp-block-table {
      width: 100%; /* Full width */
      max-width: 1200px; /* Set a max width for larger screens */
      margin: 0 auto; /* Center the table */
    }
.single-certificate .wp-block-table table, th, td {
    border: 1px solid #ccc !important;
}

    .single-certificate .wp-block-table th, td {
      border: 1px solid #ddd;
      padding: 10px;
      text-align: left;
    }

    .single-certificate .wp-block-table th {
      background-color: #f4f4f4;
    }

    /* Ensure the first column has a fixed width */
    .single-certificate .wp-block-table td:first-child {
      width: 25%;
    }
/* .single-certificate .content-area {
    width: 1200px;
    margin: 0 AUTO;
    padding: 50px 0 50px 0;
    } */
.single-certificate .content-area {
    width: 1200px;
	width: 100%; /* Full width */
      max-width: 1200px; /* Set a max width for larger screens */
      margin: 0 auto; /* Center the table */
      padding: 75px 0 75px 0;
} 
/* .single-certificate .wp-block-table td:first-child {
        min-width: 50px; 
      } */
.single-certificate .wp-block-columns .wp-block-column .wp-block-buttons a.wp-block-button__link {
    background: #12B535;
    padding: 10px 25px;
    border-radius: 5px;
	color: #FFF;
}

.single-certificate .wp-block-columns .wp-block-column .wp-block-buttons a.wp-block-button__link.has-text-align-center.wp-element-button:hover {
    color: #ECFFE0;
	background: #000;
}

.certificate-search {
    order: 1;
  }
  .certificate-image {
    order: 2;
  }

.search-result h2 {
    font-size: 1.5rem;
}
/* .single-certificate .wp-block-table td:first-child {
        width: 35%;  */

/* Responsive adjustments for smaller screens */ 
@media (max-width: 768px) {
	
	.search-form .search-field
 {
	 width: 290px;
	}
	
.search-result {
    margin: 0 auto;
}
      
.single-certificate .wp-block-table td:first-child {
    width: 30%;
    font-size: 12px;
}
.single-certificate .wp-block-table td:second-child {
    font-size: 12px;
}
.single-certificate .wp-block-table {
    padding: 20px;
}
	.certificate-container {
    padding: 40px 10px 10px 20px;
}
	.certificate-search {
 
    padding: 0;
}
.certificate-search h1{
		font-size: 30px;}
.certificate-search h3 {
    padding-top: 30px;
    font-size: 20px;
    font-weight: 500;
}
.certificate-search .search-submit {
    margin: 20px 0 0 0;

}
.certificate-image {
    flex: 0 0 200px;
    margin: 0 auto;
}
.search-result h2 {
    font-size: 1.1rem;
}
.certificate-search {
    order: 2;
  }
  .certificate-image {
    order: 1;
  }	
	
}
	




/* Event page css */

/* .evo_archive_page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 100px 0;
} */
/* Speed optimization css*/

/* div#hero {
	width: 1600px;
    height: 1000px;
} */


/* Single blog post css */

.content-with-sidebar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 1140px; /* keeps it from stretching too wide */
    margin: 0 auto; /* centers it */
    padding: 0 20px; /* breathing room on sides */
}

.main-content {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 30%;
}
.sidebar .widget_recent_entries {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.sidebar .widget_recent_entries h2, 
.sidebar .widget_recent_entries .widget-title {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #16B537; /* your brand green */
    padding-bottom: 5px;
}

.sidebar .widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .widget_recent_entries ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sidebar .widget_recent_entries ul li:last-child {
    border-bottom: none;
}

.sidebar .widget_recent_entries a {
    text-decoration: none;
    color: #1C3745; /* brand secondary color */
    transition: color 0.2s ease;
}

.sidebar .widget_recent_entries a:hover {
    color: #16B537;
}

/* Blog posts */

.wp-block-latest-posts__post-title {
    text-align: left;
    padding: 12px;
    /* margin-top: -50px; */
}
/* .elementor-widget-container {
    font-size: 16px;
    font-family: Plus Jakarta Sans;
    line-height: 30px;
} */


/* This targets the list item containing the latest post's featured image and title */
.wp-block-latest-posts li {
    display: flex;
    align-items: center; /* Vertically aligns the image and text */
}

/* Optional: Add some space between the image and the text */
.wp-block-latest-posts_featured-image {
    margin-right: 15px;
	width: 75px;
    height: 75px;
    border-radius: 10px;
}

a.wp-block-latest-posts__post-title {
    width: 70%;
    padding-left: 13px;
    font-size: 14px;
    font-weight: 600;
    color: #1A3645;
    font-family: sans-serif;
}
.wp-block-latest-posts__featured-image {
    width: 30%;
}
img.attachment-thumbnail.size-thumbnail.wp-post-image {
    border-radius: 7px;
}
.content-with-sidebar {
    padding: 50px 0;
}
h2.wp-block-heading {
    font-size: 30px;
    color: #1A3645;
    padding-left: 40px;
}

.single-post .post-thumbnail .wp-post-image {
    border-radius: 10px;
}

/* Single blog post css */

.single-post .content-with-sidebar {
    padding: 30px 25px;
}

.single-post h1.entry-title {
    font-size: 40px;
    font-weight: 600;
    font-family: sans-serif;
    color: #1A3645;
    padding-top: 30px;
}

.content-with-sidebar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 1140px; /* keeps it from stretching too wide */
    margin: 0 auto; /* centers it */
    padding: 0 20px; /* breathing room on sides */
}


/* Layout */ 
.content-with-sidebar { 
	display: flex; 
	gap: 32px; 
	align-items: flex-start; } 
.content-with-sidebar .main-content { 
	flex: 3; min-width: 0; } 
.content-with-sidebar .sidebar { 
	flex: 1; position: static; } 
/* Mobile: stack content then sidebar */ 
@media (max-width: 768px) { 
	.content-with-sidebar { flex-direction: column; } 
	.content-with-sidebar .main-content, .content-with-sidebar .sidebar { 
		width: 100%; max-width: 100%; 
	} 
	.single-post h1.entry-title {
    font-size: 22px;
    font-weight: 600;
}
}


/* Overflow  */
.single-post {
  overflow-x: hidden;
}

/* Wrap long URLs, references, and text */
.single-post .entry-content,
.single-post .page-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Make tables scroll inside themselves */
.single-post .entry-content table,
.single-post .page-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Images and embeds responsive */
.single-post .entry-content img,
.single-post .page-content img,
.single-post iframe,
.single-post video {
  max-width: 100% !important;
  height: auto !important;
}

/* Fix code or pre blocks */
.single-post pre,
.single-post code {
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 100%;
}

/*  .main-content {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 30%;
}  */

/* .page-template-search-certificate h1 {
    background: red;
} */

/* Search Certificate */

.page-template-search-certificate .site-content {
    max-width: 1200px;
    margin: 0 auto;
}

.single-certificate main.site-main {
    color: #1A3645;
    font-size: 16px;
    font-family: sans-serif;
}
/* Single Event page  */

h2#ep_single_event_title {
    background: #eaf7ff;
    padding: 25px;
    border-radius: 10px;
}



@media (min-width: 650px) {
    .ep-events .ep-card-col-12 {
        max-width: 100%;
    }
}
