/* Basic styles for the modals */
.modal {
    display: none;
    position: fixed;/*absolute*/
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto; /* Allow scrolling if content overflows */
}

.modal-content {
    position: relative;/*relative*/
    margin: 80px auto;
    top: 0px;
    padding: 20px;
    background-color: white;
    width: 100%;
    /*max-width: 500px;*/
    animation: slideDown 0.5s ease-in-out;
}

/* Animation from the top */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Close button styles */
.modal-close {
    position: absolute;
    top: 0px;
    right: 0px;
    /*font-size: 25px;*/
    cursor: pointer;
	background:#000000!important;
	color:#ffffff;
	padding:20px;
	text-align:center;
}

.modal-content{width:100%; background:#ffffff; padding:60px}
.modal-content-container{width:100%; -webkit-justify-content:center; justify-content:center; -webkit-flex-wrap:wrap; flex-wrap:wrap}

@media (max-width:600px){
	.modal{padding:0px 20px}
	.modal-content{width:100% !important; padding:35px!important}
	.modal-content .modal-close{right:0px; padding:10px}
	}
@media (min-width:601px) and (max-width:1440px){
	.modal{padding:0px 20px}
	.modal-content{width:100% !important; padding:60px!important}
	.modal-content .modal-close{right:0px}
	}
@media (min-width:1444px){
	
	.modal{padding:0px 20%}
	.modal-content{width:100% !important; padding:60px!important}
	.modal-content .modal-close{right:0px}
	}

