/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    right: 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.in .modal-dialog{
    direction: rtl;
}

/* Modal Content/Box */

/* Modal Content */

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 7px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    top:20%;
    border-radius: 0px;
}

/* .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    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.4s;
    border-radius: 0px;

} */



/* The Close Button */
.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.bootstrap-dialog .bootstrap-dialog-close-button{
    float: left;
}

/* Modal Header */
.bootstrap-dialog.type-primary .modal-header {
    padding: 2px 16px;
    background-color: white;
    color: white;
    border-bottom: none;
}

.bootstrap-dialog .bootstrap-dialog-title{
    font-size: 19px;
    font-weight: 700;
    color: black;
}

/* Modal Body */
.modal-body {padding: 2px 16px;}

.bootstrap-dialog .bootstrap-dialog-message{
    font-size: 16px;
}

/* Modal Footer */
.bootstrap-dialog.type-primary .modal-footer {
    padding: 2px 16px;
    background-color: white;
    color: white;
    border-top: none;
    text-align: center;
}

/* Modal Content */
/* .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    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.4s;
    border-radius: 0px;

} */

/*OK button*/
.bootstrap-dialog-footer-buttons button{
    background-color: #00abbd;
    border-radius: 0px;
    color: white;
}

.bootstrap-dialog-footer-buttons .btn-default:hover{
    background-color: #00abbd;
    border-radius: 0px;
    color: white;
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 20%; opacity: 1}
}