/***************************************************/
/*** Small popup window ****/
/***************************************************/

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-50%} 
    to {top:50%}
}

@keyframes animatetop {
    from {top:-50%}
    to {top:50%}
}

/* Add Animation */
@-webkit-keyframes fadein {
    from {opacity:0} 
    to {opacity:1}
}

@keyframes fadein {
    from {opacity:0}
    to {opacity:1}
}

.fh_popup_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding: 0 0 0 0; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadein;
    -webkit-animation-duration: 0.6s;
    animation-name: fadein;
    animation-duration: 0.6s;
}

.fh_popup_container {
	padding: 20px 20px 20px 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    background-color: #ffffff;
    margin: auto;
    border: 2px solid #333399;
	max-width: 80vw;
    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.6s;
    animation-name: animatetop;
    animation-duration: 0.6s;
}

.fh_popup_area {
	max-height: 80vh;
	overflow: auto;
}

.fh_popup_footer {
    padding: 10px 30px 10px 30px;
	height: 50px;
	width: 100%;
	text-align: center;
}

.fh_popup_button  {
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 10px;
	width: 80px;
	height: 30px;
    font-size: 1rem;
    font-weight: normal;
    background-color: #333399;
    color: #ffffff;
	display: inline-block;
	line-height: 1;
	clear: none;
	cursor: pointer;
	text-align: center;
}
