/*
Theme Name: kk.org: The Technium
Template: kkdotorg
Author: jsh
Description: WordPress theme for The Technium, fork of kk.org 1.0
Version: 1.0
*/

#technium10 #menubutton {
	display: none;
}

/* some media queries for smaller screens */
/* @media screen and (max-width: 812px) { */
@media only screen 
	and (max-device-width : 812px)
	and (-webkit-min-device-pixel-ratio : 1.3) {

	body {
		width: 100%;
		margin: 0;
	}
	#overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 120vh;
		z-index: 2;
		background-color: rgba(255,255,255,0.85);
	}
	img {
		max-width: 100%;
		height: auto;
		margin-left: auto;
		margin-right: auto;
	}
	#technium10 #logo-login {
		margin-left: 0;
		padding-top: 30px;
	}
	#technium10 #menubutton {
		display: block;
		float: right;
	}
	#technium10 #menubutton img {
		height: 50px;
		margin-top: 30px;
	}
	#technium10 #maincontent {
		width: 100%;
		margin: 0;
		border: none;
		padding: 1rem;
	}
	#technium10 #maincontent p {
		font-size: 2em;
		line-height: 1.4;
	}
	#nav,
	#categoriescol {
		background-color: white;
		display: none;
		z-index: 5;
		position: fixed;
		overflow: scroll;
		width: auto;
		height: calc(100vh - 120px);
		min-width: 67vw;
		top: 120px;
		right: 0;
		left: auto;
		border: 2px solid rgba(0,0,0,0.2);
		padding: 30px;
		font-size: 2.5rem;
	}
	#categoriescol ul {
		margin-right: 0;
	}
	#navbar li,
	#subnavbar li,
	#categoriescol li {
		width: auto;
	}
	#nav > a,
	#categoriescol > a {
		float: right;
		min-height: 4.5rem;
	}
	#navbar .asterisk {
		font-size: 5rem;
		line-height: 3.5rem;
	}
	div#feedslink {
		width: auto;
		margin-right: -2.5rem;
	}
	div#feedslink img {
		width: 2.5rem;
		height: 2.5rem;
		margin-top: 4px;
		margin-bottom: -4px;
	}
	#CTcontentcolumns {
		width: 100%;
		margin-left: 0;
	}
	#searchgraphic {
		height: 1.5em;
		margin-left: -20px;
		background-size: calc(100% - 48px) 1.2em;
	}
	#searchboxfield {
		width: 100%;
		height: 1.5em;
		margin-top: 0;
		margin-left: 20px;
		font-size: 1.0em;
	}
	#searchbuttoncont {
		float: right;
	}
	#searchboxbutton {
		width: 48px;
		height: 48px;
	}

}

#catnavlist p { 
	display:block;
	width:275px;
	overflow:hidden;
	padding:0px;
	margin-top: inherit;
	margin-bottom: 3px;
	font-size: inherit;
}

#catnavlist p a { 
	color: #ee0000;
}

#catnavlist h2 {
	margin-right: 8px;
}
