@media(min-width : 1024px) {
    #form2 .modal-content {
        width: 50%;
        max-width: 700px;
    }

    #o2o-thank-you .modal-content {
        width: 45%;
        max-width: 650px;
    }
}

#form2 .autocomplete {
    position: relative;
    display: inline-block;
}

#form2 #google_Sign_In,
#form2 #facebook_Sign_In {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    flex-direction: row;
}

#form2 #google-container .aem-Grid.aem-Grid--12.aem-Grid--default--12.aem-Grid--phone--12,
#form2 #facebook-container .aem-Grid.aem-Grid--12.aem-Grid--default--12.aem-Grid--phone--12 {
    display: flex;
    align-items: center;
}

#form2 #gooogle-container .aem-Grid.aem-Grid--12.aem-Grid--default--12.aem-Grid--phone--12,
#form2 #facebook-container .aem-Grid.aem-Grid--12.aem-Grid--default--12.aem-Grid--phone--12 {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#form2 #facebook_Sign_In img {
    cursor: pointer;
    width: 40px;
    height: 40px;
}

#form2 .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    left: 10px;
    right: 10px;
}

#form2 .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
}

/*when hovering an item:*/
#form2 .autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
#form2 .autocomplete-active {
    background-color: #e9e9e9;
    color: #ffffff;
}

#form2 #country-code {
    background-color: #f7f7f7;
}

#form2 input[name="PII"]+.cmp-form-options__field-description {
    font-weight: 400;
}

#form2 .cmp-form-options__field.cmp-form-options__field--drop-down.parsley-error {
    margin-bottom: 0px;
}

#form2 #loader-image img {
    transform: translate(-50%, -50%);
    position: relative;
    left: 50%;
    top: 50%;
}

#form2 #loader-image .cmp-image {
    background-color: #EFEFEF;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: .5;
}

#form2 #o2o-bottom-text {
    overflow: auto;
    height: 200px;
}