html,
body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin:0;
	padding:0;
	height:100%;
}
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/material-icons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url(/assets/material-icons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
       url(/assets/material-icons/iconfont/MaterialIcons-Regular.woff) format('woff'),
       url(/assets/material-icons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.5em;
}

h5, p, li {
	font-size: 1.25em;
}



div.tripane-root {
	display: flex;
}

div.filter-col {
	width: 20%;
	overflow-y: auto;
	overflow-x: wrap;
	/* height: 80vh; */
	height: 80vh;
	min-width: 200px;
	border: solid rgb(220, 220, 220) 3px;

	/* Hate this but the alternatives are worse, imo */
	margin: -2px;
	padding-left: 10px;
}


div.message-col {
	max-width: 750px;
	width: 40%;
}



div.message-card {
	padding: 5px;
	min-height: 50px;
	border: solid rgb(220, 220, 220) 1px;
	border-top: 0px;
	font-size: 90%; 
}

div.selected-message {
	background-color: rgb(139, 201, 255);
}

div.message-card:hover {
	background: rgb(238, 247, 255);
}

div.message-card p {

	/* margin-bottom: 0.25em; */
}

div.message-card > p.date {
	float: right;

}

div.message-card > p.attach {
	float: right;
	margin-right: 5px;
}


.intro {
	color: grey;
}

p.additional {

	display: inline-block;
	background: lightblue;
	padding: 2px;
	border-radius: 3px;
}

div.tripane-col,iframe.tripane-col {
	overflow-y: auto;
	height: 80vh;
	min-width: 300px;
	border: solid rgb(220, 220, 220) 3px;
	flex-grow: 1;
	margin: -2px;
}

div.tripane-col > iframe {
	height: 70%;
	width: 100%;
}

p.body {
	color: grey;
}

div.message-card {
	color: rgb(74, 74, 74);
}

div.single-message-col div.meta {
	border-bottom: solid rgb(220, 220, 220) 1px;
	min-height: 80px;

}

div.single-message-col div.meta p {
	padding-left: 10px;
}


div.single-message-col div.meta p.sender {
	font-size: 120%;
	font-weight: bold;
}

div.single-message-col div.meta p.subject {

}

input.show:not(:checked) + ul {
	display: none;
}

input.show {
	/* display: none; */
	-webkit-appearance: none;
	appearance: none;
}

input.show:checked:after {
	content: ' [hide]';
}

input.show:not(:checked):after {
	content: ' [show]';
}
.applied-filter-list {
	display: inline;
}

.applied-filter {
	background: rgb(210, 240, 210);
	border-radius: 5%;
	margin-right: 1em;
	display: inline-block;
}

.applied-filter-label {
	font-weight: bold;
	text-decoration: underline;
}

.applied-filter-remove {
	font-size: 75%;
}

div.filter-col ul {
	list-style: none;
}

.interactable:hover {
	background: rgb(238, 247, 255);
}

section {
	padding: 1rem 2rem 1rem 2rem;
}

section > p {
	padding-top: 0rem;
	padding-bottom: 1rem;
	margin: 0;
	font-weight: 300;
}

section.post-app {
	padding-bottom: 2rem;

}

div#container {
	/* height: 100%; /1* For IE 6 and IE 5.5 *1/ */
	position:relative;
	min-height:100%;
}

div.contents {
	padding-bottom: 2rem;
	width: 90%;
	max-width: 1400px;
	margin: auto;

}

footer {
	position: absolute;
	bottom: 0;
	border-top: 1px solid rgb(220, 220, 220);
	width: 100%;
	padding: 0.5rem 1rem 0.5rem 1rem;
	height: 2rem;
	
}

#navbar {
	height: 3rem;
	width: 100%;
	/* background: blue; */
	border-bottom: 3px solid rgb(220, 220, 220);
}


.navbar, .navbar-end, .navbar-menu, .navbar-start, .navbar-brand{
	align-items: stretch;
	display: flex;
}

.navbar {
	/* height: inherit; */
	margin-bottom: 10px;
}

.navbar-start {
	justify-content: flex-start;
	margin-right: auto;
}

.navbar-item {
	/* display: inline-block; */
	  display: flex;
	  align-items:center;
	  line-height: 1.5;
	  padding: .5rem .75rem;
	  flex-grow: 0;
	  flex-shrink: 0;
	  /* border-right: 3px solid rgb(220, 220, 220); */
	  margin-bottom: -3px;
}

.navbar-admin .navbar-item,.navbar-brand {
	  margin-bottom: 0px;
	  padding-bottom: 0px;
}

.navbar-item:hover {
	/* background: lightblue; */
	border-bottom: 3px solid black;

}

#navbar a {
	/* color: white; */
	text-decoration: none;
	color: black;
	border-right: 1px solid rgb(220, 220, 220);
}

#navbar .container {
	display: flex;
}


.brand-a {
	color: rgb(204, 46, 81);
	font-weight: bold;
}

.brand-b {
	color: rgb(44, 86, 204);
	font-weight: bold;
}


/* TODO: Maybe also trigger this if it gets *really* narrow or *really* short */
@media screen and (max-height: 825px) and (max-width: 770px){


	div.single-message-col div.meta p.sender {
		font-size: 105%;
		font-weight: bold;
	}

	div.single-message-col div.meta p.subject {
		font-size: 100%;

	}
	div.message-card p.body {
		display: none;
	}

	div.filter-col {
		height: 300px;
		flex-grow: 1;
		max-height: 50vh;
	}

	div.filter-col.content {
		/* Override bulma: */
		margin-bottom: 0rem;
	}

	div.tripane-col {
		height: 300px;
		flex-grow: 1;
		max-height: 50vh;
		margin-bottom: 0rem;

	}

	div.tripane-root {
		flex-wrap: wrap;
		/* flex-direction: column; */
	}
}


@media screen and (max-width:1024px) {
 .navbar-horizontal,
 .navbar-end,
 .navbar-menu,
 .navbar-start {
  align-items:stretch;
  display:flex;
 }
 .navbar {
  min-height:3.25rem;
 }
 .navbar-horizontal.is-spaced {
  padding:1rem 2rem
 }
 .navbar-horizontal.is-spaced .navbar-end,
 .navbar-horizontal.is-spaced .navbar-start {
  align-items:center
 }
 .navbar-horizontal.is-spaced .navbar-link,
 .navbar-horizontal.is-spaced a.navbar-item {
  border-radius:4px
 }
 .navbar-horizontal.is-transparent .navbar-link.is-active,
 .navbar-horizontal.is-transparent .navbar-link:focus,
 .navbar-horizontal.is-transparent .navbar-link:hover,
 .navbar-horizontal.is-transparent a.navbar-item.is-active,
 .navbar-horizontal.is-transparent a.navbar-item:focus,
 .navbar-horizontal.is-transparent a.navbar-item:hover {
  background-color:transparent!important
 }
 .navbar-horizontal.is-transparent .navbar-item.has-dropdown.is-active .navbar-link,
 .navbar-horizontal.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link,
 .navbar-horizontal.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link,
 .navbar-horizontal.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link {
  background-color:transparent!important
 }
 .navbar-horizontal.is-transparent .navbar-dropdown a.navbar-item:focus,
 .navbar-horizontal.is-transparent .navbar-dropdown a.navbar-item:hover {
  background-color:#f5f5f5;
  color:#0a0a0a
 }
 .navbar-horizontal.is-transparent .navbar-dropdown a.navbar-item.is-active {
  background-color:#f5f5f5;
  color:#3273dc
 }
 .navbar-burger {
  display:none
 }
 .navbar-item,
 .navbar-link {
  align-items:center;
  display:flex
 }
 .navbar-item {
  display:flex
 }
 .navbar-item.has-dropdown {
  align-items:stretch
 }
 .navbar-item.has-dropdown-up .navbar-link::after {
  transform:rotate(135deg) translate(.25em,-.25em)
 }
 .navbar-item.has-dropdown-up .navbar-dropdown {
  border-bottom:2px solid #dbdbdb;
  border-radius:6px 6px 0 0;
  border-top:none;
  bottom:100%;
  box-shadow:0 -8px 8px rgba(10,10,10,.1);
  top:auto
 }
 .navbar-item.is-active .navbar-dropdown,
 .navbar-item.is-hoverable:focus .navbar-dropdown,
 .navbar-item.is-hoverable:focus-within .navbar-dropdown,
 .navbar-item.is-hoverable:hover .navbar-dropdown {
  display:block
 }
 .navbar-item.is-active .navbar-dropdown.is-boxed,
 .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed,
 .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed,
 .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed,
 .navbar-horizontal.is-spaced .navbar-item.is-active .navbar-dropdown,
 .navbar-horizontal.is-spaced .navbar-item.is-hoverable:focus .navbar-dropdown,
 .navbar-horizontal.is-spaced .navbar-item.is-hoverable:focus-within .navbar-dropdown,
 .navbar-horizontal.is-spaced .navbar-item.is-hoverable:hover .navbar-dropdown {
  opacity:1;
  pointer-events:auto;
  transform:translateY(0)
 }
 .navbar-menu {
  flex-grow:1;
  flex-shrink:0
 }
 .navbar-start {
  justify-content:flex-start;
  margin-right:auto
 }
 .navbar-end {
  justify-content:flex-end;
  margin-left:auto
 }
 .navbar-dropdown {
  background-color:#fff;
  border-bottom-left-radius:6px;
  border-bottom-right-radius:6px;
  border-top:2px solid #dbdbdb;
  box-shadow:0 8px 8px rgba(10,10,10,.1);
  display:none;
  font-size:.875rem;
  left:0;
  min-width:100%;
  position:absolute;
  top:100%;
  z-index:20
 }
 .navbar-dropdown .navbar-item {
  padding:.375rem 1rem;
  white-space:nowrap
 }
 .navbar-dropdown a.navbar-item {
  padding-right:3rem
 }
 .navbar-dropdown a.navbar-item:focus,
 .navbar-dropdown a.navbar-item:hover {
  background-color:#f5f5f5;
  color:#0a0a0a
 }
 .navbar-dropdown a.navbar-item.is-active {
  background-color:#f5f5f5;
  color:#3273dc
 }
 .navbar-dropdown.is-boxed,
 .navbar-horizontal.is-spaced .navbar-dropdown {
  border-radius:6px;
  border-top:none;
  box-shadow:0 8px 8px rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.1);
  display:block;
  opacity:0;
  pointer-events:none;
  top:calc(100% + (-4px));
  transform:translateY(-5px);
  transition-duration:86ms;
  transition-property:opacity,transform
 }
 .navbar-dropdown.is-right {
  left:auto;
  right:0
 }
 .navbar-divider {
  display:block
 }
 .container>.navbar .navbar-brand,
 .navbar>.container .navbar-brand {
  margin-left:-.75rem
 }
 .container>.navbar .navbar-menu,
 .navbar>.container .navbar-menu {
  margin-right:-.75rem
 }
 .navbar-horizontal.is-fixed-bottom-desktop,
 .navbar-horizontal.is-fixed-top-desktop {
  left:0;
  position:fixed;
  right:0;
  z-index:30
 }
 .navbar-horizontal.is-fixed-bottom-desktop {
  bottom:0
 }
 .navbar-horizontal.is-fixed-bottom-desktop.has-shadow {
  box-shadow:0 -2px 3px rgba(10,10,10,.1)
 }
 .navbar-horizontal.is-fixed-top-desktop {
  top:0
 }
 body.has-navbar-fixed-top-desktop,
 html.has-navbar-fixed-top-desktop {
  padding-top:3.25rem
 }
 body.has-navbar-fixed-bottom-desktop,
 html.has-navbar-fixed-bottom-desktop {
  padding-bottom:3.25rem
 }
 body.has-spaced-navbar-fixed-top,
 html.has-spaced-navbar-fixed-top {
  padding-top:5.25rem
 }
 body.has-spaced-navbar-fixed-bottom,
 html.has-spaced-navbar-fixed-bottom {
  padding-bottom:5.25rem
 }
 .navbar-link.is-active,
 a.navbar-item.is-active {
  color:#0a0a0a
 }
 .navbar-link.is-active:not(:focus):not(:hover),
 a.navbar-item.is-active:not(:focus):not(:hover) {
  background-color:transparent
 }
 .navbar-item.has-dropdown.is-active .navbar-link,
 .navbar-item.has-dropdown:focus .navbar-link,
 .navbar-item.has-dropdown:hover .navbar-link {
  background-color:#fafafa
 }
 }
