.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    transition: 0.2s;
    opacity: 1;
}

.close:focus,
.close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.8;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    position: absolute;
    z-index: 200;
    right: 8px;
}

.modal-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.modal-open {
    overflow: visible;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 !important;
    z-index: 5600;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.85);
    transition: 0.2s ease-out;
    opacity: 1;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
}

.modal-backdrop {
    /*position: fixed;*/
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}

.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0
}

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5
}

.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5
}

.modal-header .close {
    margin-top: -2px
}

.modal-title {
    margin: 0;
    line-height: 1.42857143
}

.modal-body {
    position: relative;
    padding: 15px
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 5px
}

.modal-footer .btn-group .btn+.btn {
    margin-left: -1px
}

.modal-footer .btn-block+.btn-block {
    margin-left: 0
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

.modal.fade .modal-dialog-body {
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    transition: all 0.8s;
    top: -850px;
}

.modal.in .modal-dialog-body {
    top: 0px;
}


/* Slide Up from Bottom */

.modal-dialog-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 45%);
    margin: 0% auto 0% auto;
    padding: 8px;
    width: auto;
    /* max-width: 480px; */
    /* min-width: 300px; */
    height: auto;
    background: rgb(0, 0, 0);
    border: 1px solid #555;
    color: #fff;
    border-radius: 4px;
    opacity: 1;
    -webkit-transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.img_queen {
    width: 90vw;
    max-width: 800px;
    display: block;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 12px;
    margin: auto;
}

.mo_desktop {
    display: block;
}

.mo_mobile {
    display: none;
}

.modal_queen {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 !important;
    z-index: 5600;
    display: none;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.9);
    /* -webkit-backdrop-filter: saturate(100%) blur(4px);
    backdrop-filter: saturate(100%) blur(4px);
    -webkit-overflow-scrolling: touch;*/
    transition: 0.2s ease-out;
    opacity: 1;
}

.modal_queen.fade .modal-dialog-pop {
    transition: all 0.8s;
    top: -850px;
}

.modal_queen.in .modal-dialog-pop {
    top: 40%;
}

.modal-dialog-pop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0% auto 0% auto;
    /* padding: 8px; */
    width: auto;
    /* max-width: 480px; */
    /* min-width: 300px; */
    height: auto;
    /* background: rgb(0, 0, 0); 
    -webkit-box-shadow: rgb(0 0 0 / 20%) 0px 0px 10px 10px;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 10px 10px;
    /* border: 1px solid #555; */
    color: #fff;
    border-radius: 4px;
    opacity: 1;
    transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modal_close {
    position: absolute;
    top: -10px;
    right: -10px;
    color: rgb(226, 0, 0);
    font-size: 24px;
    text-shadow: 0 0px 0 rgba(0, 0, 0, 0);
    z-index: 100;
}

.modal_book_cont {
    width: 100%;
    height: auto;
    text-align: center;
    float: left;
    margin: auto;
    font-size: 20px;
    line-height: 28px;
}

@media only screen and (max-width: 1200px) {
    .modal-dialog-pop {
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media only screen and (max-width: 992px) {
    .modal-lg {
        width: 900px
    }
    .modal-container {
        min-width: unset;
    }
}

@media only screen and (max-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto
    }
    .modal-content {}
    .modal-sm {
        width: 300px
    }
    .modal-dialog-body {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 50%);
    }
    .modal-container {
        /*min-width: 680px;*/
    }
}

@media only screen and (max-width: 685px) {
    .modal-dialog-body {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 100%);
    }
    .modal-dialog-pop {
        /*width: 88%;*/
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .modal-container {
        min-width: unset;
    }
    .img_queen {
        height: auto;
        /*max-width: 400px;*/
    }
    .mo_desktop {
        display: none;
    }
    .mo_mobile {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .modal-dialog-body .modal-dialog-profile {
        width: 90%;
        height: auto;
    }
}

.fade {
    transition: opacity .15s linear
}

@media screen and (prefers-reduced-motion:reduce) {
    .fade {
        transition: none
    }
}