
* {margin: 0; padding: 0;}

body, html {
	min-height: 100%;
}

html {
	background: #e4eef0 url(../images/footer.jpg) bottom center repeat-x;
}
body {
	padding-top: 50px;
	background: url(../images/home.png) repeat-x;
	background-position: 0 -500px;
}

#control {
	background-color: white;
	border-radius: 4px;
	opacity: 0.9;
	box-shadow: 0 1px 10px rgba(0,0,0,.075);
}
.control-content,
.page-content {
	margin: 1em 0;
	padding: 1em 0;
}
.control-content {
	margin: 1em;
}

#brand {
	background: url(../images/logo.png) 0px 5px no-repeat;
	padding-left: 80px;
	height: 50px;
	line-height: 50px;
}

.page-content {
	border-radius: 4px;
	opacity: 0.9;
	box-shadow: 0 1px 10px rgba(0,0,0,.075);
	background: white;
}

#footer {
	height: 300px;
}

.alert-popup {
	display:none;
	position:absolute;
	top:20px;
	left:50%;
	width:600px;
	margin-left:-300px;
}

/*---------------------------*/

#member {
	background: white url(../images/member.png) top left repeat-x;
	padding: 0;
}
#member .profile {
	position: relative;
	margin-top: 1em;
	width: 160px;
}
#member .profile img {
	width: 160px;
	height: 160px;
}
#member .profile .glyphicon {
	position: absolute;
	top: 60%;
	left: 12px;
	/*margin: -32px 0 0 -12px;*/
	color: white;
	font-size: 24px;
	text-shadow: 0px 0px 10px rgba(150, 150, 150, 1);
}
#member .profile figcaption {
	text-align: center;
	margin-bottom: 10px;
}
#member img.avatar {
	width: 160px;
	height: 160px;
}
#member img.avatar-small {
	width: 30px;
	height: 30px;
}
#member img.avatar-medium {
	width: 60px;
	height: 60px;
}
#member .file-icon {
	word-break: break-all;
}
#member .nav-tabs {
	padding-top: 40px;
}
#member .tab-content {
	padding: 1.5em 0;
}

#member .media-object {
	width: 60px;
}

#member span.form-control {
	border: 0;
	box-shadow: none;
}
#member .form-group {
	position: relative;
}
#member div>a.action-btn {
	display: none;
	position: absolute;
	right: 30px;
	top: 5px;
	cursor: pointer;
	z-index: 999;
}
#member div:hover>a.action-btn {
	display: inline;
}

#member .personal-text {
	padding-top: 7px;
}
#member .personal-buttons input,
#member .personal-input {
	display:none;
}
#member .span-submit {
	cursor: pointer;
}
#member div.relations {
	position: relative;
	padding-bottom: 0.5em;
}
#member a:hover {
	text-decoration: none;
}
#member .caption {
	text-align: center;
	margin-top: 15px;
}

/*----------------------------------*/

#tree ul {
	padding-top: 20px;
	position: relative;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

#tree li {
	float: left;
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/* horizontal connectors */
#tree li::before, #tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
#tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}
#tree li:only-child::after, #tree li:only-child::before {
	display: none;
}
#tree li:only-child{
	padding-top: 0;
}
#tree li:first-child::before, #tree li:last-child::after{
	border: 0 none;
}
#tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
#tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/* vertical connectors */
#tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}
#tree li a{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	background-color: white;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/* hover effects */
#tree li a:hover, #tree li a:hover+ul li a {
	background: #c8e4f8;
	color: #000;
	border: 1px solid #94a0b4;
}
#tree li a:hover+ul li::after, 
#tree li a:hover+ul li::before, 
#tree li a:hover+ul::before, 
#tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}
