/** DISABLE TEXT SELECTION (SET ON BODY WHEN DRAGGING IS OCCURRING) **/
._jsPlumb_drag_select * {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/** FB **/
#like {
	position: fixed;
	width: 77px;
	height: 70px;
	border: 0;
	right: 11px;
	bottom: -40px;
}

#retweet_button {
	position: fixed;
	bottom: 30px;
	right: -7px;
}

#headerWrapper {
	width: 100%;
	background-color: white;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	cursor:pointer;
	height: 44px;
	padding: 0;
	text-align: center;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0px 1px #eee;
}

#header {
	margin-top: 0;
	height: 44px;
	font-size: 13px;
	margin-left: auto;
	margin-right: auto;
	line-height: 44px;
	max-width: 1000px;
	width: 80%;
}

@media screen and (max-width:1000px) {
	#header {
		width: 100%;
	}
}

@media screen and (max-width:800px) {
	#header select {
		display: none;
	}
}

@media screen and (max-width:700px) {
	.library-links {
		right: 330px;
	}
}

@media screen and (max-width:640px) {
	.logo {
		display: none;
	}
	#header {
		text-align: center;
		overflow: hidden;
	}
}

.explanation i {
	float: right;
	margin-right: 25px;
	margin-top: 13px;
	font-size: 25px;
	cursor: pointer;
}

.explanation i:hover {
	color: orange;
}

.words {
	text-align: left;
	padding: 50px;
	background-color: white;
}

.code {
	border: 1px solid #456;
}

.logo {
	font-size: 30px;
	color: #1f1f1f;
	text-shadow: 1px 1px #ccc;
	float: left;
	width: 154px;
	height: 44px;
	background-position: 0px 5px;
}

#main {
	margin-top: 106px;
	font-size: 80%;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	height: 600px;
	text-align: center;
	position: relative;
	max-width: 1200px;
	max-height: 1000px;
}

.nodes {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: white;
	overflow: auto;
}

.explanation {
	text-align: center;
	opacity: 0.8;
	filter: alpha(opacity = 80);
	width: 100%;
	z-index: 2;
	cursor:pointer;
	overflow: hidden;
	font-size: 13px;
}

.commands {
	margin-bottom: 10px;
}

.commands:hover {
	z-index: 2;
	cursor:pointer;
}

/* demo elements */
a,a:visited {
	text-decoration: none;
	color: black;
	border-radius: 0.2em;
	-webkit-transition: color 0.15s ease-in;
	-moz-transition: color 0.15s ease-in;
	-o-transition: color 0.15s ease-in;
	transition: color 0.15s ease-in;
}

a:hover {
	color: #7AB02C;
}

a:active {
	color: #FF2300;
}

.menu,#render,#explanation {
	background-color: #fff;
}

.menu {
	float: right;
	font-size: 12px;
}

.menu a {
	margin-right: 19px;
}

.otherLibraries {
	display: inline;
}

#render a {
	margin-right: 10px;
}

.selected {
	color: orange !important;
}

.cmd {
	color: white;
	margin-right: 25px;
}

.cmd:hover {
	color: #FF2300;
	text-decoration: underline;
}

.cmd:active {
	color: #FF2300;
}

.label {
	font-size: 13px;
	padding: 8px;
	padding: 8px;
}

.component {
	border: 1px solid #346789;
	border-radius: 0.5em;
	opacity: 0.8;
	filter: alpha(opacity = 80);
	background-color: white;
	color: black;
	padding: 0.5em;
	font-size: 0.8em;
}

.component:hover {
	border: 1px solid #123456;
	box-shadow: 2px 2px 19px #444;
	-o-box-shadow: 2px 2px 19px #444;
	-webkit-box-shadow: 2px 2px 19px #444;
	-moz-box-shadow: 2px 2px 19px #fff;
	opacity: 0.9;
	filter: alpha(opacity = 90);
}

.nodes-links,.library-links {
	position: fixed;
	right: 0;
	top: 44px;
	font-size: 11px;
	background-color: white;
	opacity: 0.8;
	padding-right: 10px;
	padding-left: 5px;
	text-transform: uppercase;
	z-index: 2;
}

.nodes-links div,.library-links a {
	display: inline;
	margin-right: 7px;
	margin-left: 7px;
}

.nodes-links i,.library-links i {
	padding: 4px;
}

.library-links {
	right: 515px;
	height: 19px;
	line-height: 19px;
}

.current-library {
	color: #7AB02C !important;
}

/** Z-INDEX **/
._jsPlumb_connector {
	z-index: 2;
	cursor:pointer;
}

._jsPlumb_endpoint {
	z-index: 3;
}

._jsPlumb_overlay {
	z-index: 1;
	cursor:pointer;
}

.aLabel {
	background-color: white;
	padding: 0.4em;
	font: 12px sans-serif;
	color: #444;
	z-index: 2;
	border: 1px dotted gray;
	opacity: 0.8;
	filter: alpha(opacity = 80);
	cursor: pointer;
}

.aLabel._jsPlumb_hover {
	background-color: #5C96BC;
	color: white;
	border: 1px solid white;
}


/*************************节点样式  李飞  2015-9-22 16:17:53********************************/
.node {
	border: 2px solid #ccc;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	opacity: 0.8;
	min-width: 160px;
	min-height: 35px;
	line-height:35px;
	cursor: pointer;
	z-index: 2;
	position: absolute;
	color: black;
	font-family: helvetica;
	padding: 0.5em;
	font-size: 0.9em;
	-webkit-transition: -webkit-box-shadow 0.15s ease-in;
	-moz-transition: -moz-box-shadow 0.15s ease-in;
	-o-transition: -o-box-shadow 0.15s ease-in;
	transition: box-shadow 0.15s ease-in;
}

.nodeStart {
	border: 2px solid #ccc;
	-moz-border-radius: 0.5em;
	border-radius: 50%;
	opacity: 0.8;
	min-height: 45px;
	line-height:45px;
	min-width:120px;
	cursor: pointer;
	text-align: center;
	z-index: 2;
	position: absolute;
	color: black;
	font-family: helvetica;
	padding: 0.5em;
	font-size: 0.9em;
	-webkit-transition: -webkit-box-shadow 0.15s ease-in;
	-moz-transition: -moz-box-shadow 0.15s ease-in;
	-o-transition: -o-box-shadow 0.15s ease-in;
	transition: box-shadow 0.15s ease-in;
}
.nodeStop {
	border: 2px solid #ccc;
	-moz-border-radius: 0.5em;
	border-radius: 2em;
	padding-left:1em;
	padding-right:1em
	opacity: 0.8;
	min-height: 45px;
	line-height:45px;
	min-width:120px;
	cursor: pointer;
	text-align: center;
	z-index: 2;
	position: absolute;
	color: black;
	font-family: helvetica;
	padding: 0.5em;
	font-size: 0.9em;
	-webkit-transition: -webkit-box-shadow 0.15s ease-in;
	-moz-transition: -moz-box-shadow 0.15s ease-in;
	-o-transition: -o-box-shadow 0.15s ease-in;
	transition: box-shadow 0.15s ease-in;
}
