/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-field-option {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: start;
		cursor: pointer !important;
		transition: all .3s ease;
		padding: 8px 16px;
		border-radius: 8px;
}
.elementor-field-option:hover {
	background-color: #1D4A8312;
	transition: all .3s ease;
}
.elementor-field-option *:hover {
		cursor: pointer !important;
}
.elementor-field-option label {
    flex-grow: 1;
		font-weight:500 !important;
}
.elementor-upload-field {
    background: #fff;
}

.elementor-widget-search .e-search-input.no-icon-label {
    padding: 8px 24px 8px 24px !important;
}

.elementor-message.elementor-message-success {
    height: 100%;
    width: 100%;
    background: white;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    border-radius: 8px;
		gap: 24px;
		
		font-size: 24px;
    text-align: center;
    line-height: 32px;
    padding-bottom: 48px;
    font-weight: 500;
}
.elementor-message.elementor-message-success:before {
    margin: 0;
    width: 40px;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 40px;
}


/***** SIDEBAR MENU ******/
#sidebar .e-search-input {
	padding-left: 40px;
}

.term-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.term-item {
    margin-bottom: 10px;
}

.term-item > a {
    text-decoration: none;
    color: var(--e-global-color-56b331b);
}

.term-item.current-term > a {
    color: var(--e-global-color-primary);
    font-weight: 500;
    position: relative;
}

.term-item.current-term > a::after {
    content: '→';
    position: absolute;
    right: -20px;
}

/***** CUSTOM POST LIST ******/

.custom-posts-list {
    list-style-type: none;
    padding: 0;
}

.custom-posts-list li {
    margin-bottom: 10px;
}

.custom-posts-list li a {
    text-decoration: none;
    color: #0073aa;
}

.custom-posts-list li a:hover {
    color: #005177;
}

/***** CUSTOM CATEGORY LIST ******/

.custom-categories-list {
    list-style-type: none;
    padding: 0;
}

.custom-categories-list li {
    margin-bottom: 10px;
}

.custom-categories-list li a {
    text-decoration: none;
    color: var(--e-global-color-56b331b);
}

.custom-categories-list li a.current-category {
    color: blue; /* Highlight color for current category */
}

.custom-categories-list li a:hover {
    color: #005177; /* Hover color */
}

/***** SEARCH COUNT ******/

.search-results-count {
    font-size: 14px;
	margin: 0;
    color: #333;
}

a.all-articles-button {
    color: #2e2e2e;
}
a.all-articles-button:hover {
    color: #005177;
}
a.all-articles-button.active {
    color: blue;
}


/** GLOBAL: hide Haitian Creole & Chinese for everyone **/
body.logged-in .gt_options a[data-gt-lang="ht"],
body.logged-in .gt_options a[data-gt-lang="zh"],
body.logged-in .gt_options a[data-gt-lang="zh-CN"] {
    display: none !important;
}

/** Miami user-miaelevated: allow Haitian Creole **/
body.logged-in.user-miaelevated .gt_options a[data-gt-lang="ht"] {
    display: inline-block !important;
}

/** San Francisco user-sfdec: allow Chinese **/
body.logged-in.user-sfdec .gt_options a[data-gt-lang="zh"],
body.logged-in.user-sfdec .gt_options a[data-gt-lang="zh-CN"] {
    display: inline-block !important;
}

