/*
	This top section should consist of styling for the "small" size (width <= 420px)
	This is the mobile or phone version.

	The @media sections at the bottom override to get med and lrg styling.
*/

body, td {
	font-family: Montserrat, helvetica;
	color: rgba(50,50,50,0.8);
	margin: 0;
	padding: 0;
}

body, p, li, td {
	line-height: 1.7em;
}

li {
	margin-bottom: 0.7em;
}

img.rounded {
	border-radius: 10%;
}

input, textarea {
	font-size: 130%;
}

/* This is the little indicator top left that shows which @media size is in effect in non-production environments */
.dbg_fmt {
	opacity: 0;
	position: fixed;
	color: #ff0;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 5px;
	font-size: 12px;
	z-index: 6;
}

h1 { font-size: 180%; }
h2 { font-size: 150%; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }

h1, h2, h3, h4 {
	text-align: center;
}

.hid {
	display: none;
}

a {
	text-decoration: none;
	font-weight: 700;
	color: #c83;
	font-weight: normal;
	zpadding: 0 0 0 0.5em;
}
a:hover {
	opacity: 0.8;
}

.header {
	background-color: #8bf;
	padding: 1em 1em;
}
.header table {
	width: 100%;
}
.masthead {
	width: 65%;
	text-align: left;
	white-space: nowrap;
	color: rgba(255,255,255,0.9);
	font-size: 140%;
}
.masthead a {
	color: rgba(255,255,255,0.9);
	font-weight: bold;
}

.user_info {
	text-align: right;
	white-space: nowrap;
	color: rgba(255,255,255,0.9);
}
.user_info a {
	color: rgba(255,255,255,0.9);
	padding: 0 0.5em;
}
.header .logo {
	vertical-align: middle;
	height: 1.4em;
	margin-right: 0.5em;
}

/*
div.nameplate {
	font-family: 'Baloo';
	font-size: 200%;
	font-weight: bold;
	padding: 1em;
}
div.nameplate img.logo {
	vertical-align: middle;
	height: 1.4em;
}
div.nameplate span {
	font-family: "rock salt", helvetica,
}

div.nameplate_mini {
	position: fixed;
	top: 0;
	left: 0;
	width: 150%;
	height: 2em;
	font-family: 'Baloo';
	font-size: 90%;
	font-weight: bold;
	padding: 1.0em 1em;
	background-color: #d7f8ff;
	z-index: 2;
	border-bottom: solid 1px #000;
	//opacity: 0.9;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
}
div.nameplate_mini img.logo {
	vertical-align: middle;
	height: 1.2em;
}
*/

#content {
	max-width: 1020px;
	margin: auto;
	padding: 0 0.5em;
}


div.menu_button {
	margin-left: 0.5em;
	z-index: 3;
	font-size: 130%;
	color: rgba(255,255,255,0.9);
}

nav.slide_menu {
    display: none;
    position: relative;
    zmargin-top: 1em;
    right: 0;
    width: 70%;
    zpadding: 1em 0 0 0;
    position: absolute;
    z-index: 2;
	background-color: #8bf;
}
nav.slide_menu ul {
	padding-left: 0.5em;
}
nav.slide_menu li {
	list-style: none;
}
nav.slide_menu a {
	white-space: nowrap;
	overflow: hidden;
	color: rgba(255,255,255,0.9);
}

.user, .guest {
	display: none;
}

nav.top_menu {
	z-index: 2;
	text-align: center;
	padding: 1em 0;
}
nav.top_menu ul {
	padding:0;
	margin:0;
}
nav.top_menu li {
	list-style: none;
	display: inline-block;
}
nav.top_menu a {
	display: inline-block;
	padding: 0.0em 0.5em;
	font-size: 110%;
	white-space: nowrap;
	overflow: hidden;
	vertical-align: middle;
}
nav.top_menu a:hover {
	background-color: #eee;
}



.hot:hover {
	cursor: pointer;
}
.hot:hover {
	opacity: 0.8;
}

img.profile {
	width: 60px;
	height: 60px;
	border-radius: 30px;
}

figure.fr {
	zwidth: 95%;
	text-align: center;
	zvertical-align: top;
}
figure.fr img {
	width: 50%;
	zmargin: 1em 1em 0em 1em;
}
figure.fr figcaption {
	text-align: center;
	font-size: 80%;
	font-style: italic;
}

	blockquote {
		font-style: italic;
		border: solid 1px rgba(0,0,0,0.5);
		box-shadow: 8px 9px 20px 0px rgba(0,0,0,0.20);
		padding: 1em 2em;
		margin: 2em;
	}

.silence, .delete_comment {
	height: 1em;
}

.resource {
	margin: 2em 0 4em 0;
	display: none;
}
.resource .graphic {
	text-align: center;
}
.resource .graphic img {
	width: 60%;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
}
.resource .blurb {
	text-align: center;
}
.resource .blurb h3 {
	margin: 0.5em 0;
}
.resource .blurb a {
}


div.discussion, form.comment_entry {
	display: none;
	margin: 2em;
}

#user_info {
	position: absolute;
	top: 0;
	right: 0;
	text-align: right;
	margin: 1em 2em 0 0;
}


div.footer {
	margin-top: 2em;
	min-height: 5em;
	font-size: 80%;
	padding: 1em;
	text-align: center;
}
div.footer > div.logo_square {
	width: 5%;
}
div.footer > div.logo_square img {
	height: 0em;
}
div.footer > div {
	display: inline-block;
	text-align: left;
	width: 40%;
	vertical-align: top;
}
div.footer div.copr {
	font-size: 50%;
	text-align: right;
	font-weight: 300;
}
div.footer a {
}


div.picstrip {
	background-color: #000;
	padding: 0.5em;
	height: 4em;
	overflow: hidden;
	text-align: center;
}

.picstrip-adjust {
	margin-top: 3.5em;
}

div.picstrip img {
	height: 100%;
	padding:0;
	margin:0;
}



/* Color scheme 4 */
.pal1 {
	background-color: #ffffff;
	color: #312c32;
}
.pal2 {
	color: #fff;
}
.pal2 a {
	color: inherit;
}

.pal1 a {
	color: #78badc;
}

.pal4 {
	background-color: #312c32;
	color: rgba(255,225,195,0.5);
}
.pal4 a {
	color: #98dafc;
}

#account_logout, #user_full_name, #user_full_name_responsive {
	font-weight: bold;
}

#account_logout a, #login_signup a, #login_signup_responsive a, #account_logout_responsive a {
	/*padding: 0 15px;
	border-left: 1px solid #cccccc;*/
}

#login_signup_responsive a:last-of-type, #account_logout_responsive a:last-of-type {
	border-right: none;
}

#login_signup_responsive, #account_logout_responsive {
	text-align: center;
	margin: 0.5em 0 1em 0;
	display: none;
}

.avatar_sml {
	width: 2em;
	height: 2em;
	border-radius: 1em;
}

#acct_link img {
	vertical-align: middle;
}


.social_sharing {
	text-align: center;
	margin-top: 3em;
}
.social_icon {
	width: 2.5em;
	height: 2.5em;
	background: rgba(0,0,0,0.5);
	border-radius: 3px;
}

fieldset.account {
	border: none;
	text-align: center;
	margin: 0em 0em 3em 0;
}

.memo {
	color: #888;
	font-size: 90%;
	font-style: italic;
}

.warn {
	border: solid 2px #f00;
	color: #f00;
	background-color: #fcc;
	width: 60%;
	margin: 1em 19%;
	padding: 0.6em;
	font-weight: bold;
}

.priority {
	border: solid 1px #440;
	color: #440;
	background-color: #ff8;
	margin: 1em 15%;
	padding: 0.6em;
	font-weight: bold;
}

.hid {
	display: none;
}

.std-btn {
    background-color: #cccccc;
    color: #000;
    border-radius: 5px;
    padding: 10px 30px;
    margin: 15px 0;
    border: none;
    cursor: pointer;
}
.std-btn.small {
    padding: 5px 10px;
    margin: 7px 0;
}
.std-btn:hover {
	opacity: 0.75;
}


.accent-btn {
    background-color: #cc8833;
    color: white;
    border-radius: 5px;
    padding: 10px 30px;
    margin: 15px 0;
    border: none;
    cursor: pointer;
}

.input-field {
    margin: 10px 0;
}

.input-field label {
    display: inline-block;
    width: 150px;
    text-align: right;
    margin-right: 10px;
}

.input-field input {
    border-radius: 0.2em;
    padding: 0.3em 0.5em;
	border: solid 1px #ccc;
}

.hidden_1 {
	color: #aaa;
}
.found_content {
	margin: 2em 0;
}
.found_content a {
	margin-right: 0.5em;
}
.found_content h3 {
	margin: 0;
}

.hid {
	display: none;
}


div.community table {
	width: 100%;
	border: none;
}
div.community table td {
	vertical-align: top;
}
div.community table td img {
	width: 100px;
}
div.community table h3 {
	margin-top: 0;
}

.home_bluebox {
	background-color: rgba(0, 149, 255, 0.12);
	color: #000000eb;
	width: 90%;
	text-align: left;
}

.submit-btn {
    background-color: #cc8833;
    color: white;
    border-radius: 5px;
    padding: 10px 30px;
    margin: 15px 0;
    border: none;
    cursor: pointer;
}

#blog_disclaimer {
	margin: 0 2em;
	font-style: italic;
	color: #448;
}



/* --------------------------- */

/* Smallest screen size (default) */
@media (max-width: 420px) {
	.hide_if_sml { display: none; }
	/* There shouldn't be anything else here - all default styles above define "small" */
}

/* Medium screen size */
@media (min-width: 421px) and (max-width: 800px) {
	.hide_if_med { display: none; }
	body {
		font-size: 120%;
	}
	div.footer {
		margin-top: 2em;
		min-height: 6em;
		font-size: 80%;
		padding: 2em;
	}
	div.footer div.copr {
		font-size: 75%;
	}
	.masthead {
		font-size: 120%;
	}
	div.footer > div.logo_square img {
		height: 3em;
	}
	input, textarea {
		font-size: 115%;
	}
	.home_bluebox {
		width: 80%;
	}

}

/* Large screen size */
@media (min-width: 801px) {
	.hide_if_lrg { display: none; }
	.hide_if_lrg_strong {
		display: none !important;
	}
	body {
		font-size: 110%;
	}
	.masthead {
		font-size: 210%;
	}
	div.footer {
		margin-top: 3em;
		min-height: 8em;
		font-size: 85%;
		padding: 3em;
	}
	div.footer div.copr {
		font-size: 85%;
	}

	#content {
		margin: 0 2.0em;
	}

	figure.fr {
		width: 50%;
		float: right;
	}
	figure.fr img {
		width: 90%;
	}
	h1, h2, h3, h4 {
		text-align: left;
	}
	div.picstrip {
		margin-top: 0;
	}
	div.footer > div.logo_square img {
		height: 4em;
	}
	input, textarea {
		font-size: 100%;
	}

	.resource {
	}
	.resource .graphic {
		display: inline-block;
		vertical-align: top;
		width: 30%;
	}
	.resource .graphic img {
		width: 10em;
	}
	.resource .blurb {
		display: inline-block;
		text-align: left;
		vertical-align: top;
		margin-left: 3em;
		max-width: 50%;
	}
	.resource .blurb h3 {
		margin-top: 0;
	}

	.home_bluebox {
		width: 39%;
		display: inline-block;
		vertical-align: top;
		text-align: left;
	}
}

