body {
	background-color: rgb(225,223,220);	
	margin: 0;
	padding: 0;
	font-family: "Alegreya Sans", 'Trebuchet MS', 'Myriad Pro Regular', MyriadPro, 'Myriad Pro', Helvetica, Arial, sans-serif;
	width: 100%;	
}

* {
  margin: 0;
}

body.dark {
	background-color: rgb(30,30,30);
}

.pad16 {
	height: 32px;
}


img, picture, video, canvas, svg {
	width: 100%;
	vertical-align: bottom;
	display: block;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}


.container video {
	outline: none;
	clip-path: inset(0px);
	width: 100%;
}


/* Things to the container */

.container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 56px;
	max-width: 480px;
}

.container a {
	text-decoration: none;
}

/* don't show on small devices */
.mobile-hide {
	display: none;
}

/* Everything to do with navigation */


nav {
	height: 56px;
	background-color: rgba(255,255,255,.94);	
	z-index: 100;
	position: fixed;
	top:0;
	width: 100%;
	max-width: 480px;
	display: inline-flex;
}

nav.dark {
	background-color: rgba(40,40,40,.95);
}

nav a.malamiux , nav a.malamiux-current {
	display: block;
	background-image: url("../lib/malamiUXlogo.svg");
	background-size: 38px 38px;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 4px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 0px;
	width: 38px;
	height: 38px;
	margin-right: 2px;
	margin-left: 16px;
	margin-top: 8px;
	margin-bottom: 8px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(90,140,20);
}

nav a.malamiux-current {
	background-image: url("../lib/malamiUXlogo-current.svg");
	background-color: rgb(90,140,20);

}



nav a.numyumlogo {
	display: block;
	/* background-image: url("../lib/malamiux-logo-2025.svg"); */
	/* background-size: 48px 32px; */
	/* background-position: center; */
	/* background-repeat: no-repeat; */
	border-radius: 4px;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 6px;
	padding-left: 6px;
	height: 32px;
	width: 48px;
	margin-right: 2px;
	margin-left: 8px;
	margin-top: 8px;
	margin-bottom: 8px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(90,140,20);
}

nav a.malamiux:hover  {
	background-image: url("../lib/malamiUXlogo-current.svg");	
}

nav a.numyumlogo:hover  {
	background-color: rgb(90,140,20);
	}


nav a.navbutton {
	display: block;
	line-height: 38px;
	color: rgb(90,140,20);
	font-weight: 400;
	text-decoration: none;
	text-align: center;
	min-width: 24px;
	height: 38px;
	margin-top: 8px;
	margin-bottom: 8px;
	margin-left: 2px;
	margin-right: 2px;
	padding-left: 6px;
	padding-right: 6px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(90,140,20);
	border-radius: 4px;
	min-width: 40px;
}

nav a.current {
	color: white;
	color: rgba(255,255,255,1);
	color: black;
	color: white;
	background-color: rgb(90,140,20);
	opacity: 1;
	border-color: rgb(90,140,20);
}



nav a:hover {
	background-color: rgb(90,140,20);
	color: white;
}

/* End Navigation */


/* Begin filter panel */

#filterPanel {
  /* margin-bottom: 1rem; */
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

#filterButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding-top: 4px;
}

#filterButtons button {
  font-size: .75rem;
  padding: 0.25rem .5rem;
  border: 1px solid rgba(90,140,20,.5); 
  border: 1px solid rgb(200,200,200);   
  color: rgb(90,140,20);
  color: rgb(120,120,120);
  background-color: white;
  cursor: pointer;
  border-radius: 8px;
  text-transform: capitalize;
  margin-left: 0px;
  margin-right: 0px;
}

#filterButtons button {
  color: rgb(160,160,160);
  background-color: rgb(60,60,60);
  border-color: rgb(70,70,70);
}

#filterButtons button:hover {	
	 background-color: rgb(90,140,20);
	 border-color: rgb(90,140,20);
	 color: white;
}

#filterButtons button.active {
  background-color: rgb(90,140,20);
  border-color: rgb(90,140,20);
  color: white;
}



h1, h2, h3, p, ul {
	margin: 0;
	padding: 0;
	padding-left: 16px;
	padding-right: 16px;
}


/* new 2025 stuff */

.gridme {
	/* padding-top: 1px; */
	display: grid;
	/* grid-template-columns: repeat(1, 1fr); */
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 2px;
	grid-row-gap: 2px;
}

.gridme img, .gridme video {
	border-radius: 4px;
}

/* end 2025 stuff */

 
article ol {
	 padding-left: 64px;
	 padding-right: 32px;
	 padding-bottom: 64px;
 }
 
article {
	position: relative;
    margin-left: 0px;
	margin-right: 0px;
	margin-top: 0;
	padding-bottom: 24px;
}

/* the info block allows for the shop button to work  */

article .info {
	position: relative;
}

article .info h2 {
	padding-right: 72px;
}

article h2 {
	/* margin-top: 1rem; */
	margin-top: .25rem;
	margin-bottom: .50rem;
	color: black;
	font-size: 1.25em;
	font-weight: 300;
	position: relative;
}

article h3 {
	/* padding-top: .5rem; */
	margin-top: -.25rem;
	padding-bottom: .15rem;
	color: black;
	font-size: 1.15em;
	font-weight: 300;
	padding-top: 0;
}

article h2 {
		padding-bottom: 0;
		margin-bottom: 0;
		font-size: 1.5em;
		/* color: white; */
	}


article li a:link, article li a:visited, article h3 a:link , article h3 a:visited {
	color: black;
	border-bottom: dotted;
	border-bottom-width: thin;
	border-bottom-color: rgba(0,0,0,.3);
}

article h3 a:hover, article li a:hover {
	color:  rgb(90,140,20);
	border-bottom-color: rgb(90,140,20);
}

article q {
	font-style: italic;
	font-size: 1.1em;
	line-height: 1.4em;
}

article .name {
	white-space: nowrap ;
	line-height: 1.4em;
	font-size: .9em;
}

article p {
	color: rgba(0,0,0,.9);
	margin-top: .25em;
	padding-bottom: .25em;
	line-height: 1.50em;
}

article p.note {
	font-style: italic;
}

article p.big {
	font-size: 1.65rem;
	margin-top: 0;
	margin-bottom: 1em;
	padding-top: 0;
}

article p:last-child {
	/* padding-bottom: 2rem; */
}

/* Things related to the shop under photos */

article a.shop {
	font-size: .75rem;
	position: absolute;
	right: 16px;
	top: 2px;
	border: solid;
    border: 1px solid rgb(200,200,200);  
    color: rgb(120,120,120);
	background-color: white; 
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 3px;
	padding-bottom: 3px;
	font-weight: 400;
	border-radius: 8px;
	margin-left: 4px;
 }
 

article a.shop:hover {
	color: white;
	background-color: rgb(90,140,20);
	text-decoration: none;
 }
 

.clearit {
	clear: both;
}

/* Everything open close details.  */


details[open] summary ~ * {
  animation: open 0.3s ease-in-out;
}

@keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

details summary {
  width: 90%;
  padding: 0.5rem 0;
  position: relative;
  cursor: pointer;
  font-weight: normal;
  /* list-style: none; */
  margin-right: 16px;
  margin-left: 16px;
}

details summary:hover {
	color: rgb(100,150,0);
}

details summary {
  outline: 0;
}




/* Everything dealing with mustafa */

#mustafa {
	padding-bottom: 16px;
	background-color: rgb(250,248,245);
}

#mustafa.dark {
	background-color: rgb(50,50,50);
	color: white;
}

#mustafa.dark a {
	color: white;
}


#mustafa h1 {
	font-size: 1.70rem;
	padding-top: .125em;
	font-weight: 300;
}

#mustafa h3 {
	padding-top: 1rem;
	padding-bottom: 0;
	font-size: .9em;
	font-weight: 600;
}

#mustafa p {
	padding-top: 1rem;
	line-height: 1.5rem;
}


#mustafa .bighead {
	background-color: rgb(232,232,232);
	width: 100%;
	text-align: center;
}

#mustafa .bighead img {
	padding: 0;
	width: 224px;
}

#mustafa .toc { 
	padding-left: 16px;
	padding-right: 16px;
	padding-bottom: 32px;
}

#mustafa li {
	color: rgb(120,120,120);
	padding-top: 4px;
}

#mustafa .toc ul li {
/* 	display: inline; */
}

#mustafa .toc ul li:after {
/* 	content: ","; */
}

#mustafa p a , #mustafa li a {
	font-weight: 400;
	color: black;
	border-bottom: dotted;
	border-bottom-width: thin;
	border-bottom-color: rgba(0,0,0,.3);
}

#mustafa.dark p a {
	border-bottom-color: rgba(255,255,255,.4);	
}

#mustafa p a:hover, #mustafa li a:hover {
	text-decoration: none;
	border-bottom: solid;
	border-bottom-width: thin;
	border-bottom-color: rgba(90,140,20,1);
	color: rgba(90,140,20,1);
}


.pill {
	font-size: small;
	background-color: rgb(250,200,0);
	border-radius: 4px;
	padding-left: 4px;
	padding-right: 4px;
	color: rgb(200,100,0);
	margin-right: 2px;
	margin-left: 2px;
}

/* End Mustafa */


/* Social icons */

.social {
	padding-bottom: 32px;
	padding-top: 24px;
	/* margin-left: auto; */
	/* margin-right: auto; */
}

.social ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	border-bottom: none;
	line-height: 8px;	
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: row;
	width: 108px;
}

.social ul li {
	/* width: 24px; */
	padding: 0;
	margin: 0;
	/* padding-left: 4px; */
	/* padding-right: 4px; */
	/* margin-left: 2px; */
	/* margin-right: 2px; */
}

.social ul li a:link, .social ul li a:visited {
	border-radius: 16px;
	width: 24px;
	height: 24px;
	background-color: black;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	padding-right: 4px;
	display: block;
	border-bottom: none;
	line-height: 24px;
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.social ul li a:hover {
	background-color: rgb(90,140,20);		
}

.social img {
	width: 24px;
	height: 24px;
}



/* end social icons */

 
/* bigger header nav buttons */

@media (min-width: 640px) {

	.container {
		max-width: 800px;
		padding-top: 0px;
		position: relative;
	
	}
	
	.mobile-hide { display: block; }

	nav {
		width: 320px;
		max-width: 320px;
		left: auto;
	}	
		
	nav a.numyumlogo { margin-left: 32px; }
	
	nav a.malamiux , nav a.malamiux-current {
		margin-left: 32px;
	}		
	
	details summary { 
		width: calc(100% - 64px);
	}
	
	article:last-of-type {
		margin-bottom: 0px;
		}

	.articles {
		width: calc(100% - 320px);
		transform: translateX(320px);
	}

	.gridme {
		/* grid-template-columns: repeat(1, 1fr); */
		grid-template-columns: repeat(2, 1fr);
		}
		
	
	#mustafa {
		padding-top: 56px;
		position: fixed;
		top:0px;
		width: 320px;
		z-index: 5;
		left: auto;
		overflow: scroll;
		display: block;
		height: calc(100% - 56px);
		padding-bottom: 0;
		}
		
	#mustafa h1, #mustafa h2, #mustafa h3, #mustafa p, #filterPanel {
			padding-left: 32px;
			padding-right: 32px;
		}

	#mustafa::-webkit-scrollbar { width: 0 !important }
	
}

@media (min-width: 992px) {

	.container {
		max-width: 1280px;
		}

	.gridme {
		grid-template-columns: repeat(4, 1fr);
		/* grid-column-gap: 2px; */
		/* grid-row-gap: 2px; */
		}

}

@media (min-width: 1280px) {
	
	.container {
		width: 1280px;
		}
	
	.articles {
		padding-left: 0px;
		padding-right: 0px;
		width: calc(1280px - 320px);
		}


}
