.nobr { white-space: nowrap; }

span.small, span.li-under-h, span.li-under-a, span.li-inside-a {
	color: #666;
	display: block;
	font-size: 1em;
	line-height: 1.3em;
	white-space: normal;
}

span.li-under-h {
	padding-bottom: 0.7em;
	font-weight: normal;
}

span.li-under-a {
	padding: 0px 40px 0.7em 15px;
	font-weight: normal;
}

span.li-inside-a {
	padding-top: 0.7em;
	font-weight: normal;
}

div.ui-content ul {
	padding-left: 20px;
}
div.ui-content ul.ui-listview {
/* override */
	padding-left: 0;
}
div.ui-content li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
div.ui-content ul.ui-listview li.ui-li {
/* override */
	margin-top: 0;
	margin-bottom: 0;
}

.ui-listview .ui-li-icon {
	max-height: 32px;
	max-width: 32px;
	left: 5px;
	top: .3em;
}

div.ui-content h1,
div.ui-content h2,
div.ui-content h3,
div.ui-content h4 { 
/* headings in content were showing too-tall margins in webkit */
	margin-top: 0;
	margin-bottom: 0;
}

div.ui-content p:first-child {
	margin-top: 0;
}

h2.narrow {
	margin-top: 0;
	margin-bottom: 0;
}

/*
div.ui-content img {
	margin-bottom: 26px;
}
*/

.ui-icon-new-window,
ul#map-list li div.ui-btn-inner span.ui-icon {
        background-image: url('new-window.png');
        background-position: top left;
}

.ui-li-thumb {
	-moz-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
	margin: 10px 0px 0px 10px;
	max-height: 160px;
	max-width: 100px;
}
/*
#dom .ui-li-thumb {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 10px 0px 0px 10px;
	max-height: 160px;
	max-width: 160px;
}
*/
.no-shadow {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-thumb {
	min-height: 160px;
	line-height: 160px;
	padding-left: 150px;
}
.shorter-list-items .ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .shorter-list-items .ui-li-static.ui-li-has-thumb {
	min-height: 0 !important;
	line-height: normal !important;
}
.taller-list-items .ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .taller-list-items .ui-li-static.ui-li-has-thumb {
	/* keep min-height at 160 to accomodate thumbnails */
	line-height: normal !important;
}

/* Theme overrides */
body {
	background: #002b36 !important;
	background-image: url('/ks-logo-touch-icon.png') !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}


li.a-hover a:hover {
	color: #b58900;
}
li.b-hover a:hover {
	color: #cb4b16;
}
li.c-hover a:hover {
	color: #dc322f;
}
li.d-hover a:hover {
	color: #d33682;
}
li.e-hover a:hover {
	color: #6c71c4;
}
li.f-hover a:hover {
	color: #268bd2;
}
li.g-hover a:hover {
	color: #2aa198;
}
li.h-hover a:hover {
	color: #859900;
}
