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

body, #wrapper { background-color:#004D44; }
#header, #top-menu { margin: 0px 10px 0px 11px;
 background-color:#007668;
}

#main { background: #EEEEEE;
 margin: 8px 10px 0px 10px;
}
#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;
 margin: 0px 10px 10px
}

/* Headers */
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
#header h1 {
        vertical-align: center;
}

/* Menu */
#main-menu li a { background-color: #007668;
 font-weight: bold;
}
#main-menu li a:hover { background: #bfd9d4;
 color:#555;
}
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#7ab6ad;
}

#main-menu li a.new-object { background-color:#007668; font-weight: bold; }
#main-menu li a.new-object:hover { background-color:#bfd9d4; font-weight: bold; }

#main-menu .menu-children {
  border-right: 1px solid #007668;
  border-bottom: 1px solid #007668;
  border-left: 1px solid #007668;
}

#main-menu .menu-children li a:hover {color: #fff; background-color: #007668;}

.svg{display:inline}

/* MPI-M spec ========== START =============*/
@media screen and (min-width:900px){
#header {
  /* logo with german title */
  min-height: 4.6em;
  background: #007668 url(/themes/mpim/images/mpim_logo_text.png) no-repeat;
  padding-left: 240px;
}
}
/* move the project menu to the right */
#main-menu { 
  left:auto;
  right: 0px;
  /*margin: top right bottom left*/
   margin: 0px 0px 0px 0px; 
}

/* link color shoud fit the overall greenish touch */
a, a:link, a:visited { color: #004D44; text-decoration: none; } 

/* MPI-M spec ========== END =============*/

/* 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; }

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-high3, table.list tbody tr.odd.priority-high3:hover { color: #900; }
tr.odd.priority-high3 { background: #fee; }
tr.even.priority-high3, table.list tbody tr.even.priority-high3:hover { color: #900; }
tr.even.priority-high3 { background: #fff2f2; }
tr.priority-high3 a { color: #900; }
tr.odd.priority-high3 td, tr.even.priority-high3 td { border-color: #fcc; }

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; }

/* Misc */
/* title should be consistent with h1, ... definition in parent */
.wiki-class-title {
    font-family: "Trebuchet MS", Verdana, sans-serif; font-size:190%;
    font-weight:bold;
    padding: 2px 10px 1px 0px;
    margin: 0 0 10px 0;
}
/* Customize old .box and .highlight definitions with new name */
.wiki-class-box {
    background-color: #fcfcfc;
    padding: 2px;
    border: 1px solid #d7d7d7;
}
.wiki-class-highlight, .wiki-class-marked { background-color: #faff00; }
/* Striped table */
table.wiki-class-zebra tr:nth-of-type(odd) { background: #FFF; }
table.wiki-class-zebra tr:nth-of-type(even) { background: #DDD; }
table.wiki-class-zebra th { background: #EEE; }

/*
 * Layout amendments 
 */

/* Avoid pushing pre-fomatted paragraphs to page bottom */
div.wiki pre {
    width:auto;
}
/* Avoid unnecessary wrapping of first line on Wiki pages */
p.breadcrumb { margin: 5px 0;}
/* Allow user defined floating */
div.wiki .wiki-class-right { float: right; }


