/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}



body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	background: #fff;
}

span, td, th {
	font-size: 0.80em;
}

th, td {
	text-align: left;
	padding-right: 5px;
}

#wrapper {
	width: 960px;
	width: 1240px;
	margin: 20px auto;
	
}

#content {
	width: 920px;
	width: 1200px;
	padding: 20px;
}

#mainmenu,
#langmenu {
	width:760px;
	float:left;	
}

#langmenu, 
#mainmenu2 {
	width:200px;
	float:right;
}


#mainmenu ul,#mainmenu2 ul {
	width: 100%;
	padding: 0px;
	margin: 0px;
	float:left;
}

#mainmenu ul li,
#langmenu ul li {
	float:left;
	list-style-type: none;	
	margin-right: 10px;	
}

#mainmenu2 ul li {
	float:right;
	list-style-type: none;	
	margin-left: 10px;		
}

#mainmenu ul li a, #mainmenu2 ul li a {
    text-decoration: none;
    border-bottom: 2px solid #fff;
    margin-right: 10px;
}

#mainmenu ul li a:hover,
#mainmenu2 ul li a:hover {
	border-bottom: 2px solid #333;
	color: #333;
}

#menufilters i {
	color: #E96921;
}

#menufilters a {
	text-decoration: none;
}

a.button,
input[type="submit"] {
	background-color: #F5F5F5;	
	color: #333;
	text-decoration: none;
	font-size: 14px;
	padding: 8px 9px 7px 9px;
	border: 1px solid #e6e6e6;
	border-radius:5px 5px 5px 5px;
	-webkit-border-radius:5px 5px 5px 5px;
	-moz-border-radius:5px 5px 5px 5px;
}

input[type="submit"] {
	background-color: #e86a21;
	color: #fff;
	border-color: #E86820;
}

a.button:hover {
	background-color: #e6e6e6;
	border-color: #d5d5d5;
}

a.button i {
	padding-right: 9px;
}

a.button i.clear {
	padding: 0px;
}

a.second {
	margin-left: 10px;
}

ul.options {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

ul.options li {
	float:left;
	width: 100%;
}

ul.options li a {
	margin-top: 0px;
	margin-bottom: 10px;
}

a {
	color: #e96921;
}

#header {
	padding-bottom: 20px;
	border-bottom: 1px dotted #222;	
}

#page {
	float:left;
	width: 100%;	
}

#page .left {
	float:left;	
}

#page .right {
	float:left;	
	margin-left: 20px;
	background-color: #fff;
	border: 1px solid: #ccc;
	padding: 5px;
}

.succes {
    padding: 5px;
	background: #e4ffe4;	
	-webkit-border-radius: 4px;    
    border-radius: 4px;	
    border: 1px solid #d3eed3;
	color: #222;
}

.succes,
.error {
	margin: 10px 0px;	
}

.succes ul,
.error ul {
	padding: 0px;	
	margin:0px;
}

.succes ul li,
.error ul li {
	list-style-type: none;
}

.error {
	padding: 5px;
	background: #ffe4e4;	
	-webkit-border-radius: 4px;    
    border-radius: 4px;	
    border: 1px solid #eed3d3;
	color: #222;
}

.summary {
	float:left;
	width: 290px;
}

.summary.clients 		{ width: 200px;}
.summary.projects 		{ width: 380px;}

.summary.mid {
	margin: 0px 25px;
}

.summary.actionlist {
	width: 180px;
}
.dashboard-actionlist {
	padding-left:  600px;
	
}
.summary.actionlist ul li {
	width: 180px;
}
.summary.actionlist input[type="submit"] {
	float: right;
}

.summary ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	background-color: #f6f6f6;
	float:left;
	border-top: 1px solid #dedede;
	border-left: 1px solid #dedede;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;	
	border-radius:5px 5px 5px 5px;
	-webkit-border-radius:5px 5px 5px 5px;
	-moz-border-radius:5px 5px 5px 5px;
}

.summary ul li {
	float:left;
	width: 470px;
	padding: 9px;
	border-top: 1px solid #fefefe;
	border-bottom: 1px solid #cccccc;
	font-size: 0.8em;
}

.summary.clients ul li 	{width: 180px;}
.summary.projects ul li {width: 360px;}

.summary ul li span {
	font-size: 1em;
	margin-left: 10px;
}

.summary ul li.first {
	border-top: none;
}

.summary ul li.last {
	border-bottom: none;
}

.summary ul li.expired {
	background-color: #ffdcdc;
}

.summary ul li.expired.herinnerd {
	background-color: #e98181;
}


.summary ul li.expired.herinnerd a{
	color: black;
}
.summary ul .date-log{
	float: right;
}
.summary ul .remind{
	font-weight: 900;
	font-size: 15px;
}

.summary ul li.test {
	background-color: #dcdcff;
}

.summary ul li.live {
	background-color: #dcffdc;
}

.summary ul li.expired.test {
	background: -webkit-linear-gradient(left, #ffdcdc , #dcdcff); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, #ffdcdc, #dcdcff); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, #ffdcdc, #dcdcff); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to right, #ffdcdc , #dcdcff); /* Standard syntax */
}

.summary ul li.expired.live {
	background: -webkit-linear-gradient(left, #ffdcdc , #dcffdc); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, #ffdcdc, #dcffdc); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, #ffdcdc, #dcffdc); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to right, #ffdcdc , #dcffdc); /* Standard syntax */
}


a.tablebutton {
	text-decoration: none;
	color: #333;
	padding: 6px 3px;	
}

a.button {
	float:left;
	margin-top: 10px;
}

a.cancel {
	float:left;
	margin-left: 10px;
	margin-top: 0px;
	height: 20px;
	padding: 0px 9px 9px 9px;
	background-color: #333;
	color: #eee;
	border: 1px solid #222222;
}

a.cancel:hover {
	background-color: #666;
}

input[type="submit"] {
	float:left;	
}

div.segmented,
table.segmented {
	background-color: #f6f6f6;
	width: 100%;
	float: left;
	margin-top: 10px;
	border-collapse: inherit;
	border-top: 1px solid #dedede;
	border-left: 1px solid #dedede;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	border-radius:4px 4px 4px 4px;
	-webkit-border-radius:4px 4px 4px 4px;
	-moz-border-radius:4px 4px 4px 4px;
}

table.segmented td,
table.segmented th {
	padding: 9px 9px;
}

table.segmented th {
	border-bottom: 1px solid #cccccc;
	background-color: #efefef;
}

select {
	 width: 100%;	
	 font-size: 0.8em;
}

select,
table.segmented select,
textarea {
	background-color: #FFFFFF;
    border-color: #cccccc;
    border-image: none;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    height: 30px;
    padding: 4px;	
}

textarea {
	min-height: 120px;
	width: 98%;
}

table.segmented select,
table.segmented input[type="text"],
table.segmented input[type="password"] {
	font-size: 1em;	
}

table.segmented select {
	width: 160px;	
}


table.segmented input[type="text"],
table.segmented input[type="password"] {
	width: 98%;
	height: 20px;
}

table.segmented input[type="text"].small 	{ width: 60px;}
table.segmented input[type="text"].medium,
table.segmented input[type="password"].medium 	{ width: 160px;}

table.segmented input[type="radio"]	{ margin-right: 10px;}

table.segmented td img {
	max-width: 80px;
	border: 1px solid #e6e6e6;
}

table.segmented tbody td {
	border-top: 1px solid #fefefe;
	border-bottom: 1px solid #cccccc;
}

table.segmented tr {
	font-size: 1em;	
}

#footer {
	text-align: center;
	margin: 20px auto;
	font-size: 0.70em;
	color: #666;
}

#footer a {
	color: #999;
}

#projectheader {
	float: left;
	width: 100%;
	border-bottom: 1px dotted #ccc;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

#projectheader .options {
	float: right;
	margin-top: 10px;	
}

#projectright .options {
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
}

.options a.add {
	border-right: 1px solid #F5F5F5;
	border-radius: 5px 0px 0px 5px;
	-webkit-border-radius: 5px 0px 0px 5px;
	-moz-border-radius: 5px 0px 0px 5px;
}

.options a.edit {
	border-right: 1px solid #F5F5F5;	
	border-radius: 0px 0px 0px 0px;
}

.options a.add:hover,
.options a.edit:hover {
	border-right: 1px solid #D5D5D5;
}

.options a.delete {
	border-radius: 0px 5px 5px 0px;
	-webkit-border-radius: 0px 5px 5px 0px;
	-moz-border-radius: 0px 5px 5px 0px;
}



#projectheader h1 {
	margin-bottom: 5px;
}

#projectheader h2 {
	font-size: 0.8em;
}

#projectleft {
	width: 400px;
	width: 680px;
	margin-right: 20px;
	float:left;	
}

#projectleft img {
	border: 1px solid #e6e6e6;
	max-width: 350px;
}

#projectright {
	width: 500px;
	float:left;	
}

#projectright table,
#ticketsright table {
	margin: 0px 0px 20px 0px;
}

#ticketsleft {
	width: 200px;
	margin-right: 20px;
	float:left;	
}

#ticketsright {
	width: 700px;
	float:left;	
}

.ticketproject {
	float:left;
	width: 100%;
}

.ticketproject h3,
#ticketsright h2 {
	float:left;
	width: 580px;
}

.ticketproject a.addtask {
	float:right;
	width: 100px;
	margin-bottom: 14px;
}

.ticketproject .addtaskform {
	display: none;
}

div.task {
	float:left;
	width: 680px;
	padding: 10px; 
	font-size: 0.8em;
}

div.task div.header {
	height: 20px;
	float:left;
	width: 100%;
}

div.header i,
div.header input,
div.header h4,
.task .description  {
	float:left;
}

div.header form {
	width: 100%;
	float:left;
}


div.header i { width: 20px; line-height: normal; }
div.header a i { width: auto; line-height: normal; }
div.header input { width: 30px; margin: 0px 10px 0px 0px; }
div.header h4 { width: 442px; margin: 0px 0px 0px 0px;}
div.header span { font-size: 1em; width: 55px; text-align: right; float:right; }
div.header span a {margin: 0px 0px 0px 6px; text-decoration: none; color: #333; float:left;}

.exportlink {
	float: right;
}

.task .part {
	padding-left: 30px;
	display: none;
	width: 650px;
	float: left;
}

.task .part span {
/* 	width: 155px; */
	float:left;
	margin-right: 10px;
	margin-bottom: 20px;
	margin-top: 10px;
}

.task .part span.options {
	margin: 0px;
	width: 100%;
}

.task .part span.options input[type="submit"] {
	margin-top: 10px;
	margin-left: 10px;
}

.task .part span.deadline {
	/* margin-right: 0px;	 */
}

.taskdesc {
	width: 100%;
	float:left;
} 

.task .description {
	font-style: italic;
}

.task .open {
	display: block;
}

.task .taskfooter,
.task .comments {
	float:left;
	width: 650px;	
	padding: 0px;
	margin-left: 0px;
}

.task .comments li {
	float:left;
	padding-top: 10px;
	border-top: 1px solid #DEDEDE;
	margin-top: 7px;
}

.task .commenter {
	width: 100px;
	float:left;
}

.task .commenter h5 {
	margin-top: 5px;
	margin-bottom: 0px;
	text-align: center;
}

.task .commenter img {
	max-width: 100px;
}

.task .commentcontent {
	float:left;
	width: 530px;
	margin-left: 20px;
}

.task .commentcontent p {
	float:left;
	width: 100%;
}

.task .commentcontent h5 {
	width: 210px;
	margin-right: 15px;
	float:left;
	margin-top: 0px;
	margin-bottom: 10px;
}

.task .commentcontent a {
	width: 40px;
	margin-bottom: 10px;
}

.task .commentcontent span {
	width: 40px;
	margin: 0px 0px 10px 0px;
	float:left;
}


.taskfooter a,
.taskfooter input,
.taskfooter select {
	float:left;
	height: 28px;
	line-height: 20px;
	margin-top: 5px;
	font-size: 1em;
}

.taskfooter select {
	width: 140px;
	height: 28px;
	margin-left: 10px;
	padding: 6px;
}

.taskfooter input {
	width: 70px;
	margin-left: 10px;	
}

.taskfooter a {
	line-height: 28px;
}

.taskfooter a.button {
	line-height: 20px;
	float: right;
	margin-top: 0px;
}

.task .description p {
	margin: 0px;
}

.task .comments li {
	list-style: none;
	width: 100%;
}

.task .comments li a {
	float: right;
	color: #333;
	text-decoration: none;
	text-align: right;
	width: 20px;
}

.task .comments li .modcomment {
	width: 100%;
	float:left;
	display: none;
}

.task .comments li .modcomment input {
	margin: 10px 5px;
	float: right;
}

.task .comments p {
	margin-top: 0px;
}

.task .comments .addcomment {
	float:right;	
}

#ticketsright .task table.segmented {
	width: 100%; 
	font-size: 1em;
	margin-top: 5px;
	margin-bottom: 5px;	
	float:left;
}

.task table.segmented th {
	width: 100px;
	vertical-align: top;
}

.task table.segmented * {
	font-size: 1em;
}

.task .description .options {
	margin-bottom: 10px;
}

.task .description .options a.togglenextobj {
	margin-right: 10px;	
}

.task .description .options input[type="submit"] {
	margin-top: 12px;
} 

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}



