#polymath h1,
#polymath h2,
#polymath h3,
#polymath h4,
#polymath h5,
#polymath h6 {
	color: #1f3d7b;
}

.polymath-btn,
.polymath-project-overview form.participate input.btn {
	text-transform: uppercase !important;
	line-height: 30px !important;
	height: 30px !important;
	min-width: 100px !important;
	text-align: center !important;
}

.polymath-project-overview form.participate input.btn {
	margin: 10px 15px 0 0;
}

.clear {
	clear: both;
}

.polymath-header h1,
.polymath-header h2,
.polymath-header h3,
.polymath-header h4,
.polymath-header h5,
.polymath-header h6 {
	padding: 0 7px;
	margin: 0;
}

.polymath-admin-project-overview table tr td:first-child,
.polymath-admin-project-problem table tr td:first-child,
.polymath-admin-project-resource table tr td:first-child {
	width: 125px;
	font-weight: bold;
	background: rgba(0, 0, 0, 0.1);
}

.polymath-project-overview form.participate {
	text-align: left;
	border: 1px dotted #ccc;
	display: inline-block;
	padding: 10px 20px;
	margin-bottom: 15px;
}

.polymath-project-overview form.participate label {
	display: block;
}

.polymath-project-overview form.participate input {
	margin: 0 15px 0 0;
}

.polymath-header .polymath-header-tabs {
	width: 100%;
	display: table;
	table-layout: fixed;
	box-shadow: 2px 2px 6px #ccc;
}

.polymath-header .polymath-header-tabs .selector {
	display: table-row;
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

.polymath-header .polymath-header-tabs .selector a {
	display: table-cell;
	font-weight: bold;
	vertical-align: middle;
	color: white;
	text-align: center;
	padding: 8px 5px;
	margin: 0px;
	border-right: 1px solid #888;
	background: #62656d;
}

.polymath-header .polymath-header-tabs .selector a:hover {
	background: #333;
	text-decoration: none;
}

.polymath-header .polymath-header-tabs .selector a.selected {
	background: #1f3d7b;
}

.polymath-header .polymath-header-tabs .selector a:first-child {
	border-left: none;
}

.polymath-header .polymath-header-tabs .selector a:last-child {
	border-right: none;
}

@media (max-width: 480px) {
	.polymath-header .polymath-header-tabs {
		display: block;
	}

	.polymath-header .polymath-header-tabs .selector {
		display: block;
	}

	.polymath-header .polymath-header-tabs .selector a {
		text-align: left;
		display: block;
		padding: 2px 7px;
		border: none;
	}
}

.polymath-header .polymath-header-tabs .selector a:hover {
}

.polymath-header.collapsed .polymath-header-tabs .selector a {
	text-align: left;
	padding: 2px 6px;
	border: 0;
}

.polymath-tab-panel {
	background-color: white;
	box-shadow: 2px 2px 6px #ccc;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 15px;
}

.polymath-tab-panel .polymath-padded {
	padding: 5px 15px;
}

.polymath-tab-panel .cmty-page-topic #cmty-topic-view-top .cmty-category-cell,
.polymath-tab-panel
	.cmty-page-topic-list
	#cmty-topic-view-top
	.cmty-category-cell,
.polymath-tab-panel #cmty-topic-view-left,
.polymath-tab-panel .cmty-page-topic-list #cmty-no-topic-view-bottom,
.polymath-tab-panel .cmty-flat-top .cmty-category-cell-bottom {
	box-shadow: none !important;
}

.polymath-guillet {
	margin: 10px 0;
	background: #f7f7f7;
	padding: 7px 10px;
	/*  box-shadow: 2px 2px 6px #bbb;*/
}

.problem-box .polymath-guillet:first-child {
	margin-top: 1px;
}

.problem-box .polymath-guillet:last-child {
	margin-bottom: 1px;
}

.polymath-generic-problem {
	color: black;
	margin-bottom: 14px;
	box-shadow: 2px 2px 6px #bbb;
}

.polymath-generic-problem .problem-header span.aops-font {
	float: right;
	color: white;
	margin: 0 6px;
}

.polymath-generic-problem .problem-header {
	background: #7c7b71;
	padding: 7px;
	color: white;
}

.polymath-generic-problem .problem-header.blue {
	background: #1f3d7b;
}

.polymath-generic-problem .problem-header a.problem-link {
	font-weight: bold;
	color: inherit;
}

.polymath-generic-problem .relative {
	position: relative;
}

.polymath-generic-problem .btn.right {
	float: right;
}

.polymath-generic-problem .btn.absolute {
	position: absolute;
}

.polymath-generic-problem .btn.absolute.right {
	right: 0;
}

.polymath-generic-problem .btn.absolute.bottom {
	bottom: 0;
}

.polymath-generic-problem .problem-body {
	padding: 4px 7px;
	background: #e1e1e1;
}

.polymath-generic-problem .problem-body .problem-block {
	padding: 3px 0px;
}

.polymath-generic-problem .problem-body .problem-block.tight {
	padding: 2px 0px;
}

.polymath-generic-problem .problem-body .problem-block .problem-box {
	padding: 5px 7px;
}

.polymath-generic-problem .problem-body .problem-block .problem-box.white {
	background: #fff;
}

.polymath-generic-problem .problem-body .problem-block .problem-box.gray {
}

.polymath-generic-problem .problem-body .problem-block .problem-box.hint {
}

.polymath-generic-problem .problem-body .problem-block .problem-box.dotted {
}

.polymath-generic-problem .problem-body .problem-block .problem-box .header {
	background: transparent;
	color: black;
	font-weight: bold;
	padding: 0px;
}

.polymath-generic-problem .problem-body .problem-block .problem-box .post-body {
	margin-top: 5px;
}

.polymath-generic-problem
	.problem-body
	.problem-block
	.problem-box
	.report-bug {
	float: right;
	font-weight: normal;
}

.polymath-generic-problem
	.problem-body
	.problem-block.cheat-solution
	.problem-box {
	padding: 0;
}

.polymath-generic-problem
	.problem-body
	.problem-block.cheat-solution
	.problem-box
	.header {
	padding: 5px 7px;
}

.polymath-generic-problem
	.problem-body
	.problem-block.cheat-solution
	.problem-box
	.header:hover {
	background: #ccc;
}

.polymath-generic-problem
	.problem-body
	.problem-block.cheat-solution
	.problem-box
	.body {
	padding: 5px 7px 0 7px;
	display: none;
}

.polymath-generic-problem .problem-input {
	padding: 5px;
}

.polymath-generic-problem .problem-input .short-answer.matrix-vector {
	margin-bottom: 7px;
}

.polymath-generic-problem
	.problem-input
	.short-answer.matrix-vector
	.your-answer {
	margin: 5px 7px 0 7px;
	font-weight: bold;
}

.polymath-generic-problem
	.problem-input
	.short-answer.matrix-vector
	.dimension {
	margin: 5px 7px 0 7px;
}

.polymath-generic-problem .problem-input .short-answer.matrix-vector select {
	margin-left: 5px;
	margin-right: 12px;
}

.polymath-generic-problem .problem-input .short-answer.matrix-vector table {
	min-width: 40%;
	margin: 5px;
	table-layout: fixed;
}

.polymath-generic-problem .problem-input .standard-short-answer {
	width: 100%;
	display: table;
}

.polymath-generic-problem .problem-input .standard-short-answer .short-answer {
	vertical-align: middle;
	display: table-cell;
}

.polymath-generic-problem
	.problem-input
	.standard-short-answer
	.short-answer.left {
	height: 30px;
	width: 55%;
	padding-right: 7px;
}

.polymath-generic-problem .problem-input .short-answer.submit-block {
	text-align: center;
	height: 30px;
}

.polymath-generic-problem
	.problem-input
	.short-answer.submit-block
	.show-formatting-tips {
	display: inline-block;
	line-height: 30px;
}

@media (max-width: 800px) {
	.polymath-generic-problem
		.problem-input
		.standard-short-answer
		a.show-formatting-tips
		span {
		display: none;
	}
}

@media (max-width: 640px) {
	.polymath-generic-problem .problem-input .standard-short-answer {
		display: block;
	}

	.polymath-generic-problem
		.problem-input
		.standard-short-answer
		.short-answer {
		width: 100%;
		display: block;
	}

	.polymath-generic-problem
		.problem-input
		.standard-short-answer
		.short-answer.left {
		width: 100%;
		padding: 0;
		margin-bottom: 7px;
	}
}

.polymath-generic-problem .problem-input input[type="text"] {
	width: 100%;
	height: 30px;
	border: 1px solid #ccc;
	padding: 2px 2px 2px 6px;
}

.polymath-generic-problem .problem-input input[type="text"].focused {
	padding: 1px 1px 1px 5px;
	border: 2px solid #21409a;
}

.polymath-generic-problem .problem-input textarea {
	height: 35em;
	width: 100%;
	margin-bottom: 5px;
	padding: 6px;
	border: 2px solid #21409a;
	border-radius: 2px;
}

.polymath-generic-problem
	.python-submission
	.py-student-response.editing
	.pywindow
	.CodeMirror,
.polymath-generic-problem
	.python-submission
	.py-student-response.editing
	.pywindow
	.pywindow-temp-preview-code
	pre.python {
	border: 2px solid #21409a !important;
	border-radius: 2px !important;
}

.polymath-generic-problem ul.grid-hw-trials {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.polymath-generic-problem ul.grid-hw-trials li span.smiley {
	margin-left: 2.5em;
	margin-right: 0.25em;
	display: inline-block;
}

.polymath-generic-problem ul.grid-hw-trials li div.grid-matrix-wrapper {
	display: inline-block;
	vertical-align: middle;
	margin: 2px 0;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer,
.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-inner {
	display: table;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-body,
.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-row {
	display: table-row;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-open,
.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-container,
.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-close,
.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	span.grid-matrix-item {
	display: table-cell;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-container {
	padding: 0 0.25em;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	span.grid-matrix-item {
	text-align: center;
	padding: 0 0.5em;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-open {
	width: 4px;
	border-left: 1px solid black;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

.polymath-generic-problem
	ul.grid-hw-trials
	li
	div.grid-matrix-wrapper
	div.grid-matrix-outer-close {
	width: 4px;
	border-right: 1px solid black;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

.problem-view-inner {
	padding: 7px;
	margin-bottom: 7px;
	/* cursor: text; */
	background-color: white;
	border: 1px solid #ccc;
	/* -webkit-appearance: textfield;*/
}

.problem-view-inner.trigger-edit:hover {
	cursor: pointer;
	cursor: hand;
	background-color: #e1e1e1;
}

.hint-header {
	float: left;
	margin: 0px 5px 0px 0px;
}
*:focus {
	outline: 0;
}

.polymath-header .polymath-header-body-outer {
	width: 100%;
	display: table;
	table-layout: fixed;
}

.polymath-header .polymath-header-body {
	display: table-row;
	padding: 0px;
	margin: 0px;
}

.polymath-header .polymath-header-logo,
.polymath-header .polymath-header-main {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	padding: 5px 0 10px 0;
}

.polymath-header .polymath-header-logo {
	width: 75px;
}

.polymath-header .polymath-header-logo img {
	max-width: 100%;
}

@media (max-width: 480px) {
	.polymath-header .polymath-header-body-outer,
	.polymath-header .polymath-header-body,
	.polymath-header .polymath-header-main {
		display: block;
	}

	.polymath-header .polymath-header-logo {
		display: none;
	}
}

.polymath-project-resource-exercise-list
	.polymath-project-resource-exercise:last-child
	.polymath-generic-problem {
	margin-bottom: 7px;
}

.polymath-project-people table.soylent {
	margin: 10px 0;
}

.polymath-project-people table.soylent td {
	padding: 5px 10px;
	vertical-align: top;
}
