* {
	margin:0;
	padding:0;
}

body {
	font: 13px/1.5 Arial, Sans-serif;
	position:relative;
	background:url('/assets/graphics/backgrounds/bg1.png');
	background-position:top center;
	background-attachment: fixed;
	padding-bottom:40px;
}

a {
	text-decoration:none;
	color: #2D76B9;
}

a:hover {
	text-decoration:underline;
}

/* Error Stuff */

.page-error {
	padding:20px;
}

.error-box {
	padding:10px;
	display:flex;
	border-radius:4px;
	justify-content:center;
}

.error-text {
	width:300px;
	padding:100px 20px;
}

.error-text p, .error-text h1 {
	color:white;
	font-weight:bold;
}

/* Topbar Stuff */

.logo a {
	background:url('/assets/graphics/brand/logo.png');
	width:99px;
	height:64px;
	display:block;
	position:absolute;
	top:4px;
}

.top-stuff {
	position:fixed;
	top:0;
	width:100%;
	z-index:1000;
}

.topbar-bg {
	border-bottom:1px solid #950;
	background:#c80 url('/assets/graphics/topbar/bg.png') center;
}

.topbar {
	width:840px;
	height:42px;
	display:flex;
	align-items:center;
	margin:0 auto;
	justify-content:space-between;
}

.dynamic-links > .dropdown, .dynamic-links > .button {
	margin-left:8px;
}

.dynamic-links a .count {
	color:#ec0;
	font-weight:bold;
	background:black;
	width:22px;
	height:22px;
	border-radius:11px;
	display:inline-block;
	line-height:22px;
	text-align:center;
	position:relative;
	margin-left:4px;
}

.dynamic-links a:not(.button) {
	padding:0 12px 0 39px;
	font-weight:bold;
	color:white;
	font-size:14px;
	height:42px;
	line-height:42px;
	transition:0.2s;
	position:relative;
}

.dynamic-links a:not(.button) img {
	position:absolute;
	top:10px;
	left:12px;
}

.dynamic-links a:hover:not(.button) {
	text-decoration:none;
	box-shadow:#000 0 -3px 3px;
}

.dynamic-links a.active:not(.button) {
	box-shadow:#000 0 2px 18px inset;
}

.dynamic-links a.active:hover:not(.button) {
	background:none;
}

/* dd container */
.dropdown {
  	display: inline-block;
  	position: relative;
  	outline: none;
	display: inline-block;
  	position: relative;
  	outline: none;
}

/* button */
.dropbtn {
  	display:flex;
	align-items:center;
	padding:0 4px;
	font-size:16px;
	height:42px;
  	color: white;
	font-weight:bold;
  	cursor: pointer;
  	transition: 0.1s ease-out;
	border-radius:4px;
	background:linear-gradient(to bottom, #630, #840);
}

/* dd content */
.dropdown .dropdown-content {
  	position: absolute;
	right:0;
  	z-index: 100000;
  	visibility: hidden;
  	opacity: 0;
}

/* show dd content */
.dropdown:focus .dropdown-content {
	visibility: visible;
  	opacity: 1;
	position:absolute;
	padding:10px 0;
	right:0;
	top:46px;
	display:block;
	background:#fff;
	padding:0;
	border-radius: 4px;
	transition:height 0.1s;
	transition-delay:0.1s;
	border:1px solid #888;
	box-shadow:#000 0 1px 3px;
}
.dropbtn:hover {
	background:linear-gradient(to bottom, #ea1, #840);
}

.dropdown:focus .dropbtn {
  	background: #c80;
}

/* mask to close menu by clicking on the button */
.dropdown .db2 {
  	position: absolute;
  	right:0;
  	cursor: pointer;
  	z-index: 10;
  	display: none;
}
.dropdown:focus .db2 {
  	display: inline-block;
}
.dropdown .db2:focus .dropdown-content {
  	outline: none;
  	visibility: hidden;
  	opacity: 0;
}

.dropdown-content a {
	color:#444!important;
	transition:0s!important;
	line-height:28px!important;
	display:block;
	margin-left:0;
	padding: 0 12px 0 32px!important;
	height:auto!important;
	width:155px;
	font-weight:normal!important;
}

.dropdown:focus .dropdown-content .speech-tick {
	border-top:0px solid transparent;
	border-bottom:10px solid #fff;
	border-left:8px solid transparent;
	border-right:8px solid transparent;
	position:absolute;
	right:12px;
	top:-10px;
	width:0;
	height:0;
}

.dropdown-content .contents {
	padding:10px 0;
}

.dropdown-content a:hover {
	background:#e60;
	box-shadow:#000 0 0 0!important;
	color:white!important;
}

/* Buttons and Inputs */

input[type=text], input[type=password], textarea {
	background:white;
	border:1px solid #888;
	box-shadow:#888 0 2px 4px inset;
	transition:0.2s;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus {
	border-color:#048;
	box-shadow:#888 0 2px 4px inset, #48f 0 0 16px;
	outline:none;
}

.button {
	display:block;
	line-height:28px!important;
	min-height:28px;
	padding:0 12px;
	font-size:13px;
	background:#fff linear-gradient(to bottom, #fff, #ccc);
	background-repeat: repeat-x;
	color:black;
	border-radius:5px;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	position:relative;
	overflow:hidden;
	transition: 0.1s;
	border:1px solid #888;
}

.button.danger {
	background:#f63 linear-gradient(to bottom, #f63, #e20); 
	border-color:#820;
	color:white;
	background-repeat: repeat-x;
	font-weight:600;
}

.button.primary {
	background:#fd0 linear-gradient(to bottom, #fd0, #c90);
	border-color:#860;
	background-repeat: repeat-x;
	font-weight:600;
}

.button.cool {
	background:#48f linear-gradient(to bottom, #48f, #44f);
	background-repeat: repeat-x;
	border-color:#448;
	color:white;
	font-weight:600;
}

.button:hover {
	text-decoration:none;
	background-position:0 10px;
	transition:0.1s;
}

.button:active, .button.active {
	text-decoration:none;
	box-shadow:#000 0 2px 4px inset;
}

/* User Image Sizes */

.user-image.sizeone {
	width:16px!important;
	height:16px!important;
	border-radius:3px;
	border:1px solid #48f;
}

.user-image.sizetwo {
	width:32px!important;
	height:32px!important;
	border-radius:3px;
	border:1px solid #48f;
}

.user-image.sizethree {
	width:64px!important;
	height:64px!important;
	border-radius:4px;
	border:1px solid #48f;
}

.user-image.sizefour {
	width:128px!important;
	height:128px!important;
	border-radius:6px;
	border:1px solid #48f;
}

.dynamic-links {
	display:flex;
	align-items:center;
}

/* Page Formatting */

.container {
	position:relative;
	top:42px;
	width:840px;
	margin: 0 auto;
	border-radius:12px;
}

.document {
	margin:0 auto;
	width:750px;
	padding:40px;
	display:flex;
	flex-direction:column;
}

.document .page {
	border:1px solid lightgrey;
	background:white;
	padding:40px;
}

.page h1, .page h2, .page h3, .page h4,.page p {
	padding-bottom:20px;
}

.page p {
	text-align:justify;
}

.wrapped-feed {
	padding:0 0 20px 0;
}

.pin-form {
	width:460px;
	margin:0 auto;
	position:relative;
}

.pin-form form {
	display:flex;
	flex-direction:column;
	padding:40px;
}

.pin-form input[type=text], .pin-form input[type=password], .pin-form textarea {
	display:block;
	margin-bottom:10px;
	font-size:18px;
	padding:6px 12px;
	background:white;
	border-radius:5px;
}

.pin-form input[type=text]:focus, .pin-form input[type=password]:focus, .pin-form textarea:focus {
	outline:none;
}

.pin-form .textarea-container {
	padding-bottom:10px;
	display:flex;
	flex-direction:column;
}

.register-form {
	width:460px;
	margin:0 auto;
}

.register-form form {
	display:flex;
	flex-direction:column;
	padding:40px;
}

.register-form input[type=text], .register-form input[type=password], .register-form textarea {
	display:block;
	margin-bottom:10px;
	font-size:18px;
	padding:6px 12px;
	background:white;
	border-radius:5px;
}

.register-form input[type=text]:focus, .register-form input[type=password]:focus, .register-form textarea:focus {
	outline:none;
}

.register-form input[type=submit] {
	background:linear-gradient(to bottom, yellow, goldenrod);
	font-size:14px;
	font-weight:600;
	padding:10px;
	border:1px solid darkgoldenrod;
	border-radius:6px;
	cursor:pointer;
}

.register-form input[type=submit]:hover {
	background:linear-gradient(to bottom, yellow, darkkhaki);
}

.register-form input[type=submit]:active {
	background:linear-gradient(to bottom, darkgoldenrod, goldenrod);
}

.left-side {
	position:fixed;
	top:60px;
	width:260px;
}

.right-side {
	width:570px;
	position:relative;
	margin-left:auto;
	z-index:900;
	top:12px;
}

.post-form form {
	background:linear-gradient(to bottom, #fff, #bbb);
	box-shadow:#000 0 1px 3px;
	position:relative;
	padding:10px;
	border-radius:8px;
	margin-bottom:8px;
}

.post-form textarea {
	height:48px;
	width:524px;
	max-width:526;
	min-width:526;
}

.post-form .post-box {
	display:block;
	margin-bottom:10px;
	padding:6px 12px;
	background:white;
	border-radius:5px;
	
}

.post-form .post-box:focus {
	outline:none;
}

.controls {
	display:flex;
	margin-top:8px;
	display:flex;
	align-items:stretch;
	justify-content:space-between;
}

.controls.user {
	background:linear-gradient(to bottom, #888, #222);
	border-radius:6px;
	box-shadow:#000 0 3px 6px inset;
	padding:8px;
	margin-bottom:8px;
	font-weight:bold;
	color:white;
	font-size:14px;
	line-height:28px;
	height:28px;
	align-items:stretch;
}

.splash-screen {
	padding:100px 20px;
}

.splash-contents {
	margin:0 auto;
	border-radius:8px;
	width:600px;
	display:flex;
	padding:10px;
}

.splash-contents img {
	min-width:300px;
}

.splash-screen .text {
	padding:90px 20px;
	width:250px;
}

.splash-screen .text p {
	margin-bottom:20px;
	font-size:18px;
	color:white;
	width:250px;
}

.double-pin {
	display:flex;
	flex-direction:column;
	background:linear-gradient(to top, #bbb, #eee);
	margin-top:8px;
	border-radius:6px;
	padding:5px;
	box-shadow:#000 0 1px 3px;
}

.double-pin .pin-card {
	margin-bottom:0;
}

.pin-card {
	display:flex;
	flex-direction:column;
	margin-bottom:32px;
	border-radius:8px;
}

.pin-card .contents {
	display:flex;
}

.pin-card .text {
	padding:10px;
	background:white;
	flex:1;
	border-radius:12px;
	color:black;
	text-decoration:none;
	box-shadow:#000 0 1px 2px;
	position:relative;
}

.double-pin .text {
	border-radius:3px;
	box-shadow:#000 0 1px 3px inset;
}

.pin-card .user-image {
	margin-right:28px;
	box-shadow:#000 0 1px 3px;
}

.double-pin .user-image {
	box-shadow:#000 0 1px 3px inset;
}

.pin-card .speech-tick {
	border-right: 12px solid #fff;
	border-bottom: 8px solid transparent;
	border-top: 8px solid transparent;
	height:0px;
	position:relative;
	top:26px;
	position:absolute;
	left:-12px;
}

.double-pin .speech-tick {
	top:10px;
	left:-9px;
}

.text p {
	display:block;
	width:456px;
	word-wrap:break-word;
}

.double-pin .text p {
	width:364px;
}

.text.large {
	font-size:22px;
	padding:20px;
	font-family:Georgia, Times;
}

.text.large p {
	width:530px;
}

.text.large .double-pin p {
	width:438px;
}

.pin-card .text .img-wrap {
	display:block;
	padding:8px;
	width:200px;
	width:auto;
}

.img-wrap img {
	border-radius:4px;
	max-width:300px;
	max-height:300px;
	display:block;
	margin:0 auto;
	box-shadow:#000 0 2px 4px;
}

.controls .left-buttons, .controls .right-buttons {
	display:flex;
	align-items:stretch;
}

.right-buttons > * {
	margin-left:6px;
}

.left-buttons > * {
	margin-right:6px;
}

.you-box, .them-box {
	padding:10px;
	background:linear-gradient(to top, #ccc, #eee);
	border-radius:8px;
	margin-bottom:8px;
}

.you-box .row, .them-box .row{
	display:flex;
	align-items:center;
	position:relative;
}

.you-box .this-is-you, .them-box .profile-info {
	margin-left:10px;
	font-size:20px;
}

.row .change-user-image {
	display:block;
	position:absolute;
	z-index:1000;
	background:black;
	left:0;
	top:0;
	line-height:134px;
	padding:0 13px;
	opacity:0;
	color:white;
	text-decoration:none;
	transition:opacity 0.1s;
}

.row .change-user-image:hover {
	opacity:0.7;
}

.row .change-user-image:active {
	opacity:0.9;
}

.expanded-pin {
	width:0;
	overflow:hidden;
	transition: width 1s;
}

.expanded-pin.show {
	animation: openExpandWidth 1s;
	animation-fill-mode: forwards;
	width:100%;
}

@keyframes openExpandWidth {
  from {width: 0;};
  to {width: 100%;};
}

.expanded-pin.close {
	animation: closeExpandWidth 1s;
	animation-fill-mode: forwards;
	width:0%;
}

@keyframes closeExpandWidth {
  from {width: 100%;};
  to {width: 0;};
}

.info {
	padding: 6px 12px;
	background:white;
	border-radius:5px;
	line-height:normal!important;
}

.container .settings-container {
	padding:20px;
}

.tabs-container {
	background:linear-gradient(to bottom, white, #ddd);
	width:562px;
	height:30px;
	padding:0 4px;
	padding-top:17px;
	margin-bottom:8px;
	border-radius:8px;
	display:flex;
	box-shadow:#000 0 1px 3px;
}

.tabs {
	display:block;
	line-height:30px;
	padding:0 18px;
	font-size:18px;
	background:linear-gradient(to bottom, white, #ddd);
	border-radius: 5px 5px 0 0;
	cursor:pointer;
	margin-left:8px;
	box-shadow:#000 0 1px 3px;
}

.tabs.selected {
	background:linear-gradient(to top, #888, #555);
	box-shadow:#000 0 1px 3px inset;
	color:white;
}

.setting-form {
	padding:10px;
	background:#fff;
	border-radius:4px;
	margin-bottom:8px;
	box-shadow:#000 0 1px 3px;
}

.setting-form h2 {
	width:240px;
}

.setting-form form .row {
	display:flex;
	flex:1;
	margin-bottom:8px;
}

.setting-form input[type=text], .setting-form input[type=password], .setting-form textarea {
	display:block;
	margin-bottom:10px;
	font-size:13px;
	padding:6px 12px;
	background:white;
	border-radius:5px;
	width:180px;
}

.setting-form textarea {
	width:500px;
	outline:none;
}

input[type=file] {
	opacity:0;
	position:absolute;
	height:34px;
	top:0;
	left:0;
	cursor:pointer;
}

.setting-form input[type=submit] {
}

.user-box {
	padding:10px;
	background:lightgrey;
	border-radius:8px;
	margin-bottom:8px;
	display:flex;
}

.user-box .info {
	flex:1;
	display:flex;
	flex-direction:column;
	margin-left:10px;
}

.user-box .pronouns {
	margin-bottom:20px;
}

.page-errors-container {
	width:100%;
	position:fixed;
	top:36px;
	z-index:1000000;
	animation:closePageError;
	animation-delay:10s;
	animation-fill-mode:forwards;
}

@keyframes closePageError {
  from {display:block;opacity:1};
  to {display:none;opacity:0;};
}

.page-errors {
	margin:0 auto;
	color:darkred;
	height:36px;
	line-height:36px;
	color:white;
	top:0;
	position:relative;
	border-radius:8px;
	background:#8004;
	width:300px;
	text-align:center;
	text-shadow:0 1px 3px #000f;
}

.errors {
	color:darkred;
}

.footer-body {
	width:840px;
	margin:40px auto 0 auto;
	position:relative;
	top:10px;
	padding-top:10px;
	padding-bottom:40px;
}

.footer-contents {
	line-height:20px;
	padding:0 34px;
	font-size:10px;
	display:flex;
	border-radius:4px;
	margin-left:auto;
	background:lightgrey;
	width:502px;
}

.footer-contents a {
	margin-left:3px;
}

.footer-contents .info {
	padding: 4px 8px;
	margin-left:4px;
}