/*======================================
Theme Name: Divi Child Theme
Theme URI: https://www.elegantthemes.com/
Description: This is a Divi child theme.
Author: Eleganth Themes
Author URI: https://www.elegantthemes.com/
Template: Divi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

/*add your custom CSS below this line*/

/* Naba Desktop Menubar CSS Start*/

/* Nav Menu Styles */
.nb-nav-menu .et-menu-nav ul li a {
	margin-right: 40px;
	margin-left: 40px;

}

.nb-nav-menu .et-menu-nav>ul ul {
	padding: 0px;
}
  
.nb-nav-menu .et-menu li ul {
    box-shadow: 0 2px 20px rgb(0 0 0 / 37%);
}

.nb-nav-menu .et-menu li {
	padding: 15px 0px;
}

.nb-nav-menu .et-menu li li {
	padding: 0px;
	line-height: 1.3rem!important;
}

.nb-nav-menu .et-menu li li a {
    font-size: 14px!important;
  	text-transform: capitalize!important;
	padding: 10px 15px;
	width: 240px;
	margin: 0px;
}

/* Naba Desktop Menubar CSS End */

/* Mobile menu hamburger styles */
  .mobile_menu_bar {
    top: 0px;
  }
  .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:before {
    color: #000000;
  }
  
/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}

/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}

/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}

/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}

/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #000000;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}

/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}

/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}

/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}

/*force the background color and add a rounded border*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}
  
/* Mobile Menu CTA Styles */

.et_mobile_menu .nb-mobile-menu-cta {
    background-color: #811b1b;
  }
  
  .et_mobile_menu .nb-mobile-menu-cta>a:hover {
    background-color: #9daa5e!important;
  }
  
.et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu .nb-mobile-menu-cta > a {
    color: #ffffff!important;
  }

.et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu .nb-mobile-menu-cta > a:hover {
    color: #ffffff!important;
  }
  
 @media (max-width: 980px) {

  .et_pb_menu .et_mobile_menu {
	padding: 0px;
    top: 106%;
  }
  
  .et_pb_menu .et_mobile_menu {
	padding: 0px;
  }
  
  .et-l--header ul {
	padding: 0px;
  }
  
  .et_mobile_menu {
	padding: 0px;
  }
  
  .et_mobile_menu .menu-item-has-children>a {
     font-weight: 500;
  }
  
}
  
/* Disable the desktop menu after 1118px */

@media only screen and (min-width: 1119px) {
	.nb-desktop-header {
		display: block!important;
	}
	.nb-mobile-header {
		display: none!important;
	}
}

@media only screen and (max-width: 1118px) {
	.nb-desktop-header {
			display: none!important;
	}
	.nb-mobile-header {
		display: block!important;
	}
	
	.et_pb_menu .et_pb_menu__menu {
		display: none!important;
	}
	
	.et_mobile_nav_menu {
		display: block !important;
	}
	
	.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
		-webkit-box-pack: end !important;
		-ms-flex-pack: end !important;
		justify-content: flex-end !important;
		align-items: center;
	}
	
	.et_pb_menu .et_mobile_menu {
		list-style: none!important;
	}
	
	.et_pb_menu .et_mobile_menu ul {
		list-style: none!important;
	}
	
}

@media only screen and (max-width: 1118px) {

/* logo size on Ipad and small laptop */

.et-db #et-boc .et-l .et_pb_menu_1_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap {
	width: 110px !important;
    max-width: 110px !important;
	padding: 10px;
}

/* Hamburger size on Ipad and small laptop */

.et-db #et-boc .et-l .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:before {
	font-size: 45px !important;
}
	
.et-db #et-boc .et-l .et_pb_module .mobile_menu_bar:before {
	top: 0px;
}

/* Small laptop/Ipad Menu Dropdown Position*/

.et_mobile_menu {
		top: 85px;
	}
	
/* Small laptop/Ipad Tablet Menu Dropdown Position*/

.et-l--header .et_mobile_menu {
		padding: 0px!important;
	}
}

@media only screen and (max-width: 980px) {
	
/* Logo Size on tablet */

.et-db #et-boc .et-l .et_pb_menu_1_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap {
	width: 100px !important;
    max-width: 100px !important;
	padding: 0px;
	margin-top: 0px;
}

/* Hamburger size on Mobile */

.et-db #et-boc .et-l .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:before {
	font-size: 45px !important;	
}
	
.et-db #et-boc .et-l .et_pb_module .mobile_menu_bar:before {
	top: 0px;
}
}


@media only screen and (max-width: 767px) {
	
/*Hamburgre size on mobile*/

.et-db #et-boc .et-l .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar::before {
		font-size: 40px!important;
	}
	
.et-db #et-boc .et-l .et_pb_module .mobile_menu_bar::before {
		top: 5px;
	}

/*Mobile menu logo size*/

.et-db #et-boc .et-l .et_pb_menu_1_tb_header .et_pb_menu_inner_container > .et_pb_menu__logo-wrap {
		width: 100px !important;
    	max-width: 100px !important;
   		padding: 0px;
    	margin-top: 10px;
	}
}

/* Hamburger closed icon*/

.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d'!important;
}

/*set the defautl background color of the header section*/

.nb-desktop-header {
	background: #ffffff!important;
	box-shadow: 0px -3px 28px 0px rgba(0,0,0,0.25);
	-webkit-transition: background-color .5s ease-out;
	-moz-transition: background-color .5s ease-out;
	-o-transition: background-color .5s ease-out;
	transition: background-color .5s ease-out;
}

/*set the background color of the fixed header when scrolling*/

.nb-fixed-header {
	background-color: #ffffff!important;
	box-shadow: 0px -3px 28px 0px rgba(0,0,0,0.25);
	-webkit-transition: background-color .5s ease-out;
	-moz-transition: background-color .5s ease-out;
	-o-transition: background-color .5s ease-out;
	transition: background-color .5s ease-out;
}

/* Backgrund images fixed on mobile*/

.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css {
		background-attachment: fixed!important;
		background-size: cover !important;
}

/* Background Mask Pattern Size on Mobile */

@media only screen and (max-width: 980px) {
	.et_pb_background_pattern {
		height: 160px;
	}
}

/* Back to Top Button Styles */

/*style and position the back to top button*/

body .et_pb_scroll_top {
	background-color: #811b1b !important;
	color: #ffffff !important;
	padding: 10px 11px 10px 7px !important;
	right: 20px !important;
	bottom: 125px !important;
	border-radius: 0px !important;
	border: 1px solid #ffffff;
}

/*style the back to top button on hover*/

body .et_pb_scroll_top:hover {
	background-color: #9daa5e !important;
	color: #ffffff !important;
}

/* sidebar styles starts here */
/** main sidebar styles starts here **/
.et_pb_sidebar_0 .et_pb_widget {
  margin-bottom: 30px!important;
  width: 100%!important;
  float: none;
}

.et_pb_widget_area_left {
	border: none;
	padding-right: 0px;
}

body #sidebar .widgettitle, body #nav_menu-2 .widgettitle, body .et_pb_sidebar_0 .widgettitle, body .et_pb_sidebar_0_tb_body .widgettitle  {
  color: #fff;
  background: #811b1b;
  width: 100%;
  display: inline-block;
  padding: 10px 10px 10px 20px;
  position: relative;
  margin-bottom: 16px;
}

.widgettitle {
  font-size: 16px !important;
}
.et_pb_widget ul {
  margin-left: 0 !important;
}
.et_pb_widget ul li {
  padding: 0px 0 0 0;
  margin-bottom: 0 !important;
}
.et_pb_widget ul li a {
  font-size: 16px !important;
	line-height: 1.2em;
}
.et_pb_widget ul li:nth-last-child(1) {
  border: 0 none;
}

body #recent-posts-2 li:nth-last-child(1), body #categories-2 li:nth-last-child(1) {
  border: 0 none !important;
}

body #recent-posts-2 li, body #categories-2 li {
	position: relative;
  	padding: 5px 5px 5px 15px;
  	border-bottom: 1px solid #ededed;
	line-height: 1.2em;
}
/** main sidebar styles ends here **/

/** sidebar cta styles starts here **/
.nb-sidebar-cta {
  	border-radius: 3px;
  	color: #fff;
  	text-align: center;
  	margin-top: 40px;
 	 width: 100%;
  	height: auto;
  	padding: 80px 20px 80px 20px;
  	background: url("/wp-content/uploads/2025/05/pexels-matreding-6835303.webp");
    background-size: auto;
  	background-size: cover;
  	position: relative;
}

.nb-sidebar-cta::before {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: rgba(0,0,0,0.53);
  z-index: 1;
}

.nb-sidebar-cta p {
  color: #fff;
  text-align: center;
  font-size: 18px;
  z-index: 2;
  position: relative;
}

.nb-sidebar-cta h4 {
  margin-top: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  color: #ffffff !important;
  text-align: center;
  z-index: 2;
  position: relative;
}
/** sidebar cta styles starts here **/

/* sidebar styles ends here */

/*prevent horizontal scroll on mobile*/

@media all and (max-width: 980px) {
	html,
	body {
		overflow-x: hidden;
	}
	body {
		position: relative
	}
}

/* Secondary header items align to the right*/

@media only screen and (min-width: 768px) {
	#et-info { float:right !important;}
}

/* Added space on lists in all text modules */

.et_pb_text ul li {
  margin-bottom: 10px;
}