/*
 * Stylesheet for Funky Theme.
 *
 * Copyright 2010, Antoine Mercadal - Capgemini
 * Copyright 2010, Franck Villaume - Capgemini
 * Copyright 2011, Iñigo Martinez
 * Copyright 2013-2014, Franck Villaume - TrivialDev
 * Copyright 2014, Benoit Debaenst - TrivialDev
 * http://fusionforge.org
 *
 * This file is part of FusionForge. FusionForge is free software;
 * you can redistribute it and/or modify it under the terms of the
 * GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the Licence, or (at your option)
 * any later version.
 *
 * FusionForge is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

/* HTML elements */
html {
  background-color: #f2f2f2;
}

.home-title-container,
.project-title-container,
#header {
}

body {
  font-size:14px;
  font-family:'Source Sans Pro',sans-serif;
  /* color:rgb(68,68,68); */
  /* background-color:white; */
  text-align:left;
  border-radius: 4px;
  margin: 10px;
}

div#maindiv {
  margin: 0 1em 1em;
}

form {
  margin:0;
}

img {
  border:0;
}

#maindiv > h1:nth-child(1) {
  -webkit-margin-before: 0px;
  -webkit-margin-after: 0px;
  padding-top: 0.67em;
  margin-top: 0;
}

h1, h2, h3 {
  color: #69312f;
  font-weight: normal;
  /* -webkit-mask-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0, 0, 0, 0.296875)), to(black)); */
}

h2 {
  margin-top: 30px;
  color: black;
  /* -webkit-mask-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0, 0, 0, 0.296875)), to(black)); */
}

h3 {
  margin-top: 30px;
  color: black;
  /* -webkit-mask-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0, 0, 0, 0.296875)), to(black)); */
}

ul {
  list-style-type: circle;
  margin: 0;
}

li {
  margin: 10px;
}

a {
  text-decoration:none;
  /* font-weight: bold; */
  color: #996633;
  /*  -webkit-transition-property: background-color, color, height, shadow;
     -webkit-transition-duration: 0.3s;
     -moz-transition-property: background-color, color, height, shadow;
     -moz-transition-duration: 0.3s;
     -o-transition-property: background-color, color, height, shadow;
     -o-transition-duration: 0.3s;
     transition-property: background-color, color, height, shadow;
     transition-duration: 0.3s; */
}

a:hover {
  /* text-decoration: none; */
  color: #69312f;
  /* font-weight: bold; */
}

th, td {
  text-align:left;
  border:none;
  border-collapse: collapse;
}

input[type="text"], input[type="password"], input[type="url"], input[type="email"], textarea {
  width: auto;
  border-radius: 3px;
  border: 1px solid #e6e6e6;
  padding: 3px;
  font-family:'Source Sans Pro',sans-serif;
}

hr {
  border: 0;
  background-color: #E2E2E2;
  height: 1px;
}

/* =header */
#header {
  /* background: white url("../images/header/header-bg.png"); */
  /* font-size:77%; */
  /* margin: 0;
     border-top-left-radius: 4px;
     border-top-right-radius: 4px;
     border-collapse: collapse; */
  padding-bottom: 10px;
}

#header-col1 {
  /* padding: 5px; */
}

#header-col2  {
  float: right;
}

#header-col2 img {
  padding: 0px 0 10px 7px;
  height: 30px;
  margin-bottom: -10px;
}

#header-col2 img:hover  {
  opacity: 0.8;
}

#header-col1 img {
  padding: 7px 0 0 7px;
  height: 30px;
  margin-bottom: -10px;
}

#header-col1 h1 {
  padding: 0;
  margin: 0;
}

#header-col2 {
  text-align: right;
  padding: 0 7px 0 0;
  /* font-size: 10px;
     color: #7D88CC; */
  /* text-shadow: 1px 1px white; */
  /* font-weight: bold; */
}
#header-col2 a {
  /* font-size: 10px; */
  color: #996633;
  /* font-weight: 800;
     text-shadow: 1px 1px white; */
}

#header-col2 a:hover {
  /* font-size: 10px;  */
  color: #69312f;
  /* font-weight: bold; */
  /* text-decoration: none; */
  /* text-shadow: 1px 1px white; */
}

#header-line2 {
  /* background: #41495C url("../images/header/tabs-bg.png") repeat-x; */
  text-align: right;
  /* padding-top: 10px; */
}

#header-news {
  background-color: #41495C;
  display: table-cell;
}

#header-news span {
  background-color: #41495C;
  height: 200px;
}

.quicknews-toggle {
  display: inline;
  font-size: 12px;
  /*    text-shadow: 1px 1px gray;*/
  color: white;
}

.quicknews .title {
  font-size: 12px;
  color: red;
}

.quicknews ul {
  background-color: white;
  width: 100%;
  margin: 10px;
  display: block;
}

.quicknews ul li {
  display: inline;
  list-style: none;
  margin: 0;
}

.quicknews ul li:hover {
  background-color:blue;
}

/* =searchBox */
#searchBox {
  display: inline;
}

#searchBox a {
  /* font-size: 10px;
     margin-right: 10px; */
  text-decoration:none;
  /* font-weight: bold;
     color: #7D88CC;
     -webkit-transition-property: background-color, color, height, shadow;
     -webkit-transition-duration: 0.3s;
     -moz-transition-property: background-color, color, height, shadow;
     -moz-transition-duration: 0.3s;
     -o-transition-property: background-color, color, height, shadow;
     -o-transition-duration: 0.3s;
     transition-property: background-color, color, height, shadow;
     transition-duration: 0.3s; */
}

#searchBox > div  {
  padding-right: 7px;
}

#searchBox a:hover {
  /* text-decoration: none; */
  /* color: #7eaaee;
     font-weight: bold; */
}
#searchBox span {
  display: inline;
  /* margin-left: 20px; */
}

#searchBox > div > span > .ui-selectmenu-text,
#searchBox > div > input[type='submit']
{
  font-size: 12px;
  /* line-height: 0.7em !important; */
}

#searchBox span input[type=text] {
  padding-left: 20px;
  border-radius: 2px;
  border: 1px solid white;
  background-image: url(../images/search-logo.png);
  background-repeat: no-repeat;
  background-position: 3px 2px;
  display: inline;
  width: 130px;
  margin-right: 7px;
  height: 10px;
}

#searchBox span input[type=submit] {
  display:none;
}

#searchBox > div > input[type='submit']:nth-child(4),
#searchBox > div > select {
  font-size: 12px;
}


/* =quicknavform */
#quicknavform {
  display: inline;
  color: white;
  float: left;
}

#quicknavform span {
  display: inline;
  color: #555555;
  font-size: 12px;
}

#quicknav {
  margin-left: 7px;
  width: 180px;
}

#searchBox .ui-selectmenu-button {
  padding: .25em 1em;
}

#quicknav-button.ui-selectmenu-button {
  padding: .4em 1em;
}

.ui-selectmenu-menu ul .ui-menu-item,
#quicknav-menu .ui-menu-item,
#searchBox .ui-button,
#searchBox .ui-selectmenu-text {
  font-size: 12px;
}

/* =tabGenerator */
.tabGenerator {
  /* font-weight:bold; */
  border-collapse: collapse;
  /* height: 26px; */
  /*margin-top: 5px; */
}

.tabGenerator tbody {
  margin-left: 50px;
}

.tabGenerator td {
  padding:0;
  margin: 0;
  vertical-align: middle;
}

table.tabGenerator.fullwidth > tbody > tr {
  border-right: 5px solid;
  border-left: 5px solid;
  border-color: transparent;
  /*border-bottom: 1px solid #e2e3e4;*/
}

.tabGenerator .tg-middle {
  /* background-color: #41495C; */
  vertical-align: bottom;
}

.tabGenerator .tg-middle span {
  /* background-color: #41495C; */
  margin-top: 0;
}

.tabGenerator td.tg-middle {
  border-bottom: 1px solid #e2e3e4;
}

.tabGenerator .tg-middle span span {
  display: block;
  text-align:center;
  vertical-align: middle;
  /* height: 20px; */
  border-bottom: 0;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-top-right-border-radius: 6px;
  -webkit-top-left-border-radius: 6px;
  -moz-border-radius-topright: 6px;
  -moz-border-radius-topleft: 6px;
  background-color: khaki;
  line-height: 17px;
  color: black;
  /* text-shadow: 1px 1px #B2BFD9; */
  margin: 0 2px;
  /* -webkit-transition-property: background-color, color, height, shadow;
     -webkit-transition-duration: 0.3s;
     -moz-transition-property: background-color, color, height, shadow;
     -moz-transition-duration: 0.3s;
     -o-transition-property: background-color, color, height, shadow;
     -o-transition-duration: 0.3s;
     transition-property: background-color, color, height, shadow;
     transition-duration: 0.3s; */
  /* height: 20px; */
}

.tabGenerator .tg-middle span {
  padding: 4px 0;
}

.tabGenerator .tg-middle span span a {
  display: block;
  color: black;
}

.tabGenerator .tg-middle span.selected span {
  background-color: #BFA68C !important;
  color: white !important;
}

.tabGenerator .tg-right span.selected span {
  display:none;
}

/*
   innertabs
 */
.innertabs .tabGenerator {
  /* font-weight:bold; */
  border-collapse: collapse;
  /* height: 20px; */
}

.innertabs .tabGenerator tbody {
  margin-left: 50px;
}

.innertabs .tabGenerator td {
  padding:0;
  margin: 0;
  vertical-align: middle;
}

.innertabs .tabGenerator .tg-middle {
  vertical-align: middle;
}

.innertabs .tabGenerator .tg-middle span {
  margin-top: 0;
}

.tabGenerator .tg-middle span span {
  border-top: 1px solid #e2e3e4;
  border-right: 1px solid #e2e3e4;
  border-left: 1px solid #e2e3e4;
  margin-top: 10px !important;
}

.tabGenerator .tg-middle span.selected span {
  border-bottom: 0px !important;
}

.innertabs .tabGenerator .tg-middle span span {
  display: block;
  text-align:center;
  vertical-align: middle;
  height: 20px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #F2F2F2;
  padding: 5px;
  line-height: 17px;
  color: black;
}

.innertabs .tabGenerator .tg-middle span span:hover {
  display: block;
}

.innertabs .tabGenerator .tg-middle span span a {
  display: block;
  /* color: black;*/
}

.innertabs .tabGenerator .tg-middle span.selected span {
  /* background-color: white; */
  /* text-shadow: 1px 1px white; */
}

.innertabs .tabGenerator .tg-right span.selected span {
  display:none;
}

.topTab, a.topTab, a.topTab:visited, a.topTab:hover,
.topTabSelected, a.topTabSelected, a.topTabSelected:visited,
a.topTabSelected:hover {
  text-decoration: none;
  font-weight: bold;
  color: rgb(68, 68, 68);
  font-family: 'Source Sans Pro', arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.bottomTab, a.bottomTab, a.bottomTab:visited, a.bottomTab:hover {
  text-decoration: none;
  font-weight: bold;
  color: white;
  font-family: 'Source Sans Pro', arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.bottomTabSelected, a.bottomTabSelected, a.bottomTabSelected:visited, a.bottomTabSelected:hover {
  text-decoration: none;
  font-weight: bold;
  color: rgb(68, 68, 68);
  font-family: 'Source Sans Pro', arial, helvetica, sans-serif;
  font-size: 0.9em;
}

.topLeft {
  vertical-align: top;
  text-align: left;
}

.middleRight {
  vertical-align: middle;
  text-align: right;
}

.pane {
  color: rgb(112, 112, 112);
  background-color: white;
}

.field-holder {
  clear: both;
}

/* Boxes (top / middle / bottom)
   ----------------------------------------------- */
.box-surround {
  /*  margin-bottom: 1em;*/
  background-color: #F7F7F7;
  border: 1px solid #E2E3E4;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  margin-bottom: 0;
}

#bd-col2 > div.box-surround {
  margin-bottom: 10px;
}

.box-content {
  border-bottom: 1px solid #E2E3E4;
  margin: 0;
  padding: 8px 8px 8px 18px;
}

.box-content p {
  margin: 0;
}


.box-middle {
  margin: 0;
  padding-left: 18px;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #808080;
  font-weight: bold;
}


/* widgets */

.widget {
  margin-top: 5px;
  background-color: #F7F7F7;
  border: 1px solid #E2E3E4;
  border-bottom: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  margin-bottom: 10px;
}

.box-title-content,
.widget_titlebar {
  color: #808080;
  font-weight: normal;
  font-size: 15px;
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #E2E3E4;
  background: none;
}

.widget_titlebar_close img {
  width: 12px;
  height: 12px;
}

.widget_titlebar_minimize img {
  width: 12px;
  height: 12px;
}

.widget_titlebar_maximize img {
  width: 12px;
  height: 12px;
}

.widget_content {
  border-bottom: 1px solid #E2E3E4;
  margin: 0;
  padding: 8px;
}

.widget_content table {
  border-collapse: collapse;
  border: 1px solid #D5D5D5;
}
.widget_content table td {
  padding: 4px;
}

.bgcolor-grey,
.even {
  background-color: #CDDCF3;
}

.bgcolor-white,
.odd {
  background-color: #FFFFFF;
}

/*
   listTable
 */

.listTable table {
  border-collapse: collapse;
}

.listTable table td{
  padding: 5px;
  border: 1px solid gray;
}

/*
   submenu
 */
.submenu {
  margin-top: 10px;
  margin-bottom: 25px;
  margin-left: 0;
  /*border-collapse: collapse;*/
  border-bottom: 1px solid #E2E3E4;
  border-spacing: 6px 0;
  padding-left: 0;
}

.submenu li {
  display: table-cell;
  margin-left: 5px;
  border: 1px solid #E2E3E4;
  height: 16px;
  padding: 5px;
  border-bottom: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-top-right-border-radius: 6px;
  -webkit-top-left-border-radius: 6px;
  -moz-border-radius-topright: 6px;
  -moz-border-radius-topleft: 6px;
  margin-right: 10px;
  /* background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#f7f7f7)); */
}

.submenu li:hover  {
  /* background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7f7f7), to(white)); */
}



/* =ft (footer)
   ----------------------------------------------- */
#ft {
  text-align:center;
}

/* error_msg, warning_msg or feedback function
   ----------------------------------------------- */
.error {
  /* background-color: #ff4940; red */
  border: 1px solid red;
  padding: 7px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  /* text-shadow: 1px 1px #ff7c73; */
  text-align: left;
  font-size: small;
  font-weight: normal;
  color: black;
  margin: 2px 3px 3px;
}

.warning_msg, .warning, .tips, .important {
  background-color: transparent; /*  orange */
  border: 1px solid #ffa500; /* orange */
  padding: 7px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  /* text-shadow: 1px 1px #fff5CA; */
  text-align: left;
  font-weight: normal;
  font-size: small;
  margin: 2px 3px 3px;
}

.feedback {
  /* background-color: #aef26d;  green */
  border: 1px solid green;
  padding: 7px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  /* text-shadow: 1px 1px #DFF59f; */
  text-align: left;
  font-weight: normal;
  font-size: small;
  margin: 2px 3px 3px;
}

p.information {
  /* background-color: #9db0d2; */
  border: 1px solid #3a5fa5;
  padding: 7px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  /* text-shadow: 1px 1px #DFF59f; */
  text-align: left;
  font-weight: normal;
  font-size: small;
  margin: 2px 3px 3px;
}

#ffErrors {
  /* background-color: #ff4940;  red */
  border: 1px solid red;
  padding: 7px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  /* text-shadow: 1px 1px #ff7c73; */
  color: black;
  margin: 2px 3px 3px;
}

#ffErrors .error {
  /* background-color: #ff4940;  red */
  border: 1px solid red;
  padding: 7px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  /* text-shadow: 1px 1px #ff7c73; */
  color: black;
  margin: 2px 3px 3px;
}


/*
   footer
 */
.footer {
  padding: 10px;
  /*  background: rgb(66, 69, 82) url("../images/header/header-bg.png"); */
  border-top: 1px solid #f7f7f7;
  /* margin-top: 20px; */
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  -webkit-bottom-right-border-radius: 6px;
  -webkit-bottom-left-border-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
  text-align: center;
  color: #dcdcdc;
  /* text-shadow: 1px 1px white; */
}

div.footer > a > img {
  float: right;
  opacity: 0.5;
  height: 30px;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}



.info-box h2 {
  font-size: 1.3em;
  -moz-border-radius: 0.5em 0.5em 0 0;
  -webkit-border-radius: 0.5em 0.5em 0 0;
  border-radius: 0.5em 0.5em 0 0;
  color: white;
  background: #34b234;
  padding: 3px 3px 3px 10px;
  margin: 0 -4px 0 -4px;
}

.info-box:nth-child(4n) h2 {
  background: #b4355e;
}
.info-box:nth-child(4n+1) h2 {
  background: #402c5d;
}
.info-box:nth-child(4n+2) h2 {
  background: #34b234;
}
.info-box:nth-child(4n+3) h2 {
  background: #00539f;
}

.info-box {
  background: #f7f6f7;
  color: #565c5e;
  padding: 1px 4px 4px 4px;
  margin-bottom: 8px;
  -moz-border-radius: 0.5em 0.5em 0 0;
  -webkit-border-radius: 0.5em 0.5em 0 0;
  border-radius: 0.5em 0.5em 0 0;
}

.priority1 { background-color: #f3f4db}
.priority2 { background-color: #fcecc2}
.priority3 { background-color: #fde4aa}
.priority4 { background-color: #fcd986}
.priority5 { background-color: #fac955}

/* Activity Page */
#activity {
  display: table;
  width: 100%;
}

#activity_left {
  float: left;
}

#activity_right {
  overflow : hidden;
  padding-left: 10px;
  margin-top:5px;
}

#activity_select {

}

#activity_label,
#activity_label_startdate,
#activity_label_enddate {
  font-weight:bold;
  margin-top:10px;
}

#activity_startdate,
#activity_enddate {

}

#activity_submit {
  margin-top:10px;
}

.docman_editfile_title,
#docman_search_query_label {
  font-weight:bold;
}

.lnkhome {
  padding-left: 20px;
  font-weight: normal;
  font-size: 30px;
}

.innertabs .tabGenerator .tg-middle,
.innertabs .tabGenerator .tg-middle span {
  background-color: #e6e6e6;
}

.innertabs {
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.innertabs,
.home-title,
.project-title {
  /* width: 100%; */
  background-color: #e6e6e6;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-collapse: collapse;
}

.home-title {
  background-color: white;
}

.innertabs {
  margin-top: 0px;
}

.tabGenerator .tg-middle span span:hover {
  display: block;
  background-color: peru;
  /* color: white; */
}

.tabGenerator .tg-middle span.selected span:hover {
  color: black;
}

/* Popups */

#resourcePopupContainer
{
  position:absolute;
  left:10;
  top:10;
  display:none;
  z-index: 20000;
}

.resourcePopupPopup {
}

.resourcePopupResult {
  background: #FFF;
}

#resourcePopupContent {
  background: #FFF;
  min-width: 175px;
  min-height: 50px;
}

.resourcePopupPopup .resourcePopupImage {
  margin: 5px;
  margin-right: 15px;
}

.resourcePopupPopup .corner{
  width: 19px;
  height: 15px;
}

.resourcePopupPopup .topLeft {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_topLeft.png) no-repeat right;
}

.resourcePopupPopup .bottomLeft {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_bottomLeft.png) no-repeat right top;
}

.resourcePopupPopup .left {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_left.png) repeat-y right;
}

.resourcePopupPopup .right {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_right.png) repeat-y;
}

.resourcePopupPopup .topRight {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_topRight.png) no-repeat left;
}

.resourcePopupPopup .bottomRight {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_bottomRight.png) no-repeat;
}

.resourcePopupPopup .top {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_top.png) repeat-x bottom;
}

.resourcePopupPopup .bottom {
  background: url(/plugins/compactpreview/images/Tooltip/balloon_bottom.png) repeat-x;
  text-align: center;
}


/* tooltip */

.ui-tooltip {
  padding: 8px;
  position: absolute;
  z-index: 9999;
  max-width: 300px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

body .ui-tooltip {
  border-width: 1px !important;
}

#maindiv-container {
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

#recently_registered_projects-title\22 {
  font-weight: normal;
  font-size: 15px;
  padding-top: 10px;
  padding-bottom: 5px;
  padding-left: 7px;
}

.copyleft-container {
  display: table-row;
}

.copyleft-link {
  display:table-cell;
  vertical-align:middle;

}

.copyleft-icon img {
  margin-right : 10px;
  height: 18px;
  width: 18px;
  float: left;
}

.copyleft-text {
  display: table-cell;
  text-align: left;
  color: rgb(68,68,68);
}
