* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clear {
  clear: both;
}
.hidden {
  display: none;
}

a {
  color: #c93c3c;
}
a:hover {
  color: #a53232;
}
html,
body {
  height: 100%;
}
body {
  font-family: 'Roboto';
  font-size: 14px;
  background: #262E3B;
}

h1 {
  color: #293240;
  font-weight: 100;
  font-size: 29px;
  text-transform: uppercase;
}
h2 {
  color: #293240;
  font-size: 25px;
  margin-bottom: 8px;
}
h3 {
  color: #586F7C;
  font-size: 19px;
  margin-bottom: 8px;
}

/* LOGIN */
.loginpage {
  position: relative;
  width: 100%;
  height: 100%;
  background: -webkit-radial-gradient(circle, rgb(255, 255, 255), rgb(180, 180, 180));
  display: flex;
  justify-content: center;
  align-items: center;
}
.loginbox {
  padding-bottom: 100px;
}
.loginbox h1 {
  margin: 0 0 20px;
  color: #1d1d1d;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 2em;
  line-height: 1.1em;
}
.loginform {
  display: flex;
  flex-flow: column;
  align-items: center;
}
.loginform input {
    width: 220px;
}
.loginbox .text {
  width: 100%;
  max-width: 220px;
  padding: 10px;
}
.loginbox .submit {
  background: #c93c3c;
  border: none;
}
.loginbox .submit:hover {
  background: #a53232;
}

/* LAYOUT */
.header {
  display: flex;
  justify-content: space-between;
  background: #EBEBEB;
  align-items: center;
  border-bottom: 1px solid #bbb;
}
.menuOpener,
.menuCloser {
  display: none;
}
.header .tophblock {
  padding: 10px 15px;
  flex: 1 1 auto;
}
.header h1 {
  color: #;
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 23px;
}
.header img {
  height: 60px;
}

.topmenu {
  display: flex;
  justify-content: space-between;
  padding: 8px 5px 0 5px;
  background: #ccc;
}
.topmenu ul {
  display: flex;
  list-style: none;
}
.topmenu ul li {
  display: flex;
}
.topmenu ul li a {
  background: #3C4451;
  color: #fff;
  text-decoration: none;
  margin: 0 4px 0;
  padding: 8px 10px;
}
.topmenu ul li a:hover {
  background: #262E3B;
}
.topmenu ul li a.active {
  background: #f9f9f9;
  color: #262E3B;
  box-shadow: 2px -2px 3px -1px  rgba(0, 0, 0, .4);
}
.logout {
  display: flex;
  padding-right: 5px;
}


.content {
  display: flex;
  padding: 15px 0 0px;
  background: #f9f9f9;
  min-height: calc(80vh - 100px);
}
.leftpanel {
  margin-left: 10px;
  width: 220px;
  background: #f9f9f9;
  padding: 10px 10px;
  flex-shrink: 0;
}

.leftpanel ul {
  list-style: none;
  margin-bottom: 20px;
}
.leftpanel ul li {
  padding: 3px 0;
}
.leftpanel ul li a {
  font-weight: 700;
  text-decoration: none;
}
.leftpanel ul li a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #586F7C;
  margin-right: 5px;
}
.contentpanel {
  flex: 1 1 auto;
  padding: 20px 30px;
  background: #fff;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-color: #ddd;
  margin-right: 15px;
  margin-left: 15px;
}

.footer {
  display: flex;
  color: rgba(255, 255, 255, .4);
  padding: 10px;
  justify-content: space-between;
  font-size: 90%;
}
.footer a {
  color: rgba(255, 255, 255, .4);
}



/* FORMS */
label {
  display: inline-block;
  width: 150px;
  vertical-align: top;
  padding-top: 6px;
}
input, select, textarea {
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
select {
	position: relative;
	padding: 3px 20px 3px 8px;
	background: #fff url(../layout/selarr.svg) calc(100% - 7px) 50% no-repeat;
	background-size: 15px auto;
  border-radius: 0;
}
input[type="checkbox"],
input[type="radio"] {
	position: relative;
	margin: 0 0px 4px 0;
	width: 18px;
	height: 18px;
	border: 1px solid #bbb;
  border-radius: 2px;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: #586F7C;
  border-color: #586F7C;
}
input[type="checkbox"]:checked:after {
  content: '';
  top: 0px;
  position: absolute;
  left: 5px;
  box-sizing: border-box;
  width: 6px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: #fff;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.radioGroup {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 20px;
}
.radioGroup label {
  width: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

input,
select,
textarea {
  font-family: 'Roboto';
  font-size: 14px;
  padding: 6px;
}
.text,
select,
textarea {
  margin-bottom: 5px;
  border: 1px solid #bbb;
  width: 200px;
  max-width: 100%;
}
.s {
    width: 40px;
}
.sm {
    width: 70px;
}
.m {
    width: 150px;
}
.l {
    width: 200px;
}
.xl {
    width: 250px;
}
.xxl {
    width: 350px;
}
.xxxl {
    width: 400px;
}
input[type="submit"]{
  border: none;
  cursor: pointer;
  width: auto;
  color: #fff;
  background: #3C4451;
}
input.submit {
  font-weight: 700;
  padding: 10px 15px;
  background: #586F7C;
  border: 1px solid #586F7C;
  color: #fff;
  border: none;
  cursor: pointer;
  width: auto;
}
input.logoutbut {
  background: #c93c3c;
  color: #fff;
  margin-bottom: 0;
  width: auto;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid #c93c3c;
  cursor: pointer;
}

input.submit.inline,
.filter input.submit {
  padding: 7px 15px;
}
input.submit:hover {
  background: #293240;
  border-color: #293240;
}
.mmarged {
  margin-left: 155px;
}
.leftbox {
  display: inline-block;
}
.short {
  width: 350px;
  height: 100px;
}
.texteditor {
  width: 450px;
  height: 150px;
}
.short{
  width: 30em;
  height: 6em;
}
.long{
  width: 60em;
  height: 6em;
}
.taskdes{
  width: 60em;
  height: 6em;
}
.delrow{
	width: 59em;
	height: 2em;
}
.newsletters {
  width: 30em;
  height: 40em;
}

.inlineform{
	display: inline-block;
}
.releasebox{
  float: right;
}

.filter label{
  width: 70px;
}
.filterGrid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(200px, 1fr) );
  gap: 0 12px;
}
.filterGrid label {
  width: 100%;
  position: relative;
}
.filterGrid label span {
  font-size: 13px;
  margin-bottom: -2px;
  position: relative;
}
.filterGrid input,
.filterGrid select {
  width: 100%;
}


/* TABLES */
table {
  border-collapse: collapse;
  margin-bottom: 20px;
}
table th,
table td {
  padding: 8px 10px;
  text-align: left;
}
.ca {
  text-align: center;
}
.ra {
  text-align: right;
}
table th {
  background: #3C4451;
  color: #fff;
}
table th a {
  color: #fff;
  display: flex;
  align-items: center;
}
table th a:hover {
  color: #fff;
}
a.desc::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  margin-left: 5px;
}
a.asc::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  margin-left: 5px;
}
table td {
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
}
table tr:nth-child(2n) td{
  background: #eee;
}
table img {
  max-height: 20px;
}
table tr.del td {
  background: #fff;
}

table td.headline,
table tr:nth-child(2n) td.headline {
  background: #fff;
  border-top: 2px solid #ccc;
  font-weight: 700;
}
table tr.removed td,
table tr.removed a,
table tr.removed select {
  color: #ccc;
  text-decoration: line-through;
}

.tableblock {
  background: #f9f9f9;
  border: 1px solid #ddd;
  width: auto;
  margin-bottom: 20px;
  box-sizing: border-box;
}
.tableblock h3 {
  padding: 10px 10px 3px;
}
.tableblock table {
  margin-bottom: -1px;
  width: 100%;
}
.tableblock p {
  padding: 0 10px;
}
.price {
  width: 100px;
}

.overview-parts {
  display: flex;
}
.overview-col {
  margin-right: 20px;
  flex: 1 1 auto;
  width: 50%;
}

/* TREE VIEW */
.tree ul {
  list-style: none;
}
.tree ul ul {
  border-left: 1px solid #ccc;
  margin-left: 10px;
  padding-left: 10px;
}
.tree .treerow{
  display: flex;
  align-items: center;
}
.tree .treerow > * {
  margin: 0 5px;
}

/* UTILITARY */
.hint {
  border-bottom: 1px dotted #444;
  cursor: help;
}

.add {
  color: #293240;
  display: flex;
  margin-bottom: 16px;
}
.add::before {
  content: url('../layout/add.png');
  margin-right: 3px;
}
.add:hover {
  color: #159759;
}
.headadd {
  font-size: 14px;
  text-decoration: none;
  color: #00A676;
}

.headadd::before {
  content: '+';
  color: #fff;
  background: #00A676;
  display: inline-block;
  border-radius: 12px;
  width: 16px;
  text-align: center;
  margin-right: 3px;
  margin-left: 5px;
}
.headadd:hover {
  color: #00A676;
}

.langs {
  display: flex;
  margin-bottom: 16px;
}
.langs a {
  text-transform: uppercase;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  text-decoration: none;
  font-weight: 700;
  background: #eee;
  color: #999;
  border-radius: 50%;
}
.langs a:hover {
  color: #3C4451;
  background: #e0e0e0;
}
.langs a.sel {
  background: #C93C3C;
  color: #fff;
}

.issys {
  font-style: italic;
}
.margin-left {
  margin-left: 10px;
}

/* STATUS HANDLING */
blockquote {
  margin-bottom: 16px;
  padding: 15px;
  color: #fff;
  box-shadow: 2px 2px 5px -1px rgba(0, 0, 0, .3);
}
.suc {
  background: #00A676;
}
.err {
  background: #C93C3C;
}

/* CANVAS */
.contentbox {
  display: flex;
}

.canvas {
  max-width: 1000px;
  flex: 1 1 auto;
  min-height: 400px;
  border: 1px solid #ccc;
  text-align: center;
  margin-left: 30px;
  padding: 10px;
}
.grid-grid {
  position: relative;
  max-width: 800px;
  margin: 0px auto 10px;
  padding: 15px;
  background: #f9f9f9;
}

.grid-row {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
  background: #eee;
  border: 1px dashed #aaa;
  padding: 15px;
  margin: 5px;
}
.grid-row.vcenter {
  align-items: center;
}
.grid-col {
    position: relative;
    flex: 1 1 auto;
    align-self: auto;
    min-width: 0;
    min-height: auto;
    width: 1px;
    background: #ddd;
    border: 1px dashed #aaa;
    padding: 15px;
    margin: 5px;
}
.fc-1{flex: 1 1 auto;}
.fc-2{flex: 2 1 auto;}
.fc-3{flex: 3 1 auto;}
.fc-4{flex: 4 1 auto;}
.fc-5{flex: 5 1 auto;}
.fc-6{flex: 6 1 auto;}

.disphidden {
  opacity: 0.3;
}

.grid-content {
  padding: 15px;
  margin: 5px 5px;
  border: 1px solid #999;
  background: #ccc;
  position: relative;
}
.canvas > .grid-content {
  margin: 0 0 5px 0;
}
.activeDrop {
  background: #dfffc3 !important;
}
.canvas .ui-state-highlight {
  height: 40px;
  line-height: 1.2em;
  margin: 5px;
  border: none !important;
  flex: 1 1 auto;
}

.palette {
  margin: 0px 0 0 0px;
  width: 110px;
  position: sticky;
  top: 0;
}
.palette .hl {
  display: block;
  padding: 10px 0 2px 0;
  margin: 2px 0;
  text-transform: uppercase;
  font-size: 14px;
}
.d-component {
  width: 34px;
  height: 34px;
  margin-bottom: 3px;
  border: 1px solid #ccc;
  text-align: center;
  display: inline-block;
  background: #f0f0f0;
  cursor: pointer;
  font-size: 13px;
}
.d-component span {
  line-height: 32px;
  font-size: 22px;
  text-transform: uppercase;
  display: block;
  width: 100%;
}
.d-content {
  width: 100%;
  height: auto;
  padding: 3px 0;
}
.d-content.ui-draggable-dragging {
  width: 100px;
}

.contbut {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  margin: -15px;
  height: 100%;
  padding: 10px 0;
  font-weight: bold;
  color: #000;
  font-size: 13px;
}
.contbut .conttype {
  font-size: 11px;
  font-style: italic;
  font-weight: 100;
  color: #666;
}
.contbut:hover {
  background: #bbb;
  color: #000;
}

.toolbox {
  display: none;
  position: absolute;
  right: 2px;
  top: 2px;
}
.wrapclass {
  position: absolute;
  top: 2px;
  left: 2px;
  font-style: italic;
  font-size: 11px;
}

.dialogform {
  text-align: left;
}


.imagePickerGallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.imagePickerGallery .imgbox {
  margin: 4px;
}
.imagePickerGallery .imagePick img {
  display: block;
  opacity: 0.4;
  border: 3px solid #fff;
}
.imagePickerGallery .imagePick:hover img {
  opacity: 1;
}
.imagePickerGallery .imagePick.active img {
  border-color: #159759;
  opacity: 1;
}

.notifier {
  position: fixed;
  bottom: 55px;
  left: 25px;
  width: 195px;
}
.notice {
  color: #fff;
  padding: 10px;
  margin-bottom: 5px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
}

/* JQUERY UI */
.ui-dialog {
  box-shadow: 4px 4px 15px rgba(0, 0, 0, .5);
}
.ui-widget-overlay {
  background: #666;
  opacity: .5;
}

.team{
	font-style: italic;
	color: #999;
	margin-top: -8px;
}
.sources{
	padding: 0 0 0 15px;
}
.sources li{
	padding: 0 0 2px 0;
	list-style: square;
	color: #ccc;
}
.sources a{
	color: #666;
}

.projectcard{
	display: inline-block;
	padding: 20px 80px 25px 20px;
	border: 1px solid #ccc;
	background: #f9f9f9;

	text-decoration: none;
	margin: 7px;
	position: relative;
}
.projectcard.myActive{
	background: #ddd;
}
.projectcard .hl{
	font-size: 22px;
	color: #222;
}
.projectcard .dl{
	position: absolute;
	top: 5px;
	right: 5px;
	color: #b70000;
}
.projectcard .taskstatus{
	position: absolute;
	right: 5px;
	bottom: 2px;
	font-size: 18px;
	color: #444;
}
.projectcard .curtasks {
  display: inline-block;
	height: 25px;
	width: 25px;
  text-align: center;
  line-height: 25px;
  background: #ccc;
	border-radius: 50%;
}
.projectcard .mytasks{

	background: #b70000;

	color: #fff;
}

.boards{
	width: 100%;
	display: flex;
	margin: 0 -10px;
}
.taskboard{
	background: #f0f0f0;
	border: 1px solid #ddd;
	width: 300px;
	margin: 10px;

}
.tbhead{
	padding: 8px 14px;
	border-bottom: 1px solid #ddd;
}
.tbhead .hl{
	font-size: 16px;
}
.tbbody{
}

.tb_closed .tbox{
	text-decoration: line-through;
	padding: 5px 10px;
}
.tb_closed .tbox a{
	color: #888;
}

.tbox{
	background: #fff;
	border: 1px solid #ddd;
	display: block;
	margin: 4px;
	padding: 10px 40px 10px 10px;
	position: relative;
}
.tbox .assignee{
	position: absolute;
	right: 5px;
	top: 5px;
	background: #666;
	color: #fff;
	display: flex;
	width: 25px;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	height: 25px;
	border-radius: 50%;
}
.assignee.you{
	background: #b70000;
}

.tb_closed .tbox .assignee,
.tb_closed .tbox .assignee.you{
	top: 0;
	right: 0;
	background: #ccc;
}
.tbox a{
	text-decoration: none;
	color: #222;
}
.tbox a:hover{
	text-decoration: underline;
}
.tbox .hl{
	font-size: 13px;
}

.taskdesc{
	background: #f9f9f9;
	padding: 10px;
  border: 1px solid #ddd;
}

.commentbox{
	width: 100%;
	background: #fff;
	border: 1px solid #ccc;
	margin-bottom: 10px;
}
.commentbox .chead{
	padding: 5px;
	background: #f9f9f9;
	display: flex;
	justify-content: space-between;
	color: #999;
}
.commentbox .chead strong{
	color: #222;
}
.commentbox .chead .time{

}
.commentbox .cbody{
	padding: 10px;
	border-top: 1px solid #ddd;
}

.commentbox.short{
		border: 1px solid #fff;
    height: auto;
}
.commentbox.short .chead{
	background: #fff;
}

.commentform{
	max-width: 730px;
}

.commentform label{
	display: inline-block;
  width: auto;
  margin-right: 5px;
}
.commentform .actionblock{
	display: flex;
  padding: 5px;
}
.commentform .actionrow {
  display: flex;
	background: #f9f9f9;
  padding: 5px;
  margin-bottom: 5px;
}
.actionblock .text {
  margin-bottom: 0;
}

ul.msmenu{
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  border-top: 1px solid #ccc;
}
ul.msmenu li{
  list-style: none;
  display: block;
  float: left;
  padding: 0 4px 0 0;
  clear: none;
}
ul.msmenu li a{
  display: block;
  padding: 7px 15px;
  background: #eee;
  color: #666;
  text-decoration: none;
}

ul.msmenu li a.active{
  background: #3C4451;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
ul.msmenu li a:hover{
  background: #3C4451;
  color: #fff;
}

.note{
  padding: 5px;
  margin-bottom: 5px;
  background: #f0f0f0;
  width: 60em;
  max-width: 100%;
}
.note .time{
  color: #666;
}
.note .m{
	float: left;
	display: block;
}


.depred {
  opacity: 0.5;
}

/* ACE */
.acewrapper{
  position: relative;
  max-width: 620px;
  width: 100%;
  display: inline-block;
}
.aceeditor {
position: relative;
height: 400px;
overflow-y: scroll;
border: 1px solid #ccc;
width: 100%;
max-width: 100%;
display: inline-block;
}

@media(max-width: 1280px) {
  .tableblock {
    overflow-x: scroll;
    overflow-y: hidden;
  }
  .overview-parts {
    flex-flow: column;
  }
  .overview-col {
    width: 100%;
  }
  .note {
    width: 100%;
  }
  .long {
    width: 100%;
  }
}

@media(max-width: 768px) {
  .content {
    flex-flow: column;
    padding: 0;
  }
  .leftpanel {
    width: 100%;
    margin-left: 0;
  }
  .leftpanel strong {
    display: none;
  }
  .leftpanel ul {
    display: inline;
    margin-bottom: 0;
  }
  .leftpanel ul li {
    display: inline-block;
  }
  .leftpanel ul li a {
    background: #3C4451;
    color: #fff;
    padding: 8px 10px;
    margin: 1px 2px;
    display: inline-block;
  }
  .leftpanel ul li a::before {
    display: none;
  }
  .contentpanel {
    margin: 0;
  }
  .header {
    justify-content: flex-start;
  }
  .menuOpener,
  .menuCloser {
    display: block;

    text-decoration: none;
    font-size: 35px;
    line-height: 35px;
    padding: 15px;
  }
  .menuCloser,
  .menuCloser:hover {
    color: #fff;
  }
  .topmenu {
    display: none;
    width: 40%;
    z-index: 2;
    position: fixed;
    flex-flow: column;
    overflow-y: auto;
    left: 0;
    top: 0;
    height: 100%;
    justify-content: flex-start;
    background: #262E3B;
    box-shadow: 5px 0px 15px rgba(0, 0, 0, .8);
  }
  .topmenu ul {
    display: block;
  }
  .topmenu ul li a,
  .logoutbut {
    width: 100%;
    text-align: left;
    padding: 16px 16px;
  }
  .topmenu ul li a {
    margin: 0;
    margin-bottom: 1px;
  }
  .topmenu ul li a:hover {
    background: #586F7C;
  }
  .topmenu ul li a.active {
    box-shadow: none;
    background: #1B2029;
    color: #fff;
  }
  .logout {
    padding-top: 5px;
    padding-right: 0;
  }
  label {
    display: block;
    margin-bottom: 5px;
  }
  .mmarged {
    margin-left: 0;
  }

  
  .tableblock {
    overflow-x: scroll;
    overflow-y: hidden;
  }
}

@media(max-width: 500px) {
  .header img {
    display: none;
  }
  .topmenu {
    width: 60%;
  }
}


.changed {
  animation: changeFlare 1s;
}

@keyframes changeFlare {
  from {
    background: orange;
  }
  to {
    background: #fff;
  }
}