/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
    }
body {
	line-height: 1;
	overflow: hidden;
    }
ol, ul {
	list-style: none;
    }
blockquote, q {
	quotes: none;
    }
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
    }
table {
	border-collapse: collapse;
	border-spacing: 0;
    }

/* Typography */

body,
input,
textarea {
    font: 14px/20px 'lato', serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
    }

pre,
code { font:normal 12px/20px monospace; }

h1, h2, h3, h4, h5, h6 { 
    margin: 0;
    }
    
h1 {
    text-transform: uppercase;
    line-height: 1em;
    font-size: 1.7em;
    font-weight: bold;
    color: #3D716F;
    }

a {
    color:#3D716F;
    text-decoration:none;
    }
em {
   font-style: italic;
}
strong {
   font-weight: bold;
}


/* Layout */

h1 {
    display: block;
    margin: 0 0 10px 0;
    }

p {
    margin-bottom: 20px;
    }

body > div {
    position: relative;
    z-index: 1;
    }

.map {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
    }

#search {
    height: 30px;
    margin-bottom: 20px;
    }

form.geocode input[type=text] {
    font-size: .85em;
    color: #333;
    height: 18px;
    width: 200px;
    display: block;
    float: left;
    padding: 5px;
    margin: 0;
    border: 1px solid  #ccc;
    }
    
form.geocode input[type=submit] {
    background: #2da0ef url(../img/search.png) no-repeat -0px -0px;
    text-indent: -9999px;
    width: 30px;
    height: 30px;
    display: block;
    border: none;
    margin: 0;
    padding: 0;
    float: left;
    cursor: pointer;
    }
    
    form.geocode input[type=submit]:hover { background-color:#333; }
	form.geocode input[type=submit]:active { background-color:#000; }
	
form.geocode.loading input[type=submit] {
    background: url(img/ajax-loader.gif) no-repeat 50% 50%;
    border-color:#bbb;
    background-color:#ddd;
    box-shadow:inset rgba(0,0,0,0.1) 0px 1px 3px;
    -moz-box-shadow:inset rgba(0,0,0,0.1) 0px 1px 3px;
    -webkit-box-shadow:inset rgba(0,0,0,0.1) 0px 1px 3px;
    }
    
#geocode-error {
    display: none;
    float: left;
    position: relative;
    top: 1em;
    margin-left: 20px;
    color: #e34f4f;
    font-size: 1em;
    line-height: 0em;
    }
    
a.zoomer {
	position: absolute;
    top: 10px;
    }

/* Map */

.wax-tooltip {
    border:none;
    background:none;
    border-radius:none;
    -moz-border-radius:none;
    -webkit-border-radius:none;
    box-shadow:none;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    left: auto;
    top: 52px;
    right: 80px;
    border: none;
    color: #000;
    margin-left: -100px;
    line-height: 16px;
    margin-bottom: 20px;
    overflow: visible;
    z-index: 2;
    padding: 10px 10px;
    background: rgb(238,238,238); /* old ie */
    background: rgba(238,238,238,.9);
    border-style: solid;
    font: 12px 'lato', sans-serif;
    line-height: 18px;
    border: 1px solid #ccc;
    }
.wax-tooltip a {
	color: #777;
}   
/*
.wax-tooltip .inner {
    padding: 10px 10px;
    background: #eee;
    border-style: solid;
    z-index: 2;
    font: 12px 'lato', sans-serif;
    line-height: 18px;
    border: 1px solid #ccc;
    }
*/
.wax-tooltip .country {
   font-weight: bold;
   font-size: 15px;
}
.wax-tooltip .row-rate td.value-description  {
   padding: 0 0 8px 0;
}
.wax-tooltip .inner:first-letter {
    text-transform: uppercase;
    }
.wax-tooltip td.value {
	width: 90px;
	color: #111;
	font-weight: bold;
}
.wax-tooltip td.value-description {
	width: 250px;
	color: #111;
}
.wax-tooltip .rate {
    font-size: 20px;
    margin: 0 auto;
    color: #333;
    font-weight: bold;
    line-height: 0;
    display: block;
    height: 25px;
}
.wax-tooltip .data-credit,
.row-credit-3 {
	color: #999;
	font-size: 10px;
	display: block;
	line-height: 12px !important;
}
.wax-tooltip .row-credit-1 td {
    padding-top: 10px;
}
.wax-tooltip .country {
	height: 25px;
	display: block;
}
.wax-tooltip .row-credit-3 {
    display: none;
}
.wax-tooltip .desc2 { font-style: italic; }

.wax-tooltip .offense { font-weight: 700; }

.wax-tooltip .tip {
    background: #111;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    top: -5px;
    left: 50%;
    margin-left: -14px;
    z-index: -10;
    }

.wax-tooltip.flip-y {
    margin-top: 20px;
    margin-bottom: auto;
    }

.wax-tooltip.flip-y .tip {
    position: absolute;
    margin-top: 5px;
    background: #111;
     z-index: -10;
    }

.wax-legends {
    overflow-x: hidden;
    font-size: 11px;
	font: .9em/1.5em 'lato', sans-serif;
    }
    
.wax-legends a {
    color: rgb(51, 51, 51);
    }

.wax-legends .wax-legend {
    width: 680px;
    }

.wax-legends .scale img { 
    float: left; 
    }

.legend-title {
	font-weight: normal !important;
}

.wax-legend .scale {
    width: 100%;
    margin-bottom: 0;
    }
    
.wax-legend > div {
    clear: both;
    } 
    
.wax-legend .scale span {
    display: block;
    width: 30px;
    float: left;
    text-align: center;
    font-size: 9px;
    }

.wax-legends .scale label {
    display: block;
    margin-bottom: 5px;
    }

.wax-legend .scale > div {
    }

.wax-attribution {
    bottom: 0px;
    }

.wax-share h3 {
    margin: 0px 0px 10px;
    font-size: 16px;
    font-weight: normal;
    }

.wax-share strong {
    font-weight: 700;
    }

.wax-share small {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 0.5em;
    }

.share {
    top: 87px;
	}
	
.zoomer {
    right: 39px;
    top: 52px !important;
    z-index: 200;
	}
	
.zoomin {
    right: 10px;
    top: 52px !important;
	}  
	
.mmg-default {
    width: 20px;
    height: 40px;
    background: url(../img/map.png) -120px -30px;
    left: -10px;
    top: -30px;
	}
	
#branding {
	position: absolute;
    height: 145px;
    width: 150px;
    left: 0;
    float: left;
    background: url(../img/logo.png) 30px 60px no-repeat;
	}
    
    
    
    
    
#header {
    background: rgb(238,238,238); /* old ie */
    background: rgba(238,238,238,.9);
    border-bottom: 1px solid #ccc;
    position: absolute;
    height: 23px;
    top: 0px;
    width: 100%;
    padding: 10px 0 5px 0;
    color: #111;
    font: 13px 'lato', sans-serif;
    z-index: 1000;
}
h2.site-title {
    float: left;
    font-size: 16px;  
}
h2.site-title a {
    color: #000 !important;
    display: block;
    padding: 0 0 0 10px;
}
h2.site-title a:hover {
	color: #444 !important;
}
.credit, .overlay-links {
    display: block;
    float: right;
    padding: 0 20px 0 0;  
}
.credit a {
   color: #555;
}
.credit {
	position: absolute;
	right: 80px;
	top: 12px;
	color: #555;
}
.overlay-link {
   border-radius: 3px;
   background: #ccc;
   padding: 3px 4px;
   color: #fff;
   position: absolute;
   top: 9px;
   right: 10px;
}
.overlay-link:hover {
   background: #aaa;
}
#content-wrapper {
	position: absolute;
	width: 100%;
	bottom: 45px;
	left: 0;
    background: rgb(238,238,238); /* old ie */
    background: rgba(238,238,238,.9);
    border-top: 1px solid #ccc;
    z-index: 4;
    padding: 10px 0;
    }
#intro {
    font: .9em/1.5em 'lato', sans-serif;
    padding: 10px 20px;
    width: 45%;
    float: left;
    height: 130px;
}
.layer-intro {
   display: none;
}
#legend {
    width: 45%;
    float: right;
    padding: 10px 20px;
}
#about {
    margin-left: 150px;
    width: 689px;
    float: left;
    padding: 0 20px;
    border-left: 1px solid #bbb;
    }



/* Cancers */    
.layers a {
    padding: 12px 10px;
    background: #f1f1f1;
    color: #3D716F;
    font: 14px 'lato';
    width: 65px;
    float: left;
    text-align: center;
    font-weight: bold;
}
#cancer.layers a:hover {
    color: #fff !important;
}
.layers#cancer { 
	position: absolute; 
	top: -42px;
	left: 340px;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc; 
	border-left: 1px solid #ccc; 
	z-index: 3; 
}
#all_incidence a#all,
#all_mortality a#all,
a#all:hover {
	background: #3D716F;
	color: #fff;
}
#breast_incidence a#breast,
#breast_mortality a#breast,
a#breast:hover {
	background: #94254F;
	color: #fff;
}
#cervix_incidence a#cervix,
#cervix_mortality a#cervix,
a#cervix:hover {
	background: #943225;
	color: #fff;
}
#liver_incidence a#liver,
#liver_mortality a#liver,
a#liver:hover {
	background: #314D73;
	color: #fff;
}
#lung_incidence a#lung,
#lung_mortality a#lung, 
a#lung:hover {
	background: #614970;
	color: #fff;
}
#prostate_incidence a#prostate,
#prostate_mortality a#prostate,
a#prostate:hover {
	background: #9D561C;
	color: #fff;
}
#stomach_incidence a#stomach,
#stomach_mortality a#stomach,
a#stomach:hover {
	background: #AC850D;
	color: #fff;
}
.layers#indicator { 
	position: absolute; 
	left: 20px; 
	top: -42px;
	border-right: 1px solid #ccc; 
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
}
#indicator a:hover {
	background: #444;
	color: #fff !important;
}
#all_incidence a#incidence,
#all_mortality a#mortality {
	background: #3D716F;
	color: #fff;
}
#breast_incidence a#incidence,
#breast_mortality a#mortality {
	background: #94254F;
	color: #fff;
}
#cervix_incidence a#incidence,
#cervix_mortality a#mortality {
	background: #943225;
	color: #fff;
}
#liver_incidence a#incidence, 
#liver_mortality a#mortality {
	background: #314D73;
	color: #fff;
}
#lung_incidence a#incidence,
#lung_mortality a#mortality {
	background: #614970;
  	color: #fff;
}
#prostate_incidence a#incidence, 
#prostate_mortality a#mortality {
  	background: #9D561C;
  	color: #fff;
}
#stomach_incidence a#incidence, 
#stomach_mortality a#mortality {
  	background: #AC850D;
  	color: #fff;
}



/* Stories */
#stories {
   bottom: 0px;
   position: absolute;
   width: 100%;
   background: #444;
   z-index: 100;
   height: 45px;
}
#story-list li {
   width: 12.5%;
   float: left;
   overflow; hidden;
}  
.story {
   display: block;
   font: 12px 'lato', sans-serif;
   /* background: url(../img/ui-sprite.png) -120px 0px; */
   float: left;
   padding: 7px 10px 5px 20px;
   height: 33px;
   color: #fff;
}
.story-intro { 
   background: #fff;
   padding: 7px 10px 0 20px;
   height: 34px;
   display: block;
   font-weight: bold;
   line-height: 1.2;
   font-size: 13px;
   text-align: right;
   color: #333;
}
#story-list a:hover {
	color: #fff;
}
#story-list li:hover {
	background: #555;
}
#all_incidence .story1, 
#all_incidence .story1, 
#all_incidence .story5, 
#all_incidence .story5,
#all_mortality .story1, 
#all_mortality .story1,
#all_mortality .story5, 
#all_mortality .story5 {
	background: #3D716F;
}
#breast_incidence .story2,
#breast_incidence .story6, 
#breast_mortality .story2,
#breast_mortality .story6 {
	background: #CA336C;
}
#cervix_incidence .story3,
#cervix_incidence .story4,  
#cervix_mortality .story3,
#cervix_mortality .story4 {
	background: #CA4533;
}

#liver_incidence .story4,  
#liver_mortality .story4 {
	background: #407FBF;
}
#lung_incidence .story7, 
#lung_mortality .story7 {
	background: #856499;
}
/*
#prostate_incidence .story3, 
#prostate_incidence .story6, 
#prostate_mortality .story3, 
#prostate_mortality .story6 {
	background: #9D561C;
}
*/
#stomach_incidence .story4, 
#stomach_mortality .story4 {
	background: #AC850D;
}



/* Layer titles */
#all_incidence h1,
#all_mortality h1,
#all_incidence h2.site-title a,
#all_mortality h2.site-title a,
#all_incidence .layers a,
#all_mortality .layers a,
#all_incidence .wax-tooltip .rate, 
#all_mortality .wax-tooltip .rate, 
#all_incidence .wax-tooltip .country, 
#all_mortality .wax-tooltip .country,
#all_incidence .layer-intro a,
#all_mortality .layer-intro a {
	color: #3D716F;
}
#breast_incidence h1,
#breast_mortality h1,
#breast_incidence h2.site-title a,
#breast_mortality h2.site-title a,
#breast_incidence .layers a,
#breast_mortality .layers a,
#breast_incidence .wax-tooltip .rate, 
#breast_mortality .wax-tooltip .rate, 
#breast_incidence .wax-tooltip .country, 
#breast_mortality .wax-tooltip .country,
#breast_incidence .layer-intro a,
#breast_mortality .layer-intro a {
	color: #94254F;
}
#cervix_incidence h1,
#cervix_mortality h1,
#cervix_incidence h2.site-title a,
#cervix_mortality h2.site-title a,
#cervix_incidence .layers a,
#cervix_mortality .layers a,
#cervix_incidence .wax-tooltip .rate, 
#cervix_mortality .wax-tooltip .rate, 
#cervix_incidence .wax-tooltip .country, 
#cervix_mortality .wax-tooltip .country,
#cervix_incidence .layer-intro a,
#cervix_mortality .layer-intro a {
	color: #943225;
}
#liver_incidence h1,
#liver_mortality h1,
#liver_incidence .layers a,
#liver_mortality .layers a,
#liver_incidence h2.site-title a,
#liver_mortality h2.site-title a,
#liver_incidence .wax-tooltip .rate, 
#liver_mortality .wax-tooltip .rate, 
#liver_incidence .wax-tooltip .country, 
#liver_mortality .wax-tooltip .country,
#liver_incidence .layer-intro a,
#liver_mortality .layer-intro a {
	color: #314D73;
}
#lung_incidence h1,
#lung_mortality h1,
#lung_incidence .layers a,
#lung_mortality .layers a,
#lung_incidence h2.site-title a,
#lung_mortality h2.site-title a,
#lung_incidence .wax-tooltip .rate, 
#lung_mortality .wax-tooltip .rate, 
#lung_incidence .wax-tooltip .country, 
#lung_mortality .wax-tooltip .country,
#lung_incidence .layer-intro a,
#lung_mortality .layer-intro a {
	color: #614970;
}
#prostate_incidence h1,
#prostate_mortality h1,
#prostate_incidence .layers a,
#prostate_mortality .layers a,
#prostate_incidence h2.site-title a,
#prostate_mortality h2.site-title a,
#prostate_incidence .wax-tooltip .rate, 
#prostate_mortality .wax-tooltip .rate, 
#prostate_incidence .wax-tooltip .country, 
#prostate_mortality .wax-tooltip .country,
#prostate_incidence .layer-intro a,
#prostate_mortality .layer-intro a {
	color: #9D561C;
}
#stomach_incidence h1,
#stomach_mortality h1,
#stomach_incidence .layers a,
#stomach_mortality .layers a,
#stomach_incidence h2.site-title a,
#stomach_mortality h2.site-title a,
#stomach_incidence .wax-tooltip .rate, 
#stomach_mortality .wax-tooltip .rate, 
#stomach_incidence .wax-tooltip .country, 
#stomach_mortality .wax-tooltip .country,
#stomach_incidence .layer-intro a,
#stomach_mortality .layer-intro a {
	color: #AC850D;
}


/* Data link */
.overlay-link:hover {
  	background: #555 !important;
}
#all_incidence .overlay-link,
#all_mortality .overlay-link {
	background: #3D716F;
}
#breast_incidence .overlay-link,
#breast_mortality .overlay-link {
	background: #94254F;
}
#cervix_incidence .overlay-link,
#cervix_mortality .overlay-link {
  background: #CA4533;
}
#liver_incidence .overlay-link,
#liver_mortality .overlay-link {
	background: #407FBF;
}
#lung_incidence .overlay-link,
#lung_mortality .overlay-link {
	background: #856499;
}
#prostate_incidence .overlay-link,
#prostate_mortality .overlay-link {
	background: #9D561C;
}
#stomach_incidence .overlay-link,
#stomach_mortality .overlay-link {
	background: #AC850D;
}


    
/* embed */
#fullscreen {
	position: absolute;
	top: 39px;
	right: -5px;
	display: block;
	z-index: 2;
	background: #444;
	padding: 4px 7px;
	color: #fff;
    z-index: 100;
    box-shadow: 3px 3px 3px #222;
    outline: none;
}
#fullscreen {
	display: none;
}
#fullscreen:hover {
	background: #222;
}


/* UI elements */
#back {
     position: absolute;
     left: -5px;
     top: 39px;
     z-index: 10;
     display: block;
     background: #444;
     padding: 4px 7px;
     color: #fff;
     box-shadow: 3px 3px 3px #222;
}
#back:hover {
     background: #222;
     color: #FFF !important;
}
#pri, #pulitzer-center {
     width: 60px;
     height: 60px;
     position: absolute;
     z-index: 1;
     font-size: 11px;
     border-width: 1px 1px 1px 1px;
     border-style: solid;
     border-color: #ccc;
     text-indent: -9999px;
     outline: none;
     display: none;
}
#pri {
    left: 10px;
    top: 10px;
    background: #fff url("../img/ui-sprite.png") no-repeat;
    background-position: 0 -60px;
}
#pri:hover {
    background-position: 0 -60px;
}
#pulitzer-center {
    right: 10px;
    bottom: 10px;
    background: #fff url("../img/ui-sprite.png") no-repeat;
    background-position: -60px -60px;
}
#pulitzer-center:hover {
    background-position: -60px -60px;
}
.data-notes #data-notes {
    display: block;
}
#data-notes {
    background: #fff\9;
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999999;
    display: none;
}
#data-notes div {
    height: 400px;
    overflow: hidden;
    left: 25%;
    top: 20%;
    width: 50%;
    position: absolute;
    font: 13px 'lato', sans-serif;
    line-height: 1.4;
    color: #555;
}
#data-notes h1 {
    font-size: 26px;
    text-transform: none;
    margin-bottom: 25px;
}
#data-notes div p {
    width: 95%;
}
#data-notes div a {
    color: #777;
}
#content-toggle {
   	position: absolute;
   	top: -1px;
   	right: 20px;
   	display: block;
   	height: 16px;
   	color: #999;
   	font-size: 12px;
   	text-transform: uppercase;
   	padding: 2px 20px 2px 3px;
   	border: 1px solid #ccc;
   	background: #eee url("../img/ui-sprite.png") no-repeat;
   	background-position: right 3px;
   	border-radius: 0 0 4px 4px;
   	outline: none;
}
#content-toggle:hover {
    opacity: 0.8;
}
.ui-minimize #content-toggle {
   	background-position: right -13px;
}  
#intro a:hover {
   	text-decoration: underline;
}
.prev-layer:hover, 
.next-layer:hover {
    text-decoration: underline;
}
.ui-minimize #intro .layer-description, 
.ui-minimize #stories {
   display: none;
}

.ui-minimize #content-wrapper {
   	bottom: 0px;
   	height: 100px;
}
.wax-share div {
	top: 45%;
}
#data-notes div a {
	color: #3D716F;
}
/* Animation */

.map-tile-loaded {
    -webkit-animation-name:               fade-in;
    -moz-animation-name:                  fade-in;
    -ms-animation-name:                   fade-in;
    -o-animation-name:                    fade-in;
    -webkit-animation-timing-function:    linear;
    -moz-animation-timing-function:       linear;
    -ms-animation-timing-function:        linear;
    -o-animation-timing-function:         linear;
    -webkit-animation-duration:           .3s;
    -moz-animation-duration:              .3s;
    -ms-animation-duration:               .3s;
    -o-animation-duration:                .3s;
}

@-webkit-keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@-moz-keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@-ms-keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@-o-keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }