/* Copyright (C) 2022 Perkuto Solutions Inc - All Rights Reserved. You may use and modify this code under the terms of the Perkuto Template license available here: http://perkuto.com/terms-and-conditions */

/* Form Styling Reset */
form,
.mktoFormRow,
.mktoFormRow > *,
.mktoFieldDescriptor,
.mktoFieldDescriptor > *,
.mktoOffset,
.mktoOffset > * {
    all: unset !important;
}
.mktoLogicalField {
    padding: 0 !important;
}
  
/* Form Full Width */
form,
.mktoFieldDescriptor,
.mktoFieldWrap,
form input,
.mktoForm select.mktoField,
.mktoForm textarea {
    width: 100% !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}
.mktoForm textarea {
    resize: vertical !important;
    min-height: 60px !important;
}
.mktoForm {
    max-width: 100% !important;
    margin: 0 auto;
}

.mktoRadioList {
    width: auto !important;
}

/* Input Field & Label Styling */
.mktoField {
    background-image: none !important;
    background: white !important;
    border: 1px solid rgb(154, 154, 154) !important;
    border-radius: 4px;
    min-height: 42px !important;
}

input:focus, textarea:focus {
    outline: none !important;
    border: 1px solid rgb(121, 121, 121) !important;
}

.mktoFormCol {
    padding-right: 1rem !important;
}

.mktoForm label {
    margin-bottom: 2px !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.mktoLabel {
    width: auto !important;
}

.mktoForm label.mktoLabel {
    color: white !important;
    padding-bottom: .25rem !important;
}

.mktoAsterix {
    display: none !important;
}

.mktoGutter {
    display: none !important;
}

/* Mkto error */
.mktoError {
    bottom: auto !important;
    right: auto !important;
    margin-top: 96px !important;
}

/* Checkbox, Text Area, & Radio Button Styling */
.mktoCheckboxList {
    width: 100% !important;
}
.mktoForm .mktoRadioList {
    width: 100% !important;
}
.mktoForm .mktoRadioList > input,
.mktoForm .mktoCheckboxList > input {
    width: auto !important;
    height: 15px !important;
    width: 15px !important;
    min-height: auto !important;
    margin-top: 5px !important;
}

.mktoForm .mktoCheckboxList > input {
    margin-top: 5px !important;
}
.mktoForm .mktoRadioList label, .mktoForm .mktoRadioList > input {
    margin-bottom: 4px !important;
}
.mktoRadioList {
    padding-left: 0 !important;
}
.mktoRadioList input {
    margin-top: 0.13rem !important;
}

.mktoForm input,
.mktoForm select.mktoField,
textarea {
    margin-bottom: .65rem !important;
    padding: 0.35rem !important;
    font-size: 1rem !important;
    height: 45px !important;
    color: #4D4F53 !important;
}

.mktoForm input[type=url], .mktoForm input[type=text], .mktoForm input[type=date], .mktoForm input[type=tel], .mktoForm input[type=email], .mktoForm input[type=number], .mktoForm textarea.mktoField, .mktoForm select.mktoField {
    padding: .75rem !important;
}

.mktoForm input[type=text], .mktoForm input[type=url], .mktoForm input[type=email], .mktoForm input[type=tel], .mktoForm input[type=number], .mktoForm input[type=date], .mktoForm textarea.mktoField {
    font-size: 1rem !important;
}

.mktoFieldWrap select:last-of-type {
    margin-bottom: .65rem !important;
}

.mktoForm .mktoRadioList > label, .mktoForm .mktoCheckboxList > label {
    margin-top: 0px !important;
    line-height: unset !important;
    font-weight: normal !important;
}
input[type="radio"] {
    cursor: pointer;
}
input[type="radio"]:checked  {
    appearance: auto !important;
}
input[type="checkbox"] {
    cursor: pointer;
}

/* Removing Arrows from Number & Phone Inputs */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Form HTML Text Styling */
.mktoHtmlText {
    padding: 0 !important;
    width: auto !important;
    color: white !important;
    margin: auto !important;
}

/* Dropdown Arrow Styling */
.mktoForm select {
    appearance: none !important;
    background-image: url("https://info.abm.com/rs/544-OJN-997/images/arrow_blue_down.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: .9rem !important;
}

/* Form Button */
.mktoButtonRow {
    width: 100% !important;
}

.mktoButtonRow span {
    margin-left: 0 !important;
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
    all: unset;
    display: revert;
    box-sizing: border-box;
    overflow: visible;
    text-transform: none;
    line-height: 25px;
    cursor: pointer !important;
    font-family: inherit !important;
    margin: 0 !important;
    width: auto !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: all 0.1s ease-in-out !important;
    -webkit-appearance: button;
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
    border: none !important;
    background: #ffffff !important;
    color: #0046AD !important;
    border-radius: 50px !important;
    font-size: .90rem !important;
    font-weight: bold;
    margin-top: 1rem !important;
    padding: .65rem 2rem !important;
    transition: 150ms;
    transition-property: background-color;
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
    background-color: #D55600 !important;
    color: #ffffff !important;
}

/* Links within Form */
.mktoHtmlText.mktoHasWidth > a {
    color: white !important;
    text-decoration: underline !important;
    padding: 0 !important;
}
.mktoHtmlText.mktoHasWidth > a:hover {
    color: white !important;
}

@media only screen and (min-width: 576px) {
}


@media only screen and (min-width: 767px) {
    .mktoFormRow {
        display: flex !important;
    }
    
    #mktoForm_17959 > div:nth-child(5) > div.mktoFieldDescriptor.mktoFormCol > div.mktoFieldWrap.mktoRequiredField {
        display: flex !important;
        flex-direction: column !important;
    }
    .mktoGutter {
        width: 0 !important;
    }
    .mktoRadioList {
        width: auto !important;
    }
}