/* @font-face {
    font-family: 'OpenSans';
    src: url('https://poweroptions.org/wp-content/themes/poweroptions/fonts/OpenSans-Light.woff') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('https://poweroptions.org/wp-content/themes/poweroptions/fonts/OpenSans-Regular.woff') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('https://poweroptions.org/wp-content/themes/poweroptions/fonts/OpenSans-SemiBold.woff') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('https://poweroptions.org/wp-content/themes/poweroptions/fonts/OpenSans-Bold.woff') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('https://poweroptions.org/wp-content/themes/poweroptions/fonts/OpenSans-ExtraBold.woff') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
} */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body,
form.form {
    padding: 0 !important;
    margin: 0 !important;
}

html {
    overflow-x: hidden;
}

* {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    box-sizing: border-box;
}
form.form input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #e6e6e6;
    width: 100% !important;
    margin-right: 0;
    height: 49px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.5;
}

form.form input.text {
    display: block !important;
    padding: 0;
    margin-bottom: 0 !important;
    padding-left: 7px;
    padding-right: 7px;
}

form.form input::placeholder,
form.form textarea::placeholder {
    opacity: 1;
    color: #959595;
    font-size: .875rem;
}

form.form input:focus {
    outline: none;
}

.form-field {
    display: block;
    /* margin: 10px 0 0 0 !important; */
    margin: 0 !important;
    /* padding: 0 !important; */
    padding: 10px 0 0 0 !important;
}

.form-field:first-child {
    /* margin-top: 0 !important; */
    padding-top: 0 !important;
}

.submit {
    margin: 0 !important;
}

form.form p:empty {
    display: none;
}

form.form p.submit {
    margin: 0;
    width: 250px;
    display: inline-block;
}

form.form p.submit input {
    background-color: #009bde;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
    border: none;
    height: 50px;
    transition: .3s all ease-in-out;
    width: 100%;
    font-size: 14px !important;
    text-transform: uppercase;
    cursor: pointer;
}

form.form p.submit input:hover {
    transition: .3s all ease-in-out;
    box-shadow: inset 0 0 0 99999px rgba(0,0,0,.2);
}

form.form p label {
    font-size: 14px;
    text-align: left !important;
    padding: 0 !important;
    position: relative;
    padding-right: 10px !important;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
}

form.form .form-field.pd-radio {
    margin: 15px 0 !important;
}

form.form p:not(.pd-checkbox).required .field-label::after,
form.form p:not(.pd-radio).required .field-label::after {
    content: "*";
    width: 3px;
    height: 3px;
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 0;
    color: #000000;
}

form.form p.required label,
form.form span.required label {
    background: none !important;
}

form.form p.error {
    font-weight: 400 !important;
    font-size: .8rem !important;
    color: red !important;
    margin: 7px 0 0 0 !important;
}

form.form p.error label {
    color: #000000 !important;
}

form.form p.errors {
    display: none !important;
    background-color: red !important;
    margin-left: 0 !important;
}

form.form .form-field.pd-checkbox span.value input,
form.form .form-field.pd-radio span.value input {
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #cfcfcf;
    margin: 0;
    visibility: hidden;
    position: absolute;
    z-index: -999;
}

form.form .form-field.pd-checkbox span.value label,
form.form .form-field.pd-radio span.value label {
    position: relative;
    padding-left: 30px !important;
    cursor: pointer;
    line-height: 1.3;
}

form.form .form-field.pd-checkbox span.value label::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #cfcfcf;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

form.form .form-field.pd-radio span.value label::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #cfcfcf;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    border-radius: 50%;
}

form.form .form-field.pd-checkbox span.value input:checked + label::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #cfcfcf;
    background-image: url("../img/icons/icon--check-green.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 80% 80%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 1;
    cursor: pointer;
}

form.form p:not(.pd-checkbox) label::after {
    content: none;
}

form.form .form-field.pd-radio span.value input:checked + label::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    cursor: pointer;
    background-color: #009bde;
    border-radius: 50%;
}

form.form .form-field.pd-checkbox span.value,
form.form .form-field.pd-radio span.value {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    justify-content: space-between;
    align-items: flex-start;
}

form.form .form-field.pd-checkbox .field-label,
form.form .form-field.pd-radio .field-label {
    margin-bottom: 20px;
}

form.form .form-field.pd-checkbox span.value > span,
form.form .form-field.pd-radio span.value > span {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 50%;
}

form.form .form-field.pd-checkbox span.value > span:not(:last-child),
form.form .form-field.pd-radio span.value > span:not(:last-child) {
    margin-bottom: 8px;
}

.black, a.black {
    color: #000 !important;
}

.form-field.pd-textarea {
    margin-top: 40px !important;
}

textarea {
    width: 100% !important;
    display: block;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    outline: none;
    font-size: 16px;
    height: 180px !important;
    resize: none;
    padding: 18px !important;
    box-shadow: none;
}

form.form .g-recaptcha {
    margin-top: 20px;
}

/* Select 2 */

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--post-color, #009bde) !important;
}

.select2-container--open .select2-dropdown--above {
    top: -7px !important;
}
.select2-container .selection .select2-selection .select2-selection__rendered {
    padding-bottom: 10px;
}

.select2-results .select2-results__option {
    padding-left: 20px;
    color: #000;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.select2-container .select2-results {
    display: block;
}

.select2-container .select2-dropdown {
    top: 0;
    border: 1px solid #e6e6e6 !important;
    border-radius: 0;
    z-index: 4;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 0;
}

.select2 .selection .select2-selection .select2-selection__rendered {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    color: #000;
    font-size: 0.875rem;
    padding-left: 0;
    border-bottom: 1px solid #e6e6e6;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    width: 16px !important;
    height: 10px !important;
    margin: 0;
    margin-top: 0px;
    margin-left: 0px;
    top: 50% !important;
    transform: translateY(-50%);
    left: inherit !important;
    right: 10px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("../img/icons/icon--dropdown-arrow-grey.svg");
    transition: .3s all ease-in-out;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(180deg) translateY(50%);
}

.select2 .selection {
    width: 100% !important;
    height: 100% !important;
}

.select2 .select2-results__option {
    padding-left: 20px;
    color: #000;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.select2 .select2-selection__placeholder {
    font-size: 14px !important;
}

.select2 .select2-selection__placeholder > * {
    color: #999 !important;
}

.select2 .select2-selection__placeholder span {
    font-size: inherit !important;
}

.pd-select .field-label {
    color: #000000;
    margin-bottom: 5px;
    margin-top: 15px;
}

/* Salesforce form header */
.salesforce-form-header {
    margin-bottom: 32px;
}
.salesforce-form-header .subtitle {
    font-style: italic;
    color: #959595;
    font-size: 18px;
    margin-bottom: -6px;
    display: block;
    font-family: "Tinos", sans-serif;
    font-weight: 400;
    letter-spacing: -0.2px;
}
.salesforce-form-header h2 {
    font-weight: 600;
    font-size: 2rem;
    margin-top: 0;
}

/* Wired in form */
form.form--wired-in.form {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

form.form--wired-in.form .form-field {
    /* width: 300px; */
    width: calc(50% - 10px);
    display: inline-block;
    max-width: 100%;
    margin-top: 10px !important;
}

form.form--wired-in.form .form-field.email {
    width: calc(50% - 10px);
    display: inline-block;
    max-width: 100%;
    margin-top: 10px !important;
}

form.form--wired-in.form input.text {
    display: block !important;
    width: 300px;
    max-width: 100%;
    caret-color: #fff;
    color: #fff;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
    font-size: 18px;
}

form.form--wired-in.form p.submit,
form.form--wired-in.form .g-recaptcha {
    width: calc(50% - 10px);
    display: inline-block;
    max-width: 100%;
    margin-top: 10px !important;
}

form.form--wired-in.form p.submit input {
    padding: 0;
    margin: 0;
}

form.form--wired-in.form p label {
    color: #ffffff;
}

form.form--wired-in.form p label::after {
    color: #ffffff;
}

form.form--wired-in.form p.error label {
    color: #ffffff !important;
}

form.form--wired-in.form input::placeholder {
    color: #ffffff;
}

form.form--wired-in.form p.error {
    width: 100%;
}

/* Lets talk form */
form.form--lets-talk.form p.submit {
    width: 100% !important;
    margin-top: 50px !important;
}

form.form--lets-talk.form p.submit input {
    width: 100% !important;
    height: 50px;
    background-color: #a4d55d;
}

form.form--lets-talk.form .form-field.Electricity_Zone.pd-checkbox,
form.form--lets-talk.form .form-field.Electricity_Zone.pd-radio {
    margin: 30px 0 !important;
}

form.form--lets-talk.form .form-field.Electric_Utility.pd-select {
    margin-top: 30px !important;
}

form.form--lets-talk.form .form-field.Electric_Utility.pd-select .field-label {
    display: none !important;
}

form.form--lets-talk.form .select2 {
    width: 100% !important;
    height: 100% !important;
}

form.form--lets-talk.form .select2 .selection .select2-selection {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

form.form--lets-talk.form .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #a4d55d !important;
}

/* Contact us form */
form.contact-us-form.form .select2.select2-container {
    width: 100% !important;
}

form.contact-us-form.form .select2 {
    width: 100% !important;
    height: 100% !important;
}

form.contact-us-form.form .select2 .selection .select2-selection {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

form.contact-us-form.form .form-field.Electric_Utility.pd-select .field-label {
    display: none !important;
}

form.contact-us-form.form .form-field.Electric_Utility.pd-select {
    margin-top: 20px !important;
}

form.contact-us-form.form .field-label {
    color: #959595;
}

form.contact-us-form.form .select2 .select2-selection__placeholder {
    color: #959595;
}

form.contact-us-form.form .select2 .select2-selection__placeholder span {
    color: inherit !important;
}

form.contact-us-form.form p:not(.pd-checkbox) label::after,
form.contact-us-form.form p:not(.pd-radio) label::after {
    color: #959595;
}

form.contact-us-form.form p.submit {
    margin-top: 20px !important;
}

form.contact-us-form.form p.submit input {
    background-color: #e65525;
    width: 230px;
    height: 50px;
}

/* Quick contact form */
form.quick-contact-form.form {
    max-width: 350px;
    margin: 0 auto !important;
}

form.quick-contact-form.form .form-field .field-label {
    color: #ffffff;
}

form.quick-contact-form.form .form-field input {
    color: #ffffff;
    caret-color: #ffffff;
}

form.quick-contact-form.form p:not(.pd-checkbox) label::after,
form.quick-contact-form.form p:not(.pd-radio) label::after {
    color: #ffffff;
}

form.quick-contact-form.form .select2-container {
    width: 100% !important;
    height: 100% !important;
}

form.quick-contact-form.form .form-field.pd-select .field-label {
    display: none !important;
}

form.quick-contact-form.form p.submit {
    width: 100% !important;
    margin-top: 60px !important;
}

form.quick-contact-form.form p.submit input {
    background-color: transparent;
    border: 2px solid #fff;
}

form.quick-contact-form.form .select2-container--default .select2-selection--single {
    background-color: transparent;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

form.quick-contact-form.form .select2 .selection .select2-selection .select2-selection__rendered,
form.quick-contact-form.form .select2 .selection .select2-selection .select2-selection__rendered .black {
    color: #ffffff !important;
}

form.quick-contact-form.form .select2 .selection .select2-selection .select2-selection__rendered {
    border-bottom: 1px solid rgba(255,255,255,.6);
}

form.quick-contact-form.form .form-field.Electric_Utility.pd-select {
    margin-top: 20px !important;
}

/* form.quick-contact-form.form .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #e65525 !important;
} */

form.quick-contact-form.form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-image: url("../img/icons/icon--dropdown-arrow-white.svg");
}

form.quick-contact-form.form p.error,
form.quick-contact-form.form p.error label {
    color: #ffffff !important;
}

form.quick-contact-form.form input::placeholder {
    color: #ffffff;
}

@media only screen and (max-width: 400px) {

    form.form--wired-in.form .form-field {
        width: 100%;
        display: block;
    }

    form.form--wired-in.form .form-field.email {
        width: 100%;
        display: block;
    }
}

@media only screen and (max-width: 600px) {

    form.form--wired-in.form p.submit {
        display: block !important;
        width: 300px;
    }

    form.form--wired-in.form .g-recaptcha {
        width: 100% !;
        display: block !important;
    }
}