﻿.svg-graph 
{
    outline-style:none;  
    line-height: 1.2;
    font-family: Verdana;  
    text-align: center;
}

.svg-graph input {
	margin: 0px;
    padding: 0px;
    outline-style:none;
    text-align: left;    
}

/* tooltip */
.svg-graph-tooltip {
    display: none;
    background-color: #353535;
    opacity:0.9;
    font-size: 12px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px;
    color: #ffffff;
    z-index: 2000;
    position: relative;
    margin: 20px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    border-style:none;
    text-align: left;
}

.svg-graph-tooltip a,
.svg-graph-tooltip a:visited, 
.svg-graph-tooltip a:hover 
{	
	color:#ffffff;	
	text-decoration:underline;
}

.svg-graph-tooltip a:hover 
{	
	text-decoration:none;
}

.svg-graph-tooltip-content-top-triangle,
.svg-graph-tooltip-content-bottom-triangle
{    
    width: 28px;
    height: 14px;    
    background:transparent url('img/tooltip-top-triangle.png');
    position: absolute;
    top: -14px;    
}

.svg-graph-tooltip-content-bottom-triangle
{    
    top:auto;
    bottom: -14px;    
    background:transparent url('img/tooltip-bottom-triangle.png');
}

.svg-graph-tooltip-btn-close 
{    
    padding:4px;      
    -moz-border-radius: 16px 16px 16px 16px; 
	-webkit-border-radius: 16px 16px 16px 16px; 
    border-radius: 16px 16px 16px 16px; 
    position: absolute;
    top: -10px;
    right: -10px;
    border: 3px solid #2376D7;
    background-color: #404040;    
}

.svg-graph-tooltip-btn-close span
{    
    display: block;    
    background-image: url('img/icons.png'); 
    background-position:-96px -128px;
    background-repeat: no-repeat;
    width:16px;   
    height:16px
}

.svg-graph-tooltip-btn-close:hover
{
    cursor: pointer;
}

a.svg-graph-tooltip-wikipedia-icon,
a.svg-graph-tooltip-google-icon,
a.svg-graph-tooltip-bing-icon,
a.svg-graph-tooltip-linkedin-icon
{
    display:inline-block;
    width:16px;   
    height:16px;
    background-image: url('img/logo-icons/wikipedia-logo.png');
    background-repeat: no-repeat;
    margin: 10px 6px 0px 0px;    
}

a.svg-graph-tooltip-google-icon
{
    background-image: url('img/logo-icons/google-logo.png');
}

a.svg-graph-tooltip-bing-icon
{
    background-image: url('img/logo-icons/bing-logo.png');
}

a.svg-graph-tooltip-linkedin-icon
{
    background-image: url('img/logo-icons/linkedin-logo.png');
}

/*  end tooltip */

/*  search */
.svg-graph-search 
{
    position:absolute;
    top: 0px;
    left:0px;
    background-color: #E8E8E8;
    border: 1px solid #404040;
    -moz-border-radius: 3px 3px 3px 3px;
	-webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    z-index: 1000;
    padding:3px 2px 2px 2px;
    text-align: left;
}

.svg-graph-search input
{
    width:130px;    
    background-color: transparent;
    border-style: none !important;            
    color: #232323;
}

.svg-graph-search input.svg-graph-search-input-empty 
{
    color:#6D6D6D;
}

.svg-graph-search-results-on
{
    opacity: 1;
}

.svg-graph-search-results-off
{
    opacity: 0.1;
}
/*  end search */

/*  navigation */
.svg-graph-navigation 
{
    position:absolute;
    top: 30px;
    left:0px;        
    z-index: 1000;
    text-align: left;
}

.svg-graph-navigation-pan,
.svg-graph-navigation-zoom
{
    position:relative;    
}

.svg-graph-navigation-zoom
{
    left:86px;    
}

.svg-graph-navigation-pan-home,
.svg-graph-navigation-zoom-in,
.svg-graph-navigation-zoom-out,
.svg-graph-navigation-fullscreen
{
    position:absolute;
    top: 0px;
    left:0px;         
    cursor:pointer;      
    background-color:#222222;        
    padding:4px;  
    opacity:0.8;
    -moz-border-radius: 12px 12px 12px 12px;
	-webkit-border-radius: 12px 12px 12px 12px;
    border-radius: 12px 12px 12px 12px; 
}

.svg-graph-navigation-fullscreen 
{
    left:56px;    
    background-color:#555555;
}

.svg-graph-navigation-pan-home span,
.svg-graph-navigation-zoom-in span,
.svg-graph-navigation-zoom-out span,
.svg-graph-navigation-fullscreen span
{    
    display:block;
    background-image: url('img/icons.png'); 
    background-position:0 -113px; 
    background-repeat: no-repeat;
    width:16px;   
    height:16px;     
}

.svg-graph-navigation-zoom-in span
{        
    background-position: 0 -192px;
}

.svg-graph-navigation-zoom-out
{ 
    left:26px;        
}

.svg-graph-navigation-zoom-out span
{     
    background-position: -16px -192px;
}

.svg-graph-navigation-fullscreen span
{     
    background-position: 0px 0px;
    background-image: url('img/fullscreen.png');
}

/*  end navigation */

/*  export */
.svg-graph-export 
{
    position:absolute;
    top: 30px;
    left:30px;        
    z-index: 1000;
    text-align: left;
}

.svg-graph-export-png,
.svg-graph-export-svg
{    
    position:absolute;
    top: 0px;
    left:0px;         
    cursor:pointer;      
    background-color:#555555;        
    padding:4px;  
    opacity:0.8;
    -moz-border-radius: 12px 12px 12px 12px;
	-webkit-border-radius: 12px 12px 12px 12px;
    border-radius: 12px 12px 12px 12px; 
}

.svg-graph-export-svg 
{
    left:26px;
}

.svg-graph-export-png span,
.svg-graph-export-svg span
{    
    display:block;
    background-image: url('img/icons.png'); 
    background-position:-96px -112px; /*-224px -48px; */
    background-repeat: no-repeat;
    width:16px;   
    height:16px;     
}

.svg-graph-export-png span
{
    background-position:-208px -128px;
}

.svg-graph-export-svg 
{
    display:none;    
}

/*  end export */

/* filtering */
.svg-graph-filtering
{    	
	font-size:12px;
	min-width:48px;	
	min-height:20px;
	padding: 0px;
	color:#333333;	
	position:absolute;
	top:80px;
	left:0px;	
    z-index: 1000;   
    text-align: left; 
}

.svg-graph-filtering h2.svg-graph-filtering-title 
{
    margin:0px;    
    padding:0px;
    font-size:14px;
    color:#333333;
}

.svg-graph-filtering form 
{
    padding:0px;
    margin:0px;    
}

.svg-graph-filtering form label
{
    display:block;
    margin-top:6px;  
    font-weight:normal;  
}

.svg-graph-filtering form select
{
    width:130px;
}

.svg-graph-filtering form div.dropdowncheckboxlist
{    
    position:relative; 
}

.svg-graph-filtering form div.dropdowncheckboxlist input.value-display
{        
    background-image: url('img/arrow-down-dark.png');     
    background-position:right center;    
    background-repeat: no-repeat;   
    padding: 1px 20px 1px 4px;
    width: 106px; 
    border: 1px solid #abadb3;    
}

.svg-graph-filtering form div.dropdowncheckboxlist .checkboxlist-container
{
    overflow-y: scroll; 
    height: 160px;
    position:absolute;
    top:34px;  
    min-width:130px;
    background-color:#ffffff;
    padding:4px 4px;  
    border: 1px solid #222222;
    white-space:nowrap;
    z-index:2000;
}

.svg-graph-filtering form div.dropdowncheckboxlist .checkboxlist-container label
{
    display: inline-block; 
    margin-left:6px;    
}

.svg-graph-filtering-results-on
{
    opacity: 1;
}

.svg-graph-filtering-results-off
{
    opacity: 0.1;
}

/* end filtering */

/* legend */
.svg-graph-legend
{    	
	font-size:12px;
	min-width:48px;	
	min-height:20px;
	padding: 10px 10px 10px 10px;
	color: #ffffff;	
	position:absolute;
	top:0px;
	right:0px;
	-moz-border-radius: 3px 3px 3px 3px;
	-webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    z-index: 1000;
    background-color: #222222;    
    opacity:0.8;
    text-align: left;
}

.svg-graph-legend ul 
{
    margin:0px 0px 0px 0px;    
    padding:0px 0px 0px 0px;    
    list-style-position: inside;    
    list-style-type:none; 
    line-height: 1.6em;
}

.svg-graph-legend ul li,
.svg-graph-legend .btn-hide-all
{
    cursor: pointer;
}

.svg-graph-legend ul :first-child
{
    margin-right:10px;
}

.svg-graph-legend ul li span
{
    margin-right:6px;
}

.svg-graph-legend ul li ul
{
    margin-left:10px;        
}

.svg-graph-legend-btn-hide 
{    
    padding:4px;          
    position: absolute;
    top: 0px;
    right: 0px;    
    cursor: pointer;  
    z-index:100;  
}

.svg-graph-legend-btn-hide span
{    
    display: block;    
    background-image: url('img/icons.png'); 
    background-position:-80px -128px;
    background-repeat: no-repeat;
    width:16px;   
    height:16px
}

.svg-graph-legend-btn-show 
{    
    text-align: center;
    cursor: pointer;
}

.svg-graph-legend-hidden 
{    
    padding: 8px 6px;  
    min-height:0;      
}

.svg-graph-legend .btn-hide-all
{
    margin-top: 20px;
    margin-left: 15px;
}

/* end legend */

/* graph title */
.svg-graph-title,
.svg-graph-sub-title
{
    position:absolute;
	top:2px;
	left:140px;	
	text-align:left;	
	color:#222222;	
	font-size:14px;
	font-weight:bold;	
	padding: 2px 0px;
	margin: 0px 5px;
	text-align: left;	
}

.svg-graph-sub-title
{    
	top:24px;	
	font-size:12px;	
}
/* end graph title */

/*  widget-bar */
.svg-graph-widget-bar
{
    position:absolute;
    top: 0px;
    left:0px;    
    z-index: 1000;    
    text-align: left;
}

.svg-graph-widget-bar .widget-content
{
    position:relative;
    top:auto;
    left:auto;
}
/*  end widget-bar */



/* full-screen */
.svg-graph-fullscreen 
{
    position: fixed !important;
    top: 0px;
    left: 0px;
    background-color: white;
    z-index: 1000;    
    width:100% !important;
    height:100% !important;
    margin:0px 0px 0px 0px !important;
}

.svg-graph-fullscreen svg
{    
    width:100% !important;
    height:100% !important;
}

.svg-graph-fullscreen .svg-graph-search,
.svg-graph-fullscreen .svg-graph-navigation,
.svg-graph-fullscreen .svg-graph-export,
.svg-graph-fullscreen .svg-graph-filtering,
.svg-graph-fullscreen .svg-graph-title,
.svg-graph-fullscreen .svg-graph-sub-title
{    
    transform: translate(10px, 10px);
    -ms-transform: translate(10px, 10px);
    -webkit-transform: translate(10px, 10px);
    -o-transform: translate(10px, 10px);
    -moz-transform: translate(10px, 10px);
}

.svg-graph-fullscreen .svg-graph-legend
{    
    transform: translate(-10px, 10px);
    -ms-transform: translate(-10px, 10px);
    -webkit-transform: translate(-10px, 10px);
    -o-transform: translate(-10px, 10px);
    -moz-transform: translate(-10px, 10px);
}

.svg-graph-fullscreen .svg-graph-navigation-fullscreen span
{         
    background-image: url('img/fullscreen-off.png');
}

/* end full-screen */

/* alert */
.svg-graph-alert
{    
    display: none;    
    position:absolute;        
    z-index: 3000;
    text-align:center;
    padding: 10px 10px 10px 10px;    
    margin: 10px 0px 10px 0px;         
    -ms-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -o-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;    
    background-color:#222222;
    color:#ffffff;
    font-size:18px;
    opacity:0.8;
}
/* end alert */


/* editor selection */
.svg-graph-editor
{
    position: absolute;
    width: 100%;
}

.svg-graph-editor-active g.node,
.svg-graph-editor-active path.link,
.svg-graph-editor-active line.link
{
    opacity: 0.2;
}

.svg-graph-editor-active g.svg-graph-editor-selected,
.svg-graph-editor-active path.svg-graph-editor-selected,
.svg-graph-editor-active line.svg-graph-editor-selected
{
    opacity: 1 !important;
}

.svg-graph-editor-active g.node.svg-graph-editor-selected .node-main
{
    stroke:#000000;
    stroke-width:2px;
}

.svg-graph-editor-buttons a
{
    margin:0px 6px;
}

.ui-dialog-content label
{
    display:block;
    font-size:14px;
}

.ui-dialog-content input[type='text'],
.ui-dialog-content select
{   
    display:block; 
    font-size:14px;
    width:100%;
    margin:0px 0px 10px 0px;
    padding:0px;
}

.ui-front {
    z-index: 10000;
}
/* end editor selection */

/* highlight */
/*.svg-graph-highlight-on
{
    opacity: 1;
}

.svg-graph-highlight-off
{
    opacity: 0.1;
}*/

.svg-graph-highlight-active g.node,
.svg-graph-highlight-active path.link,
.svg-graph-highlight-active line.link
{
    opacity: 0.1;
}

g.node.svg-graph-highlight-selected,
path.link.svg-graph-highlight-selected,
line.link.svg-graph-highlight-selected
{
    opacity: 1;
}
/* end highlight */