@import 'top_nav.css';
@import 'table.css';
@import 'form.css';

body {
    background-image: url('../images/noise.png');
    background-color: #dcdddf;
    color: #646464;
}

body, table {
    font-family: sans-serif, Tahoma, Arial;
    font-size: 14px;
}

a {
    color: #0379ff;
}

a:hover {
    color: #c20000;
    text-decoration: none;
}

a.button {
    display: inline-block;
    color: #444444;
    background-image: url('../images/but_bg.jpg');
    background-repeat: repeat-x;
    background-color: #4f81bd;
    line-height: 26px;
    padding-left: 12px;
    padding-right: 12px;
    text-decoration: none;
    border: 1px solid #adadad;
    font-size: .9em;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -khtml-border-radius-topleft: 3px;
    -khtml-border-radius-topright: 3px;
    -khtml-border-radius-bottomleft: 3px;
    -khtml-border-radius-bottomright: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;         
}

a.button:hover {
    background-image: url('../images/but_hover_bg.jpg');
    background-repeat: repeat-x;
    border: 1px solid #ebbf87;
    color: black;
     -moz-box-shadow: 1px 1px 4px #949494;
     -webkit-box-shadow: 1px 1px 4px #949494;
     box-shadow: 1px 1px 4px #949494;       
}

div.buttons {
    text-align: right;
    margin-bottom: 8px;
    margin-right: 8px;
}

h2 {
    margin: 8px 0 8px 0;
    font-size: 20px;
    border-bottom: 1px dotted #282828;
    padding-bottom: 4px;
    color: #282828;
    /*text-shadow: 2px 2px 1px gray;*/
    text-transform: uppercase;
    font-family: Arial black, Arial;
}

/* client tree */
ul.clientTree {
    width: 200px;
    font-size: .8em;
    
    border: 1px solid #646464;
    background-color: white;
    color: black;
    float: left;
    margin-top: 0;
    position: fixed;
    top: 70px;
    overflow: scroll;
    padding-left: 5px;
    padding-top: 30px;
    list-style: none;  
}

ul.clientTree ul {
    list-style: none;
    padding-left: 20px;
}

ul.clientTree li {
    padding: 2px;
    padding-left: 16px;
}

ul.clientTree li {
    background-image: url('../images/ico_client_small.png');
    background-repeat: no-repeat;
    background-position: center left;
}

ul.clientTree li,
ul.clientTree .objects li {
    font-weight: bolder;
}

ul.clientTree .objects li {
    background-image: url('../images/ico_object_small.png');
    background-repeat: no-repeat;
    background-position: center left;
}

ul.clientTree .objects .menu li {
    font-weight: normal;
    background: transparent;
    list-style: circle;
    padding-left: 0;
    margin-left: 10px;
}

ul.clientTree a {
    color: black;
    text-decoration: none;
}

ul.clientTree .objects .menu a,
ul.clientTree span.count {
    color: #646464;
}

ul.clientTree a:hover,
ul.clientTree .objects .menu a:hover {
    color: #c20000;
}

ul.clientTree .active a {
    color: red;
}

ul.clientTree li.strip {
    position: fixed;
    width: 189px;
    margin-left: -5px;
    background-color: #cccccc;
    padding: 0;
    border-bottom: 1px solid #acacac;
    overflow: hidden;
    margin-bottom: 5px;
    margin-top: -30px;
    background-image: url('../images/but_bg.jpg');
    background-repeat: repeat-x;
    background-position: top left;
}

ul.clientTree li.strip a {
    text-align: center;
    float: left;
    width: 70px;
    line-height: 28px;
    font-weight: normal;
    color: #646464;
    border-right: 1px solid #acacac;
    /*text-shadow: 1px 1px 1px gray;   */ 
}

ul.clientTree li.strip a:hover {
    background-color: #e6e6e6;
    background-image: url('../images/but_hover_bg.jpg');
    background-repeat: repeat-x;
    background-position: top left;
    color: black;
}

.contentInnerRight {
    margin-left: 220px;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.flash-msg {
   border: 1px solid #e2b709;
   background: #ffe57e;
   color: #2e2c2e;
   font-size: .9em;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -khtml-border-radius-topleft: 3px;
    -khtml-border-radius-topright: 3px;
    -khtml-border-radius-bottomleft: 3px;
    -khtml-border-radius-bottomright: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;    
    width: 400px!important;
    text-align: center;
    position: relative;
    left: 50%;
    margin-left: -200px;
    font-weight: bold;
    /*text-shadow: 1px 1px 1px white;*/
}

.flash-msg ul {
    margin: 0;
    padding: 0;
}

.flash-msg li {
   padding: 5px;
   list-style: none;
   margin: 0;
}

.object-info dl dd {
    width: 280px;
    font-weight: bold;
}

table.list td.func {
    width: 70px;
    text-align: right;
}

table.list.technology td.func {
    width: 120px;
}

table.list td.date {
    width: 90px;
}

div.data {
    margin: 10px 0 10px 0;
    overflow: auto;
    font-size: .9em;
}

div.data dl {
    line-height: 28px;
    margin: 0 0 1px 0;
    overflow: auto;
}

div.data dd {
    background-color: #b7b7b7;
    border: 1px solid #f5f5f5;    
    color: white;
    float: left;
    width: 180px;
    margin: 3px 10px 3px 0;
    line-height: inherit;
    padding-left: 8px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -khtml-border-radius-topleft: 3px;
    -khtml-border-radius-topright: 3px;
    -khtml-border-radius-bottomleft: 3px;
    -khtml-border-radius-bottomright: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;     
     -moz-box-shadow: 1px 1px 4px #949494;
     -webkit-box-shadow: 1px 1px 4px #949494;
     box-shadow: 1px 1px 4px #949494;      
}

div.data dt {
    background-color: #f5f5f5;
    border: 1px solid white;        
    color: #404040;
    margin: 3px 8px 3px 200px;
    padding-left: 8px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -khtml-border-radius-topleft: 3px;
    -khtml-border-radius-topright: 3px;
    -khtml-border-radius-bottomleft: 3px;
    -khtml-border-radius-bottomright: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;   
    min-height: 27px;
     -moz-box-shadow: 1px 1px 4px #949494;
     -webkit-box-shadow: 1px 1px 4px #949494;
     box-shadow: 1px 1px 4px #949494;  
     max-width: 500px;
}

/* Formating for printing */
@media print {
    .topNav,
    .clientTree,
    a.button {
        display: none;
    }

    .contentInnerRight {
        margin-left: 0;
    }

}


/*
 * Icons
 */
.icon {
    margin: 0 2px 0 2px!important;
    width: 16px!important;
    height: 16px;
    text-indent: 20px!important;
    overflow: hidden;
    display: inline-block!important;
    background-color: transparent!important;
    background-repeat: no-repeat!important;
    background-position: center center;
    vertical-align: middle;
}

.icon.add {
    background-image: url('../images/icon_add.png');
}

.icon.delete {
    background-image: url('../images/icon_delete.png');
}

.icon.edit {
    background-image: url('../images/icon_edit.png');
}

.icon.finish {
    background-image: url('../images/icon_finish.png');
}

.icon.detail {
    background-image: url('../images/icon_detail.png');
}

.icon.refer {
    background-image: url('../images/icon_refer.png');
}

.icon.copy {
    background-image: url('../images/icon_copy.png');
}

.button span.print {
    background-image: url('../images/icon_print.png');
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
}

.button span.export {
    background-image: url('../images/icon_export.png');
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
}

.button span.create {
    background-image: url('../images/icon_create.png');
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
}

.button span.filter {
    background-image: url('../images/icon_search.png');
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
}
/*
 * User panel
 */

 .content {
     margin-top: 70px;
     width: 100%;
     overflow: hidden;
     margin-bottom: 30px;
 }

 /*
  * Object menu
  */
  .objectInfo {
      width: 200px;
      float: left;
  }

  .objectInfo .info {
      position: relative;
  }

  .objectInfo .info a.icon.edit {
      position: absolute;
      top: 0;
      right: 0;
  }

  .objectInfo ul,
  .objectInfo .info {
      border: 1px solid #6b7f99;
      background-color: #f5f5f5;
      padding: 8px;
  }

  .objectInfo ul {
      margin-top: 5px;
      list-style: none;
  }

  .objectInfo ul a {
      display: block;
      width: 100%;
      text-decoration: none;
      padding: 4px;
  }

  .objectInfo ul li {
      padding-right: 8px;
  }

  .objectInfo ul a:hover {
      text-decoration: underline;
      background: #daeafd;
  }

  .objectContent {
      margin-left: 205px;
      border: 1px solid #6b7f99;
      background-color: #f5f5f5;
      padding: 8px;
  }

  .footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      font-size: .8em;
      line-height: 28px;
      text-align: center;
      border-top: 1px solid #8a8a8a;
      background-color: #a6a6a6;
      overflow: hidden;
      color: white;
      /*text-shadow: 1px 1px 1px black;*/
  }

  /* Structure tree - documentation */
  ul.structureTree.documentation {
      font-size: .9em;
      width: 500px;
  }

  ul.structureTree.documentation,
  ul.structureTree.documentation ul {
      padding: 0;
      margin: 0;
  }

  ul.structureTree.documentation ul {
      margin-left: 20px;
  }

  ul.structureTree.documentation li {
      list-style: none;
      padding: 4px 0 4px 20px;
      margin: 0;
      background-image: url('../images/icon_folder.png');
      background-position: 2px 4px;
      background-repeat: no-repeat;
      font-weight: bolder;
  }

  ul.structureTree.documentation li:hover {
      background-color: #e5e6e7;
  }

  ul.structureTree.documentation .files li {
      background-image: url('../images/icon_file.png');
      font-weight: normal;
  }

  ul.structureTree.documentation li a {
      text-decoration: none;
      color: #3c3c3c;
  }

  ul.structureTree.documentation .files li a {
      color: #c20000;
  }

  ul.structureTree.documentation .files li a:hover {
      color: #0379ff;
      text-decoration: underline;
  }

  ul.structureTree.documentation .files li span.desc {
      display: block;
      font-style: italic;
      font-size: .9em;
  }

  ul.structureTree.documentation span.treeStrFnc,
  ul.structureTree.documentation .files li a.icon.delete {
      float: right;
  }

  ul.structureTree.documentation .files .nofile {
      color: red!important;
      text-decoration: line-through;
  }
  
/*
    Revisions
*/

.revisionFilter dt {
    width: 24px;
}

.revisionFilter dd {
    width: auto;
    padding-top: 8px;
    margin-left: 0;
}

.revisionFilter label {
    text-indent: -200;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../images/ico_filter.png');
    background-repeat: no-repeat;
}

.list.revisions tbody tr td.status {border-left: 5px solid #92e272}
.list.revisions tbody tr.outOfDate td.status {border-left: 5px solid #c20000}
.list.revisions tbody tr.outOfDate.continued td.status {border-left: 5px solid gray}
.list.revisions tbody tr.lastWeek td.status {border-left: 5px solid #4160c6}

.progButtonNode {
    overflow: hidden;
    float: left;
    position: absolute;
    width: 25px;
    height: 25px;
    padding: 0;
}

.progButtonNode .dijitButtonNode {
    color: red!important;
}

form .fileInput {
    margin-left: 30px;
    margin-top: 2px;
    margin-bottom: 2px;
}

form div.fileInput {
    line-height: 23px;
    color: black;
    font-size: 11px;
}

.attachments.technology {
    position: absolute;
    top: 140px;
    right: 10px;
    min-width: 300px;
}

dt.priority {
    font-weight: bold;
    font-size: 14px;
    /*text-shadow: 1px 1px 1px gray;*/
}

dt.priority.p-1 {
    color: #c20000;
}

dt.priority.p-2 {
    color: orange;
}

dt.priority.p-3 {
    color: #f6f321;
}