
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-open {
	overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.fade {
    transition: opacity 0.15s linear;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    padding-top: 6rem !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 6rem);
    content: "";
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border: none;
    border-radius: 0;
    background-color: #242424;
}

h5.modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.6;
}

div.modal button.close {
	float: right;
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    min-width: auto !important;
    width: auto !important;
    padding: 1rem !important;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
}

.modal-body {
    font-size: 1rem !important;
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.6;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.6em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
}

small, .small {
    font-size: 80%;
    font-weight: 400;
}

.modal-footer {
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
}

.modal-footer > :not(:last-child) {
    margin-right: 0.25rem;
}

.modal form {
	margin: 1rem 0;
}

.modal-dialog-centered {
	/* min-height: calc(100% - 3.5rem); */
}

.modal-dialog {
	max-width: 500px;
	margin: 0 auto;
}

.modal-dialog-centered::before {
    height: calc(100vh - 6rem);
}

.col-sm-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm-6 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-right: 15px;
    padding-left: 15px;
}

button#checkCloseModalButton,
button#checkModalButton {
	min-width: 12rem;
}




.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}




@media (max-width: 599px) {
	.modal-dialog {
		padding: 0 1rem;
	}

	.modal-footer {
		display: block;
		text-align: center;
	}

	.col-sm-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}