/*  ------        STANDARD MODAL POPUP           ----- */
/*  ------ (c) 2018 ForNext Software Development ----- */
/*  ------          www.ForNext.nl               ----- */

:root {
	--back-color: white; 
	--pri-color: #312783;  
	--sec-color: #82368d;  
	--text-color: #312783;  
	--hi-color: #F21E1E;  
}

/* Standard Modal Box */
.standard-modal-box {
    display: none; 
	position: fixed; 
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) !important;
    z-index: 1; 
    width: 74%; 
    height: auto; 
    overflow: auto; 
    padding: 20px;
	border-style: groove;
	border-color: var(--pri-color);
	border-radius: 10px;
	background-image: url('../images/overlay-standard.png');
}

/* Smaller container */ 
.standard-modal-box .container {
    max-width: 90%;
}

/* Standard Modal Content (Image) */
.standard-modal-image {
    margin: auto;
    display: block;
    width: 100%;
	max-width: 1000px;
}

/* Standard Modal Content (Text) */
.standard-modal-text {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1000px;
	font-size: 1.8em;
    text-align: left;
    color: var(--text-color);
    padding: 10px 0;
}

/* Add Animation - Zoom */
.standard-modal-zoom { 
    animation-name: standard-modal-zoom;
    animation-duration: 1.5s;
}

@keyframes standard-modal-zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* Add Animation - Fade */
.standard-modal-fade { 
    animation-name: standard-modal-fade;
	animation-timing-function: linear;
    animation-duration: 1s;
	animation-fill-mode: forwards;
}

@keyframes standard-modal-fade {
    from {opacity: 0;}
    to   {opacity: 1;}
}

/* The Close Button */
.standard-modal-close {
    position: absolute;
    top: 0.2em;
    right: 0.5em;
    color: #000000;
    font-size: 3.0em;
    font-weight: bold;
    transition: 0.3s;
}

/* Hover over the close button */ 
.standard-modal-close:hover,
.standard-modal-close:focus {
    color: var(--hi-color);
    text-decoration: none;
    cursor: pointer;
}

@media (max-height: 620px) {
	.standard-modal-text {
		font-size: 1.4em;
		width: 90%;
	}
}

@media (max-width: 620px) {
	.standard-modal-text {
		font-size: 1.6em;
		width: 90%;
	}
}

