/* Hide everything but the main content so we can stream into the game */
body > div > div,
body > div > header,
body > div > footer,
body > div .block-page-title-block {
	display: none;
}

/* Display the header/footer/page title for logged-in users... */
body.user-logged-in > div > div,
body.user-logged-in > div > header,
body.user-logged-in > div > footer,
body.user-logged-in > div .block-page-title-block,
/* ...also the front page: */
body.path-frontpage > div > div,
body.path-frontpage > div > header,
body.path-frontpage > div > footer,se
body.path-frontpage > div .block-page-title-block {
	display: block;
}
/* end content hiding */


/* Message thread nodes */
/* A thread of messages that appears on Message thread nodes. */
.block-views-blockmessages-in-this-thread-block-1 {
	margin-top: 2em;	
}


/* Start individual messages*/
.view-messages-in-this-thread .views-row {
	border: 3px solid #ddd;
	border-radius: 20px;
	margin-bottom: 2em;
	padding: 1em;
}

.view-messages-in-this-thread .views-row {
	margin-left: 2em;
}

.view-messages-in-this-thread .views-row:first-child {
	margin-left: 0;
}


.view-messages-in-this-thread label,
.view-messages-in-this-thread .views-label {
	font-weight: bold;
}

.view-messages-in-this-thread .views-row .views-field-title {
	display: none;
}

.view-messages-in-this-thread .views-row:first-child .views-field-title {
	display: block;
}

.view-messages-in-this-thread .views-field-body {
	margin-top: 1em;
}


/* Start personal email formatting quirks:
   This includes fancy signatures from some users, specific fonts, etc. */
   
/* Pamela email signature */
.comic-sans-pink {
	font-family: "Comic Sans MS", "Comic Sans", cursive;
	color: hotpink;
}

/* Andrea entire email */
.monospace {
	font-family: monospace;
}

.penguin-green {
	color: darkgreen;
	font-family: "Penguin", verdana;
	font-size: 1.2em;
}

/* end personal email formatting quirks */




/* Email thread list: https://afterwork.wintersandassociates.com/message-threads  */
.view-message-threads .item-list {
	border: 3px solid #ddd;
	border-radius: 20px;
	margin-bottom: 2em;
	padding: 1em;
}

.view-message-threads	.item-list ul {
	display: flex;
	flex-direction: column-reverse;
}
.view-message-threads	.item-list > ul > li:last-child {
	border-bottom: 1px solid #000;
}
.view-message-threads	.item-list > ul > li:first-child {
	border-bottom: 0;
}

/* Hide the first title in the list */
.view-message-threads	.item-list li:last-child {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.view-message-threads	.item-list li:last-child .views-field-title-1,
.view-message-threads	.item-list li:last-child .field-message-subject{
	display: none;
}
/* End email thread list */

.view-message-threads .views-field-field-sent-1 {
	display: none;
}

.message-headers .field > .field-label {
	font-weight: bold;
}

.message-headers .field > div {
	display: inline;
}

/* Users page */
.view-users .views-row { /* same as emails */
	border: 3px solid #ddd;
	border-radius: 20px;
	margin-bottom: 2em;
	padding: 1em;
}

.view-users label,
.view-users .views-label {
	font-weight: bold;
}
/* end users page */




/* start admin editor stuff */
.views-row,
.view-content > .item-list {
	position: relative;
}
.views-field-edit-node {
	padding: 5px 10px 5px 5px;
	position: absolute;
	top: 0;
	right: 0;
}

.views-field .views-label {
	margin-right: 0.5em;
	font-weight: bold;
}


.views-field .views-label + .field-content {
	display: inline;
}


.views-field-body {
	margin-top: 1em;
}

.item-list > ul > li {
	border-bottom: 1px solid black;
	margin-bottom: 1em;
}

.item-list > ul > li:last-child {
	border-bottom: 0px;
	margin-bottom: inherit;
}



/* New view */
.views-row .views-row:first-child .views-field-title-1 {
	display: none;
}



/* Chat logs */
.view-chat-logs .views-row {
		margin-bottom: 1em;
}
	
/* User pages */
.node--type-user .field {
	border-bottom: 1px solid black;
	margin-bottom: 1em;
}

.node--type-user .field:last-child {
	border-bottom: 0;
}

/*.field--name-field-position {*/
/*	margin-bottom: 1em;	*/
/*}*/



.Archived .views-field-body {
	/*display: none;*/
}
.Archived .views-field-body p {
	margin: 0 0.25em 0 0;
	display: inline;
}

.views-field-field-number-of-archived-replies {
	margin-top: 0.5em;
}


/* message thread filters */
#after-work-messages-filter {
	margin-bottom: 2em;
}

#after-work-messages-filter .checkboxes {
	margin-bottom: 1em;
}

#after-work-messages-filter .checkboxes input {
	margin-right: 0.5em;
}


