﻿/* The Modal (background) */
.customModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    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 */
    padding-top: 5%;
}



/* Modal Content */
.customModal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.5s
}

/* Modal Header */
.customModal-header {
    padding: 2px 16px;
    background-color: #29ABE2;
    color: #fff;
}



.customModal-title {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.customModal-footer {
    padding: 2px 16px;
    border-top: 1px solid #29ABE2;
    color: #333;
    min-height: 35px;
}

.customModal.danger .customModal-header {
    background-color: #D0023D;
}

.customModal.danger .customModal-footer {
    border-top: 1px solid #D0023D;
}

/* The Close Button */
.close {
    background-color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 30px;
    margin-top: 7px;
    border-radius: 50%;
    color: #000;
    transition: all .3s ease-in-out;
    float: right;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }



/* Modal Body */
.customModal-body {
    padding: 20px 16px;
}

.singleButtonModalWrapper {
    width:100%;
    display:block;
    text-align:center;
}

.singleButtonModal{
    margin-left:auto;
    margin-right:auto;
    line-height:3rem;
}
.customModal.danger .singleButtonModal {
    background-color: #D0023D;
}

#firstComplaintSpinnerLoaderItem,
#secondComplaintSpinnerLoaderItem {
    position: absolute;
    text-align: center;
    top: 30%;
    background-color: #3030303b;
    left: 10%;
    width: 80%;
    box-shadow: 1px 3px 10px 1px #a7a7a7;
}

.modal_spinner {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 58px auto;
}

    .modal_spinner .double-bounce1,
    .modal_spinner .double-bounce2 {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: #29ABE2;
        opacity: 0.6;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
        animation: sk-bounce 2.0s infinite ease-in-out;
    }

    .modal_spinner .double-bounce2 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    html.bw .modal_spinner .double-bounce1,
    html.bw .modal_spinner .double-bounce2{
        background-color:#000;
    }

    html.invert .modal_spinner .double-bounce1,
    html.invert .modal_spinner .double-bounce2 {
        background-color:#fff;
    }

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}



    /* Add Animation */
    @keyframes animatetop {
        from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@media (min-width:950px) {
    .modal-lg {
        width: 70%;
    }
    #firstComplaintSpinnerLoaderItem,
    #secondComplaintSpinnerLoaderItem {
        width: 37%;
        left: 31%;
    }
}

@media (min-width:1181px) {
    .modal-lg {
        width: 50%;
    }
    #firstComplaintSpinnerLoaderItem,
    #secondComplaintSpinnerLoaderItem {
        width: 37%;
    }
}




/*------- BW --------*/



html.bw .customModal .customModal-header {
    background-color: #999;
}

html.bw .customModal .customModal-footer {
    border-top: 1px solid #999;
}

html.bw .customModal.danger .customModal-header {
    background-color: #000;
}
html.bw .customModal .customModal-footer,
html.bw .customModal.danger .customModal-footer {
    border-top: 1px solid #000;
}

html.bw .customModal.danger .singleButtonModal {
    background-color: #000!important;
    color: #fff!important;
}
/*------- BW --------*/


/*------ INVERT ------*/

html.invert .customModal-content {
    background-color: #000;
    color: #fff;
}

html.invert .customModal .customModal-header,
html.invert .customModal.danger .customModal-header{
    background-color: #fff;
    color:#000;
}

html.invert .customModal .customModal-footer,
html.invert .customModal.danger .customModal-footer {
    border-top: 1px solid #fff;
}

html.invert .customModal.danger .singleButtonModal {
    background-color: #fff;
    color:#000;
}


/*------ INVERT ------*/


#twinsWishListModal,
#createWishListInfoModal {
    padding-top: 3% !important;
}

#twinsWishListModal .customModal-content,
#createWishListInfoModal .customModal-content {
    max-width: 1170px !important;
    width: 100% !important;
    max-height: 80vh !important;
    height: 100% !important;
    overflow-y: scroll;
}