.bootbox .modal-header{
    background-color: #F26822;
    color: #ffffff;
}
.modal-body{
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 576px) {
    .bootbox .modal-dialog {
        max-width: 500px;
        margin: auto auto;
    }
    .bootbox .modal-dialog.modal-lg {
        max-width: 800px;
    }
    .bootbox .modal-dialog-centered {
        min-height: calc(100%);
    }
}
.modal.show {
    -webkit-perspective: 2000px;
    -moz-perspective: 2000px;
    -ms-perspective: 2000px;
    -o-perspective: 2000px;
    perspective: 2000px;
}
.modal.show .modal-dialog.aside {
    -webkit-transform: -340px;
    -moz-transform: -340px;
    -ms-transform: -340px;
    -o-transform: -340px;
    transform: -340px;
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    -o-transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    transform: scale(0.8) rotateY(45deg) translateZ(-340px);
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.modal.show .modal-dialog.aside.aside-1 {
    -webkit-transform: calc(-300px);
    -moz-transform: calc(-300px);
    -ms-transform: calc(-300px);
    -o-transform: calc(-300px);
    transform: calc(-300px);
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-300px));
}
.modal.show .modal-dialog.aside.aside-2 {
    -webkit-transform: calc(-260px);
    -moz-transform: calc(-260px);
    -ms-transform: calc(-260px);
    -o-transform: calc(-260px);
    transform: calc(-260px);
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-260px));
}
.modal.show .modal-dialog.aside.aside-3 {
    -webkit-transform: calc(-220px);
    -moz-transform: calc(-220px);
    -ms-transform: calc(-220px);
    -o-transform: calc(-220px);
    transform: calc(-220px);
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-220px));
}
.modal.show .modal-dialog.aside.aside-4 {
    -webkit-transform: calc(-180px);
    -moz-transform: calc(-180px);
    -ms-transform: calc(-180px);
    -o-transform: calc(-180px);
    transform: calc(-180px);
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-180px));
}
.modal.show .modal-dialog.aside.aside-5 {
    -webkit-transform: calc(-140px);
    -moz-transform: calc(-140px);
    -ms-transform: calc(-140px);
    -o-transform: calc(-140px);
    transform: calc(-140px);
    -webkit-transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
    -ms-transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
    -o-transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
    transform: scale(0.8) rotateY(45deg) translateZ(calc(-140px));
}

.close-button-holder{
    height: 0px;
    width: 100%;
    position: relative;
}
.bootbox-close-button{
    position: absolute;
    right: 12px;
    top: -45px;
    /* background-color: red !important; */
    width: 35px;
    height: 35px;
    margin-top: -10px;
}

/* Original modal z-index is 1050*/
/* Original backdrop z-index is 1040*/

/* 2 modals stacked */
.modal-backdrop + .bootbox.modal{
    z-index: 1070;
}
.modal-backdrop + .bootbox.modal + .modal-backdrop{
    z-index: 1060;
}

/* 3 modals stacked */
.modal-backdrop + .bootbox.modal + .modal-backdrop + .bootbox.modal{
    z-index: 1080;
}
.modal-backdrop + .bootbox.modal + .modal-backdrop + .bootbox.modal + .modal-backdrop{
    z-index: 1090;
}