/* General styles for dataCosmos pages */
/* May be individually overriden...    */
/* V0.9 DF/03-JUL-2013                 */

/* ---------------------------------------------------------------------------------- */

/* general */

div, table {
	color: rgb(51, 51, 51);
	font-family: Arial,sans-serif;
	font-size: 14px;
	line-height: 1.42857;
}

a {
    font-family: Verdana, Arial, sans-serif;
 color: #005400;
}

/* Error field */
.dc-message {
    width: 100%;
    position: fixed; 
    top: 115px;
    height: 50px !important;
    z-index:90;
    background: none repeat scroll 0 0 #ffae13;
    border-bottom: 1px solid #f1c90b;
    color: #550303;	
    border-bottom: medium none;
    font-size: 12px;
    font-weight: bold;
    display: none;
    padding-top: 5px;
}

/*
.dc-messsage > div.inner:before {
	content: url('../images/icon_error32.png');
        vertical-align: top;
}
*/

/* input types */

.dc-form input.dc-numeric, .dc-form input.dc-percentage {
    width: 50px;
    text-align: right;
}

/* input fields with glow effect */

.dc-form input[type=text], .dc-form input[type=password], .dc-form textarea, .dc-textInput {
   width: 225px;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  outline: none;
  padding: 2px 0 2px 2px;
  margin: 3px 1px 3px 0;
  border: 1px solid rgba(81, 203, 238, 1);
  -webkit-border-radius: 0 2px 0 2px;
  -moz-border-radius: 0 2px 0 2px;
  border-radius: 0 2px 0 2px;
  font-size: 13px;
}

.dc-form input[readonly], .dc-form textarea[readonly] {
  color: #555;
  background-color: #eee;
}

.dc-form select, .dc-selectInput {
  margin: 3px 1px 3px 0;
  border: 1px solid rgba(81, 203, 238, 1);
  -webkit-border-radius: 0 2px 0 2px;
  -moz-border-radius: 0 2px 0 2px;
  border-radius: 0 2px 0 2px;
} 

.dc-form input[type=text]:focus, .dc-form input[type=password]:focus, .dc-form textarea:focus, .dc-form select:focus, .dc-textInput:focus  {
  box-shadow: 0 0 4px rgba(81, 203, 238, 1);
  border: 1px solid rgba(81, 203, 238, 1);
}

.dc-form input[type=button] {
  background-color: rgba(81, 203, 238, 1);
  border: 1px solid #333;
}

.dc-radiolabel {
	color: rgb(51, 51, 51);
	text-decoration: none;
}

/* "other" option input section */
div.dc-other {
	padding-left: 25px;
	margin-top: 2px;
}

div.dc-other.dc-active {
  display: block;
  visibility:visible;
  opacity:1;
  max-height: 1000px;
  transition:visibility 0s,opacity 0.25s ease-in-out;
  -webkit-transition:visibility 0s,opacity 0.25s ease-in-out;
  -moz-transition:visibility 0s,opacity 0.25s ease-in-out;
}

div.dc-other.dc-inactive {
  visibility:hidden;
  display: block;
  opacity: 0;
  max-height: 0;
}


/* Start Renderer Elements */

div.dc-top-button-row {
    z-index: 9;
    position: relative;
    right: 0px;
}

div.dc-text {
 margin-bottom: 10px;
}

div.dc-input {
 margin-bottom: 10px;
}

textarea.dc-input-textarea {
 width: 450px;
 height: 55px;
}

textarea.dc-input-textarea-big {
 width: 550px;
 height: 300px;
}

div.dc-validatorMessage {
 color: red;
 font-size: 9px;
}

div.dc-input_invalid input {
 border-color: red;
}

div.dc-output {
 margin-bottom: 10px;
}

hr.dc-separator {
 width: 80%;
 margin-left: 0;
 text-align: left;
}

hr.dc-separator-transparent {
 width: 80%;
 margin-left: 0;
 text-align: left;
 color: transparent; 
}

div.dc-section {
 position: relative;
 border: 1px dotted #ddd;
 margin-bottom: 3px;
}

div.dc-section:hover {
	background-color: #f0f3f0;
}

div.dc-section {
	padding-bottom: 5px;
}

div.dc-caption {
/*	padding-bottom: 5px; */
        /* allow space for topright save button */
        margin-right: 150px;
}

div.dc-section span.dc-caption, div.dc-assignment span.dc-caption {
	font-weight: bold;
}

div.dc-assignment {
    
}

div.dc-assignment-target {
    border: 1px solid grey; 
    min-height: 100px; 
    padding:2px; 
    background-color: #fff;   
    width: 240px;
}

div.dc-assignment-target-disabled {
    background-color: #eee;   
}

div.dc-assignment_invalid {
    border: 1px solid red;
}

/* End renderer elements */

/* Start Comment bubble */

.dc-comment {
	position:relative;
	padding:15px 15px;
	margin:0;
	color:#fff;
	background:#f6dd78; /* default background for browsers without gradient support */
/*	background:#ffe400; *//* default background for browsers without gradient support */
	/* css3 */
	background:-webkit-gradient(linear, 0 0, 0 100%, from(#ffe400), to(#f6dd78));
	background:-moz-linear-gradient(#ffe400, #f6dd78);
	background:-o-linear-gradient(#ffe400, #f6dd78);
	background:linear-gradient(#ffe400, #f6dd78);
/*	background:-webkit-gradient(linear, 0 0, 0 100%, from(#f0ff00), to(#ffe400));
	background:-moz-linear-gradient(#f0ff00, #ffe400);
	background:-o-linear-gradient(#f0ff00, #ffe400);
	background:linear-gradient(#f0ff00, #ffe400);*/
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	width: 300px;
	height: 200px;
	border: 1px solid #555;
}

/* creates the triangle */
.dc-comment:after {
	content:"";
	position:absolute;
	bottom:-40px;
	left:180px;
	border-width:0 0 40px 20px;
	border-style:solid;
	border-color:transparent #f6dd78;
/*	border-color:transparent #ffe400;*/
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

#dc-comment-content{
    color: #222222;
    font-size: 11px;
    max-height: 185px;
    overflow: auto;
}

.dc-comment div {
    color: #444444;
    font-size: 11px;
}

.dc-comment div[contenteditable] {
    border: 1px solid #aaaaaa;
    color: #444444;
    font-size: 11px;
    min-height: 40px;
    margin-top: 2px;
}

span.dc-comment-info {
    background-color: #888;
    padding: 1px;
    color:#fff; 
    font-style: italic;
    border-radius: 2px;
}

hr.dc-comment-separator {
    margin-top: -10px;
    width: 50%;
    color: #fff;
    height: 1px;
}

/* End Comment bubble */

/* Start toggleable fields fade in and out */

/* for convenienence this class is available in various cases */
/* both versions are currently used */
.hideanimated, .hideAnimated {
  visibility:hidden;
  display: block;
  opacity: 0;
  max-height: 0;
  transition:visibility 0s linear 0.25s,opacity 0.25s ease-in-out,max-height 0s linear 0.25s;
  -webkit-transition:visibility 0s linear 0.25s,opacity 0.25s ease-in-out,max-height 0s linear 0.25s;
  -moz-transition:visibility 0s linear 0.25s,opacity 0.25s ease-in-out,max-height 0s linear 0.25s;
  overflow: hidden;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.hide {
  visibility:hidden;
  display: block;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

/* for convenienence this class is available in various cases */
/* both versions are currently used */
.showanimated, .showAnimated {
  display: block;
  visibility:visible;
  opacity:1;
  max-height: 1000px;
  transition:visibility 0s,opacity 0.25s ease-in-out;
  -webkit-transition:visibility 0s,opacity 0.25s ease-in-out;
  -moz-transition:visibility 0s,opacity 0.25s ease-in-out;
}

.show {
  display: block;
  visibility:visible;
  opacity:1;
  max-height: 1000px;
}

/* End fade in and out */

/* Start Search */

.dc-searchresults {
}

.dc-searchresults .dc-searchtype {
	margin-top:2px;
	margin-bottom:-2px;
	margin-right: 3px;
}

.dc-searchresults .dc-searchresult {
 margin-bottom: 5px;
}

.dc-searchresults .dc-highlighted {
 background-color: yellow;
}

.dc-searchresults .dc-hits-in-result {
 font-style: italic;
}

/* End Search */

/* Start Table/Measures */

.dc-table {
 min-width: 50%;
}

.dc-table-row-even {
 background-color: #eee;
}

.dc-table-row-odd {
}

.dc-table-cell {
 padding-right: 2px;
 padding-left: 2px;
}

.dc-table-cell-data {
 width: 50px;
}

.dc-data-error-hint {
    color: red;
    font-weight: bold;
}

.dc-data-error-hint:before {
/* removed as this won't be shown in PDF - so included as real text... */
/*    content: "*"; */
}

/* End Table/Measures */

/* Mandatory field indicator */

.dc-mandatory {
    color: red;
    font-weight: bold;
    padding-left: 3px;
}

.dc-mandatory:before {
    content: "*";
}

/* End Mandatory field indicator */

/* Subgroup label, e.g. for list of diagrams in evaluate page */

.dc_subgroup {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 14px;
    padding-left: 20px;
    font-style: italic;
    font-weight: normal;
}

/* ContextMenu */

ul.contextMenu li {
    font-size: 11px;
    margin-right: 30px;
}

ul.fancytree-container {
    background-color: transparent;
}

.tooltip {
    /* instead of text-decoration-style */
    border-bottom: 1px dotted #ba0000;
}

.dc-caption-datatable, .dc-caption-parameters {
	font-size: 13px;
}

/* Start lightbox */

div.lightbox {
	background-color:#eee;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	width: 575px;
	z-index: 99;
	display: none;
	/* top corners must match lightbox-title top corners */
	-moz-border-radius: 10px 10px 3px 3px;
	-webkit-border-radius: 10px 10px 3px 3px;
	-khtml-border-radius: 10px 10px 3px 3px;
	border-radius: 10px 10px 3px 3px;	

	position: fixed;
	height: 450px;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -250px;
  
	-moz-box-shadow:    2px 2px 6px 6px #333;
	-webkit-box-shadow: 2px 2px 6px 6px #333;
	box-shadow:         2px 2px 6px 6px #333;
}

div.lightbox-title {
	margin: 10px; 
	color: #fff;	
}

div.lightbox-wrapper {
	position:absolute; 
	width:100%; 
	height: 100%;	
}

div.lightbox-title-wrapper {
	position:absolute; 
	width: 100%; 
	height: 50px; 
	background-color: rgb(84, 171, 210); 
	color: #fff;	
	/* top corners must match lightbox top corners */
	 -moz-border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -khtml-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}

div.lightbox-closeButton  {
	position:absolute; 
	top: -12px; 
	right: -12px; 
	z-index: 99;
}

div.lightbox-content-wrapper {
	position:relative; 
	top: 0;
	left: 0;
	margin-top:50px; 
	padding-top: 10px; 
	width:100%; 
	height:350px; 
	overflow:auto;
}

div.lightbox-content {
	padding-left: 10px; 
	padding-right: 10px;
}

div.lightbox-buttons-wrapper {
	position:relative; 
	top: 0;
	left: 0;
	width:100%; 
	height:40px; 
	text-align:right; 
	overflow:auto;
}

div.lightbox-buttons {
	padding-left: 10px; 
	padding-right: 20px;
}

#overlay img{
 border: none; 
}

#overlay{ 
 background-image: url('../dc/images/overlay.png');
 position: absolute;
 top: 0;
 left: 0;
 z-index: 97;
 display: none;
}

.lightbox-closeButton-image {
	border: 0;
}

.lightbox-closeButton-image:hover {
 opacity: 0.8;
}

/* End lightbox */

.dc-long-info-notification {
    margin-top: 10px;
    font-size: 9px;
}

div.dc-lightbox-long-info {
    background-color: #f6eb87;
    width: 575px;
    z-index: 99;
    display: none;
    position: fixed;
    height: 450px;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -250px;
}

div.lightbox-long-info-wrapper {
     background-color: #f6eb87;
}

div.lightbox-long-info-content-wrapper {
    position:relative; 
    top: 0;
    left: 0;
    padding-top: 10px; 
    width:100%; 
    height:440px; 
    overflow:auto;
}

/* Section message field */
div.dc-section-message {
    width: 80%;
    margin: 0 auto;
    background-color: #ddd;
    border: 1px solid #888;
    font-size: 10px;
    padding: 5px;
    text-align: center;
    margin-bottom: 5px;
}

div.dc-section-message span {
    vertical-align: middle;
}

div.dc-section-message span.success:before {
    content: url('../images/icon_success24.png');
    vertical-align: middle;
}

div.dc-section-message span.error:before {
    content: url('../images/icon_error24.png');
    vertical-align: middle;
}

div.dc-message-page {
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Tooltip - background color does not work, whyever... */
.ui-tooltip {
 background: #f6eb87;
}

/* Remove closing X for dialogs */
.ui-dialog-titlebar-close {
  visibility: hidden;
}

/* Force datepicker to be above all (e.g. header) */
.ui-datepicker {
 z-index: 9999 !important;
}

/* tab panel padding adjustment */
.ui-tabs .ui-tabs-panel {
    padding: 15px 10px 5px 10px;
}

/* for the progress bar label, centered */
.ui-progressbar {
    position: relative;
}

.progress-label {
    position: absolute;
/*    left: 50%; */
    top: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
    text-align: center;
    width: 100%;
}

label.publication-details {
   margin-left: 8px; 
}

label.publication-details, input.publication-details {
   margin-left: 8px; 
   width: 250px;
}

h4.publication-details {
   margin-left: 8px; 
   margin-top: 5px; 
   margin-bottom: 0;
}

div.jqte {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
}

div.module-title {
    font-size: 15px;
    font-style: italic;
    color: white;
    position: absolute;
    padding: 3px 0 3px 5px;
    font-weight: bold;
}

#div_accordion-users .ui-accordion-header {  
    padding: 0px 10px 3px 25px;
    background: none;
    border-bottom: none;
    font-weight: normal;
}

#div_accordion-users .ui-accordion-header:hover {  
    background-color: #eee;
}

#div_accordion-users .ui-accordion-header.ui-state-active {  
    background-color: #eee;
}

#div_accordion-users .ui-accordion-content {
    padding: 0px;
    display: inline-block;
}

div.dc-divgrid {
    width: 100%;
    display: table;
    table-layout: fixed;
    border-spacing: 4px;
    height: 80px;
}

div.dc-divgrid-cell {
    display: table-cell;
    padding: 2px 5px 2px 5px;
}

.dc-accordion-button {
    border: 1px solid #ddd;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    background-color: #f3f3f3;
}

.dc-accordion-button h2 {
    font-style: italic;
    font-weight: normal;
    font-size: 14px;
    display: inline;
}

.dc-accordion-content {
    background:#eee;
}

.dc-accordion-button:hover {
    background-color: #fff;
}

/* app chooser bubble START */

.dc-app-chooser {
/*  position:relative;*/
  position: fixed;
  padding:15px;
  margin:125px 0 0 2px;
  color:#333;
  background:#eee;
  /* css3 */
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 250px;
  height: 250px;
  border: 1px solid grey;
  -webkit-box-shadow: 2px 2px 5px 1px rgba(18,18,18,1);
  -moz-box-shadow: 2px 2px 5px 1px rgba(18,18,18,1);
  box-shadow: 2px 2px 5px 1px rgba(18,18,18,1);
}

.dc-app-chooser p {
    font-size:28px; 
    line-height:1.25em;
}

/* creates the triangle */
.dc-app-chooser:after {
  content:"";
  position:absolute;
  top:-20px;
  left:19px;
  border:10px solid transparent;
  border-bottom-color:grey;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/* display of quote author (alternatively use a class on the element following the blockquote) */
.dc-app-chooser + p {
    padding-left:15px; 
    font:14px Arial, sans-serif;
}

img.dc-app-chooser-img {
    filter: alpha(opacity=70); 
    opacity: 0.7; 
}

img.dc-app-chooser-img:hover {
    filter: alpha(opacity=100); 
    opacity: 1; 
}

a.dc-app-chooser-link {
    text-decoration: none;
    color: #111111;
    font-size: 12px;
}
/* App chooser bubble END */

/* app chooser div */
#app-chooser {
    position:absolute;
    top:0px;
    left:0px;
    z-index:999;
}
    
table.dc-timecapture-table {
    width: 100%;
    background-color: aliceblue;
}

.dc-timecapture th {
    border: 1px solid aliceblue;
    font-weight: normal;
    font-style: italic;
}

.dc-timecapture td {
/*    padding: 3px 1px 3px 1px; */
    padding: 5px 3px 5px 3px;
}

a.dc-readMore {
  font-size: 12px;
  font-style: italic;
  color: #333;
}

.dc-text-info {
    border: 1px solid rgb(187, 187, 187);
    padding: 5px;
    font-size: 11px;
    background-color: rgb(242, 240, 146);    
    min-height: 35px;
    margin-left: 10px;
    margin-right: 10px;
}

.dc-warn-entities {
    padding: 5px;
    font-size: 12px;
}

.rotate {
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
/*    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); */
    transform: rotate(-90deg);
}

.dc-output-field {
    padding: 2px 3px;
    border: 1px solid #CCC;
    background: #F5F5F5 none repeat scroll 0% 0%;
    min-width: 50px;
    display: inline-block;
    text-align: right;
    min-height: 16px;
    margin-bottom: -5px;
}

.dc-subnav-tiles {
    display:table;
}
.dc-subnav-tiles .dc-subnav-tile {
    display:table-cell;
    text-align:center;
    width:150px; 
    height: 70px; 
    max-height: 70px;
    padding-top:50px;
    background-color:#ddd;
    border: 1px solid #999;
}

/* Fixed width for JQTEs withing container */
.dc-container .jqte {
    width: 500px;
}

/* have some space after a container */
.dc-container {
    margin-bottom: 10px;
}

/* placeholder for JQuery sortable drop zone */
.ui-state-highlight { 
    height: 1.5em; line-height: 1.2em;
}
  
.dc-section-content {
    padding-left: 20px;
    padding-top: 10px;
}

.dc-upload-image {
    margin-bottom: 10px;
    margin-right: 15px;
    width: 115px; 
    height: 80px;
    border: 1px solid black;
    text-align: center;
}

.dc-assignment-source {
    height: 174px;
}