/*-------- bare mobile login */

div.logo {
  text-align: center;
  padding: 8px 0;
  border-top: 3px solid #800000;
}

div.sloganText {
  font-size: 12px;
  text-align: center;
  margin: 0 11px;
  border-top: 2px solid #800000;
  padding: 3px 0;
  color: #800000;
}

div.signinForm {
  border: 3px solid #ccc;
  background-color: #ececec;
  -webkit-border-radius: 5px;
  margin: 8px 10px 15px 10px;
  padding: 10px;
  text-align: center;
}

 .error {
  background-color: #800000;
  color: white;
  font-weight: bold;
  padding: 5px 0;
  margin: -15px 10px 3px 10px;
  text-align: center;
}

div.text {
  margin:5px 0 5px 0;
}

div.field input {
  width: 95%;
  font-size: 15px;
}

div.rememberMe {
  margin: 5px 0;
}

div.comeIn input {
  width: 99%;
  margin: 5px 0;
  padding: 5px;
  font-size: 120%;
}

div.loginFooter {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-bottom: 10px;
}


/*------- the topmost part of the page */

#progressImage, td.tasks, td.shared, td.checkbox, div.indexActionsBottom, h5 {
  display: none;
}

img {
  border: none;
}

body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: Helvetica, Tahoma, sans-serif;
}

form {
  margin: 0;
  padding: 0;
}

.topbar {
  height: 40px;
  background-color: #800000;
  margin: 0;
}

.logoImg {
  margin: 10px;
}

a:link, a:visited, a:hover, a:active {
  color: #0980f4;
  text-decoration: none;
}

.mobileControl {
  padding: 3px 8px;
  -webkit-border-radius: 5px;
  margin: 5px 10px;
  border: 1px solid #ececec;
  background-color: transparent;
  white-space: nowrap;
  font-size: 15px;
}

.mobileControl:hover {
  background-color: white;
  color: #0980f4;
  cursor: pointer;
}

.topbar a.mobileControl {
  color: white;
}

.topbar a.mobileControl:hover {
  color: #0980f4;
}

input.mobileControl {
  color: white;
}

/*  This setting should work for IE only, Safari requires transparent background: */
* html input.mobileControl {
  background-color: #800000;
}

/* IE shows top border only for block elements */
td .mobileControl {
  float: left;
}

td.right .mobileControl {
  float: right;
}

.fullHeight {
  height: 100%;
}

table.layoutWidth {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

table.layoutWidth td {
  padding: 0;
  margin: 0;
}

table.layoutWidth td.right {
  text-align: right;
}

ul.dashboard {
  margin: 0 10px;
  padding: 0;
  list-style: none;
}

ul.dashboard li {
  line-height: 1.2;
  padding: 0;
  border-top: 1px dotted #ccc;
}

ul.dashboard li a {
  padding: 10px 0;
  -webkit-border-radius: 3px;
  color: #222;
  display: block;
}

li.due_line {
  font-weight: bold;
}




/*----------- Due tasks page */

h2 {
  color: #222;
  font-weight: bold;
  font-size: 110%;
  margin: .5em 0 0 5px;
  border-bottom: 1px solid #ccc;
}

.dueTableMobile {
  margin-left: 5px;
}

td.clTd {
  padding-top: 10px;
}

td.taskTd {
  padding-left: 1em;
}

td.taskTd, td.clTd {
  padding-bottom: .7em;
}

div.task a, div.task a:visited {
  color: #222222;
}

div.parent {
  font-size: 80%;
  font-style: italic;
  padding-top: .15em;  /* for a case if task has tags */
}

td.right {
  font-size: 80%;
  padding-left: 5px;
  vertical-align: top;
}

/*----------- the lowerest part of the page */
.lowerBar {
  background-color: #ececec;
  padding: 15px;
  color: #888;
  margin: 0;
  text-align: center;
}

.loggedAs {
  margin-top: 10px;
  white-space: nowrap;
}

/*---------------- one checklist page */

div.undo {
  background-color: #ececec;
  color: #888;
  text-align: center;
  padding: 3px 0;
}

div.undo a {
  margin-left: .6em;
}

div.clName {
  margin: 10px 0 0 10px;
}

a.clName, span.clName  {
  color: #222;
  font-weight: bold;
}
ul.taskList {
  margin: 10px 10px 20px 10px;
  padding: 0;
}

ul.taskList li {
  list-style: none;
  padding: 5px 0;
  margin: 0;
  border-top: 1px dotted #ccc;
}

ul.taskList ul {
  list-style: none;
  margin: 0;
  padding-left: 8px;
}

ul.taskList li ul li {
  background: url("/images/listType.gif") no-repeat 0 7px;
  border: none;
  margin: 0;
  padding: 2px 0 0 15px;
  line-height: 1.4;
}

ul.taskList div {
  padding: 0;
}

ul.taskList li a {
  -webkit-border-radius: 3px;
  padding: 5px 2px 0 5px;
  color: #222;
}

ul.taskList li a:hover, ul.dashboard li a:hover {
  color: #000;
}

ul.taskList li div.taskClosed, ul.taskList li div.taskClosed a, span.close, label.close, div.readOnlyContent.close {
  color: gray;
  text-decoration: line-through;
}

ul.taskList li div.taskInvalidated, ul.taskList li div.taskInvalidated a, span.inv, label.inv, div.readOnlyContent.inv {
  color: gray;
  font-style: italic;
}

/*----------------- task colors --- */
ul.taskList li div.fg1 a, div.readOnlyContent.fg1 {color: #cc0000;}
ul.taskList li div.fg2 a, div.readOnlyContent.fg2  {color: blue;}
ul.taskList li div.fg3 a, div.readOnlyContent.fg3  {color: green;}

ul.taskList li div.bg1 a, div.readOnlyContent.bg1 {background-color: #ff6666;}
ul.taskList li div.bg2 a, div.readOnlyContent.bg2 {background-color: #6397ff;}
ul.taskList li div.bg3 a, div.readOnlyContent.bg3 {background-color: #66cc66;}


span.notesCount, span.archived {
  color: gray;
  font-size: 12px;
}

.favicon {
  width: 16px;
  height: 16px;
  border: none;
  vertical-align: middle;
  margin-right: .3em;
}

/*---------------------- tags coloring, also see tagColors.css */

.tag {
  margin-right: 4px;

  font-size: 12px;
  border: 1px solid;
  padding: 0.1em 0.3em;
  line-height: 1;

  border-color: #e2e2e2;
  border-right-color: #ccc;
  border-bottom-color: #ccc;
}

.tag:before {
  /*content: "#";*/
}

.tag.privateTag {
  background-image: url("/images/private.png");
  background-repeat: no-repeat;
  background-position: 4px center;
  padding-left: 16px;
}

/*---------------------- edit checklist title */

p.explText {
  color: #888;
  margin: 10px 0 0;
  font-size: 12px;
}

/*------------------------ one task page */

div.readOnlyContent {
  font-size: 110%;
}

.formWrap {
  margin: 10px;
}

.formWrap textarea {
  display: block;
  font-size: 15px;
  padding: 3px;
  width: 99%;
}



.editTask {
  text-align: left;
  margin-top: 15px;
  padding-bottom: 30px;
}

.statusWrap {
  margin: 5px 0;
  line-height: 1.5;
}

.statusWrap table {
  border: 0;
}

.statusWrap table td {
  white-space: nowrap;
}

label.close, label.open, label.inv {
  padding-right: 15px;
}

.actionWrap {
  background-color: #ececec;
  padding: 5px 5px 0 5px;
  height: 2.1em;
}

input#deleteButton {
  margin-right: 5px;
  font-size: 12px;
  color: #800000;
}

#deleteFormId {
  display: block;
  text-align: center;
}

.title {
  color: #888;
  margin: 0 8px;
  border-bottom: #ccc 1px solid;
}

.detailsTitle {
   margin: 10px 0 0 0;
}

table.subtaskTable {
   margin-top: -5px;
}

table.subtaskTable td.right {
  padding-top: 5px;
}

.comment {
  border-bottom: 1px dotted #ccc;
  margin: 5px 10px 0 10px;
  padding: 5px 0;
}

.commentText {
  margin-top: 3px;
}

.commentInfo {
  font-size: 12px;
  color: gray;
}

.addNote {
  margin: 10px;
  color: #0980f4;
}

.iphoneHighlight {
  -webkit-transition-property: background-color;
  -webkit-transition-duration: 2s;
  /*-webkit-transition-timing-function: linear;*/
}

/**------------ Single tag mobile page --------*/
ul.tagUsageMobile {
  padding-left: 5px;
}

ul.tagUsageMobile li {
  list-style-type: none;
  margin-top: 0.7em;
}

.foundTasks {
  padding-left: 1em;
}

.foundTasks .task {
  margin-top: 0.7em;
}