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

body {
	font-size:11px;
	font-family:"Lucida Grande",sans-serif;
	color:rgb(68,68,68);
	background-color:white;
	text-align:left;
	border-radius: 6px;
	margin: 8px;
}

div#maindiv {
	margin:1em;
}

form {
	margin:0;
}

img {
	border:0;
}

h1 {
	color: black;
	-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: #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;
}

a:hover {
	text-decoration: none;
	color: #7eaaee;
	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: 6px;
	border: 1px solid #e6e6e6;
	padding: 3px;
	font-family:"Lucida Grande",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: 6px;
	border-top-right-radius: 6px;
	border-collapse: collapse;
}

#header-col1 {
  padding:10px;
}

#header-col1 img{
  padding:0;
  height: 30px;
/*  height: 50%;
  width: 50%;
*/}

#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: #7D88CC;
  font-weight: 800;
  text-shadow: 1px 1px white;
}

#header-col2 a:hover {
	font-size: 10px;
	color: #7eaaee;
	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 a:hover {
	text-decoration: none;
	color: #7eaaee;
	font-weight: bold;
}


#searchBox span {
  display: inline;
  margin-left: 20px;
}

#searchBox span input[type=text] {
	padding-left: 20px;
	border-radius: 20px;
	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;
}

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

#quicknavform span {
	display: inline;
	color: white;
}

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

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

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

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

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

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

.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: #909DB7;
	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;
}

.tabGenerator .tg-middle span span:hover {
	display: block;
	background-color: white;
	text-shadow: 1px 1px white;
	height: 30px;
}

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

.tabGenerator .tg-middle span.selected span {
	background-color: white;
	text-shadow: 1px 1px white;
	height: 30px;
}

.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 {
  background-color: #F7F7F7;
  vertical-align: middle;
}

.innertabs .tabGenerator .tg-middle span {
	background-color: #F7F7F7;
	margin-top: 0;
}

.innertabs .tabGenerator .tg-middle span span {
	display: block;
	text-align:center;
	vertical-align: middle;
	height: 20px;
	margin: 0;
	border-bottom: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	background-color: #F7F7F7;
	line-height: 17px;
	color: black;
	text-shadow: 1px 1px white;
	border-left: 1px solid white;
	border-right: 1px solid white;
}

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

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

.box-title-content {
	color: #808080;
	font-weight: bold;
	font-size: 13px;
	padding-left: 13px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #E2E3E4;
}


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

.widget_titlebar {
	color: #808080;
	font-weight: bold;
	font-size: 13px;
	padding-left: 13px;
	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: #ffd297; /* 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;
}

.footer img {
	float: right;
}



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