    
/* Reset */
html, body, div, span, 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,
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;
	font-family: "Helvetica Neue", "Arial", clean, sans-serif;
}


/* Globals */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section 
{ 
    display: block; 
}

[hidden] { display: none; }

html 
{ 
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%; 
}

/* includes menu text */
body 
{ 
    color: #333; 
    /* color: rgba(0,0,0,.7); */
    /* background: #99a1a5 url('../images/background.gif') -50% top; */
    /* margin-top: .5em; */
}


/* Layout */
.container { width: 100%;overflow: hidden;}
clearfix:after { /* clearfix */
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

[role="main"]:before,
[role="main"]:after {
	content: " ";
	position: relative;
	z-index: -1;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	/*background: rgba(0,0,0,.3); */	
}
[role="main"]:after {
	left: 100%;
	background: rgba(0,0,0,.15);	
}

[role="main"] {
	-webkit-transition: .2s all ease;
	-moz-transition: .2s all ease;
	-o-transition: .2s all ease;		
	-ms-transition: .2s all ease;
	transition: .2s all ease;		
	width: 90%;
	padding: 2%;
	display: block;	
	position: relative;
    max-width: 750px;
    min-width: 300px;
}

[role="navigation"] {
	-webkit-transition: .2s all ease;
	-moz-transition: .2s all ease;
	-o-transition: .2s all ease;		
	-ms-transition: .2s all ease;
	transition: .2s all ease;		
	width: 90%;
    max-width: 300px;
    min-width: 250px;    
	padding: 5%;
	display: block;	
	position: relative;    

}


.js [role="navigation"] {	
	margin-left: -100%;
	float: left;
	padding-bottom: 1em;
	z-index: 2;
}

/*main graphic panel */
.js [role="main"] {
	margin-left: 0;
    /* background of main graphic */
    background: #eee;
	/*box-shadow: 0 0 25px rgba(0,0,0,.2);*/
	float: left;
	z-index: 1;
	position: relative;
}


/* ========================================= */
/* Menu navigation */
/* navigation width */
.active-nav [role="navigation"] {	
	margin-left: 0;	
	width: 50%;
    max-width: 400px;
}
.active-nav [role="main"]{
	margin-right: -100%;
}

.active-sidebar [role="navigation"] {	
	/*margin-left: -200%;*/
	float: right;
    
}
.active-sidebar [role="main"] {
	margin-left: -90%;	
}

.active-nav [role="main"] {
	-webkit-transition: .2s all ease;
	-moz-transition: .2s all ease;
	-o-transition: .2s all ease;		
	-ms-transition: .2s all ease;
	transition: .2s all ease;	
}


/* ========================================= */
/*----- Tabs -----*/
.tabs {
    width:100%;
    display:inline-block;
    max-width: 550px;    
}
 
/*----- Tab Links -----*/
/* Clearfix */
.tab-links:after {
    display:block;
    clear:both;
    content:"";
}

.tab-links li {
    margin:0px 5px;
    float:right;
    list-style:none;
    text-decoration:none;    
}

.tab-links-small {
    display:none;
}

.tab-links a {
    padding:9px 8px;
    display:inline-block;
    border-radius:5px 5px 0px 0px;
    background:#e6e6e6;
    font-size:14px;
    font-weight:400;
    color:#4c4c4c;
    transition:all linear 0.15s;
    text-decoration:none;      
}

.tab-links a:hover {
    background:#a6a6a6;
    text-decoration:none;
}

li.active a, li.active a:hover {
    background:#cccccc;
    color:#4c4c4c;
}


#risk-breadcrumb {
    float: left;
    box-shadow: -1px -1px 1px rgba(0,0,0,0.15);
}

#risk-breadcrumb-small {
    float: left;
}


.riskchosen {
    display:none;
    float: left;
	padding: 9px;
    text-align: center;
    padding:9px 15px;
    border-radius:5px 5px 0px 0px;
    background:#fff;
    font-size:14px;
    font-weight:500;
    color:#d8352a;
    transition:all linear 0.15s;
    text-decoration:none; 
}

/*----- Content of Tabs -----*/
.tab-content {
    padding:0px;
    border-radius:3px;
    box-shadow:-1px 1px 1px rgba(0,0,0,0.15);
    background:#fff;
}

.tab {
    display:none;
}

.tab.active {
    display:block;
}


/* ========================================= */
/* Off Canvas Navigation */
.off-canvas-navigation {
	width: 100%;
	overflow: hidden;
	display: block;
	color: #fff;
}
.off-canvas-navigation ul li {
	width: 40%;
	display: block;
	float: left;
    max-width: 300px;
}
.off-canvas-navigation ul li.sidebar-item {
	float: right;
}

#expand-button {
    float: right;
}

/* mobile menu */
.main-menu-btn {
	padding: 1em 10%;
    text-align: center;
	font-size: 1.0em;
    min-width: 200px;
	display: block;
	background: #e56f67;
	color: #fff;
	border-top-right-radius: 1em;
	border-top-left-radius: 1em;    
    text-decoration: none;
	box-shadow: inset 0 20px 20px rgba(255,255,255,.1);		
}
.main-menu-btn.active-button {
}

a.main-menu-btn:hover {
	text-decoration: none;	
	background: #ae271e;
	color: #ddd;
}
	
/* Risk factor category menu */
[role="navigation"] li {
	list-style: none;
	font-size: 0.9em;
	margin-bottom: .5em;
	display: block;
    padding: .5em;
    /* background-image: url("../images/plus-arrow.png"); */
    background-size: 1.25em;
    background-repeat: no-repeat;
    background-position: right;
	background-color: #e8e8e8;    
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    cursor:pointer;
    /*border: 10px solid #e8e8e8;*/
}

.expand-button {
    float: right;
    font-size: 1.25em;
}

[role="navigation"] li:hover,
[role="navigation"] li:active,
[role="navigation"] li:focus {
    background-color: #e56f67;
	text-decoration: none;
    /*border: 10px solid #e56f67;*/
}

[role="navigation"] li a {
	display: block;
	background: rgba(0,0,0,.1);
	padding: .8em;
	border-radius: 4px;
}

[role="navigation"] li a:hover,
[role="navigation"] li a:active,
[role="navigation"] li a:focus {
    background-color: #e56f67;
	text-decoration: none;
}

[role="navigation"] li.current {
	background: rgba(0,0,0,.25);
	color: #cc0000;
}

[role="navigation"] li.activerisk {
	background: rgba(219,71,62,.5);
	color: #fff;
    cursor: default;
}
/*secondary menu - risk factors */
.riskfactors-nav {
    display: none;
    font-family: Verdana, sans-serif;
    width: 100%;
    margin-top: 1px;
}

.riskfactors-nav li {
    margin-top: 1px;
    background: #f7d6d4;
    font-size:0.8em;
    padding: 0.5em;
    color: #000;
}

.riskfactors-nav li:hover,
.riskfactors-nav li:active,
.riskfactors-nav li:focus {
    background: rgba(0,0,0,.2);
	text-decoration: none;
}


.riskfactorsvg
{
    display: none;
}

#instructions
{
    visibility: visible;
    color: #e8837d;
}

#cancerbreadcrumb
{
    visibility: hidden;
    font-family: Verdana, sans-serif;
    /* font-weight: bold; */
    /* border:1px solid #cccccc;
    border-radius: 5px;
    background-color: #f2f2f2; */
    font-family: Verdana, sans-serif;
    padding: 0px;
    color: #727272;
    margin-top: 5px;
    
}

#cancerdetails
{
    display: none;
    border:1px solid #cccccc;
    border-radius: 5px;
    background: rgba(251, 234, 233, 0.5);
    font-family: Verdana, sans-serif;
    font-size:1.0em;
    padding: 5px;   
}

#incidentrateoutput {
    margin-top: 5px;
    display: none;
    border:1px solid #cccccc;
    border-radius: 5px;
    background: rgba(242, 242, 242, 0.5);
    font-family: Verdana, sans-serif;
    font-size:1.0em;  
}

#incidentheading
{
    color: #737373;
    font-size: 0.8em;
    padding-left: 10px;
    padding-top: 5px
}

#incidentheading p {
    color: #737373;
    font-size: 0.75em;
    font-weight: normal;
}

#incidenttable {
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 2px;
    padding-right: 3px;
    width: 100%;
    font-size: 0.85em;
}

#incidenttable th {
    text-align: left;
    color: #999999;
}

#incidenttable td {
    text-align: left;
    color: #999999;
}

#riskfactoroutput
{
    padding: 10px;
    display: inline;
}

#personriskoutput
{
    padding: 10px;
    display: none;
}

#maleriskoutput
{
    padding: 10px;
    display: none;
}

#femaleriskoutput
{
    padding: 10px;
    display: none;
}

#cancertypeoutput
{
    padding: 10px;
    display: none;
    font-weight: bold;
    color: crimson;
}

#incidentheading
{
    font-weight: bold;
}

#maledevelopedworld
{
    padding: 10px;
    display: none;
}

#maledevelopingworld
{
    padding: 10px;
    display: none;
}

#femaledevelopedworld
{
    padding: 10px;
    display: none;
}

#femaledevelopingworld
{
    padding: 10px;
    display: none;
}

#food-risks
{
    display: inline-block;
    width: 49%;
}

#food-preventatives
{
    display: inline-block;
        width: 50%;
}

/* -------------------------------------------- */
/* SVG images */
.female-svg {
    display: none;
}

.female-svg.active-svg {
    display: block;
}

.male-svg {
    display: none;
}

.male-svg.active-svg {
    display: block;
}


/* -------------------------------------------- */

@media all and (max-width: 400px) {
    
    .tab-links {
        display:none;
    }
    
    .tab-links-small {
        display:block;
    }

    .tab-links-small:after {
        display:block;
        clear:both;
        content:"";
    }

    .tab-links-small li {
        margin:0px 5px;
        float:right;
        list-style:none;
        text-decoration:none;    
    }
    
    .tab-links-small a {
        padding:10px 8px;
        display:inline-block;
        border-radius:2px 2px 0px 0px;
        background:#e6e6e6;
        font-size:0.7em;
        font-weight:400;
        color:#4c4c4c;
        transition:all linear 0.15s;
        text-decoration:none;      
    }

    .tab-links-small a:hover {
        background:#a6a6a6;
        text-decoration:none;
    }
    
    li.active a, li.active a:hover {
        background:#cccccc;
        color:#4c4c4c;
    }


    #risk-breadcrumb-small {
        float: left;
        padding: 7px;
        text-align: center;
        padding:9px 15px;
        border-radius:5px 5px 0px 0px;
        background:#fff;
        font-size:0.8em;
        font-weight:400;
        transition:all linear 0.15s;
        text-decoration:none; 
    }    

}

@media all and (min-width: 3400px) {
	pre { margin: 0 0 0 10% }
	body { margin-top: 0; box-shadow: inset 0 0 50px rgba(255,255,255,.4); }	
	.page-title { text-align: left; margin-bottom: -1.1em; font-size: 60px; padding: 1% 0 0 30%;}			
	.off-canvas-navigation ul li {
		float: right;
		width: 20%;
	}	
	.main-menu-btn {
		display: none;
	}
	.sidebar-button {
		border: none;			
	}	
	.js [role="navigation"] {
		width: 20%;	
		margin-left: 0;
	}
	.js [role="main"] {
		width: 60%;
		float: left;
	}
				
	.active-sidebar [role="navigation"] {	
		margin-left: -100%;
	}
	.active-sidebar [role="main"] {
		margin-left: 0;
		width: 60%;
	}

	[role="main"] h1 {
		text-align: left;
	}				
}


@media all and (min-width: 3600px) {
	.page-title {text-align: center; font-size: 100px; margin-bottom: -.35em; padding: 0;}
	.container {
		max-width: 1140px;
		margin: 0 auto;
	}
	.off-canvas-navigation {
		display: none;
	}			
	
	.js [role="navigation"] {
		width: 19%;	
		margin-left: 0;
		float: left;
		padding-top: 0%;
        padding-left: 1%;
        padding-bottom: 0%;
        padding-right: 0.25%;
	}

	.js [role="main"] {
		width: 73%;
		padding: 0.5%;		
	}

	
	[role="main"] h1 {
		text-align: center;
	}				
}