/* versions:
 20240701: Added .c_sc-h3-r1-c4 { grid-area: sc-h3-r1-c4; } for music.html
*/

:root {
  --menu_active_background: #4CAF50;
  --menu_active_color: black; /* 20210202: changed colour from white so it would comply with Accessibility standards for contrast */

  --menu_background: #981006;
  --menu_color: white;

  --menu_anchor_color: white;
  --menu_anchor_hover_color: black;
  --menu_anchor_hover_background:#ddd;

  --menu_Community_BasicLiving_color: yellow;

  --itmMission_color: #981006; /* also used for section headers */
  --itmMission_background: white;
  --contents_color: grey;
  --breadcrumbs_color: black;

  --note_color: black;

  --section_text_background: white;
  --section_text_color: black;

  --box_1_story_background: #00FF00; /* bright green */
  --box_1_story_color: black;
  --box_2_story_background: yellow;
  --box_2_story_color: black;
  --box_childAbuse_allied_background: pink;
  --box_freeResources_Guides_background: #00FF00;  /* bright green */
  --box_freeResources_EXT_PWB_background: orange;
  --box_freeResources_EXT_BTB_background: #00FF00;  /* bright green */
  
  --siteMap_Community_background: yellow;

  --button_background: var(--menu_active_background); 
  --button_color: var(--menu_active_color); /* 20210202: changed colour from white - which failed the contrast test - to matching the menu active color */
  --button_hover_background: var(--menu_active_background); 
  --button_border_color: var(--menu_active_background); 

  --slideshow_prev_color: grey;
  --slideshow_prev_hover_background: rgba(0,0,0,0.8);
  --slideshow_text_color: #981006; 
  --slideshow_numbertext_color: white; 
  --slideshow_numbertext_background: #981006; 
  --slideshow_dot_background: #bbb;
  --slideshow_dot_hover_background: #717171;

  --error_color: #FF0000;

  --footer_background: var(--menu_background);
  --footer_color: var(--menu_color);
}

html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
html{overflow-x:hidden}

html,body{font-family:Verdana,sans-serif;}
body {margin:0;font-size:100%;line-height:1.125em;}

img {max-width:100%;height:auto; vertical-align:middle;text-align:left;} 
a {color: inherit; } /* The inherit keyword specifies that a property should inherit its value from its parent element. Applying here to links. */
th, td { padding: 5px;}

.c_error {color:var(--error_color); }

.c_note {font-size: 0.5em;line-height:1.125em;
		color: var(--note_color);} /* Used in the interactive forms as notes to guide the input, and in Back to Top menu note */

.c_contents{font-size: 0.75em;line-height:1.125em;color: var(--contents_color);} /* used as font for the table of contents */


/* 	----------------
	Style the header */

.c_itmLogo { grid-area: itmLogo; padding: 10px; } 

.c_itmMission { grid-area: itmMission; padding: 20px; 	
		font-size: 1.5em; color: var(--itmMission_color); font-weight: bold; font-family: "Times New Roman", Times, serif; 
		background-color:var(--itmMission_background);
  		margin: auto; width: 100%; text-align: center; line-height:1em; }

.c_hamburgerIcon {grid-area: hamburgerIcon; display: none; padding: 10px;}

.c_breadcrumbs {grid-area: breadcrumbs; padding: 5px; font-family: "Times New Roman", Times, serif; font-size: 0.75em;line-height:1.125em;
		color: var(--breadcrumbs_color);}

/* 	-----------------------------
	Style the top navigation menu */

.c_topNav { grid-area: topNav; background-color: var(--menu_background); color: var(--menu_color); line-height:2em; margin: auto; width: 100%; }

.c_topNav a { float:left; display: block; color: var(--menu_anchor_color); font-size: 1em; text-decoration: none; padding:10px 16px;}

.c_topNav a:hover { background-color: var(--menu_anchor_hover_background); color: var(--menu_anchor_hover_color); font-size:1.5em;}

.c_topNav a.active {background-color:var(--menu_active_background); font-size:1.5em; color: var(--menu_active_color);}

/* 	--------------------
	Style the slide show */

.mySlides {display: none; }

/* 	-------------------
	Slideshow container */

.slideshow-container { max-width: 950px; position: relative; margin: auto; }

/* 	-----------------------
	Next & previous buttons */

.slideshow-prev, .slideshow-next {
  cursor: pointer;
  position: absolute;
  top: 100%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--slideshow_prev_color);
  font-weight: bold;
  font-size: 2em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* 	---------------------------------------
	Position the "next button" to the right */

.slideshow-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* 	--------------------------------------------------------------------
	On hover, add a black background color with a little bit see-through */

.slideshow-prev:hover, .slideshow-next:hover {
  background-color: var(--slideshow_prev_hover_background);
}

/* 	------------
	Caption text */

.slideshow-text {
  color: var(--slideshow_text_color);  font-weight: bold;
  font-size: 1em; 
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 10px;
  width: 100%;
}

/* 	---------------------
	Number text (1/3 etc) */

.slideshow-numbertext {
  color: var(--slideshow_numbertext_color); background-color: var(--slideshow_numbertext_background); 
  font-size: 0.75em; font-weight: bold;
  padding: 0px 4px;
  position: absolute;
  top: 0;
  border: 4px solid white;
}

/* 	---------------------------
	The dots/bullets/indicators */

.slideshow-dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: var(--slideshow_dot_background);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .slideshow-dot:hover {
  background-color: var(--slideshow_dot_hover_background);
}

/* 	----------------
	Fading animation */

.slideshow-fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1s;
  animation-name: fade;
  animation-duration: 1s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/* 	-------------------------
	Style the section headers */

.c_sh { padding: 10px; font-size: 1.5em; line-height:1.125em; 
	background-color: var(--itmMission_background); color: var(--itmMission_color); text-align: left; border-top: 1px solid var(--itmMission_color); 
}

.c_sh-1 { grid-area: sh-1; }
.c_sh-2 { grid-area: sh-2; } 
.c_sh-3 { grid-area: sh-3; }
.c_sh-4 { grid-area: sh-4; }
.c_sh-5 { grid-area: sh-5; }
.c_sh-6 { grid-area: sh-6; }

/* 	------------------------------------------------------------------------
	Style the section introductory text placed just below each section header */

.c_sb { padding: 30px; font-size: 1.125em; line-height:1.125em; 
	background-color:var(--section_background); color: var(--section_text_color); text-align: left;
}
.c_sb-1 { grid-area: sb-1}
.c_sb-2 { grid-area: sb-2}
.c_sb-3 { grid-area: sb-3}
.c_sb-4 { grid-area: sb-4}
.c_sb-5 { grid-area: sb-5}
.c_sb-6 { grid-area: sb-6}


/* 	-------------------------
	Style the section columns */ 

.c_sc { padding: 10px; margin: auto; width: 90%; border: 1px solid white; box-shadow: 10px 10px 5px #aaaaaa; 
	background-color: var(--menu_background); color: var(--menu_color); text-align: center;
}

.c_sc-h1-r1-c1 { grid-area: sc-h1-r1-c1; }
.c_sc-h1-r1-c2 { grid-area: sc-h1-r1-c2; }
.c_sc-h1-r1-c3 { grid-area: sc-h1-r1-c3; }
.c_sc-h1-r1-c4 { grid-area: sc-h1-r1-c4; }
.c_sc-h1-r1-c5 { grid-area: sc-h1-r1-c5; }
.c_sc-h1-r1-c6 { grid-area: sc-h1-r1-c6; }

.c_sc-h2-r1-c1 { grid-area: sc-h2-r1-c1; }
.c_sc-h2-r1-c2 { grid-area: sc-h2-r1-c2; }
.c_sc-h2-r1-c3 { grid-area: sc-h2-r1-c3; }

.c_sc-h3-r1-c1 { grid-area: sc-h3-r1-c1; }
.c_sc-h3-r1-c2 { grid-area: sc-h3-r1-c2; }
.c_sc-h3-r1-c3 { grid-area: sc-h3-r1-c3; }
.c_sc-h3-r1-c4 { grid-area: sc-h3-r1-c4; }

.c_sc-h4-r1-c1 { grid-area: sc-h4-r1-c1; }
.c_sc-h4-r1-c2 { grid-area: sc-h4-r1-c2; }
.c_sc-h4-r1-c3 { grid-area: sc-h4-r1-c3; }

.c_sc-h5-r1-c1 { grid-area: sc-h5-r1-c1; } 
.c_sc-h5-r1-c2 { grid-area: sc-h5-r1-c2; }
.c_sc-h5-r1-c3 { grid-area: sc-h5-r1-c3; }

.c_sc-h6-r1-c1 { grid-area: sc-h6-r1-c1; } 
.c_sc-h6-r1-c2 { grid-area: sc-h6-r1-c2; }
.c_sc-h6-r1-c3 { grid-area: sc-h6-r1-c3; }

/* 	----------------
	Style the footer */

.c_footer {padding: 10px; font-size: 0.6em; line-height:1.125em; background-color: var(--footer_background); color:var(--footer_color); }

.c_footer_termsOfUse { grid-area: footer_termsOfUse; text-align: left;}
.c_footer_copyright { grid-area: footer_copyright; text-align: center;}
.c_footer_lastUpdated { grid-area: footer_lastUpdated; text-align: right;}

/* 	---------------
	Style artefacts */

.c_button {
  background-color: var(--button_background); color: var(--button_color); border: 2px solid var(--button_border_color); 
  padding: 5px 10px; margin: 4px 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.75em; font-family: Arial, Helvetica, sans-serif;font-weight: bold;
  cursor: pointer;
  border-radius: 10px; 
  transition-duration: 0.4s;
}

.c_button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.c_button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.c_button:hover span {
  padding-right: 25px;
  background-color: var(--button_hover_background);
}

.c_button:hover span:after {
  opacity: 1;
  right: 0;
}