/*
 Theme Name: CBCHB Theme
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: E-COM
 Author URI: https://e-com.hr/
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

.small-info{
	display:block; font-size:0.5em; color:#666; margin-left:0.5em; max-width: 80%; line-height:1.5;
}


/* Add border radius for partners search bar */
#verified-search {
    border-radius: 5px;	
	}


.loading-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Apply the spinning animation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ----------------------------- REGISTRATION FORM------------------------------- */

.registration-submit-button{
	background-color: #003399 !important;
	padding: 6px 24px !important;
	margin-top: 24px !important;
	border-radius: 12px !important;
	font-size: 20px !important;
}
.radio-checkboxes{
	margin-bottom:20px;
}
	
    #registration-form label,
    #registration-form input,
    #registration-form select {
        margin-bottom: 6px;
		border-radius: 6px;
		padding: 3px;
    	}
	#registration-form input[type=text], input[type=email], select{
		display:block;
		margin-bottom:20px;
	}
	#registration-form textarea {
		border-radius: 6px;
}

	#registration-form input[type=text],
	#registration-form input[type=email] {
		width: 300px;
}
		
    #registration-form input[type="submit"], #submit-btn {
        display: block;
        padding: 10px 20px;
        background-color: #4caf50;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    	}

    #registration-form input[type="submit"]:hover {
        background-color: #45a049;
    	}
	
    .error-message {
        color: red;
        margin-top: 5px;
    	}
		
		/* Style for radio and checkbox options */
    input[type="radio"],
    input[type="checkbox"] {
        margin-right: 5px; /* Adjust spacing between the input and label */
    	}

    /* Apply custom styles to labels for better alignment */
    label {
        margin-bottom: 5px; /* Adjust spacing between labels */
    	}
		
		.form-group label[for="gdpr"] {
        display: inline-block;
        vertical-align: top;
        margin-right: 10px;
		}

		.gdpr-text {
			display: inline-block;
			max-width: 600px; /* Adjust the max-width as needed */
		}

/* ----------------------------- APPLICATION FORM------------------------------- */

		.file-upload-displayunder{
			display:block;
			margin-bottom:25px!important;
		}
		#application-form {
			background-color: transparent;
		}

		#application-form label,
		#application-form input,
		#application-form select {
			width: 300px;
			margin-bottom: 6px;
			border-radius: 6px;
			padding: 3px;
		}
		#application-form input[type=text], input[type=email], select{
			display:block;
			margin-bottom:20px!important;
		}
		#application-form input[type="submit"], #submit-btn {
			background-color: #003399;
			color: #ffff;
			padding: 6px 24px;
			margin-top: 12px;
			border-radius: 12px;
			font-size: 20px;
			cursor: pointer;
			width: auto !important;
			border-width: 0px;
		}

		.error-message {
			color: red;
			margin-top: 5px;
		}

		/* Style for radio and checkbox options */
		input[type="radio"],
		input[type="checkbox"] {
			margin-right: 5px;
		}


/* ----------------------------- REPORTING FORM------------------------------- */

		#reporting-form {
			background-color: transparent;
		}

		#reporting-form label,
		#reporting-form input,
		#reporting-form select {
			width:300px;
			margin-bottom: 6px;
			border-radius: 6px;
			padding: 3px;
		}
		#reporting-form input[type=text], input[type=email], input[type=date], select{
			display:block;
			margin-bottom:20px!important;
		}
		#reporting-form input[type="submit"], #submit-btn {
			background-color: #003399;
			color: #ffff;
			padding: 6px 24px;
			margin-top: 12px;
			border-radius: 12px;
			font-size: 20px;
			cursor: pointer;
			width: auto !important;
			border-width: 0px;
		}
		
		.error-message {
			color: red;
			margin-top: 5px;
		}

		/* Style for radio and checkbox options */
		input[type="radio"],
		input[type="checkbox"] {
			margin-right: 5px;
		}

/* ----------------------------- WP DASHBOARD FORM DATA------------------------------- */

.entry-details {
        margin-top: 20px; /* Adjust as needed */
    }
    .entry-details-table {
        border-collapse: collapse;
        width: 100%;
    }
    .entry-details-table td {
        border: 1px solid #ddd;
        padding: 8px;
    }
    .entry-details-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }
    .entry-details-table tr:hover {
        background-color: #ddd;
    }


	.details-container {
    display: flex;
    flex-wrap: wrap;
	}

	.details-column {
		width: 25%; /* Adjust width as needed */
		margin-bottom: 20px; /* Adjust spacing between columns */
	}

	.entry-details-table {
		width: 100%;
		border-collapse: collapse;
		table-layout: fixed;
	}

	.entry-details-table td {
		padding: 5px;
		border-bottom: 1px solid #ddd;
		vertical-align: top;
	}

	.entry-details-table td:first-child {
		width: 40%; /* Adjust width of name column */
		font-weight: bold;
	}

	.details-table {
		height: 300px; /* Adjust the height as needed */
		overflow-y: auto;
	}



/* ----------------------------- EMBRACE VERIFIED TABLE------------------------------- */
	
	.embrace-verified-table {
		width: 100%;
		border-collapse:separate;
	}

	.embrace-verified-table th,
	.embrace-verified-table td {
		border: 1px solid #ddd;
		padding: 10px;
	}

	.embrace-verified-table th {
		background-color: #f1f1f1;
		color: #333;
		font-weight: bold;
	}

	.embrace-verified-table td {
		background-color: #fff;
		color: #333;
	}
	
	.embrace-verified-table tbody tr td {
		padding: 30px;
	}
	
	.embrace-verified-table tbody tr:nth-child(even) td {
		background-color: #f9f9f9;
	}

	.embrace-verified-table tbody tr:hover td {
		background-color: #ebebeb;
	}

	.embrace-verified-table tbody td strong {
		display: block;
	}

/* ----------------------------- OTHER CSS ------------------------------- */
/*Change primary menu mobile breakpoint*/
@media (max-width: 1400px) /* Change the value here */ {
    .et_pb_fullwidth_menu .et_mobile_nav_menu, .et_pb_menu .et_mobile_nav_menu {
        display: flex;
        float: none;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .et_pb_fullwidth_menu .et_pb_menu__menu, .et_pb_menu .et_pb_menu__menu {
        display: none;
    }
    .et_pb_fullwidth_menu .et_pb_menu__wrap, .et_pb_menu .et_pb_menu__wrap {
        justify-content: flex-end;
    }
    .et_mobile_menu {
        list-style-type:none !important;
        top:100%;
    }
}

/*Remove bullet points from submenu*/
.et_pb_menu .et_mobile_menu li {
  list-style-type: none;
}
/*Remove padding left on submenu*/
.et_pb_menu .et_mobile_menu {
    padding-left: 0;
}

/*Change table styles*/
.table-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
	border-radius: 8px;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f5f5f5; /* Adjust the background color as needed */
}

.table-wrapper table td {
    font-size: 14px;
}

.partners-table .container {
    width: 100%;
}

#main-content .partners-table .container {
    padding-top: 0px !important;
}

/*Pseudo-element to style the scrollbar (WebKit browsers only) */
.table-wrapper::-webkit-scrollbar {
    width: 16px; /* Width of the scrollbar */
}

/*Track styles*/
.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the scrollbar track */
    border-radius: 8px; /* Border radius of the scrollbar track */
}

/*Handle styles*/
.table-wrapper::-webkit-scrollbar-thumb {
    background: #777777; /* Color of the scrollbar handle */
    border-radius: 8px; /* Border radius of the scrollbar handle */
}


/*Center the heading and lines for all screen sizes*/
.pa-heading-line-both h2,
.pa-heading-line-right h2 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*Add and adjust the lines for all screen sizes*/
.pa-heading-line-both h2:before,
.pa-heading-line-both h2:after,
.pa-heading-line-right h2:after {
    content: '';
    border-top: 2px solid;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
    color: #dddddd;
}

/*Add spacing between heading and lines for all screen sizes*/
.pa-heading-line-both h2:after,
.pa-heading-line-right h2:after {
    margin: 0 0 0 20px;
}

/*Hide lines on mobile devices*/
@media screen and (max-width: 768px) {
    .pa-heading-line-both h2:before,
    .pa-heading-line-both h2:after,
    .pa-heading-line-right h2:after {
        display: none;
    }
}

/*Add visual borders between menu items using pseudo-elements*/
.et_pb_menu nav > ul > li:not(:last-child)::after {
  content: "";
  display: block;
  height: 30px;
  width: 2px;
  background: #dddddd;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

/*Underline links within paragraphs and headings on hover*/
p a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  text-decoration: underline;
}

/*Style the Divi blog link text as a button*/
.et_pb_post a.more-link {
  color: #1e1e1e;	
	border: 2px solid #565656;
	padding: 6px 24px;
	margin-top: 24px;
	border-radius: 12px;
	font-size: 20px;
	text-transform: capitalize;
	display: inline-block;
	transition: all 0.3s ease-in-out;
}


/*Style the Divi blog link text as a button on hover*/
.et_pb_post a.more-link:hover {
	background: #f2f2f2;
	transition: all 0.2s ease-in-out;
}

/*Add space between menu items*/
.et-l--header .et-menu-nav>ul>li {
    padding: 0 1.5em
}

/*MOBILE MENU SUBMENU CHANGES*/
/*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: #003399;
	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;
	line-height: 0;
	padding-right: 12px;
}

.et_pb_menu__wrap .mobile_menu_bar:before {
	font-size: 34px	
}

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

.dl-menu.et_pb_menu .et_mobile_menu,
.dl-menu.et_pb_menu .et_mobile_menu ul {
	border-radius: 12px;
}

/*Add rounded corners to the dropdown container*/
.dl-menu.et_pb_menu .et-menu-nav ul.sub-menu {
    border-radius:8px;
}

/*Add rounded corners to the first dropdown item*/
.dl-menu ul.sub-menu li:first-child a {
    border-radius: 12px 12px 0 0;
}

/*Add rounded corners to the last dropdown item*/
.dl-menu ul.sub-menu li:last-child a {
    border-radius: 0 0 12px 12px;
}

/*Change the dropdown links hover effect*/
.dl-menu.et_pb_module.et_pb_menu .nav li li a {
    transition: all .3s ease-in-out;
}
.dl-menu.et_pb_module.et_pb_menu .nav li li a:hover {
    opacity:1;
    padding-left:28px;
}

	