@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);

.hm-gradient {
    background-color: #eee;
}
.darken-grey-text {
    color: #2E2E2E;
}


a.home, a:hover.home, a:active.home, a:visited.home{
	color:white;
	text-decoration:none;
}

body {
	font-family: 'Montserrat', sans-serif;
	
	background: url("../img/transparent-square-tiles.png") #efefef;
	
}


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.codrops-header__title{
	padding:20px 20px;
}

.small-image{
	display:none;
	margin:10px 0px;
	text-align:center;
}

.filler-image{
	display:none;
	margin:20px 0px;
}

.main-container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width:85%;
}

#9block.calendar-wrap-scroll{
	display:none
}

#graphic {
  padding-top: 40px;
}


#sections {
  position: relative;
  display: inline-block;
  font-weight: 500;
  width: 275px;
  top: 0px;
  z-index:10;
  padding-bottom: 250px;
  background:white;
  padding:20px 15px;
  background: -moz-linear-gradient(top, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.5) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255,255,255,0.25) 0%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(255,255,255,0.25) 0%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40ffffff', endColorstr='#4affffff',GradientType=0 ); /* IE6-9 */
}

.step {
  margin-bottom: 200px;
  font-family: "TiemposTextWeb-Regular","Georgia";
  font-size: 16px;
  line-height: 23px;
  color: #767678;
}

#sections .title {
  font-family: Arial,Helvetica,"san-serif";
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 2px;
  color: #262626;
  line-height: 1.2em;
}

#extra-space {
  height: 300px;
}

#vis, #tables {
  display: inline-block;
  position: fixed;
  top: 60px;
  z-index: -1;
  margin-left: 0;
  /* height: 600px; */
   width: 600px; 
  /* background-color: #ddd; */
}

 .overall-table, .gender-table, .skin-type-table, .subgroup-table {
	display: none;
}

#vis .title {
  font-size:120px;
  text-anchor: middle;
}

#vis .sub-title {
  font-size:80px;
  text-anchor: middle;
}

#vis .dataset-title {
  font-size:40px;
  text-anchor: middle;
}


#vis .results-table {
  display:none;
  max-width: 600px;
  min-width: 600px;
}

#vis .progress {
    height: 10px;
    margin-bottom: 0px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 1px;
}

#vis th{
  vertical-align: middle;
}

#vis tr {
    background-color: #ffffff;
    opacity: .8;
}


#vis tr:hover {
    background-color: #ffffff;
    opacity: 1;
}


/*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
    	#vis { display: inline-block; }
    	.main-container {
   			width:80%;
		}

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
    
		#vis { display: inline-block; }
		
		.main-container {
   			width:90%;
		}

    }


	 /*  */
    @media only screen and (max-width : 890px) {

		#vis { display: inline-block; }
		
		.main-container {
   			width:100%;
		}
		
		
		#sections{
   			width:23%;
		}
	}
		
		
		
    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {

		#vis { 
			display: inline-block; 
			position: fixed;
			left: 7%;
			top: 25%;
		}
		
		.main-container {
   			width:85%;
		}
		
		
		
		#sections{
   			width:605px;
   			background:none;
   			
		}
		
		
		section{
   		
   			background:white;
   			padding: 20px;
		}
    }
    
    
      /* Small Devices, Tablets */
    @media only screen and (max-width : 680px) {

		#vis { 
			display: inline-block; 
			position: fixed;
			left: 0px;
			top: 25%;
		}
		
		.main-container {
   			width:100%;
		}
		
		
		
		#sections{
   			width:605px;
   			
		}
		
		
		section{
   		
   			background:white;
   			padding: 20px;
		}
    }
    
    
     /* Small Devices, Tablets */
    @media only screen and (max-width : 600px) {

		#vis { 
			display: inline-block; 
			position: fixed;
			left: -30px;
			top: 25%;
		}
		
		.main-container {
   			width:100%;
   			padding: 0px;
		}

		.codrops-header__title{
			padding:20px 10px;
		}
		
		
		#sections{
   			width:605px;
   			
		}
		
		
		section{
   		
   			background:white;
   			padding: 20px;
		}
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 540px) {
    	#vis { 
			display: inline-block; 
			position: fixed;
			left: -10%;
			top: 15%;
		}
		
		.codrops-header__title{
			padding:10px;
		}
    	
    	.openvis-title, .dataset-title, .dataset-image, .companies-image, .dm-image, .df-image, .lm-image, .lf-image,
    	.harms-image, .books-image, .codrops-demos a.explore , .explore{
    		display:none;		
    	}
    	
    	
    	.small-image, .filler-image{
    		display:block;		
    	}
    	
    	.main-container {
   			width:100%;
   			margin-top:0px;
		}
		
		#graphic{
			padding-top:0px;
		}
		
		
		#sections{
   			width:100%;
   			padding:0px;
   			margin:0px;
		}
		
		section{
   		
   			background:white;
   			padding: 60px; 30px;
		}
		
		#vis .results-table {
			max-width: 450px;
			min-width: 450px;
			margin-left:auto;
			margin-right:auto;
		}

    }
    
    
     /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 500px) {
    
		
		#vis .results-table {
			max-width: 440px;
			min-width: 440px;
			margin-left:auto;
			margin-right:auto;
		}

    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 400px) {
    
    	#vis { 
			display: inline-block; 
			position: fixed;
			left: -30%;
			top: 25%;
		}
    	
    	.openvis-title, .dataset-title, .dataset-image, .companies-image,
    	.harms-image, .books-image, .codrops-demos a.explore, .explore{
    		display:none;		
    	}
    	
    	
    	.small-image, .filler-image{
    		display:block;		
    	}
    	
    	
    	.main-container {
   			width:100%;
   			margin-top:0px;
		}
		
		#graphic{
			padding-top:0px;
		}
		
		
		#sections{
   			width:100%;
   			padding:0px;
   			margin:0px;
   			padding-bottom: 200px;
		}
		
		
		#vis .results-table {
			position: fixed;
			max-width: 400px;
			min-width: 400px;
			left: 0px;
			top: 15px;
		}
		
		#vis .subgroup-table {
			position: fixed;
			max-width: 440px;
			min-width: 440px;
			left: 0px;
			top: 15px;
		}
		
		#vis .msft{
			max-width:100px;
			
		}

    }



.axis path,
.axis line {
  fill: none;
  stroke: #666;
  shape-rendering: crispEdges;
}

.highlight {
  fill: #008080;
  font-weight: bold;
}

.cough-arrow {
  stroke: #000;
  stroke-width: 4px;

}


