/* --------------  PopUp ---------------- */
.pop {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 2%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}
.pop-content {
	text-align: center;
    position: relative;
    background-color: var(--pop_bg_color);
    color: var(--main_text_color); 
    font-size: 140%;
    font-family: 'Arial' , sans-serif;
    direction: ltr;
    margin: auto;
    padding: 0px;
	border-radius: 10px;
    max-width: 55%;
	height: 90%;
    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.3s;
    animation-name: animatetop;
    animation-duration: 0.3s;
}
/* Animation */
@-webkit-keyframes animatetop {
    from {top:-100px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-100px; opacity:0}
    to {top:0; opacity:1}
}
.close_btn {
    color: var(--button_text_color);
    float: left;
	position: relative;
	top: -15px;
    font-size: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 12px 0 rgba(0, 0, 0, 0.2);
	padding: 2px 6px 0px 7px;
	border-radius: 30px;
	border: 0px;
	background-color: var(--buttons_color);
	transition: background-color var(--fade_time);
}
.close_btn:hover,
.close_btn:focus {
    color: var(--button_text_color_hover);
    text-decoration: none;
    cursor: pointer;
	background-color: var(--buttons_color_hover);
}
.pop-header {
    padding: 20px 5px 0px 5px;
	border-radius: 10px 10px 0px 0px;
    background-color: var(--pop_bg_color);
    color: var(--main_text_color);
	font-size: 160%;
	font-weight: bold;
	height: 6%;
}
.pop-body {
	padding: 1px 15px;
	height: 68%;
	font-size: 80%;
}
.pop-footer {
    padding: 2px 15px;
	border-radius: 0px 0px 10px 10px;
	font-size: 120%;
    background-color: var(--pop_bg_color);
    color: var(--main_text_color);
	text-align: left;
}
.pop-footer a {
	text-decoration: none;
	color: var(--buttons_color_hover);
	font-size: 120%;
	text-shadow:0px 1px 1px black;
}
.pop-footer a:hover {
	text-shadow: none;
}
/* ------------- SlideShow ---------------- */
.container{
	height: 100%;
	position: relative;
	padding: 0px 0px;
}
.container ul{
	position: relative;
	height: 85%;
	list-style-type: none;
}
.container a{
	cursor: zoom-in;
}
.slide{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1;
	-webkit-transition: opacity var(--fade_switch_time);
	-moz-transition: opacity var(--fade_switch_time);
	-o-transition: opacity var(--fade_switch_time);
	transition: opacity var(--fade_switch_time);
	font-size:140%;
}
.showing{
	opacity: 1;
	z-index: 2;
}
.slide img{
	max-width: 100%;
	max-height: 90%;
	display: block;
	margin: auto;
	border: 2px solid var(--buttons_color);
	border-radius: 10px;
}
.controls{
	display: inline-block;
	background-color: var(--buttons_color);
	color: var(--button_text_color);
	padding: 1px 1px;
	font-size: 20px;
	cursor: pointer;
	border: 1px solid #fff;
	margin: 0px 1px;
	width: 50px;
	height: 28px;
	transition: background-color var(--fade_time);
}
.controls:hover{
  background: var(--buttons_color_hover);
  color: var(--button_text_color_hover);
}
.buttons{
  position: absolute;
  left: calc(50% - 82px);
  bottom: 25px;
  z-index: 100;
}