/* Smartphone and small window */
.amazon-btn {
    padding: 15px 0;
    text-align: center;
}

.amazon-btn img {
    max-width: 100%;
}

.amazon-btn-right {
    clear: both;
    float: right;
}


.amazon-item-list.item-list td.order-payment-summary {
    min-width: 160px;
}


#addressBookWidgetDiv .widget-container,
#consentWidgetDiv .widget-container,
#walletWidgetDiv .widget-container,
#addressBookWidgetDiv iframe,
#consentWidgetDiv iframe,
#walletWidgetDiv iframe {
    width: 100% !important;
}

#addressBookWidgetDiv,
#walletWidgetDiv {
    min-width: 280px;
    max-width: 600px;
    width: 100%;
    height: 300px;
    padding : 0 0 40px;
}

#consentWidgetDiv {
    min-width: 300px;
    max-width: 600px;
    width: 100%;
    height: 140px;
    padding : 0 0 40px;
}

form legend {
    overflow: hidden; /* clearfix */
    clear: both;
}

.amazonheader {
    padding : 0 0 10px 0;
    margin : 0 0 0 -25px;
}

.amazonpopup {
    padding : 0 0 0px 50px;
}

.amazon-button {
    padding : 0 0 5px 0px;
}

/* Ignore all the user actions when the button is disabled */
.amazon-button[disabled] {
    pointer-events: none;
    position: relative;
}

.amazon-button[disabled] img {
    opacity: 0.6;
}

.amazon-button[disabled]:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.billing-form{
    display: none;
}

.payment-message {
    color: #990000;
    font-size: 1em;
    padding-bottom: 10px;
}

/* Desktop and tablet */
@media only screen and (min-width: 768px) {
    #addressBookWidgetDiv {
        width: 450px;
        height: 300px;
        padding : 0 0 10px 50px;
    }

    #consentWidgetDiv {
        width: 400px;
        height: 140px;
        padding : 0 0 40px 50px;
    }
}

@media screen and (max-width: 959px) and (min-width: 768px) {
    .amazon-item-list.item-list td {
        padding: 1em 0.3em;
    }

    .primary-focus #secondary {
      width: 190px;
    }

}

.level-2 {z-index: 15}

