/* Styles to modify NotifyMe position */

/*iPhone 5 Screen Size*/
@media (min-width: 0px) and (max-width: 320px) {
    .aec-buybutton .aec-hrmargin {
        display: none;
    }    

    div.aec-btnQtyWrapper .quantity-wrapper {
        position: relative !important;
        top: 70px !important;
        font-size: 16px !important;
        left: 205px !important;
        max-width: 75px;
        margin: 0;
    }

    .aec-main-buybtn div.aec-buybutton .aec-buybutton-textbtn {
        width: 100% !important;
    }


    .aec-main-buybtn div.aec-buybutton .aec-title {
        width: 180px !important;
    }

    .aec-allformats {
        z-index: 999;
    }

    .aec-productfeature.mu #aec-otherformats.expanded {
        background-color: #fff;
    }

    .aec-main-buybtn div.aec-buybutton .aec-title {
        width: 100% !important;
        text-align: center;
    }

    .aec-main-buybtn .aec-listprice,
    .aec-main-buybtn .aec-yousave {
        padding-left: 90px;
    }

    .aec-main-buybtn .aec-listprice, .aec-main-buybtn .aec-yousave {
        font-size: 10px;
    }
}

/*iPhone 6/7/8 PLUS Screen Size*/
@media (min-width: 321px) and (max-width: 414px) {

    .aec-buybutton .aec-hrmargin {
        display: none;
    }     

    .aec-main-buybtn div.aec-buybutton .aec-title {
        width: 100% !important;
        text-align: center;
    }

    .aec-allformats {
        z-index: 999;
    }

    .aec-productfeature.mu #aec-otherformats.expanded {
        background-color: #fff;
    }
}


@media (min-width: 449px) and (max-width: 529px) {
    .aec-main-buybtn .aec-yousave {
        padding-left: 115px;
    }

    .aec-main-buybtn .aec-listprice {
        border-right: none;
    }
}

/*iPad Screen Size*/
@media (min-width: 415px) and (max-width: 768px) {
    .aec-buybutton .aec-hrmargin {
        display: none;
    }

    .aec-allformats {
        z-index: 999;
    }

    .aec-productfeature.mu #aec-otherformats.expanded {
        background-color: #fff;
    }
}

/*iPad Pro Screen Size*/
@media (min-width: 769px) and (max-width: 1024px) {

    .aec-buybutton .aec-hrmargin {
        display: none;
    }

    #aec-notify-emailsent {
        top: 100px !important;
        right: 0 !important;
        position: absolute !important;
        width: 200px !important;
        border: 1px solid #f56363;
        padding: 5px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #f56363;
        color: white;
        text-align: center;
    }

    
}

/*Desktop Screen Size (even 4K resolution)*/
@media (min-width: 1025px) and (max-width: 4096px) {

    .aec-buybutton .aec-hrmargin {
        display: none;
    }


    #aec-notify-emailsent {
        top: 100px !important;
        right: 0 !important;
        position: absolute !important;
        width: 200px !important;
        border: 1px solid #f56363;
        padding: 5px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #f56363;
        color: white;
        text-align: center;
    }

}

@media (min-width: 991px) and (max-width: 4096px) {
    div.aec-btnQtyWrapper > div:first-child {
        position: absolute;
        right: 0;
        left: inherit !important;
        font-size: 18px;
        top: 0;
    }

    .aec-productfeature.mu #aec-socialtoolbar {
        bottom: 0;
        text-align: center;
        position: relative;
    }

    .aec-buybutton #aec-notifyme-email {
        position: absolute;
        top: 80px;
        right: 0;
        height: 30px;
        width: 220px;
        border: 1px solid #D7D4C7;
        border-radius: 4px !important;
        padding: 5px 15px;
        font-size: 14px;
        font-weight: lighter;
    }

    .aec-buybutton #aec-notifyme-button {
        position: absolute;
        right: -1px;
        width: 220px;
        height: 30px;
        border-radius: 4px;
        font-size: 13px;
        color: var(--button-primary-text-color)
    }

    .aec-buybutton .aec-privacypolicy {
        position: absolute;
        top: 140px;
        right: 80px;
        font-size: 14px;
        margin: 5px;
        font-weight: lighter;
    }
}

@media (max-width: 991px) and (min-width: 0px)  {
    .aec-productfeature.mu #aec-socialtoolbar {
        right: 50%;
        transform: translateX(50%);
        -webkit-transform: translateX(50%);
        width: 205px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .aec-buybutton #aec-notifyme-email {
        position: absolute;
        top: 109px;
        right: initial;
        height: 30px;
        width: 220px;
        border: 1px solid #D7D4C7;
        border-radius: 4px !important;
        padding: 5px 15px;
        font-size: 14px;
        font-weight: lighter;
    }

    .aec-buybutton #aec-notifyme-button {
        position: absolute !important;
        top: 110px !important;
        right: 0px;
        width: 220px !important;
        height: 30px;
        border-radius: 4px;
        font-weight: lighter;
        background: #f56363;
    }

    .aec-buybutton .aec-privacypolicy {
        position: absolute;
        top: 143px;
        right: 60px;
        font-size: 14px;
        margin: 5px;
        font-weight: lighter;
    }
}


@media (min-width: 0px) and (max-width: 767px) {
    .aec-product-pane {
        padding-left: 10%;
        padding-right: 10%;
        margin-bottom: 25px;
    }

    .aec-wishlistadd {
        padding: 0 !important;
    }

    .aec-buybutton #aec-notifyme-email {
        position: relative;
        top: 130px;
        height: 30px;
        width: 100%;
        border: 1px solid #D7D4C7;
        border-radius: 4px !important;
        padding: 5px 15px;
        font-size: 14px;
        font-weight: lighter;
    }

    .aec-buybutton #aec-notifyme-button {
        position: relative !important;
        top: 125px !important;
        width: 100% !important;
        height: 30px;
        border-radius: 4px;
        font-weight: lighter;
        background: #f56363;
        margin: 0;
        margin-top: 5px;        
    }

    .aec-product-pane .aec-product-unavailable {
        width: 100% !important;
    }

    .aec-buybutton .aec-privacypolicy {
        position: relative;
        top: 125px;
        font-size: 14px;
        margin: 5px;
        font-weight: lighter;
    }

    #aec-notify-emailsent {
        top: 135px !important;
        position: relative;
        width: 200px !important;
        border: 1px solid #990000;
        padding: 5px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #ffffff;
        color: #990000;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
}

#aec-notify-emailsent {
    font-size: 12px !important;
}
