.modal-open {
	overflow: auto !important;
	padding-inline-end: 0 !important;
}

.modal{
	z-index: 99999991;

	.modal-content {
		border: 1px solid #{$primary-02};
		border-radius: 3px;
	}

	.modal-header{
		border-block-end: 1px solid #{$primary-02};
		border-start-start-radius: 3px;
		border-start-end-radius: 3px;

		.modal-title {
			font-size: 16px;
		}

		.btn-close {
			padding: 1rem;
			margin-block-start: -1rem;
			margin-inline-end: -1rem;
			margin-block-end: -1rem;
			margin-inline-start: auto;
		}
	}

	.modal-body{
		.modal-example-row{
			.row{
				>.col, [class^="col-"]{
					padding-block-start: 0.75rem;
					padding-block-end: 0.75rem;
					background-color: #{$gray-100};
					border: 1px solid #{$border};
				}
				+.row{
					margin-block-start: 1rem;
				}
			}
		}
	}

	.modal-footer {
		padding: 1rem;
		border-block-start: 1px solid  #{$border};
	}

	&#scrollingContentModal{
		.modal-body{
			min-height: 1500px;
		}
	}
	
	&.effect-scale {
		.modal-dialog {
		  transform: scale(0.7);
		  opacity: 0;
		  transition: all 0.3s;
		}
	
		&.show .modal-dialog {
		  transform: scale(1);
		  opacity: 1;
		}
	}
	
	&.effect-slide-in-right {
		.modal-dialog {
		  transform: translateX(20%);
		  opacity: 0;
		  transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
		}
	
		&.show .modal-dialog {
		  transform: translateX(0);
		  opacity: 1;
		}
	}
	
	&.effect-slide-in-bottom {
		.modal-dialog {
		  transform: translateY(20%);
		  opacity: 0;
		  transition: all 0.3s;
		}
	
		&.show .modal-dialog {
		  transform: translateY(0);
		  opacity: 1;
		}
	}
	
	&.effect-newspaper {
		.modal-dialog {
		  transform: scale(0) rotate(720deg);
		  opacity: 0;
		}
	
		&.show ~ .modal-backdrop, .modal-dialog {
		  transition: all 0.5s;
		}
	
		&.show .modal-dialog {
		  transform: scale(1) rotate(0deg);
		  opacity: 1;
		}
	}
	
	&.effect-fall {
		perspective: 1300px;
	
		.modal-dialog {
		  transform-style: preserve-3d;
		  transform: translateZ(600px) rotateX(20deg);
		  opacity: 0;
		}
	
		&.show .modal-dialog {
		  transition: all 0.3s ease-in;
		  transform: translateZ(0px) rotateX(0deg);
		  opacity: 1;
		}
	}
	
	&.effect-flip-horizontal {
		perspective: 1300px;
	
		.modal-dialog {
		  transform-style: preserve-3d;
		  transform: rotateY(-70deg);
		  transition: all 0.3s;
		  opacity: 0;
		}
	
		&.show .modal-dialog {
		  transform: rotateY(0deg);
		  opacity: 1;
		}
	}
	
	&.effect-flip-vertical {
		perspective: 1300px;
	
		.modal-dialog {
		  transform-style: preserve-3d;
		  transform: rotateX(-70deg);
		  transition: all 0.3s;
		  opacity: 0;
		}
	
		&.show .modal-dialog {
		  transform: rotateX(0deg);
		  opacity: 1;
		}
	}
	
	&.effect-super-scaled {
		.modal-dialog {
		  transform: scale(2);
		  opacity: 0;
		  transition: all 0.3s;
		}
	
		&.show .modal-dialog {
		  transform: scale(1);
		  opacity: 1;
		}
	}
	
	&.effect-sign {
		perspective: 1300px;
	
		.modal-dialog {
		  transform-style: preserve-3d;
		  transform: rotateX(-60deg);
		  transform-origin: 50% 0;
		  opacity: 0;
		  transition: all 0.3s;
		}
	
		&.show .modal-dialog {
		  transform: rotateX(0deg);
		  opacity: 1;
		}
	}
	
	&.effect-rotate-bottom {
		perspective: 1300px;
	
		.modal-dialog {
		  transform-style: preserve-3d;
		  transform: translateY(100%) rotateX(90deg);
		  transform-origin: 0 100%;
		  opacity: 0;
		  transition: all 0.3s ease-out;
		}
	
		&.show .modal-dialog {
		  transform: translateY(0%) rotateX(0deg);
		  opacity: 1;
		}
	}
	
	&.effect-rotate-left {
		perspective: 1300px;
	
		.modal-dialog {
		  transform-style: preserve-3d;
		  transform: translateZ(100px) translateX(-30%) rotateY(90deg);
		  transform-origin: 0 100%;
		  opacity: 0;
		  transition: all 0.3s;
		}
	
		&.show .modal-dialog {
		  transform: translateZ(0px) translateX(0%) rotateY(0deg);
		  opacity: 1;
		}
	}
}
.modal-content {
    background: $main-gradient-bg;
}