body.address-dialog-modal {
    overflow: hidden;
}

.addressdialog-modal-container {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, .9);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.addressdialog-box-container {
    display: flex;
    position: relative;
    width: 98.396vw;
    height: 43.868vw;
    border: 1px solid #707070;
    background-color: #FFFFFF;
}

.addressdialog-box-image-container {
    width: 44.057vw;
    min-width: 44.057vw;
    background-image: url('/resources/images/home-services/ui-components/address-dialog/hs-img-checkavailability.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.addressdialog-box-form-container {
    position: relative;
    text-align: left;
    align-self: center;
    padding: 4.245vw;
}

.addressdialog-close-button {
    position: absolute;
    top: 0px;
    right: 2.358vw;
    font-size: 2.83vw;
    cursor: pointer;
    color: #707070;
}

.addressdialog-box-form-container > h2 {
    font-weight: normal;
    font-size: 3.774vw;
    color: #00C0F3;
    margin-bottom: 4.245vw;
}

.addressdialog-box-form-container input {
    width: 100%;
    height: 3.585vw;
    border: 1px solid #707070;
    margin-bottom: 1.887vw;
    padding: 0px 1.415vw;
    font-size: 1.509vw;
}

.addressdialog-box-form-container input.invalid {
    border-color: #FF0018;
    box-shadow: 0 0 10px #FFA0A0;
}

.addressdialog-submitbutton-container {
    text-align: center;
    margin-top: 1.415vw;
}

.addressdialog-submitbutton {
    width: 21.698vw;
    height: 3.396vw;
    color: #FFFFFF;
    font-size: 1.321vw;
    background-color: #00C0F3;
    border: 1px solid #00C0F3;
    border-radius: 1.793vw;
    transition: background-color .75s, color .75s;
}

.addressdialog-submitbutton:focus,
.addressdialog-submitbutton:hover {
    background-color: transparent;
    color: #00C0F3;
}

.addressdialog-cityzipcode-fields {
    display: flex;
}

.addressdialog-city-field {
    padding-right: .943vw;
    width: 100%;
}

.addressdialog-zipcode-field {
    padding-left: .943vw;
}

.addressdialog-wait-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .9);
    text-align: center;
}

.addressdialog-wait-overlay-inner {
    font-size: 2.83vw;
    position: relative;
    top: 35%;
}

.addressdialog-wait-overlay-inner > img {
    margin-top: 1.415vw;
}

.pac-container {
    z-index: 99991 !important;
}

@media (min-width: 1060px) {
    .addressdialog-box-container {
        width: 1043px;
        height: 465px;
    }
    
    .addressdialog-box-image-container {
        width: 467px;
        min-width: 467px;
    }
    
    .addressdialog-box-form-container {
        padding: 45px;
    }
    
    .addressdialog-close-button {
        right: 25px;
        font-size: 30px;
    }
    
    .addressdialog-box-form-container > h2 {
        font-size: 40px;
        margin-bottom: 45px;
    }
    
    .addressdialog-box-form-container input {
        height: 38px;
        margin-bottom: 20px;
        padding: 0px 15px;
        font-size: 16px;
    }
    
    .addressdialog-submitbutton-container {
        margin-top: 15px;
    }
    
    .addressdialog-submitbutton {
        width: 230px;
        height: 36px;
        font-size: 14px;
        border-radius: 19px;
    }

    .addressdialog-city-field {
        padding-right: 10px;
    }
    
    .addressdialog-zipcode-field {
        padding-left: 10px;
    }
    
    .addressdialog-wait-overlay-inner {
        font-size: 30px;
    }
    
    .addressdialog-wait-overlay-inner > img {
        margin-top: 15px;
    }
}

@media (max-width: 550px) {
    .addressdialog-modal-container {
        align-items: flex-start;
        padding-top: 57px;
        overflow: auto;
    }
    
    .addressdialog-box-container {
        flex-direction: column;
        width: 100%;
        height: auto;
        border: none;
    }
    
    .addressdialog-box-image-container {
        width: 100vw;
        height: 99.572vw;
    }

    .addressdialog-box-form-container {
        padding: 5.455vw;
    }
    
     .addressdialog-close-button {
        top: 2vw;
        right: 4.545vw;
        font-size: 5.455vw;
    }

    .addressdialog-box-form-container > h2 {
        font-size: 4.455vw;
        margin-bottom: 5.455vw;
        padding: 0px 13.636vw;
        text-align: center;
    }
    
    .addressdialog-box-form-container input {
        height: 6.909vw;
        margin-bottom: 2.182vw;
        padding: 0px 2.727vw;
        font-size: 2.909vw;
    }
    
    .addressdialog-submitbutton-container {
        margin-top: 3.636vw;
        margin-bottom: 21.818vw;
    }

    .addressdialog-submitbutton {
        width: 41.818vw;
        height: 6.545vw;
        font-size: 2.545vw;
        border-radius: 3.455vw;
    }
}
