   .popup_button:hover { cursor: pointer; } #labour-profile-wrapper {
		padding-left: 1em;
	}
	#labour-profile-wrapper td {
		padding: 0.5em;
	}

    th.geography { cursor: pointer; }

	#template-wrapper .profile_contents+img {
		float: right;
		padding-bottom: 1.5em;
	}

    p { padding: 0 1em; }

    a[target]:not([target=""]):after 
    {
        content: '(opens in new window)';
    }
	.profile_contents {
		display: inline-block;
        padding-left: 2em;
        vertical-align: top;
        margin-top: 2em;
        max-width: 50%;
	}
	.profile_contents ul 
	{
	    padding-left: 0;
	}
	.profile_contents h3 
	{
	    margin-bottom: 0;
	    padding-bottom: 0;
	    margin-top: 0;
        padding-top: 0;
        font-size: 1.2em;
	}
	.profile_contents div 
    {
        padding-left: 2em;
    }
    .profile_contents li > a:first-child { font-weight: bold; font-size: 0.9em; }
    .profile_contents li > a:first-child::before 
    {
        content: '\21e8';
        padding-right: 0.3em;
        color: #58798f;
    }
    .profile_contents li > a:hover 
    {
        text-decoration: none;
    }
	.profile_contents > ul { padding-top: 1em; }
	.profile_contents ul { list-style: none; }
	.profile_contents li { padding-bottom: 0.5em; }
	.dataset-metadata div 
	{
	    padding-left: 1em;
	}
	.dataset-metadata h2 
	{
	    padding-left: 0;
	}
        
	@media screen and (max-width: 1199px) {
	    table 
	    {
	        min-width: auto;
	    }
    }
	#err 
	{
	    background: #f4eae8;
        padding: 3em;
        font-size: 1.3em;
        border: 3px solid #7d0000;
        color: #444;
	}
	
/*
    #comparisonareas > div button { display: none; }
    #comparisonareas > div:hover button, #comparisonareas > div:active button { display: inherit; }
*/
	#template-wrapper h1 {
		clear: both;
		text-transform: none; 
	}

	 .level0 {
     }

     .level1 {
         padding-left: 12pt;
         white-space:inherit;
     }

     .level2 {
         padding-left: 24pt;
         white-space: nowrap;
         text-align: left;
     }

    .source {
        font-size: 0.8em;
        padding: 0.25em;
        text-align: left;
        line-height: 1.5em;
    }

        .warning {
            font-size: 7pt;
            text-align: left;
            padding: 1px;
        }

        .indent {
            padding-left: 20pt;
        }

        .tslink {
            float: right;
            position: relative;
            top: -20px;
            padding-top: 3px;
            margin-bottom: -20px;
        }
        /*.tablenote
    {
        font-size: 7pt;
        padding: 1px;
    }
    .flag
    {
        vertical-align: top;
        width: 40px;
        font-size: 7pt;
        padding: 1px;
    }*/

        .datatable {
            width: 100%;
            border-top: solid 2px #cccccc;
            border-bottom: solid 2px #cccccc;
            border-spacing: 0px;
            margin-bottom: 3px;
        }

        .datatableheadingrow {
        }

        .datatableheadingcell, .datatableheadingcellrowhead {
            border-bottom: 1px solid #cccccc;
            font-weight: bold;
            text-align: right;
            vertical-align: top;
            padding: 2px;
            margin: 1px;
        }

        .datatableheadingcellrowhead {
            text-align: left;
        }

        .datatableheadingcolspan {
            padding-top: 3px;
            border-bottom: 1px dashed #cccccc;
            font-weight: bold;
            text-align: left;
        }

        tbody th.datatableheadingcolspan
        {
            font-weight: bold !important;
            border-bottom: 0.1em solid #c0c0c0;
            padding-top: 0.7em !important;
        }

        .datatablerowdivider {
            /* border-top: 1px dashed #cccccc;*/
        }

        .datatablerow {
            border: 1px solid #cccccc;
            padding: 0px 0px 3px;
        }

        .datatablerow:last-child td, .datatablerow:last-child th
        {
            border-bottom: 0.2em solid #ddd;
            padding-bottom: 0.7em;
            vertical-align: top;
        }

            .datatablerow:hover {
                background: #ededed;
            }

        .datatablecell {
            text-align: right;
            padding: 3px;
        }

        .sortedcell {
            background: #f1f6ce;
        }

        .piv {
            font-size: 10pt;
            padding-top: 10px;
        }

        .subreportheading {
            color: #000000;
            padding-bottom: 3px;
            padding-left: 3px;
        }
        
        #matches button:not(.toggle-expander) 
        {
            text-align: left;
            background: #fff;
            color: #386194;
            border-color: #fff;
            margin: 0.1em;
            padding: 0.2em 2em;
        }
        #matches li.node button 
        {
            display: inline;
            padding-left: 0.2em;
            padding-right: 0.2em;
        }
        #matches .search-result { padding-left: 0; }
        #matches .search-result .areatype-name 
        {
            visibility: hidden;
            color: #777;
        }
        #matches .search-result:hover .areatype-name 
        {
            visibility: visible;
        }
        
        #matches .search-result button[disabled]
        {
            color: #666;
            padding-right: 1em;
        }
        #matches .search-result button:not([disabled]):hover
        {
            border-color: #22903a;
            background: #24983d;
            color: #fff;
        }
        #matches .whynodata 
        {
            font-size: 0.8em;
        }
        #uimodes 
        {
            float: right;
            font-size: 0.7em;
        }
        #uimodes, #uimodes a 
        {
            color: #fff;
            text-transform: none;
        }
        #matches .search-result button:not(.actual-search-hit)
        {
            color: #777;
        }
        
        /*
        #matches div:not(.tree) button:hover:after 
        {
            content: ' \21E8';
        }
        */
        #matches h3 { padding-bottom: 0em; margin-bottom: 0; font-weight: normal; font-size: 1.1em; }
        #matches span { padding-left: 2em; }
        #areacompdiv > h1 
        {
            margin: 0;
            border-bottom: 0px !important;
            padding-left: 1em !important;
            padding-top: 1em !important;
            background: #58798f;
            color: #fff !important;
        }
        h2, h3, table, table > caption { padding: 1em; }
        h1 { padding: 1em 1em 0.5em 0.2em; margin-bottom: 0.3em; border-bottom: 2px solid #788FA4; font-size: 1.3em; color: #325472; margin: 0 0.7em; }
        h2 { padding: 0.5em 0; font-size: 1.2em; color: #4e6f8a; margin-bottom: 0; margin-top: 0; }
        h3 { padding-bottom: 0; margin-bottom: 0.5em; }
        #report .navmenuitem { cursor: inherit; }
        #report .navmenuitem li { margin-right: 3em; }
        #template-wrapper 
        {
            max-width: 1024px;
            margin: 0 auto;
            border: 3px solid #fff;
            padding: 1em;
        }
        #template-wrapper div.navmenuitem 
        {
            margin-top: 0;
            padding-top: 0;
        }
        #template-wrapper table 
        {
            margin-bottom: 0;
            padding-bottom: 0;
            background: #fff;
        }
        
        .back-to-top {
            font-size: 1em;
            float: right;
            color: #999;
        }
        .back-to-top:visited {
            color: #999;
        }
        .back-to-top:hover { text-decoration: none; }
        .profile-optional-view-links 
        {
            margin-left: 1em;
        }
        .profile-optional-view-links a 
        {
            font-size: 1.1em;
            vertical-align: top;
        }
        .profile-optional-view-links img 
        {
            margin-right: 0.5em;
            width: 1.2em;
        }
        
        #thumbnail-map
        {
            width: 380px !important;
            height: 380px !important;
        }

		.chartbox {
			min-width: 350px;
			max-width: 750px;
			width: 100%;
			height: 400px;
			margin: 0 auto;
		}

		.pleasewait {
			font-size: 1.5em;
            color: #9a9292;
            min-height: 2em;
            padding: 5em 1em;
            border: 1px dashed #9a9292;
            margin: 1em;
            background: #fcfcfc;
            text-align: center;
		}
		
		.smallsizedWait 
		{
		    min-height: 1em;
            padding: 1em;
            font-size: 1em;
		}
		
		#profile-map0 
		{
		    display: inline-block;
            margin-bottom: 2em;
            margin-top: 2em;
            margin-left: 1em;
		}

		.popup_profile {
			position: absolute;
			left: 1.5em;
			width: 780px;
			height: 85%;
			background: #fff;
			border: 2px solid #666;
			overflow: auto !important;
			-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
			-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
			box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
			-webkit-border-radius: 10px;
			-moz-border-radius: 10px;
			border-radius: 10px;
			padding: 2em;
			z-index: 99999;
		}
		
		#geog 
		{
		    font-size: 2em;
		    font-weight: bold;
		    width: 50%;
		}
		
		#lblAreainput 
		{
		    font-size: 2em;
		    display: inline-block;
		    margin-right: 1em;
		}
		input[type=search] {
            -webkit-appearance: none;
        }
        
        #areacompdiv, #profile-tree {
            border: 3px solid #58798f;
            padding: 0;
            margin: 3em auto;
            max-width: 1050px;
        }
        
        #template-wrapper > div:first-child > h1:first-child 
        {
            margin-top: 0.5em;
            margin-bottom: 1em;
            font-size: 2em;
            border-bottom: none !important;
            margin-left: 0.5em;
        }
        
        #template-wrapper h1 + h2 
        {
            padding-left: 0.85em;
            margin-top: -2.5em;
        }
        
        #comparisonareas 
        {
        }
        
        #areacompdiv > h2, #profile-tree > h2 
        {
            color: #eee;
            background: #58798f;
            padding-top: 0;
            margin-bottom: 0.5em;
            padding-bottom: 1em;
            padding-left: 1em;
            font-weight: normal;
        }
        
        #comparisonareas > div
        {
            margin: 0;
            color: #184855;
            font-weight: bold;
            display: -webkit-flex;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
            padding: 0.2em 0 0.2em 1em;
        }
        #comparisonareas > div:hover 
        {
            background: #f4f4f4;
        }
        
        #comparisonareas > div > div 
        {
            flex: 1;
            -webkit-align-items: center;
            align-items: center;
            -webkit-justify-content: right;
            justify-content: right;
            text-align: right;
            min-width: 24em;
        }
        
        #areacompdiv > div { margin: 1em; }
        
        .descriptive-content-section div#labour-profile-wrapper 
        {
            max-width: 265em;
            margin-left: 0;
        }
        
        
	h3 { padding-left: 0em; }
	#comparisonareas > button 
	{
	    float: right;
        margin-top: 1.1em;
	}
	#matches { padding-left: 1em; }
	#matches > span 
	{
	    color: #8c5f61;
        padding: 0.1em 2.3em;
        display: inline-block;
        background: #fff7f4;
        border-radius: 5px 5px 5px 5px;
        -moz-border-radius: 5px 5px 5px 5px;
        -webkit-border-radius: 5px 5px 5px 5px;
        margin: 1em 0.2em;
	}
	
    
    #page-wrap, #site-nav-banner, #vote
    {
        background: #eaeaea;
    }
    #vote { padding: 1em 2em; margin: 0; }
    footer:before { margin: 0; }
    
    #err, #areacompdiv, #template-wrapper
    {
        background: #fff;
    }
    
    .ui-autocomplete 
    {
        padding: 1em;
        border: 3px solid #999;
    }
    
    .definitions-section h2 { padding-left: 0; margin-top: 1em; }
    .definitions-section div { margin-left: 1em; }
    .definitions-section > div { margin-bottom: 1em; }
    .definitions-section > div div { margin-bottom: 1em; }
    .definitions-section h2 a { padding-left: 2em; }
    
    @media screen and (max-width: 870px) 
    {
        .profile_contents 
        {
            display: block;
            margin-left: 0;
            padding: 1em;
            max-width: 870px;
        }
        
        .profile_contents ul
        {
            padding: 0;
        }
        
        .profile_contents li 
        {
            padding: 0;
        }
    }
    
    @media screen and (max-width: 670px) {
	    #page-wrap, #site-nav-banner, #vote 
	    {
	        background: #fff;
	        padding: 0;
	        padding-left: 0 !important;
	    }
	    
	    #err, #areacompdiv, #template-wrapper 
	    {
	        padding: 0;
	    }
	    
	    .page-heading-tools 
	    {
	        background: none;
	    }
    }
    
    span.infoicon 
    {
        font-size: 1.3em;
        display: inline-block;
        margin-top: -0.2em;
        font-weight: bold;
        padding-right: 0.3em;
    }
    
    .pivotControlGroup 
    {
        padding: 1em;
        background: #f5f5f5;
        border: 1px solid #d0d0d0;
    }
    
    .pivotControlGroupSinglePivot > .pivotController 
    {
        display: inline-block;
        margin-right: 0.5em;
    }
    
    .pivotControlGroupSinglePivot label
    {
        width: auto !important;
    }
    
    .pivotController label
    {
        display: inline-block;
        width: 10em;
    }
    
    .table-footnote th 
    {
        width: 10em;
    }
     
    @media print 
    {
        .pivotControlGroup { display : none; }
        #areacompdiv { display: none !important; padding: 0; }
        #template-wrapper { border: none; padding: 0; }
        #template-wrapper h1, #template-wrapper table { page-break-before: always !important; }
        #template-wrapper h1 a { display: none; }
        #template-wrapper h1:first-child, #template-wrapper h1 + div table { page-break-before: auto !important; }
        .profile_contents 
        {
            display: block;
            margin-left: 0;
            padding: 1em;
            max-width: 95%;
        }
        .profile_contents li > a:first-child::before 
        {
            content: '';
        }
        .profile_contents ul
        {
            padding: 0;
        }
        
        .profile_contents li 
        {
            padding: 0;
        }
        
        #page-wrap, #site-nav-banner, #vote 
	    {
	        background: #fff !important;
	        padding: 0;
	        padding-left: 0 !important;
	    }
	    
	    #page-wrap 
	    {
	         margin-top: 3em;
	         margin-bottom: 3em;
	    }
	    
        .definitions-section h2 a { display: none; }
    }
    