/*
 * Copyright (c) 2012 University of Washington, authors Jevin West and Michael Brooks
 */

html, body {
    margin:0;
    padding:0;
    font-family: 'Source sans pro' Helvetica, sans-serif;
    font-size: 12px;
    background-color:#FFFFFF;
}

/*Header Image*/
#headerimage {
	width: 100%;
	height: 150px;
	border-bottom: 1px solid #aaa;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#headerimage a {
    margin-left: auto;
	margin-right: auto;
    width: 700px;
    display: block;
}

h1 {
    font-size:2em;
    text-decoration:none;
    font-weight:normal;
    color:#000000;
}

h2 {
    font-size:1.3em;
    text-decoration:none;
    font-weight:normal;
    color:#000000;
}


#container {  
    width: 1000px;
    margin:auto;
    position:relative;
}

#left-bar {
    width:180px;
    height: 1000px;
    display: inline;
}

#left-input {
	margin-left: 20px;
	font-size: 14px;
}

#left-input a {
	text-decoration: none;
}

#left-input a.selected {
    border-style: solid; 
    border-width: 2px; 
    border-color: #F7941D; 
    padding: 4px
}

#left-input2 {
	margin-top: 88px;

}

#navd {
	margin-top: 30px;
	width: 200px;
	height: 80px;
}



/*Main Content Section*/
#content {
	float: left;
}

#header {
	margin-top: 20px; 
	width: 800px;
	height: 60px;
}


#navigator {
		position: relative;
        /* background-color:#bbbbbb; */
        /* color:#ccc; */
		/* border-style:solid; */
		/* border-width:1px; */
        margin-bottom: 10px;
		/* border-color: #F7941D; */
        /* border-color: #F7941D; */
}
#navigator:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow:hidden;
}

#parent-button {
    float: left;
    
    height: 448px;
    width: 29px;
    color: #888;
    border-style: solid;
    border-color: #ccc;
    border-width: 1px 0 1px 1px;
    
    background-color: #fff;
    position: relative;
}
#parent-button.enabled:hover {
    height: 446px;
    width: 26px;
    border-width: 2px;
    border-color: #F7941D;
}

#parent-button div {
    position: relative;
    width: 448px;
    height: 29px;
    line-height: 29px;
    
    left: -224px;
    margin-left: 14.5px;
    
    top: 224px;
    margin-top: -14.5px;
    
    overflow: visible;
    white-space:nowrap;
    cursor: default;
    
    text-align: center;
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
#parent-button.enabled:hover div {
    width: 447px;
    height: 26px;
    line-height: 26px;
    
    left: -223px;
    margin-left: 13px;
    
    top: 223px;
    margin-top: -12px;
}

#infovis {
    width: 770px;
    height:450px;
    float: left;
    background-color: #eee;
    position:relative;
    
    margin:0;
    padding: 0;
    overflow:hidden;
}

#historytree {
    position:relative;
    width:800px;
    height:200px;
    margin:0;
    padding: 0;
    overflow:hidden;
    background: #fff;
    /* border: 1px solid #ccc; */
    margin-bottom: 10px;
}


#details {
	width: 800px;
    min-height: 200px;
    /* border: 1px solid #ccc; */
    position: relative;
}

#details .placeholder {
    font-size: 30px;
    line-height: 30px;
    color: #ccc;
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
    margin: -15px;
}

#details ol, #details h2 {
    margin: 10px;
}
#details ol {
    padding-left: 25px;
}
#explanation {
	font-size: 14px;
	width: 800px;
  margin-bottom: 40px;
/*	border-top-style:solid;
	border-top-width:2px;
	border-top-color: #333333;*/
}

#moreInfo {
  font-size: 14px;
}

.footer {
    text-align: right;
    margin-bottom: 40px;
}



/*TOOLTIPS*/
.tip {
    color: #111;
    width: 139px;
    background-color: white;
    border:1px solid #ccc;
    -moz-box-shadow:#555 2px 2px 8px;
    -webkit-box-shadow:#555 2px 2px 8px;
    -o-box-shadow:#555 2px 2px 8px;
    box-shadow:#555 2px 2px 8px;
    opacity:0.9;
    filter:alpha(opacity=90);
    font-size:10px;
    font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
    padding:7px;
}




#update {
	float: left;
	display: inline;
}

.button {
  display: inline-block;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font: 14px / 100% Arial, Helvetica, sans-serif;
  padding: 0.5em 1em 0.55em;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

.button:hover {
  text-decoration: none;
}

.button:active {
  position: relative;
  top: 1px;
}

/* white */
.white {
  color: #606060;
  border: solid 1px #b7b7b7;
  background: #FFFFFF;
/*  background: #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
  background: -moz-linear-gradient(top,  #fff,  #ededed);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');*/
}

.white:hover {
  background: #ededed;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
  background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
}

.white:active {
  color: #999;
  background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
  background: -moz-linear-gradient(top,  #ededed,  #fff);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}


.tip {
   text-align: left;
   width:auto;
   max-width:500px;
}

.tip-title {
  font-size: 11px;
  text-align:center;
  margin-bottom:2px;
}

#left-input, #legendbox {
  float: left;
}

#legendbox ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
#legendbox li {
    line-height: 20px;
    font-size: 12px;    
}
#legendbox .swatch {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 5px;
}

#hoptree {
  clear:left;
  margin-top: 10px;

}

#male-swatch {
    background-color: hsl(233, 100%, 93%);
}
#legendbox li {
  float: left;
}
#female-swatch {
    background-color: hsl(11, 100%, 92%);
}
