/*
Theme Name: KPOO 2020 Theme
Theme URI: http://www.kpoo.com
Description: KPOO 2020 theme for Poor People's Radio
Author: Marilynn Fowler
Author URI: http://www.vicesbyproxy.com
Version: 2.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/*
v2.2 9/16/22 KH mobile menu workaround for Safari
v2.1 5/12/20 MF
*/
/*
===========================================================================
GLOBAL STYLES
===========================================================================
*/

*, html * {
	margin: 0;
	padding: 0;
	text-decoration: none;
	border: none;
	outline: none;
	box-sizing: border-box;
}

body {
	background: #333 url(/images/dots.png);
	font:  16px/1.4em Palatino, Arial, "sans-serif";
	color: #666;
}
#gestalt {
	background: #fff;
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}
h1 {
	font: normal 2em/1.2em "EuphorigenicRegular", "Times New Roman", serif;
	color: #603;	
}
h2 {
	font: normal 28px/1em "MisoLight", "Arial Narrow", "Helvetica Neue", sans-serif;
	text-transform: uppercase;
	color: #663;
	letter-spacing: -.04em;
	margin-bottom: 12px;
}
p {
	margin-bottom: 1em;
}
a:link, a:visited { color: #c60; }
a:hover, a:focus { color: #c00; }
a:active { color: #060; }

#header {
	background-color: #000;
}
#header img {
	height: 100%;
	width: auto;
}

/*
==============================
NAVIGATION
==============================
*/

#nav #menu-icon {
	width: 36px;
	height: 32px;
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
	opacity: .6;
	z-index: 101;
}
#nav #menu-icon:hover {
	opacity: 1;
}
#nav ul {
	list-style: none;
	position: relative;
	z-index: 100;
}
#nav ul a {
	font: 17px "MisoRegular", "Arial Narrow", sans-serif;
	text-transform: uppercase; 
}
#nav a:link, #nav a:visited { color: #c00; }
#nav a:hover, #nav a:focus { color: #060; text-decoration: none; }
#nav a:active { color: #fc3; }

/*
==============================
MAINCONTENT
==============================
*/

#maincontent h1,
#maincontent p { margin: 1em 0; }

#maincontent ul { margin: 1em; }
#maincontent ul li {
	margin: .5em 0;
	padding: 0 1em; 
}
#maincontent ol { margin: 1em 1em 1em 3em; }
#maincontent ol li {
	margin: .5em 0;
	padding: 0 .5em; 
}

#maincontent::after {
	content: " ";
	display: block;
	clear: both;
}
#maincontent .meta {
	color: #999;
	font-size: .8em;	
}

/*
==============================
FOOTER
==============================
*/

#footer {
	clear: both;
	background: #000;
	padding: 20px 35px;
	font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #999;
	min-height: 250px;
}
#footer #copy img {
	vertical-align: middle;	
}
#footer #sponsors a {
	width: 100px;
	height: 75px;
	border: 1px solid #666;
	text-align: center;
	line-height:75px;
	vertical-align: middle;
	
}
#footer #sponsors a img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
}

/*
==============================
floated images
==============================
*/
.lefty {
	float: left;
	margin: 0 20px 10px 0;
}
.righty {
	float: right;
	margin: 0 0 10px 20px;
}

/*
==============================
DONATE
==============================
*/
.how-to {
	display: block;
	clear: both;
	position: relative;
}
.how-to img, .how-to .donate-btn {
	max-width: 100%;
}

/*
==============================
Contact Info
==============================
*/

#contactInfo p {
	margin: 1em 0;
	padding-left: 35px;
	color: #666;
}
#contactInfo a { color: inherit !important; }
#poBox { background: url(images/envelope.gif) no-repeat 0 3px; }
#street { background: url(images/globe.gif) no-repeat 0 3px; }
#digits { background: url(images/phone.gif) no-repeat 0 3px; }
#socialMedia img { margin-right: 6px; }

/*
==============================
DJ/ALUMNI landing page
==============================
*/

#djThumbs::after {
	content: " ";
	display: block;
	clear: both;
}
#djThumbs a {
	display: block;
	float: left;
	width: 150px;
	height: 200px;
	margin: 5px 12px 0 0;
	font-size: .9em;
}
#djThumbs a img {
	display: block;
	margin-bottom: 4px;
	width: 100%;
}
#djThumbs a img:hover {
	-moz-box-shadow:  5px 5px 5px #888;
	-webkit-box-shadow:   5px 5px 5px #888;
	box-shadow:   5px 5px 5px #888;
}
#alumni {
	margin: 1em 0;
}
#maincontent #alumni li {
	margin: .2em 0;
	padding: 0;
	list-style-type: none;
	float: left; 
	width: 220px;
	font-size: 15px;
}

/*
==============================
FORMS
==============================
*/
.wpcf7 {
	margin: 2em auto 0;
	border-radius: 8px;	
	overflow: auto;
	padding-bottom: 20px;
	font: 14px "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 10px 20px;
	max-width: 500px;
}
.wpcf7 input, .wpcf7 textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	background: #fff;
	border-radius: 3px;
	margin: .2em 0 1em;
	border: 1px solid #999;
}
.wpcf7 input { padding: 5px 0; }
.wpcf7 textarea {	height: 70px; }

.wpcf7 input.wpcf7-submit {
	margin: 0 auto;
	width: 75px;
	padding: 5px 10px;
	border-radius: 3px;
	border-color: #fff;
	background: #C60;
	color: #000;
	text-transform: uppercase;
}
.wpcf7 input.wpcf7-submit:hover {
	background: #930;
	color: #fff;
}
#narrative { height: 200px; }
.error { background: #fcf; }
.success {background: #fff; }


/*
===========================================================================
SCREENS NARROWER THAN 769
===========================================================================
*/

@media screen and (max-width: 768px) {
	#header { height: 100px; }
	#menu-icon { display: block; }
	#nav ul {
		display: none;
	}
	#nav ul::after {
		content: " ";
		display: block;
		clear: both !important;
	}
	#nav ul li {
		width: 50%;
		float: left;
	}
	#nav li a {
		display: block;
		padding: 7px 30px 4px;
		color: #d00;
		border-top: 1px solid #fff;
	}
	#nav li:nth-child(odd) a { border-right: 1px solid #fff; }
	#nav li a:link, #nav li a:visited {background-color: #000;}
	#nav li a:hover, #nav li a:focus {background-color: #c00; color: #fff; }
	#nav li a:active { background-color: #060; }
	#maincontent {
		padding: 30px;
		clear: both;
	}
	
	/*
	==============================
	DJ DETAIL - narrow screen
	==============================
	*/
	#djDetail img:first-of-type {
		max-width: 100%;
		display: block;
		margin: 1em auto;
	}
}


/*
===========================================================================
SCREENS WIDER THAN 768
===========================================================================
*/

@media screen and (min-width: 769px) {
	#header {
		height: 175px;
	}
	#menu-icon { display: none; }
	#nav ul {
		display: block;
		position: absolute;
		right: 50px;
		top: 10px;
	}
	#nav li {
		display: inline-block;
		margin: 5px 0px 5px 20px;
	}

	#maincontent {
		padding: 50px;
		padding-top: 30px;
	}
	#footer {
		padding: 20px 50px;
	}
	
	/*
	==============================
	DJ DETAIL - wide screen
	==============================
	*/

	#djDetail {
		padding-left: 525px;
		position: relative;
		min-height: 400px;
	}
	#djDetail img:first-of-type {
		position: absolute;
		left: 0;
		top: 0;
		max-width: 500px;
		max-height: 400px;
		width: auto;
		height: auto;
	}
	
	/*
	==============================
	DONATE/LISTEN - wide screen
	==============================
	*/
	.how-to {
		padding-left: 220px;
		padding-top: 10px;
	}
	.how-to:first-of-type {
		margin-top: 1.5em;
	}
	.how-to:last-of-type {
		margin-bottom: 2em;
	}
	.how-to img, .how-to .donate-btn {
		position: absolute;
		left: 0;
		top: 10px;
		width: 200px;
	}
	.how-to img.listen-btn {
		position: absolute;
		left: 75px;
		top: 10px;
		width: 125px;
		height: auto;
	}

}
