a, a:visited {
	color: #007baf;
}

ul {
	padding: 0;
	margin: 0;
}

.clear {
	clear: both;
}

.mobile {
	display: none;
}

body.standalone .topMenu {
	padding-top: 10px;
}

body.standalone .topMenu a.logo, body.standalone .topMenu div.user {
	top: 10px;
}

.octicon-loader {
	position: absolute;
	top: 0;
	left: -999em;
}

.ie-gate {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 10000;
	
	background: #27A9E1;
	color: #fff;
}

.ie-gate .gate-content {
	text-align: center;
	padding: 30pt;
}

.ie-gate .gate-content a {
	color: #fff;
}

/* Top menu */

.topMenu {
	height: 60px;
	width: 100%;

	color: #fff;
	
	position: relative;
}

.topMenu {
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #27A9E1),
		color-stop(1, #009DE0)
	);
	background-image: -o-linear-gradient(bottom, #27A9E1 0%, #009DE0 100%);
	background-image: -moz-linear-gradient(bottom, #27A9E1 0%, #009DE0 100%);
	background-image: -webkit-linear-gradient(bottom, #27A9E1 0%, #009DE0 100%);
	background-image: -ms-linear-gradient(bottom, #27A9E1 0%, #009DE0 100%);
	background-image: linear-gradient(to bottom, #27A9E1 0%, #009DE0 100%);
}

.topMenu.disconnected {
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #E02828),
		color-stop(1, #DE0000)
	);
	background-image: -o-linear-gradient(bottom, #E02828 0%, #DE0000 100%);
	background-image: -moz-linear-gradient(bottom, #E02828 0%, #DE0000 100%);
	background-image: -webkit-linear-gradient(bottom, #E02828 0%, #DE0000 100%);
	background-image: -ms-linear-gradient(bottom, #E02828 0%, #DE0000 100%);
	background-image: linear-gradient(to bottom, #E02828 0%, #DE0000 100%);
}

.topMenu a.logo {
	color: #fff;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

.topMenu .logo img {
	height: 40px;
	padding-left: 15px;
	padding-top: 15px;
}

.topMenu .user {
	position: absolute;
	right: 0;
	top:0;
	line-height: 60px;
	vertical-align: middle;
	padding-right: 10px;

}

.topMenu .user img {
	height: 40px;
	width: 40px;
	border-radius: 40px;
	margin-left: 10px;
	/*vertical-align: middle;*/
}

.topMenu .user .name {
	height: 60px;
    display: inline-block;
    line-height: 1em;
    text-align: right;
    vertical-align: bottom;
    margin-top: 15px;
}

.topMenu .user .name a {
	color: #fff;
}

.topMenu .title {
	line-height: 60px;
	font-size: 15pt;
	text-align: center;
	margin-left: 200px;
}

.topMenu .menu {
	display: table;
	margin: 0 auto;
}

.topMenu .menu > ul {
	min-width: 300px;
	list-style: none;
}

.topMenu .menu > ul > li {
	display: inline-block;
	margin: 0 10pt;
	margin-top: 10pt;
	position: relative;
}


/*.topMenu ul {
	list-style: none;
	margin: 0 auto;
	display: inline-block;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
}

.topMenu ul li {
	padding-top: 10pt;
}

.topMenu ul li span {

}

*/

.topMenu .menu > ul > li .label {
	display: inline;
    line-height: 32px;
    vertical-align: bottom;
    margin-left: 4pt;
    padding-bottom: 1pt;
}

.topMenu .menu > ul > li a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
}

.topMenu .menu > ul > li .label,
.topMenu .menu > ul > li span {	
	cursor: pointer !important;
}

.topMenu .menu > ul > li a:hover .label {
	border-bottom: 1px solid #fff;
}

/* TopMenu layout dropdown */

.topMenu .menu .layout-btn {
	cursor: pointer;
}

.topMenu .menu > ul > li.layout-btn .label {
	padding-bottom: 8px;
	display: inline-block;
	line-height: 16px;
}

.topMenu .menu ul.layout-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 2000;
	background-color: #fff;
	
	min-width: 200px;
	list-style: none;
	
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-top: 0;
	border-radius: 4px;
	box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
	margin-top: 5pt;
	
	padding: 5pt 0;
	
	display: none;
}

.topMenu .menu ul.layout-dropdown.open {
	display: block;
}

.topMenu .menu ul.layout-dropdown li.current {
	font-weight: bold;
}

.topMenu .menu ul.layout-dropdown li a {
	color: #000;
	padding: 5pt 10pt;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

.topMenu .menu ul.layout-dropdown li a:hover {
	background-color: #eee;
}

.topMenu .menu ul.layout-dropdown li.spacer {
	border-bottom: 1px solid #888;
	margin: 5pt 0;
}

/* Events */

.events {
	width: 100%;
	height: 100%;
	background-color: #007bb0;
	
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
	
	padding-top: 1px;
	
	background-color: #27a9e1;
	background: url('../img/hubroo-login-bg.jpg') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

.events .event {
	
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
	
	width: 100%;
	max-width: 600px;
	height: 130px;
	padding: 0 20px;
	margin: 0 auto;
	
	background-color: rgba(0,154,220,0.95);
	font-size: 25pt;
	margin-top: 40px;
	
	display: table; 
}

.events .event a {
	display: table-cell;
	vertical-align: middle;
	color: #fff;
	text-decoration: none;
	line-height: 1.2em;
}

.events .event a:last-child {
	margin-bottom: 40px;
}

.events .event.archived {
	height: 50px;
	font-size: 18pt;
	margin-top: 30px;
}

.events .event .archive {
	display: table-cell;
    vertical-align: middle;
    color: #fff;
    font-size: 25px;
    text-align: right;
    width: 25px;
    opacity: 0.8;
    cursor: pointer;
}

.events .event .archive:hover {
	opacity: 1.0;
}

.events > p {  
    color: white;
    text-align: center;
    font-size: 18pt;
    padding: 15pt;
}

/* Panels */

body {
	background-color: #f0f0f0;
}

.panels {
	position: absolute;
	
	top: 60px;
	bottom: 0;
	right: 0;
	left: 0;
	
/*	top: 90px;
	bottom: 30px;
	right: 30px;
	left: 30px;*/
}

/*.panels.noair {
	top: 60px;
	bottom: 0;
	right: 0;
	left: 0;
}*/



.panel.vertical.with-resizer > .module, .panel.vertical.with-resizer > .panel {
 right: 5px;
 /*right: 15px;*/
}

.panel.horizontal.with-resizer > .module, .panel.horizontal.with-resizer > .panel {
 bottom: 5px;
 top:0;
 /*right: 15px;*/
}



.panel {
	float:left;	
	position: relative;
}

.panel.vertical {
	height: 100%;
}

.panel.horizontal {
	width: 100%;
}

.module {
	/*height: 100%;*/
	
	position: absolute;
	top:0;
	bottom:0;
	right: 0;
	left:0;

	overflow: hidden;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

.resizer {
	background-color: #eee;
	/*background-color: #f0f0f0;*/
	float:right;
	display: block;
	
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
	
	border: 1px solid #aaa;
}

.resizer.vertical {
	/*width: 5px;
	height: 100%;*/
	
	position: absolute;
	top: 0; bottom: 0;
	right: 0;
	
	cursor: ew-resize;
	
	border-top: 0;
	border-bottom: 0;
	
	width: 5px;
	/*width: 30px;*/
}

.resizer.horizontal {
	position: absolute;
	bottom: 0;
	right: 0; left: 0;
	
	cursor: ns-resize;
	
	border-right: 0;
	border-left: 0;
	
	height: 5px;
	/*height: 30px;*/
}

/*.panel.vertical.with-resizer > .module,
.panel.vertical.with-resizer > .panel {
	right: 5px;
	right: 30px;
}

.panel.horizontal.with-resizer > .module,
.panel.horizontal.with-resizer > .panel {
	bottom: 5px;
	bottom: 30px;
}*/

body.touch .panel.with-resizer .module {
	right: 15px;
}

body.touch .resizer.vertical {
	width: 15px;
}

/* Log panel */

/* Tabs */

.tabs {
	width: 100%;
	background-color: white;
	line-height: 2.5em;
	height: 2.5em;

	white-space: nowrap;
	position: relative;
	display: block;
	
	overflow:hidden;
	
	padding-bottom: 2px;
}

.tabs-scroll {
	position: absolute;
	left: 0;
}

.tabs .tab {
	display: inline-block;
	padding: 0 15pt;
	border-bottom: 2px solid #ccc;
	cursor: pointer;
	color: #aaa;
}

.tabs .tab .title {
	max-width: 200px;
	overflow: hidden;
	display: inline-block;
	float:left;
	text-overflow: ellipsis;
}

.tabs .tab.current {
	border-bottom: 2px solid #555;
	color: #000;
}

.tabs .tab .color {
	width: 10px;
	display: inline-block;
	border-radius: 20px;
	height: 10px;
	margin-left: 7px;
	opacity: 0.5;
	
	background-color: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 0, 0, 1);
	
	vertical-align: middle;
}

.tabs .tab.current .color {
	opacity: 1.0;
}

/*.tabs {
	width: 100%;
	background-color: #fff;
	display: block;
}

.tabs .tab {
	border-bottom: 2px solid #ccc;
	display: block;
	padding: 10px 20px;
	float: left;
	line-height: 20px;	
	cursor: pointer;
	color: #aaa;
	position: relative;
}

.tabs .tab.current {
	border-bottom: 2px solid #555;
	color: #000;
}*/

.tab .unread {
	color: #FFF;
	background-color: #AAA;
	height: 19px;
	display: inline-block;
	text-align: center;
	line-height: 19px;
	margin-left: 8px;
	border-radius: 3px;
	padding: 0 3px;
	min-width: 13px;
	font-size: 15px;
}

.tab .filter-dd {
	display: none;

	background-image: url('/img/dropdown.png');
	background-size: 20px auto;
	
	width: 20px;
	height: 20px;
	vertical-align: baseline;
	margin-left: 6px;
	
	padding-right: 23px;
	background-position: right;
	background-repeat: no-repeat;
	color: #888;
	font-size: 0.85em;
	line-height: 0.85em;
}

.tab.current .filter-dd {
	display: inline;
}

.tab .dropdown {
	display: none;
}

.sub.logView ul.dropdown {
	/*display: none;*/
	
	position: absolute;
	top: 2.5em;
	left: 0px;
	
	padding: 5pt 0;
	margin-top: 2px;
	
	list-style: none;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-top: 0;
	border-radius: 0 0 4px 4px;
	box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
	
	z-index: 1000;
}

.sub.logView ul.dropdown li {
	padding: 5pt;
}

.sub.logView ul.dropdown li.current {
	font-weight: bold;
}

.sub.logView ul.dropdown li:hover {
	background-color: #F5F5F5;
}

/*.tab.current .dropdown.open {
	display: block;
}*/


/* LogView */

.logView {
	background-color: #eee;
	
	float: left;
	/*height: 100%;*/
}

/* Sublogview */

/* Close icon */

.sub.logView .header .close-wrapper {
	height: 2.5em;
	position: absolute;
	top: 0;
	right: 15pt;
}

.sub.logView .header:hover .close {
	display: inline-block;
}

.sub.logView .header:hover span.title  {
	padding-right: 20px;
}

.sub.logView .header .close {
	height: 1em;
	width: 1em;
	margin-left: 7px;
	text-align: center;
    color: #888;
    cursor: pointer;
    display: none;
    vertical-align: baseline;
}

.sub.logView .header .close:hover {
	color: #fff;
	background: #888;
	border-radius: 0.2em;
}

/* ActionCard icon (mobile) */

.sub.logView .header .actioncard-wrapper,
.actionCard .card > .header .actioncard-wrapper {
	position: absolute;
	top: 0px;
	right: 10pt;
}

.sub.logView .header .actioncard-wrapper span,
.actionCard .card > .header .actioncard-wrapper span {
	margin-left: 7px;
	text-align: center;
	color: #007BAF;
	cursor: pointer;
	vertical-align: baseline;
	line-height: 1.3em;
 }

/* New Item */

.logView .newItem {
	margin: 0px;
	padding: 15px;
	padding-bottom: 0;
	display: block;
}

.logView .newItem.active {
	/*background-color: #ccc;*/
}

.logView input.newItem {
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
	border: 1px solid #ccc;
	padding: 5px;
}

.logView .newItem .options {
	margin-top: 15px;
}

.logView .newItem .options input {
	margin-bottom: 15px;
}

.logView .newItem .options select {
	margin-bottom: 10px;
}

.logView .newItem .options select[name="sublog"] option[value="0"] {
	font-style: italic;
}

.logView .newItem .options select[name="sublog"],
#sms-overlay select[name="actionCard"] {
	-moz-transition: all 0.15s ease;
}

.logView .newItem .options select[name="sublog"].highlight,
#sms-overlay select[name="actionCard"].highlight {
  -moz-transform: scale(1.3);
}

.logView .newItem .options .import {
	margin: 0 2pt;
}

.logView .newItem .options .cancel-import {
	border-radius: 5pt;
	width: 15pt;
	height: 15pt;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	line-height: 15pt;
	margin-left: 3pt;
	background-color: #c00;
	color: #FFF;
	font-size: 15pt;
	cursor: pointer;
	
	display: none;
}

.logView .newItem input[type="submit"] {
	float: right;
}

.logView .newItem .logs {
	display: inline-block;
}

.logView .newItem .logs .tab {
	padding: 5pt;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	cursor: pointer;
	color: #aaa;
}

.logView .newItem .logs .tab.current {
	color: #000;
}

.sub.logView .newItem table {
	width: 100%;
}

.sub.logView .newItem table tr td:nth-child(1) {
	width: 100%;
}

.sub.logView .newItem table tr td:nth-child(2) input {
	margin-left: 5pt;
}

/* Logs */

.log {
	-webkit-overflow-scrolling: touch;
	overflow-y: scroll;
	position: absolute;
	top: 135px;
	bottom: 0;
	
	left: 15px;
	right: 15px;
	
	transition: top 0.4s;
	list-style: none;
	
	background-color: #eee;
}

.sub.logView > .log {
	top: 100px;
}

.log .day-separator {
	text-align: center;
	padding: 6pt 0;
	background-color: #ddd;
	font-weight: bold;
	box-shadow: 0 1px 0 #eee;
	margin-bottom: 1px;
}

.log.inputActive {
	top: 150px;
}

/* Backend updates */

.log .backend-update {
	background-color: rgba(204, 15, 45, 1);
	color: #fff;
	display: none;
	width: 100%;
	
	padding: 15pt;
	box-sizing: border-box;
	margin-bottom: 1px;
	cursor: pointer;
}

.log .backend-update.show {
	display: inline-block;
}

.log .backend-update span {
	float: left;
	margin-right: 5pt;
	cursor: pointer;
}

.log .backend-update strong {
	line-height: 32px;
	display: inline-block;
	font-size: 15pt;
}

.log .backend-update p {
	margin-bottom: 0;
}

/* LogItems / Entries */

.log .entry {
	padding: 10px;
	background-color: #ddd;
	margin-bottom: 1px;
	display: none;
	
	border: 0;
	border-left: 10px;
	border-style: solid;
}

.log .entry.visible {
	display: block;
}

.log .entry .message {
	/*white-space: nowrap;*/
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	
	display: inline-block;
	width: 100%;
	
	line-height: 1.2em;
}

.log .entry.open .message {
	white-space: normal;
}

.log .entry strong {
	color: #888;
}

.log .entry .checkbox {
	width: 1.3em;
	height: 1.3em;
	background-color: #fff;
	display: inline-block;
	vertical-align: middle;
	margin: 0 3px;
}

.log .entry .checkbox.checked {
	background-image: url('/img/checked.png');
	background-position: center center;
	background-size: 12px;
	background-repeat: no-repeat;
}

.log .entry strong.sublog {
	color: #000;
}

/* Entry inline logs */

.log .entry.open .inline-log {
	max-height: 300px;
	overflow-y: scroll;
}

.log .entry.open .inline-log .open,
.log .entry.open .inline-log .actions,
.log .entry.open .inline-log .user {
	display: none;
}

.log .entry.open.unread .inline-log,
.log .entry.open.flag .inline-log {
	color: #000;
}

.log .entry.open.unread .inline-log .entry:not(.flag):not(.unread) strong,
.log .entry.open.flag .inline-log .entry:not(.flag):not(.unread) strong {
	color: #888;
}

/* Entry inline states */

.log .entry .inline-states {
	list-style: none;
	display: none;
}

.log .entry.open .inline-states {
	display: block;
}

.log .entry .inline-states li {
	padding: 2pt 0;
}

.log .entry .inline-states span {
	float: right;
}

/* Entry states */
/* Sublog */
.log .entry.sublog {
	background-color: #e6e6e6;
}

/* In progress */
.log .entry.in-progress {
	background-color: rgba(0, 178, 51, 1);
}

.log .entry.in-progress strong {
	color: #333;
}

/* Flag */
.log .entry.flag {
	background-color: rgba(204, 15, 45, 1);
	color: #fff;
}

.log .entry.flag strong {
	color: #fff;
}

.log .entry.flag select {
	color: #000;
}

/* Unread */
.log .entry.unread {
	background-color: #45B6E6;
	color: #fff;
}

.log .entry.unread strong {
	color: #fff;
}

.log .entry.unread select {
	color: #000;
}

/* Done */
.log .entry.done {
	color: #999;
}

.log .entry.done strong {
	color: #aaa;
}

.log .entry.open.done {
	color: #000;
}

.log .entry.open.done strong {
	color: #888;
}


/* Highlight */
.log .entry.highlighted {
	background-color: #EFFF0D;
	color: #000;
}

.log .entry.highlighted strong {
	color: #888;
}

/* Entries without logcolor */
.log .entry.nocolor {
	border-left-width: 0px;
	padding-left: 15px;
}

/* Entry user */

.log .entry .user {
	float: right;
	display: none;
	line-height: 1.5em;
}

.log .entry.open .user {
	display: block;
}

/* Enty open sublog button */
.log .entry.open .open {
	display: block;
}

.log .entry .of2 {
	width: 50%;
	box-sizing: border-box;
	padding: 0 5px;
	display: none;
	float: left;
}

.log .entry.open .of2 {
	display: inline-block;
}

.log .entry .part1.of2 {
	padding-left: 0;
}

.log .entry .part2.of2 {
	padding-right: 0;
}

.log .entry .open,
.log .entry .open {
	display: none;
	width: 100%;
	text-align: center;
	background-color: #CCC;
	padding: 7px;
	margin-top: 15px;
	cursor: pointer;
	
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
	
	float: left;
	
	/*border-radius: 5px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.176);*/
}

.log .entry.flag .open,
.log .entry.unread .open {
	background-color: rgba(0,0,0, 0.3);
}

/* Entry actions */

.log .entry .actions {
	display: none;
	float: left;
	margin-top: 15px;
}

.log .entry .move-dropdown {
	display: none;
}

.log .entry.open .actions {
	display: block;
}

.log .entry .actions .mark {
	display: inline-block;
	padding: 2pt 5pt;
	border-radius: 3px;
	border-width: 2px;
	border-style: solid;
	cursor: pointer;
	margin-bottom: 10pt;
}


.log .entry .actions .mark.read {
	background-color: #45B6E6;
	border-color: #45B6E6;
	color: #fff;
	margin-right: 5pt;
}

.log .entry .actions .mark.flag {
	border-color: rgba(204, 15, 45, 1);
	background-color: rgba(204, 15, 45, 0.7);
	color: #fff;
	margin-right: 5pt;
}

.log .entry .actions .mark.complete {
	border-color: rgba(0, 178, 51, 1);
	background-color: rgba(0, 178, 51, 0.7);
	color: #fff;
}

.log .entry .actions .mark.move {
	border-color: rgba(239, 255, 13, 1);
	background-color: rgba(239, 255, 13, 0.8);
	color: #000;
	margin-right: 5pt;
}

.log .entry.in-progress .actions .mark.complete {
	border-color: #ddd;
	background-color: rgb(230,230,230);
	color: #000;
}


.log .entry.unread .actions .mark.read {
	border-color: #ddd;
	background-color: rgb(230,230,230);
	color: #000;
}

.log .entry.flag .actions .mark.flag {
	border-color: #ddd;
	background-color: rgb(230,230,230);
	color: #000;	
}

/* Entry MMS */

.log .entry ul.mms {
	list-style: none;
	display: none;
	margin-top: 0.5em;
	max-width: 100%;
	width: 100%;
	
}

.log .entry.open ul.mms {
	display: inline-block;
}

.log .entry ul.mms li img {
	max-width: 100%;
	max-height: 500px;
}

.log .entry .mmserror {
	display: none;
	margin-top: 1em;
	color: rgba(204, 15, 45, 1);
}

.log .entry.open .mmserror {
	display: block;
}

.mms img {
	image-orientation: from-image;
}


/* ActionCards */

.actionCard {
	background-color: #eee;
}

.actionCard .card {
	display: none;
}

.actionCard .card.current {
	display: block;
}

.sub.logView .header,
.actionCard .card > .header {
	background-color: #fff;
	margin: 0;
	font-size: 12pt;
	line-height: 2.5em;
	padding: 0 15pt;
	border-bottom: 2px solid #555;
	font-weight: normal;
	height: 2.5em;
	overflow: hidden;
}

.sub.logView .header span.title,
.actionCard .card > .header span.title {
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	display: inline-block;
	overflow: hidden;
	box-sizing: border-box;
}

.sub.logView .header a,
.actionCard .card > .header a {
	cursor: pointer;
}

.actionCard .scroll {
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
    width: 100%;
    position: absolute;
    top: 2.5em;
    bottom: 0px;
    margin-top: 2px;
}

.actionCard ul {
	list-style: none;
}

.actionCard ul li.title ul li {
	background-color: #ddd;
	border-bottom: 1px solid #EEE;
	padding: 10px;
	padding-left: 15px;
	position: relative;
	cursor: default;
}

.actionCard ul li.title ul li.text {
	padding: 15px;
}

.actionCard ul li.title {
	background-color: #eee;
	padding: 0;
	cursor: pointer;
	/*line-height: 32px;*/
}

.actionCard ul li.title .header {
	overflow: hidden;
	position: relative;
}

.actionCard ul li.title .cat-title {
	line-height: 32px;
	display: block;
	padding: 5px 0;
}

.actionCard ul li.title .cat-title > span {
	padding: 5px 10px 5px 15pt;
	line-height: 1.5em;
	margin-right: 35px;
	display: inline-block;
}

.actionCard ul li.title .expander {
	cursor: pointer;
	position: absolute;
	top: 0; bottom: 0;
	right: 0;
	width: 30px;
	height: 35px;
	display: block;
	margin: auto;
}

.actionCard ul li.title.closed .expander {
	width: 25px;
}

.actionCard ul li.title.closed {
	border-bottom: 1px solid #ddd;
}

.actionCard ul li.title.closed ul {
	display: none;
}

.actionCard ul li.check {
	min-height: 25px;
}

.actionCard ul li.check .checkbox {
	text-align: center;
    line-height: 25px;
    font-size: 25px;
    color: #000;
    
    width: 25px;
    height: 25px;
    background-color: #FFF;
    display: block;
    
    position: absolute;
    top: 0; bottom: 0;
    margin: auto;
    
    cursor: pointer;
}

.actionCard ul li.check .checkbox.loading {
	background-color: #777;
}

.actionCard ul li.check .checkbox.checked {
	
	background-image: url('/img/checked.png');
	background-position: center center;
	background-size: 12px;
	background-repeat: no-repeat;
	
}

.actionCard ul li.check .text {
	margin-left: 36px;
    display: inline-block;
    line-height: 1.3em;
    margin-top: 3px;
}

.actionCard ul li .label {
	margin-right: 5pt;
	line-height: inherit;
	padding-bottom: 5pt;
}

.actionCard ul li .input-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
}

.actionCard ul li .input {
	overflow: hidden;
	flex: 1;
}

.actionCard ul li .input input {
	border: 0;
	padding: 5pt;
	width: 100%;
	
	box-sizing: border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing: border-box;
}

.actionCard ul li .actions {
	flex-shrink: 0;
}

.actionCard ul li .actions .sms {
    cursor: pointer;
}

.actionCard ul li .actions .sms:hover {
    color: #10d51c;
}

.actionCard ul li .arrow {
	display: block;
	width: 20px;
	
	position: absolute;
	right: 10px;
	top: 10px;
	bottom: 10px;
	
	background-image: url('/img/dropdown.png');
	background-size: 20px;
	background-position: center;
	background-repeat: no-repeat;
	
	display: none;
}


/* ErrorView */

.errorView {
	background-color: #eee;
}

.errorView h1 {
	text-align: center;
}

.errorView pre {
	padding: 20pt;
	white-space: pre-wrap;
}

/* Log colors */

/* Log entry left border */
.log .entry.black {
	border-left-color: rgba(0,0,0, 0.7);
}

.log .entry.red {
	border-left-color: rgba(204, 15, 45, 0.7);
}

.log .entry.green {
	border-left-color: rgba(0, 178, 51, 0.7);
}

.log .entry.blue {
	border-left-color: rgba(39, 169, 225, 0.7);
}

/* Sublog dot / generic */
.color-bordered.black, 
.tabs .tab .color.black {
	background-color: rgba(0, 0, 0, 0.3);
	border-color:	  rgba(0, 0, 0, 1);
}

.color-bordered.red, 
.tabs .tab .color.red {
	background-color: rgba(204, 15, 45, 0.3);
	border-color:	  rgba(204, 15, 45, 1);
}

.color-bordered.green, 
.tabs .tab .color.green {
	background-color: rgba(0, 178, 51, 0.3);
	border-color:	  rgba(0, 178, 51, 1);
}

.color-bordered.blue, 
.tabs .tab .color.blue {
	background-color: rgba(39, 169, 225, 0.3);
	border-color:	  rgba(39, 169, 225, 1);
}

/* Settings / filled */

.fill-color.black {
	background-color: rgba(0, 0, 0, 1);
}

.fill-color.red {
	background-color: rgba(204, 15, 45, 1);
}

.fill-color.green {
	background-color: rgba(0, 178, 51, 1);
}

.fill-color.blue {
	background-color: rgba(39, 169, 225, 1);
}

/* Log bottom border */
.tab.red {
	border-bottom-color: rgba(204, 15, 45, 0.3);
}

.tab.current.red {
	border-bottom-color: rgba(204, 15, 45, 1);
}

.tab.green {
	border-bottom-color: rgba(0, 178, 51, 0.3);
}

.tab.current.green {
	border-bottom-color: rgba(0, 178, 51, 1);
}

.tab.blue {
	border-bottom-color: rgba(39, 169, 225, 0.3);
}

.tab.current.blue {
	border-bottom-color: rgba(39, 169, 225, 1);
}



/* Border-color */
.border-color.black {
	border-color:	  rgba(0, 0, 0, 1);
}

.border-color.red {
	border-color:	  rgba(204, 15, 45, 1);
}

.border-color.green {
	border-color:	  rgba(0, 178, 51, 1);
}

.border-color.blue {
	border-color:	  rgba(39, 169, 225, 1);
}







/* Resources */

.resourceView {
	width: 100%;
	height: 100%;
	background-color: #eee;
	font-size: 13pt;
	
	overflow-y: scroll;
}

.resourceView table {
	width: 100%;
	table-layout: fixed;
}

/*.resourceView table thead {
	text-align: left;
	font-weight: bold;
	background-color: #ddd;
}*/

.resourceView table thead {
	text-align: left;
	font-weight: bold;
	background-color: #fff;
	border-bottom: 2px solid #000;
}

.resourceView table thead tr {
	/*line-height: 2.3em;*/
}

.resourceView table tr {
	/*line-height: 32px;*/
}

.resourceView table tbody.closed {
	display: none;
}

.resourceView table td .text {
	height: 32px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.resourceView table tr td,
.resourceView table th {
	padding: 3pt 7pt;
}

.resourceView .sms,
.resourceView .edit {
	width: 32px;
	text-align: center;
}

.resourceView .sms .multi-sms {
	cursor: pointer;
}

.resourceView .check {
	width: 30px;
}

.resourceView table th.sms {
	height: 32px;
}

.resourceView .sms span,
.resourceView .edit span {
	cursor: pointer;
}

.resourceView .sms:hover {
	color: #10d51c;
}

.resourceView .edit a {
	color: #000;
}

.resourceView .edit a:hover {
	color: #007baf;
}

.resourceView td .checkbox {
	width: 25px;
	height: 25px;
	display: block;
	background-color: #fff;
	cursor: pointer;
}

.resourceView td .checkbox.checked {
	background-image: url('/img/checked.png');
	background-position: center center;
	background-size: 12px;
	background-repeat: no-repeat;
}

.resourceView .multi-sms {
	display: none;
}

.resourceView tr.new td {
	vertical-align: top;
}

.resourceView tr.category td {
	background-color: #ddd;
	line-height: 32px;
	font-weight: bold;
	cursor: pointer;
}

.resourceView tr.category td.expander {
	text-align: center;
}

.resourceView tr.category td.expander span {
	cursor: pointer;
}

/*.resourceView tr.new input,
.resourceView tr.new textarea {
	width: 100%;
	
	padding: 5px;
	border: 1px solid #009DE0;
	border-radius: 3px;
	box-sizing: border-box;
}

.resourceView tr.new input:focus,
.resourceView tr.new textarea:focus {
	box-shadow: 0 0 5px #009DE0;
}*/

/* Overlay */

.overlay {
	position: absolute;
	top: 0; bottom: 0;
	right: 0; left: 0;
	background-color: rgba(0,0,0, 0.2);
	display: none;
}

.overlay .container {
	background-color: #fff;
	width: 500px;
	height: 200px;
	padding: 20pt;
	border-radius: 3px;
	/*box-shadow: 3px 3px 6px 0px black;*/
	box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
	
	margin: auto;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
}

.overlay .content {
	position: relative;
	height: 100%;
}

.overlay, .overlay input, .overlay textarea {
	font-size: 13pt;
}

ul.token-input-list-facebook {
	width: 100%;
	box-sizing: border-box;
}

.overlay label {
	float: left;
	line-height: 1.7em;
	padding-right: 8pt;
}

.overlay .input-container {
	display: block;
    overflow: hidden;
}

.overlay textarea {
	margin-top: 8pt;
	width: 100%;
	height: 4em;
	box-sizing: border-box;
	resize: vertical;
}

.overlay h1 {
	margin: 0;
	margin-bottom: 0.5em;
}

.overlay .cancel,
.overlay .send {
	padding: 0 6pt;
	border-radius: 4px;
	display: inline-block;
	margin-top: 10pt;
	cursor: pointer;
	height: 1.8em;
	line-height: 1.8em;
}

.overlay .cancel {
	background-color: #ddd;
}

.overlay select {
	float: right;
    height: 1.8em;
    margin-top: 10pt;
    margin-right: 7pt;
}

.overlay .send {
	background-color: rgba(0, 178, 51, 0.7);
	color: #fff;
	float: right;
}

.overlay .hendelse {
    margin-top: 0.5em;
}

.overlay .hendelse > span {
    line-height: 1.2em;
}

@media (max-width: 700px) {
	
	.mobile {
		display: inline;
	}
	
	/* Show event title from 400 to 700px */
	.topMenu .title.mobile {
		display: block;
		
		padding: 0 150px;
	    margin: 0 auto;
	    text-overflow: ellipsis;
	    white-space: nowrap;
	    overflow: hidden;
	}
	
	/* Top Menu */	
	.topMenu {
		height: 44px;
	}
	
	.topMenu .logo img {
		height: 25px;
		padding-left: 13px;
		padding-top: 13px;
	}
	
	.topMenu .title {
		line-height: 44px;
		margin-left: 120px;
	}
	
	.topMenu .user {
		line-height: 40px;
		font-size: 90%;
	}
	
	.topMenu .user img {
		height: 32px;
		width: 32px;
		border-radius: 32px;
		margin-left: 10px;
		/*vertical-align: middle;*/
	}
	
	.topMenu .user .name {
		height: 44px;
		margin-top: 10px;
		
	}
	
	/* Panels */	
	.panels {
		top: 44px;
	}
	
	body.standalone .panels {
		top: 54px;
	}
	
	/* Hide menu buttons */
	.topMenu .menu {
		display: none;
	}
	
	/* Hide other panels */
	.panels:nth-child(1) {
		
	}
	
	.panels > .panel:nth-child(n+2), .panels > .module:nth-child(n+2) {
		display: none;
	}
	
	.panels > .panel.vertical {
		width: 100% !important;
	}
	
	/*.panels > .panel.horizontal:nth-child(1){
		height: 100% !important;
	}
	
	.panels > .panel.horizontal:nth-child(n+2){
		display: none;
	}
	
	.panels > .panel.horizontal > .panel.vertical:nth-child(1) {
		width: 100% !important;
	}
	
	.panels > .panel.horizontal > .panel.vertical:nth-child(n+2) {
		display: none;
	}*/
	
	/* Remove resizers */
	.panel.vertical.with-resizer > .module, .panel.vertical.with-resizer > .panel {
		right: 0 !important;
	}
	
	.panel.horizontal.with-resizer > .module, .panel.horizontal.with-resizer > .panel {
		bottom: 0;
	}
	
	.panel .resizer {
		display: none;
	}
	
	/* Logs */
	.log {
		left: 0px;
		right: 0px;
	}
	
	.sub.logView .header .close-wrapper {
		display: none;
	}
	
	.sub.logView .header span.title,
	.actionCard .card > .header span.title {
		padding-right: 30px;
	}
	
	
	/* Actioncards */
	.actionCard .card > .header a.back,
	.sub.logView .header a {
		margin-right: 10pt;
	}
	
	.actionCard .card > .header,
	.sub.logView .header {
		padding-left: 8pt;
	}
	
	.actionCard ul li.title .cat-title {
		line-height: 44px;
	}
	
}


@media (max-width: 400px) {
	.topMenu .title.mobile {
		display: none;
	}
}

