




/* CUSTOM FORMS STYLES | (Mod Theme) */
/* ===================================================== */

/* RESET browser input field styling */
/* ------------------------------- */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    /*font-family: "Encode-Sans";*/
}



/* Custom FORM INPUT Base */
/* ------------------------------- */
form {
    margin-bottom: 20px; }
fieldset {
    margin-bottom: 20px; }
input,
textarea {
    width: 100%;
    background: white;
    border: none;
    border-bottom: 1px solid #aaa;
    opacity: 1;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    border:none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -ms-appearance: none; /* get rid of default appearance for IE8, 9 and 10*/




    /*border: 1px solid #ccc;*/
    padding: 12px 8px;
    outline: none;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    /*font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    /*color: #777;*/
    margin: 0;
    width: 210px;
    max-width: 100%;
    display: block;
    margin-bottom: 20px;

    border: 1px solid  #aaa;
    /*background: #fff; */
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
    background: rgba(0,0,0,0.2);
    border: 1px solid  #777;
}
textarea {
    min-height: 60px;
    width: auto; }
label,
legend {
    display: block;
    font-weight: bold;
    font-size: 13px;  }
select {
    width: 220px;
    background: none; }
input[type="checkbox"] {
    display: inline; }
label span,
legend span {
    font-weight: normal;
    font-size: 13px;
    color: #444; }



/* TEXT-WHITE | */
/* ------------------------------- */
.text-white label span,
.text-white legend span {
    font-weight: normal;
    font-size: 13px;
    color: #aaa; }
input.text-white,
.text-white input {
    color: white;
}

input.text-white::-webkit-input-placeholder {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.text-white input::-webkit-input-placeholder /* Edge */ {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
input.text-white::-ms-input-placeholder{
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.text-white input::-ms-input-placeholder /* Internet Explorer 10-11 */ {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
input.text-white::placeholder{
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.text-white input::placeholder {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}




/* CUSTOM SELECT INPUT */
/* ------------------------------- */
select.form-control {
    padding-right: 2.8em;

    background-image: linear-gradient(45deg, transparent 50%, rgba(125,125,125,1) 50%), linear-gradient(135deg, rgba(125,125,125, 1) 50%, transparent 50%), linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.1));
    background-position: calc(100% - 17px) calc(1em + 1px), calc(100% - 12px) calc(1em + 1px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.2em 2.8em;
    background-repeat: no-repeat;
}



/* CUSTOM CHECK BOXES | */
/* @link https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* ------------------------------- */
/* Customize the label (the container) */
/* Hide the browser's default checkbox */
input[type="radio"],
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 100;
    height: 2em;
    display: inline-block;
}
/* Create a custom checkbox */
input[type="radio"] + label,
input[type="checkbox"] + label {
    margin-left: 2em;
}
input[type="radio"] + label:before,
input[type="checkbox"] + label:before {
    position: absolute;
    font-size: 14px;
    line-height: 21px;
    top: 6px;
    left: 0;
    height: 20px;
    width: 20px;
    background: none;
    content: '';
    border: 1px solid var(--color-primary-a70);
    padding: 0px 3px 5px;
    margin-top: -3px;
}
/* On mouse-over, add a background color */
html:not(.mobile) input[type="radio"]:hover  + label:before,
html:not(.mobile) input[type="checkbox"]:hover  + label:before {
    background-color: var(--color-primary-a70);
    border: 1px solid var(--color-primary);
}
/* When the checkbox is checked, add a blue background */
input[type="radio"]:checked  + label:before,
input[type="checkbox"]:checked  + label:before {
    content:  "\2713 ";
    color: var(--color-primary);
}



/* CUSTOM RADIO BUTTONS | */
/* @link https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* ------------------------------- */
/* Create a custom checkbox */
input[type="radio"]  + label:before {
    border-radius: 50%;
    text-align: center;
    padding: 0 0 0 1px;
    line-height: 1.4em;
    content:  " ";
}
input[type="radio"]:checked  + label:before {
    content:  "•";
}

/* Radio & Checkbox (text-white) | */
/* ------------------------------- */
.text-white input[type="radio"]  + label:before,
.text-white input[type="checkbox"]  + label:before {

    /* PRIMARY lite*/
    color: var(--color-primary-l1);

    border: 1px solid var(--color-primary);
}



/* FORM PROGRESSBAR | Static */
/* ------------------------------- */
.form-progress-bar .form-progress {
    background: var(--color-primary);
}
.form-progress-bar p {
    color: #aaa;
}





/* BOOTSTRAP Extensions | */
/* ===================================================== */

/* Bootstrap extension : Misc*/
/* ------------------------------- */
.form-check-inline label {
    white-space: nowrap;
}
.text-white .form-control {
    color: #7c8994;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
}


/* Bootstrap extension : FORM LAYOUT MODS - INLINE FIELDS  | */
/* ------------------------------- */
.inline-fields input[type="radio"] + label:before,
.inline-fields input[type="checkbox"] + label:before {
    left: 15px;
    margin-top: 2px;
}

.inline-fields input[type="radio"] + label,
.inline-fields input[type="checkbox"] + label {
    margin-top: 2px;
    margin-left: 30px;
}
.inline-fields > [class^="col-"] {
    border-bottom: 1px solid #eee;
    padding-top: 15px;
    padding-bottom: 15px;
}
.inline-fields > .col-12:last-child {
    border-bottom: none;
}

@media (min-width: 992px) {
    .inline-fields > [class^="col-"] {
        border-top: none;
        border-bottom: none;
    }
    .inline-fields > [class^="col-"] + [class^="col-"] {
        border-left: 1px solid #eee;
        padding-left: 15px;
        padding-bottom: 0;
    }
}
@media (max-width: 1200px) {
    .inline-fields > .col-submit {
        border-left: none !important;
    }
}








/* NINJA FORMS (aka: NF) | */
/* ===================================================== */

/* NF CLASSES */
/* ------------------------------- */
.nf-form-fields-required {
    font-size: 13px;
}
.nf-error-msg,
.ninja-forms-req-symbol {
    color: #ff7373;
}
.contact-form-popup-trigger:hover {
    background-color: rgba(0,0,0,0.2);
}
.cta-nf-submit:hover {
    background: rgba(0,0,0,0.4);
}
.cta-nf-submit {
    color: white;
    width: auto;
    display: inline-block;
    /*letter-spacing: 0.1em;*/
    text-transform: uppercase;
    /*font-family: Encode Sans;*/
    font-weight: 600;
    font-size: 12px;
    padding: 13px 21px;
    background: var(--color-primary);
    border: none;
    background: none;
    border: 1px solid #fff;
    cursor: pointer;
}



/* CUSTOM CHECK BOXES (NF) | */
/* @link https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* ------------------------------- */
/* Customize the label (the container) */
.list-checkbox-wrap .nf-field-element li,
.list-radio-wrap .nf-field-element li {
    display: block;
    position: relative;
    /*padding-left: 35px;*/
    /*margin-bottom: 12px;*/
    /*cursor: pointer;*/
    /*-webkit-user-select: none;*/
    /*-moz-user-select: none;*/
    /*-ms-user-select: none;*/
    /*user-select: none;*/
}
/* Hide the browser's default checkbox */
.list-checkbox-wrap .nf-field-element input,
.list-radio-wrap .nf-field-element input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 100;
    height: 2em;
    display: inline-block;
}
/* Create a custom checkbox */
.list-checkbox-wrap .nf-field-element label:before,
.list-radio-wrap .nf-field-element label:before  {
    position: absolute;
    font-size: 14px;
    line-height: 21px;
    top: 6px;
    left: 0;
    height: 20px;
    width: 20px;
    background: none;
    content: '';
    border: 1px solid var(--color-primary-a70);
    padding: 0px 3px 5px;
    margin-top: -3px;
}
/* On mouse-over, add a background color */
html:not(.mobile) .list-checkbox-wrap .nf-field-element input:hover ~ label:before,
html:not(.mobile) .list-radio-wrap .nf-field-element input:hover ~ label:before {
    background-color: var(--color-primary-a70);
    border: 1px solid var(--color-primary);
}
/* When the checkbox is checked, add a blue background */
.list-checkbox-wrap .nf-field-element input:checked ~ label:before,
.list-radio-wrap .nf-field-element input:checked ~ label:before {
    content:  "\2713 ";
    color: var(--color-primary);
}
.list-checkbox-wrap .nf-field-element ul li,
.list-radio-wrap .nf-field-element ul li {
    margin-bottom: 10px!important;
}
/*.list-radio-wrap .nf-field-element li label, */
.list-checkbox-wrap .nf-field-element ul li label,
.list-radio-wrap .nf-field-element ul li label
{
    margin-left: 2em;
}



/* CUSTOM RADIO BUTTONS (NF) | */
/* @link https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* ------------------------------- */
/* Create a custom checkbox */
.list-radio-wrap .nf-field-element label:before {
    border-radius: 50%;
    text-align: center;
}
/* When the checkbox is checked, add a blue background */
.list-radio-wrap .nf-field-element input:checked ~ label:before {
    content:  "•";
}













/* WP CONTACT FORMS 7 (aka: CF7) | */
/* TODO CF7 stuff and probably entire file COPY to BLANK*/
/* ===================================================================== */

/* MISC MODS (CF7) | */
/* ------------------------------- */
div.wpcf7 .ajax-loader {
    position: absolute;
}
/*.d-inline-block + .wpcf7-form-control-wrap*/
.d-inline-block ~ .wpcf7-form-control-wrap {
    display: inline-block;
}
.d-inline-blocks .wpcf7-form-control-wrap {
    display: inline-block;
}
.wpcf7 label + .wpcf7-form-control-wrap {
    margin-left: 0.5rem;
}



/* INPUT ERRORS (CF7) | */
/* ------------------------------- */
input[type="text"] + .wpcf7-not-valid-tip,
input[type="password"] + .wpcf7-not-valid-tip,
input[type="email"] + .wpcf7-not-valid-tip,
input[type="tel"] + .wpcf7-not-valid-tip,
input[type="date"] + .wpcf7-not-valid-tip,
textarea + .wpcf7-not-valid-tip {
    width: 210px;
}
.wpcf7 input[type="number"] + .wpcf7-not-valid-tip,
.wpcf7 input[type="number"] {
    width: 170px;
}
.wpcf7 input.date + .wpcf7-not-valid-tip,
.wpcf7 input.date {
    width: 100px;
}
.wpcf7-not-valid-tip {
    margin-bottom: 15px;
}



/* TEXT-WHITE (CF7) | */
/* ------------------------------- */
.text-white div.wpcf7-validation-errors,
.text-white div.wpcf7-acceptance-missing {
    border: 2px solid #5a4c00;
}
.text-white .wpcf7 input[type="number"] {
    /*color: #7c8994;*/
    /*background-color: transparent;*/
    /*border: 1px solid rgba(255,255,255,0.3);*/
}
.text-white .wpcf7-previous.btn-alt {
    border-color: rgba(255,255,255,0.3);
    color: #ccc;
}
.text-white .wpcf7-previous.btn-alt:hover {
    border-color: rgba(255,255,255,1);
    color: #fff;
}
/* Address Auto_Complete*/
.address-autocomplete-maps + br,
.address-autocomplete-maps + br + br {
    display: none;
}
/* Text-Center */
.text-center .wpcf7-form-control {
    display: inline-block;
}
.wpcf7-form-control[type="submit"] {
    width: auto;
}



/* CUSTOM CHECK BOXES (CF7) | */
/* @link https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* ------------------------------- */
/* Customize the label (the container) */
.wpcf7-radio,
.wpcf7-checkbox {
    margin-bottom: -1rem;
    margin-left: -1rem;
}
.wpcf7-radio span.wpcf7-list-item,
.wpcf7-checkbox span.wpcf7-list-item {
    position: relative;
    white-space: nowrap;
    margin-bottom: 1rem;
    height: 2.5rem;
}
/* Create a custom checkbox */
input[type="radio"] + .wpcf7-list-item-label,
input[type="checkbox"] + .wpcf7-list-item-label {
    margin-left: 2em;
}
input[type="radio"] + .wpcf7-list-item-label:before,
input[type="checkbox"] + .wpcf7-list-item-label:before {
    position: absolute;
    font-size: 14px;
    line-height: 21px;
    top: 6px;
    left: 0;
    height: 20px;
    width: 20px;
    background: none;
    content: '';
    border: 1px solid var(--color-primary-a70);
    padding: 0px 3px 5px;
    margin-top: -3px;
}
/* On mouse-over, add a grey background color */
html:not(.mobile) input[type="radio"]:hover  + .wpcf7-list-item-label:before,
html:not(.mobile) input[type="checkbox"]:hover  + .wpcf7-list-item-label:before {
    background-color: var(--color-primary-a70);
    border: 1px solid var(--color-primary);
}
/* When the checkbox is checked, add a blue background */
input[type="radio"]:checked  + .wpcf7-list-item-label:before,
input[type="checkbox"]:checked  + .wpcf7-list-item-label:before {
    content:  "\2713 ";
    color: var(--color-primary);
}



/* CUSTOM RADIO BUTTONS (CF7) | */
/* @link https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
/* ------------------------------- */
/* Create a custom radio button */
input[type="radio"]  + .wpcf7-list-item-label:before {
    border-radius: 50%;
    text-align: center;
    padding: 0 0 0 0;
    line-height: 1.4em;
    content:  " ";
}
input[type="radio"]:checked  + .wpcf7-list-item-label:before {
    content:  "•";
}



/* CUSTOM RADIO BUTTONS (CF7) | TEXT-WHITE */
/* --------------------------------------- */
/* Radio & Checkbox (text-white) */
.text-white input[type="radio"]  + .wpcf7-list-item-label:before,
.text-white input[type="checkbox"]  + .wpcf7-list-item-label:before {

    /* PRIMARY lite*/
    color: var(--color-primary-l1);

    border: 1px solid var(--color-primary);
}
/* Radio & Checkbox Labels (text-white) */
.text-white .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label,
.text-white .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label {
    color: rgba(255,255,255,0.6);
}
.text-white .wpcf7-radio input[type="radio"]:hover  + .wpcf7-list-item-label,
.text-white .wpcf7-checkbox input[type="checkbox"]:hover  + .wpcf7-list-item-label,
.text-white .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label,
.text-white .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label  {
    /*text-decoration: underline;*/
    color: rgba(255,255,255,1);
}




