/*
Theme Name: otw
Author: cosette
Version: 1.0
License: GNU General Public License
License URI: license.txt

otw is a derivative of TwentyTen, (c) The WordPress Team

notes:
- sidebar should have info w projects and recruitment widget
- menu bar or footer should have language switcher
- use this for testing post pages /?post_type=post
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
fieldset, form, label, legend,
caption {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
iframe {
	max-width: 100% !important;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
a img {
	border: none;
}
.gallery .gallery-caption{
	color: #000000;
}
.home .sticky{
	border: none;
}
.bypostauthor{
	border: none;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}

.alignright {
	float: right;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 0.688em;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* general body styles */

body {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.9em;
	line-height: auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.add-wpml { /* class for targeting links to append language query */ }

/* header styles */

#head {
	background:#a52b2b;
	color: #fff;
}

#head #brand {
	padding: 20px;
}

#head #logo {
	display: block;
	position: absolute;
	width: 40px;
	height: 40px;
	background: url(assets/images/logo_50px.png); /* TODO: make image 40px */
	background-repeat: no-repeat;
	background-size: 40px;
}

#head #site-title {
	font-family: 'Asap Condensed', Helvetica, Arial, sans-serif;
	font-size: 2.2em;
	display: block;
	padding-left: 60px;
}

#head #site-title a {
	text-decoration: none;
	color: #ffff;
}

/* header menu: home, news, about, join, donate
   TODO: link to projects from about, link to FAQ from about and join
*/

#head #menu {
	display: block;
	height: 47px;
	overflow: hidden;
}

#head #menu #access #mobile-menu-trigger {
	display: none;
	font-size: 16px;
	margin: 0px 15px;
	letter-spacing: 1px;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 600;
}

#head #menu #access {
	display: inline-block;
}

#head #menu #access .menu {
	padding: 0;
	margin: 0;
}

#head #menu #access .menu li {
	display: inline-block;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-size: 0.88em;
	margin: 0 0 0 -5px;
	letter-spacing: 0.08em;
	cursor: pointer;
}

#head #menu #access .menu li:hover {
	background: #b43838;
}

#head #menu #access .menu li a {
	text-decoration: none;
	color: #fff;
	padding: 15px 25px;
	display: block;
}

#head #menu #access .menu a:first-of-type {
	padding-left: 28px;
}

/* header search box */

#head #menu #searchform {
	display: inline-block;
}

#head #menu #searchform #s {
	background:#a52b2b;
	color: #fff;
	border: 0;
	inset: 0;
	padding: 14px 15px;
	width: 100px;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-size: 0.88em;
	letter-spacing: 0.08em;
}

#head #menu #searchform #s:focus {
	background: #b43838;
	outline-style: solid;
	outline-color: #b43838;
}

#head #menu #searchform #searchsubmit {
	display: none;
}

#head #menu #searchform #s::placeholder {
    color: #fff;
	opacity: 0.5;
}


/* footer styles */

#footer {
	background: #a52b2b;
	padding: 30px 30px;
	text-align: center;
	margin-top: auto;
}

#footer #social-links {
	margin-bottom: 20px;
	font-size: 15px;
}

#footer #social-links ul {
	margin: 0;
	padding: 0;
	cursor: default;
}

#footer #social-links li {
	display: inline-block;
	margin: 0 5px;
}

#footer #social-links a {
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
}

#footer #legalese {
	color: #dd9e9e;
	font-size: 0.8em;
	line-height: 1.3;
	max-width: 1000px;
	margin: 0 auto;
}

#footer #meta-links {
	margin-top: 10px;
	font-size: 0.8em;
	line-height: 1.9em;
	color: #dd9e9e;
}

#footer #meta-links ul {
	margin: 0;
	padding: 0;
}

#footer #meta-links li {
	display: inline;
	border-right: 1px solid #dd9e9e;
	padding: 0 7px;
}

#footer #meta-links a {
	text-decoration: none;
	color: #fff;
}

#footer #meta-links li:last-of-type {
	border: 0;
}

/* footer noscript language switcher styles */

#wpml-floating-language-switcher {
	margin:auto;
	max-width: 1000px;
	margin-top: 10px;
	display: none;
}
#lang_sel_list {
	border: 0;
	background: none !important;
}

.wpml-ls-link {
	border: 0 !important;
	background: none !important;
	margin: 0;
	padding: 0 2px !important;
	font-size: 0.75em;
	color: #fff !important;
}

#wpml-floating-language-switcher ul {
	padding-left: 20px
}

#wpml-floating-language-switcher ul li {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}



/* main styles */

#main {
	background: #fff;
}

/* content & sidebar container */

#container {
	display: block;
	width: 900px;
	margin: 0 auto;
	padding: 50px 0px;
}

/* wordpress sidebar */

#sidebar-wrapper {
	width: 250px;
	display: block;
	float: left;
	font-size: 0.9em;
	margin-bottom: 30px;
}

#sidebar-wrapper a {
	color: #32597d;
}

#sideBar1 {
	width: 100%; /* wholly unnecessary but vscode won't stop shouting abt empty rulesets */
	line-height: 16px;
}

#sideBar1 li { /* stlyes for lists in sidebar */
	margin: 0px -20px;
}

#sideBar1 ul, #sideBar1 ol {
	margin: 7px 0;
}

/* classes for activating/deactivating sidebar blurbs */

.active {
	display: block;
}
.inactive {
	display: none;
}

/* sidebar blurbs */

.news-feed-tag-cloud {
	display: none;
	line-height: 0.9em;
}

body.blog .news-feed-tag-cloud {
	display: block;
}

.recent-news {
	line-height: 0.9em;
}

.recent-post-line {
	width: 100%;
	display: block;
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
	height: 1.1em;
}

.explore-news {
	font-style: italic;
}

#recruiter {}

.recruiter-note {
	font-weight: 600;
	color: #a52b2b;
	background: #fffec4;
}

body.blog .recent-news {
	display: none;
}

.otw-intro p, .donation-drive p {
	margin-top: 7px;
}

.donation-drive-button {
	display: block;
	background: #ffe048;
	border: 2px solid #ffe97a;
	color: #000 !important;
	text-decoration: none;
	padding: 10px 0;
	text-align: center;
	border-radius: 8px;
	margin-top: 8px;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.5px;
}

.news-feed-tag-cloud a, .recent-news a {
	display: block;
	text-decoration: none;
	width: 100%;
	color: #32597d;
	border-bottom: 1px solid #eee;
	padding: 7px 0 4px 0;
}

.sidebar-blurb {
	margin-bottom: 15px;
}

.sidebar-title {
	display: block;
	border-bottom: 1px solid #ddd;
	padding-bottom: 4px;
	font-weight: 600;
}

#sidebar-admin { /* block for widgets made in admin panel */
	display: block;
}

#sidebar-admin li { /* prevent bullet points from appearing when admin panel creates a widget */
	list-style: none;
	list-style-type: none;
}

#language-menu-wrapper { /* temporarily hide language switcher */
	display: none;
}

#language-menu {
	width: calc(100% - 30px);
	margin-left: 30px;
}

#language-form {
	width: 100%;
	display: block;
	border: 0px solid rgb(229, 226, 226);
	background: #fff;
	padding: 0px;
	height: 30px;
	font-family: Helvetica, Arial, sans-serif;
	letter-spacing: 0.01em;
	font-size: 13px;
	color: rgb(128, 128, 128);
	cursor: pointer;
}

#globe-icon {
	position: absolute;
	margin-left: -30px;
	margin-top: 1px;
	font-size: 20px;
	color: #aaa;
	width: 25px;
	height: 25px;
	background: url(assets/images/world.png);
	background-repeat: no-repeat;
	background-size: 25px;
}


/* wordpress content */

#content-annual-report {
	line-height: 1.4em;
	color: rgb(36, 36, 36);
	width: 900px;
	margin-bottom: 30px;
}

#content {
	line-height: 1.4em;
	color: rgb(36, 36, 36);
	width: 600px;
	float: right;
	margin-bottom: 30px;
}

#content a, #content-annual-report a {
	color: #32597d;
}

#content .post, #content-annual-report .post {
	margin-bottom: 40px;
}

.page-title { /* appears when searching */
	font-size: 1.563em;
	margin-bottom: 20px;
}

.entry-meta, .entry-utility, .entry-meta-single-post {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #32597d;
}

.entry-meta-single-post {
	margin-bottom: 0;
	margin-top: 25px;
}

.entry-meta a, .entry-utility a, .entry-meta-single-post a {
	text-decoration: none;
}

.entry-meta-single-post .post-meta-date-1, .entry-meta-single-post .post-meta-author-1, .single-post-cats, .single-post-tags {
	display: block;
	border-bottom: 1px solid #dae2e8;
	padding-bottom: 3px;
	margin-bottom: 5px;
}

#content .entry-date, #content .author, #content-annual-report .entry-date, #content-annual-report .author {
	margin-right: 10px;
}

.entry-title {
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 1.5em;
	line-height: 1.2em;
}

.entry-content, .entry-summary {}

.entry-summary {
	margin-bottom: 10px;
}

.entry-summary img {
	display: none;
}

.entry-content p {
	margin: 10px 0;
}

.entry-content img, .entry-content embed {
	max-width: 100%;
}

body.blog .entry-content img {
	display: none;
}

.read-more-wrapper {
	font-weight: 600;
	display: block;
	width: 100%;
	text-align: right;
	margin-top: 10px;
}

/* faq style overrides */

.arconix-faq-wrap {
	background: #fff !important;
	border: 0 !important;
}

/* search */

#search-result-header, .author-result-title, .time-archive-title, .category-archive-title, .tag-archive-title {
	font-weight: 600;
}

/* wordpress comments */

#content-annual-report #comments {
	display: none;
}

#comments {
	margin-top: 20px;
}

.commentlist {
	margin-left: -40px;
}

.commentlist li {
	margin: 25px 0 4px 0;
	display: block;
	padding: 15px;
	border: 1px solid #e2e2e2;
	background: #f1f1f1;
	color: rgb(97, 97, 97);
	font-size: 0.9em;
}

.commentlist li .comment-bubble {
	position: absolute;
	display: block;
	background: #32597d;
	color: #fff;
	padding: 7px;
	font-size: 0.688em;
	line-height: 11px;
	border-radius: 100px;
	margin: -25px 0px 0px -25px;
}

#comments-title {
	font-weight: 600;
	margin-bottom: 15px;
}

.nocomments {
	display: none;
}

.comment-reply-link {
	display: block;
	width: 100%;
	text-align: right;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.85em;
	font-weight: 600;

}

/* specific fix for a GDPR class coming from somewhere else in WP... */

.wpgdprc-checkbox {
	display: block !important;
}

.wpgdprc-checkbox input {
	display: inline !important;
	width: auto !important;
	margin-right: 5px;
}

.wpgdprc-checkbox label {
	display: inline !important;
}

/* temporary gravity form overrides */

.gform_body select, .gform_body textarea, .gform_body input[type="text"], .gform_body input[type="email"], .gform_footer input[type="submit"] {
	width: 100% !important;
	display: block;
}

/* comment stuff */

.comment-author-bold {
	font-weight: 600;
}

.comment-form-comment label {
	opacity: 0;
	font-size: 1px !important;
	line-height: 1px !important;
}

#reply-title.comment-reply-title {
	display: block;
	font-size: 0.85em;
	letter-spacing: 0.05em;
	color: #888;
}

.comment-reply-title a {
	color: #888 !important;
	text-decoration: none;
	cursor: text;
}

#cancel-comment-reply-link {
	color: #32597d !important;
	font-weight: 600;
	font-size: 1em;
	text-transform: uppercase;
	cursor: pointer;
	padding-left: 5px;
}

.comment-form-url {
	display: none;
}

#commentform {
	margin-top: 0px;
}

#commentform p {
	margin-bottom: 20px;
}

#commentform label {
	display: block;
	font-size: 0.85em;
	letter-spacing: 0.05em;
	color: #888;
}

#commentform .comment-form-email label::after {
	content: '(your email address will not be published)';
}

#commentform textarea {
	width: 594px;
	border: 1px solid #e2e2e2;
	background: #f1f1f1;
}

#commentform input {
	display: block;
	width: 594px;
	border: 1px solid #e2e2e2;
	background: #f1f1f1;
}

#commentform .comment-form-cookies-consent {
	display: none;
}

#commentform .required {
	display: none;
}

#commentform .comment-notes {
	display: none;
}

#commentform .logged-in-as {
	display: block;
	font-size: 0.85em;
	letter-spacing: 0.05em;
	background: #e9f0f7;
	border: 1px solid #c5d7e8;
	padding: 7px 12px;
}

#commentform #submit {
	padding: 10px;
	width: 100%;
	cursor: pointer;
	background: #32597d;
	border: 1px solid #7d9ab5;
	color: #fff;
	font-weight: 600;
}

/* admin things */

#content .post-edit-link { /* edit link at the bottom of posts and pages */
	display: block;
	text-align: right;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
}

/* featured images */

.featured-image {
	display: block;
}

.featured-image img {
	width: 578px;
	height: auto;
	display: block;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	padding: 10px;
	opacity: 0.95;
}

/* pagination */

#nav-below {
	display: flex;
	width: 100%;
	justify-content: space-between;
	font-size: 0.9em;
}

.nav-previous, .nav-next {
	display: block;
}

#nav-above { /* above-post pagination */
	display: none;
}

/* mobile styles */

@media only screen and (max-width: 970px) {
	#container {
		width: auto !important;
		padding: 20px 20px;
		display: flex;
		flex-direction: column-reverse;
	}
	#sidebar-wrapper {
		width: 100%;
		position: relative;
		float: none;
	}
	#content, #content-annual-report {
		width: 100%;
		margin-left: 0;
		margin-top: 10px;
		margin-bottom: 40px;
		float: none;
	}
	#content-annual-report {
		overflow: scroll;
	}
	#commentform textarea, #commentform input {
		width: 100%;
	}
	.featured-image img {
		width: calc(100% - 20px);
		height: auto;
	}
	.entry-content img {
		max-width: 100%;
		height: auto;
	}
	#footer #social-links li {
		margin: 5px 5px;
	}
	#head #menu #access #mobile-menu-trigger {
		display: block;
		margin-bottom: 10px;
		font-family: Helvetica, Arial;
		cursor: pointer;
	}
	#head #menu #access #menu-bars {
		margin-right: 5px;
		width: 15px;
		display: inline-block;
	}
	#head #menu {
		overflow: hidden;
	}
	#head #menu #access .menu li {
		display: block;
		font-family: Helvetica, Arial;
	}
	#head #menu #access .menu li:hover {
		background: none;
	}
	#head #menu #access {
		background: #862020;
		width: 100%;
		padding: 15px 0px;
	}
	#head #menu #searchform {
		display: block;
		width: 100%;
	}
	#head #menu #searchform #s {
		padding: 14px 20px;
		margin-top: 2px;
		font-family: Helvetica, Arial;
		display: block;
		width: calc(100% - 50px);
	}
	#head #menu #searchform #s:focus {
		background: none;
		outline-color: none;
	}
	#head #site-title {
		font-size: 1.7em;
		min-height: 40px;
	}
	#language-form {
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		-webkit-appearance: none;
	}
	#globe-icon {
		margin-top: 1px;
	}
}