/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*
100% root element, except
on smaller screens
*/
body {
	font-size: 1rem;
}

@media (max-width: 600px) {
	body {
		font-size: .8rem;
	}
}

/* Custom background color */
body.light {
	background: #ffffff;
}

/* Top-menu: remove horizontal lines */
body.light nav[role="navigation"] {
	border-top: none !important;
	border-bottom: none !important;
}

/* Menu-bar 
Drop-down menu width; default 108px
Solid box around drop-down menu
*/
@media screen and (min-width: 900px) {
	nav[role="navigation"] .nav ul.sub-menu li, nav[role="navigation"] .nav ul.children li {
		width: 141px;
	}
	
	nav[role="navigation"] .nav .sub-menu {
		border: 1px solid #888888;
	}
}

/* Navigation drop-down menu: mouse hover to reverse */
body.light nav[role=navigation] .nav ul.sub-menu li:hover, 
body.light nav[role=navigation] .nav ul.children li:hover {
	background-color: black;
}

body.light nav[role=navigation] .nav ul.sub-menu li a, 
body.light nav[role=navigation] .nav ul.children li a {
	font-weight: bold;
	text-shadow: none;
}

body.light nav[role=navigation] .nav ul.sub-menu li a:hover, 
body.light nav[role=navigation] .nav ul.children li a:hover {
	color: white;
}

/* In posts, newly defined anchor link class "postlink" (a class="postlink"): default + visited darkblue, hover black, active darkred 
*/
a.postlink:link {
	color: #004ec5;
	background-color: transparent;
	text-decoration: none;
}

a.postlink:visited {
	color: #004ec5;
	background-color: transparent;
	text-decoration: none;
}

a.postlink:hover {
	color: #0000b3;
	background-color: transparent;
	text-decoration: underline;
}

a.postlink:active {
	color: #800000;
	background-color: transparent;
	text-decoration: underline;
}

/* div for blockquote;
use  */
div.blkq {
	font-size: small;
	font-style: italic;
}

/* div blockquote bold */
div.blkqb {
	font-size: small;
	font-style: italic;
	font-weight: 900;
}

/* paragraph-text block;
medium italic */
p.medit {
	font-size: medium;
	font-style: italic;
}

/* paragraph-text block; small italic centre */
p.smitctr {
	font-size: small;
	font-style: italic;
	text-align: center;
}

/* paragraph-text block; small italic */
p.smit {
	font-size: small;
	font-style: italic;
}

/* paragraph-text block;
small  */
p.sm {
	font-size: small;
}

/* paragraph-text block;
small normal */
p.smnorm {
	font-size: small;
	font-style: normal;
}

/* subhead below (h4) section header
*/
p.subhead {
	font-weight: bold;
	font-size: 105%;
	height: 25px;
}

/* taller subhead below section header for 2-lines
*/
p.subhead2 {
	font-weight: bold;
	font-size: 105%;
	height: 45px;
}

/* general-use horizontal line or rule. Note color param for old Microsoft IE + bkgnd-color for modern browsers */
hr {
	border: none;
	height: 1px;
	color: #808080;
	background-color: #808080;
	width: 100%;
}

/* 
Horizontal line, dashed
i.e., 
*/
hr.dash {
	border: 1px dashed #000;
	height: 0;
	width: 100%;
	opacity: .99;
	color: transparent;
	background-color: transparent;
}

/* 
Horizontal line, dotted 
i.e., 
*/
hr.dot {
	border: 2px dotted #000;
	height: 0;
	width: 100%;
	opacity: .99;
	color: transparent;
	background-color: transparent;
}

/* table settings 
table + elements have individ borders which are collapsed into single border. In thead, set (font) color + bkgnd color
*/
table {
	border-collapse: collapse;
	border-spacing: 0;
}

thead {
	color: #000000;
	background-color: #cccccc;
}

table, th, td {
	border: 1px solid black;
}

.tdred {
	color: #EA9E8E;
}

.tdsmall {
	font-size: small;
}

/* switch sidebar and content position  */ 
aside {
	float: left;
	width: 100%;
	margin: 0 0 0 -30px;
}

#content {
	margin: 0 10px 0 0;
}

@media (min-width: 900px) {
	#content {
		float: right;
	}
}

/* ordered list labels */
/* lower alpha a,b,c */
ol.la {
	list-style-type: lower-alpha;
}

/* upper alpha A,B,C */
ol.ua {
	list-style-type: upper-alpha;
}

/* lower roman i,ii,iii */
ol.lr {
	list-style-type: lower-roman;
}

/* upper roman I,II,III */
ol.ur {
	list-style-type: upper-roman;
}

/* unordered list, make default bullet: filled square */
ul.square {
	list-style-type: square;
}

/* open circle */
ul.ocirc {
	list-style-type: circle;
}

/* filled circle
(absolute default) */
ul.fcirc {
	list-style-type: disc;
}

/* Vimeo adjusts itself to max-width */
.embed-vimeo iframe {
	max-width: 100%;
	height: auto;
}