/* 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: 0px;
    
    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 */
/*
.close {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
	background:none;
	color:none;
	padding:0px;
	width:40px; height:40px;
	text-align:center;
}*/
.close {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    background-color:#1cbecb;
    color: none;
    padding: 0px;
    width: 40px;
    height: 40px;
	border-radius:20px;
    text-align: center;
}
/*.modal-content{width:100%; background:#ffffff; padding:60px}*/
.modal-content{width:100%; max-width:650px; padding:40px 20px}
.modal-content-container{width:100%; -webkit-justify-content:space-between; justify-content:space-between; -webkit-flex-wrap:wrap; flex-wrap:wrap}

/*
@media (max-width:992px){
	.modal{padding:0px 20px}
	.modal-content{padding:60px 20px!important}
	.modal-content .close{right:0px}
	}
@media (min-width:993px){
	
	.modal{padding:0px 16.66%}
	.modal-content .close{right:0px}
	}
*/
