/* 
Theme Name: energy Child
Theme URI: https://github.com/elementor/hello-theme/
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: 3.3.0
Text Domain: energy-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-toggle .elementor-tab-title {
    /* border-bottom: 1px solid #d5d8dc; */
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    outline: none;
    border: none;
    padding: 15px;
	box-shadow: 0px 18px 28px -6px #95959580;
    border-radius: 12px;
}

/* .elementor-toggle-item {
        padding: 20px;
    } */
.elementor-toggle-item .elementor-active {
    background: #ECF8FF;
    border-bottom: none;

}
form.wpcf7-form.sent label {
	width: 100%;
}
.elementor-tab-content.elementor-active {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.elementor-tab-title.elementor-active {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

span.elementor-toggle-icon.elementor-toggle-icon-left {
    position: relative;
    top: 4px;
}

/* dropdown menu li css */
.sub-menu li {
    position: relative;
    border-radius: 20px;
    margin-bottom: 7px; 
    transition: all 0.2s ease-in-out;
}

ul.sub-menu {
    padding: 15px 10px 15px 10px;
}

/* Fix icon position */
.sub-menu li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%)  !important;
    width: 24px;
    height: 24px;
    background-size: contain !important;
}

/* Apply styles to the anchor tag */
.sub-menu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
}

/* Fix hover effect */
/* .sub-menu li:hover,
.sub-menu li.active {
    background-color: #C2D72E !important;
    margin-bottom: 7px !important; 
} */
.sub-menu li:last-child {
    margin-bottom: 0; /* Avoid extra space at the end */
}
/* Change text color on hover & active */
.sub-menu li a:hover,
.sub-menu li.active a {
    color: #000;
}

/* Assign icons to specific menu items */
#menu-item-930::before {
    background: url('https://economyutilities.co.uk/wp-content/uploads/2025/03/hugeicons_energy-1.png') no-repeat center center;

}

#menu-item-1040::before {
    background: url('https://economyutilities.co.uk/wp-content/uploads/2025/03/connection-black.png') no-repeat center center;
}

#menu-item-1042::before {
    background: url('https://economyutilities.co.uk/wp-content/uploads/2025/03/water-black.png') no-repeat center center;
}

#menu-item-1041::before {
    background: url('https://economyutilities.co.uk/wp-content/uploads/2025/03/waste-black.png') no-repeat center center;
}

.subscribe-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

div.tnp-subscription, form.tnp-subscription, form.tnp-profile {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100%;
}
.tnp.tnp-subscription form {
    display: flex;
	gap: 20px;
}
.tnp-field.tnp-field-button {
    width: 56%;
}
input.tnp-submit {
    width: 100% !important;
    background: #0BAAFF !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
	border-radius: 14px;
}
.tnp-subscription div.tnp-field, .tnp-profile div.tnp-field {
    margin-bottom: 0;
    border: 0;
    padding: 0;
}
input#tnp-1 {
    border: 1px solid #07242F;
    border-radius: 14px;
}
.tnp-subscription input[type=email], .tnp-subscription input[type=submit] {
	padding: 1.3em 1.3em !important;
}
.tnp-field.tnp-field-email {
    width: 56%;
}
.tnp-field.tnp-field-email label {
    display: none;
}
/* Fix input visibility */
.subscribe-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    width: 100%;
    /* Ensure full width */
    min-width: 200px;
    /* Adjust as needed */
    background-color: #fff;
    /* Ensure visibility */
    color: #000;
    /* Text color */
}

/* Style for Submit Button */
.subscribe-button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    white-space: nowrap;
}

.subscribe-button:hover {
    background-color: #005f8a;
}

h1.entry-title {
    display: none;
}
span.elementor-counter-number-suffix {
    color: #0BAAFF;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    padding: 15px 40px 15px 40px;
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: #0BAAFF;
    font-family: inter;
    font-size: 18px;
    font-weight: 500;
    border-radius: 20px;
}

form.wpcf7-form.init label {
	width: 100%;
    padding-bottom: 20px;
}
span.wpcf7-spinner {
/*     display: none; */
}

input.wpcf7-form-control {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
	border: solid 2px #CDCDCD;
	border-radius: 13px;
	padding-top: 12px;
} 
textarea.wpcf7-form-control {
	border-radius: 20px;
	border: solid 2px #CDCDCD;
	height: 120px;
	margin-top: 12px;
}

input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus {
    border-color: #CDCDCD;
}

.form-container {
    margin: 0 auto;
    /* padding: 20px 100px 20px 100px; */
    border-radius: 8px;
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
}

.form-group label {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.half-width {
    flex: 1;
    min-width: calc(50% - 10px);
    margin-right: 20px;
}

.half-width:last-child {
    margin-right: 0;
}

.icon-input {
    position: relative;
}

.icon-input input {
    padding-left: 10px;
}

.icon-input i {
    position: absolute;
    top: 70%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #555;
}

.textarea {
    height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-group input {
    margin-right: 10px;
}

.submit-btn {
    background-color: #008080;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #006666;
}

.full-width {
    flex: 1;
    width: 100%;
}

.textarea {
    height: 120px;
}

.wpcf7-submit {
    background-color: #20A566;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100% !important;
    /* Ensure it matches input fields */
    text-align: center;
    display: block;
    transition: background 0.3s ease;
}

/* subscribe form */
.form-subscribe {
    display: flex;
    background: #E6FFF3;
    padding: 35px 0px 10px 29px;
    align-items: center;
    border-radius: 40px;
    position: absolute;
    right: -115px;
    left: 8%;
}

.add input.wpcf7-form-control.wpcf7-submit.has-spinner {
    padding: 12px 40px 12px 40px;
    color: #000;
    border: 1px solid #ffffff;
    background-color: #C2D72E;
    font-family: oufit;
    font-size: 18px;
    font-weight: 500;
    border-radius: 18px;
}

.add {
    position: relative;
    top: 7px;
    left: 39px;
}
.tab-content {
    display: flex;
    flex-direction: row;
    padding: 20px;
	gap: 20px;
}
a.nav-link {
    color: #fff;
}

.icon-input-quote textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    min-width: 1089px;
}
@media (min-width: 325px) and (max-width: 767px) {
	textarea.wpcf7-form-control.wpcf7-textarea {
		width: 100%;
		min-width: 0px !important;
	}
	    .elementor-7 .elementor-element.elementor-element-ed423bd {
        	order: 2;
    }
	    .elementor-7 .elementor-element.elementor-element-e5b3d12 {
        	order: 2;
    }
		li#menu-item-931 {
   			margin-top: -32px;
	}
	    .elementor-7 .elementor-element.elementor-element-e5b3d12 > .elementor-element-populated {
        	border-radius: 0px !important;
    }
		.elementor-7 .elementor-element.elementor-element-19bdce6 .hfe-dropdown.menu-is-active {
        	margin-top: 22px;
        	padding: 20px;
    }
		.elementor-7 .elementor-element.elementor-element-19bdce6 nav.hfe-dropdown li.menu-item {
    		border-radius: 20px !important;
	}
	.tnp.tnp-subscription form {
    	flex-direction: column;
	}
	.tnp-field.tnp-field-email {
    	width: 100% !important;
	}
}
@media (max-width: 1024px) {
	textarea.wpcf7-form-control.wpcf7-textarea {
		width: 100%;
		min-width: 716px;
	}
	.form-subscribe {
    	padding: 35px 59px 10px 29px;
	}
	.elementor-7 .elementor-element.elementor-element-e5b3d12 {
		order: 4;
   	 }
	.elementor-7 .elementor-element.elementor-element-343af78 > .elementor-element-populated{
		border-radius: 0px;
	}
	.elementor-7 .elementor-element.elementor-element-e5b3d12 > .elementor-element-populated{
		border-radius: 0px 10px 10px 0px;
	}
	.elementor-7 .elementor-element.elementor-element-19bdce6 .hfe-dropdown.menu-is-active {
        margin-top: 33px;
    }
}
@media (max-width: 1300px) {
  .add input.wpcf7-form-control.wpcf7-submit.has-spinner {
		padding: 12px 12px 12px 12px !important;
		font-size: 16px;
  }
	textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    min-width: 1139px;
}
}