@import url(../../../stylesheets/application.css);

/* Parte modificata per tema Lutech, base è tema alternate */
#top-menu {background: #CC0000; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
#header.development {min-height:5em;background:#51994f 50% 50% repeat-x;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
#header.production {min-height:5em;background:#cc0000 url("../lutech_tema.png") 50% 50% repeat-x;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;}
#main-menu li a.new-object { background-color:#CC0000; }

body, #wrapper { background-color:#EEEEEE; }
#header, #top-menu { margin: 0px 10px 0px 11px; }
#main { background: #EEEEEE; margin: 8px 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; }
#footer { background-color:#EEEEEE; border: 0px; }

/* Headers & wiki styles*/
h1 {border-top: 1px dotted #bbb;}
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
.wiki h1 {font-size: 24px;padding: 24px 10px 1px 0px;background-color: antiquewhite}
.wiki h2 {font-size: 20px;padding: 20px 10px 1px 0px;background-color: aliceblue}
.wiki h3 {font-size: 16px;padding: 16px 10px 1px 0px}
.wiki h4 {font-size: 14px;padding: 14px 10px 1px 0px}
div.wiki img {
  border-width: 2px;
  border-style: solid;
  border-color: cadetblue;
}

/* Menu */
#main-menu li a { background-color: #CC0000; font-weight: bold;}
#main-menu li a:hover { background: #CC0000; 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:#CC0000; text-decoration: none; }

#main-menu .menu-children {
  border-right: 1px solid #CC0000;
  border-bottom: 1px solid #CC0000;
  border-left: 1px solid #CC0000;
}
#main-menu .menu-children li a:hover { background-color: #CC0000;}


/* Tables */
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
table.list thead th {
    border-width: 1px;
    border-style: solid;
    border-top-color: #d7d7d7;
    border-right-color: #d7d7d7;
    border-left-color: #d7d7d7;
    border-bottom-color: #999999;
}

/* Issues grid styles by priorities (provided by Wynn Netherland) */
table.list tr.issue a { color: #666; }
table.issues tbody tr.child { font-style: italic; }
tr.issue td.issue_row_statuses span{
  color: white;
  background-color: cyan;
  border-radius: 30%;
  border: 1px solid darkcyan;
}

tr.odd.priority-highest, table.list tbody tr.odd.priority-highest:hover { color: #900; font-weight: bold; }
tr.odd.priority-highest { background: #ffc4c4; }
tr.even.priority-highest, table.list tbody tr.even.priority-highest:hover { color: #900; font-weight: bold; }
tr.even.priority-highest { background: #ffd4d4; }
tr.priority-highest a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-highest td, tr.even.priority-highest td { border-color: #ffb4b4; }

tr.odd.priority-high2, table.list tbody tr.odd.priority-high4:hover { color: #900; }
tr.odd.priority-high2 { background: #ffc4c4; }
tr.even.priority-high2, table.list tbody tr.even.priority-high4:hover { color: #900; }
tr.even.priority-high2 { background: #ffd4d4; }
tr.priority-high2 a { color: #900; }
tr.odd.priority-high2 td, tr.even.priority-high4 td { border-color: #ffb4b4; }

tr.odd.priority-low2, table.list tbody tr.odd.priority-low2:hover { color: #333; }
tr.odd.priority-low2 { background: #d8e8d2; }
tr.even.priority-low2, table.list tbody tr.even.priority-low2:hover { color: #333; }
tr.even.priority-low2 { background: #ecf9e7; }
tr.priority-low2 a { color: #333; }
tr.odd.priority-low2 td, tr.even.priority-low2 td { border-color: #a4bd9a; }

tr.odd.priority-lowest, table.list tbody tr.odd.priority-lowest:hover { color: #559; }
tr.odd.priority-lowest { background: #eaf7ff; }
tr.even.priority-lowest, table.list tbody tr.even.priority-lowest:hover { color: #559; }
tr.even.priority-lowest { background: #f2faff; }
tr.priority-lowest a { color: #559; }
tr.odd.priority-lowest td, tr.even.priority-lowest td { border-color: #add7f3; }

/* Buttons */
input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }

/* Fields */
input[type="text"], input[type="password"], textarea, select { padding: 2px; border: 1px solid #d7d7d7; }
input[type="text"], input[type="password"] { padding: 3px; }
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
option { border-bottom: 1px dotted #d7d7d7; }

/* Select2 overwrites */
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background-color: #8695c6 !important; }

/* Datetime CF markers */
span.datetime-cf-format {
  color: white;
  background-color: #759FCF;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  padding: 2px 4px;
  display: inline-block;
  font-size: 10px;
  margin: 0px 5px 0px 0px;
}
span.datetime-cf-format.beyond { background-color: red; }
span.datetime-cf-format.within { background-color: green; }

/* Misc */
.box { background-color: #fcfcfc; }


tr.overdue {
  border-left-width: 4px;
  border-left-style: solid;
  border-color: orange;
}
tr.assigned-to-me {
  border-left-width: 4px;
  border-left-style: solid;
  border-color: blue;
}
tr.overdue.assigned-to-me {
  border-left-width: 4px;
  border-left-style: solid;
  border-color: red !important;
}

div.journal {border-top:1px dotted silver}

#context-menu {
    transform: translate(0, -90px);
    /*la plugin sidebar_hide rende #content position relative e questo non va d'accordo con
      il context menu, che appare sfasato verticalmente : questa regola lo fixa*/
}

article.news-article {
  border-top-width: 6px;
  border-top-style: solid;
  border-color: #bcc7d1;
}

/* fix per overflow del tab helpdesk tickets di un contact show*/
#tab-placeholder-helpdesk { overflow: hidden}

/* project modules in roles summary*/
.group.open td {background-color: bisque !important;}