/* Modal Popup */
.modal[tabindex],
.reCaptchaModal{
	display:none;
	position: fixed;
	z-index: 999;
}
body .modal .modal-dialog{
	width: 100%;
}
.modal-dialog{
    align-items: center;
    justify-content: center;
    z-index: 11;
	display: flex;
}
.modal-dialog[style*="block"]{
	display: flex !important;
}
.modal-content{
    background: var(--mod-b);
    padding: 0;
    border-radius: var(--box-rnd-lg);
    overflow: hidden;
    max-width: 60rem;
	min-width: 25rem;
    width: 100%;
}
.reCaptchaModal .modal-content{
    min-width: 0;
    width: auto;
}
.modal-header{
    display: flex;
    align-items: center;
	justify-content: space-between;
    padding: 1.2rem 2rem;
	z-index: 2;
    background: var(--mod-hd-b);
}
.modal-body{
    max-height: 65vh;
    overflow: auto;
    overflow-x: hidden;
	overscroll-behavior: contain;
    padding: 2rem;
}
.reCaptchaModal .modal-body{
    overflow: visible;
}
.modal-footer{
    padding: 0 2rem 2rem 2rem;
}
.modal-dialog .modal-header .modal-title{
    margin: 0;
	width: calc(100% - 3rem);
}
.modal-dialog .modal-content .modal-body .answer{
    text-align: center;
    max-width: 11rem;
    margin-top: 1rem;
}
.modal-dialog .modal-body > *:only-child{
    margin: 0;
}
#main-wrapper .modal-dialog.modal-lg,
#content-wrapper .modal-dialog.modal-lg{
    width: 100%;
}
.modal #account .al-wp{
    display: none;
}
.modal #account .col-lg-9{
    width: 100%;
}
.modal #account .wl-it{
    width: 33.33%;
}
.modal .tmp-modal-content .panel{
    padding: 0;
    background: none;
    box-shadow: none;
}
.modal .panel{
    padding: 0;
    background: none;
    box-shadow: none;
    border: 0;
}
.modal-header button[data-dismiss="modal"] {
    transform: translateX(0.3rem);
    font-size: 0;
}
/* Wishlist Modal */
.wl-wp .caption p{
    margin: .5rem 0;
}
.wl-wp .p-c textarea{
    margin-top: auto;
}
/* Dropper Modal */
.kk-popup-modal--custom-width .modal-content{
    min-width: 0;
    max-width: 100%;
}
.kk-popup-modal--custom-width .modal-dialog{
    background: none;
}
/* Login Modal */
#login-popup .modal-content{
	max-width: 25rem;
}
#eFooter{
    display: none;
}
@media screen and (max-width: 767px){
    .modal-dialog .modal-content{
        max-width: 90vw;
		width: 100%;
		min-width: 0;
    }
    .modal #account .row .wl-it{
        width: 50%;
    }
    .modal #account .wl-ac{
        flex-wrap: wrap;
    }
    .modal #account .wl-ac .btn{
        width: 100%;
        margin: .2rem 0;
        border-radius: var(--btn-rnd-sm);
        justify-content: center;
    }
    .modal-body{
        padding: 1.5rem;
    }
    .modal-header{
        padding: 1rem 1.5rem;
    }
    .modal-footer{
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}
@media screen and (max-width: 400px){
    .modal #account .row .wl-it{
        width: 100%;
    }
}