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

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

/* general */

body {
 background-image: url(background.jpg);
  background-attachment:fixed;
background-position:center;
 	background-repeat:no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;	
}

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

.ti { width:30px;
      text-align:right;
      font-weight:bold;
 }
.tn { width:150px;
/*      text-align:right;*/
      font-weight:bold;
 }
.grp { background-color:#cccccc;
}
.hd { background-color:#aaaaaa;
      font-weight:bold;
}
.sl { font-size:10px;
      font-family:Verdana,Arial;
      font-weight:bold;
}
.sb { font-weight:bold;
      width:120px;
      height:25px;
      border:1px solid black;
}

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

/* Error field */
.dc-message {
    width: 100%;
    position: fixed; 
    top: 115px;
    height: 40px !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 textarea {
   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 0px 2px 2px;
  margin: 3px 1px 3px 0px;
  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 {
  margin: 3px 1px 3px 0px;
  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 textarea:focus, .dc-form select: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: 0px; 
}


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

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: 0px;
 text-align: left;
}

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_invalid {
    border: 1px solid red;
}

/* End renderer elements */

/* Start Comment bubble */

.dc-comment {
	position:relative;
	padding:15px 15px;
	margin:0;
	color:#fff;
	background:#ffe400; /* default background for browsers without gradient support */
	/* css3 */
	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:0px 0px 40px 20px;
	border-style:solid;
	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:#ffe400; 
    color:#fff; 
    font-style: italic;
}

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

/* End Comment bubble */

/* Start toggleable fields fade in and out */

.hideAnimated {
  visibility:hidden;
  display: block;
  opacity: 0;
  max-height: 0px; 
  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: 0px !important;
  margin-top: 0px !important;
}

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

.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: 0px;
    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;
//	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
//	position:absolute;
	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 0px 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    -khtml-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;	
}

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

div.lightbox-content-wrapper {
	position:relative; 
	top: 0px; 
	left: 0px; 
	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: 0px; 
	left: 0px; 
	width:100%; 
	height:40px; 
	text-align:right; 
	overflow:auto;
}

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

#overlay img{
 border: none; 
}

#overlay{ 
 background-image: url('../dc/images/overlay.png');
 position: absolute;
 top: 0px;
 left: 0px;
 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: 0px; 
    left: 0px; 
    padding-top: 10px; 
    width:100%; 
    height:440px; 
    overflow:auto;
}

/* Section message field */
div.dc-section-message {
    width: 80%;
    margin: 0px 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;
}

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