/* 
Theme Name: CSU Climate Hub
Theme URI: https://github.com/elementor/hello-theme-child/
Description: CSU Climate Hub is a child theme of Hello Elementor, created by WPValet team
Author: WPValet Team
Author URI: https://wpvalet.co/
Template: hello-elementor
Version: 2.0.0
Text Domain: csuclimatehub
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 */
p:last-child{
	margin-bottom: 0 !important;
}

strong {
	font-weight: 600 !important;
}

strong a:hover {
	color: #000000 !important;
}

/* Header */
.cch-header.sticky-active {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cch-header .elementor-nav-menu--dropdown {
	padding: 10px !important;
	border-radius: 8px !important;
}

.cch-header .elementor-nav-menu--dropdown .elementor-sub-item {
	border-radius: 6px !important;
}

.cch-header .elementor-nav-menu--dropdown .menu-item {
	margin-bottom: 8px;
}

.cch-header .elementor-nav-menu--dropdown .menu-item:last-child {
	margin-bottom: 0 !important;
}

/* Post Content */
.cch-post-content .elementor-widget-container > *:not(img):not(figure){
	max-width: 967px;
	margin: 0 auto 24px;
}

.cch-post-content h2,
.cch-post-content h3,
.cch-post-content h4,
.cch-post-content h5,
.cch-post-content h6{
	margin-top: 50px !important;
}

.cch-post-content a{
	font-weight: 500;
}

.cch-post-content img{
	width: 100%;
}

.cch-post-content figure{
	margin-bottom: 50px;
}

.cch-post-content blockquote{
	font-weight: 500;
	font-size: 18px;
	line-height: 1.5em;
	border-left: 5px solid #06533C;
	padding-left: 35px;
	margin-bottom: 50px !important;
}

@media(max-width: 767px){
	.cch-post-content .elementor-widget-container > *:not(img):not(figure){
		margin-bottom: 18px;
	}
	
	.cch-post-content h2,
	.cch-post-content h3,
	.cch-post-content h4,
	.cch-post-content h5,
	.cch-post-content h6{
		margin-top: 30px !important;
	}
	
	.cch-post-content figure,
	.cch-post-content blockquote{
		margin-bottom: 30px !important;
	}
	
	.cch-post-content blockquote{
		font-size: 16px;
		padding-left: 20px;
	}
}

/* Form */
.cch-newsletter__form form{
	position: relative;
}

.cch-newsletter__form .gform_wrapper.gravity-theme .gform_fields{
	align-items: center;
}

.cch-newsletter__form .ginput_container_email input{
	line-height: 1.5em !important;
	border: 1px solid #E2E2E2 !important;
	border-radius: 999px !important;
	background-color: #fff !important;
	padding: 16px 54px 16px 24px !important;
}

.cch-newsletter__form .ginput_container_email input:focus-visible,
.cch-post__form .ginput_container_email input:focus-visible{
	outline: 0 !important;
}

.cch-newsletter__form .gform_button{
	position: absolute;
	font-size: 0 !important;
	background: transparent url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.3336 10.0001C18.3336 10.079 18.3112 10.1563 18.269 10.223C18.2268 10.2897 18.1665 10.343 18.0951 10.3768L3.0951 17.4601C3.02018 17.4964 2.93607 17.5094 2.85369 17.4973C2.77132 17.4851 2.69449 17.4485 2.6332 17.3922C2.57191 17.3358 2.52898 17.2624 2.51 17.1813C2.49102 17.1002 2.49686 17.0153 2.52677 16.9376L4.8951 10.5818C5.03483 10.2066 5.03483 9.79364 4.8951 9.41845L2.52594 3.06261C2.49588 2.98481 2.48996 2.89976 2.50895 2.81855C2.52794 2.73734 2.57096 2.66373 2.6324 2.60733C2.69384 2.55093 2.77085 2.51435 2.85338 2.50236C2.93592 2.49037 3.02015 2.50352 3.0951 2.54011L18.0951 9.62345C18.1665 9.65719 18.2268 9.71051 18.269 9.77719C18.3112 9.84388 18.3336 9.92118 18.3336 10.0001ZM18.3336 10.0001L5.00008 10.0001' stroke='%2306533C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 10px !important;
    top: 18px;
    right: 24px;
}

.cch-newsletter__form .gform-footer,
.cch-post__form .gform-footer{
    padding: 0 !important;
	margin: 0 !important;
}

.cch-post__form form{
	display: flex;
	gap: 6px;
}

.cch-post__form .gform-body{
	width: 100%;
}

.cch-post__form .ginput_container_email input{
	font-size: 16px !important;
	line-height: 1.5em !important;
	border: 1px solid #E2E2E2 !important;
	border-radius: 999px !important;
	padding: 14px 22px !important;
}

.cch-post__form .gform_button{
	color: var(--e-global-color-primary) !important;
	border-color: #fff !important;
	background-color: #fff !important;
	margin: 0 !important;
}

.cch-post__form .gform_button:hover{
	color: #fff !important;
	border-color: #F2673E !important;
	background-color: #F2673E !important;
}

.gform_required_legend {
	display: none !important;
}

.cch-contact-form .gform-field-label {
	font-weight: 400 !important;
	line-height: 1.5;
	letter-spacing: 0;
	margin-bottom: 6px !important;
}

.cch-contact-form input[type="email"],
.cch-contact-form input[type="text"],
.cch-contact-form input[type="tel"],
.cch-contact-form select,
.cch-contact-form textarea {
	border: solid 1px #E2E2E2 !important;
	border-radius: 999px !important;
	padding: 16px 24px !important;
	background-color: transparent !important;
	outline: none !important;
}

.cch-contact-form textarea {
	border-radius: 16px !important;
}

.cch-contact-form .gform_fields {
	gap: 24px !important;
}

.gfield_required_asterisk {
	color: var(--e-global-color-accent) !important;
}

.cch-contact-form select {
	appearance: none !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%0A%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2306533C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-size: 12px;
	background-position: right 30px center;
}

.cch-contact-form .gchoice .gform-field-label {
	margin: 0 !important;
}

.cch-contact-form .gform_button {
	padding: 16px 24px !important;
}

.cch-contact-form input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #18181B;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	cursor: pointer;
	vertical-align: middle;
	transition: all 0.2s ease;
}

.cch-contact-form input[type="radio"]:checked {
	border-color: var(--e-global-color-accent);
}

.cch-contact-form input[type="radio"]:checked:after {
	background-color: var(--e-global-color-accent);
}

.cch-contact-form input[type="radio"]:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	background-color: transparent;
	border-radius: 999px;
	transition: transform 0.2s ease;
}

.cch-post__form.cta-news #gform_fields_3 {
	display: flex !important;
}

.cch-post__form.cta-news #gform_fields_3 .gfield--type-email {
	width: 100% !important;
}

#gform_confirmation_message_3 {
	color: #FFF !important;
	text-align: center !important;
}

@media (max-width: 640px) {
	.cch-newsletter__form .gform_wrapper.gravity-theme .gform_fields{
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.cch-newsletter__form .gfield--type-email{
		width: inherit;
	}
	
	.cch-newsletter__form .gform_button{
		line-height: 1em !important;
        min-height: unset !important;
	}
	
	.cch-post__form form{
		flex-direction: column;
	}
	
	.cch-post__form .gform_button{
		width: 100% !important;
		line-height: 1.5em !important;
	}
}

/* Team Loop */
.cch-team-contact {
	opacity: 0;
	transition: opacity 0.3s
}

.cch-team-contact.active {
	opacity: 1;
}

@media (max-width: 1024px) {
	.cch-team-contact {
		opacity: 1;
	}
}

/* Accordion */
.cch-agenda__item{
	border-bottom: 1px solid #E2E2E2;
	padding: 24px 24px 24px 0;
	cursor: pointer;
}

.cch-agenda__title {
	position: relative;
	font-weight: 600;
	color: var(--e-global-color-primary);
}

.cch-agenda__title:after{
    position: absolute;
	content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00033 2.66663V13.3333M13.3337 7.99996L2.66699 7.99996' stroke='%23006144' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	display: block;
    width: 16px;
    height: 16px;
    right: -24px;
    top: 2px;
}

.cch-agenda__item.is-open .cch-agenda__title:after{
	content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12L12 4M4 4L12 12' stroke='%23006144' stroke-width='1.33333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.cch-agenda__desc {
    padding-top: 16px;
}
