html, body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

html.moving, html.moving * { cursor: pointer !important; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #222;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

   /************************
   **       login         **
   ************************/

h1 a {
  color: #FFF;
}

h2 {
  padding-left: 20px;
}

form	 {
	position: fixed;
	right: 0;
	border: 10px solid #385C85; /* #999 */
	padding: 10px;
	width: 232px;
	margin: 10px;
	background-color: white;
	}

input {
	width: 220px;
	display: block;
	padding: 4px;
	font-size: 18px;
	color: #3a3a3a; font-family: Georgia, serif;
	position: relative;
	left: 0;
	}

input[type=checkbox]{
	width: 20px;
	display: inline-block;
	margin: 0;
	padding: 4px;
	position: relative;
	left: 0;
	}

input[type=submit]{
	width: 232px;
	display: block;
	margin: 0;
	padding: 4px;
	position: relative;
	}

#logoutbuttonform {
	width: auto;
	display: inline-block;
	position: fixed;
	top: 8px;
	right: 10px;
	font-size: 18px;
	color: #3a3a3a;
	background-color: transparent;
/*	font-family: Georgia, serif; */
	margin: 0;
	border: 0;
	padding: 0;
	z-index: 1;
}
#logoutbutton{
	width: auto;
	display: block;
	margin: 0;
	padding: 4px;
	color: #3a3a3a;
	position: relative;
	left: 0;
}

input[type=button]{
	width: 232px;
	display: block;
	margin: 0;
	padding: 4px;
	position: relative;
	}

.button {
	border: 1px solid #999;
	-moz-border-radius: 5px;
	padding: 5px;
	color: black;
	font-weight: bold;
	-webkit-border-radius: 5px;
	font-size: 13px;
	width: 70px;
	}

.button:hover {
	background: white;
	color: black;
	}

   /************************
   **       tsks          **
   ************************/

#tsk_notebox {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 2px;
  margin: 52px 10px 2px 2px;
  border: 2px solid black;
  width: 290px;
  outline: none;
  resize: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #222;
}

#tsk_wrapper {
  height: 100%;
  display: flex;  /* use the flex model so I can keep the header at the top*/
  flex-direction: column;
  align-items: center;
}

#tsk_headerarea {
  padding: 10px 0 2px 10px;
}

#tsk_header, #tsk_header * {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #222
}

#tsk_remindme {}

#tsk_input {
  border: 2px solid black;
  padding: 2px;
  width: 290px;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

#tsk_bodyarea {
  flex: auto;
  padding: 0 0 0 10px;
  /*margin: 0;
  border: 0;
  padding: 0;
  height: 100%;*/
  overflow: auto;
}

#tsk_footerarea {
  padding: 2px 0 10px 10px;
  width: 298px;
}

#tsk_tsklist {
  position: relative;
  width: 298px;
  margin: 0;
  border: 0;
  padding: 0;
}

.tskbody {
  background-color: orange;
  margin: 0;
  border: 2px solid black;
  padding: 2px;
  position: absolute;
  left: 0;
  transition-property: left,top;
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
  list-style-type: none;
  width: 290px;
}

.tskclone, .tskclonesnapback {
  background-color: orange;
  margin: 0;
  border: 2px solid black;
  padding: 2px;
  cursor: pointer;
  position: absolute;
  list-style-type: none;
  width: 290px;
}

.tskbodyhidden {
  visibility: hidden;
}

.tskclonesnapback {
  transition: all 0.5s ease-out;
}

.tskbodytext, .tskbodytext * {
  box-shadow: none;
  margin: 0;
  border: 0;
  padding: 2px 2px 0 2px;
  outline: none;
  cursor: text;
  background-color: orange;
  display: inline-block;
  word-wrap: break-word;
  width: 250px;
  z-index: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.tskbodychkbox {
  float: right;
  margin: 2px 2px 0 2px;
  border: 0;
  padding: 0;
  display: inline-block;
  z-index: 0;
}

.tskbodymoveicon {
  float: left;
  margin: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: inline-block;
  -webkit-user-drag: none; /* Prevents dragging of images/divs etc */
  /* user-drag: none; */
  z-index: 0;
}

/* used to measure the width of the vertical scrollbar */
.scrollbar-measure {
	width: 100px;
	height: 100px;
	overflow: scroll;
  -webkit-transform: translate3d(0,0,0);
	position: absolute;
	top: -9999px;
}

.tskselected, .tskselected * {
  background-color: grey;
  border-color: orange;
  color: white;
}

   /************************
   **       animation     **
   ************************/

li.new-item {
  opacity: 0;
  -webkit-animation: fadeIn .3s linear forwards;
  -o-animation: fadeIn .3s linear forwards;
  animation: fadeIn .3s linear forwards
}

@keyframes fadeIn {
  to {
    opacity: 1
  }
}
@-webkit-keyframes fadeIn {
  to {
    opacity: 1
  }
}

@-o-keyframes fadeIn {
  to {
    opacity: 1
  }
}

li.old-item {
  opacity: 1;
  -webkit-animation: fadeOut .3s linear forwards;
  -o-animation: fadeOut .3s linear forwards;
  animation: fadeOut .3s linear forwards
}

@keyframes fadeOut {
  to {
    opacity: 0
  }
}

@-webkit-keyframes fadeOut {
  to {
    opacity: 0
  }
}

@-o-keyframes fadeOut {
  to {
    opacity: 0
  }
}

li.removed-item {
  -webkit-animation: removed-item-animation .6s ease-out forwards;
  -o-animation: removed-item-animation .6s ease-out forwards;
  animation: removed-item-animation .6s ease-out forwards;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%
}

@keyframes removed-item-animation {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(4);
    -ms-transform: scale(4);
    -o-transform: scale(4);
    transform: scale(4)
  }
}

@-webkit-keyframes openspace {
  to {
    height: auto
  }
}

@-o-keyframes openspace {
  to {
    height: auto
  }
}

@-webkit-keyframes restored-item-animation {
  0% {
    opacity: 0;
    -webkit-transform: scale(4);
    transform: scale(4)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-o-keyframes restored-item-animation {
  0% {
    opacity: 0;
    -o-transform: scale(4);
    transform: scale(4)
  }

  100% {
    opacity: 1;
    -o-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes removed-item-animation {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(4);
    transform: scale(4)
  }
}

@-o-keyframes removed-item-animation {
  0% {
    opacity: 1;
    -o-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 0;
    -o-transform: scale(4);
    transform: scale(4)
  }
}

h1 {
  background: #385C85;
  color: #FFF;
  margin: 0;
  border: 0;
  padding: 10px 10px 10px 20px;
}

/************************
**       msgbox        **
************************/

#msgbox_container {
  z-index: 2;
}

#msgbox {
  position: absolute;
  width: 250px;
  border: solid #385C85; /* #999 */
  border-width: 0 10px 10px 10px;
  padding: 0;
  /*margin: 50px auto 0; */
  background-color: white;
}
#msgbox .msgbox_title{
  cursor: move;
  text-align: left;
  font-weight: bold;
  color: white;
  background: #385C85;  /*#336666;*/
  padding: 0 0 0 10px;
  /*border: 1px solid #FFF;*/
}
#msgbox .msgbox_body{
  text-align:left;
  color:black;
  background:white;
  padding: 10px 10px 10px 10px;
}
#msgbox .msgbox_btngroup{
  width: auto;
  height: auto;
  float: right;
}
#msgbox input[type=button]{
  display: inline;
  font-family: Arial, sans-serif;
  font-size: 12px;
  width: auto;
  height: 26px;
  margin: 2px 0 4px 0;
}
#msgbox form {
  position: relative;
  top: 0;
  left: 0;
  border: 0;
  padding: 0;
  width: auto;
  margin: 0;
}

#hiddenform {
  top: 200px;
  display: none;
}