/*============================================================================
 Copyright © 2020 Messages Popup Modal (MPM) Extension. All rights reserved.
 MageBees.com | Capacity Web Solutions Pvt. Ltd.
/*============================================================================*/

/* Messages Popup Modal */
.checkout-index-index .messages  { position:fixed; left:0; top:0; margin:0 auto; padding:0; text-align:left; width:100%; z-index:9999; }
.checkout-index-index .messages .message{ position:inherit; font-size:14px; margin:0; padding:25px 40px 25px 25px; -ms-flex-align:center; align-items:center; display:-webkit-box; display:-moz-box; display:-webkit-flex; display:-ms-flexbox; display:flex; border-radius:0; background:#e5efe5; z-index:999; -webkit-box-shadow:0 0 3px 0 rgba(32,33,36,0.28); box-shadow:0 0 3px 0 rgba(32,33,36,0.28); }
.checkout-index-index .messages .messages .message:before{ content:''; position:fixed; top:0; bottom:0; left:0; right:0; background-color:rgba(0,0,0,0.5); z-index:-1; }
.checkout-index-index .messages div[data-bind="scope: 'messages'"] { position:relative; }
.checkout-index-index .messages div[data-bind="html: message.text"] { position:relative; padding-left:35px; }

/* Close Button Popup */
.checkout-index-index .messages .messages .message:after { content:'\e616'; font-family:'luma-icons'; position:absolute; top:21px; right:10px; display:block; padding:2px; text-align:center; font-size:18px; font-weight:400; text-transform:uppercase; width:40px; height:auto; color:#000; background-color:transparent; cursor:pointer; }
.checkout-index-index .messages .message-success.message:after{ color:#006400; }
.checkout-index-index .messages .message-error.message:after{ color:#b30000; }
.checkout-index-index .messages .message-notice.message:after{ color:#c07600; }
.checkout-index-index .messages .message-warning.message:after{ color:#6f4400; }

/* Top Messages Popup */
.checkout-index-index .messages.Top { top:0; right:0; padding:0; text-align:center; width:100% !important; }
.checkout-index-index .messages.Top .message{ -ms-flex-pack:center; justify-content:center; }
/* Top Left Messages Popup */
.checkout-index-index .messages.TopLeft { top:0; left:0; right:auto; }
/* Top Right Messages Popup */
.checkout-index-index .messages.TopRight { top:0; left:auto; right:0; }

/* Bottom Messages Popup */
.checkout-index-index .messages.Bottom { top:auto; bottom:0; right:0; padding:0; text-align:center; width:100% !important; }
.checkout-index-index .messages.Bottom .message{ -ms-flex-pack:center; justify-content:center; }
/* Bottom Left Messages Popup */
.checkout-index-index .messages.BottomLeft { top:auto; bottom:0; }
/* Bottom Right Messages Popup */
.checkout-index-index .messages.BottomRight { top:auto; bottom:0; left:auto; right:0; }

/* Middle Messages Popup */
.checkout-index-index .messages.Middle { left:0; right:0; top:50%; margin-top:-30px; padding: 0 10px; }
/* Middle Left Messages Popup */
.checkout-index-index .messages.MiddleLeft { left:0; right:auto; top:50%; }
/* Middle Right Messages Popup */
.checkout-index-index .messages.MiddleRight { left:auto; right:0; top:50%; }

/* Messages Alert Icon */
.checkout-index-index .messages .message.success > :first-child:before,
.checkout-index-index .messages .message.error > :first-child:before,
.checkout-index-index .messages .message.notice > :first-child:before,
.checkout-index-index .messages .message.warning > :first-child:before { content:'\e60e'; color:#006400; font-family:'luma-icons'; float:left; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; font-size:24px; line-height:24px; margin:0; vertical-align:middle; display:inline-block; font-weight:normal; overflow:hidden; speak:none; left:0; top:0; width:32px; position:absolute; text-align:left; }
.checkout-index-index .messages .message.error > :first-child:before { content:'\e61f'; color:#b30000; }
.checkout-index-index .messages .message.notice > :first-child:before { content:'\e602'; color:#c07600; }
.checkout-index-index .messages .message.warning > :first-child:before{ content:'\e602'; color:#6f4400; }

/* Messages Shopping Cart Link */
.checkout-index-index .messages .message a { color:#006bb4; font-weight:bold; border:none; outline:none; }
.checkout-index-index .messages .message a:hover { text-decoration:underline; }
.checkout-index-index .messages .message-success.message a{ color:#0b2e13; }
.checkout-index-index .messages .message-error.message a{ color:#491217; }
.checkout-index-index .messages .message-notice.message a{ color:#533f03; }
.checkout-index-index .messages .message-warning.message a{ color:#533f03; }

/*============================================================================
  Responsive CSS
/*============================================================================*/

@media only screen and (max-width: 1280px) {
    .checkout-index-index .modal-popup.modal-slide._inner-scroll .modal-inner-wrap {
        min-height: auto;
    }
}

@media only screen and (max-width: 1024px) {
    .checkout-index-index .modal-popup.modal-slide {
        left: 0;
    }
}

@media only screen and (max-width:767px) {
    div.checkout-index-index .messages { width:100% !important; padding:0 10px; }
    .checkout-index-index .messages .message{ padding:16px 32px 16px 16px; font-size:14px !important; }

    .checkout-index-index .messages .message.success > :first-child:before,
    .checkout-index-index .messages .message.error > :first-child:before,
    .checkout-index-index .messages .message.notice > :first-child:before,
    .checkout-index-index .messages .message.warning > :first-child:before { top:0; font-size:22px; line-height:22px; }
    .checkout-index-index .messages div[data-bind="html: message.text"]{ padding-left:30px; }
    .checkout-index-index .messages .messages .message:after { top:13px; right:0; font-size:15px; }

}


