ul.a {
    list-style-type: circle;
}

.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 200ms ease-in;
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in;
	pointer-events: none;
	  }

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: min(600px, 92vw);
	max-height: 86vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	margin: 5% auto;
	padding: 5px 20px 13px 20px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	border: 4px solid #fff;
  	border-color: #11006f;
  	-webkit-border-radius: 55px;
  	border-radius: 5%;

}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: 10px;
	text-align: center;
	top: 10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #575f54; }

.close2 {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	left: 300px;
	text-align: center;
	bottom: 20px;
	width: 65px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close2:hover { background: #f7c434; }

/*MORPH*/
.morph {
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
   -ms-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
   transition: all 0.7s ease;
}
 
.morph:hover {
  border: 10px solid #fff;
  border-radius: 15px;
  border-color: #11006f;
  -webkit-box-shadow: 0 0 40px rgba(255,255,255,.6), inset 0 0 40px rgba(255,255,255,1);
  -moz-box-shadow: 0 0 40px rgba(255,255,255,.6), inset 0 0 40px rgba(255,255,255,1);
  box-shadow: 0 0 40px rgba(255,255,255,.6), inset 0 0 40px rgba(255,255,255,1);
 
}

.IMGTermine {
   border: 10px solid #fff;
  border-color: #865352;
  -webkit-border-radius: 15px;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
  }
 
.IMGTermine:hover {
  cursor: pointer;
  -webkit-filter: grayscale(100%);
  border-color: #865352;
  text-align: center;
  
}


.modalDialogTermine {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 200ms ease-in;
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in;
	pointer-events: none;
	  }

.modalDialogTermine:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialogTermine > div {
	width: min(600px, 92vw);
	max-height: 86vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	margin: 5% auto;
	padding: 5px 20px 13px 20px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	border: 8px solid #fff;
  	border-color: #865352;
  	-webkit-border-radius: 55px;
  	border-radius: 2%;

}


.IMGIntro {
   border: 10px solid #fff;
  border-color: #575f54;
  -webkit-border-radius: 15px;
  border-radius: 50%;
  overflow: hidden;
  vertical-align: text-bottom;
  text-align: center;
}
 
.IMGIntro:hover {
  cursor: pointer;
  -webkit-filter: grayscale(100%);
  border-color: #575f54;
  vertical-align: text-bottom;
  text-align: center;
}

.modalDialogIntro {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 200ms ease-in;
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in;
	pointer-events: none;
	  }

.modalDialogIntro:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialogIntro > div {
	width: min(600px, 92vw);
	max-height: 86vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	margin: 5% auto;
	padding: 5px 20px 13px 20px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	border: 8px solid #fff;
  	border-color: #575f54;
  	-webkit-border-radius: 55px;
  	border-radius: 2%;

}

.IMGDownloads {
  border: 10px solid #fff;
  border-color: #f7c434;
  -webkit-border-radius: 15px;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
  vertical-align: text-bottom;
}
 
.IMGDownloads:hover {
  cursor: pointer;
  -webkit-filter: grayscale(100%);
  border-color: #f7c434;
  text-align: center;
}

.modalDialogDownloads {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 200ms ease-in;
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in;
	pointer-events: none;
	  }

.modalDialogDownloads:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialogDownloads > div {
	width: min(600px, 92vw);
	max-height: 86vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	margin: 5% auto;
	padding: 5px 20px 13px 20px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	border: 8px solid #fff;
  	border-color: #f7c434;
  	-webkit-border-radius: 55px;
  	border-radius: 2%;

}

.IMGGalerie {
  border: 10px solid #fff;
  border-color: #3571c6;
  -webkit-border-radius: 15px;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
}
 
.IMGGalerie:hover {
  cursor: pointer;
  -webkit-filter: grayscale(100%);
  border-color: #3571c6;
  text-align: center;
}


.modalDialogGalerie {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 200ms ease-in;
	-moz-transition: opacity 200ms ease-in;
	transition: opacity 200ms ease-in;
	pointer-events: none;
	  }

.modalDialogGalerie:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialogGalerie > div {
	width: min(600px, 92vw);
	max-height: 86vh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	margin: 5% auto;
	padding: 5px 20px 13px 20px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	border: 8px solid #fff;
  	border-color: #3571c6;
  	-webkit-border-radius: 55px;
  	border-radius: 2%;

}


MenuIntro:hover {
  opacity:0;
  text-align: center;
}

.MenuIntro {
  opacity:1;
  text-align: center;
}

/* unvisited link */
a.mailText:link {
  color: black;
  font-weight:bold; 
  font-size:16;
}

/* visited link */
a.mailText:visited {
  color:black;
    font-weight:bold; 
  font-size:16;
}

/* mouse over link */
a.mailText:hover {
  color:#f7c434;
    font-weight:bold; 
  font-size:16;
}

/* selected link */
a.mailText:active {
  color:black;
    font-weight:bold; 
  font-size:16;
}	
	

a.rollover2 {
	display: block;
	width: <?php echo $maxWidth;?>px;
	height: <?php echo $maxHeight;?>px;
	text-decoration: none;
	background: url("http://www.nishimwe.com/ResourcesV2/Termine.jpg");
	}

a.rollover2:hover {
	background-position: -450px 0;
	background: url("http://www.nishimwe.com/ResourcesV2ro/Termine.jpg");
	}
	
a.rollover3 {
	display: block;
	width: <?php echo $maxWidth;?>px;
	height: <?php echo $maxHeight;?>px;
	text-decoration: none;
	background: url("http://www.nishimwe.com/ResourcesV2/Galerie.jpg");
	}

a.rollover3:hover {
	background-position: -<?php echo $maxWidth;?>px 0;
	background: url("http://www.nishimwe.com/ResourcesV2ro/Galerie.jpg");
	}
	
a.rollover4 {
	display: block;
	width: <?php echo $maxWidth;?>px;
	height: <?php echo $maxHeight;?>px;
	text-decoration: none;
	background: url("http://www.nishimwe.com/ResourcesV2/Downloads.jpg");
	}

a.rollover4:hover {
	background-position: -<?php echo $maxWidth;?>px 0;
	background: url("http://www.nishimwe.com/ResourcesV2ro/Downloads.jpg");
	}

.resize {
  width:100%; 
  height:100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  display:inline-block;
  z-index: -1;	
}

.resize:hover {
  cursor: pointer;
  -webkit-filter: grayscale(100%);
  border-color: #11006f;
  z-index: -1;	
}

body { margin:0px; background-color:#edecf1; height:100% }
html { height:100% }
form { margin:0px }
body > form { height:100% }
button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top }
table { empty-cells:hide }
td { padding:0px }
.f-sp { font-size:1px; visibility:hidden }
.f-lp { margin-bottom:0px }
.f-fp { margin-top:0px }
em { font-style:italic }
.textStyle { font-style:italic; text-align:center; font-size:16px; }
.textBody { text-align:center }
h1 { font-weight:bold; font-size:26px; text-align:center; color:#865352;}
h1:first-child { margin-top:0px }
h2 { font-weight:bold; font-size:20px }
p { font-size:15px }
h2:first-child { margin-top:0px }
h3 { font-weight:bold; font-size:16px; color:#575f54;}
h3:first-child { margin-top:0px;  }
h4 { font-weight:bold; font-size:16px; text-align:center; color:#575f54;}
h4:first-child { margin-top:0px }
h5 { font-weight:bold; font-size:26px; text-align:center; color:#575f54;}
h5:first-child { margin-top:0px }
h6 { font-weight:bold; font-size:18px; text-align:center; color:#865352;}
h6:first-child { margin-top:0px }
h7 { font-weight:bold; font-size:26px; text-align:center; color:#575f54;}
h7:first-child { margin-top:0px }
h8 { font-weight:bold; font-size:26px; text-align:center; color:#575f54;}
h8:first-child { margin-top:0px }
h444 { font-weight:bold; font-size:26px; text-align:center; color:#3571c6;}
h444:first-child { margin-top:0px }
    .small-text {
        font-size: 8px; /* Smaller font size for the copyright text */
    }   
termineFont { font-weight:bold; font-size:8px; color: #3571c6 }
introFont { font-weight:bold; font-size:28px; text-align:center; color: #575f54 }
strong { font-weight:bold }
#PageDiv { position:relative; max-width:960px; min-height:100%; margin:auto; background-color:#000; z-index: 1 }
/* ===== Events layout ===== */
.events{
  display:grid;
  gap:18px;
  max-width:760px;
}

/* ===== Event card ===== */
.event-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
  background:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
}

/* ===== Header ===== */
.event-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.event-title{
  margin:0;
  font-size:1.2rem;
  line-height:1.3;
}

/* ===== Buttons ===== */
.event-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  border:1px solid rgba(0,0,0,.12);
  background:#111;
  color:#fff;
}

.btn:hover{ opacity:.92; }

.btn-ghost{
  background:#fff;
  color:#111;
}

/* ===== Meta text ===== */
.event-meta{
  margin-top:10px;
}

.event-meta p{
  margin:6px 0;
  color:rgba(0,0,0,.8);
}

/* ===== Single large image ===== */
.event-image{
  margin:14px 0 6px;
}

.event-image img{
  width:100%;
  max-width:420px;
  border-radius:16px;
  display:block;
}

/* ===== Venues ===== */
.event-venues{
  margin-top:12px;
}

.venue-link{
  display:inline-block;
  margin-right:14px;
  font-weight:600;
  text-decoration:none;
  color:#111;
}

.venue-link:hover{
  text-decoration:underline;
}


/* === EVENTS CARDS (RESPONSIVE) === */
.events{
	display:grid;
	gap:18px;
	max-width:760px;
}

.event-card{
	border:1px solid rgba(0,0,0,.08);
	border-radius:16px;
	padding:18px;
	background:#fff;
	box-shadow:0 6px 20px rgba(0,0,0,.05);
	overflow:hidden;
}

.event-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:14px;
}

.event-title{
	margin:0;
	font-size:1.2rem;
	line-height:1.3;
	overflow-wrap:anywhere;
	word-break:break-word;
}

.event-actions{
	display:flex;
	gap:8px;
	flex-wrap:wrap;
}

.btn{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:8px 14px;
	border-radius:999px;
	text-decoration:none;
	font-weight:600;
	border:1px solid rgba(0,0,0,.12);
	background:#111;
	color:#fff;
	white-space:nowrap;
}

.btn:hover{ opacity:.92; }

.btn-ghost{
	background:#fff;
	color:#111;
}

.btns{
	display:inline-flex;
	align-items:center;
	gap:2px;
	padding:2px 4px;
	border-radius:999px;
	text-decoration:none;
	font-weight:200;
	border:1px solid rgba(0,0,0,.12);
	background:#111;
	color:#fff;
	white-space:nowrap;
}

.btns:hover{ opacity:.92; }

.btns-ghost{
	background:#fff;
	color:#111;
}


.event-meta{
	margin-top:10px;
	overflow-wrap:anywhere;
	word-break:break-word;
}

.event-meta p{
	margin:6px 0;
	color:rgba(0,0,0,.8);
}

.event-image{
	margin:14px 0 6px;
}

.event-image img{
	width:50%;
	max-width:320px;
	height:auto;
	border-radius:16px;
	display:block;
}

.event-venues{
	margin-top:12px;
}

.venue-row{
	display:flex;
	flex-wrap:wrap;
	gap:10px 14px;
	align-items:center;
	margin:10px 0;
}

.venue-link{
	display:inline-block;
	font-weight:600;
	text-decoration:none;
	color:#111;
	overflow-wrap:anywhere;
	word-break:break-word;
}

.venue-link:hover{ text-decoration:underline; }

/* Mobile responsiveness */
@media (max-width: 640px){
	.events{ max-width:100%; }

	.event-card{ padding:14px; border-radius:14px; }

	.event-head{ flex-direction:column; align-items:stretch; }

	.btn{ width:100%; justify-content:center; }

	.venue-row{ flex-direction:column; align-items:stretch; }

	.venue-link{ text-align:center; }

	.event-image img{ max-width:100%; }
}

/* Make modal content fit on mobile */
@media (max-width: 640px){
	.close2{
		left:auto !important;
		right:12px;
		bottom:12px;
	}
}

.modalDialog img,
.modalDialogTermine img,
.modalDialogIntro img,
.modalDialogDownloads img,
.modalDialogGalerie img{
	max-width:100%;
	height:auto;
}


/* ===== MOBILE RESPONSIVE LAYOUT PATCH ===== */

/* Prevent horizontal scrolling on small screens */
html, body{
  max-width: 100%;
  overflow-x: hidden;
}

/* Make sure media never overflow */
img, video, iframe{
  max-width: 100%;
  height: auto;
}

/* Audio/player container safety */
.cp-container{
  max-width: 100%;
}

/* Main 2x2 landing grid is a table: stack it on mobile */
@media (max-width: 800px){
  body table{
    width: 100% !important;
    height: auto !important;
    border-collapse: separate;
    border-spacing: 12px !important;
  }

  body table tr,
  body table td{
    display: block;
    width: 100% !important;
  }

  body table td{
    text-align: center !important;
    vertical-align: middle !important;
    padding: 0 !important;
  }

  /* Let the 4 tiles fit the viewport */
  .morph{
    max-width: 92vw !important;
    max-height: none !important;
    width: 92vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .resize{
    width: 100% !important;
    height: auto !important;
  }
}

/* Modal close buttons: keep visible on small screens */
@media (max-width: 640px){
  .close, .close2{
    right: 12px !important;
    left: auto !important;
    bottom: 12px !important;
    top: auto !important;
    position: fixed !important;
    z-index: 100000 !important;
  }
}

/* Buttons/links: allow wrapping instead of overflow */
a, .btn, .venue-link{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =========================
   MUSIC BUTTON – TOP LEFT
   (CirclePlayer / jPlayer)
   ========================= */
#cp_container_1{
  position: fixed;
  top: 14px;
  left: 14px;
  right: auto;
  bottom: auto;
  z-index: 9999;
}

/* Keep it from becoming too large on small screens */
@media (max-width: 380px){
  #cp_container_1{
    top: 10px;
    left: 10px;
    transform: scale(0.9);
    transform-origin: top left;
  }
}

/* =========================
   MUSIC BUTTON POSITIONING
   ========================= */

/* Default: small screens → fixed top-left */
#cp_container_1{
  position: fixed !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 999999 !important;
}

/* Large screens: place music button in the center of the circles */
@media (min-width: 1024px){
  #cp_container_1{
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 50 !important;
  }

  /* Ensure the parent circle container is positioning context */
  body > table{
    position: relative;
  }
}
