/* Forms & General UI Elements */
/* please migrate form elements to this file */

/*---------- QUAL FORM -------------*/

/* temp */
/*.qf-screen.inactive {
    display: block!important;
}*/
/* temp */

.qf-wrapper *, .qf-wrapper *:before, .qf-wrapper *:after { box-sizing: inherit; }
.qf-wrapper {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    margin: 10px auto;
    background-color: #fff;
    z-index: 9999;
    zoom: 1;
    overflow: visible;
    text-align: center;
}
.qf-wrapper .container {
    position: relative;
    width: 100%;
    padding: 25px 10px 10px;
    color: #58595b;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 14px;
}
.qf-wrapper .qf-user-entry .container,
.qf-full-form .container {
    /*text-align: center;*/
    padding:20px;
}
.qf-main { }
.qf-secondary.container { padding-top: 0; }
.qf-secondary {
    border-top: 1px solid #ccc;
    background-color: #e6e7e8;
}
.qf .qf-secondary .third {
    padding: 0;
}
.qf-row {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: 80%;
}
.qf-row p {
    text-align: center;
}
.full-form-link {
    display: none;
}

.qf-row:before, .qf-row:after {
    clear: both;
    display: table;
    content: " ";
}
.qf .third {
    float: left;
    position: relative;
    padding: 0 0 0 10px;
    width: 33.33%;
}

.qf .quarter {
    float: left;
    position: relative;
    padding: 0 0 0 10px;
    width: 25%;
}
.qf .phone.third { width: 66.67%; }

.qf .third:first-child { padding-left: 0; }
.qf .inactive { display: none; }

.qf h2 {
    padding: 25px 0 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #7db724;
}
.qf .qf-user-entry h2,
.qf .qf-full-form h2 {
    margin: 25px 0 10px;
    font-size: 22px;
    font-weight: bold;
    color: #58595b;
    text-transform: uppercase;
    text-align:left;
}
.qf .qf-user-entry .qf-secondary h2 {
    margin-bottom: 0px;
    margin-top:0px;
}
.qf h2 .regular { font-weight: normal; }
.qf p {
    margin: 25px auto;
    line-height: 1.35;
}
.qf .address { position: relative; }
.qf .disclaimer { margin-top: 14px; }
.qf .user-address {
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.qf .not-listed { margin-top: 20px; }
.qf p a {
    color: #7db724;
    text-decoration: underline;
    line-height: 1.5;
}
.qf p a:hover { color: #89d01c; }

.qf-verification ul {
    margin: 10px 0 20px;
    list-style: none;
    padding-left: 0;
}
.qf-verification li {
    margin-bottom: 0;
    margin-left: 0;
    padding: 5px 10px;
    text-align: left;
}

.qf-verification li:last-child {
    border-bottom: none;
}
.qf-verification li:nth-child(odd) { background-color: #ccc; }

.qf-verification p,
.qf-not-found p {
    margin: 5px 40px;
    text-align: center;
}

.qf-verification ul#suggested-list li {
    padding: 0;
}

.qf-verification ul#suggested-list label {
    padding: 10px;
    margin: 0;
}

/* FORM ELEMENTS */
.qf label {
    display: block;
    font-size:12px;
    margin-bottom: 3px;
}
.qf input[type=number],.qf input[type=text], .qf button {
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -ms-border-radius: 8px;
    border-radius: 8px;
    width: 100%;
    height: 42px;
}
.qf input[type=text] {
    margin-bottom: 8px;
    outline: none;
    border: 1px solid #ccc;
    padding: 0 0 0 10px;
    resize: none;
    background: #fff;
        -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}
.qf input[type="radio"] {
    margin: 10px;
    float: left;
    vertical-align: middle;
}
.qf-verification ul#suggested-list input[type="radio"]:checked + label {
    background-color:#bbb;
}
    .qf ::-webkit-input-placeholder { color: #ccc; font-weight: normal; }
    .qf ::-moz-placeholder { color: #ccc; font-weight: normal; }
    .qf :-ms-input-placeholder { color: #ccc; font-weight: normal; }

.qf :placeholder {
  color: #ccc;
  font-weight: normal;
}
.qf .error-field.invalid input { margin-bottom: 0; }
.qf .required.invalid { color: #ff0000; }
.qf button, .qf-close {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    background-color: #7db724;
}
.qf button {
    display: block;
    margin-top: 18px;
    border: none;
    width: 100%;
    max-width: 300px;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;;
}
.qf-verification button,
.qf-not-found button, .qf-not-available button {
    margin: 5px auto;
}
.qf-verification button { max-width: 300px; }
.qf-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    z-index: 5;
}
.qf-close::before {
    font-size: 18px;
    content: "X";
    left: 12px;
    top: 8px;
    position: absolute;
}
.qf button:hover, .qf-close:hover { background-color: #89d01c;}

/* Old Full Form Reskin */
.qf-full-form .no-results-found {
    display: none;
}
.qf-full-form .no-results-found {
    color: red;
    font-weight: bold;
    position:relative;
    top: -20px;
}
.snap-320 .qf-full-form .no-results-found {
    text-align: center;
    top: -5px;
}
.qf-full-form .ff-submit {
    width: 100%;
    max-width: none;
}
.qf-full-form input.existing-phone {
    width: 35%;
}

.qf-full-form .quarter { padding: 0; }
.qf-full-form.qf-screen .box {
    float: left;
    margin: 0 3px;
}

.qf-full-form.qf-screen .box label {
    text-align: left;
}

.qf-full-form ul {
    list-style-type: none;
}

.qf-full-form.qf-screen select {
    border-radius: 5px;
    background-color: #ececec;
    border: none;
}
.qf-full-form.qf-screen select.dropkick {
    height: 38px;
    width: 100%;
}
.qf-full-form.qf-screen .box.sm { width: 25%; }
.qf-full-form.qf-screen .box.street { width: 43%; }
.qf-full-form.qf-screen .box.type { width: 25%; }
.qf-full-form.qf-screen .box.state { width: 15%; }
.qf-full-form.qf-screen .box.city { width: 28%; }
.qf-full-form.qf-screen .box.zip { width: 25%; }

/* AUTOCOMPLETE */
.qf-autocomplete {
display: none;
position: absolute;
margin-top: -10px;
padding-left: 0;
border: 1px solid #ccc;
border-radius: 0 0 10px 10px;
width: 100%;
background-color: #fff;
list-style: none;
z-index: 20;
}
.qf-autocomplete li {
border-top: 1px solid #ccc;
margin-left: 0;
padding: 8px 6px;
color: #ccc;
}
.qf-autocomplete li.active{
color: #58595b;
font-weight: bold;
}
.qf-autocomplete li:first-child { border-top: none; }

/* ERRORS */
.qf .error-msg {
    display: none;
    margin-top: 0;
    color: #ff0000;
    font-weight: bold;
}
.qf .error-result p { margin-top: 0; }
.qf .error-msg.invalid { display: block; }

.qf .error-field { border: 2px solid rgba(1,0,0,0); }
.qf .error-field.invalid {
    border: 2px solid #ff0000;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -ms-border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}
.snap-320 #mylocation-omniform .qf-main.container {
    padding: 20px;
    text-align: center;
}
.snap-320 #mylocation-omniform .qf-main.container h2 {
    margin: 20px 0;
}
.snap-320 #mylocation-omniform .qf-main.container label {
    font-size:12px;
    margin-bottom:3px;
}
.snap-320 #mylocation-omniform .third,
.snap-320 .qf-full-tabbed-form .third {
    width:50%;
    margin:0 auto;
    float: none;
}
.snap-320 #mylocation-omniform .unit.third,
.snap-320 #mylocation-omniform .zip.third {
    width:49.4%;
    float:left;
}
.snap-320 #mylocation-omniform .unit.third {
    margin-right:4px;
}
.snap-320 #mylocation-omniform button {
    display: inline-block;
}
.snap-320 #mylocation-omniform .qf-user-entry .qf-secondary h2 {
    width:60%;
    margin: 0 auto;
    text-align: center;
}
.snap-320 #mylocation-omniform .disclaimer {
    text-align: center;
}
.snap-320 .qf-wrapper .qf-user-entry .container, .qf-full-form .container {
    padding:20px;
}
@media screen and (min-width: 768px) {
    .qf-wrapper {
        position: relative;
        max-width: 630px;
    }

    .qf-wrapper .container {
        padding: 28px 35px 20px;
        font-size: 14px;
    }
    .qf .qf-user-entry h2, .qf .qf-full-form h2 {
        margin-bottom: 22px;
        font-size: 30px;
        text-align: center;
    }
    .qf button, .qf-close { font-size: 20px; }
    .qf .phone.third { width: 33.33%; }
}

.qf-screen {
    width: 600px;
}

/**** TABBED CONTENT CONTAINER STYLES ****/
/* Style the tabs */
.qf ul.tab {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/* Float the tab items side by side */
/* Style the links inside the tabs items */
.qf ul.tab li {
    float: left;
    display: inline-block;
    color: #58595B;
    text-align: center;
    padding: 25px 0;
    text-decoration: none;
    transition: 0.3s;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    border:1px #f8f8f8 solid;
    border-bottom-color:#ccc;
    background-color: #F8F8F8;
    width:50%;
    cursor: pointer;
}
/* Create an active/current tablink class */
.qf ul.tab li.current {
    color:#7DB41D;
    background-color:#fff;
    border-color: #ccc;
    border-bottom-color:transparent;
}
/* Style the tab content */
.qf .tabcontent {
    display: none;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top-color: transparent;
}
.qf .tabcontent.current {
    display: inherit;
}
/**** END TABBED CONTENT CONTAINER STYLES ****/

.qf .intro {
    /*margin-bottom:46px;*/
}

.qf .intro h2 {
    color: #58595B;
    font-size: 32px;
    font-weight:normal;
    letter-spacing: 0px;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
}
.qf .intro p {
    font-size: 16px;
    color: #58595B;
    line-height: 20px;
    text-align: center;
}
.qf .qf-row.address,
.qf-full-tabbed-form .box {
    margin-top:20px;
}
.qf #fullExistingCustomers p {
    text-align: center;
}
.qf small {
    font-size: 12px;
    text-align: left;
}
.qf #existingCustomers .third,
.qf #fullExistingCustomers .third {
    margin: 0 auto;
    float: none;
}
.qf #existingCustomers h2,
.qf #fullExistingCustomers h2 {
    font-size: 20px;
    text-transform: none;
}
.qf #notSure h2,
.qf #fullNotSure h2 {
    /*margin-top:40px;*/
    font-size:20px;
    text-align: center;
    color: #58595b;
}
.qf .no-results-found {
    display: none;
    color: red;
    font-weight: bold;
}
.qf-full-tabbed-form select {
    height: 38px;
    width: 100%;
    border-radius: 5px;
    background-color: #ececec;
    border: none;
}
.qf-full-tabbed-form .box.sm,
.qf-full-tabbed-form .box.type  {
    width: 25%;
}
.qf-full-tabbed-form .box.street {
    width: 50%;
}
.qf-full-tabbed-form .quarter {
    padding: 0 10px;
}
.snap-320 .qf-full-tabbed-form .qf-row.address {
    margin-top: 20px;
    margin-left: -10px;
    width: calc(100% + 10px);
}
.snap-320 .qf-full-tabbed-form .box.sm,
.snap-320 .qf-full-tabbed-form .box.street,
.snap-320 .qf-full-tabbed-form .box.type,
.snap-320 .qf-full-tabbed-form .box.unit,
.snap-320 .qf-full-tabbed-form .box.state,
.snap-320 .qf-full-tabbed-form .box.city{ margin-top: 10px; }
.snap-320 .qf-full-tabbed-form .box.zip { margin-top: 20px; }

.snap-320 .qf-full-tabbed-form .box.sm,
.snap-320 .qf-full-tabbed-form .box.street { width: 100%; }
.snap-320 .qf-full-tabbed-form .box.type,
.snap-320 .qf-full-tabbed-form .box.unit,
.snap-320 .qf-full-tabbed-form .box.state,
.snap-320 .qf-full-tabbed-form .box.city,
.snap-320 .qf-full-tabbed-form .box.zip { width: 49.4%; }


/*.qf-full-tabbed-form .box.sm,
.qf-full-tabbed-form .box.type  {
    width: 25%;
}
.qf-full-tabbed-form .box.street {
    width: 50%;
}*/
.qf-full-tabbed-form .quarter {
    padding: 0 10px;
}
/*.qf-full-tabbed-form .box.unit,
.qf-full-tabbed-form .box.state,
.qf-full-tabbed-form .box.city,
.qf-full-tabbed-form .box.zip {
    width:25%;
}*/
.qf-full-tabbed-form .box.unit {
    clear: left;
}
.qf-full-tabbed-form .box.require {
    margin:0;
}
.qf-full-tabbed-form .box.require p {
    margin:0;
}


.qf-full-tabbed-form #fullNewCustomers button {
    margin: 20px auto;
}
@media screen and (max-width: 768px) {
    .qf-screen {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .qf-tabbed,
    .qf-full-tabbed-form {
        width: 100%;
    }
    .qf-full-tabbed-form .box.number,
    .qf-full-tabbed-form .box.street {
        width:100%;
    }
    .qf-full-tabbed-form .box.type,
    .qf-full-tabbed-form .box.unit,
    .qf-full-tabbed-form .box.state,
    .qf-full-tabbed-form .box.city,
    .qf-full-tabbed-form .box.zip {
        width:50%;
    }
    .qf-full-tabbed-form .box.unit {
        clear: none;
    }
    .qf-full-tabbed-form .box.require {
        margin:20px;
    }
    .qf-full-tabbed-form .box.require p {
        margin:12px auto;
    }
    .snap-320 #mylocation-omniform .qf-full-tabbed-form .qf-row button {
        display: block;
    }

}
/*---------- END QUAL FORM -------------*/
