/************************************************************************/
/*												 						*/
/*			             PCRD Data Viz Styles				 			*/
/*												 						*/
/************************************************************************/

/*
	Main Colors: #d4dde1 (gray), 
*/



/*************************************************/
/*												 */
/*			   	  1. All Pages	 			     */
/*												 */
/*************************************************/

html, body {

	margin: 0 auto;
    height:100%;

}

a{
    font-family: 'Ubuntu';
}


#wrapper{
    position: relative;
    height:100%;
}


#footer{
    width:100%; clear:both; margin:0; height:24px; border-top:1px solid #dcdcdc; position:fixed;
    bottom:0px;
    background: #e3e3e3;
    background: -moz-linear-gradient(top,  #e3e3e3 0%, #f0f0f0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(100%,#f0f0f0));
    background: -webkit-linear-gradient(top,  #e3e3e3 0%,#f0f0f0 100%);
    background: -o-linear-gradient(top,  #e3e3e3 0%,#f0f0f0 100%);
    background: -ms-linear-gradient(top,  #e3e3e3 0%,#f0f0f0 100%);
    background: linear-gradient(to bottom,  #e3e3e3 0%,#f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#f0f0f0',GradientType=0 );
}

#header{
    height: 25px; 
    width: 100%; 
    position: fixed;
    top: 0;
    background-image:url(../images/stripes.png);
    background-image:repeat top;
    margin-bottom: 35px;
    z-index: 999;
}

/*************************************************/
/*				 1a. Back Button	   		     */
/*************************************************/

#backBtn{
    width: 200px; 
    height:35px; 
    background-color: #34bfd5; 
    font-weight:bold;
    position: fixed; 
    left: 5%; 
    top: 25px; 
    color: white;
    font-family: 'Ubuntu';
    border:none;
}

#backBtn p{
    text-align: center; 
    padding-top: 6px;
    font-family: 'Ubuntu';
    color:white;

}

#backBtn a{
    text-decoration: none;
}

#backBtn:hover  {
    color: black;
    background-color: #e7e6e6;
    -webkit-transform: scale(1.1,1.1);
    cursor: pointer;
    
}

#myBtn:hover  {
    color: black;
    background-color: #e7e6e6;
    -webkit-transform: scale(1.1,1.1);
    cursor: pointer;
    
}

/*************************************************/
/*				   1c. Tooltips 				 */
/*************************************************/

#tooltip {   
	position: absolute;           
	text-align: center;           
	width: 200px;                  
	height: auto;                 
	padding: 2px;    
    color:white;
    font-weight:bold;         
	font: 7px sans-serif;        
	background: #99cc33;   
	-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	z-index: 999;
}

#tooltipPie {   
    position: absolute;           
    text-align: center;           
    width: 150px;                  
    height: auto;                 
    padding: 2px;    
    color:white;
    font-weight:bold;         
    font: 7px sans-serif;        
    background: #99cc33;   
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 999;
}


#tooltipBubble {   
	position: absolute;           
	text-align: center;           
	width: 300px;                  
	height: auto;                
	padding: 2px;    
    color:white;
    font-weight:bold;         
	font: 7px sans-serif;        
	background: #99cc33;   
	-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	z-index: 999;
}

#tooltipPie {   
	position: absolute;           
	text-align: center;           
	width: 300px;                  
	height: auto;                 
	padding: 2px;             
	font: 7px sans-serif;        
	background: #99cc33;   
	-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	z-index: 999;
}

#tooltipBar {   
	position: absolute;           
	text-align: center;           
	width: 200px;                  
	                 
	padding: 2px;             
	font: 7px sans-serif;        
	background: #99cc33;   
	-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	z-index: 999;
}

#tooltipLabor {   
	position: absolute;           
	text-align: center;           
	width: 200px;                  
	height: auto;                 
	padding: 2px;             
	font: 7px sans-serif;        
	background: #99cc33;   
	-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
	z-index: 999;
}

#tooltip.hidden, #tooltipPie.hidden, #tooltipBubble.hidden, #tooltipBar.hidden, #tooltipLabor.hidden {
    display: none;
}

#tooltip p, #tooltipPie p, #tooltipBubble p, #tooltipBar p, #tooltipLabor p{
	margin: 0;
    color:white;
    font-weight:bold;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 20px;
}

/*************************************************/
/*				1d. Help Button 				 */
/*************************************************/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    font-family: 'Ubuntu';
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight:bolder;
}

.close:hover,
.close:focus {
    color: black;
    font-weight:bolder;
    text-decoration: none;
    cursor: pointer;
}

#myBtn{
    width: 200px; 
    height:35px; 
    background-color: #34bfd5; 
    position: fixed; 
    left: 80%; 
    top: 25px; 
}

#myBtn:hover  {
    color: black;
    background-color: #e7e6e6;
    -webkit-transform: scale(1.1,1.1);
    cursor: pointer;
}

#myBtn p{
    padding-top:6px;
    text-align: center;
    color:white;
    font-weight:bold;
    font-family: 'Ubuntu', serif;
}

/*************************************************/
/*												 */
/*			   	   2. Main Page	 			     */
/*												 */
/*************************************************/

/*************************************************/
/*				  2a. Indiana Map	   		     */
/*************************************************/

/* stroke for the counties */
path {
	stroke: gray;
}

.county:hover{
	pointer-events: all;
}

/* set dimensions for indiana map */
#indiana {
	height: 600px;
	width: 500px;
	overflow: visible;
	position: fixed;
    margin:0 auto;
    top:20px;
    right:20%;
}

/* set dimensions for overlay */
#overlay {
	position: absolute;
	top: 0px;
	left: 0;
}
#regionLabelSvg {
	position: absolute;
	top: 0px;
	left: 0;
}


.rotate {
	-ms-transform: rotate(6deg); /* IE 9 */
    -webkit-transform: rotate(6deg); /* Chrome, Safari, Opera */
    transform: rotate(6deg);
    width: 400px;
    margin: 0 auto;
    position:fixed;
    top:20px;
    right:25%;
}

#selectCountyButton:focus, #region:focus{
    outline:none;
}

.buttons {
	position: relative;
	top: 10%;
	margin-top: 35px;
}

#legend {
	position: absolute;
	top: 50%;
	right: 15%;
}

.regionLabels, .regNum{
	 
	z-index: 9999;
	/*display:none; */
	 
}

/*************************************************/
/*				  	2b. Menus 				     */
/*************************************************/

.panel {
	position: absolute;
    top:20px;
    width: 200px;
}

/* set position of radio options */
.radios {
	position: relative;
	left: 30px;
}

.dropdown-menu>li {	
	position:relative;
	-webkit-user-select: none; /* Chrome/Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */
	/* Rules below not implemented in browsers yet */
	-o-user-select: none;
	user-select: none;
	cursor:pointer;
}

.dropdown-menu .sub-menu {
    right:20%;
    position: absolute;
    top: 0;
    display:none;
    margin-top: -1px;
	border-left-color:#fff;
	box-shadow:none;
}

.dropdown {
    padding: 10px;
}


/*************************************************/
/*												 */
/*		    3. County and Region Pages 		     */
/*												 */
/*************************************************/

/*************************************************/
/*				 3a. County Page	   		     */
/*************************************************/

.countysolo {
	fill: #e7b200;
	stroke: gray;
	opacity: 0.9;
}

#countysvg {
	overflow: visible;
	position: relative;
}

#countybox{
	height: 300px;
	width: 300px;
	overflow: visible;
	position: absolute;
	left: 0px;
	top: 20px;
}

.arc text {
  font: 10px sans-serif;
  text-anchor: middle;
}

.arc path {
  stroke: #fff;
}

.line {
  fill: none;
  stroke: steelblue;
  stroke-width: 1.5px;
  font-size: 14pt;
}

.grid {
	fill: none;
	stroke: gray;
	shape-rendering: crispEdges;
	font-size: 14pt;
}

#regionName{
    font-family: 'Ubuntu';
    text-align: center;
}

#pieLegend {
	position: absolute;
	bottom: 0;
	left: 10px;
}

/*************************************************/
/*				   	   Menu 				     */
/*************************************************/

#main-nav {
	position: relative;
	left: 0;
	top: 0;
    font-family: 'Ubuntu';
}

#main-nav > ul {
    list-style-type: none;
    padding: 0;
    position: absolute;
    top: 5px;
    left: -170px;
    font-family: 'Ubuntu';
}

#main-nav > ul  > li {
    float: left;
    background-color: #42aecc;
    border-right: 1px solid #34bfd5;
    font-family: 'Ubuntu';
}

.main-nav > ul  > li+li {
    border-left: 1px solid #999;
    margin : 0px;
    font-family: 'Ubuntu';
}

.main-nav > ul  > li+li:hover{
    margin-right:40px;
    font-family: 'Ubuntu';

}

#main-nav > ul > li > a,
.main-nav-sub > li > a {
    text-decoration: none;
    white-space: nowrap;
    display: block;
    color: white;
    font-family: verdana, sans-serif;
    font-size: 1.0em;
    padding: 10px 20px;
    font-family: 'Ubuntu';
}

#main-nav > ul > li:hover > a, .main-nav > ul > li:hover > a {
    color: #000;
    font-weight:bold;
    background-color: #e7e6e6;
    -webkit-transform-origin: 0% 100%; /* Chrome, Safari, Opera */
    -webkit-transform: scale(1.5,1.5); 
    font-family: 'Ubuntu';
}

#main-nav > ul > li > a.active {
    background-color: #e7e6e6;
    color: #000;
    text-align: center;
    font-family: 'Ubuntu';
}

/* NOTE: THIS IS WHERE THE DROP-DOWN BECOMES A DROP-UP */
.main-nav-sub {
    position: absolute;
    bottom: 100%;
    z-index: -999;
    opacity: 0;
        filter: alpha(opacity=0); /* IE older versions */
        zoom: 1;  /* IE older versions */
    font-family: 'Ubuntu';
}

#main-nav > ul > li:hover > .main-nav-sub {
    z-index: 100;
    opacity: 1;
        filter: alpha(opacity=100); /* IE older versions */
        zoom: 1;  /* IE older versions */

    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -ms-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
    font-family: 'Ubuntu';
}

/*************************************************/
/*				 3b. Region Page	   		     */
/*************************************************/

#snapshot{
    margin: 30px 0 0 50px;
    width: 250px;
    position: absolute;
    top: 85%;
    transform: translate(0, -85%);
}

#snapshot p{
    padding-left: 10px;
    padding-top: 10px;
    font-family: 'Ubuntu';
}

#regionbox {
	left: 50%;
	top: 30%;
	position: absolute;
	transform: translate(-35%, -50%);
	width: 200px;
	height: 200px;
}

#regiong {
	position: absolute;
	left: 50%;
	top: 50%;
	position: absolute;
}

#regionsvg {
	overflow: visible;
}

#regionPanel{
    margin:20px;
    width:300px; 
    height:300px; 
    position:relative; 
}

#regionPanelHead{
	background-color:#cc6633;
}

.radioBubble {
	position: absolute;
	top: 10px;
	margin: 0 auto;
	left: 20px;
}

#eduTitle {
	position: relative;
	top: -20px;
	margin: 0 auto;
	width: 300px;
	height: 50px;
}

/*************************************************/
/*					 3c. Both	   		         */
/*************************************************/

.info h1{
    font-family: "Ubuntu";
    text-align: center;
}

#duplicater{
    position: absolute; 
    top: 100px; 
    left: 550px; 
    width: 500px;
    margin-left: 10%; 
}

#duplicater1{
    position: absolute; 
    top: 600px; 
    left: 550px; 
    width: 500px;
    height: 550px; 
    margin-bottom: 150px;   
}

#duplicater2{
    position: absolute; 
    top: 1100px; 
    left: 550px; 
    width: 500px; 
    height: 550px;
    margin-bottom: 150px;
}

#graphs{
    position: relative; 
    /*top: 135px; */
    left: -170px;
    margin-top:40px;
    width: 650px; 
    height: 450px;  
    background-color: #e7e6e6;
}

.description {
	position: absolute;
	top: 75%;
	width: 325px;
	height: 150px;
    font-family: 'Ubuntu';
    text-align: justify;
    font-weight: bold;
}

#countyNames{
    top:30px;
}

.axis {
	font: 10px sans-serif;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.info{
    position: relative; 
    left: 40px; 
    top: 110px; 
    width: 300px; 
    height: 500px;
}

.chart {
	position: absolute;
	left: 50%;
  	top: 50%;
  	transform: translate(-50%, -50%);
  	display: inline-block;
}

.title {
	width: 650px;
	height: 80px;
	margin-top: 10px;
	padding-top: 10px;
	text-align: center;
}

#duplicateButton {
	position: fixed; 
	top: 520px; 
	left: 1050px;
}

#duplicateButton:hover {

}

#DeleteButton {
	position: fixed; 
	top: 580px; 
	left: 1050px;

}

#graphs h3{
    font-family: 'Ubuntu';
}