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

body{ color:#303030; background:#e8eaec; }
body {
    font-family: Meiryo,"Hiragino Kaku Gothic Pro","MS PGothic",Verdana,sans-serif;
    font-size: 100%;
    color: #484848;
}

#top-menu { font-size: 80%; height: 2em; padding-top: 0.5em; background-color: #578bb8; }
#top-menu a { font-weight: bold; }

#header { background: #1d9239; }

/*renkei 2015/5/18 start--------------------------------------------------------------------------*/

#header { padding: 8px 8px 0 8px; height: 5.5em; }
.controller-welcome #header {
	background: url(../images/renkei_pro_maintitle.JPG) no-repeat #ffffff;height:140px;}
	/*ログイン用 背景色は濃い目の青#2A5685　白文字なら#FFFFFF*/
    /*通常ページ用	height:110px;*/

/*renkei 2015/5/18 end--------------------------------------------------------------------------*/
    
#header h1 { margin-left: 6px; }
#quick-search { margin-right: 6px; }
#main-menu { background-color: #578bb8; left: 0; border-top: 1px solid #fff; width: 100%; }
#main-menu li { margin: 0; padding: 0; }
#main-menu li a { background-color: #578bb8; border-right: 1px solid #fff; font-size: 90%; padding: 4px 8px 4px 8px; font-weight: bold; }
#main-menu li a:hover { background-color: #80b0da; color: #ffffff; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color: #80b0da; color: #ffffff; }

#footer { background-color: #578bb8; border: 0; color: #fff;}
#footer a { color: #fff; font-weight: bold; }

/* #main { font:90% Verdana,Tahoma,Arial,sans-serif; background: #e8eaec; } */
#main a { font-weight: bold; color: #467aa7;}
#main a:hover { color: #2a5a8a; text-decoration: underline; }
#content { background: #fff; }
#content .tabs ul { bottom:-1px; }

h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 { border-bottom: 0px; color:#606060; }
h2, .wiki h1 { letter-spacing:-1px; }
h4 { border-bottom: dotted 1px #c0c0c0; }

#top-menu { background: #666; }

#top-menu a.home, #top-menu a.my-page, #top-menu a.projects, #top-menu a.administration, #top-menu a.help { 
    background-position: 0% 40%;
    background-repeat: no-repeat;
    padding-left: 20px;
    padding-top: 2px;
    padding-bottom: 3px;
}

#top-menu a.home { background-image: url(../images/home.png); }
#top-menu a.my-page { background-image: url(../../../images/user.png); }
#top-menu a.projects { background-image: url(../../../images/projects.png); }
#top-menu a.administration { background-image: url(../images/wrench.png); }
#top-menu a.help { background-image: url(../../../images/help.png); }

#footer {
    background-color: #1d9239;
}

/*renkei 2015/5/19 n start--------------------------------------------------------------------------*/
#login-form {
  width: 520px;
  margin: 40px auto;
  padding-top: 160px;
  padding-bottom: 6px;
  background: #fff url("../images/login.png") no-repeat 50% 10px;
  border: 1px solid #bbb;
}

#login-form table {
    border: none;
    background: #fff;
    margin-top: 0;
    padding-top: 0;
}

#login-form input#username, #login-form input#password {
    font-size: 15px;
    padding: 3px;
}

#login-form a {
  display: block;
  width: 150px !important;
}

#main {
  background :#eee;
  padding-top: 1em;
}

#main.nosidebar #content {
  width: 96%;
  margin: 0 auto !important;
  padding: 0.5em 1em;
}

.box {
  background: #fff;
}

table.list td,
table.list th {
  font-size: 78.6%;
  padding-top: 6px;
  padding-bottom: 6px;
  text-align: left;
}
table.list td a {
  font-weight: normal !important;
}
table.list td.status {
    text-align: center;
}

/* メニュー */
#main-menu {
  border-top: none;
  background: #84c368;
}
#main-menu ul {
  padding: 0px;
  margin: 0 0 0 1em;
  border-top: 1px solid #fff;
  background: #84c368;
}

#main-menu li a.selected, #main-menu li a.selected:hover {
  background-color: #eee;
  color: #282828;
}

#main-menu li:first-child {
  border-left: 1px solid #fff;
}

#main-menu li a {
  background: #666;
}

#main-menu ul:after {
  content: ".";  
  display: block; 
  clear: both;
  height: 0;
  visibility: hidden;
}

#main-menu ul {
  min-height: 1px;
}

* html #main-menu ul {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

#projects-index ul.projects li.root {
  margin-bottom: 1em;
  padding: 1em;
  border-bottom: 2px dotted #ddd;
}

.controller-welcome .projects ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.controller-welcome .projects li {
  margin-bottom: 1em;
  border-bottom: 2px dotted #ddd;
}

/* 20150619add */
.members,
#main #content .splitcontentleft .issues { display: none; } 

#sidebar li:last-child{
  display: none;
}

#main #content .splitcontentleft h2 {
  clear: both;
}

#main #content .splitcontentleft li {
  float: left;
  width: 30%;
}

#main #content .splitcontentleft ul:after {
  content: ".";  
  display: block; 
  clear: both;
  height: 0;
  visibility: hidden;
}

#main #content .splitcontentleft ul {
  min-height: 1px;
}

* html #main #content .splitcontentleft ul {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

#main #content .splitcontentleft {
  float: none;
  width: 100%;
}

#main #content .splitcontentleft .news {
  float: right;
  width: 48%;
}

#main #content .splitcontentright {
  float: left;
  width: 48%;
}

*:first-child+html #main #content {
  position: relative;
}

*:first-child+html #main #content .splitcontentright {
  position: relative;
  margin-top: -26.8em;
  left: 0;
  z-index: 0;
  float: none;
}

*:first-child+html #main #content .splitcontentleft .news {
  margin-top: 1em;
}


/* for redmine4.2 */
.splitcontent{
  flex-flow: column;
}

#projects-index{
  column-width: auto;
}

#projects-index ul.projects li.root {
  border: 0;
}

/* hide some staff */
 .icon-bookmarked-project
,.assign-to-me-link
,body.controller-projects.action-show div.contextual
,body.controller-projects.action-index #query_form_with_buttons
{
  display: none;
}

/* hide main-menu */
 body.controller-projects.action-index #main-menu
,body.controller-issues.action-index #main-menu
,body.controller-calendars.action-show #main-menu
,body.controller-urllinks #main-menu
,body.controller-eventlinks #main-menu
,body.controller-movielinks #main-menu
{
  display: none;
}
