@import url(../../../stylesheets/application.css);

body, #wrapper { background-color:#EEEEEE; }
#header{   
  padding-bottom: 30px;
  padding-top: 10px;
  padding-left: 10px; 
  background: #394956;
}
#header > h1 {
  background: url(../images/logo.png) no-repeat 0px 20%;
  font-size: 23px;
  padding: 0px 12px;
  padding-top: 39px;
}

#main { background: #EEEEEE; margin: 10px 10px 0px 10px; }
#content, #main.nosidebar #content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-top: 1px solid #d7d7d7; }
div#content {
  margin-right: 6px;
  width: auto;
}
#footer { background-color:#EEEEEE; border: 0px; }

#sidebar {
  width: 162px !important;
  padding: 0px 10px 20px 15px !important;
  border: 1px solid #d9d9d9;
}

h2, .wiki h1, .wiki h2, .wiki h3 {
  padding: 5px 12px;
  margin: -2px -3px 10px;
  font-family: "돋움", "Lucida Grande", verdana, arial, helvetica, sans-serif;
  border-bottom: 0px;
}

#top-menu {
  background: #252525;
  height: 1.9em;
  font-size: 1.0em;
  padding: 8px 0px 2px 12px;
}
#top-menu ul {margin: 0;  padding: 0;}
#top-menu li {
  float:left;
  list-style-type:none;
  margin: 0px 8px 0px 0px;
  padding: 0px 0px 0px 0px;
  white-space:nowrap;
}
#top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
#top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }

#main-menu {position: absolute;  bottom: 0px;  left:6px; margin-right: -500px; width: 100%;}
#main-menu li a { background-color: #507AAA; font-weight: bold;}
#main-menu li a:hover { background: #507AAA; text-decoration: underline; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; }
#main-menu li a.new-object { background-color:#507AAA; text-decoration: none; }

#main-menu .menu-children {
  border-right: 1px solid #507AAA;
  border-bottom: 1px solid #507AAA;
  border-left: 1px solid #507AAA;
}
#main-menu .menu-children li a:hover { background-color: #507AAA;}

table.list,
.table-list {
  width: 100%;
  margin-bottom: 3px;
  border-radius: 0px;
}

table.list tbody td,
table.list tbody tr:hover td {
  border: ridge 1px #dbdada;
}
table.list thead th {
  border-width: 1px;
  border-style: ridge;
  border-top-color: #dbdada;
  border-bottom-color: #dbdada;
  border-left-color: #dbdada;
  border-right-color: #dbdada;
}

table.list td {
  padding: 6px;
}

table.list tbody tr:hover {
  background-color: #ffffff;
}

tr.odd.priority-5,
table.list tbody tr.odd.priority-6:hover {
  color: #900;
}
tr.odd.priority-5 {
  background: #ee6f6f;
}
tr.even.priority-5,
table.list tbody tr.even.priority-6:hover {
  color: #900;
}
tr.even.priority-5 {
  background: #f07d7d;
}
tr.priority-5 a {
  color: #900;
}
tr.odd.priority-5 td,
tr.even.priority-5 td {
  border-color: #ffb4b4;
}

tr.odd.priority-4,
table.list tbody tr.odd.priority-4:hover {
  color: #900;
}
tr.odd.priority-4 {
  background: #f7a8a8;
}
tr.even.priority-4,
table.list tbody tr.even.priority-4:hover {
  color: #900;
}
tr.even.priority-4 {
  background: #f69696;
}
tr.priority-4 a,
tr.priority-4:hover a {
  color: #900;
}
tr.odd.priority-4 td,
tr.even.priority-4 td {
  border-color: #ffb4b4;
}

/* 상태 완료 색상 */
table.list tbody tr.closed {
  background: rgb(227 227 233);
}

/* 상태 진행 색상 */
table.list tbody tr.status-2 {
  color: #900;
}

/*High*/
tr.odd.priority-3,
table.list tbody tr.odd.priority-3:hover {
  color: #900;
}
tr.odd.priority-3 {
  background: #ffc4c4;
}
tr.even.priority-3,
table.list tbody tr.even.priority-3:hover {
  color: #900;
}
tr.even.priority-3 {
  background: #ffd4d4;
}
tr.priority-3 a {
  color: #900;
}
tr.odd.priority-3 td,
tr.even.priority-3 td {
  border-color: #ffb4b4;
}

table.list {
  border: 1px solid #e4e4e4;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 4px;
}
table.list th {
  background-color: #eeeeee;
  padding: 4px;
  white-space: nowrap;
}
table.list td {
  padding-right: 9px;
}

tr.issue td.subject,
tr.issue td.category,
td.assigned_to,
tr.issue td.string,
tr.issue td.text,
tr.issue td.list,
tr.issue td.relations,
tr.issue td.parent {
  white-space: nowrap !important;
}

.box { background-color: #fcfcfc; }


.journal {
  position: relative;
  margin-bottom: 10px;
  border: 1px solid #d1d3e0;
  border-radius: 3px;
  margin-left: 4px;
}

.journal>div>h4, .journal>h4 {
  margin: 0;
  padding: 8px 12px;
  border-radius: 3px 3px 0 0;
  background-color: #f9fafb;
  color: #707893;
  font-size: .92em;
  font-weight: normal;
}


.journal del>i:first-of-type, .journal i:first-of-type {
    background-color: #fff1e1;
    color: #5e3100;
}
.journal i:first-of-type, .journal i:last-of-type {
    padding: 2px 4px;
    border-radius: 2px;
    font-size: .9285em;
    font-style: normal;
}

.journal i:last-of-type {
  background-color: #d4fde3;
  color: #003712;
}

blockquote {
    font-style: normal;
    font-size: .9285em;
    color:  #9d7070;
    border-left: 3px solid #a5525291;
    padding-left: 0.5em;
    margin-left: 0;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 8px;
    margin-inline-end: 40px;
}

.contextual {
  float: right;
  white-space: nowrap;
  line-height: 1.4em;
  margin: 7px 0px !important;
  padding-left: 10px;
  font-size: 0.9em;
}

#history .tab-content {
  padding: 0 6px;
  margin-bottom: 10px;
  border-right: 0px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  border-left: 0px solid #d7d7d7;
  border-radius: 0 0 3px 3px / 0 0 3px 3px;
}

.journal>div>h4, .journal>h4 {
  margin: 0;
  padding: 8px 12px;
  border-radius: 3px 3px 0 0;
  background-color: #f9fafb;
  color: #707893;
  font-size: .92em;
  font-weight: bold;
}

body.avatars-on #replies .message.reply {
  position: relative;
  margin-bottom: 10px;
  border: 1px solid #d1d3e0;
  border-radius: 3px;
  margin-left: 4px;
}

.reply-header {
  margin: 0;
  padding: 8px 12px;
  border-radius: 3px 3px 0 0;
  background-color: #f9fafb;
  color: #707893;
  font-size: 1em;
  font-weight: bold;
}

.message {
  margin: 0;
  padding: 8px 12px;
  border-radius: 3px 3px 0 0;
  background-color: #f9fafb;
  color: #707893;
  font-size: 1em;
  font-weight: bold;

  position: relative;
  margin-bottom: 10px;
  border: 1px solid #d1d3e0;
  border-radius: 3px;
  margin-left: 4px;
}
