/*  HOVER TIP USING PSEUDO ELEMENT FOR             */
/*  DDK Icon     -> .tips::after                   */
/*  CONTROL ITEM -> .tips .fa-info-circle::after   */ 


/* BASE */
.tips::after,
.tips .fa-info-circle::after
 {
    /* template properties */
    display: none;
    font-family: "Open Sans";
    font-weight: normal;
    font-size: 15px;
    padding:13px;
    line-height: 1.4;
    letter-spacing: 0;
    border-radius: 10px;
    background-color: white;
    color:#333333;
    text-align: left;
    position: absolute;
    z-index: 100;
    border:1px solid grey;
    box-shadow: 2px 2px 7px 2px #5d5c5c82;

    /* template props to update as below  */
    content:"Base text here.";
    width: 470px;
    top: 20px;
    left: 10px;
    /* if needed */
    border-top-left-radius: 0;
}

/* TEMPLATE PER USAGE */

.tip-proj-disclaimer::after {
	content:"These projections are not predictions or forecasts. They illustrate what would happen to Australia's teacher population if assumptions, based on past trends, hold true.";
	width: 400px;

}

.tip-t_supply-Region::after {
	content:"‘Change from preceding year’ and ‘cumulative change’ for 2022 are reported as 0%, because earlier years of data are not considered.";
	width: 440px;
}

.tip-t_workforce-Region::after {
    content:"The national number of teachers in demand for 2023 exceeds the national number of teachers retained in 2023, according to modelled teacher/student ratios. 'Change from preceding year' and 'cumulative change' for 2023 are reported as 0%, because earlier years of data are not considered.";
	width: 470px;
}

.tip-t_workforce-Specialisation::after {
    content:"The national number of teachers in demand for 2023 exceeds the national number of teachers retained in 2023, according to modelled teacher/student ratios.";
	width: 402px;
}

.tip-proj-region-finder .fa-info-circle::after {
	content:"Hint: Choose multiple regions to compare.";
	width: 332px;
}

.tip-variable-search .fa-info-circle::after {
	content:"Hint: You can select multiple variables.";
	width: 302px;
}

.tip-scope-var .fa-info-circle::after {
	content:"Hint: Select a different scope if you don't see your desired variable.";
	width: 302px;
}

.tip-additional-variables .fa-info-circle::after {
	content:"Hint: You can select multiple variables. The menu will update automatically to provide the remaining available options";
	width: 302px;
}

.tip-early-career-induction-teacher-workforce::after {
    content:"Due to privacy protections, 2020 data for the Teacher workforce group excludes early childhood settings for this combination of variables. Data for all other years includes this category by default.";
	width: 402px;
}

.tip-disability-status-data-source-update-ite::after {
    content:"In 2021, the scope of reportable disabilities was expanded to include intellectual, mental, acquired brain injury and neurological disabilities.";
    width: 402px;
}

.tip-main-causes-of-stress::after {
    /* template props to update as below  */
content:"Displayed values are the percentage of teachers who identified each option as one of their five main causes of work-related stress. 'Denominator' is the number of teachers from the selected workforce group who answered this question on main causes of work-related stress.";
width: 402px;
}

.tip-main-causes-of-stress-x-var::after {
    /* template props to update as below  */
content:"Displayed values are the percentage of teachers who identified each option as one of their five main causes of work-related stress. 'Denominator' is the number of teachers who answered this question for each response option for the variable on the y-axis. If filtering by workforce group is available, 'Denominator' is further subdivided by each selected workforce group.";
width: 402px;
}

.tip-job-demands-resources::after {
    /* template props to update as below  */
content:"Displayed values are the percentage of teachers who agreed or strongly agreed with each option.";
width: 402px;
}

.tip-reasons-intending::after {
    /* template props to update as below  */
content:"A selection of reasons are displayed - more can be added to the view using the 'Reasons' tab in the filter box above the chart.";
width: 402px;
}

/* ADD HOVER STATE */
.tip-proj-disclaimer:hover::after,
.tip-t_supply-Region:hover::after,
.tip-t_workforce-Region:hover::after,
.tip-t_workforce-Specialisation:hover::after,
.tip-proj-region-finder .fa-info-circle:hover::after,
.tip-variable-search .fa-info-circle:hover::after,
.tip-scope-var .fa-info-circle:hover::after,
.tip-additional-variables .fa-info-circle:hover::after,
.tip-early-career-induction-teacher-workforce:hover::after,
.tip-disability-status-data-source-update-ite:hover::after,
.tip-main-causes-of-stress:hover::after,
.tip-main-causes-of-stress-x-var:hover::after,
.tip-job-demands-resources:hover::after,
.tip-reasons-intending:hover::after {
	display: inline-block;
}
