/*---------------------
 	Modal Section
---------------------*/

/* The Modal (background) */
div.modal {
    display: none;
    position: fixed; 
    padding-top: 150px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	z-index: 1000;
	text-align: center;
	background-color: rgba(0,0,0,.4);
}

/* Modal Content */
div.modal-content {
    position: relative;
    background: white;
    margin: auto;
    padding: 5px;
	width: 50%;
	min-width: 250px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    color: white;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
span.close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

span.close:hover,
span.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

div.modal-header {
    padding: 10px 65px;
    background-color: var(--main-bg-color);;
	color: var(--button-hover-color);
    display: inline-flex;
    border-bottom: unset;
}

div.modal-header h2{
    margin: 0 auto;
    color: white;
}

.modal.infoHint h2{
    font-size: 1.5em;
    text-align: left;
}

div.modal-header i{
	font-size: 28px;
	position: absolute;
	left: 15px;
    top: 20%;
    color: white;
}

div.modal.image .modal-header{
    text-align: center;
    margin: 0 auto;
}

div.modal-body {padding: 2px 16px;}

div.modal input[type=button]{
	color: #fff;
	border-radius: 4px;
	text-transform: uppercase;
	background: var(--button-color);
	font-weight: 800;
	text-align: center;
	padding: 15px;
	transition: .3s;
	cursor: pointer;
	width: 25%;
	margin: 20px;
}

div.modal input[type=button]:hover{
	background-color: var(--button-hover-color);
}

div.modal img{
    max-width: 30vw;
    min-width: 300px;
}


/* Mobile Improvement */
@media (max-width: 767px){
    .modal-content{
        width: 80% !important;
    }
}