.modal_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 999;
    top: 0;
    left:0;
    .modal-dialog-box {
        position: absolute;
        width: 100%;
        max-width: 800px;
        height: 90%;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        right: 0;
        .modal-content {
            height: 100%;
            width: 100%;
            float: left;
            padding: 20px;
            text-align: center;
            button.close {
                position: absolute;
                top: 5px;
                right: 10px;
                span{
                    font-size: 35px;
                }
            }
            .modal-header{
                text-align: center;
                border: none;
                padding: 0;
                h5{
                    width:100%;
                }
                button.close:focus{
                    outline: none;
                }
            }
            .modal-body{
                overflow: auto;
                form.custom-form{
                    .form-group{
                        select.form-control{
                            background-color: transparent !important;
                            border: none;
                            border-bottom: 1px solid #454857;
                            border-radius: 0;
                            padding-left: 0;
                            font-size: 14px;
                            font-weight: 500;
                        }
                        .form-control{
                            background-color: transparent !important;
                            border: none;
                            border-bottom: 1px solid #454857;
                            border-radius: 0;
                            padding-left: 0;
                            font-size: 14px;
                            font-weight: 500;
                        }
                        label{
                            padding-left: 0;
                            margin: 0;
                            font-style: normal;
                            font-weight: 500;
                            opacity: 1;
                            color: #8f8f8f;
                            left: 0;
                            top: 15px;
                            font-size: 14px;
                            sup{
                                color: red;
                                font-size: 18px;
                                top: 0px;
                            } 
                        }
                        label.custom{
                            font-size: 75%;
                            transform: translate3d(0, -100%, 0);
                            opacity: 1;
                            top: 15px;
                            sup{
                                color: red;
                                font-size: 18px;
                                top: 0px;
                            }
                        }
                    }
                }
                .btns{
                    width: auto;
                    border-radius: 100px;
                    margin: 0;
                    padding: 6px 40px;
                    font-size: 14px;
                    font-weight: 500;
                }
                .btns.blue{
                    color: #00AFD7 !important;
                    border: 2px solid #00AFD7;
                }
            }
        }
    }
}

.sales-detail, .enquiry-list{
    .modal-header{
        text-align: center;
        border: none;
        padding-bottom: 0;
        h5{
            width:100%;
        }
    }
    .left_card{
        height: 100%;
    }
    .modal-body{
        padding: 0;
    }
    .table{
        border: none;
        border-collapse: separate;
        border-spacing: 0px 10px;
        padding: 0 5px;
        margin: 0;
        thead{
            background-color: transparent !important;
            tr {
                th{
                    padding: 0;
                    font-size: 14px;
                    font-weight: 500;
                }
                th:before{
                    background-color: transparent;
                }
            }
        }
        tbody{
            tr{
                box-shadow: 0 0px 5px rgba(0, 0, 0, 0.4);
                border-radius: 3px;
                td:before {
                    background-color: #DDDDDD;
                }
                td{
                    vertical-align: middle;
                    font-weight: 500;
                    color: #00334D;
                    img{
                        max-width: 90px;
                    }
                    b{
                        font-size: 24px;
                    }
                }
                td:nth-child(2){
                    width: 60%;
                    text-align: left;
                }
            }
            tr:nth-child(even){
                background: none;
            }
        }
    }
}

.terms{
    .modal-body{
        overflow: inherit !important;
    }
}

.dse-alert{
    .modal-dialog-box{
        max-width: 460px;
        height: max-content;
    }
}

.success-popup{
    .modal-dialog-box{
        max-width: 450px;
        width: 100%;
        .modal-content{
            padding: 20px;
            border-radius: 0;
            border-bottom: 6px solid #00354d;
            height: auto;
            .modal-body{
                padding: 0;
                margin: 10px;
                .tick{
                    width: 30%;
                    float: left;
                    border-right: 1px solid #BBBBBB;
                    img{
                        width: 75px;
                        padding: 50px 0;
                    }
                }
                .success-msg{
                    width: 70%;
                    float: left;
                    font-size: 14px;
                    padding: 40px 5px;
                    h5{
                        font-size: 16px;
                        margin: 15px 0;
                        color: #000;
                        font-weight: bold;
                    }
                    i{
                        font-weight: 500;
                        color: #000;
                        display: block;
                    }
                    button{
                        border: 2px solid #00344C;
                        width: auto;
                        padding: 6px 32px;
                        height: auto;
                        border-radius: 100px;
                        color: #00344C !important;
                        font-weight: bold;
                    }
                }
            }
        }
    }
}
.dse-list{
    max-width: 400px;
    display: inline-block;
    padding-left: 10px;
    margin-bottom: 5px;
    width: 100%;
    label{
        width: 33%;
        text-align: right;
        padding-right: 10px;
        font-size: 14px;
        font-weight: 500;
    }
    .form-control{
        width: 65%;
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
    }
}