/* RESET */

a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}


/* STYLE - GENERAL */

body, body *{
	font-family: Arial, sans-serif;
	outline: transparent !important;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#pre{ position:absolute; width:100%; height:730px; opacity:1; text-align:center;  overflow: hidden; }
#pre img{ margin-top:150px; }


/*************************
	DATAVIZ
*************************/

#dataviz{ margin-top:-20px; }
#dviz_svg{ overflow:hidden; }

line.link{ stroke: /*#595959*/ rgba(89,89,89,0.65); stroke-width: 0.3px; }
line.link.secLink{ stroke-dasharray: 4, 4; }
#arrow_link{ fill:#acacac; }

.node {
  cursor: pointer;
  stroke-opacity:0;
  	-webkit-transition: stroke-opacity 100ms linear; -moz-transition: stroke-opacity 100ms linear;
	-o-transition: stroke-opacity 100ms linear; -ms-transition: stroke-opacity 200ms linear; transition: stroke-opacity 100ms linear;
}

.node:hover, .node.selected, .node.conImg{ 
	stroke-opacity:1;
}

.nodeLabel{
	pointer-events: none;
	font-size:12px;
	fill: #262626;
	-webkit-transition: fill-opacity 100ms linear; -moz-transition: fill-opacity  100ms linear;
	-o-transition: fill-opacity  100ms linear; -ms-transition: fill-opacity  100ms linear; transition: fill-opacity  100ms linear;
	/*-webkit-transition: font-size 100ms linear; -moz-transition: font-size  100ms linear;
	-o-transition: font-size  100ms linear; -ms-transition: font-size  100ms linear; transition: font-size  100ms linear;*/
}




/*************************
	TOOLTIP
*************************/

#tooltip {
	position: absolute;
	min-height: 20px;
	width:240px;
	display: none;
	z-index: 10000000;
	padding:0px;
	text-align:center;
}

#tooltip p {
	display:inline-block;
	margin:auto;
	color:#475b73;
	text-align:center;
	font-size: 13px;
	padding: 6px;
	margin-top: 0px;
	margin-bottom: 0px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 5px;
}


#container{
	opacity:0;
    width:990px;
    height:727px;
    overflow:hidden;
    position:relative;
    margin:auto;
    background-color:transparent;
}

#container h1{
	font-size:22px;
	color: #262626;
	line-height:30px;
	padding:10px 0px;
	padding-top:15px;
	text-align:left;
}


#menu-container{
    background-color:#475B73;
    width:100%;
    height:40px;
    overflow:hidden;
    position:relative;
}

.icon{
    height:40px;
    background-image:url(icon.png);
    background-repeat: no-repeat;
}

.menu-list{
    float:left;
    position:relative;
    width:990px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.menu-list li{
	display:inline-block;
    margin-right:30px;
    color:#fff;
    font-size:15px;
    text-decoration:none;
    padding:12px 0px;
    opacity:.8;
    cursor:pointer;
}

.menu-list li:hover{
    opacity:1;
}

.menu-list li::after{
    display:block;
    content:attr(alt);
    font-weight:bold;
    height:0px;
    overflow:hidden;
    color:#000;
}

#menu-mobile-container{
    display:none;
}

.arrow{
    width:40px;
    height:40px;
    position:absolute;
    z-index:2;
    background-image: url(icon.png);
    cursor:pointer;
}

.arrow-left{
    top:0px;
    left:0px;
    background-position: 0px -160px;
	background-color: #475B73;
}

.arrow-right{
    top:0px;
    right:0px;
    background-position:0px -200px;
}

.bg-arrow-right{
    width:70px;
    height:40px;
    position:absolute;
    top:0px;
    right:0px;
    z-index:1;
    background: -moz-linear-gradient(left,  rgba(71,91,115,0) 0%, rgba(71,91,115,1) 51%, rgba(71,91,115,1) 100%);
    background: -webkit-linear-gradient(left,  rgba(71,91,115,0) 0%,rgba(71,91,115,1) 51%,rgba(71,91,115,1) 100%);
    background: linear-gradient(to right,  rgba(71,91,115,0) 0%,rgba(71,91,115,1) 51%,rgba(71,91,115,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00475b73', endColorstr='#475b73',GradientType=1 );
}

.selected:not(.node){
    opacity:1 !important;
    font-weight: bold;
}

#dataviz-container{
    width:100%;
    padding-top:20px;
    position:relative;
    overflow:hidden;
}

#list-dataviz{
    display:none;
}

.tool{
    width:60px;
    height:40px;
    position:absolute;
    z-index:2;
    overflow:hidden;
    cursor:pointer;
}

.tool:hover{
    width:280px;
}

.tool-search{
    top:20px;
    left:0px;
	overflow:visible;
}


/*************************
	BUSCADOR DE NODOS
*************************/

#search{
	position:absolute;
    left:60px;
    top:5px;
	display:none;
	z-index:100000;
}

::-webkit-input-placeholder {
   color: #6C7C8F;
}

:-moz-placeholder {
   color: #6C7C8F;
}

::-moz-placeholder {
   color: #6C7C8F;
}

:-ms-input-placeholder {
   color: #6C7C8F;
}

.tool-search.buscando{
	width:280px;
	/*background-color:#B5BDC7;*/
}

.tool-search:hover #search, .tool-search.buscando #search{
	display:block;
}

#search input{
	padding:0px 10px;
	width:210px;
	color:#475B73;
    font-size:14px;
	height:28px;
    border-top:none;
    border-left:none;
    border-right:none;
    border-bottom:1px solid #475B73;
    background-color:rgba(255,255,255,0);
	background-repeat:no-repeat;
	z-index:100000;
	outline: transparent !important;
}

#search  .autocomplete-suggestions {
	clear:both;
	top:28px;
	left:0px;
	border: none;
	background: #ccc;
	overflow: auto;
	z-index:100000000 !important;
	background-color:white;
	width:100%;
    -webkit-box-shadow: 0px 1px 7px 0 #D6D6D6;
    box-shadow: 0px 1px 7px 0 #D6D6D6;
    width:210px !important;
}

#search  .autocomplete-suggestion { cursor:pointer; padding:5px; /*white-space: nowrap; overflow: hidden;*/ font-size:14px; color:#475B73; }
#search  .autocomplete-selected { background: #D0D5DB; }
#search  .autocomplete-suggestions strong { font-weight: bold; }
#search  .autocomplete-group { /*padding: 3px 7px;*/ }
#search  .autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

.view{
    width:40px;
    background-position: 0 -40px ;
    float:left;
}

.search{
    width:40px;
    background-position: 0 -80px ;
    float:left;
}

.show-right{
    width:20px;
    float:left;
    background-position: -10px -120px;
}

.zoom{
    width:30px;
    height:90px;
    position:absolute;
    top:170px;
    left:2px;
    background-color:#ccc;
    cursor:pointer;
}

.zoom-button{
    height:30px;
    background-image:url(icon.png);
    background-repeat: no-repeat;
    background-color: #EBEBEB;
}

.zoom-button:hover{
    background-color:#B5BDC7;
}

.zoom-in{
    background-position:-5px -242px;
}

.zoom-out{
    background-position:-5px -280px;
}

.show-all{
    background-position:-6px -320px;
}

#sidebar{
    width:300px;
    height:555px;
    position:absolute;
    top:20px;
    right:0px;
    background-color:rgba(237,239,241,0.9);
    -webkit-box-shadow: -2px 1px 5px 0 #D6D6D6;
    box-shadow: -2px 1px 5px 0 #D6D6D6;
    overflow:hidden;
}

#sidebar i{ font-style: italic; }

#sidebar div:not(.sidebar-top) span{ font-weight:bold; color:#475B73; cursor:pointer; }
#sidebar div:not(.sidebar-top) a{ font-weight:bold; color:#475B73; cursor:pointer; text-decoration:underline; }

.sidebar-top{
    width:100%;
    height:30px;
    background-color:#D0D5DB;
    cursor:pointer;
}

.sidebar-top:hover{
    background-color:#B5BDC7;
}

.sidebar-top span{
    float:right;
    font-size:12px;
    color: #475B73;
    margin-top:10px;
    font-weight:bold;
	text-transform: uppercase;
}

.hide{
    width:30px;
    height:30px;
    float:right;
    background-position: -7px -124px;
}

#sidebar #ficha_nodo{ width:100%; }
#sidebar #ficha_nodo .ficha_nodo_child{ display:inline-block; padding:15px 0px; float:left; }
#sidebar #ficha_nodo #ficha_nodo_left{ width:50%; text-align:center; }
#sidebar #ficha_nodo #ficha_nodo_left img{ width:120px; border: 1px solid #595959; }
#sidebar #ficha_nodo #ficha_nodo_right{ width:48%; }

#sidebar h4{
    font-size:50px;
    color: #475B73;
    font-weight:bold;
    margin:30px 10px 10px 10px;
    line-height:40px;
}

#sidebar h1{
    height:50px;
    font-size:20px;
    margin:10px;
    color: #262626;
    font-weight: bold;
    line-height:25px;
}

#sidebar h2{
    font-size:19px;
    color: #262626;
    font-weight: bold;
    line-height:19px;
	padding:15px 18px;
	padding-bottom:0px;
}

#sidebar #ficha_nodo_right span{
	display:inline-block;
	font-weight:normal; 
	color:#262626; 
	cursor:default;
	font-size:13px;
	padding:5px 0px;
}



#sidebar #ficha_nodo_right .info_follow span{
	font-size:12px;
	padding:0px;
}

#sidebar #ficha_nodo_right .info_follow.info_follow_val{
	padding-left:12px;
}

#sidebar #ficha_nodo_right .info_follow.info_follow_val::after{
	content:'';
	position:relative;
	display:block;
	top:-9px;
	left:-10px;
	width: 4px;
	height:4px;
	border-radius:3px;
	background-color: #595959;
}

#sidebar #ficha_nodo_right #ficha_nodo_pre_follow{
	line-height:18px;
	padding-top:0px;
}


#sidebar #ficha_nodo_right a{ 
	display:inline-block;
	margin:auto;
	margin-top:10px;
	padding:5px 10px;
	border:1px solid #1DA1F2;
	font-size:13px;
	line-height:18px; 
	text-decoration:none !important; 
	font-weight:normal !important;
	
	background-color:#1DA1F2; color:#fff;
	/*color:#1DA1F2;*/
	
	-webkit-transition: all 200ms linear; -moz-transition: all 200ms linear;
	-o-transition: all 200ms linear; -ms-transition: all 200ms linear; transition: all 200ms linear;
}


#sidebar #ficha_nodo_right a i{ 
	font-size:16px;
	line-height:20px; 
	
	/*color:#1DA1F2;*/
	color:#fff;
	
	font-style:normal !important;
	margin-left:8px;
	-webkit-transition: all 200ms linear; -moz-transition: all 200ms linear;
	-o-transition: all 200ms linear; -ms-transition: all 200ms linear; transition: all 200ms linear;
}

/*
#sidebar #ficha_nodo_right a:hover{ background-color:#1DA1F2; color:#fff; }
#sidebar #ficha_nodo_right a:hover i{ color:#fff; }
*/

#sidebar p{
    font-size:14px;
    color:#262626;
    line-height:20px;
    margin:0px 5px;
}

#sidebar p strong{ font-weight:bold; }
#sidebar p i{ font-style:italic; }

.sidebar-story{
    display:block;
}

.sidebar-story img{
    display:none;
}

.sidebar-info{
    display:none;
}

.main-text{
	clear:both;
    height:320px;
    margin:10px;
    padding:0 20px 20px 0;
    box-sizing:border-box;
}

.scroll-bar.horizontal{ display:none; }

#sidebar .scrollable{ height:305px !important; }
#sidebar .scrollable .scroll-bar{ height:305px !important; }
#sidebar .scrollable .viewport{ height:305px !important; }



footer{
    width:100%;
    margin-top:20px;
    padding:0 0 15px 0px;
    border-bottom:2px solid #475B73;
	position:relative;
}

#help-info{
	position:absolute; 
	bottom:48px;
	left:5px;
	width:230px;
	padding:12px;
	font-size:13px;
	line-height:18px;
	background-color:rgba(237,239,241,1);
	border:1px solid #595959;
	display:none;
	z-index:10000000;
}

#help{
    width:29px;
    height:29px;
    float:left;
    padding:0px 10px;
	padding-top:16px;
}


#help i{
	font-size:18px;
	width:24px;
	height:24px;
	line-height:24px;
	color:#595959;
	border: 2px solid #595959;
	border-radius: 14px;
	text-align:Center;
	cursor:pointer;
}



.clear{
    clear:both;
}

#key-container{
    width:95%;
    float:left;
	z-index:1000000;
}

.key{
	position:relative;
    margin:auto;
    width:90%;
}

.key ul{
    float:left;
}

.key ul#caption-nodes{ width:56%; }
.key ul#caption-links{ width:42%; }

.key ul:last-child{
    margin-right:0 !important;
}

.key ul li{
    color:#737373;
    font-size:14px;
    margin-bottom:7px;
}

/*
.key ul#caption-nodes li{ width:90px; }
.key ul#caption-links li{ width:160px; }
*/

.key ul li.cap-val { 
	display:inline-block; 
	margin-right:25px;
}

.key ul li.caption-3{ margin-top:20px; }

.key ul li:first-child{
    font-weight: bold;
}

.key ul li.func{
    cursor:pointer;
}

.circle{
    width:9px;
    height:9px;
    border-radius: 50%;
    margin-right:10px;
    display:inline-block;
}

/*

VERDES
	#349450		#5CAD74
	#92A316		#92BC1E

AZULES
	#2CC6D2		#64D1DA
	#0B98D0		#34B2E4
	#0A4366		#065381

ROJOS
	#7B002C		#8B103D
	#C8202F		#E34856
	#FA7903		#FE912A
	#FAB321		#FFCA5A

*/


.cat-1{ background-color: #065381; }
.cat-2{ background-color: #7B002C; }
.cat-3{ background-color: #34B2E4; }
.cat-4{ background-color: #E60060; }

.cat-9{ background-color: grey; }

.line{
    width:30px;
    height:4px;
    margin-right:10px;
    display:inline-block;
}

.cat-5{ border-top:1px solid rgba(89,89,89,0.65); }
.cat-6{ border-top:1px dashed rgba(89,89,89,0.65); }



/****************

	DATATABLE

******************/

#list-dataviz{ width:95%; margin:auto; display:none; }

#list-dataviz table.dataTable td, .dataTable th{
	font-size:14px;
	padding-top:7px;
    padding-bottom:7px;
	text-align:left;
	white-space: nowrap;
}

#list-dataviz table.dataTable tbody tr td, table.dataTable tbody tr{
	-webkit-transition: all 200ms linear; -moz-transition: all 200ms linear;
	-o-transition: all 200ms linear; -ms-transition: all 200ms linear; transition: all 200ms linear;
	cursor:pointer;
}

#list-dataviz .dataTables_scrollHead table.dataTable thead{  }
#list-dataviz .dataTables_scrollHead table.dataTable thead th{
	position:relative;
	padding-bottom:10px;
	cursor:pointer;
	font-weight:bold;
}

/*#list-dataviz .dataTables_scrollHead table.dataTable thead tr{
	border-bottom: 1px solid #262626;
}*/

#list-dataviz  table span.circle{
	margin-left:12px;
}

#list-dataviz .dataTables_scrollHead table.dataTable thead .sorting_asc span,
#list-dataviz .dataTables_scrollHead table.dataTable thead .sorting_desc span{
    width: 0;
    height: 0;
    border: 4px solid transparent;
	border-color: transparent transparent #0C3048 transparent;
    position: relative;
	display:inline-block;
    top: -3px;
    right: -5px;
}

#list-dataviz .dataTables_scrollHead table.dataTable thead .sorting_desc span{
	top:2px;
    border-color: #0C3048 transparent transparent transparent;
}

#list-dataviz .dataTables_scrollBody{ height:357px !important; overflow-x: auto !important; }

#list-dataviz .dataTables_wrapper .viewport{ width:100% !important; }
#list-dataviz .dataTables_wrapper .overview{ width:100% !important; }


#list-dataviz table.dataTable tbody tr:not(.odd):not(.even){
	border-bottom:1px solid #1F77B5;
	cursor:default !important;
}


#list-dataviz .dataTables_filter{display:none;}
#list-dataviz .dataTables_length{display:none;}

#list-dataviz #tabla_filter{display:none;}



/* MEDIA QUERIES */

/*
@media (max-width:989px){

    #container{
        width:640px;
    }

    .menu-list{
        width:640px;
    }

    #sidebar{
        width:260px;
    }

    #sidebar h4{
        font-size:42px;
        margin-top:15px;
        line-height:36px;
    }

    #sidebar h1{
        height:45px;
        font-size:19px;
        line-height:22px;
    }

    #sidebar p{
        font-size:13px;
    }
	
	#help-info{
		bottom:67px;
		left:5px;
	}

    #key-container{
        width:400px;
		float:none;
		margin:auto;
    }

    .key{
        width:470px;
		margin:auto;
        margin-top:10px;
    }
	
	.key ul#caption-nodes{ width:52%; }
	.key ul#caption-links{ width:42%; }

    .key ul{
        margin-right:10px;
    }

    .key ul li{
        font-size:13px;
    }
}
*/


/*@media (max-width:639px){*/
@media (max-width:989px){
	
    #container{
        width:320px;
    }
	
	#container h1{
		font-size:18px;
		text-align:center;
	}

    #menu-mobile-container{
        display:block;
        width:100%;
        background-color:rgba(237,239,241,1);
        height:40px;
        margin-bottom:2px;
    }

    .menu-mobile-list li{
        padding:13px 0px;
        float:left;
        text-align:center;
        font-size:14px;
        color:rgba(255,255,255,0.75);
        text-decoration:none;
        display:block;
        cursor:pointer;
        width:120px;
		font-weight:bold;
        background-color:#b5bdc7;
    }

    .menu-mobile-list li.selected{
        background-color: #475b73;
        color:rgba(255,255,255,1);
    }

    .menu-mobile-list li:last-child{
        margin-right:0;
    }

	.icon-name{
        color:#6c7c8f;
        font-size:12px;
        float:left;
        margin:13px 10px;
        width:60px;
	}

    #dataviz-container{
        padding-top:40px;
        height:480px;
    }

	#dataviz{
		display:none;
	}

    .view{
        float:right;
    }

    .zoom{
        display:none;
    }

    .autocomplete-suggestions{
        display:none !important;
    }
    
    #key-container{
        position:absolute;
        top:0;
        left:0;
        width:550px;
    }
    
    .key{
        width:550px;
        margin-top:0;
    }
	
	.key ul#caption-nodes{ width:94%; margin-left:3%; }
	.key ul#caption-links{ display:none; }
	.key #caption-1-2{ display:none; }
	.key ul li.cap-val{ margin-right:12px; }
	.key .circle{ margin-right:5px; }
    
	
    #sidebar{
        width:320px;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    #sidebar h4{
        margin-top:14px;
    }
	
	#sidebar h2{
		font-size:18px;
	}

    .sidebar-top{
        display:none;
    }

    .main-text{
		height:190px;
    }

    .show-right{
        float:right;
        background-position: -10px -355px;
    }
	
	#sidebar #ficha_nodo #ficha_nodo_left{ width:49%; }
	#sidebar #ficha_nodo #ficha_nodo_left img{ }
	#sidebar #ficha_nodo #ficha_nodo_right{ width:42%; left:4%; }
	
	#sidebar #ficha_nodo_right span{ }
	#sidebar #ficha_nodo_right a{ margin-top:5px;padding: 3px 9px; font-size:12px; }
	
	#sidebar .main-text p{ margin-left:10px; }
	
	#sidebar .scrollable{ height:210px !important; }
	#sidebar .scrollable .scroll-bar{ height:210px !important; }
	#sidebar .scrollable .viewport{ height:210px !important; }
	


    /* * * * * *
    .story-off
    * * * * * */

	#dataviz-container{
		margin-top:0px;
		padding:0;
		height:auto;
	}

	#dataviz-container #list-dataviz{
		display:block;
		width:75%;
		margin:30px auto 0 auto;
		/*height:auto;*/
		/*height:358px;*/
		/*height:400px;*/
	}

	#dataviz-container #list-dataviz li{
		padding:5px 0;
		font-size:14px;
		display:block;
		cursor:pointer;
	}

	.tool ul{
		left:50px;
	}


    .tool-search{
		position:relative;
		top:auto;
		left:auto;
        width:320px;
        background-color:transparent !important;
        cursor:auto;
		margin-top:20px;
    }

    .tool-search #search {
        position:absolute;
        left:70px;
        top:6px;
        z-index:100000;
        display:block;
    }

    .tool-search #search input{
        width:240px;
    }

    .tool-search .show-right{
        display:block;
        float:left;
        background-position: -10px -120px;
    }

    #menu-container{
        display:none;
    }

    #sidebar{
		display:none;
        top:333px;
        height:245px;
    }

	footer{
		height:100px;
		position:relative;
		border-bottom: 0;
	}
    
    #help{
		display:none;
        position:absolute;
        margin-left:-55px;
        width:110px;
        bottom:15px;
        left:50%;
    }

	#key-container{
        position:absolute;
        top:0;
        width:320px;
		border-top:1px solid #b5bdc7;
		border-bottom:1px solid #b5bdc7;
		padding:5px 0;
    }

    #key-container .key{
        width:100%;
		margin-top:7px;
    }

    #key-container .key ul li{
        font-size:12px;
    }

    #key-container ul{
        margin:0;
    }

    #key-container ul:nth-child(2){
        float:right;
    }

    #key-container ul:last-child{
        /*width:320px;
        float:none;*/
        display:none;
    }

    #key-container ul:last-child li{
        margin-top:15px;
        width:100px;
        float:left;
    }
	
	
	/* * * * * *
    .story-off + .node-on
    * * * * * */
	
	.node-on #sidebar{
		display:block;
        top:20px;
        height:462px;
		z-index:10000;
		background-color:rgba(237,239,241,1);
    }
	
	.node-on #sidebar .sidebar-top{
		display:block;
	}
	
	.node-on #sidebar .sidebar-info .main-text{
		height: 333px;
	}
}
