/* CSS Modal box style */


/* The Modal (background) */

.kms-modal,
.bottom-bar-ajx-doing {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    padding-bottom: 35px;
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.kms-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.kms-modal-content.miniv {
    width: 50%;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}


/* The Close Button */

.kms-pu-close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.kms-pu-close:hover,
.kms-pu-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.kms-modal-header {
    padding: 12px 24px 0px 24px;
    background-color: #fff;
    color: #333333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.19);
    margin: 0px;
    margin-bottom: 20px;
}

.kms-modal-header h2 {
    margin-top: 13px;
    margin-bottom: 20px;
    font-size: 20px;
  	text-align: left;
}

.kms-modal-body {
    padding: 0px 24px 16px 24px;
}

.kms-modal-footer {
    padding: 10px 24px 25px 24px;
    background-color: #fff;
    color: white;
    text-align: center;
    margin-bottom: 0px;
}


/*End  */

.p-0 {
    padding: 0 !important;
}

/*max width 767px*/
@media(max-width: 767px){

    /*###### popup css start ####*/
    .kms-modal-content{
        width: 90%;
    }

    /*pupup new add css */
    .kms-modal-content.miniv{
        width: 90%;
    }
}
/* Min width 576px*/
@media(min-width: 576px){
    .kms-modal-content.model-sm400 {
        width: 400px;
    }
}